/* ============ Jemly V2 — The Fitting Room ============ */

:root {
  --serif: "Bodoni 72", Didot, "Didot LT STD", "Playfair Display", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --brass: #b08d57;
  --brass-hi: #d9b981;
  --brass-lo: #7d5f38;
  --cream: #f4ede1;
  --ink-on-light: #26201a;
  --ink-on-dark: #f3ebdd;
  --page: #f7f1e7;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.87, 0, .13, 1);
  --ease-spring: cubic-bezier(.34, 1.65, .44, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink-on-light);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.scene:focus-visible { outline-offset: -3px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink-on-light); color: var(--cream);
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink-on-light); color: var(--cream);
  box-shadow: 0 10px 24px rgba(38, 32, 26, .22);
}
.btn-primary:hover { background: #3a3026; box-shadow: 0 14px 30px rgba(38, 32, 26, .3); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(0, 0, 0, .06); }
.scene.dark .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-pill { background: var(--ink-on-light); color: var(--cream); padding: 9px 20px; font-size: 13.5px; }
.btn-lg { padding: 17px 38px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 0 clamp(16px, 4vw, 44px); height: 62px;
  background: color-mix(in srgb, var(--page) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(38, 32, 26, .08);
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.nav-brand img { border-radius: 9px; box-shadow: 0 2px 6px rgba(0, 0, 0, .28), 0 1px 2px rgba(0, 0, 0, .18); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: .03em;
  padding: 8px 13px; border-radius: 999px; color: rgba(38, 32, 26, .75);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(38, 32, 26, .07); color: var(--ink-on-light); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 12px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink-on-light); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO / SCENE ============ */
.hero { position: relative; }
.scene {
  position: relative; height: 100svh; min-height: 680px; overflow: hidden;
  --wall: #dde3d2;
  --wall2: #cdd6bf;
  --accent: #7c8b6a;
  --accent2: #a9b795;
  --backdrop: #cabaa4;
  --ink: var(--ink-on-light);
  --ink-dim: rgba(38, 32, 26, .9);
  --title-ink: rgba(38, 32, 26, .30);
  --floor-c: #cfc2ad;
  color: var(--ink);
}
.scene.dark { --ink: var(--ink-on-dark); --ink-dim: rgba(243, 235, 221, .75); --title-ink: rgba(243, 235, 221, .34); }

/* --- wall --- */
.wall { position: absolute; inset: 0; background: var(--wall); transition: background .3s; }
.wall-pattern { position: absolute; inset: 0; }
.scene[data-pattern="panel"] .wall-pattern {
  background: repeating-linear-gradient(90deg,
    transparent 0 118px, rgba(0, 0, 0, .05) 118px 120px),
    linear-gradient(180deg, var(--wall2), var(--wall) 55%);
}
.scene[data-pattern="twill"] .wall-pattern {
  background: repeating-linear-gradient(58deg,
    rgba(255, 255, 255, .05) 0 3px, transparent 3px 9px),
    repeating-linear-gradient(58deg, rgba(0, 0, 0, .05) 0 3px, transparent 3px 9px),
    linear-gradient(180deg, var(--wall2), var(--wall) 60%);
}
.scene[data-pattern="plaster"] .wall-pattern {
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .10), transparent 55%),
    radial-gradient(90% 70% at 85% 100%, rgba(0, 0, 0, .10), transparent 60%),
    linear-gradient(180deg, var(--wall2), var(--wall) 60%);
}
.scene[data-pattern="awning"] .wall-pattern {
  background: repeating-linear-gradient(90deg,
    var(--accent) 0 74px, transparent 74px 148px),
    linear-gradient(180deg, var(--wall2), var(--wall) 60%);
  background-blend-mode: soft-light, normal;
  opacity: .9;
}
.scene[data-pattern="pinstripe"] .wall-pattern {
  background: repeating-linear-gradient(90deg,
    rgba(240, 232, 214, .075) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, var(--wall2), var(--wall) 60%);
}
.scene[data-pattern="track"] .wall-pattern {
  background:
    linear-gradient(180deg, transparent 0 20%, rgba(240, 235, 222, .85) 20% 21.2%, transparent 21.2% 23.4%, rgba(240, 235, 222, .85) 23.4% 24.6%, transparent 24.6%),
    linear-gradient(180deg, var(--wall2), var(--wall) 55%);
}

.floor {
  position: absolute; left: -5%; right: -5%; bottom: 0; height: 24%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .14)),
    linear-gradient(180deg, var(--floor-c), color-mix(in srgb, var(--floor-c) 78%, #000 22%));
  transform: perspective(600px) rotateX(24deg);
  transform-origin: bottom;
}
.scene[data-pattern="track"] .floor {
  background:
    repeating-linear-gradient(90deg, transparent 0 170px, rgba(240, 235, 222, .5) 170px 174px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .22)),
    linear-gradient(180deg, #25355a, #1a2440);
}

/* giant title + number */
.wall-title {
  position: absolute; right: 2.5%; top: 66%; transform: translateY(-50%);
  font-family: var(--serif); font-weight: 700; white-space: nowrap;
  font-size: clamp(64px, 7.8vw, 130px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.6px var(--title-ink);
  text-stroke: 1.6px var(--title-ink);
  letter-spacing: .01em; pointer-events: none; user-select: none;
}
.wall-title .wt-l { display: inline-block; will-change: transform; }
.wall-title .wt-sp { display: inline-block; width: .28em; }
.wall-num {
  position: absolute; right: 4.5%; top: 9%;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(80px, 9vw, 150px); line-height: 1;
  color: var(--title-ink); pointer-events: none; user-select: none;
}
.odo { display: inline-flex; height: 1em; overflow: hidden; vertical-align: top; }
.odo-col { display: flex; flex-direction: column; transform: translateY(-2em); transition: transform .45s var(--ease-expo); }
.odo-col i { font-style: normal; height: 1em; line-height: 1em; display: block; }

/* wall prop */
.wall-prop { position: absolute; right: 5%; bottom: 20%; width: clamp(110px, 11vw, 190px); color: var(--accent); transition: color .4s; }
.wall-prop svg { width: 100%; height: auto; display: block; }

/* --- booth / arch --- */
.booth {
  position: absolute; left: 55%; top: 50%; translate: -50% -50%;
  height: 78%; aspect-ratio: 0.615;
}
.arch-inner {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  background: var(--backdrop);
  box-shadow: inset 0 18px 42px rgba(0, 0, 0, .28), inset 0 -10px 30px rgba(0, 0, 0, .18);
  transition: background .4s;
}
.arch-frame {
  position: absolute; inset: -9px; pointer-events: none;
  border-radius: 999px 999px 18px 18px;
  border: 3px solid var(--brass);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .18), 0 24px 60px rgba(0, 0, 0, .28),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.arch-frame::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit;
  border: 1px solid var(--brass-hi); opacity: .55; transform: translate(1.5px, 1.5px);
}

.photo-wrap {
  position: absolute; inset: 0;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent),
    linear-gradient(180deg, transparent, #000 20%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent),
    linear-gradient(180deg, transparent, #000 20%);
  mask-composite: intersect;
}
.photo-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; will-change: transform, filter; }
.strips {
  position: absolute; inset: 0; visibility: hidden;
  --pw: 300px; --sw: 30px;
}
.strips > div {
  position: absolute; top: 0; bottom: 0; overflow: hidden;
  left: calc(var(--i) * var(--sw)); width: calc(var(--sw) + 1px);
  will-change: transform;
}
.strips > div > img {
  position: absolute; top: 0; height: 100%; width: var(--pw); max-width: none;
  left: calc(-1 * var(--i) * var(--sw));
  object-fit: cover; object-position: center bottom;
}

.spot {
  position: absolute; left: 50%; bottom: 1.5%; width: 78%; height: 15%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 242, 205, .6), rgba(255, 242, 205, .12) 55%, transparent 72%);
  mix-blend-mode: screen; pointer-events: none;
}
.spot::before {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 96%; height: 560%;
  background: linear-gradient(180deg, rgba(255, 242, 205, .16), transparent 85%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}

/* curtain cover (the wipe) */
.curtain-cover {
  position: absolute; inset: -2% -1%; z-index: 5;
  transform: scaleX(0); transform-origin: left center;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .34) 0 12px, rgba(255, 255, 255, .09) 12px 22px,
      rgba(0, 0, 0, .2) 22px 40px, rgba(255, 255, 255, .05) 40px 52px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 62%, #1d1410), color-mix(in srgb, var(--accent) 38%, #150e0a));
  pointer-events: none;
}
.curtain-cover::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -14px; width: 26px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .4), transparent);
}

