/* ==========================================================================
   TERRY TIMEPIECE
   Time, Engineered to Endure.

   1.  Tokens
   2.  Reset & base
   3.  Texture system (CSS-generated, files optional)
   4.  Typography primitives
   5.  Header & navigation
   6.  Hero
   7.  Chapters (shared)
   8.  Chapter 01 — Movement
   9.  Chapter 02 — Materials
   10. Chapter 03 — Philosophy
   11. Footer
   12. Reveal states
   13. Interior pages — shell
   14. Long-form prose
   15. Specification plate — the collection
   16. Journal — editorial index
   17. Contact
   18. Legal
   19. Catalogue — the models
   20. WhatsApp
   21. The shop
   22. Responsive
   23. Reduced motion
   ========================================================================== */


/* ==========================================================================
   0. FACES
   Self-hosted, OFL-1.1, variable — see assets/fonts/README.md.
   font-display: swap so text is readable immediately and reflows once;
   the system stacks in --serif and --sans remain the safety net.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}


/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {

  /* --- Palette ---------------------------------------------------------- */
  --obsidian:       #070706;   /* primary ground */
  --graphite:       #111315;   /* layered ground */
  --dark-steel:     #24272A;   /* panels, surfaces */
  --smoked-bronze:  #5C4930;   /* secondary accent */
  --antique-gold:   #B08A4A;   /* accent — used rarely, always meaningfully */
  --warm-ivory:     #E8DDC5;   /* primary typography */
  --white:          #FFFFFF;   /* highlight only: focus, hover peaks, fine edges */

  /* Derived, so opacity never has to be guessed inline */
  --ivory-70:  rgb(232 221 197 / 0.70);
  --ivory-45:  rgb(232 221 197 / 0.45);
  --ivory-22:  rgb(232 221 197 / 0.22);
  --ivory-10:  rgb(232 221 197 / 0.10);
  --gold-60:   rgb(176 138 74 / 0.60);
  --gold-28:   rgb(176 138 74 / 0.28);
  --gold-12:   rgb(176 138 74 / 0.12);
  --white-90:  rgb(255 255 255 / 0.90);
  --white-14:  rgb(255 255 255 / 0.14);
  --white-06:  rgb(255 255 255 / 0.06);

  /* --- Type ------------------------------------------------------------- */
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans:  "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --display-xl: clamp(3.4rem, 11vw, 9.5rem);
  --display-lg: clamp(2.6rem, 6.4vw, 6.5rem);
  --display-md: clamp(2.1rem, 4.6vw, 4.4rem);
  --body-lg:    clamp(1.02rem, 1.05vw, 1.22rem);
  --body:       clamp(0.95rem, 0.85vw, 1.05rem);
  --label:      clamp(0.62rem, 0.68vw, 0.74rem);

  --track-label: 0.34em;   /* technical labels breathe */
  --track-nav:   0.2em;

  /* --- Space ------------------------------------------------------------ */
  --gutter:      clamp(1.35rem, 5vw, 6.5rem);
  --chapter-pad: clamp(7rem, 17vh, 15rem);
  --stack:       clamp(1.4rem, 2.2vw, 2.6rem);

  /* --- Motion ----------------------------------------------------------- */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.15, 1);
  --t-micro:   380ms;
  --t-ui:      520ms;
  --t-reveal:  1500ms;
  --t-film:    2400ms;

  /* --- Layout ----------------------------------------------------------- */
  --masthead-h: clamp(4.4rem, 7vh, 6rem);
  --max:        1680px;

  /* Runtime values, written by script.js */
  --mx: 0;   /* cursor, -1 .. 1 */
  --my: 0;
  --shift: 8px;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--obsidian);
  color: var(--warm-ivory);
  font-family: var(--sans);
  font-size: var(--body);
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: 0.012em;
  overflow-x: clip;               /* mobile must never scroll sideways */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* The continuous atmosphere: a dark photographic studio, lit from above-left. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 18% -10%, rgb(176 138 74 / 0.055) 0%, transparent 58%),
    radial-gradient(90% 70% at 88% 108%, rgb(92 73 48 / 0.05) 0%, transparent 60%),
    linear-gradient(178deg, var(--obsidian) 0%, var(--graphite) 52%, var(--obsidian) 100%);
}

img, video { display: block; max-width: 100%; }

h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-28); color: var(--white); }

/* Focus: visible, and clearly part of the art direction. */
:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 5px;
  border-radius: 1px;
}

/* Available to assistive technology, invisible on screen. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 0.9rem 1.6rem;
  background: var(--obsidian);
  border: 1px solid var(--antique-gold);
  color: var(--warm-ivory);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  transition: transform var(--t-micro) var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }


/* ==========================================================================
   3. TEXTURE SYSTEM
   Every texture is generated in CSS and works with no files present.
   Where a file exists it is layered on top at low opacity as an enhancement.
   ========================================================================== */

/* --- Film / paper grain ------------------------------------------------- */
/* feTurbulence gives true fine grain; a gradient cannot. Static, so it
   composites once and costs nothing on scroll. */
.grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Site-wide grain, one fixed layer above the ground. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* The texture files are layered *in front of* the generated versions above.
   A background layer whose URL fails to load simply does not paint, so if
   assets/textures/ is empty the CSS grain still carries the surface on its
   own. Nothing here is load-bearing. */
