/* ============================================================================
   Zoya — Synthetic Couture Creator
   Ported from the Claude Design source. Colour values, type scale, spacing and
   breakpoints are carried over unchanged; the only additions are the classes
   the interactive pieces need (spin viewer, hotspots, form states).
   ========================================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-t); }
::selection { background: oklch(0.56 0.2 22 / 0.5); color: #fff; }
img { display: block; max-width: 100%; }

/* ---------- theme tokens ---------- */
[data-theme="dark"] {
  --bg:#1c050a; --bg-alt:#180409; --bg-body:#22060b;
  --text:#f1e7d8; --text-s:rgba(241,231,216,0.8); --text-m:rgba(241,231,216,0.58);
  --line:rgba(241,231,216,0.14); --line-2:rgba(241,231,216,0.28);
  --accent-t:oklch(0.7 0.2 24);
  --glass:oklch(0.35 0.12 22 / 0.28);
  --input:rgba(255,255,255,0.06); --input-line:rgba(241,231,216,0.4);
  --nav-scrim:rgba(20,4,8,0.55);
  --vignette:rgba(10,1,4,0.72); --overlay:rgba(12,2,5,0.35);
  --spot1:oklch(0.5 0.19 22 / 0.55); --spot2:oklch(0.4 0.16 22 / 0.18);
}
[data-theme="light"] {
  --bg:#faf3e9; --bg-alt:#f2e6d6; --bg-body:#fdf8f0;
  --text:#2a070e; --text-s:rgba(42,7,14,0.78); --text-m:rgba(42,7,14,0.52);
  --line:rgba(42,7,14,0.14); --line-2:rgba(42,7,14,0.24);
  --accent-t:oklch(0.5 0.21 24);
  --glass:rgba(255,255,255,0.55);
  --input:rgba(42,7,14,0.05); --input-line:rgba(42,7,14,0.3);
  --nav-scrim:rgba(255,247,238,0.7);
  --vignette:rgba(90,17,32,0.12); --overlay:rgba(255,252,246,0.2);
  --spot1:oklch(0.65 0.19 22 / 0.22); --spot2:oklch(0.62 0.16 22 / 0.08);
}

@keyframes zoyaPulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.6 0.2 22 / 0.6); }
  70%  { box-shadow: 0 0 0 14px oklch(0.6 0.2 22 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.6 0.2 22 / 0); }
}

/* ---------- shared type ---------- */
.h-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}
.script { font-family: 'Pinyon Script', cursive; font-size: clamp(34px,4vw,52px); color: var(--accent-t); line-height: 0.9; margin-bottom: 4px; }
.kicker { font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent-t); margin-bottom: 18px; }

.btn { display: inline-block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; }
.btn--solid { padding: 15px 34px; background: oklch(0.56 0.2 22); color: #fff; border: none; }
.btn--solid:hover { background: oklch(0.5 0.2 22); color: #fff; }
.btn--line { color: var(--text); border-bottom: 1px solid oklch(0.64 0.2 22); padding-bottom: 4px; }

/* reveal-on-scroll (js/main.js adds .is-in) */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-in {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1), transform 0.9s cubic-bezier(0.2,0.7,0.2,1);
}

/* ---------- chrome ---------- */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, oklch(0.56 0.2 22), var(--accent-t));
  transition: width 0.08s linear; pointer-events: none;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px,5vw,64px);
  background: linear-gradient(180deg, var(--nav-scrim), transparent);
}
.nav__logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; letter-spacing: 0.32em; padding-left: 0.32em; }
.nav__right { display: flex; align-items: center; gap: clamp(14px,3vw,28px); }
.nav__links { display: flex; gap: clamp(14px,3vw,40px); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav__theme {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 62px; padding: 8px 14px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); border-radius: 100px; cursor: pointer;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-family: inherit;
}
.nav__theme:hover { border-color: var(--accent-t); color: var(--accent-t); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 clamp(20px,5vw,64px);
  overflow: hidden; background: var(--bg);
}
.hero__spot { position: absolute; inset: 0; z-index: 1; background: radial-gradient(42% 62% at 50% 42%, var(--spot1), var(--spot2) 46%, transparent 72%); }
.hero__pool { position: absolute; inset: 0; z-index: 1; background: radial-gradient(26% 14% at 50% 92%, oklch(0.55 0.18 24 / 0.35), transparent 70%); }
.hero__vignette { position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 120% at 50% 50%, transparent 36%, var(--vignette) 100%); }

