/* INLINE INDIA, daylight variant: "The Swatch Book". A stone ground, Inter throughout with the wordmark in Fraunces, and
   every leather photographed colour-on-colour in daylight. Dark mode swaps the ground and ink; the photographs carry the colour. */

:root {
  color-scheme: light;
  --bg: #f2f2f0;
  --bg-2: #e7e7e4;
  --ink: #141311;
  --muted: #4b4946;
  --paper: #f5f5f3;
  --ground: var(--bg);
  --accent: #141311;
  --accent-ink: #f2f2f0;
  --accent-strong: #000;
  --field: #4a161b;
  --on-photo: #fff;
  --scrim-rgb: 12, 11, 11;

  --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --font-text: "Inter", "Helvetica Neue", Arial, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem);
  --step-display: clamp(3rem, 1rem + 7.4vw, 9rem);

  --m: clamp(20px, 3.2vw, 56px);
  --gap: clamp(12px, 1.4vw, 24px);
  --section: clamp(128px, 18vh, 240px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* dark mode: the same photographs, the ground and ink swapped; chosen with the toggle in the bar and remembered */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0908;
  --bg-2: #131110;
  --ink: #e8e8e6;
  --muted: #b3ada5;
  --accent: #e8e8e6;
  --accent-ink: #0a0908;
  --accent-strong: #fff;
}
:root[data-theme="dark"] .nav.is-solid { background: rgba(10, 9, 8, .92); }
:root[data-theme="dark"] .loader-bar { background: rgba(232, 232, 230, .15); }
.theme-toggle { background: none; border: 0; padding: 0; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: var(--step-small); font-weight: 500; cursor: pointer; color: inherit; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: var(--step-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 40; padding: 10px 16px; background: var(--ink); color: var(--bg); font-size: var(--step-small); font-weight: 500; text-decoration: none; transition: top 200ms var(--ease-out); }
.skip:focus-visible { top: 12px; outline-offset: 2px; }
p { text-wrap: pretty; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.4; font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; gap: .7em; min-height: 56px; padding: 0 1.7em;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-text); font-weight: 500; font-size: var(--step-small); letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button .arrow { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
.button.ghost { background: rgba(var(--scrim-rgb), .45); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button.ghost:hover { background: var(--paper); color: var(--ink); }
  .button:hover .arrow { transform: translateX(5px); }
}
.link { text-decoration: none; position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; /* taste-skill-ignore: a link underline that draws on hover */ background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-expo); }
@media (hover: hover) and (pointer: fine) { .link:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- the cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; mix-blend-mode: difference; opacity: 0; transition: opacity 300ms ease; }
.cursor.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { html.has-cursor .cursor { display: block; } html.has-cursor body { cursor: none; } html.has-cursor a, html.has-cursor button { cursor: none; } }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--on-photo); }
.cursor-ring { position: absolute; width: 40px; height: 40px; margin: -20px; border-radius: 50%; background: var(--on-photo); opacity: .18; transform: scale(1); transition: transform 320ms var(--ease-expo), opacity 320ms ease; display: grid; place-items: center; }
.cursor-label { font-family: var(--font-text); font-weight: 500; font-size: 11px; letter-spacing: .04em; color: #000; opacity: 0; transition: opacity 200ms ease; white-space: nowrap; }
.cursor.is-link .cursor-ring { transform: scale(1.6); opacity: .3; }
.cursor.is-label .cursor-ring { transform: scale(2.4); opacity: 1; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }

/* ---------- the loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: none; padding: var(--m); }
html.js .loader { display: block; }
.loader.is-done { pointer-events: none; }
.loader-n { position: absolute; left: var(--m); bottom: calc(var(--m) - .08em); font-family: var(--font-display); font-weight: 400; font-size: clamp(6rem, 22vw, 22rem); line-height: .8; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.loader-t { position: absolute; left: var(--m); top: var(--m); font-size: var(--step-small); font-weight: 500; letter-spacing: .02em; }
.loader-t span { color: var(--muted); font-weight: 400; margin-left: 1em; }
.loader-bar { position: absolute; right: var(--m); bottom: var(--m); width: min(32vw, 420px); height: 2px; background: rgba(20, 19, 17, .12); overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { html.js .loader { display: none; } }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 20px var(--m); transition: background-color 400ms ease, padding 400ms var(--ease-out); }
.nav.is-solid { background: rgba(242, 242, 240, .94); padding-block: 14px; }
.nav:not(.is-solid) { color: var(--paper); }
.nav:not(.is-solid) .button { background: var(--paper); color: var(--ink); }
.nav:not(.is-solid) .clock span { color: rgba(245, 245, 243, .78); }
.wordmark { font-family: var(--font-logo); font-weight: 400; font-size: 1.375rem; letter-spacing: .02em; text-decoration: none; line-height: 1; justify-self: start; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; font-size: var(--step-small); font-weight: 500; letter-spacing: .01em; }
.nav ul a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.clock { font-size: var(--step-small); font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock span { color: var(--muted); font-weight: 400; margin-right: .5em; }
.nav .button { min-height: 44px; padding-inline: 1.3em; }
@media (max-width: 960px) { .nav { grid-template-columns: 1fr auto; } .nav nav { display: none; } .clock { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: clip; background: var(--field); color: var(--paper); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media canvas { opacity: 0; transition: opacity 900ms ease; }
.hero-media canvas.is-ready { opacity: 1; }
.hero-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; pointer-events: none; background: linear-gradient(to top, rgba(var(--scrim-rgb), .78) 0%, rgba(var(--scrim-rgb), .38) 45%, rgba(var(--scrim-rgb), 0) 100%); } /* taste-skill-ignore: neutral scrim under the headline */
.hero-copy { position: absolute; left: var(--m); right: var(--m); bottom: clamp(36px, 7vh, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; }
.hero h1 { grid-column: 1 / -1; font-size: var(--step-display); letter-spacing: -0.02em; }
.hero h1 .ln { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; white-space: nowrap; }
.hero h1 .ch { display: inline-block; }
.hero-lead { grid-column: 1 / span 5; max-width: 32ch; }
.hero-act { grid-column: 8 / -1; display: flex; justify-content: flex-end; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 18%; pointer-events: none; background: linear-gradient(to bottom, rgba(var(--scrim-rgb), .5), rgba(var(--scrim-rgb), 0)); } /* taste-skill-ignore: neutral scrim under the bar */
@media (max-width: 767px) {
  .hero { min-height: 580px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-lead, .hero-act { grid-column: 1 / -1; }
  .hero-act { justify-content: flex-start; }
}

/* ---------- the sentence with pictures in it ---------- */
.sentence-sec { padding: var(--section) var(--m); }
.sentence { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.04em; font-size: clamp(1.5rem, 0.6rem + 4.2vw, 4.9rem); line-height: 1.12; letter-spacing: -0.015em; max-width: 24ch; }
.sentence .w { display: inline-block; }
.slot { display: inline-block; vertical-align: -0.18em; height: .92em; width: 2.2em; border-radius: 999px; overflow: clip; margin: 0 .08em; position: relative; pointer-events: none; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sentence-note { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sentence-note p { grid-column: 7 / span 5; max-width: 42ch; color: var(--muted); }
@media (max-width: 767px) { .sentence { font-size: 1.5rem; max-width: none; } .sentence-note p { grid-column: 1 / -1; } }

/* ---------- the finish book (scene) ---------- */
.book { background: var(--bg); position: relative; }
.book-title { font-size: var(--step-head); padding: var(--section) var(--m) 56px; max-width: 16ch; }
.book-gl { display: none; }
.fin-list { display: grid; row-gap: 4px; }
.fin { position: relative; min-height: 72svh; overflow: clip; color: var(--paper); }
.fin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fin-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none; background: linear-gradient(to top, rgba(var(--scrim-rgb), .62), rgba(var(--scrim-rgb), 0)); } /* taste-skill-ignore: neutral scrim under the finish name */
.fin-text { position: absolute; left: var(--m); right: var(--m); bottom: clamp(32px, 6vh, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 18px; align-items: end; }
.fin-name { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.04em; font-size: var(--step-display); line-height: .92; letter-spacing: -0.02em; }
.fin-spec { grid-column: 1 / span 5; max-width: 36ch; }
.fin-link { grid-column: 8 / -1; justify-self: end; }
.book-index, .fin-rail { display: none; }

html.js .book.is-live .book-title { position: absolute; left: var(--m); top: 100px; z-index: 3; color: var(--paper); padding: 0; font-size: var(--step-lead); max-width: 20ch; }
html.js .book.is-live .book-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms ease; z-index: 1; }
html.js .book.is-live .book-gl.is-ready { opacity: 1; }
html.js .book.is-live .fin-list { display: block; }
html.js .book.is-live .fin { position: absolute; inset: 0; min-height: 0; z-index: 2; } /* above the plane even while fading, so the words never dip beneath the leather */
html.js .book.is-live .fin:not(:first-child) { opacity: 0; visibility: hidden; }
html.js .book.is-live .fin > img { z-index: 0; }
/* once the plane paints the leather, the pictures beneath it step aside; the words and scrim stay with their fin */
html.js .book.is-live.has-gl .fin > img { visibility: hidden; }
html.js .book.is-live .fin-scrim { z-index: 1; }
html.js .book.is-live .fin { pointer-events: none; } /* the hand reaches the plane beneath; only the words and links catch it */
html.js .book.is-live .fin-text { z-index: 2; pointer-events: auto; }
html.js .book.is-live.has-gl .fin-scrim { background: linear-gradient(to top, rgba(var(--scrim-rgb), .58), rgba(var(--scrim-rgb), 0)); } /* taste-skill-ignore: neutral scrim */
html.js .book.is-live .book-index { display: block; position: absolute; left: var(--m); top: 50%; transform: translateY(-50%); z-index: 3; }
.book-index li { font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.35; color: rgba(245, 245, 243, .55); transition: color 400ms ease, transform 400ms var(--ease-out); cursor: pointer; }
.book-index li.is-on { color: var(--paper); transform: translateX(.4em); }
html.js .book.is-live .fin-rail { display: flex; gap: 10px; position: absolute; right: var(--m); top: 100px; z-index: 4; }
.fin-rail button { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; background: var(--c); cursor: pointer; outline: 2px solid transparent; outline-offset: 4px; transition: outline-color 300ms ease, transform var(--t-hover) var(--ease-out); }
.fin-rail button.is-on { outline-color: var(--paper); }
.fin-rail button::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; } /* the 44px hit area */
@media (hover: hover) and (pointer: fine) { .fin-rail button:hover { transform: scale(1.1); } }
@media (max-width: 767px) {
  .fin { min-height: 82svh; }
  .fin-spec, .fin-link { grid-column: 1 / -1; justify-self: start; }
  html.js .book.is-live .book-title { top: 84px; right: var(--m); max-width: none; }
  html.js .book.is-live .book-index { display: none; }
  html.js .book.is-live .fin-rail { top: auto; bottom: 22px; left: var(--m); right: auto; gap: 8px; }
  .fin-rail button { width: 34px; height: 34px; }
  .fin-rail button::before { inset: -5px; }
  html.js .book.is-live .fin-rail { gap: 10px; }
  html.js .book.is-live .fin-text { bottom: 84px; }
}

/* ---------- the goods (scene) ---------- */
.goods { background: var(--bg-2); }
.goods .scene-stage { padding: var(--section) 0; }
.goods-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-inline: var(--m); align-items: end; }
.goods-head h2 { grid-column: 1 / span 6; font-size: var(--step-head); }
.goods-head p { grid-column: 8 / -1; max-width: 42ch; }
.goods-track { margin-top: clamp(48px, 7vh, 88px); padding-inline: var(--m); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px) var(--gap); }
.good { margin: 0; position: relative; }
.good .frame { overflow: clip; position: relative; }
.good .frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.good .ghost { position: absolute; left: .45em; bottom: .3em; color: var(--on-photo); font-family: var(--font-display); font-weight: 400; letter-spacing: -0.04em; font-size: var(--step-head); line-height: .9; letter-spacing: -0.02em; z-index: 2; pointer-events: none; }
.good figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: var(--step-small); line-height: 1.5; }
.good figcaption b { font-weight: 500; font-size: var(--step-body); }
.good figcaption span { color: var(--muted); text-align: right; max-width: 26ch; }
.goods-track > li:nth-child(even) .good { margin-top: clamp(64px, 12vh, 160px); }

