/* Type ships with the page: latin subsets, self-hosted from Fontsource
   (SIL OFL). `font-display: swap` keeps text visible while a face arrives. */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/cinzel-400.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cinzel-500.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cinzel-600.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/geist-300.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-mono-500.woff2") format("woff2"); }

/* ============================================================
   CRUX ARGENT — The Cross Ring
   Design system: off-black / brushed silver / single ruby accent
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:        #0A0A0B;
  --ink-2:      #0F0F11;
  --ink-3:      #141416;
  --ink-4:      #1B1B1E;

  --silver:     #E9E7E4;
  --silver-2:   #A9A6A1;
  --silver-3:   #726F6B;

  --line:       rgba(233, 231, 228, .10);
  --line-2:     rgba(233, 231, 228, .20);

  --ruby:       #9E1C32;
  --ruby-2:     #B82440;
  --ruby-3:     #DE5A73;   /* ruby for small text on ink: --ruby-2 is under 4.5:1 there */

  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-sans:    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --shell:   1340px;
  --gutter:  clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(5rem, 10.5vw, 9.5rem);

  --ease:    cubic-bezier(.16, 1, .3, 1);
  /* how far each entrance is offset from the one above it, via --i */
  --reveal-step: 95ms;
  /* diameter of the jeweler's loupe; site.js reads it back off the element */
  --loupe-size: 190px;
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* The UA stylesheet gives figure a margin of 1em 40px. Left in place it insets
   every image on the page by 40px, which quietly defeats any full-bleed. */
figure { margin: 0; }

/* <picture> is inline by default, which collapses any height:100% on the
   image inside it. Every picture here is a sizing box for its image. */
picture { display: block; width: 100%; height: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: .015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; max-width: 62ch; }

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

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ruby); color: #fff; }

:focus-visible {
  outline: 1px solid var(--silver);
  outline-offset: 3px;
}

/* Film grain — fixed layer only, never inside a scroll container */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .038;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  will-change: transform;
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate3d(0,0,0); }
  20%  { transform: translate3d(-3%, 2%, 0); }
  40%  { transform: translate3d(2%, -3%, 0); }
  60%  { transform: translate3d(-2%, -2%, 0); }
  80%  { transform: translate3d(3%, 1%, 0); }
  100% { transform: translate3d(0,0,0); }
}

/* ---------- 3. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(4rem, 8vw, 7rem); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--silver);
  color: var(--ink);
  padding: .75rem 1.25rem;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- 4. Type utilities ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(.625rem, .72vw, .7rem);
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--silver-2);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.eyebrow::before {
  content: "";
  width: clamp(18px, 3vw, 40px);
  height: 1px;
  background: var(--ruby);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.h-display {
  font-size: clamp(2.1rem, 4.9vw, 4.15rem);
  letter-spacing: .008em;
}
.h-section {
  font-size: clamp(1.75rem, 3.9vw, 3.15rem);
  letter-spacing: .018em;
}
.h-minor {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  letter-spacing: .05em;
}

.lede {
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  color: var(--silver-2);
  line-height: 1.75;
}
.muted { color: var(--silver-2); }
.dim   { color: var(--silver-3); }

.statement {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(.8rem, 1vw, .88rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

/* Text for assistive technology only. Labels the markers in the photograph
   viewer and carries its live announcements; the skip link is a different
   thing, since that one becomes visible on focus. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: var(--silver);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), background-color .45s var(--ease),
              color .45s var(--ease), border-color .45s var(--ease), opacity .4s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 1; }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ruby);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: #fff; }
.btn:active { transform: translateY(1px) scale(.985); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--silver);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ruby); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* text link with wipe underline */
.link {
  position: relative;
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver-2);
  padding-bottom: .3rem;
  transition: color .4s var(--ease);
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.link:hover { color: var(--silver); }
.link:hover::after { transform: scaleX(1); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.1rem, 2vw, 1.6rem) var(--gutter);
  transition: background-color .6s var(--ease), border-color .6s var(--ease), padding .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 10, 11, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: .95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .72rem;
  flex: none;
}
.wordmark svg { width: 15px; height: auto; color: var(--ruby-2); }
.wordmark-text {
  font-family: var(--font-display);
  font-size: clamp(.8rem, 1.1vw, .95rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: .08em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
}
.nav-links a {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver-2);
  position: relative;
  padding-block: .35rem;
  transition: color .4s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ruby);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav-links a:hover { color: var(--silver); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

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

.nav-cta {
  display: none;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.35rem;
  border: 1px solid var(--line-2);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.nav-cta:hover { border-color: var(--ruby); background: var(--ruby); color: #fff; }
.nav-cta .mono { font-size: .68rem; opacity: .75; }

/* The menu button is the ring's own cross, set in its six stones: the long
   bar of four and the arms either side of the second. Opened, the stones
   travel into the corners of an X (the sixth sinks into the centre), so the
   mark that opens the menu is the same one that closes it. */
.menu-toggle {
  --u: 9px;                       /* one step of the stone grid */
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: radial-gradient(circle at 50% 38%, rgba(158,28,50,.22), rgba(158,28,50,.04) 70%);
  border: 1px solid rgba(222,90,115,.34);
  cursor: pointer;
  transition: border-color .5s var(--ease), background-color .5s var(--ease),
              box-shadow .5s var(--ease);
}
.menu-toggle i {
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 29%,
    rgba(255,226,219,.98) 0 12%, rgba(226,74,96,1) 38%,
    rgba(158,28,50,1) 70%, rgba(96,12,26,1) 100%);
  box-shadow: 0 0 6px rgba(216,54,76,.55);
  transform: translate(calc(var(--cx) * var(--u)), calc(var(--cy) * var(--u)));
  transition: transform .7s cubic-bezier(.34,1.56,.64,1) calc(var(--n) * 40ms),
              opacity .4s var(--ease) calc(var(--n) * 40ms),
              box-shadow .5s var(--ease);
}
/* where each stone rests as the cross, and where it goes as the X */
.menu-toggle i:nth-child(1) { --n: 0; --cx: 0;  --cy: -1.5; --ox: -1.35; --oy: -1.35; }
.menu-toggle i:nth-child(2) { --n: 1; --cx: -1; --cy: -.5;  --ox: -1.35; --oy: 1.35; }
.menu-toggle i:nth-child(3) { --n: 2; --cx: 0;  --cy: -.5;  --ox: 0;     --oy: 0; }
.menu-toggle i:nth-child(4) { --n: 3; --cx: 1;  --cy: -.5;  --ox: 1.35;  --oy: -1.35; }
.menu-toggle i:nth-child(5) { --n: 4; --cx: 0;  --cy: .5;   --ox: 1.35;  --oy: 1.35; }
.menu-toggle i:nth-child(6) { --n: 5; --cx: 0;  --cy: 1.5;  --ox: 0;     --oy: 0; }

.menu-toggle[aria-expanded="true"] {
  border-color: var(--ruby-3);
  background-color: rgba(158,28,50,.18);
  box-shadow: 0 0 18px rgba(216,54,76,.35), inset 0 0 12px rgba(216,54,76,.18);
}
.menu-toggle[aria-expanded="true"] i {
  transform: translate(calc(var(--ox) * var(--u)), calc(var(--oy) * var(--u))) scale(1.15);
  box-shadow: 0 0 9px rgba(222,90,115,.85);
}
.menu-toggle[aria-expanded="true"] i:nth-child(6) { opacity: 0; transform: scale(.2); }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: scale(1.5); }

/* a ring of light leaves the button each time it opens */
.menu-toggle::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--ruby-3);
  opacity: 0;
  pointer-events: none;
}
.menu-toggle[aria-expanded="true"]::after { animation: menuRing .9s var(--ease) 1; }
@keyframes menuRing {
  from { opacity: .8; transform: scale(1); }
  to   { opacity: 0;  transform: scale(1.7); }
}

