/* ============================================================
   QANVERO — "Signal" direction
   Premium performance apparel for partner dance.
   White base · geometric grotesk · bold emerald accents.
   ============================================================ */

/* ---- Fonts: loaded via <link rel="preconnect"> in the HTML head (faster, non-blocking) ---- */

/* ---- Tokens ---- */
:root {
  /* surfaces */
  --base: #FCFCFA;
  --surface: #FFFFFF;
  --panel: #F4F2EC;

  /* ink */
  --ink: #16181A;
  --muted: rgba(22, 24, 26, .62);
  --dim: rgba(22, 24, 26, .40);
  --hairline: #E6E4DE;

  /* emerald system */
  --em-solid: #07835F;     /* labels, CTAs, mark on white */
  --em-g1: #0AA376;        /* gradient light stop */
  --em-g2: #04432F;        /* gradient deep stop */
  --em-vivid: #16C892;     /* accents over imagery */
  --em-deepest: #053A2C;   /* hover / text on light emerald */
  --em-grad-angle: 135deg;
  --em-gradient: linear-gradient(var(--em-grad-angle), var(--em-g1), var(--em-g2));

  /* type */
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, monospace;

  /* rhythm */
  --section-pad: clamp(72px, 9vw, 148px);
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1480px;

  /* motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* density tweak */
:root[data-density="compact"] { --section-pad: clamp(52px, 6vw, 104px); }
:root[data-density="comfy"]   { --section-pad: clamp(96px, 12vw, 196px); }

/* alt grotesk tweak */
:root[data-font="sora"] { --font-display: 'Sora', system-ui, sans-serif; }

/* emerald intensity tweak — punchier gradient */
:root[data-emerald="vivid"] {
  --em-g1: #12C089;
  --em-g2: #04492F;
}
:root[data-emerald="deep"] {
  --em-g1: #07835F;
  --em-g2: #032A1F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Type primitives ---- */
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10.5px;
  font-weight: 500;
}
.mono-sm { font-size: 9.5px; letter-spacing: .2em; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 600;
  color: var(--em-solid);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--em-solid);
  display: inline-block;
}

h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.03em; line-height: 0.9; }

.h-hero {
  font-size: clamp(62px, 9vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.h-section {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.em { color: var(--em-solid); }
.em-vivid { color: var(--em-vivid); }

.lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
  max-width: 46ch;
}

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Crosshair / converge mark ---- */
.mark {
  width: 1em; height: 1em;
  flex: none;
  display: inline-block;
  color: var(--em-solid);
}
.mark svg { width: 100%; height: 100%; display: block; }
.ph-label .mark, .hero-meta .mark, .form-ok .mark { display: block; }

/* ============================================================
   ANNOUNCEMENT BAND
   ============================================================ */
.band {
  background: var(--em-gradient);
  color: #fff;
  position: relative;
  z-index: 60;
}
.band-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 54px);
  padding: 10px var(--gutter);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  font-weight: 500;
  flex-wrap: wrap;
}
.band-row .sep { opacity: .5; }
.band-row .dot { color: rgba(255,255,255,.6); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 250, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand .mark { width: 22px; height: 22px; }
.wordmark {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 23px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}
.nav a {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s var(--ease-expo);
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav-cart {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--hairline);
  padding: 8px 13px;
  display: inline-flex;
  gap: 8px;
  transition: border-color .25s var(--ease-expo);
}
.nav-cart:hover { border-color: var(--ink); }
.nav-cart b { color: var(--em-solid); font-weight: 600; }
.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  background: transparent;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.burger span { width: 16px; height: 1.5px; background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 940px);
  display: flex;
  overflow: hidden;
  background: var(--ink);
}
.hero-photo {
  position: absolute;
  inset: 0;
}
.hero-photo .ph { width: 100%; height: 100%; }