html.js .goods.is-live .scene-stage { display: grid; grid-template-rows: auto 1fr; padding: clamp(96px, 12vh, 128px) 0 clamp(32px, 5vh, 56px); overflow: clip; }
html.js .goods.is-live .goods-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); margin-top: 0; padding-inline: var(--m); align-self: center; will-change: transform; }
html.js .goods.is-live .goods-track > li { flex: 0 0 auto; }
html.js .goods.is-live .goods-track > li:nth-child(even) .good { margin-top: 0; }
html.js .goods.is-live .good .frame { width: clamp(300px, 28vw, 460px); height: min(56svh, 620px); }
html.js .goods.is-live .goods-track > li:nth-child(odd) .good .frame { width: clamp(340px, 34vw, 560px); height: min(66svh, 720px); }
html.js .goods.is-live .good .frame img { height: 100%; aspect-ratio: auto; }
@media (max-width: 767px) {
  .goods-head h2, .goods-head p { grid-column: 1 / -1; }
  .goods-head p { margin-top: 16px; }
  .goods-track { grid-template-columns: 1fr; gap: 48px; }
  .goods-track > li:nth-child(even) .good { margin-top: 0; width: 84%; margin-left: auto; }
  .good figcaption { flex-direction: column; gap: 4px; }
  .good figcaption span { text-align: left; max-width: none; }
}