/* the stones ripple down the cross under a pointer */
@media (hover: hover) {
  .menu-toggle:not([aria-expanded="true"]):hover { border-color: var(--ruby-3); }
  .menu-toggle:not([aria-expanded="true"]):hover i {
    animation: menuStone .9s var(--ease) calc(var(--n) * 70ms) 1;
  }
}
@keyframes menuStone {
  40% { box-shadow: 0 0 12px 2px rgba(255,140,160,.9); filter: brightness(1.35); }
}
.menu-toggle:focus-visible { outline: 2px solid var(--ruby-3); outline-offset: 4px; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: var(--ink);
  display: grid;
  align-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -1.5%, 0);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 8vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-block: .62rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .4s var(--ease);
}
.drawer a:hover { color: var(--ruby-2); }
.drawer.is-open a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 55ms + 120ms); }
.drawer-foot {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver-3);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: brightness(.82) contrast(1.06) saturate(.94);
  will-change: opacity;
}
/* On a phone the 16:9 frame crops to a sliver, so the hero is built as one
   screen-high column instead of a full-bleed backdrop. The video takes
   whatever height the copy leaves (flex: 1), so the ring is always the part
   of the picture that is visible, whatever the phone's height; the copy is
   then pulled up over the video's bottom edge, where a gradient has already
   faded it to solid ink, so the whole hero fits the first screen and the
   headline reads on ink rather than over the ring. On a short phone the
   paragraph steps aside, leaving the headline, the three words, the button
   and the price: still the whole pitch, and still inside the screen. */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 100dvh; }
  .hero-media { position: relative; inset: auto; flex: 1 1 auto; min-height: 17rem; }
  .hero-media video,
  .hero-media .hero-fallback { object-position: center 44%; }
  .hero-scrim { display: none; }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(10,10,11,.74) 0%, rgba(10,10,11,.14) 22%,
      rgba(10,10,11,.34) 54%, rgba(10,10,11,.82) 78%, var(--ink) 97%);
  }
  .hero::after { display: none; }
  .hero-inner { flex: none; margin-top: -4.5rem; padding: 0 0 1.5rem; }
  /* the copy is set tighter than on a desktop, so it takes less of the screen */
  .hero-copy > * + * { margin-top: .85rem; }
  .hero .eyebrow { letter-spacing: .17em; }
  .hero .lede { font-size: .95rem; line-height: 1.55; }
  .hero-actions { flex-wrap: nowrap; gap: 1rem 1.25rem; padding-top: .25rem; }
  .price-tag .note { display: none; }   /* the amount stays beside the button; "USD" is in the price section */
}
@media (max-width: 760px) and (max-height: 680px) {
  .hero .lede { display: none; }
}
/* Opacity follows playback time so each loop fades out fully before
   the opening frame gently fades back in. */
.hero-media video {
  opacity: 0;
}

/* Because the video starts at opacity 0, its own `poster` is never seen. This
   layer shows the poster, with the video's filter, until site.js marks the
   hero `.is-playing`, then fades out for good: the loop's seam must go to the
   dark page, not back to a still. */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-poster.jpg") center 34% / cover no-repeat;
  filter: brightness(.82) contrast(1.06) saturate(.94);
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.hero-media:not(.is-playing)::before { opacity: 1; }
@media (max-width: 760px) {
  .hero-media::before { background-position: center 44%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media::before { transition: none; }
}

/* slow continuous drift, independent of the loop point */
.hero-drift {
  position: absolute;
  inset: 0;
  transform-origin: 50% 34%;
  animation: drift 38s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-0.6%, -0.5%, 0); }
}

/* scrims: top for nav legibility, bottom-left for the headline */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-scrim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,10,11,.97) 0%, rgba(10,10,11,.90) 22%,
    rgba(10,10,11,.52) 42%, rgba(10,10,11,.08) 66%, rgba(10,10,11,.55) 100%);
}
.hero-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.62) 30%, rgba(10,10,11,.2) 52%, rgba(10,10,11,0) 70%),
    radial-gradient(105% 75% at 12% 95%, rgba(10,10,11,.92) 0%, rgba(10,10,11,0) 62%),
    radial-gradient(80% 60% at 52% 34%, rgba(158,28,50,.08) 0%, rgba(10,10,11,0) 72%);
}
/* seam between hero and the page below */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22vh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,10,11,0), var(--ink));
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
  padding-top: 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}

