/* 99 Cameras Museum — homepage redesign
   Palette: gallery white, warm paper, darkroom ink, Harcourt carpet red. */

:root {
  --white: #ffffff;
  --paper: #f4f1ec;
  --paper-deep: #e9e4dc;
  --ink: #100f0e;
  --ink-soft: #1b1917;
  --text: #1d1b19;
  --text-muted: #6d675f;
  --on-dark: #efeae2;
  --on-dark-muted: #a39c92;
  --line: rgba(16, 15, 14, 0.14);
  --line-dark: rgba(239, 234, 226, 0.16);
  --red: #b3171f;
  --red-bright: #e0353d;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(84px, 11vw, 176px);
  --max: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.2rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
/* Main titles never break inside a word; main.js sizes them to fit on three lines at most. */
h1.display { overflow-wrap: normal; word-break: normal; hyphens: manual; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; font-weight: 400; }

.h2 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 5.2rem); }
.h3 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.08; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 clamp(18px, 2.4vw, 32px);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--red); flex: none; }
.dark .eyebrow { color: var(--on-dark-muted); }
.dark .eyebrow::before { background: var(--red-bright); }

.lede { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem); line-height: 1.42; font-weight: 300; }
.muted { color: var(--text-muted); }
.dark .muted { color: var(--on-dark-muted); }

.prose { max-width: 34em; }
.prose a { border-bottom: 1px solid var(--red); transition: color 0.2s; }
.prose a:hover { color: var(--red); }