/* scrims */
.hero-scrim-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8,10,11,.74) 0%, rgba(8,10,11,.34) 38%, rgba(8,10,11,0) 64%);
  pointer-events: none;
}
.hero-scrim-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,10,11,.7) 0%, rgba(8,10,11,0) 42%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) clamp(48px, 6vw, 92px);
  display: flex;
  align-items: flex-end;
}
.hero-copy { max-width: 760px; }
.hero-copy .eyebrow { color: var(--em-vivid); }
.hero-copy .eyebrow::before { background: var(--em-vivid); }
.hero-copy h1 {
  color: #fff;
  margin: 20px 0 0;
}
.hero-copy h1 .accent { color: var(--em-vivid); }
.hero-lede {
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  max-width: 48ch;
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* hero meta ticks top-right */
.hero-meta {
  position: absolute;
  top: clamp(24px, 4vw, 44px);
  right: var(--gutter);
  z-index: 3;
  text-align: right;
  color: rgba(255,255,255,.7);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 9.5px;
  line-height: 1.9;
}
.hero-meta .mark { color: var(--em-vivid); width: 20px; height: 20px; margin-left: auto; margin-bottom: 8px; }

/* ---- Hero variant B: inset panel ---- */
:root[data-hero="panel"] .hero-scrim-side {
  background: linear-gradient(to top, rgba(8,10,11,.42) 0%, rgba(8,10,11,0) 55%);
}
:root[data-hero="panel"] .hero-copy {
  background: var(--base);
  color: var(--ink);
  padding: clamp(30px, 3vw, 44px);
  border-top: 3px solid var(--em-solid);
  max-width: 600px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.5);
}
:root[data-hero="panel"] .hero-copy h1 { color: var(--ink); }
:root[data-hero="panel"] .hero-copy h1 .accent { color: var(--em-solid); }
:root[data-hero="panel"] .hero-copy .eyebrow { color: var(--em-solid); }
:root[data-hero="panel"] .hero-copy .eyebrow::before { background: var(--em-solid); }
:root[data-hero="panel"] .hero-lede { color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 600;
  padding: 15px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease-expo), background .3s var(--ease-expo), color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-arrow { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }

.btn-primary {
  background: var(--em-solid);
  color: #fff;
}
.btn-primary:hover { background: var(--em-deepest); }

.btn-vivid {
  background: var(--em-vivid);
  color: var(--em-deepest);
}
.btn-vivid:hover { background: #fff; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-ghost-ink {
  background: transparent;
  border-color: var(--hairline);
  color: var(--ink);
}
.btn-ghost-ink:hover { border-color: var(--ink); }

:root[data-hero="panel"] .hero-actions .btn-ghost {
  border-color: var(--hairline);
  color: var(--ink);
}
:root[data-hero="panel"] .hero-actions .btn-ghost:hover { border-color: var(--ink); background: transparent; }

/* ============================================================
   PLACEHOLDER (image drop-zones)
   ============================================================ */
.ph {
  position: relative;
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(22,24,26,.045) 0px,
      rgba(22,24,26,.045) 1px,
      transparent 1px,
      transparent 9px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph.dark {
  background-color: #1c1f22;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.05) 0px,
      rgba(255,255,255,.05) 1px,
      transparent 1px,
      transparent 9px);
}
.ph-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--dim);
  text-align: center;
  line-height: 1.8;
  padding: 14px;
  position: relative;
  z-index: 2;
}
.ph.dark .ph-label { color: rgba(255,255,255,.5); }
.ph-label .mark { width: 26px; height: 26px; margin: 0 auto 10px; color: var(--em-solid); opacity: .8; }
.ph.dark .ph-label .mark { color: var(--em-vivid); }
/* corner ticks */
.ph-tick { position: absolute; width: 14px; height: 14px; z-index: 2; opacity: .5; }
.ph-tick::before, .ph-tick::after { content: ""; position: absolute; background: var(--dim); }
.ph.dark .ph-tick::before, .ph.dark .ph-tick::after { background: rgba(255,255,255,.45); }
.ph-tick::before { width: 14px; height: 1px; top: 0; }
.ph-tick::after { width: 1px; height: 14px; left: 0; }
.ph-tick.tl { top: 12px; left: 12px; }
.ph-tick.tr { top: 12px; right: 12px; transform: scaleX(-1); }
.ph-tick.bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.ph-tick.br { bottom: 12px; right: 12px; transform: scale(-1); }

/* ============================================================
   SPEC STRIP
   ============================================================ */
.spec {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
}
.spec-cell {
  padding: clamp(40px, 5vw, 72px) clamp(28px, 3vw, 56px);
  border-left: 1px solid var(--hairline);
}
.spec-cell:first-child { border-left: 0; }
.spec-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--em-solid);
}
.spec-cell h3 {
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 20px 0 12px;
}
.spec-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 34ch;
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { position: relative; }
.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lede { margin-top: 18px; }
.section-head-left { max-width: 640px; }
.section-head h2 { margin-top: 16px; }