.hero-copy > * + * { margin-top: clamp(1.1rem, 2vw, 1.6rem); }
.hero h1 { max-width: 14ch; }

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .95rem;
}
.hero-sub .dot {
  width: 3px; height: 3px;
  background: var(--ruby-2);
  transform: rotate(45deg);
  flex: none;
}

/* shared row for a primary action plus whatever sits beside it */
.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  padding-top: .6rem;
}

.price-tag { display: flex; align-items: baseline; gap: .6rem; }
.price-tag .amount {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .01em;
}
.price-tag .note {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.hero-aside {
  display: none;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
}
@media (min-width: 980px) { .hero-aside { display: block; } }
.hero-aside dl { margin: 0; display: grid; gap: 1.05rem; }
.hero-aside div { display: grid; gap: .22rem; }
.hero-aside dt {
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ruby-3);
}
.hero-aside dd {
  margin: 0;
  font-size: .86rem;
  color: var(--silver);
  letter-spacing: .02em;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 6vh, 3.5rem);
  z-index: 3;
  display: none;
  align-items: center;
  gap: .9rem;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--silver-3);
  writing-mode: vertical-rl;
}
@media (min-width: 980px) { .scroll-cue { display: flex; } }
.scroll-cue i {
  display: block;
  width: 1px;
  height: 54px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--silver);
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- 9. Motion primitives ----------

   Two patterns, and every effect on the page is one or the other. Choosing
   wrongly is the mistake worth avoiding, so the difference is written out.

   ENTRANCE — plays once when the element arrives and then holds its final
   state. Driven by IntersectionObserver adding `.in` (site.js, "Scroll
   reveals") and a CSS transition. Correct here because the reveal must not
   rewind when the reader scrolls back up, and because an observer fires once
   rather than every frame. `.reveal` and `.reveal-mask` below.

   SCROLL-LINKED — progress tracks scroll position continuously, forwards and
   backwards, and resolves when the reader stops. Driven by a CSS
   scroll-driven animation on the compositor, never by a scroll handler
   (ADR-0001). `.sd-drift` below is the worked example; README, "Adding a
   scroll-driven effect", is the recipe.
   ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: calc(var(--i, 0) * var(--reveal-step));
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

/* The wipe is applied to the picture inside, never to the observed element
   itself. A clip-path hides an element from IntersectionObserver: it reports
   a zero-area intersection, so the observer never fires, so the class that
   would un-clip it is never added. The element stays invisible forever.
   Keeping the observed box unclipped breaks that deadlock.

   It also leaves the element free of a stacking context, which matters for
   anything blended inside it. */
.js .reveal-mask picture {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s var(--ease);
  transition-delay: calc(var(--i, 0) * var(--reveal-step));
}
.js .reveal-mask.in picture { clip-path: inset(0 0 0 0); }

/* --- Entrance: the heading mask wipe ---

   Headings arrive by rising from behind a clipping edge, one word after the
   next, instead of fading up. Add `.reveal-words` to any heading in any
   section; site.js wraps the words and the rest is here.

   The clip sits on a wrapper around each word and never on the heading
   itself. A clipped element reports a zero-area intersection, so the observer
   that would un-clip it never fires and it stays invisible forever — trap 1
   in the README, the same reason `.reveal-mask` clips the picture inside it
   rather than itself.

   `overflow: clip` rather than `hidden`, per trap 3: a hidden box is a scroll
   container, and one wrapped around every word would capture the view
   timeline of any scroll-driven effect placed inside a heading later.

   The spaces between words stay real text nodes, so the heading still wraps,
   still honours `text-wrap: balance`, and still reads aloud and copies as one
   sentence rather than as a column of fragments. */
/* Held back until site.js has wrapped the words. `defer` does not block
   first paint, so on a slow connection the heading would otherwise paint in
   place and then drop out of sight to be wiped back in. Opacity, not
   visibility or a clip, because a clipped element is invisible to the
   observer that would reveal it (trap 1). `.js` is set by a one-line script
   in the head, so a reader with JavaScript off still gets the heading. */
.js .reveal-words:not(.rw-ready) { opacity: 0; }

.reveal-words .reveal-word {
  display: inline-block;
  overflow: clip;
  /* `line-height: 1.04` leaves nothing below the baseline, so the clip edge
     would cut the feet off the glyphs. Borrow a little room and give it back
     to the layout. */
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.reveal-words .reveal-word > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform .85s var(--ease);
  /* --i staggers the block against its eyebrow, --w staggers word by word.
     52ms reads as a deliberate sequence; past about 80 it starts to drag. */
  transition-delay: calc(var(--i, 0) * var(--reveal-step) + var(--w, 0) * 52ms);
}
.reveal-words.in .reveal-word > span { transform: none; }

/* --- Scroll-linked: parallax drift on the three full-bleed plates ---

   Each image is cropped larger than its frame by `--sd-drift-scale`, so it
   never reveals its own edges while it drifts, and travels `--sd-drift-rate`
   of the distance it crosses. Both are set per image in index.html. README,
   "Adding a scroll-driven effect", is the recipe, and its trap 3 is the one
   that will cost you an afternoon — read it before adding another effect.

   The travel reproduces the per-frame handler this replaced: offset =
   rate x (scrollport height + element height) / 2, running from +offset as
   the image enters to -offset as it leaves. The scrollport half is `50dvh`,
   dynamic rather than `50vh`, because the handler re-read
   `window.innerHeight` every frame and a phone's retracting toolbar changes
   it; `view()` measures that same live scrollport, so the two must agree or
   the drift outruns its range. The element half is `50%`, because a
   percentage in `translate3d` resolves against the element's own
   untransformed box.

   The rates read .076 / .053 / .1 where the old handler was configured
   .07 / .05 / .09. The page has not changed speed: the handler measured each
   image's rect after writing its own transform onto that same image, so every
   frame fed its output back in and the drift settled at rate / (1 - rate x
   scale), 6-12% beyond the number. These values are that settled figure. To
   retune, pick the distance you want; there is no hidden factor left.

   Longhands, not the `animation` shorthand: the shorthand resets
   `animation-timeline`, so a later shorthand silently unbinds the timeline. */

/* The frame is the box whose travel drives the effect, and the subject of the
   timeline. What matters is its ANCESTORS: a view timeline is measured
   against the subject's nearest ancestor scroll container, and `overflow:
   hidden` makes one, so a cropping ancestor steals the timeline and the
   effect sits frozen. Naming the timeline does not prevent that; it only
   moves the subject. The cropping ancestor has to use `overflow: clip`
   instead. README, trap 3. */
.sd-frame {
  view-timeline-name: --sd-frame;
  /* `auto`, the default, shortens the range by the scroller's
     `scroll-padding` — 6rem here, for the sticky nav. Right for "is this
     heading clear of the nav", wrong for "how far has this travelled". */
  view-timeline-inset: 0;
}
.sd-drift { transform: scale(var(--sd-drift-scale)); }
@supports (animation-timeline: view()) {
  .sd-drift {
    animation-name: sd-drift;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: --sd-frame;
    /* inside the gate: browsers that skip the drift should not pay to
       promote three large images for an animation that never runs */
    will-change: transform;
  }
}
@keyframes sd-drift {
  from {
    transform: scale(var(--sd-drift-scale))
      translate3d(0, calc(var(--sd-drift-rate) * 50dvh + var(--sd-drift-rate) * 50%), 0);
  }
  to {
    transform: scale(var(--sd-drift-scale))
      translate3d(0, calc(var(--sd-drift-rate) * -50dvh - var(--sd-drift-rate) * 50%), 0);
  }
}

/* ---------- 10. Chapter (graduation) ---------- */
.chapter {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .chapter {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
}

.figure {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The chapter photograph. On a phone it runs the full width of the screen; from
   900px it is a framed plate: set in from the edge, with a hairline mat offset
   behind it for depth, and a loupe laid over its lower corner. */
.figure--chapter {
  margin-inline: calc(var(--gutter) * -1);
  aspect-ratio: 4 / 3;
}
.chapter-art { --lens: clamp(8.5rem, 14vw, 11.5rem); position: relative; }
.chapter-lens { display: none; }
@media (min-width: 900px) {
  .figure--chapter { position: relative; z-index: 1; margin: 0; aspect-ratio: 5 / 4; }
  .chapter-art::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(-1.1rem, 1.1rem);
    border: 1px solid var(--line-2);
    pointer-events: none;
  }
  .chapter-lens {
    display: grid;
    position: absolute;
    z-index: 2;
    right: -2.4rem;
    bottom: -2.9rem;
    margin: 0;
    width: var(--lens);
    justify-items: center;
    gap: 1.1rem;
  }
  /* the glass: a circle of the macro, the ink-coloured collar that separates it
     from the photograph, and a ruby hairline outside that */
  .lens-glass {
    position: relative;
    display: block;
    width: var(--lens);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ink-3);
    box-shadow:
      0 0 0 .4rem var(--ink),
      0 0 0 calc(.4rem + 1px) var(--ruby),
      0 1.4rem 2.6rem rgba(0, 0, 0, .5);
  }
  /* the picture is 2.3 lens-widths wide, positioned so the central ruby sits in the middle of the glass */
  .lens-glass img { position: absolute; width: 230%; max-width: none; height: auto; left: -65%; top: -5.8%; }
  .lens-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background:
      radial-gradient(circle at 28% 22%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 38%),
      radial-gradient(circle at 50% 50%, rgba(10,10,11,0) 62%, rgba(10,10,11,.45) 100%);
  }
  .chapter-lens figcaption {
    font-size: .6rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--silver-2);
    white-space: nowrap;
  }
}
.figure figcaption {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver-2);
  background: linear-gradient(to top, rgba(10,10,11,.85), rgba(10,10,11,0));
}