/* ---------- Links & buttons ---------- */

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: gap 0.35s var(--ease), color 0.25s;
}
.arrow-link::after { content: "→"; font-size: 1.15em; letter-spacing: 0; transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--red); }
.dark .arrow-link:hover { color: var(--red-bright); }
.arrow-link:hover::after { transform: translateX(6px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.links-row { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: clamp(28px, 3.4vw, 48px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
}
/* The frosted bar lives on a pseudo-element: a backdrop-filter on the header
   itself would trap the fixed full-screen mobile menu inside the header box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity 0.4s;
}
.site-header.is-stuck::before { opacity: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; flex: none; position: relative; z-index: 120; }
/* The official wordmark ships white-on-transparent; invert it for light surfaces. */
.brand img { height: 40px; width: auto; filter: invert(1); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav > li { position: relative; }
.nav a, .nav button {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 0; display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.nav a:hover, .nav button:hover { color: var(--red); }
.nav .caret { width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); transition: transform 0.25s; }
.nav [aria-expanded="true"] .caret { transform: translateY(2px) rotate(225deg); }

.submenu {
  position: absolute; right: -24px; top: calc(100% + 10px); min-width: 300px;
  background: var(--white); padding: 14px 24px; box-shadow: 0 24px 60px rgba(16, 15, 14, 0.16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); letter-spacing: 0.12em; }
.submenu li:last-child a { border-bottom: 0; }

.lang { display: flex; gap: 2px; margin-left: 6px; padding-left: clamp(14px, 1.8vw, 28px); border-left: 1px solid var(--line); }
.lang a { padding: 10px 6px; color: var(--text-muted); }
.lang a[aria-current] { color: var(--ink); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  background: var(--white);
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--header-h);
}
.hero__main {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center; min-height: 0;
}
.hero__copy { padding: clamp(24px, 4vw, 64px) 0; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero__kicker { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); margin-bottom: clamp(20px, 2.6vw, 36px); }
.hero h1 { font-size: clamp(3.3rem, 1rem + 7.4vw, 9rem); line-height: 0.9; letter-spacing: -0.025em; }
.hero h1 .num { color: var(--red); font-style: normal; }
.hero__lede { margin-top: clamp(22px, 2.8vw, 40px); max-width: 23em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.2vw, 44px); }

.hero__media { position: relative; align-self: stretch; min-height: 320px; overflow: hidden; }
/* The film is shot on pure white, so it is centred rather than cropped to the
   panel: the camera floats on the page with no visible frame. The source is
   1680px wide, so it is capped near native size to stay sharp on 2x screens. */
.hero__media video {
  position: absolute; left: 50%; top: 50%; width: min(125%, 1000px); max-width: none; height: auto;
  aspect-ratio: 21 / 9; transform: translate(-50%, -50%);
}

.hero__facts { border-top: 1px solid var(--line); }
.hero__facts ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__facts li { padding: 20px 0 22px; padding-right: 24px; }
.hero__facts li + li { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.fact-label { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.fact-value { font-family: var(--display); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); line-height: 1.25; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.white { background: var(--white); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: 48px; align-items: start; }
.split > .col-head { grid-column: 1 / span 5; }
.split > .col-body { grid-column: 7 / span 6; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

/* Intro collage */
.intro { padding-top: clamp(72px, 9vw, 140px); }
.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; }
.collage figure { margin: 0; position: absolute; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(16, 15, 14, 0.45); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { left: 0; top: 0; width: 54%; aspect-ratio: 3 / 4; }
.collage .c2 { right: 0; top: 14%; width: 40%; aspect-ratio: 3 / 4; }
.collage .c3 { left: 22%; bottom: 0; width: 44%; aspect-ratio: 1 / 1.1; border: 8px solid var(--paper); box-shadow: none; }

/* ---------- Drifting strips ---------- */

.strip { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; }
.strip.is-dragging a { pointer-events: none; }
.strip__track { display: flex; width: max-content; gap: clamp(18px, 2.4vw, 40px); padding-inline: var(--gutter); }

.wall { padding-block: clamp(64px, 8vw, 120px); }
.wall__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.wall__head p { max-width: 26em; margin: 0; }

/* Celebrity prints: hung like frames on a dark wall, alternating height. */
.print { flex: none; width: clamp(230px, 24vw, 360px); display: block; transition: transform 0.6s var(--ease); }
.print:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.print img { width: 100%; box-shadow: 0 28px 50px -22px rgba(0, 0, 0, 0.9); }
.print:hover { transform: translateY(-8px); }
.wall .strip__track { padding-bottom: 40px; }

/* Camera specimens: white studio backgrounds dissolve into the page. */
.specimens { background: var(--white); padding-block: clamp(40px, 5vw, 80px); border-block: 1px solid var(--line); }
.specimen { flex: none; width: clamp(200px, 20vw, 300px); display: block; text-align: center; }
.specimen img { width: 100%; mix-blend-mode: multiply; transition: transform 0.7s var(--ease); }
.specimen:hover img { transform: scale(1.06); }
.specimen span { display: block; margin-top: 4px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); transition: color 0.2s; }
.specimen:hover span { color: var(--red); }

/* ---------- Devices ---------- */

.pull {
  font-family: var(--display); font-style: italic;
  font-size: clamp(2rem, 1.1rem + 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.015em;
  margin: clamp(36px, 4.5vw, 64px) 0 0; color: var(--red);
}

.section--additions { padding-top: clamp(64px, 8vw, 120px); }
.additions__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.additions__list { columns: 3; column-gap: clamp(28px, 4vw, 64px); }
.additions__list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.additions__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; transition: color 0.2s, padding 0.35s var(--ease); }
.additions__list a:hover { color: var(--red); padding-left: 10px; }
.additions__list .name { font-family: var(--display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); line-height: 1.2; }
.additions__list .year { font-size: 0.8rem; font-weight: 400; letter-spacing: 0.14em; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.vitrines { columns: 4; column-gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(64px, 8vw, 120px); }
.vitrines a, .vitrines span { display: block; margin-bottom: clamp(12px, 1.4vw, 22px); overflow: hidden; break-inside: avoid; background: var(--paper-deep); }
.vitrines img { width: 100%; transition: transform 0.9s var(--ease), filter 0.5s; }
.vitrines a:hover img { transform: scale(1.05); }

/* ---------- Story ---------- */

.story__quote { font-size: clamp(2.2rem, 1.1rem + 4.4vw, 5rem); max-width: 15em; }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; margin-top: clamp(48px, 6vw, 96px); }

.film { margin: 0; }
.film__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film__frame img, .film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film__frame img { transition: transform 1.2s var(--ease), opacity 0.4s; opacity: 0.86; }
.film__frame:hover img { transform: scale(1.03); opacity: 1; }
.play {
  position: absolute; left: 50%; top: 50%; width: clamp(68px, 7vw, 96px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(255, 255, 255, 0.94); display: grid; place-items: center;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); }
.film__frame:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--white); }
.film figcaption { margin-top: 16px; font-size: 0.9rem; color: var(--on-dark-muted); }
.film figcaption a { border-bottom: 1px solid var(--line-dark); }
.film figcaption a:hover { color: var(--on-dark); }

/* ---------- Discover ---------- */

.discover-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--ink); }
.discover-title .h2 { font-size: clamp(3rem, 1rem + 9vw, 9.5rem); line-height: 0.86; }