/* ============================================================
   RANGE / PRODUCT CARDS
   ============================================================ */
.range { background: var(--base); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2vw, 32px);
}
.card { position: relative; }
.card-well {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--panel);
}
.card-well .ph { width: 100%; height: 100%; transition: transform 1.1s var(--ease-expo); }
.card:hover .card-well .ph { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 600;
  padding: 7px 10px;
}
.card-badge.em { background: var(--em-solid); color: #fff; }
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  gap: 16px;
}
.card-meta h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.card-sub {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 6px;
}
.card-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--em-solid);
  white-space: nowrap;
}

/* ============================================================
   BANNER CALL-OUT
   ============================================================ */
.banner {
  background: var(--em-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.banner h2 {
  font-size: clamp(34px, 5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.banner h2 .soft { color: var(--em-vivid); }
.banner-cta {
  background: #fff;
  color: var(--em-deepest);
  white-space: nowrap;
}
.banner-cta:hover { background: var(--em-vivid); color: var(--em-deepest); }
/* faint registration motif */
.banner-mark {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 32vw, 520px);
  height: clamp(280px, 32vw, 520px);
  color: rgba(255,255,255,.08);
  z-index: 1;
  pointer-events: none;
}
.banner-mark svg { width: 100%; height: 100%; }

/* ============================================================
   MANIFESTO / WHY
   ============================================================ */
.manifesto { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.manifesto-copy h2 { margin-bottom: 28px; }
.manifesto-copy p {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 40ch;
  margin: 0 0 22px;
}
.manifesto-copy p .quiet { color: var(--muted); }
.manifesto-sign {
  margin-top: 32px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  color: var(--em-solid);
}
.manifesto-media {
  position: relative;
  aspect-ratio: 4 / 5;
}
.manifesto-media .ph { width: 100%; height: 100%; }
.manifesto-coord {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 3;
  background: var(--surface);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.manifesto-coord .mark { width: 13px; height: 13px; }

/* ============================================================
   FIELD NOTES
   ============================================================ */
.notes { background: var(--base); }
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.note {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(26px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: border-color .35s var(--ease-expo), transform .45s var(--ease-expo);
}
.note:hover { border-color: var(--ink); transform: translateY(-4px); }
.note-tag {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--em-solid);
  display: flex;
  justify-content: space-between;
}
.note-tag .idx { color: var(--dim); }
.note h3 {
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: auto 0 14px;
}
.note p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.note-read {
  margin-top: 22px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.note-read .ar { transition: transform .4s var(--ease-expo); }
.note:hover .note-read .ar { transform: translateX(5px); }

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist { background: var(--panel); border-top: 1px solid var(--hairline); }
.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.waitlist h2 { margin: 16px 0 0; }
.waitlist .lede { margin-top: 20px; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 3vw, 44px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select {
  width: 100%;
  border: 1px solid var(--hairline);
  background: var(--base);
  padding: 14px 15px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s var(--ease-expo);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--em-solid); }
.field input::placeholder { color: var(--dim); }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
  color: var(--dim);
  text-align: center;
  line-height: 1.7;
}
.form-ok {
  display: none;
  text-align: center;
  padding: 18px 0;
}
.form-ok .mark { width: 34px; height: 34px; margin: 0 auto 16px; }
.form-ok h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.form-ok p { color: var(--muted); font-size: 14px; margin: 0; }
.form-card.sent form { display: none; }
.form-card.sent .form-ok { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 6vw, 96px) var(--gutter) clamp(40px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer .wordmark { color: #fff; font-size: 26px; }
.footer-brand .mark { color: var(--em-vivid); }
.footer-brand p {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.6;
  max-width: 30ch;
  color: rgba(255,255,255,.55);
}
.footer-col h4 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  margin: 0 0 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  padding: 7px 0;
  transition: color .25s var(--ease-expo);
}
.footer-col a:hover { color: var(--em-vivid); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo);
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
  .reveal[data-d="4"] { transition-delay: .32s; }

  /* hero staggered entrance */
  html.js .hero-anim { opacity: 0; transform: translateY(28px); }
  .hero.loaded .hero-anim {
    opacity: 1; transform: none;
    transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
  }
  .hero.loaded .hero-anim[data-d="1"] { transition-delay: .1s; }
  .hero.loaded .hero-anim[data-d="2"] { transition-delay: .22s; }
  .hero.loaded .hero-anim[data-d="3"] { transition-delay: .34s; }
  .hero.loaded .hero-anim[data-d="4"] { transition-delay: .46s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-media { aspect-ratio: 16/10; max-height: 460px; }
  .notes-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-cell { border-left: 0; border-top: 1px solid var(--hairline); }
  .spec-cell:first-child { border-top: 0; }
  .waitlist-inner { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { min-height: 88vh; }
  :root[data-hero="panel"] .hero-copy { max-width: 100%; }
}

/* mobile nav drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--base);
  transform: translateX(100%);
  transition: transform .5s var(--ease-expo);
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
}
.drawer.open { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.drawer-close { background: none; border: 1px solid var(--hairline); width: 40px; height: 40px; font-size: 20px; color: var(--ink); }
.drawer nav { display: flex; flex-direction: column; margin-top: 40px; gap: 4px; }
.drawer nav a {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.drawer nav a .ix { font-family: var(--font-mono); font-size: 11px; color: var(--em-solid); margin-right: 14px; letter-spacing: .1em; vertical-align: middle; font-weight: 600; }

/* ============================================================
   PRINT / FALLBACK — never let animated content stay hidden
   ============================================================ */
@media print {
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
  .header { position: static; }
}

/* ============================================================
   HERO — dark dramatic (plum couple photo), restored per Chia.
   Only the hero is dark; the rest of the page stays light/deep-emerald.
   ============================================================ */
.hero { background: #160a1b; min-height: clamp(540px, 80vh, 840px); }
.hero-inner { padding-bottom: clamp(40px, 5vw, 80px); }
.hero-photo .ph, .hero-photo img { object-position: center 22%; }
/* left scrim — deep plum, lets the white copy read; faces (centre-right) stay clear */
.hero-scrim-side {
  background: linear-gradient(100deg,
    rgba(18,8,24,.88) 0%, rgba(18,8,24,.54) 27%,
    rgba(18,8,24,.12) 50%, rgba(18,8,24,0) 68%);
}
/* bottom scrim — anchors the copy and hides the bright studio floor */
.hero-scrim-bottom {
  background: linear-gradient(to top,
    rgba(11,5,15,.92) 0%, rgba(11,5,15,.6) 22%,
    rgba(11,5,15,.18) 42%, rgba(11,5,15,0) 60%);
}
.hero-copy h1 { color: #fff; font-size: clamp(46px, 5.6vw, 84px); line-height: 0.94; letter-spacing: -0.035em; }
.hero-copy h1 .accent { color: var(--em-vivid); }
.hero-copy .eyebrow { color: var(--em-vivid); }
.hero-copy .eyebrow::before { background: var(--em-vivid); }
.hero-lede { color: rgba(255,255,255,.84); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FIX: `html.js .reveal` (0,2,1) out-specifies `.reveal.in` (0,2,0), so revealed
   content stayed invisible. Bump specificity so .in actually shows the element. */
html.js .reveal.in { opacity: 1 !important; transform: none !important; }

/* ============================================================
   RANGE — Women / Men split (homepage)
   ============================================================ */
.range-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 56px); margin-top: clamp(30px, 4vw, 60px); }
.range-hero { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); text-decoration: none; }
.range-hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-expo); }
.range-hero:hover img { transform: scale(1.04); }
.range-hero-label { position: absolute; left: 0; bottom: 0; margin: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--surface); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.range-hero-label .ar { color: var(--em-solid); transition: transform .4s var(--ease-expo); }
.range-hero:hover .range-hero-label .ar { transform: translateX(4px); }
.range-items { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(14px, 1.6vw, 24px); }
.pcard { display: block; text-decoration: none; color: inherit; }
.pcard-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--panel); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-expo); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.pcard-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.pcard-price { font-family: var(--font-mono); font-size: 12px; color: var(--em-solid); letter-spacing: .06em; }
.pcard-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pdp { padding-top: clamp(26px, 3.5vw, 52px); padding-bottom: clamp(40px, 5vw, 80px); }
.pdp-shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.pdp-crumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: clamp(20px, 3vw, 40px); }
.pdp-crumb a { color: var(--dim); text-decoration: none; }
.pdp-crumb a:hover { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: clamp(28px, 4vw, 72px); align-items: start; }

/* gallery */
.pdp-gallery { display: grid; grid-template-columns: 86px 1fr; gap: 16px; position: sticky; top: 92px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pdp-thumb { padding: 0; border: 1px solid var(--hairline); background: var(--panel); cursor: pointer; aspect-ratio: 3/4; overflow: hidden; transition: border-color .3s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.is-active { border-color: var(--ink); }
.pdp-main-img { aspect-ratio: 4/5; overflow: hidden; background: var(--panel); }
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* info column */
.pdp-info { padding-top: 4px; }
.pdp-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.03em; line-height: 1; margin: 12px 0 0; }
.pdp-price { font-family: var(--font-mono); font-size: 18px; letter-spacing: .04em; margin: 16px 0 0; }
.pdp-desc { color: var(--muted); margin: 20px 0 0; max-width: 48ch; }
.pdp-specs { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.pdp-specs li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.pdp-specs li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 7px; background: var(--em-solid); border-radius: 50%; }
.pdp-opt { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.pdp-opt-head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.pdp-opt-head b { color: var(--ink); font-weight: 600; }
.pdp-sizeguide { color: var(--em-solid); text-decoration: none; border-bottom: 1px solid transparent; cursor: pointer; text-transform: none; letter-spacing: .04em; }
.pdp-sizeguide:hover { border-bottom-color: var(--em-solid); }
.pdp-swatches { display: flex; gap: 12px; }
.pdp-swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(22,24,26,.18); cursor: pointer; position: relative; padding: 0; }
.pdp-swatch::after { content: ""; position: absolute; inset: -4px; border: 1px solid transparent; border-radius: 50%; transition: border-color .25s; }
.pdp-swatch.is-active::after { border-color: var(--ink); }
.pdp-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-size { min-width: 50px; padding: 13px 6px; border: 1px solid var(--hairline); background: var(--surface); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pdp-size:hover { border-color: var(--ink); }
.pdp-size.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pdp-buy { display: flex; gap: 12px; margin-top: 28px; }
.pdp-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--hairline); }
.pdp-qty button { width: 46px; border: 0; background: var(--surface); font-size: 18px; cursor: pointer; color: var(--ink); }
.pdp-qty button:hover { background: var(--panel); }
.pdp-qty span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; font-family: var(--font-mono); font-size: 14px; }
.pdp-add { flex: 1; justify-content: center; }
.pdp-add.added { background: var(--em-deepest); }
.pdp-acc { margin-top: 30px; border-top: 1px solid var(--hairline); }
.pdp-acc details { border-bottom: 1px solid var(--hairline); }
.pdp-acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: "+"; font-size: 18px; color: var(--dim); }
.pdp-acc details[open] summary::after { content: "\2013"; }
.pdp-acc .acc-body { padding: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 54ch; }