/* gathered side curtain */
.curtain-side {
  position: absolute; left: 41.5%; top: 6%; width: 6.5%; height: 78%;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .32) 0 9px, rgba(255, 255, 255, .10) 9px 16px, rgba(0, 0, 0, .18) 16px 26px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, #241a12), color-mix(in srgb, var(--accent) 55%, #17100b));
  border-radius: 48% 52% 55% 45% / 3% 4% 6% 5%;
  transform: skewX(-4deg);
  box-shadow: 14px 18px 40px rgba(0, 0, 0, .25);
  transition: background .4s;
}
.curtain-side::before {
  content: ""; position: absolute; top: -14px; left: -12%; right: -12%; height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass-lo));
}
.curtain-side::after {
  content: ""; position: absolute; top: 38%; left: -8%; right: -8%; height: 3.5%;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass));
  border-radius: 999px; box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}

/* garment rail */
.rail { position: absolute; right: -46%; top: 16%; width: 44%; height: 52%; }
.rail-bar {
  position: absolute; top: 0; left: -8%; right: 0; height: 5px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass-lo));
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
}
.rail-bar::before, .rail-bar::after {
  content: ""; position: absolute; top: 5px; width: 3px; height: 20px;
  background: var(--brass-lo);
}
.rail-bar::before { left: 4%; } .rail-bar::after { right: 6%; }
.hangers { position: absolute; top: 5px; left: 0; right: 4%; display: flex; justify-content: space-between; padding: 0 4%; }
.hanger { transform-origin: top center; width: 17%; }
.hanger svg { display: block; width: 100%; height: auto; overflow: visible; }