.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: 36px; align-items: center; padding-block: clamp(56px, 7vw, 112px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature__text { grid-column: 1 / span 5; }
.feature__media { grid-column: 7 / span 6; }
.feature--flip .feature__text { grid-column: 8 / span 5; order: 2; }
.feature--flip .feature__media { grid-column: 1 / span 6; order: 1; }
.feature__media a, .feature__media > span { display: block; overflow: hidden; }
.feature__media img { width: 100%; transition: transform 1.1s var(--ease); }
.feature__media a:hover img { transform: scale(1.03); }
.feature .h3 { margin-bottom: 22px; }

.tac-logo { width: clamp(200px, 22vw, 320px); margin-bottom: 28px; }
.feature--wide .feature__media { grid-column: 1 / -1; order: 2; }
.feature--wide .feature__text { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: 24px; }
.feature--wide .feature__intro { grid-column: 1 / span 5; }
.feature--wide .feature__body { grid-column: 7 / span 6; }

.tall { max-height: 760px; }
.tall img { height: 100%; max-height: 760px; object-fit: cover; }

/* Shangti */
.shangti__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: 28px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.shangti__head > div:first-child { grid-column: 1 / span 6; }
.shangti__head > div:last-child { grid-column: 8 / span 5; }
.shangti__hero { display: block; overflow: hidden; }
.shangti__hero img { width: 100%; transition: transform 1.4s var(--ease); }
.shangti__hero:hover img { transform: scale(1.02); }
.shangti__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); margin-top: clamp(8px, 1vw, 16px); }
.shangti__grid a { display: block; overflow: hidden; aspect-ratio: 3 / 4; }
.shangti__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shangti__grid a:hover img { transform: scale(1.06); }

/* Creators */
.creators { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); margin-top: clamp(40px, 5vw, 72px); }
.creator { display: block; }
.creator__img { overflow: hidden; aspect-ratio: 1; background: var(--paper-deep); }
.creator img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 0.9s var(--ease); }
.creator:hover img { transform: scale(1.05); }
.creator span { display: block; margin-top: 14px; font-family: var(--display); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); line-height: 1.2; }

/* ---------- Visit ---------- */

.visit__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.visit__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.visit__photo img { width: 100%; }
.cologo { mix-blend-mode: multiply; width: min(100%, 420px); margin-bottom: clamp(28px, 3.4vw, 48px); }

.info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); }
.info > div { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.info h3 { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.info .big { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.2; margin-bottom: 8px; }
.info p { margin-bottom: 0.4em; }
.info small { display: block; font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.info a { border-bottom: 1px solid var(--red); }
.info .email { font-size: clamp(1.05rem, 0.9rem + 0.55vw, 1.4rem); overflow-wrap: anywhere; }
.info a:hover { color: var(--red); }
.notice { margin-top: 14px; padding: 12px 16px; border-left: 2px solid var(--red); background: var(--paper); font-size: 0.92rem; line-height: 1.5; }

.audio { display: flex; gap: 20px; align-items: center; }
.audio img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; flex: none; }

.map { margin-top: clamp(40px, 5vw, 80px); position: relative; width: 100%; aspect-ratio: 21 / 8; min-height: 320px; background: var(--paper-deep); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Reviews ---------- */

.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stars { color: #f2b84b; letter-spacing: 0.18em; font-size: 1.1rem; }
.rating a { display: inline-flex; align-items: center; gap: 12px; }
.rating a img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rev-nav { display: flex; gap: 10px; }
.rev-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); font-size: 1.1rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.rev-nav button:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.reviews__rail { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.reviews__rail::-webkit-scrollbar { display: none; }
.review { flex: none; width: min(84vw, 460px); scroll-snap-align: start; margin: 0; padding: clamp(24px, 2.6vw, 40px); border: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.review blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem); line-height: 1.38; }
.review figcaption { display: flex; align-items: center; gap: 14px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-family: var(--display); font-size: 1rem; letter-spacing: 0; color: var(--on-dark); flex: none; }
.review .stars { font-size: 0.8rem; margin-left: auto; }

/* ---------- Footer ---------- */

.footer { background: #000; color: var(--on-dark); padding-top: clamp(72px, 9vw, 140px); font-size: 0.98rem; }
.footer h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 22px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--red-bright); }

.club { text-align: center; padding-bottom: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line-dark); }
.club .h3 { margin-bottom: clamp(24px, 3vw, 44px); }
.club img { margin-inline: auto; width: min(100%, 1024px); }

.footer__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 104px); padding-block: clamp(56px, 7vw, 104px); }
.press { columns: 2; column-gap: clamp(24px, 3vw, 48px); }
.press li { break-inside: avoid; border-bottom: 1px solid var(--line-dark); }
.press a { display: block; padding: 12px 0; line-height: 1.4; }
.press b { display: block; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 2px; }
.press a:hover b { color: inherit; }