.grain,
body::after {
  background-image:
    url("assets/textures/paper-grain.webp"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 420px 420px, 180px 180px;
}

/* --- Blackened brushed steel -------------------------------------------- */
/* Fine unidirectional brushing, an off-centre sheen, and micro pitting.
   Reads as machined metal rather than a metallic gradient. */
/* Applied to the plate behind every photograph, so an image that is still
   decoding reveals machined steel rather than an empty box. */
.texture-steel,
.chapter__frame,
.philosophy__figure {
  position: relative;
  background-color: var(--dark-steel);
  background-image:
    /* the generated plate, when present */
    url("assets/textures/black-steel.webp"),
    /* directional sheen, deliberately off-centre */
    linear-gradient(101deg,
      transparent 0%,
      rgb(232 221 197 / 0.035) 34%,
      rgb(255 255 255 / 0.05) 41%,
      rgb(232 221 197 / 0.03) 48%,
      transparent 72%),
    /* brushing: three interleaved line frequencies so no pattern reads as a stripe */
    repeating-linear-gradient(90deg,
      rgb(255 255 255 / 0.022) 0px,
      rgb(255 255 255 / 0.022) 0.5px,
      transparent 0.5px, transparent 2px),
    repeating-linear-gradient(90deg,
      rgb(0 0 0 / 0.30) 0px,
      rgb(0 0 0 / 0.30) 1px,
      transparent 1px, transparent 3.5px),
    repeating-linear-gradient(90deg,
      rgb(232 221 197 / 0.014) 0px,
      rgb(232 221 197 / 0.014) 0.5px,
      transparent 0.5px, transparent 7px),
    /* body of the metal */
    linear-gradient(176deg, #2b2f33 0%, #1c1f22 46%, #14171a 100%);
  background-size: 340px 340px, auto, auto, auto, auto, auto;
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
}
.texture-steel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.30;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23p)'/%3E%3C/svg%3E");
}

/* --- Smoked glass -------------------------------------------------------- */
/* Two surfaces only — the scrolled header and the mobile menu — each defined
   at its own rule further down so the shorthand cannot be clobbered by the
   cascade. This is not a site-wide glassmorphism treatment. */


/* ==========================================================================
   4. TYPOGRAPHY PRIMITIVES
   ========================================================================== */

.eyebrow {
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: clamp(1.5rem, 2.6vw, 2.6rem);
}

/* The gold rule: expands from zero when its section arrives. */
.rule {
  display: block;
  width: clamp(3.5rem, 7vw, 7.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--antique-gold) 0%, var(--gold-28) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-reveal) var(--ease-out) 240ms;
}
[data-reveal].is-revealed .rule { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: clamp(0.95rem, 1.3vw, 1.25rem) clamp(1.7rem, 2.6vw, 2.5rem);
  background: rgb(7 7 6 / 0.42);
  border: 1px solid var(--gold-60);
  color: var(--warm-ivory);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  transition:
    border-color var(--t-ui) var(--ease-out),
    background-color var(--t-ui) var(--ease-out),
    color var(--t-ui) var(--ease-out);
}
.btn::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: width var(--t-ui) var(--ease-out), opacity var(--t-ui) var(--ease-out);
}
.btn:hover {
  border-color: var(--antique-gold);
  background-color: var(--gold-12);
  color: var(--white);
}
.btn:hover::after { width: 2.1rem; opacity: 1; }
.btn--ghost { background: transparent; border-color: var(--gold-28); }
.btn--ghost:hover { border-color: var(--antique-gold); background-color: var(--gold-12); }


/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--masthead-h);
  transition: background-color var(--t-ui) var(--ease-out);
}

/* Smoked glass arrives only after the film has begun to move. */
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: rgb(7 7 6 / 0.82);
  background-image:
    url("assets/textures/smoked-glass.webp"),
    linear-gradient(180deg, rgb(7 7 6 / 0.55) 0%, rgb(7 7 6 / 0.30) 100%);
  background-size: 300px 300px, auto;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  border-bottom: 1px solid var(--gold-28);
  transition: opacity var(--t-ui) var(--ease-out);
  pointer-events: none;
}
.masthead[data-scrolled="true"]::before { opacity: 1; }

.masthead__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-ivory);
  transition: color var(--t-micro) var(--ease-out);
}
.wordmark:hover { color: var(--white); }
.wordmark__timepiece {
  font-family: var(--sans);
  font-size: 0.52em;
  font-weight: 300;
  letter-spacing: var(--track-label);
  color: var(--ivory-70);
}

.nav__list { display: flex; gap: clamp(1.6rem, 3vw, 3.4rem); }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ivory-70);
  transition: color var(--t-micro) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--antique-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-ui) var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }

/* The page you are on: stated by a standing gold rule, not a colour change. */
.nav__link[aria-current="page"] { color: var(--warm-ivory); }
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold-60);
}

.mobile-menu__list a[aria-current="page"] { color: var(--antique-gold); }

/* --- Mobile menu -------------------------------------------------------- */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  margin-right: -8px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle__bar {
  display: block;
  width: 24px; height: 1px;
  background: var(--warm-ivory);
  transition: transform var(--t-micro) var(--ease-out), opacity var(--t-micro) var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--masthead-h) 0 auto 0;
  z-index: 99;
  padding: clamp(1.5rem, 5vw, 2.5rem) var(--gutter) clamp(2.2rem, 6vw, 3rem);
  background-color: rgb(7 7 6 / 0.94);
  background-image: url("assets/textures/smoked-glass.webp");
  background-size: 300px 300px;
  background-blend-mode: soft-light;
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  border-bottom: 1px solid var(--gold-28);
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { transform: translateY(0); opacity: 1; }

.mobile-menu__list { display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-menu__list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ivory-10);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--warm-ivory);
  transition: color var(--t-micro) var(--ease-out);
}
.mobile-menu__list li:last-child a { border-bottom: 0; }
.mobile-menu__list a:hover { color: var(--antique-gold); }


/* ==========================================================================
   6. HERO
   The track supplies scroll distance; the stage stays fixed inside it.
   ========================================================================== */

.hero { position: relative; }

.hero__track { height: 560vh; }        /* scrub distance for the 32s reel */

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--obsidian);
}