.copy-block > * + * { margin-top: clamp(1.1rem, 2vw, 1.5rem); }

.pull {
  border-left: 1px solid var(--ruby);
  padding-left: 1.25rem;
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  color: var(--silver);
  letter-spacing: .01em;
  line-height: 1.65;
}

/* ---------- 11. Product ----------
   Two wide 16:9 photographs carry this section, so it is built as two plates
   rather than a carousel: one full-bleed, one bleeding off a single edge. */
.product {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  /* `clip`, not `hidden`: both contain the edge-bleeding figure, but `hidden`
     also makes this a scroll container, and a scroll container between a
     scroll-driven effect's frame and the page captures its view timeline —
     the plate inside sat frozen until this changed. `clip` clips without
     scrolling. README, trap 3. */
  overflow: clip;
}

.product-head { max-width: 58ch; }
.product-head > * + * { margin-top: clamp(1rem, 1.8vw, 1.45rem); }

/* Plate one: edge to edge, the full width of the viewport. */
/* Height is set explicitly rather than with aspect-ratio: with a max-height
   the browser preserves the ratio by shrinking the WIDTH, which breaks the
   full-bleed. Fixing the height lets object-fit do the cropping instead. */
.plate {
  position: relative;
  width: 100%;
  height: clamp(17rem, 48vw, 74vh);
  margin-block: clamp(2.75rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--ink-3);
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.plate figcaption {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.6rem) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver-2);
  background: linear-gradient(to top, rgba(10,10,11,.8), rgba(10,10,11,0));
}

/* Specification block: labels left, the band story beside them. */
.product-detail { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); }
@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }
}

/* Plate two: the floating stones, bleeding off the right edge. */
.stones {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(4rem, 9vw, 7rem);
}
@media (min-width: 900px) {
  .stones {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}
.stones-copy > * + * { margin-top: clamp(1rem, 1.8vw, 1.4rem); }

/* The render is blended, so it has no visible edge. Bleeding it off the page
   therefore never read as a bleed, only as a picture that had lost its
   margin. It is presented as a lit vitrine instead: centred in its column,
   with hairline corners marking the case.

   Nothing between here and the image may carry a transform, opacity or
   filter. Each of those forms an isolated group, which would cut the image's
   screen blend off from the page behind it and bring the black rectangle
   straight back. That is why the ambient motion lives on the light pool. */
.stones-figure {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3.2vw, 2.75rem);
}