/* ---------- the catalogue: a dialog of the range, opened from each piece ---------- */
.good { position: relative; }
.good-open { position: absolute; inset: 0; z-index: 3; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; }
.good-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.cat { width: min(1180px, calc(100vw - 2 * var(--m))); max-width: none; max-height: calc(100svh - 2 * var(--m)); margin: auto; padding: 0; border: 0; border-radius: 0; background: var(--bg); color: var(--ink); display: none; overflow: hidden; }
.cat[open] { display: grid; grid-template-rows: auto 1fr auto auto; }
.cat::backdrop { background: rgba(var(--scrim-rgb), .72); }
.cat-head { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: start; padding: 24px 28px 18px; }
.cat-title { font-size: var(--step-lead); font-family: var(--font-text); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.cat-note { margin-top: 6px; color: var(--muted); font-size: var(--step-small); max-width: 52ch; }
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tabs button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink); font: inherit; font-size: var(--step-small); font-weight: 500; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.cat-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.cat-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink); cursor: pointer; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .cat-close:hover, .cat-tabs button:not([aria-selected="true"]):hover { background: var(--surface-hover, #dcdcd8); } }
.cat-stage { position: relative; min-height: 0; padding: 0 28px; display: grid; }
.cat-view { margin: 0; min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 10px; }
.cat-view img { width: 100%; height: 100%; min-height: 0; max-height: 58svh; object-fit: contain; background: var(--bg-2); }
.cat-view figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-small); }
.cat-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-nav { position: absolute; top: calc(50% - 32px); width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; transition: transform var(--t-press) var(--ease-out); }
.cat-nav:active { transform: scale(.94); }
.cat-prev { left: 40px; } .cat-next { right: 40px; }
.cat-thumbs { display: flex; gap: 8px; padding: 14px 28px; overflow-x: auto; scrollbar-width: thin; }
.cat-thumbs button { flex: 0 0 auto; width: 72px; height: 72px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity var(--t-hover) ease, outline-color var(--t-hover) ease; }
.cat-thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--ink); }
.cat-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 4px 28px 24px; font-size: var(--step-small); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .cat[open] { animation: cat-in 420ms var(--ease-expo); }
  .cat[open]::backdrop { animation: cat-fade 300ms ease; }
  .cat-view img.is-swap { animation: cat-fade 360ms ease; }
}
@keyframes cat-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes cat-fade { from { opacity: 0; } }
@media (max-width: 767px) {
  .cat { width: 100vw; max-height: 100svh; height: 100svh; }
  .cat-head { grid-template-columns: 1fr auto; padding: 18px 16px 12px; }
  .cat-tabs { grid-column: 1 / -1; grid-row: 2; }
  .cat-stage { padding: 0 16px; }
  .cat-view img { max-height: none; }
  .cat-nav { width: 44px; height: 44px; top: calc(50% - 30px); }
  .cat-prev { left: 24px; } .cat-next { right: 24px; }
  .cat-thumbs { padding: 12px 16px; }
  .cat-thumbs button { width: 56px; height: 56px; }
  .cat-foot { padding: 4px 16px 20px; }
}
html.cat-lock { overflow: hidden; }