.hero__word {
  position: absolute; z-index: 2; pointer-events: none;
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(40px,7vw,120px); line-height: 0.84; color: var(--text);
  text-shadow: 0 6px 50px rgba(0,0,0,0.55);
}
.hero__word--l { left: clamp(12px,3vw,64px); top: 31%; }
.hero__word--r { right: clamp(12px,3vw,64px); top: 45%; text-align: right; font-style: italic; color: var(--accent-t); text-shadow: 0 6px 50px rgba(0,0,0,0.5); }

.hero__eyebrow { position: absolute; top: 96px; left: clamp(20px,5vw,64px); z-index: 4; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--text-s); }

.hero__left { position: absolute; left: clamp(20px,5vw,64px); bottom: clamp(36px,7vh,72px); z-index: 4; display: flex; flex-direction: column; gap: 18px; }
.hero__left p { max-width: 280px; font-size: 14px; line-height: 1.7; color: var(--text-s); }
.hero__cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.hero__right { position: absolute; right: clamp(20px,5vw,64px); bottom: clamp(36px,7vh,72px); z-index: 4; text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.readout { display: flex; align-items: center; gap: 10px; }
.readout__track { width: 64px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.readout__fill { height: 100%; width: 0; background: oklch(0.64 0.2 22); }
.readout__deg,
.readout__hint { font-family: ui-monospace,'SF Mono',Menlo,monospace; font-size: 10px; letter-spacing: 0.1em; }
.readout__deg { color: var(--text-s); }
.readout__hint { color: var(--text-m); }

/* ---------- 360° viewer ---------- */
.viewer {
  position: relative; z-index: 3;
  width: clamp(260px,30vw,420px); height: min(82vh,820px);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.viewer__floor {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 160%; height: 80px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 100%, rgba(6,1,3,0.6), transparent 72%);
}
/* The stage carries the zoom transform; the marker layer above it is left
   untransformed so hotspot dots keep a constant size (see js/hotspots.js). */
.viewer__stage {
  position: absolute; inset: 0; z-index: 2;
  transform-origin: 50% 50%;
  cursor: grab;
}
.viewer__stage.is-dragging { cursor: grabbing; }
.viewer__frame {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
  pointer-events: none; -webkit-user-drag: none;
}
.viewer.is-loading .viewer__frame { opacity: 0.55; }

.viewer__loader {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: opacity 0.4s ease; pointer-events: none;
}
.viewer__loader.is-done { opacity: 0; }
.viewer__loader-track { width: 120px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.viewer__loader-track span { display: block; height: 100%; width: 0; background: oklch(0.64 0.2 22); transition: width 0.2s linear; }
.viewer__loader-text { font-family: ui-monospace,'SF Mono',Menlo,monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-m); }

/* ---------- hotspots ---------- */
.hotspots { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.hotspot {
  position: absolute; top: 0; left: 0;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border: none; padding: 0; border-radius: 50%;
  background: oklch(0.64 0.2 22); cursor: pointer;
  opacity: 0; pointer-events: none;
  animation: zoyaPulse 2.4s infinite;
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.hotspot.is-visible { pointer-events: auto; }
.hotspot:hover { transform: scale(1.25); }
.hotspot.is-active { transform: scale(1.3); animation: none; box-shadow: 0 0 0 6px oklch(0.6 0.2 22 / 0.28); }
@media (prefers-reduced-motion: reduce) { .hotspot { animation: none; } }

.hotspot-card {
  position: absolute; top: 0; left: 0; z-index: 7; display: none;
  width: max-content; max-width: 220px; padding: 12px 16px; border-radius: 10px;
  background: rgba(30,4,10,0.9); backdrop-filter: blur(8px);
  border: 1px solid oklch(0.6 0.18 22 / 0.5);
  transform: translate(-50%,-118%); pointer-events: none;
}
.hotspot-card.is-open { display: block; }
.hotspot-card__tag { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: oklch(0.75 0.19 24); margin-bottom: 5px; }
.hotspot-card__text { font-size: 13px; line-height: 1.5; color: #f1e7d8; }
/* Reaction media slot — empty until a hotspot config supplies image/video. */
.hotspot-card__media { margin-top: 10px; border-radius: 6px; overflow: hidden; }
.hotspot-card__media:empty { display: none; }
.hotspot-card__media img,
.hotspot-card__media video { width: 100%; display: block; }

/* ---------- about ---------- */
.about { max-width: 1200px; margin: 0 auto; padding: clamp(80px,12vw,150px) clamp(20px,5vw,64px); }
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px,6vw,80px); align-items: center; }
.about__title { font-size: clamp(40px,6vw,84px); line-height: 0.92; }
.about__p { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--text-s); max-width: 520px; }
.about__p:first-of-type { margin-top: 26px; }
.about__portrait { position: relative; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

.measure { display: inline-flex; align-items: baseline; gap: 16px; margin-top: 30px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 4px; }
.measure__label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-m); }
.measure__v { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--accent-t); letter-spacing: 0.04em; }