/* The camera. Cursor shift lives here, scaled up so edges never show. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform:
    translate3d(calc(var(--mx) * var(--shift)), calc(var(--my) * var(--shift)), 0)
    scale(1.035);
  transition: transform 900ms var(--ease-soft);
  will-change: transform;
}

.hero__video,
.hero__frame,
.hero__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;   /* keeps the watch off the very centre line */
}

.hero__frames { position: absolute; inset: 0; }

/* Frames cross-fade; only one is opaque at a time. */
.hero__frame {
  opacity: 0;
  transition: opacity 620ms var(--ease-soft);
}
.hero__frame.is-active { opacity: 1; }

/* The keyframe layer is dormant while the video is scrubbing. */
.hero:not(.is-frames) .hero__frames { opacity: 0; pointer-events: none; }
.hero.is-frames .hero__video { opacity: 0; }

.hero__still { opacity: 0; pointer-events: none; }

/* The no-JavaScript hero: a single photograph, always visible. */
.hero__still--noscript { opacity: 1; }

/* Vignette — deep at the edges, open in the middle where the watch sits. */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(78% 62% at 50% 46%, transparent 34%, rgb(7 7 6 / 0.62) 100%),
    linear-gradient(180deg, rgb(7 7 6 / 0.55) 0%, transparent 22%, transparent 58%, rgb(7 7 6 / 0.86) 100%);
}

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

.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(5rem, 13vh, 9rem);
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }

/* Beats stack in the same place and cross-fade on scroll. */
.hero__beat {
  grid-area: 1 / 1;
  opacity: var(--o, 0);
  transform: translate3d(0, calc((1 - var(--o)) * 14px), 0);
  transition: opacity 420ms linear, transform 620ms var(--ease-soft);
}
.hero__content { display: grid; }

.hero__title {
  font-family: var(--serif);
  font-size: var(--display-xl);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--warm-ivory);
}
.hero__title-line { display: block; }
.hero__title-line--indent {
  padding-left: 0.12em;
  font-size: 0.52em;
  letter-spacing: 0.3em;
  color: var(--ivory-70);
}

.hero__tagline {
  font-family: var(--serif);
  font-size: var(--display-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: 0.005em;
  color: var(--warm-ivory);
}

.hero__support {
  max-width: 34ch;
  margin-bottom: clamp(2rem, 3.4vw, 3rem);
  font-size: var(--body-lg);
  font-weight: 200;
  line-height: 1.72;
  color: var(--ivory-70);
}

/* --- Scroll indicator --------------------------------------------------- */

.hero__indicator {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: clamp(5rem, 13vh, 9rem);
  width: 1px;
  height: clamp(3.5rem, 8vh, 5.5rem);
  overflow: hidden;
  background: var(--ivory-10);
}
.hero__indicator-rule {
  display: block;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--antique-gold));
  animation: descend 3.4s var(--ease-soft) infinite;
}
@keyframes descend {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(250%); }
  100% { transform: translateY(250%); }
}


/* ==========================================================================
   7. CHAPTERS — SHARED
   ========================================================================== */

.chapter {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--chapter-pad) var(--gutter);
}

.chapter__index {
  position: absolute;
  top: clamp(3rem, 8vh, 6rem);
  right: var(--gutter);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ivory-10);
  user-select: none;
}

.chapter__headline {
  font-family: var(--serif);
  font-size: var(--display-md);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--warm-ivory);
  margin-bottom: var(--stack);
}
.chapter__headline--large { font-size: var(--display-lg); }

.chapter__copy {
  max-width: 42ch;
  margin-top: var(--stack);
  font-size: var(--body-lg);
  font-weight: 200;
  line-height: 1.78;
  color: var(--ivory-70);
}
.chapter__copy--wide { max-width: 48ch; }

/* Images sit inside a frame that owns the clip reveal and the parallax. */
.chapter__frame {
  position: relative;
  overflow: hidden;
  background-color: var(--graphite);
}
.chapter__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform var(--t-film) var(--ease-out);
}
[data-reveal].is-revealed .chapter__frame img { transform: scale(1); }
.chapter__frame:hover img { transform: scale(1.03); }

/* A single hairline of gold along the top edge of every image. */
.chapter__frame::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-28) 40%, var(--gold-28) 60%, transparent);
  z-index: 2;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.9rem) clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid var(--ivory-10);
}
.specs__item dt {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
  margin-bottom: 0.5rem;
}
.specs__item dd {
  font-size: var(--body);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--warm-ivory);
}


/* ==========================================================================
   8. CHAPTER 01 — THE MECHANICAL SOUL
   Asymmetric: the object sits low and left, the text rises beside it.
   ========================================================================== */

.chapter--movement {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}

.chapter--movement .chapter__figure { transform: translateY(clamp(1rem, 4vh, 3rem)); }

.chapter--movement .chapter__frame {
  aspect-ratio: 4 / 5;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--t-film) var(--ease-out);
}
.chapter--movement.is-revealed .chapter__frame { clip-path: inset(0 0 0 0); }


/* ==========================================================================
   9. CHAPTER 02 — MATERIALS OF TIME
   Wide, horizontal, exhibition-like.
   ========================================================================== */

.chapter--materials { display: block; }

.materials__head { max-width: 52ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.materials__figure { margin: 0; }

.chapter__frame--wide {
  aspect-ratio: 21 / 9;
  clip-path: inset(0 100% 0 0);          /* opens left to right */
  transition: clip-path var(--t-film) var(--ease-out);
}
.chapter--materials.is-revealed .chapter__frame--wide { clip-path: inset(0 0 0 0); }

.materials__aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-left: auto;
  max-width: 78%;
}
.materials__aside .rule { grid-column: 1 / -1; }

.materials__list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  margin-top: var(--stack);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-70);
}
.materials__list li { display: flex; align-items: center; gap: 1rem; }

