/* ==========================================================================
   SUNBird — v2 "The Gallery": cream ground, brass as ink, photography hung
   as framed plates. Sections. Depends on css/base.css for tokens + reset.
   ========================================================================== */

/* inherits:true so .hero__layer--open and .hero__edge can read it off .hero;
   the typed property is what makes clip-path/left interpolate instead of snapping. */
@property --rev { syntax: "<number>"; initial-value: 0; inherits: true; }

/* ---------- shared: plates ----------
   <picture> is inline by default, so a child img's height:100% has nothing to
   resolve against and the frame collapses. Make every plate wrapper a block box. */
.hero__layer picture,
.prin__plate picture,
.film__plate picture,
.cd__img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__layer img,
.prin__plate img,
.film__plate img,
.cd__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(.96);
}

/* every section after the hero paints over the sticky scene */
main > *:not(.hero-wrap) { position: relative; z-index: 2; background: var(--bg); }
main > .band-raise { background: var(--bg-raise); }
main > .band-dark  { background: var(--dk-bg); }

/* Pinned sections get re-parented into a ScrollTrigger .pin-spacer, so they no
   longer match `main > *` and would lose their background — while pinned they are
   position:fixed, and a transparent one lets the previous section show through.
   Set it on the sections themselves, and on the spacer so the gap stays cream. */
.coll { background: var(--bg); }
main > .pin-spacer { position: relative; z-index: 2; background: var(--bg); }

/* ---------- buttons / links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95em 1.9em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.btn > span { position: relative; z-index: 2; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-slow) var(--ease-out);
}

.btn:hover::after,
.btn:focus-visible::after { transform: scaleY(1); }

/* the one solid brass fill */
.btn--solid { background: var(--brass); color: var(--ink); }
.btn--solid::after { background: var(--brass-lit); }

.btn--ghost { border: 1px solid var(--fg); color: var(--fg); }
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg); }

.btn--block { width: 100%; }

.lnk {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-ink);
  padding-bottom: .4em;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.lnk svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease-out); }
.lnk:hover { color: var(--ink); border-color: var(--ink); }
.lnk:hover svg { transform: translateX(4px); }

/* ══════════════════ IGNITION ══════════════════ */
.ignition {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  gap: 1.75rem;
  justify-items: center;
  background: var(--bg);
}

.ignition__mark {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 500;
  letter-spacing: -.01em;
}

.ignition__sun { color: var(--terracotta); }
.ignition__bird { color: var(--ink); }

.ignition__bar {
  width: min(46vw, 15rem);
  height: 1px;
  background: var(--line-soft);
  overflow: hidden;
}

.ignition__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brass-deep);
  transform: scaleX(0);
  transform-origin: left;
}

.ignition__count {
  font-size: var(--step--2);
  letter-spacing: .3em;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

/* ══════════════════ NAV ══════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(253, 251, 247, .86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}

.nav.is-hidden { transform: translateY(-101%); }

/* While transparent the nav floats on the dark hero photograph, so it borrows
   the on-dark palette; .is-stuck (cream bar) returns it to the page tokens. */
.nav:not(.is-stuck) {
  --fg: var(--cream);
  --fg-muted: rgba(253, 251, 247, .82);
  --brass-ink: var(--brass);
  --line: rgba(253, 251, 247, .34);
}

.nav:not(.is-stuck) .mark__bird { color: var(--cream); }
.nav:not(.is-stuck) .mark__tag  { color: rgba(253, 251, 247, .72); }
.nav:not(.is-stuck) .nav__links a { color: rgba(253, 251, 247, .82); }
.nav:not(.is-stuck) .nav__links a:hover { color: var(--brass-lit); }
.nav:not(.is-stuck) .nav__cta { color: var(--cream); }
.nav:not(.is-stuck) .nav__cta:hover { color: var(--ink); }

/* the static hero keeps its dark photo under the bar too */
.hero-static .nav:not(.is-stuck) { --fg: var(--cream); }

/* never leave a focused link parked off-screen */
.nav:focus-within { transform: none; }

.nav__inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(.9rem, 2vw, 1.3rem);
}

.mark { display: grid; line-height: 1; margin-right: auto; }

.mark__word {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -.01em;
}

.mark__sun { color: var(--terracotta); }
.mark__bird { color: var(--fg); }

.mark__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(.72rem, 1.4vw, .88rem);
  letter-spacing: .1em;
  color: var(--fg-muted);
  margin-top: .28em;
}