/* the case: four hairline corners, drawn in after the image arrives */
.stage-frame { position: absolute; inset: 0; pointer-events: none; }
.stage-frame i {
  position: absolute;
  width: clamp(16px, 2.2vw, 28px);
  height: clamp(16px, 2.2vw, 28px);
  border: 0 solid var(--line-2);
  opacity: 0;
  transform: scale(.45);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(.45s + var(--i, 0) * 90ms);
}
.stage-frame i:nth-child(1) {
  top: 0; left: 0;
  border-top-width: 1px; border-left-width: 1px;
  transform-origin: top left;
}
.stage-frame i:nth-child(2) {
  top: 0; right: 0;
  border-top-width: 1px; border-right-width: 1px;
  transform-origin: top right;
}
.stage-frame i:nth-child(3) {
  bottom: 0; right: 0;
  border-bottom-width: 1px; border-right-width: 1px;
  transform-origin: bottom right;
}
.stage-frame i:nth-child(4) {
  bottom: 0; left: 0;
  border-bottom-width: 1px; border-left-width: 1px;
  transform-origin: bottom left;
}
.stones-figure.in .stage-frame i { opacity: 1; transform: scale(1); }

/* Wraps the image exactly, so the marker overlay can sit on inset: 0, and
   carries the drift. The overlay rides inside it, so the markers stay locked
   to their stones while the whole thing breathes. */
.stones-stage {
  position: relative;
  animation: stoneDrift 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes stoneDrift {
  from { transform: translate3d(0, 4px, 0); }
  to   { transform: translate3d(0, -4px, 0); }
}
/* No blend mode here on purpose. The screen composite against --ink-2 is
   baked into the file by scripts/build_assets.py, so the image's background
   already equals the page and the rectangle is invisible. Doing it in CSS
   instead left the blend at the mercy of any ancestor forming an isolated
   group, and the reveal's own clip-path was enough to do exactly that. */
.stones-figure img { width: 100%; }

/* What the price covers: a heading with a rule running out from it, over a grid
   of terms, so a Weight row added later is one more tile and changes nothing
   else. The heading is no longer a column of its own: that column was empty
   space beside a list that wrapped. */
.value { margin-top: clamp(3rem, 6vw, 5rem); }
.value-head {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}
.value-head h3 { flex: none; }
.value-rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(184,36,64,.7), rgba(233,231,228,.12) 60%, rgba(233,231,228,0));
}

/* Closing price + action, set off by a single rule. */
.product-close {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 760px) {
  .product-close { grid-template-columns: minmax(0, 1fr) auto; }
}
.product-close p { font-size: .9rem; max-width: 48ch; }

.spec-list { border-top: 1px solid var(--line); margin: 0; }
.spec-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-list dt {
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver-3);
}
.spec-list dd {
  margin: 0;
  font-size: .9rem;
  color: var(--silver);
  letter-spacing: .01em;
}

/* The specification ledger (the band's table). A phone gets single-line rows
   with a narrow label column, so nothing wraps and nothing is wasted; a wider
   list becomes a two-column grid of tiles, label over value. Which one it is
   depends on the list's own width (a container query), so it is right in the
   half-width desktop column and on a full-width phone alike. The rule under
   each row starts in ruby and fades to nothing, so the table reads as a
   ledger and not as a grid of boxes. Short values are the other half of
   "does not wrap": the copy is kept to a line. */
.spec-list--ledger,
.spec-list--tiles {
  border-top: 0;
  display: grid;
  column-gap: 2.25rem;
}
.spec-list--ledger { container-type: inline-size; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.spec-list--ledger div,
.spec-list--tiles div {
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: .75rem;
  padding-block: .6rem;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, rgba(184,36,64,.55), rgba(233,231,228,.10) 55%, rgba(233,231,228,0)) 1;
}
.spec-list--ledger dt,
.spec-list--tiles dt {
  font-size: .6rem;
  color: var(--ruby-3);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.spec-list--ledger dt::before,   /* the same small ruby diamond as the hero's three words */
.spec-list--tiles dt::before {
  content: "";
  width: 3px; height: 3px;
  background: var(--ruby-2);
  transform: rotate(45deg);
  flex: none;
}
.spec-list--ledger dd,
.spec-list--tiles dd { font-size: .86rem; line-height: 1.4; }
.spec-list--ledger dd.mono { letter-spacing: .02em; }
@container (min-width: 30rem) {
  .spec-list--ledger div { grid-template-columns: 1fr; gap: .3rem; padding-block: .75rem .8rem; }
  /* seven items: the last one, the price, takes the full row instead of leaving a hole */
  .spec-list--ledger div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .spec-list--ledger div:last-child dd { font-size: 1rem; }
}

/* The tiles are label over value at every width, because these values are
   longer than the ledger's and a label column beside them would make them
   wrap: one column on a phone, two on a tablet, three on a desktop. */
.spec-list--tiles { grid-template-columns: 1fr; }
.spec-list--tiles div { grid-template-columns: 1fr; gap: .3rem; padding-block: .7rem .8rem; }
@media (min-width: 720px) { .spec-list--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .spec-list--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 12. Stone keys ----------
   The numbers are an annotation key for the exploded view beside them: each
   one marks its own stone in the photograph. */
.count-row { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .4rem; }

.stone-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  position: relative;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 400;
  color: var(--silver-3);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .45s var(--ease), color .45s var(--ease),
              transform .45s var(--ease);
}
/* the fill rises from the bottom, matching .btn */
.stone-key::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ruby);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.stone-key:hover { border-color: var(--line-2); color: var(--silver); }
.stone-key:active { transform: translateY(1px) scale(.96); }
.stone-key[aria-pressed="true"] {
  border-color: var(--ruby);
  color: #fff;
}
.stone-key[aria-pressed="true"]::before { transform: scaleY(1); }

.stone-caption {
  margin-top: 1.1rem;
  min-height: 2.9em;
  font-size: .8rem;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--silver-3);
  transition: color .4s var(--ease);
}
.stone-caption .mono {
  color: var(--ruby-2);
  margin-right: .55rem;
  font-size: .72rem;
}
.stone-caption.is-named { color: var(--silver-2); }