/* Material marks — physical, not ecommerce swatches. */
.materials__swatch {
  width: clamp(2rem, 3.4vw, 3rem);
  height: 1px;
  flex: none;
}
.materials__swatch[data-material="steel"] {
  height: 2px;
  background:
    repeating-linear-gradient(90deg,
      rgb(255 255 255 / 0.30) 0 0.5px, transparent 0.5px 2px),
    linear-gradient(90deg, #2b2f33, #14171a);
}
.materials__swatch[data-material="gold"] {
  height: 2px;
  background: linear-gradient(90deg, var(--smoked-bronze), var(--antique-gold) 55%, #d8b478);
}
.materials__swatch[data-material="leather"] {
  height: 2px;
  background: linear-gradient(90deg, #0d0d0c, #1a1817 60%, #0d0d0c);
}


/* ==========================================================================
   10. CHAPTER 03 — A PHILOSOPHY OF PERMANENCE
   Monumental. The image is the room; the type stands inside it.
   ========================================================================== */

.chapter--philosophy {
  position: relative;
  max-width: none;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-block: clamp(9rem, 22vh, 18rem);
  overflow: hidden;
}

.philosophy__figure {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
  margin: 0;
}
.philosophy__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;    /* the plinth sits right; type takes the left */
  transform: scale(1.08);
  transition: transform var(--t-film) var(--ease-out);
}
.chapter--philosophy.is-revealed .philosophy__figure img { transform: scale(1); }

/* Lift the type off the photograph without flattening the image. */
.chapter--philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(7 7 6 / 0.92) 0%, rgb(7 7 6 / 0.72) 34%, transparent 66%),
    /* Closes to solid obsidian at both ends so the chapter dissolves into the
       ground rather than ending on a visible seam. */
    linear-gradient(180deg,
      var(--obsidian) 0%, rgb(7 7 6 / 0.55) 16%, transparent 34%,
      transparent 62%, rgb(7 7 6 / 0.75) 84%, var(--obsidian) 100%);
}

.philosophy__text {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.philosophy__text .btn { margin-top: clamp(2.4rem, 4vw, 3.4rem); }


/* ==========================================================================
   11. FOOTER — the closing frame
   ========================================================================== */

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vh, 9rem) var(--gutter) clamp(2rem, 4vh, 3rem);
  /* Opaque, and starting on the same obsidian the chapter above closes on, so
     the two meet without a step. Left transparent, the fixed body gradient
     behind would show through as a visible band. */
  background:
    linear-gradient(180deg, var(--obsidian) 0%, var(--graphite) 46%, var(--obsidian) 100%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.footer__name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--warm-ivory);
}
.footer__tagline {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--gold-60);
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}
.footer__nav a {
  position: relative;
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ivory-45);
  transition: color var(--t-micro) var(--ease-out);
}
.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--antique-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-ui) var(--ease-out);
}
.footer__nav a:hover { color: var(--white); }
.footer__nav a:hover::after { transform: scaleX(1); }

.footer__divider {
  position: relative;
  z-index: 1;
  display: block;
  max-width: var(--max);
  margin: clamp(3rem, 7vh, 5rem) auto clamp(1.4rem, 3vh, 2rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-28) 15%, var(--gold-28) 85%, transparent);
}

.footer__legal {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ivory-22);
}


/* ==========================================================================
   12. REVEAL STATES
   Text rises as each chapter arrives. Staggered by position, not by index.
   ========================================================================== */

[data-reveal] .eyebrow,
[data-reveal] .chapter__headline,
[data-reveal] .chapter__copy,
[data-reveal] .specs,
[data-reveal] .materials__list,
[data-reveal] .btn {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out);
}
[data-reveal].is-revealed .eyebrow,
[data-reveal].is-revealed .chapter__headline,
[data-reveal].is-revealed .chapter__copy,
[data-reveal].is-revealed .specs,
[data-reveal].is-revealed .materials__list,
[data-reveal].is-revealed .btn {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
[data-reveal].is-revealed .chapter__headline { transition-delay: 120ms; }
[data-reveal].is-revealed .chapter__copy     { transition-delay: 300ms; }
[data-reveal].is-revealed .specs,
[data-reveal].is-revealed .materials__list   { transition-delay: 420ms; }
[data-reveal].is-revealed .btn               { transition-delay: 520ms; }

/* Parallax offset, written by script.js as a plain number of pixels. */
[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* The same camera that moves the hero also breathes across the chapter
   photographs, at roughly half the amplitude so it never pulls focus. */
.chapter__frame {
  transform: translate3d(
    calc(var(--mx) * var(--shift) * 0.5),
    calc(var(--my) * var(--shift) * 0.5), 0);
  transition: transform 1100ms var(--ease-soft);
}

/* The philosophy plate carries both the drift and the camera, so the two
   offsets are composed into a single transform rather than fighting for it. */
.philosophy__figure[data-parallax] {
  transform: translate3d(
    calc(var(--mx) * var(--shift) * 0.5),
    calc(var(--py, 0px) + var(--my) * var(--shift) * 0.5), 0);
  transition: transform 1100ms var(--ease-soft);
}


/* ==========================================================================
   13. INTERIOR PAGES — SHELL

   Only the homepage carries the film. Every other page opens on a quieter
   plate so the scrubbed sequence stays the one cinematic event rather than a
   trick repeated six times.
   ========================================================================== */

.page {
  padding-top: var(--masthead-h);   /* clear the fixed masthead */
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(24rem, 58vh, 38rem);
  padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 7vh, 5rem);
  overflow: hidden;
  background-color: var(--graphite);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.page-hero::after {          /* scrim: type must win over the photograph */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(7 7 6 / 0.90) 0%, rgb(7 7 6 / 0.62) 42%, rgb(7 7 6 / 0.30) 100%),
    linear-gradient(180deg, rgb(7 7 6 / 0.72) 0%, transparent 34%, transparent 58%, var(--obsidian) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-title {
  font-family: var(--serif);
  font-size: var(--display-lg);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--warm-ivory);
  max-width: 18ch;
  text-wrap: balance;
}

.page-standfirst {
  max-width: 46ch;
  margin-top: clamp(1.4rem, 2.6vw, 2.2rem);
  font-size: var(--body-lg);
  font-weight: 200;
  line-height: 1.72;
  color: var(--ivory-70);
}

/* Generic band inside an interior page. */
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 12vh, 9rem) var(--gutter);
}
.band--tight { padding-block: clamp(3rem, 8vh, 6rem); }

