/* ============================================================
   CHASE.JE — private archive boutique
   Dark / brutal / editorial mockup
   ============================================================ */

/* Google Fonts (Archivo + JetBrains Mono) are loaded via <link> in index.html
   <head> with preconnect — this avoids the render-blocking @import. */

@font-face {
  font-family: 'Benzin';
  src: url('fonts/Benzin-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('fonts/Benzin-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('fonts/Benzin-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('fonts/Benzin-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('fonts/Benzin-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('fonts/Benzin-ExtraBold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* color — warm "quiet luxury" near-black + off-white, with a restrained
     champagne-bronze metallic used ONLY on small accent details. */
  --bg: #0a0908;              /* warm near-black (not pure #000) */
  --fg: #f3f0ea;             /* warm off-white (not pure #fff) */
  --fg-2: rgba(243, 240, 234, 0.66);
  --fg-3: rgba(243, 240, 234, 0.42);
  --line: rgba(243, 240, 234, 0.14);
  --line-strong: rgba(243, 240, 234, 0.22);
  --gold: #b89a6a;            /* champagne-bronze accent */
  --gold-bright: #cdb487;
  --accent: var(--gold);      /* metallic accent (marquee stars, etc.) */
  --accent-soft: rgba(184, 154, 106, 0.55);

  /* type */
  --display: 'Benzin', 'Arial Narrow', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;  /* editorial pull-quotes */
  --track: 0;                 /* Benzin carries the display width itself */
  --type-scale: 1;            /* multiplied into clamp ceilings */

  /* rhythm */
  --density: 1;               /* section padding multiplier */
  --grain: 0.30;              /* noise overlay opacity */

  --maxw: 1500px;
  --gutter: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--fg); color: #000; }

/* keyboard focus visibility (a11y) — only for keyboard users, not mouse clicks */
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.gcell:focus-visible,
.indexrow:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* editorial line-breaking: balance short heading lines, prettify paragraphs */
h1, h2, h3, .display, .split__big, .pull, .hero__lede, .hero__tag, .ctablock__txt {
  text-wrap: balance;
}
p, .archive-intro p, .gallery-copy, .ctablock__sub {
  text-wrap: pretty;
}

/* ---------- image placeholders ----------
   Each photo lives in a .ph wrapper that shows a brand placeholder (its
   data-label) until the <img> loads, then fades the photo in over it.
   A missing file simply keeps the placeholder — so the site looks
   intentional while images are still being generated and added. */
.ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d 0%, #050505 55%, #101010 100%);
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 18px; box-sizing: border-box; text-align: center;
  font-family: var(--body);
  font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--fg-3);
  z-index: 0;
}
.ph__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
}
.ph__img.is-loaded { opacity: 1; }
.ph--hero { background: radial-gradient(130% 90% at 50% 30%, #161616 0%, #070707 55%, #000 100%); }
.ph--hero::after { content: none; }
.ph--contain { background: transparent; }
.ph--contain::after { color: var(--fg-2); }
.ph--contain .ph__img { object-fit: contain; }

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  animation: grainShift 0.6s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-3%, 2%); }
  100% { transform: translate(2%, -2%); }
}

/* subtle top + bottom vignette to deepen the black */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 60%, rgba(0,0,0,0.55) 100%),
    radial-gradient(120% 80% at 50% 100%, transparent 55%, rgba(0,0,0,0.7) 100%);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;       /* stays legible over any image */
}
.nav__logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0;
  color: var(--fg);
  cursor: pointer;
}
.nav__logo .dot { color: var(--gold); opacity: 1; }
.nav__links {
  display: flex;
  gap: clamp(18px, 2vw, 34px);
}
.nav__links a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding: 4px 0;
  transition: opacity 0.35s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active::after { background: var(--gold); }
.nav__links a.is-active { font-weight: 600; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  background: none; border: 0; padding: 0;
}
.nav__burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--fg);
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile fullscreen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 4900;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 11vw, 64px);
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.08;
  padding: 6px 0;
  color: var(--fg-3);
  transition: color 0.3s ease, transform 0.5s cubic-bezier(.16,1,.3,1);
  opacity: 0;
  transform: translateY(24px);
}
.menu.is-open a { opacity: 1; transform: translateY(0); }
.menu a:hover, .menu a.is-active { color: var(--fg); }
.menu__foot {
  position: absolute;
  bottom: var(--gutter); left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
}