/* tag card */
.tagcard {
  position: absolute; left: 55%; top: 12%;
  transform: translateX(calc(-50% - min(24vw, 330px)));
  width: 238px; z-index: 8; perspective: 700px;
}
.tagcard-inner {
  display: flex; flex-direction: column; gap: 5px;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  border: 1px solid rgba(38, 32, 26, .14);
  border-left: 3px solid var(--accent);
  padding: 14px 16px; border-radius: 4px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  color: var(--ink-on-light);
  transform-origin: center top;
}
.tagcard-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--brass-lo); }
.tagcard-title { font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1.15; }
.tagcard-formula { font-size: 12px; line-height: 1.55; color: rgba(38, 32, 26, .68); }

/* outfit dial */
.dial {
  position: absolute; right: -14%; bottom: 14%;
  width: 118px; height: 118px; border-radius: 50%;
  border: 0; z-index: 9; padding: 0;
  background: radial-gradient(circle at 34% 30%, #a8845238, #96744a 22%, #6e522e 72%, #503b1f);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .32), inset 0 2px 6px rgba(255, 255, 255, .26), inset 0 -4px 10px rgba(0, 0, 0, .32);
}
.dial-knob {
  position: absolute; inset: 16px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #f0d9a8, var(--brass) 46%, var(--brass-lo) 88%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4), inset 0 2px 4px rgba(255, 255, 255, .5), inset 0 -4px 8px rgba(0, 0, 0, .35);
  transition: transform .5s var(--ease-spring);
}
.dial-knob::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgba(0, 0, 0, .14) 0 2deg, transparent 2deg 14deg);
  -webkit-mask-image: radial-gradient(circle, transparent 58%, #000 60%);
  mask-image: radial-gradient(circle, transparent 58%, #000 60%);
}
.dial-pointer {
  position: absolute; left: 50%; top: 7%; width: 5px; height: 26%;
  transform: translateX(-50%); border-radius: 999px;
  background: #2c1f12; box-shadow: 0 0 4px rgba(0, 0, 0, .5);
}
.dial-ticks { position: absolute; inset: 0; }
.dial-tick {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  color: #3a2a12;
  text-shadow: 0 1px 0 rgba(255, 220, 160, .35);
}
.dial-tick i {
  font-style: normal; position: absolute; left: -11px; top: -7px; width: 22px;
  text-align: center;
}
.dial-tick::before {
  content: ""; position: absolute; left: -1px; top: -12px; width: 2px; height: 6px;
  background: rgba(58, 42, 18, .7); border-radius: 2px;
}
.dial-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 8.5px; font-weight: 800; letter-spacing: .18em; line-height: 1.5;
  color: rgba(44, 31, 18, .8); pointer-events: none; text-align: center;
}
.dial:hover .dial-knob { filter: brightness(1.07); }
.dial:active .dial-knob { filter: brightness(.95); }

