:root {
  --soil: #10160f;
  --canopy: #182216;
  --moss: #243222;
  --leaf: #d6ff4a;
  --flare: #ff4d2e;
  --mist: #d7e4d1;
  --mute: #8ea08a;
  --line: rgba(214, 255, 74, 0.28);
  --ink: #071008;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Fraunces", "Iowan Old Style", serif;
  --sans: "Sora", "Avenir Next", sans-serif;
  --rail: 22rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(255, 77, 46, 0.18), transparent 55%),
    radial-gradient(900px 480px at -10% 20%, rgba(214, 255, 74, 0.12), transparent 50%),
    var(--soil);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--leaf);
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.mast {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 4vw;
  background: rgba(16, 22, 15, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: max-content;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50% 12% 50% 12%;
  border: 1px solid var(--leaf);
}

.brand span {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.track {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.track a,
.drop > button,
.lang,
.ghost,
.solid,
.nav-toggle {
  border: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.track > a,
.drop > button {
  padding: 0.45rem 0.75rem;
  color: var(--mist);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track > a[aria-current="page"],
.drop.is-open > button,
.track > a:hover,
.drop > button:hover { color: var(--leaf); }

.drop { position: relative; }

.drop-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 14rem;
  padding: 0.4rem;
  background: var(--canopy);
  border: 1px solid var(--line);
  display: none;
  box-shadow: var(--shadow);
}

.drop.is-open .drop-panel,
.drop:hover .drop-panel { display: grid; }

.drop-panel a {
  padding: 0.7rem 0.8rem;
  text-decoration: none;
}

.drop-panel a:hover { background: var(--moss); }

.lang {
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  letter-spacing: 0.12em;
  color: var(--leaf);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.2fr;
  min-height: calc(100vh - 74px);
  border-bottom: 1px solid var(--line);
}

.stage-copy {
  padding: 8vh 6vw 6vh 4vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.2rem;
}

.eyebrow {
  margin: 0;
  color: var(--flare);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.88;
  color: var(--leaf);
}

.lede { margin: 0; max-width: 36rem; font-size: 1.12rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.solid, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55rem 1rem;
  text-decoration: none;
  cursor: pointer;
}

.solid { background: var(--leaf); color: var(--ink); font-weight: 600; }

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

.stage-visual { position: relative; min-height: 420px; }

.stage-visual img { width: 100%; height: 100%; object-fit: cover; }

.stamp {
  position: absolute;
  left: -1.2rem;
  bottom: 1.4rem;
  max-width: 16rem;
  padding: 0.9rem 1rem;
  background: var(--flare);
  color: #1a0704;
  font-size: 0.92rem;
  line-height: 1.35;
}

.wrap { width: min(1180px, calc(100% - 8vw)); margin: 0 auto; }

.band { padding: 4.5rem 0; }

.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.band-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); }

.band-nav { display: flex; gap: 0.45rem; align-items: center; }

.band-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--leaf);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--moss); }

.slab {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 190px auto;
  background: var(--canopy);
  text-decoration: none;
  min-height: 100%;
  border-top: 3px solid var(--leaf);
}

.slab img { width: 100%; height: 190px; object-fit: cover; }

.slab div, .folio figcaption, .essay, .ask { padding: 1rem 1rem 1.2rem; }

.slab h3, .folio h3 { margin: 0 0 0.4rem; font-size: 1.45rem; }

.slab p, .folio p, .essay p { margin: 0 0 0.8rem; color: var(--mute); }

.when { color: var(--flare); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

.reel-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.reel {
  position: relative;
  min-height: 420px;
  background: #000;
  overflow: hidden;
}

.reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reel img.is-on { opacity: 1; }

.reel-ui {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.reel-ui button {
  background: var(--leaf);
  color: var(--ink);
  border: 0;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  font-weight: 600;
}

.note h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }

.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 0.8rem;
}

.folio {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--canopy);
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
}

.folio:first-child { grid-row: 1 / span 2; }

.folio img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }

.folio figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(7, 16, 8, 0.92));
}

.folio h3 { color: var(--mist); }

.page-hero {
  padding: 4.5rem 0 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
}

.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); color: var(--leaf); }

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.portrait { width: 100%; height: 100%; object-fit: cover; min-height: 460px; filter: saturate(0.9); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.stats div {
  background: var(--canopy);
  padding: 1rem;
  border-bottom: 3px solid var(--flare);
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--leaf);
}

.catalog {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.8rem;
}

.catalog a:first-child { grid-row: span 2; }
.catalog a:first-child img { height: 100%; min-height: 420px; }
.catalog .slab { grid-template-rows: 220px auto; }