/* ============================================================
   PAGE / ROUTING
   ============================================================ */
.page { display: none; position: relative; z-index: 2; }
.page.is-active { display: block; opacity: 1; }

/* ---------- scroll reveal ----------
   Content is visible by default (see .reveal in CSS). The hide→reveal
   animation is gated behind html.anim, which site.js only keeps if the
   animation clock actually advances — so frozen/offscreen iframes (where
   transitions & rAF pause) still show everything. */
.reveal { opacity: 1; transform: none; }
html.anim .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim .reveal.d1 { transition-delay: 0.08s; }
html.anim .reveal.d2 { transition-delay: 0.16s; }
html.anim .reveal.d3 { transition-delay: 0.24s; }
html.anim .reveal.d4 { transition-delay: 0.32s; }

/* ============================================================
   SHARED LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.section {
  padding: calc(120px * var(--density)) 0;
}

.section--visual {
  position: relative;
  overflow: hidden;
  min-height: min(760px, 92svh);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.section--visual::before,
.section--visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.section--visual::before {
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.02);
}
.section--visual::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.48) 48%, rgba(0,0,0,0.78) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.9) 100%);
}
.section--visual .wrap {
  position: relative;
  z-index: 1;
}
.section--visual .eyebrow,
.section--visual .indexrow__meta {
  color: var(--fg-3);
}
.section--visual .indexrow__num {
  color: var(--accent);
}
.section--visual .split__big {
  color: rgba(243,240,234,0.9);
  text-shadow: 0 18px 48px rgba(0,0,0,0.55);
}
.section--visual .split__body p {
  color: rgba(255,255,255,0.64);
  text-shadow: 0 10px 32px rgba(0,0,0,0.65);
}
.section--visual .indexrow__title {
  color: rgba(255,255,255,0.36);
}
.section--visual .indexrow:hover .indexrow__title {
  color: rgba(255,255,255,0.92);
}
.section--story::before {
  background-image: url('images/boutique-gpt-20260603-4.jpg');
  background-position: center 46%;
}
.section--archive {
  padding-top: calc(90px * var(--density));
}
.section--archive::before {
  background-image: url('images/boutique-gpt-20260603-2.jpg');
  background-position: center 56%;
}
.section--archive::after {
  background:
    radial-gradient(75% 70% at 72% 35%, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.48) 50%, rgba(0,0,0,0.82) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.22) 44%, rgba(0,0,0,0.9) 100%);
}

.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px; background: var(--accent-soft);
  display: inline-block;
}

/* massive display heading */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track);
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.display--xl   { font-size: clamp(42px,  9vw, calc(150px * var(--type-scale))); font-weight: 900; }
.display--page { font-size: clamp(48px,  10vw, calc(150px * var(--type-scale))); }
.display--md   { font-size: clamp(34px, 5.5vw, calc(78px  * var(--type-scale))); }

/* page header band shared by interior pages */
.pagehead {
  padding: calc(150px * var(--density)) 0 calc(54px * var(--density));
  border-bottom: 1px solid var(--line);
}
.pagehead .display--page { margin-top: 22px; }
.pagehead__meta {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3);
}

/* ---------- buttons ---------- */
.btn {
  --pad: 18px 40px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  padding: var(--pad);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.5s cubic-bezier(.16,1,.3,1), border-color 0.5s ease;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(.16,1,.3,1);
}
.btn:hover { color: #000; border-color: var(--fg); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.5s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn:disabled {
  cursor: wait;
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.22);
}
.btn:disabled::before {
  transform: translateY(101%);
}

/* ============================================================
   HOME / HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.75) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding: 0 var(--gutter);
  max-width: 1100px;
}
/* faint warm champagne glow behind the hero headline */
.hero__inner::before {
  content: '';
  position: absolute;
  left: 50%; top: 38%;
  width: 130%; height: 130%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(184,154,106,0.12), rgba(184,154,106,0) 72%);
  pointer-events: none;
  z-index: -1;
}
.hero__inner .display--xl { margin-bottom: 30px; }
.hero__lede {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}
.hero__access {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.44);
}
.hero__access p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.hero__access span::after {
  content: ' — ';
  color: rgba(255, 255, 255, 0.5);
}
.hero__access strong {
  color: var(--fg);
  font-weight: 600;
}
.hero__tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--fg);
  margin: 34px 0 48px;
}
.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--fg-3);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 46px;
  background: linear-gradient(var(--fg-3), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.34);
  position: relative;
  isolation: isolate;
}
.lang-switch::before {
  content: '';
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc(50% - 3px);
  background: rgba(255,255,255,0.92);
  z-index: -1;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}