/* The hairline from the selected key to its stone. Coordinates come from
   site.js in pixels (no viewBox), so one unit is one CSS pixel and a stroke of
   1 is a true hairline. It draws by its dash offset; under reduced motion the
   transition is switched off in section 20 and the line simply appears. */
.stone-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}
.stone-link line {
  stroke: var(--ruby-2);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset .8s var(--ease), opacity .35s var(--ease);
}
.stone-link.is-on line { stroke-dashoffset: 0; opacity: .85; }

/* Marker overlay, laid directly over the photograph. The viewBox matches the
   image, so the markers track it at every size without any JS on resize. */
.stone-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
/* The group itself is never given a fractional opacity. In SVG that would
   isolate the group, and the bloom's screen blend would then composite against
   the group rather than against the photograph underneath it. The fade lives
   on the ring, which has no blend mode and so does not care. */
.stone-mark .ring {
  fill: none;
  stroke: var(--ruby-2);
  stroke-width: 7;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: opacity .4s var(--ease), stroke-dashoffset .62s var(--ease-io);
}
.stone-mark.is-hint .ring { opacity: .45; stroke-dashoffset: 0; }
.stone-mark.is-on   .ring { opacity: 1;   stroke-dashoffset: 0; }

/* The bloom is the stone catching the light. Screen adds light rather than
   painting over it, which is why it reads as a highlight and not a sticker. */
.stone-mark .bloom {
  opacity: 0;
  mix-blend-mode: screen;
  transform-box: fill-box;
  transform-origin: center;
}

/* A single ring travelling outward once, on click. One ripple reads as a
   confirmation; a shower of particles would read as a toy. */
.stone-mark .ripple {
  fill: none;
  stroke: var(--ruby-2);
  stroke-width: 5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .stone-mark .ring { stroke-dashoffset: 0 !important; }
  .stone-link line { transition: none !important; }
  .stage-frame i { opacity: 1 !important; transform: none !important; }
  .stones-stage { animation: none !important; transform: none !important; }
}

/* ---------- 13. Full-bleed editorial ---------- */
.bleed {
  position: relative;
  min-height: clamp(30rem, 72vh, 46rem);
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--ink);
}
.bleed-media { position: absolute; inset: 0; z-index: 0; overflow: clip; }
.bleed-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(10,10,11,.97) 0%, rgba(10,10,11,.88) 32%,
    rgba(10,10,11,.35) 62%, rgba(10,10,11,.6) 100%);
}
@media (max-width: 760px) {
  .bleed::before {
    background: linear-gradient(to top,
      rgba(10,10,11,.97) 18%, rgba(10,10,11,.6) 70%, rgba(10,10,11,.75) 100%);
  }
}
.bleed-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(4rem, 9vw, 7rem); }
.bleed-copy { max-width: 46ch; }
.bleed-copy > * + * { margin-top: clamp(1.1rem, 2vw, 1.5rem); }

/* ---------- 14. The photograph viewer ----------
   One plate at a time, in a frame that takes the shape of whatever is in it.

   Five of the six photographs are landscape and one is portrait. A frame of
   one fixed shape has to either crop the odd one or mat it with bars, and
   cropping it is what made the old strip worth replacing. So the frame
   resizes instead: site.js measures each plate and sets the well, every
   photograph fills it edge to edge, and nothing is cut off. Only the width
   moves — the height is constant — so the frame grows around a fixed centre
   rather than shunting the page about.

   Everything here is additive. Every plate is in the markup, so without
   JavaScript the section is six captioned photographs in a column; the
   `.js` class is what collapses them into a viewer. ---------- */
.viewer-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* The note is a placard under the frame, the width of the frame (site.js sets
   it with the frame's), tinted ruby and in ruby type, so it reads as a label
   on the plate rather than as copy competing with the photograph. It is the
   quietest text in the section on purpose. */
.viewer-note {
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: .85rem 1.2rem;
  border: 1px solid rgba(222,90,115,.2);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(158,28,50,.16), rgba(158,28,50,.07));
  box-shadow: inset 0 1px 0 rgba(222,90,115,.12);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--silver-3);
  text-align: center;
  text-wrap: balance;
}
.viewer-note strong { font-weight: 500; color: var(--ruby-3); }
.js .viewer-note { transition: width .55s var(--ease); }
.js .viewer.is-resizing .viewer-note { transition: none; }
.viewer-note { margin-top: .25rem; }

/* The section takes the screen. `svh`, not `vh`: on a phone `vh` is the
   large viewport, so a 100vh section stands taller than the screen while
   the toolbar is showing and the frame loses its feet. */
.js .viewer-section {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* an auto column would hold the frame's old width */
  align-content: center;
  padding-block: clamp(2rem, 5vh, 4rem);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}
/* `minmax(0, 1fr)` and `min-width: 0`: a grid column will not shrink below
   its content, and the frame's content is a width in pixels. Without them the
   column keeps the width the frame had on a wide window, and the frame runs
   off the edge of a narrow one. */
.js .viewer-section > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vh, 2.5rem);
}
.js .viewer-section > .shell > * { min-width: 0; }
.js .viewer-head { margin-bottom: 0; }

/* This is the only section on the page that snaps, and only by proximity:
   it takes hold once the reader is already close and otherwise keeps out
   of the way. */
.js { scroll-snap-type: y proximity; }
/* A snap target taller than the screen is a trap — centring it puts both
   edges out of view and the snap pulls back against every attempt to reach
   them. On a short viewport, a phone held sideways, the section outgrows
   the screen, so it stops snapping. */
@media (max-height: 640px) {
  .js .viewer-section { scroll-snap-align: none; }
}

.viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vh, 1.75rem);
  justify-items: center;
}
.viewer > * { min-width: 0; }
/* while the window is being dragged the frame follows it, not a half-second behind */
.js .viewer.is-resizing .viewer-well,
.js .viewer.is-resizing .viewer-foot { transition: none; }