.footer__side > div + div { margin-top: clamp(40px, 5vw, 64px); }
.brochure { display: flex; gap: 24px; align-items: center; }
.brochure img { width: 96px; flex: none; }
.brochure p { margin-bottom: 10px; font-family: var(--display); font-size: 1.4rem; line-height: 1.2; }
.brochure a { border-bottom: 1px solid var(--line-dark); margin-right: 16px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.friends li { padding: 9px 0; border-bottom: 1px solid var(--line-dark); }
.friends small { color: var(--on-dark-muted); }

.browse { border-top: 1px solid var(--line-dark); }
.browse details { border-bottom: 1px solid var(--line-dark); }
.browse summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.browse summary::-webkit-details-marker { display: none; }
.browse summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; letter-spacing: 0; transition: transform 0.3s var(--ease); }
.browse details[open] summary::after { transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 30px; }
.chips a { padding: 6px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.86rem; }
.chips a:hover { border-color: var(--red-bright); }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding-block: 36px 44px; font-size: 0.84rem; color: var(--on-dark-muted); }
.footer__bottom img { height: 34px; width: auto; }
.social { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); }
.footer__bottom p { margin: 0; }
.footer__legal { flex-basis: 100%; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer__legal a { border-bottom: 1px solid var(--line-dark); }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav-panel {
    position: fixed; inset: 0; z-index: 110; background: var(--white);
    height: 100dvh; padding: calc(var(--header-h) + 16px) var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .menu-open .nav-panel { opacity: 1; visibility: visible; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.7rem; font-weight: 400; letter-spacing: -0.01em; text-transform: none; }
  .submenu { position: static; min-width: 0; box-shadow: none; padding: 0 0 0 16px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open .submenu { display: block; }
  .lang { margin: 24px 0 0; padding: 0; border: 0; }
  .nav > li.lang { display: flex; gap: 8px; }
  .nav > li.lang > a { font-size: 0.9rem; border: 0; width: auto; font-family: var(--sans); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 14px 10px 0; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__main { grid-template-columns: 1fr; }
  /* The film sits above the title. Its height is given outright (three quarters of
     the screen width): older phones ignore aspect-ratio and would show nothing. */
  .hero__media { order: -1; height: 75vw; max-height: 70vh; aspect-ratio: auto; min-height: 220px; }
  .hero__copy { padding: 8px var(--gutter) 48px; margin: 0; max-width: none; }
  .hero__facts ul { grid-template-columns: 1fr; }
  .hero__facts li { padding: 16px 0; }
  .hero__facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .split > .col-head, .split > .col-body { grid-column: 1 / -1; }
  .sticky { position: static; }
  .collage { margin-inline: auto; width: 100%; }
  .additions__list { columns: 2; }
  .vitrines { columns: 3; }
  .story__grid, .visit__top, .footer__grid { grid-template-columns: 1fr; }
  .visit__photo { position: static; }
  .feature__text, .feature__media,
  .feature--flip .feature__text, .feature--flip .feature__media,
  .feature--wide .feature__intro, .feature--wide .feature__body,
  .shangti__head > div:first-child, .shangti__head > div:last-child { grid-column: 1 / -1; }
  .feature--flip .feature__text { order: 1; }
  .feature--flip .feature__media { order: 2; }
  .shangti__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand img { height: 32px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .additions__list, .press { columns: 1; }
  .vitrines { columns: 2; }
  .creators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info { grid-template-columns: 1fr; }
  .print:nth-child(even) { margin-top: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-basis: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