.lang-switch.is-ru::before {
  transform: translateX(100%);
}
.lang-switch__btn {
  min-width: 58px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.58);
  cursor: pointer;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.lang-switch__btn.is-active {
  color: #000;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); }
  50%     { opacity: 1; transform: scaleY(1); }
}

/* marquee strip */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  overflow: clip;
  contain: paint;
  max-width: 100vw;
  padding: 26px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--fg-3);
}
.marquee span .star {
  color: var(--accent);
  display: inline-block;
  font-family: var(--mono);
  margin: 0 clamp(24px, 4vw, 60px);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* split intro under hero */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}
.split__big { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.12; font-family: var(--display); font-weight: 600; letter-spacing: 0; text-transform: uppercase; margin: 0; }
.split__body p { color: rgba(255,255,255,0.72); font-size: 16px; max-width: 460px; }
.split__body p + p { margin-top: 22px; }

/* index list (home featured links to collections) */
.indexlist { border-top: 1px solid var(--line); }
.indexrow {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(22px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: padding-left 0.5s cubic-bezier(.16,1,.3,1);
}
.indexrow:hover { padding-left: 24px; }
.indexrow__num { font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.indexrow__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 6vw, 76px);
  text-transform: uppercase; letter-spacing: 0; line-height: 1;
  color: var(--fg-3);
  transition: color 0.4s ease;
}
.indexrow:hover .indexrow__title { color: #fff; }
.indexrow__meta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); text-align: right; }

/* ============================================================
   CONCEPT — editorial manifesto
   ============================================================ */
.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 620px) 1fr;
  gap: 0;
  padding: calc(120px * var(--density)) 0;
}
.manifesto__bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.16;
  filter: grayscale(1) contrast(1.1);
}
.manifesto__col {
  grid-column: 2;
  position: relative; z-index: 1;
}
.manifesto__col p {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.65;
  color: var(--fg);
  letter-spacing: 0.005em;
  margin: 0 0 1.6em;
  font-weight: 400;
  max-width: 60ch;
  hanging-punctuation: first last;
}
.manifesto__col p.muted { color: var(--fg-2); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; }

/* editorial pull-quote: high-contrast Didone italic against the Benzin grotesque */
.manifesto__col .pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin: 0.3em 0 0.7em;
}
/* closing pull-quote set off by a hairline rule */
.manifesto__col .pull:last-child {
  border-top: 1px solid var(--line);
  padding-top: 0.7em;
  margin-top: 0.4em;
}

/* drop cap on the lead paragraph */
.manifesto__lead::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 3.3em;
  line-height: 0.78;
  float: left;
  padding: 0.06em 0.12em 0 0;
  color: var(--gold);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallerynote {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 16px;
  padding: 40px 0 50px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3);
}
.archive-intro {
  max-width: 720px;
  margin: -18px auto clamp(34px, 4vw, 58px);
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-family: var(--body);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.archive-intro p { margin: 0; }
.archive-intro__short { display: none; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 16px);
}
/* editorial asymmetric archive grid: a feature row of two, then a row of three */
.archive-page .gallery {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.gcell {
  position: relative;
  overflow: hidden;
  background: #080808;
  cursor: pointer;
  aspect-ratio: 3 / 4;
}
.gcell--tall { aspect-ratio: 3 / 4; }
.gcell--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.archive-page .gcell,
.archive-page .gcell--wide {
  grid-column: span 2;          /* row of three */
  aspect-ratio: 4 / 5;
}
.archive-page .gcell:nth-child(1),
.archive-page .gcell:nth-child(2) {
  grid-column: span 3;          /* feature row of two */
}
.gcell:hover .ph__img.is-loaded { transform: scale(1.05); }

/* duotone treatment: archive/boutique thumbnails are monochrome, regaining
   colour on hover (and full colour in the lightbox) — unifies the imagery */
.gcell .ph__img {
  filter: grayscale(0.92) contrast(1.05) brightness(0.97);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1), filter 0.7s ease;
}
.gcell:hover .ph__img { filter: grayscale(0) contrast(1.02) brightness(1); }
.gcell__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.65) 100%);
  opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.gcell:hover .gcell__scrim { opacity: 1; }