.band__head {
  max-width: 54ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  font-family: var(--serif);
  font-size: var(--display-md);
  font-weight: 300;
  line-height: 1.06;
  color: var(--warm-ivory);
  text-wrap: balance;
}

/* A hairline that separates bands without drawing attention to itself. */
.band + .band { border-top: 1px solid var(--ivory-10); }


/* ==========================================================================
   14. LONG-FORM PROSE
   Reading column held near 65 characters.
   ========================================================================== */

.measure { max-width: 66ch; }

.prose > * + * { margin-top: 1.4em; }

.prose p {
  font-size: var(--body-lg);
  font-weight: 200;
  line-height: 1.82;
  color: var(--ivory-70);
}

.prose h2 {
  margin-top: 2.2em;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
  font-weight: 300;
  line-height: 1.14;
  color: var(--warm-ivory);
  text-wrap: balance;
}

.prose h3 {
  margin-top: 1.9em;
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--antique-gold);
}

.prose strong { font-weight: 400; color: var(--warm-ivory); }

.prose a {
  color: var(--warm-ivory);
  border-bottom: 1px solid var(--gold-60);
  transition: border-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.prose a:hover { color: var(--white); border-bottom-color: var(--antique-gold); }

.prose ul { padding-left: 0; }
.prose li {
  position: relative;
  padding-left: 1.6rem;
  margin-top: 0.7em;
  font-size: var(--body-lg);
  font-weight: 200;
  line-height: 1.78;
  color: var(--ivory-70);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 0.7rem; height: 1px;
  background: var(--gold-60);
}

.pull {
  margin-block: clamp(2.5rem, 5vw, 4rem);
  padding-left: clamp(1.2rem, 2.5vw, 2rem);
  border-left: 1px solid var(--gold-28);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  line-height: 1.32;
  color: var(--warm-ivory);
}


/* ==========================================================================
   15. SPECIFICATION PLATE — the collection
   A technical record, set like an instrument label rather than a product card.
   ========================================================================== */

.spec {
  border-top: 1px solid var(--ivory-22);
}
.spec__row {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2vw, 1.4rem) 0;
  border-bottom: 1px solid var(--ivory-10);
}
.spec__row dt {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
}
.spec__row dd {
  font-size: var(--body);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--warm-ivory);
}

/* The object, presented alone. */
.object {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.object__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--dark-steel);
}
.object__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform var(--t-film) var(--ease-out);
}
[data-reveal].is-revealed .object__frame img { transform: scale(1); }

.price {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 300;
  color: var(--warm-ivory);
}
.price small {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-45);
}

/* Detail strip: three views, no card treatment. */
.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.2rem);
}
.details figure { margin: 0; }
.details img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: var(--dark-steel);
}
.details figcaption {
  margin-top: 0.9rem;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-45);
}


/* ==========================================================================
   16. JOURNAL — an editorial index, not a grid of cards
   ========================================================================== */

.journal { border-top: 1px solid var(--ivory-22); }

.entry-link {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) minmax(0, 16rem);
  align-items: baseline;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
  border-bottom: 1px solid var(--ivory-10);
  transition: background-color var(--t-ui) var(--ease-out);
}
.entry-link:hover { background-color: rgb(232 221 197 / 0.03); }

.entry-link__date {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
  font-variant-numeric: tabular-nums;
}
.entry-link__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: 1.16;
  color: var(--warm-ivory);
  text-wrap: balance;
  transition: color var(--t-micro) var(--ease-out);
}
.entry-link:hover .entry-link__title { color: var(--white); }
.entry-link__standfirst {
  font-size: var(--body);
  font-weight: 200;
  line-height: 1.66;
  color: var(--ivory-45);
}

/* Article page furniture */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-45);
}
.entry-figure { margin: clamp(3rem, 7vh, 5rem) 0; }
.entry-figure img { width: 100%; background-color: var(--dark-steel); }
.entry-figure figcaption {
  margin-top: 0.9rem;
  font-size: var(--label);
  letter-spacing: 0.14em;
  color: var(--ivory-45);
}


/* ==========================================================================
   17. CONTACT
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.info__group + .info__group { margin-top: clamp(2rem, 4vw, 3rem); }
.info__label {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
  margin-bottom: 0.7rem;
}
.info__value {
  font-size: var(--body-lg);
  font-weight: 200;
  line-height: 1.7;
  color: var(--warm-ivory);
}
.info__value a {
  border-bottom: 1px solid var(--ivory-22);
  transition: border-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.info__value a:hover { color: var(--white); border-bottom-color: var(--antique-gold); }

/* --- Form ---------------------------------------------------------------- */

.form { display: grid; gap: clamp(1.4rem, 2.6vw, 2rem); }

.field { display: grid; gap: 0.6rem; }

.field label {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-70);
}
.field .req { color: var(--antique-gold); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: clamp(0.85rem, 1.5vw, 1.05rem) clamp(0.9rem, 1.6vw, 1.2rem);
  background: rgb(17 19 21 / 0.7);
  border: 1px solid var(--ivory-22);
  border-radius: 0;
  color: var(--warm-ivory);
  font-family: var(--sans);
  font-size: var(--body);
  font-weight: 300;
  transition: border-color var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
.field textarea { min-height: 9rem; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ivory-22); }