.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }

.nav__links a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--dur) var(--ease-out);
}

.nav__links a span { display: block; }
.nav__links a:hover { color: var(--brass-ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass-ink);
  padding: .6em 1.1em;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.nav__cta svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease-out); }
.nav__cta:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.nav__cta:hover svg { transform: translateX(3px); }

.burger { display: none; width: 2.5rem; height: 2.5rem; place-content: center; gap: .38rem; }
.burger i { display: block; width: 1.5rem; height: 1px; background: var(--fg); transition: transform var(--dur) var(--ease-out); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(.195rem) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child  { transform: translateY(-.195rem) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 6rem var(--gutter) 3rem;
  background: var(--bg-raise);
  clip-path: inset(0 0 100% 0);
}

.drawer__links { display: grid; gap: .35rem; }

.drawer__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.25;
  border-bottom: 1px solid var(--line-soft);
  padding-block: .5rem;
}

.drawer__links em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--step--2);
  letter-spacing: .2em;
  color: var(--brass-ink);
}

.drawer__foot { display: grid; gap: .25rem; font-size: var(--step--1); color: var(--fg-muted); }
.drawer__foot a { padding-block: .35rem; }

body.drawer-open { overflow: hidden; }

/* ══════════════════ 01 HERO — the wardrobe ══════════════════
   Full-bleed sticky scene on a scroll runway. --rev wipes the open plate over
   the shut one; a brass edge rides the seam so the eye tracks the door rather
   than the (deliberate) parallax between two real photographs. */
.hero-wrap {
  position: relative;
  height: 260svh;                 /* the scroll runway */
}

.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 32rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(1.25rem, 3vh, 2.25rem);
  background: var(--ink);
}

.hero__stage {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* <img> is natively draggable: a real mouse drag would start an HTML5 image
   drag and fire pointercancel, killing the door gesture. Let the stage own
   the pointer stream instead. */
.hero__stage img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.hero__layer { position: absolute; inset: 0; }
.hero__layer--open { clip-path: inset(0 calc(100% - var(--rev) * 100%) 0 0); }

.hero__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--rev) * 100%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--brass-lit) 16%, var(--brass) 50%, var(--brass-lit) 84%, transparent);
  box-shadow: 0 0 26px 4px rgba(223, 177, 99, .42);
  opacity: calc(1 - max(0, var(--rev) - .92) * 13);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,11,10,.9) 2%, rgba(12,11,10,.6) 34%, rgba(12,11,10,.12) 62%, rgba(12,11,10,.5) 100%),
    radial-gradient(75% 55% at 50% 82%, rgba(223,177,99,.12), transparent 70%);
  pointer-events: none;
}

.hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  pointer-events: none;
  color: var(--cream);
  --fg: var(--cream);
  --fg-muted: rgba(253, 251, 247, .82);
  --brass-ink: var(--brass);
  --brass-deep: var(--brass);
}

.hero__body a { pointer-events: auto; }

.hero__title {
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  color: var(--cream);
}

.ln { display: block; overflow: hidden; }
.ln .w { display: block; }

.hero__lede {
  font-size: var(--step-1);
  max-width: 36ch;
  color: rgba(253, 251, 247, .84);
}

.hero__acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }

.hero__meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(1.5rem, 4vh, 2.75rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(253, 251, 247, .22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, .78);
  pointer-events: none;
}

.hero__cue { display: inline-flex; align-items: center; gap: .7em; }

.hero__cue i {
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(var(--brass), transparent);
  animation: drop 2.1s var(--ease-io) infinite;
}

@keyframes drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════ 02 MARQUEE ══════════════════ */
.mq {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(1rem, 2.4vw, 1.6rem);
}

.mq__track { display: flex; width: max-content; will-change: transform; }

.mq__set { display: flex; align-items: center; flex: none; }

.mq__set span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -.01em;
  padding-inline: clamp(.6rem, 1.6vw, 1.2rem);
  color: var(--fg);
}

.mq__set i {
  color: var(--brass-deep);
  font-style: normal;
  font-size: .55em;
  transform: translateY(-.15em);
}

/* ══════════════════ 03 FINISH LIBRARY ══════════════════ */
.fin__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }
.fin__h { font-size: var(--step-5); }
.fin__p { color: var(--fg-muted); max-width: 52ch; }

.fin__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.fin__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
}

/* the magnified crop; JS tweens background-size down to 100% to pull back */
.fin__plate {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  will-change: background-size, background-position;
}