.gcell__label {
  position: absolute; z-index: 3;
  left: 18px; bottom: 16px;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.gcell:hover .gcell__label { opacity: 1; transform: none; }
.gcell__idx {
  position: absolute; z-index: 3;
  right: 16px; top: 14px;
  font-size: 10px; letter-spacing: 0.1em; color: var(--accent);
}
.gallery-copy {
  max-width: 640px;
  margin: clamp(42px, 5vw, 70px) auto 0;
  text-align: center;
  color: rgba(255,255,255,0.66);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* contact CTA block under galleries */
.ctablock {
  border-top: 1px solid var(--line);
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: clamp(50px, 6vw, 90px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.ctablock__txt { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.18; letter-spacing: 0; max-width: 18ch; }
.ctablock__sub { font-family: var(--body); font-weight: 400; text-transform: none; font-size: 14px; letter-spacing: 0.02em; color: var(--fg-2); margin-top: 14px; max-width: 42ch; line-height: 1.7; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 80px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  backdrop-filter: blur(4px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  position: relative;
  max-width: 1000px; width: 100%;
  height: 80vh;
  transform: scale(0.97);
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  z-index: 8100;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--fg-2); cursor: pointer;
  font-family: var(--display); font-size: 13px; letter-spacing: 0; text-transform: uppercase;
  padding: 20px; transition: color 0.3s ease;
}
.lightbox__nav:hover { color: #fff; }
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.2em; color: var(--accent); }

/* ============================================================
   BOUTIQUE
   ============================================================ */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1vw, 16px);
  margin-top: clamp(50px, 6vw, 90px);
}
.boutique-grid .gcell:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.boutique-grid .gcell:nth-child(2) { grid-column: span 5; aspect-ratio: 4/5; }
.boutique-grid .gcell:nth-child(3) { grid-column: span 5; aspect-ratio: 4/5; }
.boutique-grid .gcell:nth-child(4) { grid-column: span 7; aspect-ratio: 16/10; }
.boutique-grid .gcell:nth-child(5),
.boutique-grid .gcell:nth-child(6) { grid-column: span 12; aspect-ratio: 21/8; }
.boutique-grid .gcell:nth-child(6) .ph__img { object-position: center 64%; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  padding: calc(60px * var(--density)) 0 calc(120px * var(--density));
}
.contact__intro p { color: var(--fg-2); font-size: 16px; line-height: 1.8; max-width: 44ch; margin: 0 0 1.4em; }
.contact__loc {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0; font-size: clamp(15px, 1.6vw, 19px);
  color: var(--fg) !important; margin: 40px 0 0 !important;
}

/* contact CTA — direct channels (Telegram / Instagram) */
.contact__cta { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.contactbtn {
  display: flex; align-items: center; gap: 22px;
  border: 1px solid var(--line-strong);
  padding: 26px 30px;
  position: relative; overflow: hidden;
  color: #fff;
  transition: color 0.5s cubic-bezier(.16,1,.3,1), border-color 0.5s ease;
}
.contactbtn::before {
  content: ''; position: absolute; inset: 0; background: #fff;
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(.16,1,.3,1);
}
.contactbtn > * { position: relative; z-index: 1; }
.contactbtn__k {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg-3); min-width: 92px; transition: color 0.5s ease;
}
.contactbtn__v {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0; flex: 1;
}
.contactbtn__arrow { font-size: 18px; transition: transform 0.5s ease; }
.contactbtn:hover { color: #000; border-color: #fff; }
.contactbtn:hover::before { transform: translateY(0); }
.contactbtn:hover .contactbtn__k { color: rgba(0, 0, 0, 0.55); }
.contactbtn:hover .contactbtn__arrow { transform: translateX(6px); }
.contact__hint { font-size: 11.5px; letter-spacing: 0.08em; color: var(--fg-3); line-height: 1.75; margin: 8px 0 0; }

.access-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}
.field {
  display: grid;
  gap: 12px;
}
.field--wide {
  grid-column: 1 / -1;
}
.field span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.025);
  color: #fff;
  border-radius: 0;
  padding: 18px 18px;
  font: 500 15px/1.45 var(--body);
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.field textarea {
  resize: vertical;
  min-height: 138px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(184,154,106,0.06);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: rgba(255,255,255,0.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.access-form__submit {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 62px;
}
.access-form__guard {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.access-form__status {
  grid-column: 1 / -1;
  max-width: 56ch;
}
.access-form__status.is-error {
  color: rgba(255,255,255,0.74);
}
.access-form__status.is-success {
  color: var(--gold-bright);
}
.contact__privacy {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--fg-3);
  max-width: 56ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(50px, 6vw, 80px) 0 40px;
}
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px;
}
.footer__note { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(18px, 2.2vw, 30px); line-height: 1.22; letter-spacing: 0; max-width: 22ch; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 20px;
  font-weight: 600;
}
.footer__col a,
.footer__col p {
  display: block;
  font-family: var(--mono);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 13px;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(.16,1,.3,1);
}
.footer__col a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3);
}
.footer__word {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(60px, 18vw, 280px); line-height: 0.8; letter-spacing: 0;
  color: #0e0e0e;
  text-align: center;
  padding: 30px 0 0;
  user-select: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .manifesto { grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter); }
  .manifesto__col { grid-column: 1; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .boutique-grid .gcell { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}
@media (max-width: 640px) {
  :root {
    --gutter: clamp(24px, 6.2vw, 34px);
    --grain: 0.18;
  }

  .vignette {
    background:
      radial-gradient(110% 60% at 50% 12%, transparent 54%, rgba(0,0,0,0.48) 100%),
      radial-gradient(95% 60% at 50% 92%, transparent 48%, rgba(0,0,0,0.82) 100%);
  }

  .nav {
    height: 98px;
    align-items: flex-start;
    padding: 42px var(--gutter) 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    background: #000;
    mix-blend-mode: normal;
  }

  .nav__logo {
    font-size: clamp(15px, 4.1vw, 19px);
    line-height: 1;
    color: rgba(255,255,255,0.93);
  }

  .nav__logo .dot { opacity: 1; }

  .nav__burger {
    width: 32px;
    gap: 5px;
    padding-top: 0;
  }

  .nav__burger span {
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,0.9);
  }

  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    padding-top: 140px;
    justify-content: flex-start;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
    justify-content: flex-start;
    padding-top: clamp(250px, 33svh, 330px);
  }

  .hero__media {
    top: 98px;
    bottom: 0;
    transform: none !important;
  }

  .hero__media .ph {
    background: #000;
  }

  .hero__media .ph__img {
    width: 124%;
    left: -12%;
    object-fit: cover;
    object-position: 50% 54%;
    filter: grayscale(1) contrast(1.12) brightness(0.52);
    opacity: 0;
  }

  .hero__media .ph__img.is-loaded {
    opacity: 0.34;
  }

  .hero__scrim {
    background:
      linear-gradient(180deg, #000 0%, #000 14%, rgba(0,0,0,0.94) 29%, rgba(0,0,0,0.5) 54%, rgba(0,0,0,0.98) 100%),
      radial-gradient(82% 38% at 50% 62%, rgba(255,255,255,0.08), transparent 62%);
  }

  .hero__inner {
    width: 100%;
    max-width: none;
    padding: 0 var(--gutter);
  }

  .display--xl {
    font-size: clamp(42px, 11.1vw, 60px);
    line-height: 0.94;
  }

  .pagehead .display--page {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 0.98;
  }

  .hero__inner .display--xl {
    margin-bottom: 21px;
    white-space: nowrap;
  }

  .hero__lede {
    font-family: var(--display);
    font-size: clamp(11px, 2.9vw, 15px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.52em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.36);
    max-width: 37ch;
    padding-left: 0.52em;
  }

  .hero__access {
    gap: 17px;
    margin: clamp(76px, 11svh, 92px) 0 0;
  }

  .hero__access p {
    font-size: clamp(14px, 3.85vw, 20px);
    line-height: 1.45;
    letter-spacing: 0.065em;
    color: rgba(255,255,255,0.28);
  }

  .hero__access span::after {
    color: rgba(255,255,255,0.42);
  }

  .hero__access strong {
    font-weight: 600;
    color: rgba(255,255,255,0.92);
  }

  .hero__tag {
    margin: clamp(48px, 6.4svh, 66px) auto clamp(42px, 5.8svh, 60px);
    font-size: clamp(11px, 2.8vw, 15px);
    line-height: 1.6;
    letter-spacing: 0.54em;
    font-weight: 400;
    color: rgba(255,255,255,0.28);
    padding-left: 0.54em;
  }

  .hero__btn {
    --pad: 18px 22px;
    width: clamp(270px, 68vw, 455px);
    min-height: 58px;
    justify-content: center;
    border-color: rgba(255,255,255,0.36);
    font-family: var(--display);
    font-size: clamp(11px, 3.2vw, 16px);
    font-weight: 700;
    letter-spacing: 0.42em;
    padding-left: 22px;
    white-space: nowrap;
  }

  .hero__btn span:first-child {
    padding-left: 0.42em;
  }

  .hero__btn .arrow {
    display: none;
  }

  .lang-switch {
    margin-top: 16px;
  }

  .lang-switch__btn {
    min-width: 54px;
    min-height: 32px;
    font-size: 9.5px;
    letter-spacing: 0.2em;
  }

  .hero__scroll {
    display: none;
  }

  .marquee {
    padding: 18px 0;
  }

  /* mobile: tighten desktop-scale vertical rhythm so content blocks
     don't float inside large empty voids between sections */
  .section { padding-top: 66px; padding-bottom: 66px; }
  .manifesto { padding-top: 74px; padding-bottom: 74px; }
  .pagehead { padding-top: 128px; padding-bottom: 40px; }
  .footer { padding-top: 40px; }
  .footer__top { padding-bottom: 44px; }

  .section--archive .wrap {
    width: 100%;
    max-width: none;
  }

  .section--archive .indexlist {
    width: 100%;
  }

  .section--archive .indexrow {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
  }

  .section--archive .indexrow:hover {
    padding-left: 0;
  }

  .section--archive .indexrow__title {
    justify-self: start;
    text-align: left;
    font-size: clamp(26px, 9.3vw, 40px);
  }

  .page[data-page="contact"] .wrap {
    width: 100%;
    max-width: none;
  }

  .page[data-page="contact"] .pagehead {
    padding-bottom: 36px;
  }

  .page[data-page="contact"] .contact {
    width: 100%;
    min-width: 0;
    gap: 32px;
    padding: 42px 0 86px;
  }

  .contact__intro,
  .contact__cta {
    width: 100%;
    min-width: 0;
  }

  .contact__intro p {
    max-width: none;
    font-size: 17px;
    line-height: 1.72;
    color: rgba(255,255,255,0.68);
    margin-bottom: 22px;
    text-wrap: pretty;
  }

  .contact__loc {
    max-width: 15ch;
    margin-top: 34px !important;
    font-size: clamp(22px, 6.1vw, 27px);
    line-height: 1.18;
    color: rgba(255,255,255,0.94) !important;
  }

  .contact__cta {
    gap: 12px;
  }

  .contactbtn {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label arrow"
      "value arrow";
    align-items: center;
    gap: 8px 16px;
    width: 100%;
    min-width: 0;
    padding: 22px 18px;
  }

  .contactbtn__k {
    grid-area: label;
    min-width: 0;
    font-size: 11px;
    letter-spacing: 0.32em;
    color: rgba(255,255,255,0.38);
  }

  .contactbtn__v {
    grid-area: value;
    min-width: 0;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .contactbtn__arrow {
    grid-area: arrow;
    justify-self: end;
    color: rgba(255,255,255,0.72);
  }

  .contact__hint {
    max-width: 30ch;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.42);
    margin-top: 18px;
  }

  .ctablock {
    margin-top: 54px;
    padding-top: 42px;
    gap: 28px;
  }

  .ctablock__txt {
    max-width: 14ch;
    font-size: clamp(21px, 5.8vw, 27px);
  }

  .ctablock__sub {
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.62);
  }

  .ctablock .btn {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    padding: 18px 22px;
    font-size: 11px;
    letter-spacing: 0.34em;
  }

  .archive-page .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .archive-intro {
    max-width: 30ch;
    margin: -18px auto 30px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
  }

  .archive-intro__full { display: none; }
  .archive-intro__short { display: block; }

  .archive-page .gcell {
    grid-column: auto !important;   /* reset desktop spans for the 2-col mobile grid */
    aspect-ratio: 4 / 5;
  }

  .gallery-copy {
    margin-top: 34px;
    max-width: 28ch;
    font-size: 15px;
    line-height: 1.7;
  }

  .access-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field--wide,
  .access-form__submit,
  .access-form__status {
    grid-column: auto;
  }

  .field input,
  .field textarea {
    min-height: 58px;
    padding: 16px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 132px;
  }

  .access-form__submit {
    width: 100%;
    min-height: 60px;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0.28em;
  }

  .access-form__status {
    max-width: 30ch;
  }

  .lightbox {
    padding: 72px 20px 78px;
  }

  .lightbox__stage {
    height: calc(100svh - 170px);
  }

  .lightbox__close {
    top: 28px;
    right: 24px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 24px;
    transform: none;
    padding: 0;
  }

  .lightbox__nav--prev {
    left: 24px;
  }

  .lightbox__nav--next {
    right: 24px;
  }

  .lightbox__count {
    bottom: 23px;
  }

  .footer {
    padding-top: 44px;
  }

  .footer__top {
    gap: 42px;
  }

  .footer__col h4 {
    font-size: 13px;
    margin-bottom: 22px;
    color: rgba(255,255,255,0.42);
  }

  .footer__col a,
  .footer__col p {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.68);
  }

  .footer__bottom {
    font-size: 11px;
    line-height: 1.6;
  }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gcell--wide { grid-column: span 2; }
  /* a lone trailing card (odd item count) would sit half-width with an
     empty gap beside it — let it span the full row to close the grid evenly */
  .gallery .gcell:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;   /* beats .archive-page .gcell reset above */
    width: calc(50% - 5px);           /* same size as a single column (gap is 10px) */
    justify-self: center;             /* center the lone trailing card instead of orphaning it left */
  }

  /* touch devices have no :hover — reveal the card label + scrim that are
     otherwise hover-gated, so products aren't unlabeled dark tiles on mobile */
  .gcell__label { opacity: 1; transform: none; }
  .gcell__scrim { opacity: 0.85; }
  .indexrow { grid-template-columns: 40px 1fr; }
  .section--archive .wrap {
    width: 100%;
    max-width: none;
  }
  .section--archive .indexlist {
    width: 100%;
  }
  .section--archive .indexrow {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
  }
  .section--archive .indexrow:hover {
    padding-left: 0;
  }
  .section--archive .indexrow__title {
    justify-self: start;
    text-align: left;
  }
  .indexrow__meta { display: none; }
  .ctablock { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ============================================================
   CINEMATIC MOTION (Package №4)
   intro overlay · section transitions · ken-burns
   Reduced-motion users get static UI: the @media block below neutralises
   these animations, and site.js removes the overlay when reduce is set.
   ============================================================ */

/* first-load intro overlay — hidden until JS opts in (no-JS = no overlay, so
   content is never trapped behind it) */
.intro {
  position: fixed; inset: 0; z-index: 9000;
  display: none;
  align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.7, 0, .3, 1);
}
.intro.is-playing { display: flex; }
.intro.is-done { opacity: 0; transform: scale(1.05); pointer-events: none; }
.intro__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 9vw, 132px);
  letter-spacing: -0.01em;
  color: var(--fg);
  opacity: 0;
  animation: introWord 1.4s cubic-bezier(.16, 1, .3, 1) forwards;
}
.intro .dot { color: var(--gold); }
@keyframes introWord {
  0%   { opacity: 0; transform: translateY(14px); letter-spacing: 0.24em; }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: -0.01em; }
}

/* section entrance — only when the animation clock is confirmed (html.anim) */
@keyframes pageIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
html.anim .page.is-active {
  animation: pageIn 0.7s cubic-bezier(.16, 1, .3, 1) both;
}

/* slow ken-burns drift on the hero photo — uses `scale` (independent of the
   parallax transform applied to .hero__media) */
@keyframes kenburns {
  from { scale: 1; }
  to   { scale: 1.12; }
}
html.anim .ph--hero .ph__img {
  animation: kenburns 26s ease-in-out infinite alternate;
}

/* lightbox: snappier image crossfade + gold control hover */
.lightbox .ph__img {
  transition: opacity 0.45s ease, transform 0.8s cubic-bezier(.16, 1, .3, 1);
}
.lightbox__nav:hover, .lightbox__close:hover { color: var(--gold); }

/* ---------- reduced motion ----------
   Honour the OS "reduce motion" preference: neutralise looping/decorative
   animation (marquee, grain) and collapse transitions. JS additionally skips
   the scroll-reveal and hero parallax when this preference is set. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none !important; transform: none !important; }
  .grain { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