.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--ivory-45); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--antique-gold);
  background-color: rgb(17 19 21 / 0.95);
}
/* Keyboard users still get the ring; the border change alone is not enough. */
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }

.field__error {
  font-size: var(--label);
  letter-spacing: 0.08em;
  color: #d9a05b;
  min-height: 1em;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: #b5673a; }

.form__note {
  font-size: var(--label);
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--ivory-45);
}

.form__status {
  padding: clamp(0.9rem, 1.6vw, 1.1rem) clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--gold-28);
  background: var(--gold-12);
  font-size: var(--body);
  color: var(--warm-ivory);
}
.form__status[hidden] { display: none; }

button.btn { cursor: pointer; font-family: var(--sans); }


/* ==========================================================================
   18. LEGAL — set as a printed document
   ========================================================================== */

.legal__updated {
  margin-top: 1.2rem;
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-45);
}

.legal-toc {
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.4rem, 2.6vw, 2rem) 0;
  border-top: 1px solid var(--ivory-10);
  border-bottom: 1px solid var(--ivory-10);
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.legal-toc li { break-inside: avoid; margin-bottom: 0.6rem; }
.legal-toc a {
  font-size: var(--body);
  font-weight: 200;
  color: var(--ivory-70);
  transition: color var(--t-micro) var(--ease-out);
}
.legal-toc a:hover { color: var(--antique-gold); }

.notice {
  margin-block: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid var(--gold-28);
  background: rgb(176 138 74 / 0.06);
}
.notice p { font-size: var(--body); color: var(--warm-ivory); line-height: 1.72; }
.notice strong { color: var(--antique-gold); }


/* ==========================================================================
   19. CATALOGUE — the models
   Images and type on the ground, no card chrome, consistent with the rest.
   ========================================================================== */

.models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
}

.model__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--dark-steel);
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
}
.model__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-film) var(--ease-out);
}
.model:hover .model__frame img { transform: scale(1.03); }

.model__frame::after {          /* the same gold hairline as every other plate */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-28) 40%, var(--gold-28) 60%, transparent);
}

.model__ref {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
  margin-bottom: 0.7rem;
}
.model__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--warm-ivory);
}
.model__copy {
  max-width: 44ch;
  margin-top: 0.9rem;
  font-size: var(--body);
  font-weight: 200;
  line-height: 1.72;
  color: var(--ivory-70);
}

.model__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  margin-top: clamp(1.2rem, 2.2vw, 1.8rem);
  padding-top: clamp(1rem, 1.8vw, 1.4rem);
  border-top: 1px solid var(--ivory-10);
}
.model__price {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--warm-ivory);
  font-variant-numeric: tabular-nums;
}
.model__price small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 300;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory-45);
}

.model__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.2rem, 2.2vw, 1.6rem);
}
.btn--sm {
  padding: clamp(0.7rem, 1.1vw, 0.9rem) clamp(1.2rem, 1.9vw, 1.7rem);
}


/* ==========================================================================
   20. WHATSAPP — a standing offer to talk, bottom right
   ========================================================================== */

.wa {
  position: fixed;
  right: clamp(1rem, 2.4vw, 2rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.15rem;
  background: rgb(7 7 6 / 0.86);
  border: 1px solid var(--gold-28);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  color: var(--warm-ivory);
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  transition:
    border-color var(--t-ui) var(--ease-out),
    background-color var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-out);
}
.wa:hover {
  border-color: var(--antique-gold);
  background-color: rgb(17 19 21 / 0.94);
  transform: translateY(-2px);
}
.wa svg { width: 1.35rem; height: 1.35rem; flex: none; fill: var(--antique-gold); }
.wa:hover svg { fill: var(--white); }

/* On small screens it becomes the mark alone, so it never covers the reading. */
@media (max-width: 600px) {
  .wa { padding: 0.85rem; }
  .wa__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa:hover { transform: none; }
}


/* ==========================================================================
   21. THE SHOP
   Filters, sorting and a product grid, in the same dark language as the rest.
   Everything runs client-side; there is no back end behind it.
   ========================================================================== */

.shop {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* --- Breadcrumb ---------------------------------------------------------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ivory-45);
}
.crumbs a:hover { color: var(--antique-gold); }
.crumbs [aria-current] { color: var(--warm-ivory); }

/* --- Sidebar ------------------------------------------------------------- */

.filters { position: sticky; top: calc(var(--masthead-h) + 1.5rem); }

.filter + .filter {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  padding-top: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 1px solid var(--ivory-10);
}

.filter__title {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
  margin-bottom: clamp(0.9rem, 1.6vw, 1.2rem);
}

.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.42rem 0;
  font-size: var(--body);
  font-weight: 200;
  color: var(--ivory-70);
  cursor: pointer;
  transition: color var(--t-micro) var(--ease-out);
}
.check:hover { color: var(--warm-ivory); }
.check input {
  appearance: none;
  width: 0.95rem; height: 0.95rem;
  flex: none;
  border: 1px solid var(--ivory-22);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
.check input:checked {
  border-color: var(--antique-gold);
  background:
    linear-gradient(45deg, transparent 42%, var(--antique-gold) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--antique-gold) 42% 58%, transparent 58%);
}
.check input:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }
.check__count { margin-left: auto; color: var(--ivory-22); font-variant-numeric: tabular-nums; }

/* --- Price range ---------------------------------------------------------- */