.fin__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(12,11,10,.72) 0%, rgba(12,11,10,.12) 42%, transparent 65%);
}

.fin__cap {
  position: absolute;
  left: clamp(1rem, 2.4vw, 1.9rem);
  right: clamp(1rem, 2.4vw, 1.9rem);
  bottom: clamp(1rem, 2.4vw, 1.9rem);
  display: grid;
  gap: .3rem;
  color: var(--cream);
  pointer-events: none;
}

.fin__capName {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.05;
}

.fin__capNote {
  font-size: var(--step--1);
  color: rgba(253, 251, 247, .8);
  max-width: 44ch;
}

.fin__toggle {
  position: absolute;
  top: clamp(.85rem, 2vw, 1.4rem);
  right: clamp(.85rem, 2vw, 1.4rem);
  padding: .6em 1.1em;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass);
  border-radius: 2px;
  transition: background var(--dur) var(--ease-out);
}

.fin__toggle:hover { background: var(--brass-lit); }
.fin__toggle[aria-pressed="true"] { background: var(--cream); }

.fin__swatches { display: grid; gap: clamp(.5rem, 1.2vw, .85rem); align-content: start; }

.sw {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(.85rem, 2vw, 1.25rem);
  padding: clamp(.55rem, 1.4vw, .8rem);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--bg-card);
  text-align: left;
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

.sw:hover { border-color: var(--line); transform: translateX(3px); }

.sw.is-on {
  border-color: var(--brass-deep);
  background: var(--bg-raise);
}

.sw__chip {
  width: clamp(3.2rem, 7vw, 4.6rem);
  aspect-ratio: 1;
  border-radius: 2px;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 24, .12);
}

.sw__t {
  display: grid;
  gap: .18rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.1;
  color: var(--fg);
}

.sw__t em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--brass-ink);
}

/* ══════════════════ 04 PRINCIPLES ══════════════════ */
.prin__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.prin__h { font-size: var(--step-5); max-width: 16ch; }

.prin__plate {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  background: var(--ink);
}

.prin__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.prin__item {
  background: var(--bg-card);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: grid;
  align-content: start;
  gap: .7rem;
  transition: background var(--dur-slow) var(--ease-out);
}

.prin__item:hover { background: var(--bg); }

.prin__item em {
  font-style: normal;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--brass-ink);
}

.prin__item h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.15;
}

.prin__item p { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.6; }

/* ══════════════════ 05 COLLECTION ══════════════════ */
.coll {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4.5rem, 8vh, 6.5rem) clamp(1.5rem, 3vh, 2.5rem);
  overflow: hidden;
}

.coll__head { display: grid; gap: .7rem; margin-bottom: clamp(1.25rem, 3vh, 2.5rem); }
/* the heading yields on short viewports so image + caption keep their room */
.coll__h { font-size: min(var(--step-5), 6.5vh); max-width: 18ch; }

.coll__hint {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: .8em;
}

.coll__hint::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--brass-deep);
  animation: slide 2.4s var(--ease-io) infinite;
}

@keyframes slide {
  0%, 100% { transform: translateX(0); opacity: .4; }
  50% { transform: translateX(.55rem); opacity: 1; }
}

.coll__view { overflow: hidden; }
.coll__view.is-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.coll__view.is-rail::-webkit-scrollbar { display: none; }
.coll__view.is-rail .cd { scroll-snap-align: center; }

.coll__track {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  width: max-content;
  will-change: transform;
}

/* card height is derived from the viewport so image + caption always fit the pin */
.cd {
  --h: clamp(11rem, 38svh, 26rem);
  flex: none;
  width: calc(var(--h) * 4 / 3);
  display: grid;
  gap: .85rem;
  cursor: pointer;
}

.cd__img {
  height: var(--h);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  background: var(--bg-raise);
}

.cd__img img { transition: transform 1.1s var(--ease-out); }
.cd:hover .cd__img img { transform: scale(1.06); }

.cd__meta { display: grid; gap: .35rem; }

.cd__meta em {
  font-style: normal;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--brass-ink);
}

.cd__meta h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
}

.cd__meta p { font-size: var(--step--1); color: var(--fg-muted); }

.coll__rail { height: 1px; background: var(--line-soft); margin-top: clamp(1.5rem, 3.5vh, 3rem); }
.coll__rail i { display: block; height: 100%; background: var(--brass-deep); transform-origin: left; transform: scaleX(0); }

