/* Rocha Floraison - demo by Optimism
   Palette and type are derived from the client's own brand:
   gold medallion monogram, ivory leather boxes, navy VIP leather, Didone wordmark. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/BodoniModa-normal-400-900-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/BodoniModa-italic-400-900-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/Zodiak-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/Zodiak-VariableItalic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Thai";
  src: url("assets/fonts/NotoSerifThai-normal-400-700-thai.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}
@font-face {
  font-family: "IBM Plex Sans Thai Looped";
  src: url("assets/fonts/IBMPlexSansThaiLooped-normal-400-thai.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}
@font-face {
  font-family: "IBM Plex Sans Thai Looped";
  src: url("assets/fonts/IBMPlexSansThaiLooped-normal-500-thai.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}

:root {
  --ivory: #f6f3ec;
  --card: #fcfaf5;
  --ink: #17140f;
  --ink-2: #4a4438;
  --muted: #756c5b;
  --hairline: #e0d9c9;
  --gold: #9a7b3f;
  --gold-deep: #7e6330;
  --gold-bright: #c3a465;
  --navy: #1b2130;
  --navy-2: #232b3e;
  --on-navy: #cbd0dc;
  --on-navy-muted: #9aa2b4;
  --line-green: #06c755;
  --display: "Zodiak", "Noto Serif Thai", "Bodoni Moda", serif;
  --body: "Switzer", "IBM Plex Sans Thai Looped", -apple-system, "Helvetica Neue", sans-serif;
  --radius: 3px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 62ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Bilingual toggle: both languages live in the DOM, CSS shows one. */
[data-lang="en"] .th { display: none !important; }
[data-lang="th"] .en { display: none !important; }
:root[data-lang="th"] body { line-height: 1.75; }

img { max-width: 100%; display: block; height: auto; }

::selection { background: var(--gold-bright); color: var(--ink); }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--ivory);
  padding: 0.6rem 1rem; text-decoration: none;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: var(--ivory); }

/* Grain */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: 68px;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }

.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
}
.monogram {
  width: 36px; height: 36px; flex: none;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600; font-size: 0.92rem; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.12em;
  white-space: nowrap;
  padding-right: 0.12em; /* optical centring of the RR pair */
}
.monogram .flip { display: inline-block; transform: scaleX(-1); }
.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* balance tracking */
}
.wordmark small {
  display: block;
  font-family: var(--body);
  font-size: 0.5rem;
  letter-spacing: 0.52em;
  color: var(--muted);
  margin-top: 0.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after { transition: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
}

.nav-right { display: flex; align-items: center; gap: 1.1rem; }

.lang-toggle { display: flex; align-items: center; gap: 0.35rem; }
.lang-toggle button {
  font: inherit; font-size: 0.8rem;
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 0.25rem 0.15rem;
  border-bottom: 1px solid transparent;
}
.lang-toggle button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.lang-toggle span { color: var(--hairline); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 500; font-size: 0.95rem;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-line { background: var(--line-green); color: #06301a; }
.btn-line:hover { background: #05b34c; color: #06301a; }
.btn-line svg { width: 19px; height: 19px; fill: #06301a; flex: none; }

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

/* Subtle LINE button: white plate, ink outline, brand-green glyph only */
.btn-line-quiet { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line-quiet:hover { background: var(--ink); color: var(--ivory); }
.btn-line-quiet svg { width: 19px; height: 19px; fill: var(--line-green); flex: none; }

.btn-gold { border-color: var(--gold-bright); color: var(--gold-bright); background: transparent; }
.btn-gold:hover { background: var(--gold-bright); color: var(--navy); }

.nav .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vh, 4rem) var(--pad) clamp(3rem, 7vh, 5rem);
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px); /* stable when the mobile URL bar moves */
  max-width: 1520px;
  margin: 0 auto;
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 480;
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  max-width: 15ch;
  text-wrap: balance;
  font-optical-sizing: auto;
}
:root[data-lang="th"] .hero-copy h1 { line-height: 1.25; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
  padding-bottom: 0.08em; /* descender reserve for italic g */
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 46ch;
}
.hero-ctas { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-figure { position: relative; margin-top: 2.5rem; }
.hero-figure figure {
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: clamp(0.6rem, 1.2vw, 1rem);
}
.hero-figure img {
  width: 100%;
  height: clamp(440px, 74vh, 780px);
  object-fit: cover;
}
.hero-figure figcaption {
  padding-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-medal {
  position: absolute; top: -22px; left: -22px;
  width: 64px; height: 64px;
  background: var(--navy);
  border: 1px solid var(--gold-bright);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600;
  font-size: 1.3rem; letter-spacing: -0.12em;
  color: var(--gold-bright);
  white-space: nowrap;
  padding-right: 0.1em;
  z-index: 2;
}
.hero-medal .flip { display: inline-block; transform: scaleX(-1); }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0; transform: translateY(18px);
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-figure figure { clip-path: inset(0 0 100% 0); animation: unveil 1.1s 0.15s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
  .hero-figure img { transform: scale(1.06); animation: settle 2.2s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-medal { opacity: 0; animation: fade 0.6s 1s ease forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0% 0); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Press quote ---------- */
.press {
  border-top: 1px solid var(--hairline);
  padding: clamp(4rem, 9vh, 7rem) var(--pad);
}
.press-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.press-line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.55rem, 3.1vw, 2.5rem);
  line-height: 1.3;
  color: var(--ink);
}
:root[data-lang="th"] .press-line { line-height: 1.5; font-style: normal; }
.press-credit {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.press-credit img { width: 30px; height: 30px; flex: none; }
@media (max-width: 640px) and (orientation: portrait) {
  .press-credit { flex-direction: column; gap: 0.9rem; }
  .press-credit img { order: 2; width: 34px; height: 34px; }
  .press-credit cite { order: 1; text-align: center; max-width: 34ch; }
}
.press cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Film (scroll-locked atelier sequence) ---------- */
.film { background: var(--ivory); }

/* Static fallback: shown for no-JS, reduced motion and screenshots */
.film-static {
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--pad);
}
.film-static img {
  width: 100%;
  border: 1px solid var(--hairline);
  background: var(--card);
  padding: clamp(0.6rem, 1.2vw, 1rem);
}
.film-static figcaption { padding-top: 0.8rem; font-size: 0.82rem; color: var(--muted); }
.film-stage { display: none; }

/* Armed by film.js once frames can load */
.film-armed { height: 620vh; position: relative; }
.film-armed .film-static { display: none; }

.film-armed .film-stage {
  display: block;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh; /* stable when the mobile URL bar moves */
  overflow: hidden;
}
@media (max-width: 900px) {
  .film-armed { height: 430vh; }
}
.film-stage .film-poster,
.film-stage canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  background: var(--ivory);
}
@media (orientation: portrait) {
  .film-stage .film-poster { object-fit: contain; }
}
.film-stage canvas { z-index: 1; }

.film-beat {
  position: absolute;
  z-index: 2; /* copy must sit above the canvas layers, explicitly */
  left: clamp(1.25rem, 6vw, 6rem);
  bottom: clamp(3.5rem, 12vh, 8rem);
  margin: 0;
  opacity: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  padding: 0.55em 0.9em;
  max-width: 16ch;
}
:root[data-lang="th"] .film-beat { line-height: 1.4; }
.film-beat-final {
  left: 50%;
  transform: translateX(-50%);
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 18ch;
  font-style: italic;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
}

/* ---------- Atelier ---------- */
.atelier {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 6.5rem) var(--pad);
  max-width: 1520px;
  margin: 0 auto;
}
.atelier figure {
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: clamp(0.6rem, 1.2vw, 1rem);
  transform: rotate(-0.8deg);
}
.atelier img { aspect-ratio: 1; object-fit: cover; }
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 1.4rem;
}
:root[data-lang="th"] h2 { line-height: 1.35; }
.atelier p { color: var(--ink-2); max-width: var(--measure); }
.atelier p + p { margin-top: 1rem; }

/* ---------- Collections ---------- */
.collections {
  border-top: 1px solid var(--hairline);
  padding: clamp(3rem, 8vh, 6.5rem) var(--pad);
  max-width: 1520px;
  margin: 0 auto;
}
.collections-head { max-width: var(--measure); margin-bottom: clamp(2rem, 5vh, 4rem); }
.collections-head p { color: var(--ink-2); }

.collections-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.c-list { list-style: none; }
.c-row { border-top: 1px solid var(--hairline); }
.c-list .c-row:last-child { border-bottom: 1px solid var(--hairline); }
.c-link {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.4rem 1.4rem;
  align-items: baseline;
  padding: 1.35rem 0.25rem;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.25s ease;
}
.c-link:hover, .c-link:focus-visible { background: var(--card); color: var(--ink); }
.c-num {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-deep);
  font-feature-settings: "onum" 1;
}
.c-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}
:root[data-lang="th"] .c-name { line-height: 1.4; }
.c-desc {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}
.c-thumb { display: none; }