.range { padding-top: 0.4rem; }
.range__track {
  position: relative;
  height: 2px;
  margin: 0.9rem 0 1.4rem;
  background: var(--ivory-10);
}
.range__fill {
  position: absolute;
  top: 0; height: 2px;
  background: var(--antique-gold);
}
.range input[type="range"] {
  appearance: none;
  position: absolute;
  top: -8px; left: 0;
  width: 100%;
  height: 18px;
  margin: 0;
  background: none;
  pointer-events: none;   /* only the thumbs take input */
}
.range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--antique-gold);
  background: var(--obsidian);
  cursor: pointer;
}
.range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--antique-gold);
  background: var(--obsidian);
  cursor: pointer;
}
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 1px solid var(--white); outline-offset: 2px; }
.range__values {
  display: flex;
  justify-content: space-between;
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  color: var(--warm-ivory);
  font-variant-numeric: tabular-nums;
}

/* --- Search --------------------------------------------------------------- */

.search { position: relative; }
.search input {
  width: 100%;
  padding: 0.8rem 2.4rem 0.8rem 0.9rem;
  background: rgb(17 19 21 / 0.7);
  border: 1px solid var(--ivory-22);
  color: var(--warm-ivory);
  font-family: var(--sans);
  font-size: var(--body);
  font-weight: 300;
}
.search input::placeholder { color: var(--ivory-22); }
.search input:focus { outline: none; border-color: var(--antique-gold); }
.search input:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }
.search__icon {
  position: absolute;
  right: 0.8rem; top: 50%;
  transform: translateY(-50%);
  width: 0.95rem; height: 0.95rem;
  fill: none;
  stroke: var(--gold-60);
  stroke-width: 1.6;
  pointer-events: none;
}

/* --- Top rated ------------------------------------------------------------ */

.rated__item {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.75rem 0;
  align-items: start;
}
.rated__item + .rated__item { border-top: 1px solid var(--ivory-10); }
.rated__item img {
  width: 4rem; height: 4rem;
  object-fit: cover;
  background: var(--dark-steel);
}
.rated__price {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--warm-ivory);
  font-variant-numeric: tabular-nums;
}

.rated__name {
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 300;
  color: var(--ivory-70);
  transition: color var(--t-micro) var(--ease-out);
}
.rated__item:hover .rated__price {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--warm-ivory);
  font-variant-numeric: tabular-nums;
}

.rated__name { color: var(--warm-ivory); }

/* --- Toolbar -------------------------------------------------------------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  padding-bottom: clamp(1.2rem, 2.2vw, 1.8rem);
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--ivory-10);
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ivory-45);
}
.toolbar__count { margin-right: auto; font-variant-numeric: tabular-nums; }
.toolbar__count strong { color: var(--warm-ivory); font-weight: 400; }

.toolbar select {
  padding: 0.5rem 0.7rem;
  background: rgb(17 19 21 / 0.8);
  border: 1px solid var(--ivory-22);
  color: var(--warm-ivory);
  font-family: var(--sans);
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
}
.toolbar select:focus { outline: none; border-color: var(--antique-gold); }
.toolbar select:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }

.perpage { display: flex; gap: 0.55rem; align-items: baseline; }
.perpage button,
.density button {
  padding: 0.3rem 0.45rem;
  background: none;
  border: 0;
  color: var(--ivory-45);
  font-family: var(--sans);
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  cursor: pointer;
  transition: color var(--t-micro) var(--ease-out);
}
.perpage button:hover,
.density button:hover { color: var(--warm-ivory); }
.perpage button[aria-pressed="true"] { color: var(--antique-gold); }

.density { display: flex; gap: 0.2rem; }
.density button { display: flex; gap: 2px; align-items: center; padding: 0.45rem; }
.density span {
  display: block;
  width: 3px; height: 12px;
  background: currentColor;
  opacity: 0.55;
}
.density button[aria-pressed="true"] { color: var(--antique-gold); }
.density button[aria-pressed="true"] span { opacity: 1; }

/* --- Product grid --------------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: clamp(2rem, 3.4vw, 3.2rem) clamp(1.2rem, 2.4vw, 2.2rem);
}

.product { position: relative; display: flex; flex-direction: column; }

.product__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--dark-steel);
  margin-bottom: 1rem;
}
.product__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-film) var(--ease-out);
}
.product:hover .product__frame img { transform: scale(1.04); }

.product__flags {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.flag {
  padding: 0.32rem 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.flag--save { background: var(--antique-gold); color: var(--obsidian); }
.flag--out   { background: rgb(7 7 6 / 0.86); color: var(--ivory-70); border: 1px solid var(--ivory-22); }

.wish {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 2;
  width: 2rem; height: 2rem;
  display: grid;
  place-items: center;
  background: rgb(7 7 6 / 0.7);
  border: 1px solid var(--ivory-22);
  cursor: pointer;
  transition: border-color var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
.wish svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: var(--ivory-70); stroke-width: 1.5; }
.wish:hover { border-color: var(--antique-gold); }
.wish[aria-pressed="true"] svg { fill: var(--antique-gold); stroke: var(--antique-gold); }

.product__brand {
  font-size: var(--label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-60);
  margin-bottom: 0.45rem;
}
.product__name {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.26;
  color: var(--warm-ivory);
  text-wrap: balance;
}
.product__name a:hover { color: var(--white); }

.stars {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: var(--label);
  color: var(--ivory-45);
  font-variant-numeric: tabular-nums;
}
.stars__marks { position: relative; display: inline-block; letter-spacing: 0.12em; color: var(--ivory-22); }
.stars__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--antique-gold);
}

.product__price {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--warm-ivory);
  font-variant-numeric: tabular-nums;
}
.product__was {
  margin-right: 0.55rem;
  font-size: 0.82em;
  color: var(--ivory-22);
  text-decoration: line-through;
}
.product__unit {
  font-family: var(--sans);
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ivory-45);
}

.product__actions { margin-top: auto; padding-top: 1rem; }
.product--out .product__frame img { opacity: 0.42; }
.product--out .btn { opacity: 0.4; pointer-events: none; }

/* --- Pagination ----------------------------------------------------------- */

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.8rem, 3vw, 2.4rem);
  border-top: 1px solid var(--ivory-10);
}
.pager button {
  min-width: 2.4rem;
  padding: 0.55rem 0.7rem;
  background: none;
  border: 1px solid transparent;
  color: var(--ivory-45);
  font-family: var(--sans);
  font-size: var(--label);
  letter-spacing: var(--track-nav);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color var(--t-micro) var(--ease-out), border-color var(--t-micro) var(--ease-out);
}
.pager button:hover:not(:disabled) { color: var(--warm-ivory); border-color: var(--ivory-22); }
.pager button[aria-current="page"] { color: var(--antique-gold); border-color: var(--gold-28); }
.pager button:disabled { opacity: 0.3; cursor: default; }
.density button:disabled { opacity: 0.25; cursor: default; }