/* ══════════════════ 06 RECONFIGURE ══════════════════ */
.rec__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.rec__head { display: grid; gap: 1rem; }
.rec__h { font-size: var(--step-5); max-width: 18ch; }

.rec__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(9.5rem, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.cell {
  position: relative;
  background: var(--bg-card);
  padding: clamp(1.25rem, 2.2vw, 1.9rem);
  text-align: left;
  display: grid;
  align-content: start;
  gap: .55rem;
  overflow: hidden;
  transition: background var(--dur-slow) var(--ease-out);
}

.cell:hover { background: var(--bg); }

.cell__n {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--brass-ink);
}

.cell__t {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
}

.cell__b {
  font-size: var(--step--1);
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 46ch;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out);
}

/* opacity/height:0 still leaves the text in the accessibility tree, so each
   button was announced with its whole paragraph. visibility removes it. */
.cell:not(.is-open) .cell__b { visibility: hidden; }

/* the open module flips to charcoal — brand contrast, and the eye lands on it */
.cell.is-open {
  grid-column: span 2;
  grid-row: span 2;
  align-content: space-between;
  background: var(--dk-bg);
}

.cell.is-open:hover { background: var(--dk-bg); }
.cell.is-open .cell__n { color: var(--brass); }
.cell.is-open .cell__t { color: var(--dk-fg); font-size: var(--step-3); }
.cell.is-open .cell__b { color: var(--dk-muted); opacity: 1; height: auto; margin-top: .4rem; }

/* the "+" that becomes "×" */
.cell__x {
  position: absolute;
  right: clamp(1.1rem, 2vw, 1.6rem);
  bottom: clamp(1.1rem, 2vw, 1.6rem);
  width: 14px;
  height: 14px;
  transition: transform var(--dur-slow) var(--ease-out);
}

.cell__x::before,
.cell__x::after {
  content: "";
  position: absolute;
  background: var(--brass-deep);
}

.cell__x::before { left: 0; right: 0; top: 50%; height: 1px; }
.cell__x::after  { top: 0; bottom: 0; left: 50%; width: 1px; }
.cell.is-open .cell__x { transform: rotate(135deg); }
.cell.is-open .cell__x::before, .cell.is-open .cell__x::after { background: var(--brass); }

/* travelling gleam on the open cell */
.cell.is-open::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-deep), var(--brass-lit), transparent);
  animation: gleam 2.8s linear infinite;
}

@keyframes gleam {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ══════════════════ 07 FILM — parallel kitchen ══════════════════ */
.film__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.film__body { display: grid; gap: 1.2rem; justify-items: start; }
.film__h { font-size: var(--step-5); }
.film__p { color: var(--fg-muted); max-width: 42ch; font-size: var(--step-0); }

.film__plate {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink);
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1rem;
}

.play__ring {
  display: grid;
  place-content: center;
  width: clamp(3.4rem, 7vw, 4.6rem);
  aspect-ratio: 1;
  border: 1px solid var(--brass-deep);
  border-radius: 50%;
  color: var(--brass-ink);
  transition: background var(--dur-slow) var(--ease-out), color var(--dur-slow) var(--ease-out);
}

.play__ring svg { width: 1.15rem; height: 1.15rem; transform: translateX(1px); }
.play:hover .play__ring { background: var(--brass); color: var(--ink); }

.play__t {
  display: grid;
  gap: .25rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.play__t em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--fg-muted);
  font-size: .92em;
}

/* ══════════════════ 09 YEARS ══════════════════ */
.years__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.years__lead { display: grid; gap: 1.5rem; justify-items: start; }

.years__h {
  font-size: var(--step-3);
  display: grid;
  grid-template-columns: auto auto;
  align-items: start;
  gap: 0 .1em;
  line-height: 1;
}

.years__num {
  font-size: clamp(5rem, 15vw, 11rem);
  line-height: .82;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
  grid-row: span 2;
}

.years__plus { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--brass-deep); line-height: 1; }

.years__word {
  grid-column: 2;
  font-size: var(--step-2);
  line-height: 1.2;
  align-self: end;
  padding-bottom: .1em;
}

.years__p { color: var(--fg-muted); max-width: 44ch; }

.ledger { display: grid; }

.ledger__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1.25rem;
  padding-block: clamp(1rem, 2.2vw, 1.5rem);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.ledger__row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--brass-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.ledger__row:hover::after { transform: scaleX(1); }

.ledger__row em {
  font-style: normal;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--brass-ink);
}

.ledger__row h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
}