.essay { max-width: 760px; }
.essay h2 { font-size: 1.8rem; margin: 1.6rem 0 0.4rem; }
.essay ul { color: var(--mute); padding-left: 1.1rem; }
.essay table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.essay th, .essay td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.45rem 0.3rem; vertical-align: top; }

.news-list { display: grid; gap: 1rem; }
.news-list article {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  background: var(--canopy);
  text-decoration: none;
}
.news-list a { display: contents; color: inherit; text-decoration: none; }
.news-list img { height: 100%; min-height: 180px; object-fit: cover; }

.ask details {
  border-top: 1px solid var(--line);
  padding: 0.2rem 0;
}
.ask summary { cursor: pointer; font-weight: 600; padding: 0.85rem 0; }
.ask details p { margin-top: 0; }

.foot {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.4rem;
  background: #0c130c;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.foot h2 { margin: 0 0 0.7rem; font-size: 1.3rem; }
.foot a { display: block; color: var(--mute); text-decoration: none; margin: 0.3rem 0; }
.foot a:hover { color: var(--leaf); }
.fine { color: var(--mute); font-size: 0.88rem; }
.map {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  min-height: 280px;
  filter: grayscale(0.35) contrast(1.05);
}
.map iframe { width: 100%; height: 320px; border: 0; }

.gate, .sheet, .light {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(7, 16, 8, 0.82);
}

.gate[hidden], .sheet[hidden], .light[hidden] { display: none; }

.gate-card, .sheet-card, .light figure {
  width: min(640px, calc(100% - 2rem));
  background: var(--canopy);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.gate-card h2 { margin: 0.2rem 0 0.6rem; font-size: 2.4rem; color: var(--leaf); }
.check { display: flex; gap: 0.5rem; align-items: center; margin: 1rem 0; color: var(--mute); }
.light figure { padding: 0; background: transparent; border: 0; }
.light img { max-height: 78vh; width: 100%; object-fit: contain; }
.light button { margin-top: 0.6rem; }

.warn { color: var(--flare); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; flex: none; }
  .mast { gap: 0.55rem; padding: 0.7rem 3.5vw; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand span { font-size: 1.02rem; }
  .track {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--canopy);
    padding: 0.4rem 0.6rem 0.8rem;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 64px);
    overflow: auto;
  }
  .track.is-open { display: flex; }
  .track > a,
  .drop > button {
    text-align: left;
    white-space: normal;
    line-height: 1.35;
    padding: 0.85rem 0.7rem;
  }
  .drop-panel { position: static; display: none; box-shadow: none; width: 100%; }
  .drop.is-open .drop-panel { display: grid; }
  .stage, .reel-grid, .page-hero, .split, .catalog, .news-list article, .foot-grid {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .folio:first-child { grid-row: auto; }
  .folio img { height: 220px; }
  .stage-visual { display: flex; flex-direction: column; min-height: 0; }
  .stage-visual img { height: 240px; width: 100%; object-fit: cover; flex: none; }
  .stamp { position: static; max-width: none; }
  .rail { grid-auto-columns: min(100%, 28rem); max-width: 100%; }
  .band-head { flex-direction: column; align-items: flex-start; }
  .band-nav { flex-wrap: wrap; width: 100%; }
  .actions { width: 100%; }
  .actions .solid, .actions .ghost { flex: 1 1 12rem; }
  .page-hero { padding: 2rem 0 0.5rem; }
  .page-hero img, .portrait, .news-list img, .catalog img {
    width: 100%;
    max-height: 280px;
    min-height: 0;
    object-fit: cover;
  }
  .catalog a:first-child img { min-height: 0; height: 240px; }
  .stage { min-height: 0; }
  .stage-copy { padding: 1.6rem 1.1rem 1.3rem; }
  .stage-visual { min-height: 240px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .wrap { width: min(1180px, calc(100% - 1.6rem)); }
  .essay { max-width: 100%; overflow-x: auto; }
  .essay table { min-width: 34rem; }
  .brand img { width: 34px; height: 34px; flex: none; }
  .lang, .nav-toggle { padding: 0.35rem 0.5rem; }
  .reel { min-height: 240px; }
  .reel-ui { flex-wrap: wrap; max-width: calc(100% - 2rem); }
  .gate-card, .sheet-card { padding: 1.1rem; }
  .gate-card h2 { font-size: 1.85rem; }
  .map iframe { height: 240px; }
  .slab { min-width: 0; }
  .slab h3 { font-size: 1.25rem; }
}