.c-rail {
  position: sticky;
  top: calc(68px + 2rem);
}
.c-rail-frame {
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: clamp(0.6rem, 1.2vw, 1rem);
  position: relative;
  aspect-ratio: 4 / 4.6;
}
.c-rail-frame img {
  position: absolute; inset: clamp(0.6rem, 1.2vw, 1rem);
  width: calc(100% - 2 * clamp(0.6rem, 1.2vw, 1rem));
  height: calc(100% - 2 * clamp(0.6rem, 1.2vw, 1rem));
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.c-rail-frame img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .c-rail-frame img { transition: none; }
}
.c-rail figcaption {
  padding-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 2em;
}

/* ---------- Bespoke (navy panel) ---------- */
.bespoke {
  background: var(--navy);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
}
.bespoke-inner {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 10vh, 7.5rem) var(--pad);
  max-width: 1520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bespoke h2 { color: #f2ede2; }
.bespoke p { max-width: var(--measure); }
.bespoke p + p { margin-top: 1rem; }
.bespoke strong { color: #f2ede2; font-weight: 500; }

.bespoke-watermark {
  position: absolute; z-index: 0;
  right: -4vw; bottom: -18vw;
  font-family: var(--display);
  font-weight: 600;
  font-size: 42vw;
  line-height: 1;
  letter-spacing: -0.12em;
  color: var(--gold-bright);
  opacity: 0.045;
  user-select: none;
  pointer-events: none;
}
.bespoke-watermark .flip { display: inline-block; transform: scaleX(-1); }

.plaque {
  display: inline-block;
  margin: 1.8rem 0 0;
  padding: 1.5px;
  background: linear-gradient(140deg, #8a6d35, #e0c489 45%, #8a6d35);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}
.plaque-in {
  display: block;
  padding: 1.35rem 2.6rem;
  background: linear-gradient(160deg, var(--navy-2), #1e2534);
  clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px);
  text-align: center;
}
.plaque-in .plaque-script {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-bright);
}
.plaque-in .plaque-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--on-navy-muted);
  margin-top: 0.35rem;
}

.bespoke figure {
  border: 1px solid color-mix(in srgb, var(--gold-bright) 45%, transparent);
  padding: clamp(0.6rem, 1.2vw, 1rem);
}
.bespoke img { aspect-ratio: 4/5; object-fit: cover; }
.bespoke figcaption { padding-top: 0.7rem; font-size: 0.82rem; color: var(--on-navy-muted); }
.bespoke .btn { margin-top: 2.2rem; }
@media (max-width: 640px) {
  .bespoke .btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- Visit ---------- */
.visit {
  padding: clamp(4rem, 9vh, 7rem) var(--pad);
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.visit h2 { margin-bottom: 1rem; }
.visit-block p { color: var(--ink-2); }
.visit-block .ph { color: var(--muted); }
.visit dl { margin-top: 1.6rem; }
.visit dt {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 1.2rem;
}
.visit dd { font-size: 1.05rem; }
.visit dd a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
.visit dd a:hover { border-bottom-color: var(--ink); }
.visit .btn-line { margin-top: 1.6rem; }
.socials { margin-top: 1.4rem; display: flex; gap: 1.4rem; font-size: 0.95rem; }

.map-frame {
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: clamp(0.6rem, 1.2vw, 1rem);
}
.map-frame img { aspect-ratio: 1/1.05; object-fit: cover; }
.map-frame figcaption { padding-top: 0.7rem; font-size: 0.82rem; color: var(--muted); }

.nbr { white-space: nowrap; }

/* Placeholder convention: visibly unconfirmed */
.ph { background: #f0e9d8; padding: 0 0.3em; border-radius: 2px; }

/* Dev screenshot mode: ?shot=<id> shows only that section, reveals forced on */
html[data-shot] main > section { display: none; }
html[data-shot] .reveal { opacity: 1 !important; transform: none !important; }
html[data-shot] .grain { display: none; }
html[data-shot="hero"] #hero { display: grid; }
html[data-shot="press"] #press { display: block; }
html[data-shot="film"] #film { display: block; }
html[data-shot="atelier"] #atelier { display: grid; }
html[data-shot="collections"] #collections { display: block; }
html[data-shot="bespoke"] #bespoke { display: block; }
html[data-shot="visit"] #visit { display: grid; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: 2.6rem var(--pad);
  font-size: 0.88rem;
}
.foot-inner {
  max-width: 1520px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  align-items: center; justify-content: space-between;
}
.foot-mark {
  font-family: var(--display);
  letter-spacing: 0.34em; text-indent: 0.34em;
  color: #f2ede2; font-size: 0.95rem;
}
footer a { color: var(--on-navy); }
footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1.5rem; }
  .hero-figure { margin-top: 0.5rem; }
  .hero-figure img { height: clamp(340px, 52vh, 560px); }
  .hero-medal { top: -16px; left: -8px; width: 52px; height: 52px; font-size: 1.2rem; }
  .atelier { grid-template-columns: 1fr; }
  .atelier figure { order: 2; max-width: 480px; }
  .collections-grid { grid-template-columns: 1fr; }
  .c-rail { display: none; }
  .c-thumb {
    display: block;
    grid-column: 2;
    margin-top: 0.9rem;
    width: min(280px, 60vw);
    aspect-ratio: 4/3.4;
    object-fit: cover;
    border: 1px solid var(--hairline);
    background: var(--card);
    padding: 4px;
  }
  .bespoke-inner { grid-template-columns: 1fr; }
  .bespoke figure { max-width: 480px; }
  .visit { grid-template-columns: 1fr; }
}

/* Mobile rhythm: tighter vertical spacing across all sections.
   Also: no backdrop blur and no grain on mobile, both are scroll-jank
   sources (per-frame repaints / whole-page blend compositing). */
@media (max-width: 900px) {
  .nav { background: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .grain { display: none; }
  .hero { padding-bottom: 2.5rem; gap: 1.5rem; }
  .press { padding: 3rem var(--pad); }
  .film-static { padding: 2.5rem var(--pad); }
  .atelier { padding: 2.75rem var(--pad); gap: 2rem; }
  .collections { padding: 2.75rem var(--pad); }
  .collections-head { margin-bottom: 1.75rem; }
  .c-link { padding: 1.05rem 0.25rem; }
  .bespoke-inner { padding: 3rem var(--pad); gap: 2.25rem; }
  .visit { padding: 3rem var(--pad); gap: 2.25rem; }
  footer { padding: 2rem var(--pad); }
}
/* The pinned film stage letterboxes on portrait, leaving an ivory apron
   below the band; pull the next section up over it for a tight handoff. */
@media (max-width: 640px) and (orientation: portrait) {
  .film-armed { margin-bottom: -12vh; }
}

@media (max-width: 560px) {
  .nav { padding: 0 1rem; }
  .nav .btn span.btn-label { display: none; }  /* icon-only LINE button on tiny screens */
  .nav .btn { padding: 0.55rem 0.8rem; }
  .wordmark { font-size: 1.05rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .c-link { grid-template-columns: 2.4rem 1fr; }
}