.ledger__row span { font-size: var(--step--1); color: var(--fg-muted); text-align: right; }

/* ══════════════════ 10 SERVICES ══════════════════ */
.svc { position: relative; }
.svc__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.svc__h { font-size: var(--step-5); }

.svc__list { border-top: 1px solid var(--line-soft); }

.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3.4vw, 2.6rem);
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.svc__row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -.5);
  background: var(--bg-raise);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.svc__row:hover::before { opacity: 1; }

.svc__row em {
  font-style: normal;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--brass-ink);
}

.svc__row h3 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  transition: transform var(--dur-slow) var(--ease-out);
}

.svc__row:hover h3 { transform: translateX(.6rem); }
.svc__row p { font-size: var(--step--1); color: var(--fg-muted); }

.svc__arw {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brass-ink);
  opacity: 0;
  transform: translateX(-.5rem);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.svc__row:hover .svc__arw { opacity: 1; transform: none; }

.svc__float {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(12rem, 19vw, 19rem);
  aspect-ratio: 3 / 2;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -20px rgba(24, 24, 24, .35);
  will-change: transform;
}

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

/* ══════════════════ 11 VOICES ══════════════════ */
.voices { border-block: 1px solid var(--line-soft); }

.voices__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.voices__head { display: grid; gap: 1rem; }
.voices__h { font-size: var(--step-5); }

.voices__stage { display: grid; gap: 2.5rem; }

/* all quotes share one grid cell — the box is as tall as the tallest quote */
.quotes { display: grid; }

.q {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.q.is-on { opacity: 1; visibility: visible; pointer-events: auto; }

.q blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -.01em;
  max-width: 34ch;
  color: var(--fg);
}

.q blockquote p::before { content: "\201C"; color: var(--brass-deep); }
.q blockquote p::after  { content: "\201D"; color: var(--brass-deep); }

.q__n {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.voices__nav { display: flex; align-items: center; gap: 1.25rem; }

.vbtn {
  display: grid;
  place-content: center;
  width: 2.9rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg-muted);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.vbtn svg { width: 1rem; height: 1rem; }
.vbtn:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }

.vdots { display: flex; gap: .5rem; margin-inline: auto 0; }

.vdots button {
  position: relative;
  width: 2.1rem;
  height: 24px;              /* hit area; the visible mark is the 1px ::before */
  background: transparent;
}

.vdots button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(24, 24, 24, .18);
  transition: background var(--dur) var(--ease-out);
}

.vdots button[aria-pressed="true"]::before { background: var(--brass-deep); }

/* ══════════════════ 12 CTA — charcoal band ══════════════════ */
.cta { position: relative; overflow: hidden; }

.cta::before {
  /* one warm brass glow so the band doesn't read flat */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 18% 30%, rgba(223, 177, 99, .13), transparent 70%);
  pointer-events: none;
}

.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.cta__lead { display: grid; gap: 1.3rem; }
.cta__h { font-size: var(--step-6); max-width: 12ch; }
.cta__p { color: var(--fg-muted); max-width: 44ch; }

.cta__lines { display: grid; gap: .1rem; margin-top: 1rem; }

.cta__line {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line-soft);
  transition: padding-left var(--dur-slow) var(--ease-out);
}

.cta__line:last-child { border-bottom: 1px solid var(--line-soft); }
.cta__line:hover { padding-left: .5rem; }

.cta__line span {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
}

.cta__line strong {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* form */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.field { position: relative; }
.field--wide { grid-column: 1 / -1; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1.5rem .9rem .6rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  color: var(--fg);
  font-size: var(--step-0);
  transition: border-color var(--dur) var(--ease-out);
  resize: none;
}

.field select { padding-top: 1.4rem; appearance: none; cursor: pointer; }
.field select option { background: var(--dk-bg); color: var(--dk-fg); }

.field label {
  position: absolute;
  left: .9rem;
  top: 1.15rem;
  font-size: var(--step-0);
  color: var(--fg-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.field .opt { opacity: .6; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-bottom-color: var(--brass);
}

.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--brass); }

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select + label {
  transform: translateY(-.95rem) scale(.72);
  color: var(--brass);
}

.field.is-bad input,
.field.is-bad textarea { border-bottom-color: #E07A5F; }

.form .btn { grid-column: 1 / -1; margin-top: .5rem; }

.form__note {
  grid-column: 1 / -1;
  font-size: var(--step--1);
  color: var(--brass);
  min-height: 1.4em;
}

/* ══════════════════ FOOTER ══════════════════ */
.foot {
  background: var(--ink);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  border-top: 1px solid var(--dk-line-soft);
}

.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
}

.mark--foot .mark__word { font-size: clamp(1.75rem, 5vw, 2.75rem); }

.foot__up {
  display: inline-flex;
  align-items: center;
  padding-block: .3rem;
  gap: .6em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--dur) var(--ease-out);
}