.viewer-frame {
  justify-self: center;
  max-width: 100%;
  padding: clamp(.7rem, 1.4vw, 1.1rem);
  border-radius: 18px;
  background:
    linear-gradient(160deg, #26262a 0%, #141417 38%, #1d1d21 68%, #0f0f12 100%);
  box-shadow:
    inset 0 1px 0 rgba(233,231,228,.16),
    inset 0 0 0 1px rgba(0,0,0,.6),
    0 24px 60px rgba(0,0,0,.55);
}
.viewer-well {
  position: relative;
  border-radius: 10px;
  overflow: clip;
  background: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.9),
    inset 0 2px 5px rgba(0,0,0,.75),
    0 0 0 1px rgba(233,231,228,.1);
}
.js .viewer-well {
  /* width and aspect-ratio are set per plate in site.js; the height follows */
  max-width: 100%;
  height: auto;
  transition: width .55s var(--ease);
  touch-action: pan-y;          /* the page keeps its vertical scroll */
}

.viewer-plate { margin: 0; }
.viewer-plate picture { display: block; width: 100%; height: 100%; }
.viewer-plate img {
  width: 100%; height: 100%;
  object-fit: cover;            /* the well already matches the ratio */
  filter: saturate(.86) contrast(1.02);
}
.js .viewer-plate {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.js .viewer-plate.is-current { opacity: 1; pointer-events: auto; }
/* The caption each figure carries is for a reader without JavaScript. With
   it, the same text is shown once, below the frame. */
.js .viewer-plate figcaption { /* see .sr-only */
  position: absolute; width: 1px; height: 1px;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.viewer-foot { display: none; }
.js .viewer-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: 100%;
}
.js .viewer-foot { transition: width .55s var(--ease); }  /* width set with the frame's */
.viewer-caption {
  margin: 0;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--silver-3);
}
.viewer-caption .mono { color: var(--silver-2); margin-right: .8rem; }

/* --- The markers ---
   One cut stone per photograph: a bright table catching the light at the top
   left, the body of the ruby below it, a dark girdle. The lit one glows from
   within, the same gesture the stone keys make on the exploded plate. */
.viewer-marks { display: flex; align-items: center; gap: clamp(.7rem, 1.4vw, 1.05rem); }
.viewer-mark {
  width: 11px; height: 11px; padding: 0; border: 0;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle at 34% 29%,
      rgba(255,226,219,.95) 0 12%,
      rgba(226,74,96,.95) 34%,
      rgba(158,28,50,1) 66%,
      rgba(96,12,26,1) 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.55);
  opacity: .42;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.viewer-mark:hover { opacity: .75; }
.viewer-mark.is-on {
  opacity: 1;
  transform: scale(1.25);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.4),
    0 0 10px 1px rgba(216,54,76,.65),
    0 0 26px 6px rgba(158,28,50,.32);
}
.viewer-mark:focus-visible { outline: 2px solid var(--ruby); outline-offset: 5px; }

@media (max-width: 760px) {
  .viewer-foot { justify-content: center; gap: .9rem; }
  .viewer-caption { order: 2; width: 100%; text-align: center; }
  .viewer-marks { order: 1; }
  .viewer-mark { width: 13px; height: 13px; }   /* a finger needs more than 11px */
}

/* --- The jeweler's loupe ---
   A round window that magnifies the plate from the source file rather than
   from the pixels on screen. The bench photographs are built larger than the
   rest of the site's images for exactly this reason; see the note in
   scripts/build_assets.py. */
.loupe {
  position: fixed;
  top: 0; left: 0;
  width: var(--loupe-size);
  height: var(--loupe-size);
  border-radius: 50%;
  overflow: clip;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  background-color: var(--ink-3);
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(233,231,228,.22),
    0 0 0 7px rgba(10,10,11,.55),
    0 18px 50px rgba(0,0,0,.6);
  transition: opacity .22s var(--ease);
}
.loupe.is-on { opacity: 1; }
/* The magnified plate. Sized once when the lens opens and moved by transform
   after that, so a pointer move costs two composited transforms rather than
   repainting the whole disc. */
.loupe-shot {
  position: absolute; top: 0; left: 0;
  max-width: none;
  will-change: transform;
}
/* a faint glass edge, so it reads as a lens rather than a cut-out */
.loupe::after {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(255,255,255,.13), rgba(255,255,255,0) 46%);
}

/* ---------- 15. Chivalry / emblem ---------- */
.emblem-wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .emblem-wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
}
/* The seal strikes itself in sequence: rim, then field, then the cross, then
   the stones are set one at a time, then the inscription. */
.emblem {
  width: min(100%, 340px);
  margin-inline: auto;
  color: var(--silver-2);
}

/* engine-turned field */
.em-field {
  opacity: 0;
  transition: opacity 1.9s var(--ease) .5s;
}
.emblem.in .em-field { opacity: .2; }
.em-field circle {
  fill: none;
  stroke: currentColor;
  stroke-width: .5;
  vector-effect: non-scaling-stroke;
}

/* rim */
.em-rim {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.5s var(--ease-io);
  transition-delay: calc(var(--i, 0) * 190ms);
}
.emblem.in .em-rim { stroke-dashoffset: 0; }
.em-hair { stroke-width: .55; opacity: .45; }

/* the ring's own cross, given a whisper of fill so it holds its shape
   against the guilloche behind it */
.em-cross {
  fill: rgba(233, 231, 228, 0);
  stroke: var(--silver);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s var(--ease-io) .8s,
              fill 1.1s var(--ease) 2.1s;
}
.emblem.in .em-cross {
  stroke-dashoffset: 0;
  fill: rgba(233, 231, 228, .055);
}

/* each stone is set, with a little overshoot as it seats */
.em-stone {
  fill: var(--ruby);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(.25);
  transition: opacity .55s var(--ease),
              transform .72s cubic-bezier(.34, 1.5, .64, 1);
  transition-delay: calc(2.15s + var(--i) * 115ms);
}
.emblem.in .em-stone { opacity: 1; transform: scale(1); }

.em-ornament {
  fill: var(--ruby);
  opacity: 0;
  transition: opacity .9s var(--ease) 2.7s;
}
.em-ornament circle { fill: var(--silver-3); }
.emblem.in .em-ornament { opacity: 1; }