/* ---------- process: a stack of cards ---------- */
.process-head { padding: var(--section) var(--m) clamp(40px, 6vh, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.process-head h2 { grid-column: 1 / span 6; font-size: var(--step-head); }
.process-head p { grid-column: 8 / -1; max-width: 42ch; }
.stack { position: relative; }
.card { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(84px, 11vh, 120px) var(--m) clamp(40px, 6vh, 64px); background: var(--bg); transform-origin: 50% 20%; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) { .card { will-change: transform; } }
.card:nth-child(even) { background: var(--bg-2); }
.card-text { grid-column: 1 / span 5; display: flex; flex-direction: column; justify-content: flex-start; gap: 22px; position: relative; z-index: 2; }
.card-text h3 { font-size: var(--step-head); }
.card-text p { max-width: 40ch; }
.card-media { grid-column: 7 / -1; position: relative; overflow: clip; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-dim { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; z-index: 1; }
@media (max-width: 1023px) {
  .process-head h2, .process-head p { grid-column: 1 / -1; }
  .process-head p { margin-top: 16px; }
  .card { position: relative; height: auto; min-height: 0; padding-bottom: 56px; }
  .card-media { min-height: 52svh; }
  .card-dim { display: none; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 84px; row-gap: 22px; }
  .card-media { grid-column: 1; grid-row: 2; }
  .card-text { grid-column: 1; grid-row: 1; }
}

/* ---------- the marquee of finishes ---------- */
.marquee { padding: clamp(56px, 8vh, 96px) 0; overflow: clip; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee-track p { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.04em; font-size: var(--step-display); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; padding-right: .5em; }
.marquee-track p span { color: var(--muted); padding: 0 .35em; }
@media (prefers-reduced-motion: no-preference) { html.js .marquee-track { animation: marquee 48s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- the order ---------- */
.order { padding: var(--section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.order h2 { grid-column: 1 / -1; font-size: var(--step-head); max-width: 16ch; }
.order-pic { grid-column: 1 / span 6; margin: 0; }
.order-pic .frame { overflow: clip; }
.order-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.order-pic figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.figs { grid-column: 8 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--gap); align-self: center; }
.fig .n { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1rem + 2.9vw, 3.9rem); line-height: .95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig .n span { display: inline-block; min-width: 1.2ch; }
.fig p + p { margin-top: 14px; max-width: 20ch; color: var(--muted); }
@media (max-width: 767px) { .order-pic, .figs { grid-column: 1 / -1; } .fig .n { font-size: var(--step-head); } }

/* ---------- contact: the address on the left, the enquiry form on the right ---------- */
.contact { min-height: 100svh; padding: var(--section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: center; background: var(--field); color: var(--paper); }
.contact-copy { grid-column: 1 / span 5; }
.contact h2 { font-size: var(--step-head); max-width: 12ch; }
.contact-meta { margin-top: 28px; color: rgba(245, 245, 243, .78); max-width: 36ch; }
.contact-lines { font-style: normal; margin-top: 40px; display: grid; gap: 14px; justify-items: start; }
.contact-mail, .contact-tel { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; text-decoration: none; position: relative; }
.contact-mail { font-size: clamp(1.5rem, 0.8rem + 2.4vw, 2.75rem); word-break: break-all; }
.contact-tel { font-size: var(--step-lead); }
.contact-mail::after, .contact-tel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .05em; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--ease-expo); }
@media (hover: hover) and (pointer: fine) { .contact-mail:hover::after, .contact-tel:hover::after { transform: scaleX(1); transform-origin: left; } }
.contact-place { color: rgba(245, 245, 243, .78); }
.enquiry { grid-column: 7 / -1; display: grid; gap: 22px; }
.enquiry-h { font-size: var(--step-lead); font-family: var(--font-text); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--step-small); font-weight: 500; }
.field input, .field textarea { width: 100%; background: transparent; color: var(--paper); border: 0; border-bottom: 1px solid rgba(245, 245, 243, .4); border-radius: 0; padding: 10px 0 12px; font: inherit; font-size: var(--step-body); line-height: 1.4; transition: border-color var(--t-hover) ease; } /* taste-skill-ignore: a form field's own line */
.field textarea { resize: vertical; min-height: 7.5em; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 245, 243, .45); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--paper); }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #f2b8b5; }
.enquiry-act { margin-top: 6px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact .button { background: var(--paper); color: var(--ink); }
.enquiry-note { font-size: var(--step-small); color: rgba(245, 245, 243, .7); max-width: 28ch; }
.enquiry-note[data-state="ok"] { color: var(--paper); max-width: 36ch; }
.enquiry-note[data-state="error"] { color: #f2b8b5; max-width: 36ch; }
.enquiry-note a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.enquiry .button:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* the field only bots fill in */
@media (max-width: 1023px) {
  .contact-copy { grid-column: 1 / span 6; }
  .enquiry { grid-column: 7 / -1; }
}
@media (max-width: 767px) {
  .contact { row-gap: 48px; }
  .contact-copy, .enquiry { grid-column: 1 / -1; }
  .contact-mail { font-size: 1.5rem; }
}

/* ---------- curtain footer ---------- */
main { position: relative; z-index: 2; background: var(--bg); }
.foot { position: sticky; bottom: 0; z-index: 1; background: var(--bg-2); padding: clamp(64px, 9vh, 120px) var(--m) 28px; min-height: 60svh; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.foot-mark { font-family: var(--font-logo); font-weight: 300; font-size: clamp(3.2rem, 13.6vw, 15rem); line-height: .86; letter-spacing: -0.02em; white-space: nowrap; }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.fc { grid-column: span 2; }
.fc h3 { font-family: var(--font-text); font-weight: 500; font-size: var(--step-small); letter-spacing: .01em; line-height: 1.3; margin-bottom: 12px; }
.fc ul li + li { margin-top: 6px; }
.fc a { text-decoration: none; color: var(--muted); transition: color var(--t-hover) ease; font-size: var(--step-small); }
.fc a:hover { color: var(--ink); }
.fc li { font-size: var(--step-small); color: var(--muted); }
.fc-write { grid-column: 9 / -1; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 767px) {
  .foot-mark { white-space: normal; font-size: 21vw; }
  .fc { grid-column: span 6; }
  .fc-write { grid-column: 1 / -1; }
}

/* ---------- the quiet layer: load and reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero h1 .ch { transform: translateY(115%); }
  html.js .hero.is-in h1 .ch { transform: none; transition: transform 900ms var(--ease-expo); transition-delay: calc(var(--i) * 18ms + 40ms); }
  html.js .hero-media { clip-path: inset(0 0 0 0); }
  html.js .hero-lead, html.js .hero-act, html.js .nav { opacity: 0; transform: translateY(14px); transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo), background-color 400ms ease, padding 400ms var(--ease-out); }
  html.js .hero.is-in .hero-lead { opacity: 1; transform: none; transition-delay: 560ms; }
  html.js .hero.is-in .hero-act { opacity: 1; transform: none; transition-delay: 660ms; }
  html.js body.is-in .nav { opacity: 1; transform: none; transition-delay: 420ms, 420ms, 0s, 0s; }
}
@media (prefers-reduced-motion: reduce) {
  /* travel is dropped (the scenes rest, the entrances and the marquee never run); colour and opacity feedback on controls stays */
  html.js .hero-media canvas, html.js .book-gl { display: none !important; }
  .good .frame img, .button .arrow, .book-index li, .fin-rail button, .cursor-ring { transition-property: color, background-color, opacity, outline-color; }
  .marquee-track { flex-wrap: wrap; width: auto; padding-inline: var(--m); }
  .marquee-track p { white-space: normal; }
  .marquee-track p + p { display: none; }
}