/* In a narrow column the order button must be able to wrap rather than push
   the grid wider than its container. */
.product .btn { flex-wrap: wrap; row-gap: 0.3rem; }
.product .btn::after { flex: none; }

/* --- Nothing found -------------------------------------------------------- */

.empty {
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
}
.empty h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--warm-ivory);
  margin-bottom: 0.9rem;
}
.empty p { color: var(--ivory-45); margin-bottom: 1.8rem; }

/* Sidebar toggle, phones only */
.filters-toggle { display: none; }


/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  :root { --shift: 5px; }

  .chapter--movement {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3rem);
  }
  .chapter--movement .chapter__figure { transform: none; }
  .chapter--movement .chapter__frame { aspect-ratio: 3 / 2; }

  .materials__aside {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    gap: 1.6rem;
  }
  .chapter__frame--wide { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .hero__track { height: 460vh; }

  /* Portrait-safe crops: the watch stays visible, never cropped out. */
  .hero__video,
  .hero__frame,
  .hero__still { object-position: center 45%; }

  .hero__content { padding-bottom: clamp(4rem, 11vh, 6rem); }
  .hero__indicator { display: none; }

  .hero__title-line--indent { font-size: 0.44em; letter-spacing: 0.22em; }

  .chapter__index { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .chapter__frame--wide { aspect-ratio: 4 / 3; }

  .specs { gap: 1.2rem 1.4rem; }

  .philosophy__figure img { object-position: 62% center; }
  .chapter--philosophy::before {
    background:
      linear-gradient(180deg, rgb(7 7 6 / 0.78) 0%, rgb(7 7 6 / 0.5) 40%, rgb(7 7 6 / 0.92) 100%);
  }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 420px) {
  .hero__track { height: 400vh; }
}

/* --- Interior pages ------------------------------------------------------ */

@media (max-width: 1024px) {
  .object,
  .contact { grid-template-columns: minmax(0, 1fr); }
  .object__frame { aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: clamp(19rem, 46vh, 26rem);
    align-items: end;
  }
  /* Portrait scrim runs top-to-bottom rather than left-to-right. */
  .page-hero::after {
    background:
      linear-gradient(180deg, rgb(7 7 6 / 0.80) 0%, rgb(7 7 6 / 0.45) 42%, var(--obsidian) 100%);
  }

  .details { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }

  /* One model at a time. Two columns at this width leaves the copy in a
     four-word ribbon and the buttons wrapping mid-label. */
  .models { grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 9vw, 4rem); }
  .model__frame { aspect-ratio: 3 / 2; }

  /* Shop: filters collapse behind a button, grid holds two columns so the
     page still reads as a shop rather than a list. */
  .shop { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .filters { position: static; }
  .filters[hidden] { display: none; }
  .filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    margin-bottom: 1.2rem;
    background: rgb(17 19 21 / 0.7);
    border: 1px solid var(--ivory-22);
    color: var(--warm-ivory);
    font-family: var(--sans);
    font-size: var(--label);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    cursor: pointer;
  }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .toolbar { font-size: 0.6rem; }
  .density { display: none; }

  /* The index becomes a stack; the date leads each entry. */
  .entry-link {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding-block: 1.6rem;
  }

  .spec__row { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }

  .legal-toc { columns: 1; }

  .pull { font-size: clamp(1.25rem, 5.5vw, 1.6rem); }
}

/* Coarse pointers get no cursor camera and no hover zoom. */
@media (hover: none), (pointer: coarse) {
  .hero__media { transform: scale(1.035); transition: none; }
  .chapter__frame:hover img { transform: scale(1); }
}


/* ==========================================================================
   23. REDUCED MOTION
   The site must remain beautiful without motion.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  /* Hero collapses to a single, static, monumental composition. */
  .hero__track { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 100vh; }

  .hero__video,
  .hero__frames { display: none; }

  .hero__still { opacity: 1; }

  .hero__media { transform: none; }

  /* All three beats read at once, in normal flow. */
  .hero__content {
    position: relative;
    display: block;
    padding-top: clamp(9rem, 22vh, 14rem);
  }
  .hero__beat {
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  }

  .hero__indicator { display: none; }

  /* Nothing is hidden behind a clip or a fade. */
  .chapter__frame,
  .chapter__frame--wide { clip-path: none !important; }

  .chapter__frame img,
  .philosophy__figure img { transform: none !important; }

  [data-reveal] .eyebrow,
  [data-reveal] .chapter__headline,
  [data-reveal] .chapter__copy,
  [data-reveal] .specs,
  [data-reveal] .materials__list,
  [data-reveal] .btn {
    opacity: 1 !important;
    transform: none !important;
  }

  .rule { transform: scaleX(1) !important; }

  [data-parallax] { transform: none !important; }
}
