:root {
  --bg-deep: #071624;
  --bg-mid: #0f2b3f;
  --bg-fade: #1a4a63;
  --text-main: #f2eee5;
  --text-soft: #c4d2d8;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #f1bf4e;
  --accent-deep: #9f6d18;
  --panel: rgba(5, 22, 33, 0.56);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "M PLUS 1p", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 15% 0%, var(--bg-fade), transparent 42%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-mid));
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.02em;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.38;
}

.orb-a {
  width: 38vw;
  height: 38vw;
  left: -8vw;
  top: -10vw;
  background: #89d8f5;
}

.orb-b {
  width: 30vw;
  height: 30vw;
  right: -6vw;
  top: 26vh;
  background: #f7c769;
}

.orb-c {
  width: 24vw;
  height: 24vw;
  right: 16vw;
  bottom: -10vw;
  background: #66b4a8;
}

.waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 32vh;
  color: rgba(0, 0, 0, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(4, 13, 20, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.logo {
  color: var(--text-main);
  text-decoration: none;
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-main);
  font: inherit;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.primary-nav {
  display: flex;
  gap: 1rem;
}

.primary-nav a {
  color: var(--text-main);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.primary-nav a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

main {
  width: min(1080px, calc(100% - 2rem));
  margin: 2.2rem auto 4rem;
  display: grid;
  gap: 1.6rem;
}

.hero,
.panel,
.split {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.1rem, 4vw, 2rem);
  background: var(--panel);
  backdrop-filter: blur(3px);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0.5rem 0;
  font-size: clamp(2rem, 6vw, 3.9rem);
  line-height: 1.12;
}

.lead {
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.9;
}

.hero-media {
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.74rem 1.25rem;
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent), #f4d788);
  color: #1d1406;
}

.btn-ghost {
  color: var(--text-main);
  border: 1px solid var(--line);
}

h2 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.news-grid,
.cast-row,
.gallery-grid {
  display: grid;
  gap: 0.9rem;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.news-grid .date {
  margin-top: 0;
  color: var(--accent);
  font-size: 0.78rem;
}

.news-grid h3 {
  margin: 0.4rem 0;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.split p {
  color: var(--text-soft);
  line-height: 1.85;
}

.quote-card {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  align-self: center;
  background: rgba(0, 0, 0, 0.2);
}

.quote-card p {
  margin: 0;
  color: #f4d69f;
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid figure {
  margin: 0;
  min-height: 168px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 0.7rem;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.08em;
  background: linear-gradient(
      to top,
      rgba(4, 15, 24, 0.9) 8%,
      rgba(4, 15, 24, 0.1) 55%
    ),
    linear-gradient(145deg, #2a5972, #183347);
  position: relative;
}

.gallery-grid figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figure span {
  z-index: 1;
  background: rgba(4, 13, 20, 0.62);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
}

.gallery-grid figure:nth-child(2n) {
  background: linear-gradient(
      to top,
      rgba(4, 15, 24, 0.9) 8%,
      rgba(4, 15, 24, 0.1) 55%
    ),
    linear-gradient(145deg, #35526f, #253344);
}

.gallery-grid figure:nth-child(3n) {
  background: linear-gradient(
      to top,
      rgba(4, 15, 24, 0.9) 8%,
      rgba(4, 15, 24, 0.1) 55%
    ),
    linear-gradient(145deg, #675a42, #2a2f3f);
}

.cast-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cast-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.cast-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.cast-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
}

.cast-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-list {
  margin: 0.6rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.9;
}

.lead-closing {
  margin-bottom: 0.5rem;
}

.spec dl {
  margin: 0;
}

.spec dl > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  color: var(--accent);
  font-weight: 700;
}

.spec dd {
  margin: 0;
}

.site-footer {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .news-grid,
  .cast-row,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .spec dl > div {
    grid-template-columns: 130px 1fr;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 1rem;
    width: min(78vw, 270px);
    padding: 0.7rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(2, 12, 18, 0.94);
    display: none;
    flex-direction: column;
  }

  .primary-nav.open {
    display: flex;
  }

  .news-grid,
  .cast-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .spec dl > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