/* pips + autoplay */
.pips-row {
  position: absolute; left: 50%; bottom: -8.5%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; z-index: 9;
}
.pips { display: flex; gap: 9px; }
.pips button {
  min-width: 44px; min-height: 44px; padding: 0; margin: -11px -6px;
  background: none; border: 0; position: relative;
  font-size: 11px; font-weight: 700; color: var(--ink-dim);
}
.pips button i {
  font-style: normal; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30px; height: 30px; line-height: 30px; border-radius: 50%;
  border: 1.5px solid var(--ink-dim); transition: all .25s;
}
.pips button:hover i { border-color: var(--ink); color: var(--ink); transform: translate(-50%, -50%) scale(1.12); }
.pips button[aria-checked="true"] i { background: var(--ink); border-color: var(--ink); color: var(--wall); }

.autoplay-toggle {
  position: relative; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--ink-dim); background: transparent; color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.autoplay-toggle:hover { background: rgba(0, 0, 0, .08); transform: scale(1.08); }
.scene.dark .autoplay-toggle:hover { background: rgba(255, 255, 255, .12); }
.autoplay-toggle svg { fill: currentColor; }
.autoplay-toggle .ic-play { display: none; }
.autoplay-toggle.paused .ic-play { display: block; }
.autoplay-toggle.paused .ic-pause { display: none; }

/* hero copy */
.hero-copy { position: absolute; left: 6%; top: 50%; transform: translateY(-52%); max-width: 480px; z-index: 8; }
.hero-copy h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(64px, 7.5vw, 118px); line-height: .95; letter-spacing: .01em;
}
.slogan {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 1.7vw, 26px); margin-top: 10px; color: var(--ink);
}
.pitch { margin-top: 18px; font-size: 16.5px; max-width: 42ch; color: var(--ink-dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-cta .btn-primary { background: var(--ink); }
.scene:not(.dark) .hero-cta .btn-primary { color: var(--cream); }
.scene.dark .hero-cta .btn-primary { color: #26201a; }

.sr-announcer {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden; border-block: 1px solid rgba(38, 32, 26, .14);
  background: var(--ink-on-light); color: var(--cream);
  padding: 15px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  padding: 0 26px; white-space: nowrap; letter-spacing: .04em;
}
.marquee-track b { color: var(--brass-hi); font-weight: 400; padding: 0 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(90px, 11vw, 150px) 0; }
.section-alt { background: #efe7d8; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 48px); }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-lo); margin-bottom: 14px;
}
h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(38px, 4.4vw, 62px); line-height: 1.06; letter-spacing: 0;
  margin-bottom: 22px;
}
.section p { color: rgba(38, 32, 26, .72); font-size: 16.5px; max-width: 56ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.step {
  position: relative; background: #fbf7ef; border: 1px solid rgba(38, 32, 26, .1);
  border-radius: 18px; padding: 34px 28px 30px;
  box-shadow: 0 18px 44px rgba(38, 32, 26, .07);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(38, 32, 26, .12); }
.step-num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--serif); font-size: 44px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.2px rgba(38, 32, 26, .3);
}
.step-icon { width: 46px; height: 46px; color: var(--brass-lo); margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.step p { font-size: 15px; }

/* --- try-on compare --- */
.tryon-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 6vw, 90px); align-items: center; }
.compare {
  position: relative; width: min(430px, 88vw); aspect-ratio: 9/16;
  border-radius: 20px; overflow: hidden; user-select: none; touch-action: pan-y;
  box-shadow: 0 30px 70px rgba(38, 32, 26, .28);
  border: 1px solid rgba(38, 32, 26, .15);
}
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.cmp-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 0; z-index: 3;
  cursor: ew-resize;
}
.cmp-line { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .45); }
.cmp-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: #26201a; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.cmp-handle:focus-visible { outline: none; }
.cmp-handle:focus-visible .cmp-knob { outline: 2.5px solid var(--brass); outline-offset: 3px; }
.cmp-tag {
  position: absolute; top: 14px; z-index: 2; font-size: 10.5px; font-weight: 800;
  letter-spacing: .14em; padding: 5px 11px; border-radius: 999px;
  background: rgba(28, 22, 16, .62); color: #f3ebdd; backdrop-filter: blur(6px);
}
.cmp-tag-l { left: 14px; } .cmp-tag-r { right: 14px; }
.compare-caption { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 600; }
.cmp-arrow { color: var(--brass-lo); }