.chips { margin-top: clamp(40px,7vw,72px); display: flex; gap: 12px; flex-wrap: wrap; }
.chips__label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-m); align-self: center; margin-right: 8px; }
.chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; letter-spacing: 0.06em; }

/* ---------- section heads ---------- */
.section-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }
.section-head .h-display { font-size: clamp(34px,4.5vw,56px); }
.section-head__meta { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-m); }

/* ---------- work gallery ---------- */
.work { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(40px,7vw,80px) clamp(20px,5vw,64px); }
.work__watermark {
  position: absolute; top: clamp(10px,4vw,40px); left: clamp(20px,5vw,64px); z-index: 0;
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(90px,20vw,300px); line-height: 0.8;
  color: oklch(0.4 0.12 22 / 0.35);
  pointer-events: none; user-select: none; will-change: transform;
}

.gallery { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tile { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; cursor: pointer; border: 1px solid var(--line); }
.tile__media { position: absolute; inset: 0; transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1); background-size: cover; background-position: center; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile__media { transform: scale(1.08); }
.tile__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,2,5,0.72)); pointer-events: none; }
.tile__meta { position: absolute; left: 16px; bottom: 14px; z-index: 2; pointer-events: none; }
.tile__title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: #f1e7d8; }
.tile__kind { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: oklch(0.75 0.19 24); margin-top: 2px; }

/* ---------- reels ---------- */
.reels { max-width: 1280px; margin: 0 auto; padding: clamp(70px,10vw,130px) clamp(20px,5vw,64px); }
.reel-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.reel {
  position: relative; aspect-ratio: 9/16; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.reel:hover { transform: translateY(-6px); }
.reel__media { position: absolute; inset: 0; }
.reel__media img { width: 100%; height: 100%; object-fit: cover; }
.reel__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,1,4,0.8)); pointer-events: none; }
.reel__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%; background: oklch(0.56 0.2 22 / 0.85);
  display: flex; align-items: center; justify-content: center;
}
.play-tri { width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.reel__meta { position: absolute; left: 14px; bottom: 14px; z-index: 2; }
.reel__title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: #f1e7d8; }
.reel__sub { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241,231,216,0.8); margin-top: 2px; }

/* ---------- contact ---------- */
.contact { position: relative; padding: clamp(80px,12vw,150px) clamp(20px,5vw,64px); overflow: hidden; background: var(--bg); }
.contact__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 80% at 30% 40%, oklch(0.5 0.18 22 / 0.5), transparent 70%); }
.contact__scrim { position: absolute; inset: 0; z-index: 1; background: var(--overlay); }
.contact__grid { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(30px,5vw,64px); align-items: center; }

.card {
  border-radius: 20px; padding: clamp(28px,4vw,52px);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(10,1,4,0.6), inset 0 1px 0 rgba(255,255,255,0.14);
}
.card__title { font-size: clamp(30px,4.5vw,50px); line-height: 1.02; }
.card__title em { font-style: italic; color: var(--accent-t); }

.contact__portrait { justify-self: center; width: min(320px,80%); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -25px rgba(10,1,4,0.7); }
.contact__portrait img { width: 100%; height: 100%; object-fit: cover; }

.form { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-s); }
.field input,
.field textarea {
  background: var(--input); border: none; border-bottom: 1px solid var(--input-line);
  padding: 11px 4px; font-size: 15px; color: var(--text); outline: none; font-family: inherit;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent-t); }
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: oklch(0.6 0.2 22); }

.form__submit { grid-column: 1 / -1; justify-self: start; margin-top: 6px; padding: 15px 40px; }
.form__submit[disabled] { opacity: 0.55; cursor: progress; }
.form__status { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; color: var(--text-s); min-height: 1em; }
.form__status.is-error { color: oklch(0.72 0.19 24); }