/* you may also like */
.pdp-also { max-width: var(--maxw); margin: clamp(64px, 8vw, 132px) auto 0; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; border-top: 1px solid var(--hairline); }
.pdp-also h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; margin: 0 0 clamp(24px, 3vw, 40px); }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }

/* global light footer (homepage + PDP) */
.footer { background: var(--panel); color: var(--muted); border-top: 1px solid var(--hairline); }
.footer .wordmark { color: var(--ink); }
.footer-brand p { color: var(--muted); }
.footer-col h4 { color: var(--dim); }
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--em-solid); }
.footer-bottom { border-top: 1px solid var(--hairline); }
.footer-bottom-inner { color: var(--dim); }

/* responsive — PDP + range split */
@media (max-width: 980px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; gap: 12px; }
  .pdp-thumbs { flex-direction: row; order: 2; overflow-x: auto; padding-bottom: 4px; }
  .pdp-thumb { flex: 0 0 70px; }
  .pdp-main-img { order: 1; }
  .also-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .range-split { grid-template-columns: 1fr; gap: clamp(32px, 8vw, 48px); }
  .pdp-buy { flex-wrap: wrap; }
  .pdp-add { flex: 1 0 100%; }
}

/* PDP — buy note + size guide */
.pdp-buy-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 12px; }
.pdp-guide { margin-top: 14px; border: 1px solid var(--hairline); padding: 14px 16px; background: var(--surface); }
.pdp-guide table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pdp-guide th, .pdp-guide td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--hairline); }
.pdp-guide th { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.pdp-guide tbody tr:last-child td { border-bottom: 0; }
.pdp-guide-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