/* --- daily looks board --- */
.daily-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.board {
  display: grid; grid-template-columns: 1fr auto 168px; gap: 18px; align-items: center;
  background: #fbf7ef; border: 1px solid rgba(38, 32, 26, .1); border-radius: 22px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 24px 60px rgba(38, 32, 26, .1);
  min-height: 300px;
}
.board-chips { display: flex; flex-direction: column; gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid rgba(38, 32, 26, .14); border-radius: 999px;
  padding: 9px 16px 9px 10px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(38, 32, 26, .08);
}
.chip svg { width: 30px; height: 30px; color: var(--chip-c, var(--brass-lo)); flex: none; }
.board-eq { color: var(--brass-lo); }
.board-card {
  position: relative; aspect-ratio: 9/16; border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(38, 32, 26, .22); transform-origin: center;
}
.board-card img { width: 100%; height: 100%; object-fit: cover; }
.board-card-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(20, 15, 10, .78));
  color: #f3ebdd; display: flex; flex-direction: column;
}
.board-card-label span:first-child { font-family: var(--serif); font-size: 16px; font-weight: 700; }
.board-card-label span:last-child { font-size: 10px; letter-spacing: .16em; opacity: .8; }

/* --- style circle phone --- */
.circle-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.phone {
  width: 320px; border-radius: 38px; background: #211a14; padding: 12px;
  box-shadow: 0 34px 80px rgba(38, 32, 26, .35);
}
.phone-notch { height: 22px; width: 38%; margin: 4px auto 8px; border-radius: 999px; background: #0e0a07; }
.phone-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 12px; color: #f3ebdd; }
.phone-title { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.phone-badge { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(243, 235, 221, .4); border-radius: 999px; padding: 3px 9px; opacity: .8; }
.phone-req {
  margin: 0 10px 12px; padding: 13px 15px; border-radius: 16px 16px 16px 4px;
  background: #3a2f24; color: #f3ebdd;
}
.req-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-hi); }
.phone-req p { font-size: 13.5px; margin-top: 4px; color: #f3ebdd; }
.friend-list { display: flex; flex-direction: column; gap: 9px; margin: 0 10px; }
.friend {
  display: flex; align-items: center; gap: 10px;
  background: #fbf7ef; border-radius: 14px; padding: 9px 11px;
}
.friend-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff;
}
.friend-meta { flex: 1; min-width: 0; }
.friend-name { font-size: 12.5px; font-weight: 700; }
.friend-sub { font-size: 10.5px; color: rgba(38, 32, 26, .6); }
.friend-look { width: 30px; height: 46px; border-radius: 6px; object-fit: cover; flex: none; }
.friend-vote {
  border: 0; background: none; padding: 12px; color: #c7b9a4; position: relative;
  transition: transform .2s, color .2s;
}
.friend-vote svg { width: 20px; height: 20px; display: block; }
.friend-vote:hover { transform: scale(1.2); color: #c0392b; }
.friend-vote.voted { color: #c0392b; }
.phone-note { text-align: center; font-size: 10px; color: rgba(243, 235, 221, .45); padding: 12px 0 6px; letter-spacing: .06em; }
.circle-points { list-style: none; margin-top: 26px; }
.circle-points li {
  padding: 11px 0 11px 30px; position: relative; font-weight: 600; font-size: 15.5px;
  border-bottom: 1px solid rgba(38, 32, 26, .1);
}
.circle-points li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 14px;
  border-radius: 50%; border: 2px solid var(--brass);
}

/* --- about --- */
.about-wrap { max-width: 780px; }
.about-p { font-size: 18px; }

/* --- cta band --- */
.cta-band {
  padding: clamp(100px, 12vw, 160px) 0; text-align: center;
  background: linear-gradient(180deg, #241c14, #171009);
  color: var(--cream);
}
.cta-band h2 { color: var(--cream); margin-bottom: 34px; }
.cta-band .btn-primary { background: var(--cream); color: #241c14; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-brand { display: block; width: 64px; height: 64px; border-radius: 16px; border: 1px solid rgba(243, 235, 221, .18); box-shadow: 0 8px 22px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .3); }

/* --- footer --- */
.footer { background: #171009; color: rgba(243, 235, 221, .75); padding: 46px 0 40px; border-top: 1px solid rgba(243, 235, 221, .1); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }

.footer-brand div { display: flex; flex-direction: column; line-height: 1.35; }
.footer-brand strong { font-family: var(--serif); font-size: 18px; color: #f3ebdd; }
.footer-brand span { font-size: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; font-size: 13.5px; font-weight: 600; }
.footer-links a:hover { color: var(--brass-hi); text-decoration: underline; }
.footer-copy { width: 100%; font-size: 12px; color: rgba(243, 235, 221, .45); }

/* --- film grain --- */
.grain {
  position: fixed; inset: -60px; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- scroll reveal (progressive enhancement: only hidden when JS is on) --- */
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }

/* smooth ink flips when the scene theme changes */
.hero-copy h1, .slogan, .pitch, .pips button, .pips button i,
.autoplay-toggle, .dial-tick i { transition: color .35s ease, border-color .35s ease; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .hero-copy { max-width: 400px; }
  .wall-title { font-size: 7vw; }
}
@media (max-width: 1024px) {
  .tagcard { transform: translateX(calc(-50% - min(20vw, 260px))); width: 210px; }
  .rail { right: -40%; width: 40%; }
}
@media (max-width: 900px) {
  .tryon-grid, .daily-grid, .circle-grid { grid-template-columns: 1fr; }
  .compare { margin: 0 auto; }
  .phone { margin: 0 auto; }
  .circle-copy { order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 16px 18px;
    background: var(--page); border-bottom: 1px solid rgba(38, 32, 26, .1);
    transform: translateY(-130%); transition: transform .3s var(--ease-out);
    box-shadow: 0 20px 40px rgba(38, 32, 26, .12);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 14px; font-size: 15px; }
  .nav-burger { display: flex; }
  .nav-right .btn-pill { display: none; }

  .scene { display: flex; flex-direction: column; height: auto; min-height: 0; padding: 78px 0 46px; }
  .wall { position: absolute; }
  .booth { position: relative; left: 0; top: 0; translate: none; height: 60svh; min-height: 430px; max-height: 560px; margin: 64px auto 0; }
  .curtain-side, .rail, .wall-prop { display: none; }
  .wall-title { left: 50%; right: auto; top: 30%; transform: translate(-50%, -50%); font-size: 19vw; }
  .wall-num { top: 10%; right: 5%; font-size: 24vw; }
  .tagcard { left: 10px; right: auto; top: 92px; bottom: auto; transform: none; width: 168px; }
  .tagcard-inner { padding: 10px 12px; gap: 3px; }
  .tagcard-kicker { font-size: 9.5px; }
  .tagcard-title { font-size: 17px; }
  .tagcard-formula { font-size: 10.5px; }
  .dial { right: -3%; bottom: 20%; width: 88px; height: 88px; }
  .dial-knob { inset: 12px; }
  .dial-label { font-size: 7px; }
  .dial-tick i { display: none; }
  .pips-row { bottom: -15%; }
  .hero-copy { position: relative; left: 0; top: 0; transform: none; margin-top: 92px; padding: 0 24px; text-align: center; max-width: none; }
  .hero-cta { justify-content: center; }
  .pitch { margin-inline: auto; }
}
@media (max-width: 420px) {
  .booth { height: 56svh; min-height: 400px; }
  .board { grid-template-columns: 1fr; justify-items: center; }
  .board-eq { transform: rotate(90deg); }
  .board-card { width: 168px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
}