/* a slow glint travelling the rim, the one piece of perpetual motion */
.em-glint {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 54 1165;      /* rim circumference is about 1219 */
  opacity: 0;
  transition: opacity 1.2s var(--ease) 3s;
}
.em-spin {
  transform-box: view-box;
  transform-origin: 200px 200px;
}
.emblem.in .em-glint { opacity: .26; }
.emblem.in .em-spin { animation: emSpin 19s linear 3s infinite; }
@keyframes emSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .emblem.in .em-spin { animation: none !important; }
  .emblem .em-rim, .emblem .em-cross { stroke-dashoffset: 0 !important; }
  .emblem .em-stone { opacity: 1 !important; transform: none !important; }
  .emblem .em-field { opacity: .2 !important; }
  .emblem .em-ornament { opacity: 1 !important; }
}

/* ---------- 16. Acquire ---------- */
.acquire { background: var(--ink-2); border-top: 1px solid var(--line); }

.acquire-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .acquire-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.price-display .amount {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
}
.price-display .currency {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.includes { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.includes li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: .4rem;
  padding-block: .85rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--silver-2);
  list-style: none;
}
.includes li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--ruby);
  transform: rotate(45deg) translateY(.65rem);
  align-self: start;
}

.gift-note {
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(158, 28, 50, .05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.gift-note p { font-size: .86rem; color: var(--silver-2); }
.gift-note h3 { margin-bottom: .5rem; font-size: .76rem; letter-spacing: .22em; }

/* ---------- 17. Form ---------- */
/* A two-column grid that is sized by the form itself, not the window: the form
   sits in a narrow column beside the price on a desktop and spans the screen on
   a phone, so only a container query knows how much room it really has. Short
   answers (phone, size) share a row at any width; the others pair up once
   there is room for a select to read in full ("A gift for a graduate"). Where
   container queries aren't supported the pairs simply stay one per row. */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem .9rem;
  container-type: inline-size;
  align-items: start;
}
.form > * { grid-column: 1 / -1; }
.form > .field--half { grid-column: auto; }
@container (min-width: 30rem) {
  .form > .field--duo { grid-column: auto; }
}

.field { display: grid; gap: .4rem; }
.field label {
  line-height: 1rem;  /* absolute, so a larger hint inside can't make one label's row taller than its neighbour's */
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver-3);
}
.field .hint { font-size: .72rem; color: var(--silver-3); letter-spacing: .02em; text-transform: none; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .01em;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
/* one height for inputs and selects, so a row of them sits level */
.field input, .field select { height: 3rem; }
.field textarea { min-height: 4.5rem; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23726F6B' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.field select option { background: var(--ink-3); color: var(--silver); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--silver-3);
  background: var(--ink-3);
}
.field input::placeholder, .field textarea::placeholder { color: #4A4845; }

.field .err {
  font-size: .72rem;
  color: var(--ruby-2);
  letter-spacing: .04em;
}
.field .err:empty { display: none; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: var(--ruby); }

.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.counter { line-height: 1rem; font-family: var(--font-mono); font-size: .68rem; color: var(--silver-3); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.form-foot .dim { font-size: .72rem; max-width: 34ch; }

.form-status {
  display: none;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--ruby);
  font-size: .84rem;
  letter-spacing: .02em;
}
.form-status.is-shown { display: block; }

.form-success {
  display: none;
  border: 1px solid var(--line-2);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  background: var(--ink-3);
}
.form-success.is-shown { display: block; animation: riseIn .8s var(--ease) both; }
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: none; }
}
.form-success h3 { margin-bottom: .9rem; }
.form-success p + p { margin-top: .8rem; }

/* button loading state */
.btn .spin {
  display: none;
  width: 12px; height: 12px;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-busy .spin { display: block; }
.btn.is-busy { pointer-events: none; opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 18. FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.1rem, 2vw, 1.5rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1.35vw, 1.08rem);
  text-transform: uppercase;
  letter-spacing: .055em;
  color: var(--silver-2);
  transition: color .4s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--silver); }
.faq summary i { position: relative; width: 11px; height: 11px; flex: none; }
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 11px; height: 1px;
  background: var(--silver-2);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details[open] summary i::before,
.faq details[open] summary i::after { background: var(--ruby-2); }
.faq .answer p {
  padding-bottom: clamp(1.2rem, 2vw, 1.6rem);
  font-size: .92rem;
  color: var(--silver-2);
  max-width: 58ch;
}

/* ---------- 19. Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--ink);
}
.footer-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
  }
}
.footer h4 {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--silver-3);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer ul a { font-size: .84rem; color: var(--silver-2); transition: color .4s var(--ease); }
.footer ul a:hover { color: var(--silver); }

.footer-note {
  margin-top: .95rem;
  font-size: .78rem;
  color: var(--silver-3);
  max-width: 44ch;
  line-height: 1.65;
}

.footer-base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver-3);
}

/* ---------- 20. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .reveal-mask, .reveal-mask picture { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  /* site.js does not wrap the words at all when this is set, so there is
     usually nothing here to neutralise. This covers the reader who turns the
     preference on after the page has loaded. */
  .reveal-words .reveal-word > span { transform: none !important; transition: none !important; }
  /* A scroll-driven animation takes its progress from its timeline, not from
     the clock, so the blanket `animation-duration` override above does not
     stop one — it would keep running at full strength. Every `sd-*` effect
     must be named here to be disabled; tests/motion.test.mjs fails when one
     isn't. */
  .sd-drift { animation-name: none !important; animation-timeline: none !important; }

  /* The viewer keeps its layout and loses its motion: plates cut over
     instead of fading, the frame resizes without easing, and the section
     stops snapping. The lens is not built at all — site.js checks the same
     preference — because a magnifier that chases the pointer is motion
     however it is dressed. */
  .js { scroll-snap-type: none !important; }
  .js .viewer-plate, .js .viewer-well, .js .viewer-foot,
  .viewer-mark { transition: none !important; }

  .emblem path, .emblem line { stroke-dashoffset: 0 !important; }
  .emblem circle { opacity: 1 !important; }
  .hero-drift { animation: none !important; }
}