.thanks { margin-top: 28px; padding: 22px; border-radius: 12px; background: oklch(0.4 0.14 22 / 0.35); border: 1px solid var(--line-2); }
.thanks__title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; }
.thanks__text { font-size: 14px; color: var(--text-s); margin-top: 6px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(40px,7vw,72px) clamp(20px,5vw,64px) 40px; }
.footer__top { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.footer__logo { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; letter-spacing: 0.3em; padding-left: 0.3em; }
.footer__tag { font-family: 'Pinyon Script', cursive; font-size: 26px; color: var(--accent-t); margin-top: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px clamp(24px,4vw,54px); }
.footer__links a { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.footer__legal { max-width: 1200px; margin: 48px auto 0; font-size: 11px; letter-spacing: 0.06em; color: var(--text-m); }

/* ---------- lightbox ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px,4vw,48px);
  background: rgba(8,1,4,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.modal[hidden] { display: none; }
.modal__btn {
  position: absolute; border-radius: 50%; border: 1px solid rgba(241,231,216,0.3);
  background: rgba(20,4,8,0.5); color: #f1e7d8; line-height: 1; cursor: pointer; z-index: 2;
}
.modal__btn:hover { background: rgba(40,8,16,0.8); }
.modal__close { top: 22px; right: 24px; width: 44px; height: 44px; font-size: 20px; }
.modal__prev,
.modal__next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 22px; }
.modal__prev { left: clamp(10px,3vw,34px); }
.modal__next { right: clamp(10px,3vw,34px); }
.modal__inner { display: flex; gap: clamp(20px,4vw,48px); align-items: center; width: min(1000px,92vw); flex-wrap: wrap; justify-content: center; }
.modal__media { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.7); flex: 0 0 auto; }
.modal__media img,
.modal__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal__body { flex: 1 1 260px; min-width: 220px; max-width: 420px; color: #f1e7d8; }
.modal__kind { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: oklch(0.74 0.2 24); margin-bottom: 14px; }
.modal__title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(32px,4.5vw,52px); line-height: 1.02; }
.modal__desc { margin-top: 18px; font-size: 15px; line-height: 1.75; color: rgba(241,231,216,0.82); }
.modal__count { margin-top: 26px; font-family: ui-monospace,'SF Mono',Menlo,monospace; font-size: 11px; letter-spacing: 0.1em; color: rgba(241,231,216,0.5); }
.modal__note { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241,231,216,0.72); padding: 0 12px; }

/* ============================ responsive ============================ */
@media (max-width: 900px) {
  .hero__right { display: none; }
  .hero__left { max-width: 55%; }
}
@media (max-width: 860px) {
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .reel-grid { grid-template-columns: 1fr 1fr; }
  .hero__word { font-size: 12vw; opacity: 0.55; }
  /* Portrait first on the narrow contact layout reads better than a lone circle. */
  .contact__portrait { grid-row: 1; }
}
@media (max-width: 680px) {
  .nav { padding: 16px 20px; }
  .nav__logo { font-size: 20px; letter-spacing: 0.22em; padding-left: 0.22em; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 10px; letter-spacing: 0.14em; }
  .hero__left { max-width: none; right: clamp(20px,5vw,64px); }
  .hero__left p { max-width: none; font-size: 13px; }

  /* The figure is the whole hero on a phone, so centre it and shorten it
     rather than letting it run under the nav and the copy beneath it. */
  .hero { align-items: center; }
  .viewer { width: min(80vw,340px); height: 56vh; }
  .hero__left { bottom: 26px; gap: 14px; }
  /* No room beside the figure on a phone, so stack the display words into a
     lockup above her rather than leaving them half-hidden behind the gown. */
  .hero__eyebrow { top: 74px; }
  .hero__word--l { top: 12.5%; }
  .hero__word--r { top: 20.5%; bottom: auto; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: 1fr 1fr; }
  .nav__hide { display: none; }
  .nav__right { gap: 12px; }
  .nav__links { gap: 13px; }
  .nav__theme { min-width: 0; padding: 7px 11px; letter-spacing: 0.14em; }
  .hero__word { font-size: 13vw; opacity: 0.3; }
  .hero__eyebrow { font-size: 9px; letter-spacing: 0.28em; }
  .modal__prev, .modal__next { width: 40px; height: 40px; }
  .modal__close { top: 14px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .tile__media, .reel { transition: none; }
}