.foot__up svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease-out); }
.foot__up:hover { color: var(--brass); }
.foot__up:hover svg { transform: translateY(-3px); }

.foot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.foot__col h3 {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .9rem;
}

.foot__col p { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.7; margin-bottom: .7rem; }

.foot__col > a {
  display: inline-block;
  padding-block: .2rem;
  font-size: var(--step--1);
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.foot__col > a:hover { color: var(--brass); border-color: var(--brass); }

.foot__soc { display: grid; gap: .5rem; }

.foot__soc a {
  display: inline-block;
  padding-block: .2rem;
  font-size: var(--step--1);
  color: var(--fg-muted);
  transition: color var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}

.foot__soc a:hover { color: var(--brass); padding-left: .35rem; }

.foot__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--step--2);
  letter-spacing: .1em;
  color: var(--fg-muted);
}

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 1100px) {
  .voices__inner { grid-template-columns: 1fr; }
  .prin__list { grid-template-columns: repeat(2, 1fr); }
  .years__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: grid; }

  .hero-wrap { height: 230svh; }
  .hero__meta { font-size: .62rem; letter-spacing: .16em; }
  .hero__cap { display: none; }

  .fin__grid { grid-template-columns: 1fr; }
  .fin__stage { aspect-ratio: 4 / 3; }
  .fin__swatches { grid-template-columns: repeat(2, 1fr); }

  .prin__plate { aspect-ratio: 16 / 10; }

  /* collection is a plain swipeable rail: width-based cards */
  .coll { min-height: 0; display: block; padding-block: var(--bay) 0; }
  .cd { --h: auto; width: clamp(15rem, 74vw, 20rem); }
  .cd__img { height: auto; aspect-ratio: 4 / 3; }
  .coll__rail { margin-top: 2.5rem; }

  .rec__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .cell.is-open { grid-column: span 2; grid-row: span 1; }

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

  .svc__row { grid-template-columns: auto 1fr auto; }
  .svc__row p { grid-column: 2; grid-row: 2; }
  .svc__float { display: none; }
}

@media (max-width: 620px) {
  .fin__swatches { grid-template-columns: 1fr; }
  .sw__t { font-size: var(--step-1); }

  .cta__line { grid-template-columns: 1fr; gap: .2rem; }
  .cta__line strong { font-size: var(--step-1); overflow-wrap: break-word; }

  .prin__list { grid-template-columns: 1fr; }
  .rec__grid { grid-template-columns: 1fr; }
  .cell.is-open { grid-column: span 1; }
  .form { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: auto 1fr; }
  .ledger__row span { grid-column: 2; text-align: left; }
  .years__h { grid-template-columns: 1fr; }
  .years__num { grid-row: auto; }
  .years__word { grid-column: 1; }
  .foot__base { flex-direction: column; }
}

/* ══════════════════ STATIC HERO / NO-JS / REDUCED MOTION ══════════════════
   .hero-static is set by JS for reduced motion and for viewports too short to
   hold the scene; .no-js covers the script never running. Same result: the
   wardrobe is shown open, in normal flow, with no runway. */
.no-js .hero-wrap, .hero-static .hero-wrap { height: auto; }

.no-js .hero, .hero-static .hero {
  position: relative;
  height: auto;
  min-height: 0;
  padding-top: clamp(9rem, 26vh, 14rem);
}

.no-js .hero__layer--open, .hero-static .hero__layer--open { clip-path: none; }
.no-js .hero__edge, .hero-static .hero__edge,
.no-js .hero__cue,  .hero-static .hero__cue { display: none; }

.no-js .fin__plate, .hero-static .fin__plate { background-size: cover !important; background-position: center !important; }

@media (prefers-reduced-motion: reduce) {
  .ignition { display: none; }
  .hero__cue i, .coll__hint::after, .cell.is-open::after { animation: none; }
  .hero__layer--open { clip-path: none; }
  .hero__edge, .hero__cue { display: none; }
  .mq__track { transform: none !important; }
  .ln .w { transform: none !important; }
}
