/* ==========================================================================
   Gilt & Ink — main stylesheet
   1  Fonts            5  Header & menu      9  Sections (work … contact)
   2  Tokens           6  Hero + intro       10 Footer
   3  Base             7  Background         11 Viewer
   4  Shared parts     8  Cursor             12 Reduced motion
   ========================================================================== */

/* ── 1 · Fonts ──────────────────────────────────────────────────────────────
   Official Fontshare WOFF2 files, unmodified (ITF Free Font License forbids
   subsetting). Fallbacks are size-adjusted to Zodiak/Switzer metrics so the
   swap moves nothing (values from tools/fallback-metrics). */
@font-face {
  font-family: 'Zodiak';
  src: url('/assets/fonts/Zodiak-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('/assets/fonts/Zodiak-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/assets/fonts/Switzer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/assets/fonts/Switzer-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak Fallback';
  src: local('Georgia');
  size-adjust: 112.59%;
  ascent-override: 87.93%;
  descent-override: 24.87%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Switzer Fallback';
  src: local('Arial'), local('ArialMT');
  size-adjust: 101.24%;
  ascent-override: 96.8%;
  descent-override: 24.69%;
  line-gap-override: 0%;
}

/* ── 2 · Tokens ───────────────────────────────────────────────────────────── */
:root {
  /* palette */
  --ink: #0a0a0a;
  --navy: #0f172a;
  --parchment: #f4eade;
  --gilt: #c69b3c;
  --oxblood: #6e1423;
  --silver: #bfc1c2;
  --taupe: #8a7968;
  /* derived for contrast — see README › Colour */
  --gilt-deep: #7a5a1c; /* gold-family text on parchment, 5.3:1 */
  --taupe-deep: #6b5c4e; /* muted text on parchment, 5.4:1 */
  --oxblood-lift: #c25b6c; /* error text on ink, 4.7:1 */
  --muted: #9a9ea6; /* quiet small text on navy areas, ≥5.5:1 */
  --gilt-light: #ecd08c; /* highlight only, never text */

  /* tier materials (pricing ruler, tier edges, quote result) */
  --m-bronze: linear-gradient(90deg, #6d5d4e, #8a7968 45%, #a5917c);
  --m-silver: linear-gradient(90deg, #9da0a2, #bfc1c2 45%, #e2e3e4);
  --m-gold: linear-gradient(90deg, #a97e2a, #c69b3c 45%, #dcb862);
  --m-platinum: linear-gradient(90deg, #e3d6c4, #f4eade 50%, #fffaf3);
  --m-blackgilt: linear-gradient(var(--gilt) 0 1.5px, var(--oxblood) 1.5px calc(100% - 1.5px), var(--gilt) 0);

  --line: rgb(138 121 104 / 0.42);
  --line-strong: rgb(244 234 222 / 0.3);
  --focus: var(--gilt);

  --serif: 'Zodiak', 'Zodiak Fallback', Georgia, serif;
  --sans: 'Switzer', 'Switzer Fallback', Arial, sans-serif;

  /* type scale (360 → 1440px, capped) */
  --fs-small: 0.875rem;
  --fs-body: clamp(1rem, 0.93rem + 0.3vw, 1.125rem);
  --fs-ui: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  --fs-statement: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
  --fs-price: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem);
  --fs-motto: clamp(1.75rem, 1.25rem + 1.7vw, 2.75rem);

  /* radius by hierarchy: pill = primary action, lg = panels,
     md = secondary buttons & inputs, sm = chips, xs = paper */
  --r-pill: 999px;
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-xs: 3px;

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 105rem;
  --hdr-h: 4rem;
  --section: clamp(6rem, 11vw, 11rem);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-ui: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-ink: cubic-bezier(0.45, 0.05, 0.25, 1);
  --ease-land: cubic-bezier(0.18, 1.12, 0.32, 1);
}
@media (min-width: 64rem) {
  :root {
    --hdr-h: 4.75rem;
  }
}

/* ── 3 · Base ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--ink);
  color: var(--parchment);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--hdr-h) + 1rem);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: clip;
}
body {
  margin: 0;
  min-height: 100svh;
  font: 400 var(--fs-body) / 1.6 var(--sans);
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
fieldset,
legend {
  margin: 0;
  padding: 0;
}
fieldset {
  border: 0;
  min-width: 0;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}
p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: var(--gilt);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
main:focus,
[tabindex='-1']:focus {
  outline: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 400;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--parchment);
  color: var(--ink);
  font: 500 var(--fs-ui) / 1 var(--sans);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-expo);
}
.skip:focus-visible {
  transform: none;
  outline-color: var(--gilt);
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
/* Language switch: a quick crossfade while every text is replaced. */
main,
.ftr,
.hdr__end,
.hdr__mail,
.menu__panel {
  transition: opacity 0.18s var(--ease-ui);
}
.is-switching :is(main, .ftr, .hdr__end, .hdr__mail, .menu__panel) {
  opacity: 0;
}

/* ── 4 · Shared parts ─────────────────────────────────────────────────────── */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.h2 {
  font: 400 var(--fs-h2) / 1 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--silver);
  max-width: 34em;
}

/* Buttons. Primary = parchment pill; on hover a gilt leaf sweeps in from the
   left with a slanted edge (the "finishing pass"). Secondary = 12px radius,
   navy fill fades in. Pressed: scale. Magnetic pull uses `translate`, so it
   never fights the press `transform`. */
.btn {
  --btn-h: 3.25rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: var(--btn-h);
  padding: 0 1.65rem;
  border-radius: var(--r-pill);
  font: 500 var(--fs-ui) / 1.1 var(--sans);
  letter-spacing: 0.005em;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease-ui),
    color 0.35s var(--ease-ui),
    border-color 0.35s var(--ease-ui),
    background-color 0.35s var(--ease-ui);
}
.btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -2px -30%;
  transform: translateX(-102%) skewX(-22deg);
  transition: transform 0.7s var(--ease-expo);
}
.btn:hover::before {
  transform: translateX(0) skewX(-22deg);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--parchment);
  color: var(--ink);
}
.btn--primary::before {
  background: linear-gradient(100deg, #b88a31 0%, var(--gilt) 40%, #d6b05a 70%, var(--gilt) 100%);
}
.btn--primary:active::before {
  background: #b48a33;
}
.btn--secondary {
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  color: var(--parchment);
}
.btn--secondary::before {
  background: var(--navy);
}
.btn--secondary:hover {
  border-color: var(--parchment);
}

/* Text link: a quiet taupe rule at rest; a gilt line draws over it on hover. */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding-block: 0.3em;
  font-weight: 500;
  color: var(--parchment);
}
.link::before,
.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}
.link::before {
  background: var(--line);
}
.link::after {
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-expo);
}
.link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.link .icon {
  width: 1rem;
  height: 1rem;
}

.iconbtn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform 0.2s var(--ease-ui);
}
.iconbtn:hover {
  border-color: var(--gilt);
  background: rgb(198 155 60 / 0.12);
}
.iconbtn:active {
  transform: scale(0.94);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  font: 500 0.8125rem / 1 var(--sans);
  letter-spacing: 0.02em;
}
.lang__btn {
  padding: 0.55rem 0.5rem;
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: color 0.3s;
}
.lang__btn:hover {
  color: var(--parchment);
}
.lang__btn[aria-pressed='true'] {
  color: var(--parchment);
}
.lang__sep {
  width: 1px;
  height: 0.85rem;
  background: var(--line);
}

/* ── 5 · Header & menu ────────────────────────────────────────────────────── */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--hdr-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.hdr::before {
  content: '';
  position: absolute;
  inset: 0 0 -2rem;
  z-index: -1;
  background: linear-gradient(rgb(10 10 10 / 0.88), rgb(10 10 10 / 0.55) 55%, rgb(10 10 10 / 0));
  opacity: 0;
  transition: opacity 0.4s var(--ease-ui);
}
.hdr[data-scrolled='true']::before {
  opacity: 1;
}
.hdr[data-scrolled='true'][data-hidden='true']::before {
  opacity: 0;
}
.hdr > * {
  pointer-events: auto;
}
.hdr__mail {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.625rem;
  padding: 0 1.05rem 0 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgb(10 10 10 / 0.6);
  font: 500 var(--fs-small) / 1 var(--sans);
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform 0.2s var(--ease-ui),
    opacity 0.18s;
}
.hdr__mail:hover {
  border-color: var(--gilt);
  background: rgb(30 24 12 / 0.85);
}
.hdr__mail:active {
  transform: scale(0.97);
}
.hdr__mail .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.hdr__mail-short {
  display: none;
}
.hdr__home {
  justify-self: center;
  display: block;
  padding: 0.4rem;
  border-radius: var(--r-sm);
  color: var(--parchment);
  transition:
    opacity 0.4s var(--ease-ui),
    transform 0.6s var(--ease-expo);
}
.monogram {
  height: 1.9rem;
  width: auto;
}
.hdr__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}
.hdr__nav ul {
  display: flex;
  gap: clamp(1.1rem, 2vw, 2.1rem);
}
.navlink {
  position: relative;
  display: block;
  padding: 0.55rem 0;
  font: 500 var(--fs-small) / 1 var(--sans);
  color: var(--silver);
  transition: color 0.3s;
}
.navlink::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-expo);
}
.navlink:hover,
.navlink[aria-current='true'] {
  color: var(--parchment);
}
.navlink:hover::after,
.navlink[aria-current='true']::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hdr__nav,
.hdr__lang {
  transition:
    opacity 0.4s var(--ease-ui),
    transform 0.6s var(--ease-expo);
}
.hdr[data-hidden='true'] :is(.hdr__home, .hdr__nav, .hdr__lang) {
  opacity: 0;
  transform: translateY(-0.6rem);
  pointer-events: none;
}
.hdr__menu {
  display: none;
  align-items: center;
  gap: 0.7rem;
  height: 2.625rem;
  padding: 0 0.95rem 0 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgb(10 10 10 / 0.6);
  font: 500 var(--fs-small) / 1 var(--sans);
  transition:
    border-color 0.3s,
    transform 0.2s var(--ease-ui);
}
.hdr__menu:active {
  transform: scale(0.97);
}
.hdr__menu-lines {
  position: relative;
  width: 1.1rem;
  height: 0.5rem;
  border-block: 1.5px solid currentColor;
}
@media (max-width: 63.99rem) {
  .hdr__nav,
  .hdr__lang {
    display: none;
  }
  .hdr__menu {
    display: inline-flex;
  }
  .monogram {
    height: 1.65rem;
  }
}
@media (max-width: 30rem) {
  .hdr__mail-long {
    display: none;
  }
  .hdr__mail-short {
    display: inline;
  }
}

.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--parchment);
  overflow: hidden;
}
.menu::backdrop {
  background: rgb(10 10 10 / 0.7);
}
.menu__panel {
  position: absolute;
  inset: 0.5rem;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  border-radius: var(--r-lg);
  background: var(--navy);
  border: 1px solid rgb(244 234 222 / 0.08);
  overflow-y: auto;
}
.menu[open] .menu__panel {
  animation: menu-in 0.55s var(--ease-expo) both;
}
.menu.is-closing .menu__panel {
  animation: menu-out 0.28s var(--ease-ui) both;
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
}
.menu__title {
  font: 500 var(--fs-small) / 1 var(--sans);
  color: var(--silver);
}
.menu__nav {
  flex: 1;
  display: flex;
  align-items: center;
}
.menu__nav ul {
  width: 100%;
}
.menu__nav a {
  display: block;
  padding: 0.4rem 0;
  font: 300 clamp(2.4rem, 11vw, 3.75rem) / 1.08 var(--serif);
  letter-spacing: -0.015em;
  transition: color 0.3s;
}
.menu__nav a:hover {
  color: var(--gilt);
}
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.menu__mail {
  color: var(--silver);
  font-size: var(--fs-small);
  overflow-wrap: anywhere;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-1rem) scale(0.98);
  }
}
@keyframes menu-out {
  to {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.99);
  }
}

/* ── 6 · Hero ──────────────────────────────────────────────────────────────
   The lockup is three SVGs (Gilt / & / Ink) placed in percentages of one
   box, so the diagonal composition scales as a single drawing. Desktop and
   portrait layouts differ only in the box's ratio and the percentages. */
.hero {
  position: relative;
  z-index: 1;
  min-height: max(100svh, 36rem);
  display: grid;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  column-gap: 2rem;
  padding-top: calc(var(--hdr-h) + clamp(1.5rem, 6vh, 4.5rem));
  padding-bottom: clamp(1.75rem, 6vh, 4.5rem);
}
.hero__title {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}
.lockup {
  --ratio: 2.2331;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  position: relative;
  display: block;
  width: min(100%, calc((100svh - var(--hdr-h) - 17rem) * var(--ratio)));
  aspect-ratio: 4312 / 1931;
  container-type: inline-size;
  margin-bottom: 2rem;
  /* optical alignment: pull the G's side bearing out so its bowl lines up
     with the motto and the gutter (73 of 4312 units) */
  translate: -1.6% 0;
}
.lockup > svg {
  position: absolute;
  overflow: hidden;
  color: var(--parchment);
  fill: currentColor;
}
.hero__gilt {
  left: 0;
  top: 16.62%;
  width: 40.82%;
  height: 42.46%;
  z-index: 1;
}
.hero__amp {
  left: 40.63%;
  top: 0;
  width: 41.07%;
  height: 97.67%;
  z-index: 2;
}
.hero__ink {
  left: 54.55%;
  top: 57.54%;
  width: 45.45%;
  height: 42.46%;
  z-index: 3;
}
.hero__welcome {
  position: absolute;
  left: 1.75%;
  bottom: calc(81.3% + 1.6cqi);
  font: italic 400 clamp(1.05rem, 2cqi, 1.9rem) / 1.2 var(--serif);
  color: var(--silver);
  white-space: nowrap;
}
.hero__motto {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  max-width: 13em;
  font: 400 var(--fs-motto) / 1.08 var(--serif);
  letter-spacing: -0.01em;
  color: var(--parchment);
  text-wrap: balance;
}
.hero__actions {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}
.hl {
  transform-box: fill-box;
}
.hero__wet {
  fill: var(--parchment);
  opacity: 0;
}
.hero__pen {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}
.hero__gild {
  transform: translateX(1250px);
}
.hero__sheen {
  transform: translateX(-500px);
  opacity: 0;
}
.hero__sheenwrap {
  opacity: 0.78;
}

/* Portrait: Gilt top-left, & centre, Ink bottom-right, stacked. */
@media (max-width: 47.99rem), (orientation: portrait) and (max-width: 74.99rem) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
  }
  .hero__title {
    grid-row: 1 / 3;
  }
  .lockup {
    --ratio: 0.8772;
    aspect-ratio: 2386 / 2720;
    width: min(100%, calc((100svh - var(--hdr-h) - 19.5rem) * var(--ratio)));
    margin-top: 2.4rem;
    margin-bottom: 0;
    translate: -2.9% 0;
  }
  .hero__gilt {
    left: 0;
    top: 0;
    width: 73.76%;
    height: 30.15%;
  }
  .hero__amp {
    left: 26.11%;
    top: 23.16%;
    width: 71%;
    height: 66.32%;
  }
  .hero__ink {
    left: 17.85%;
    top: 69.85%;
    width: 82.15%;
    height: 30.15%;
  }
  .hero__welcome {
    left: 3.1%;
    bottom: calc(100% + 0.5rem);
    font-size: clamp(1.05rem, 4.6cqi, 1.5rem);
  }
  .hero__motto {
    grid-row: 2;
    margin-top: clamp(1.25rem, 4vh, 2.5rem);
  }
  .hero__actions {
    grid-column: 1;
    grid-row: 3;
    justify-content: flex-start;
    margin-top: 1.5rem;
  }
}
@media (max-width: 30rem) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Intro sequence ────────────────────────────────────────────────────────
   Classes on <html> (set by the boot script before first paint):
     intro-full / intro-short   first visit / returning visitor (--k scales time)
     intro-go                   display face ready (or 700 ms): play
     intro-done                 finished; the static styles above remain
     intro-reduced              prefers-reduced-motion: a plain fade
   The motto is never animated: it is the ink already on the page and the
   largest text block at first paint (LCP).
   0.10s pen writes the & · 0.50s Gilt rises · 0.72s Ink lands ·
   1.02s gold leaf floods the & · 1.30s welcome · 1.50s light sweep ·
   1.60s buttons, header · done ≈ 2.4s */
html {
  --k: 1;
}
html.intro-short {
  --k: 0.36;
}
:is(.intro-full, .intro-short) .hero__written {
  mask: url(#gi-amp-pen);
}
:is(.intro-full, .intro-short) .hero__leafwrap {
  mask: url(#gi-amp-gild);
}
:is(.intro-full, .intro-short) .hero__pen {
  animation: gi-pen calc(1s * var(--k)) var(--ease-ink) calc(0.1s * var(--k)) both;
}
:is(.intro-full, .intro-short) .hero__wet {
  animation: gi-wet calc(1.85s * var(--k)) linear both;
}
:is(.intro-full, .intro-short) .hero__gild {
  animation: gi-gild calc(0.8s * var(--k)) var(--ease-inout) calc(1.02s * var(--k)) both;
}
:is(.intro-full, .intro-short) .hero__sheen {
  animation: gi-sheen calc(0.85s * var(--k)) var(--ease-inout) calc(1.5s * var(--k)) both;
}
:is(.intro-full, .intro-short) .hero__gilt .hl {
  animation: gi-rise calc(1s * var(--k)) var(--ease-expo) calc((0.5s + var(--i) * 0.06s) * var(--k)) both;
}
:is(.intro-full, .intro-short) .hero__ink .hl {
  animation: gi-rise calc(1.1s * var(--k)) var(--ease-land) calc((0.72s + var(--i) * 0.08s) * var(--k)) both;
}
:is(.intro-full, .intro-short) .hero__welcome {
  animation: gi-fade-up calc(0.8s * var(--k)) var(--ease-expo) calc(1.3s * var(--k)) both;
}
:is(.intro-full, .intro-short) .hero__actions {
  animation: gi-fade-up calc(0.8s * var(--k)) var(--ease-expo) calc(1.6s * var(--k)) both;
}
:is(.intro-full, .intro-short) .hdr {
  animation: gi-fade calc(0.8s * var(--k)) var(--ease-ui) calc(1.6s * var(--k)) both;
}
html:is(.intro-full, .intro-short):not(.intro-go)
  :is(.hero__pen, .hero__wet, .hero__gild, .hero__sheen, .hl, .hero__welcome, .hero__actions, .hdr) {
  animation-play-state: paused;
}
.intro-reduced .hero__inner,
.intro-skip .hero__inner {
  animation: gi-fade 0.35s ease-out both;
}
@keyframes gi-pen {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes gi-wet {
  0%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes gi-gild {
  from {
    transform: translateX(-420px);
  }
  to {
    transform: translateX(1250px);
  }
}
@keyframes gi-sheen {
  0% {
    transform: translateX(-320px);
    opacity: 0;
  }
  18%,
  82% {
    opacity: 1;
  }
  100% {
    transform: translateX(1150px);
    opacity: 0;
  }
}
@keyframes gi-rise {
  from {
    transform: translateY(118%);
  }
  to {
    transform: none;
  }
}
@keyframes gi-fade-up {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gi-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── 7 · Background ────────────────────────────────────────────────────────
   Ink blooms: a 96-px canvas stretched over the screen (the GPU upscales it
   for free), redrawn slowly on desktop, painted once on touch. The CSS
   gradient below is the same picture, shown until the canvas takes over.
   Paper grain: one static 200-px tile with its strength baked into alpha. */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 75% at 12% 92%, rgb(15 23 42 / 1), rgb(15 23 42 / 0) 72%),
    radial-gradient(60% 65% at 88% 12%, rgb(18 28 52 / 0.9), rgb(18 28 52 / 0) 72%),
    radial-gradient(45% 50% at 55% 50%, rgb(26 39 70 / 0.55), rgb(26 39 70 / 0) 72%),
    radial-gradient(35% 40% at 25% 0%, rgb(10 10 10 / 0.85), rgb(10 10 10 / 0) 72%),
    var(--ink);
}
.bg__bloom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.bg.is-live .bg__bloom {
  opacity: 1;
}
.bg__grain {
  position: absolute;
  inset: 0;
  /* fractal noise → white specks whose alpha follows the noise (≈0–14%) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .9 .55 0 0 0 -.24'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")
    0 0 / 180px 180px repeat;
}

/* ── 8 · Cursor (fine pointer, motion OK; app.js adds .has-cursor) ──────── */
.cursor {
  display: none;
}
.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  transition: opacity 0.25s;
}
.has-cursor,
.has-cursor * {
  cursor: none;
}
.has-cursor :is(input, textarea, select, [contenteditable]) {
  cursor: text;
}
.has-cursor :is(input[type='checkbox'], input[type='radio']) {
  cursor: pointer;
}
.cursor__dot,
.cursor__ring,
.cursor__label {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  will-change: transform;
}
/* The outer elements only follow the pointer (GSAP translate); the inner
   spans do all the scaling, so growing never shifts the ring off target. */
.cursor__dot > span,
.cursor__ring > span {
  position: absolute;
  border-radius: 50%;
}
.cursor__dot > span {
  width: 6px;
  height: 6px;
  left: -3px;
  top: -3px;
  background: var(--parchment);
  transition:
    opacity 0.25s,
    scale 0.3s var(--ease-expo);
}
.cursor__ring > span {
  width: 36px;
  height: 36px;
  left: -18px;
  top: -18px;
  border: 1px solid rgb(244 234 222 / 0.45);
  transition:
    scale 0.35s var(--ease-expo),
    background-color 0.35s,
    border-color 0.35s,
    opacity 0.3s;
}
.cursor__label {
  width: auto;
  height: auto;
  translate: -50% -50%; /* centred on the pointer; GSAP's translate adds on top */
  font: 500 0.75rem / 1 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor[data-state='link'] .cursor__ring > span {
  scale: 1.2;
  border-color: var(--gilt);
}
/* over buttons the dot steps aside, so it never sits on the label text */
.cursor[data-state='link'] .cursor__dot > span {
  opacity: 0;
  scale: 0.4;
}
.cursor[data-state='view'] .cursor__ring > span {
  scale: 2.5;
  border-color: transparent;
  background: var(--parchment);
}
.cursor[data-state='view'] .cursor__dot > span {
  opacity: 0;
}
.cursor[data-state='view'] .cursor__label {
  opacity: 1;
  transition-delay: 0.08s;
}
.cursor[data-state='native'],
.cursor[data-state='off'] {
  opacity: 0;
}

/* ── 9 · Sections ─────────────────────────────────────────────────────────── */

/* 9a · Work ────────────────────────────────────────────────────────────────
   Desktop (≥64rem): the section is n × 70svh tall and its inner panel sticks
   (CSS sticky, no JS pin). Scroll position picks the demo on the stage; the
   index buttons pick it too. Below 64rem: a plain stack. */
.work {
  --n: 3;
  position: relative;
  z-index: 2;
  padding-top: clamp(6rem, 22vh, 12rem);
}
.work__title {
  font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.6rem);
  line-height: 1.02;
}
.work__intro {
  margin-top: 1.25rem;
  max-width: 32em;
  color: var(--silver);
}
.work__intro--touch {
  display: none;
}
@media (hover: none) {
  .work__intro--hover {
    display: none;
  }
  .work__intro--touch {
    display: block;
  }
}
.work__index {
  display: none;
}
.demo + .demo {
  margin-top: clamp(3.5rem, 10vw, 6rem);
}
.work__stage {
  position: relative;
  margin-top: clamp(2.5rem, 7vw, 4rem);
}

/* The frame: a navy mat with a gilt hairline; the screenshot window inside
   has square corners (a moving layer is never clipped to a rounded shape). */
.demo__frame {
  position: relative;
  padding: clamp(6px, 0.8vw, 10px);
  border-radius: var(--r-md);
  background: var(--navy);
  box-shadow:
    inset 0 0 0 1px rgb(198 155 60 / 0.32),
    0 30px 60px -30px rgb(0 0 0 / 0.8);
  cursor: pointer;
  transition: box-shadow 0.5s var(--ease-ui);
}
.demo__frame:hover {
  box-shadow:
    inset 0 0 0 1px rgb(198 155 60 / 0.7),
    0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.demo__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: #05070c;
}
.demo__shot {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 1440 / 900);
  will-change: transform;
}
.demo__cover,
.tiles img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
}
.demo__cover {
  top: 0;
  z-index: 1;
}
.tiles {
  position: absolute;
  inset: 0;
}
.tiles img {
  opacity: 0;
  transition: opacity 0.4s;
}
.tiles img[data-loaded] {
  opacity: 1;
}
.demo__wipe {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--ink);
  transform: translateY(-101%);
  pointer-events: none;
}
.demo__caption {
  display: grid;
  gap: 0.35rem 1.5rem;
  margin-top: 1.35rem;
}
.demo__title {
  font: 500 var(--fs-h3) / 1.15 var(--serif);
  letter-spacing: -0.005em;
}
.demo__cat {
  font-size: var(--fs-small);
  color: var(--silver);
}
.demo__desc {
  max-width: 34em;
  color: var(--silver);
  margin-top: 0.4rem;
}
.demo__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0.6rem;
}
.demo__url {
  font-size: var(--fs-small);
  color: var(--muted);
}

.seal {
  position: absolute;
  z-index: 4;
  top: clamp(-3rem, -5vw, -2.25rem);
  right: clamp(-2.75rem, -3vw, -0.75rem);
  width: clamp(5.5rem, 9vw, 8.25rem);
  aspect-ratio: 1;
  color: var(--gilt);
  pointer-events: none;
}
.seal__ring,
.seal__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.seal__ring {
  will-change: transform;
}
.seal__line {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.6;
}
.seal__line--inner {
  stroke-width: 0.45;
}
.seal__text {
  font: 500 7.1px var(--sans);
  letter-spacing: 0.02em;
  fill: currentColor;
}
.seal__mark {
  fill: currentColor;
}
.seal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgb(10 10 10 / 0.82);
  z-index: -1;
}

@media (min-width: 64rem) {
  .work {
    height: calc(100svh + (var(--n) - 1) * 70svh + clamp(6rem, 22vh, 12rem));
  }
  .work__pin {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 40rem;
  }
  .work__grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(1rem, 2vw, 2.5rem);
    align-items: center;
    padding-top: calc(var(--hdr-h) + 1.5rem);
    padding-bottom: 2rem;
  }
  .work__side {
    grid-column: 1 / span 4;
    align-self: center;
  }
  .work__index {
    display: block;
    position: relative;
    margin-top: clamp(2rem, 5vh, 3.5rem);
    border-top: 1px solid var(--line);
  }
  .work__index li {
    border-bottom: 1px solid var(--line);
  }
  .work__pick {
    position: relative;
    display: grid;
    gap: 0.25rem;
    width: 100%;
    padding: 1rem 0 1rem 1.6rem;
    text-align: left;
    border-radius: var(--r-sm);
  }
  .work__pick::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.65rem;
    height: 1px;
    background: var(--gilt);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-expo);
  }
  .work__pick[aria-pressed='true']::before {
    transform: scaleX(1);
  }
  .work__pick-name {
    font: 500 clamp(1.35rem, 0.9rem + 0.9vw, 1.85rem) / 1.1 var(--serif);
    color: var(--muted);
    transition: color 0.4s;
  }
  .work__pick-cat {
    font-size: var(--fs-small);
    color: var(--muted);
    transition: color 0.4s;
  }
  .work__pick:hover .work__pick-name,
  .work__pick[aria-pressed='true'] .work__pick-name {
    color: var(--parchment);
  }
  .work__pick[aria-pressed='true'] .work__pick-cat {
    color: var(--silver);
  }
  .work__stage {
    grid-column: 6 / -1;
    margin-top: 0;
    align-self: center;
    width: min(100%, calc((100svh - var(--hdr-h) - 13rem) * 1.6));
    justify-self: end;
  }
  .work__stage .demo {
    position: absolute;
    inset: 0 0 auto 0;
    visibility: hidden;
  }
  .work__stage .demo.is-active {
    position: relative;
    visibility: visible;
  }
  .work__stage .demo + .demo {
    margin-top: 0;
  }
  .demo__viewport {
    aspect-ratio: 16 / 10;
  }
  .demo__caption {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    min-height: 3.4em; /* two lines: the frame never jumps between demos */
  }
  .demo__caption :is(.demo__title, .demo__cat) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .demo__desc {
    margin-top: 0;
  }
  .demo__foot {
    margin-top: 0;
    justify-content: flex-end;
  }
  /* Switching: the outgoing demo dims away, the incoming one lifts in while
     an ink sheet slides off its screenshot. */
  .work__stage .demo.is-leaving {
    visibility: visible;
    animation: demo-out 0.5s var(--ease-ui) both;
  }
  .work__stage .demo.is-entering {
    animation: demo-in 0.85s var(--ease-expo) both;
  }
  .work__stage .demo.is-entering .demo__wipe {
    animation: demo-wipe 0.9s var(--ease-inout) both;
  }
}
@keyframes demo-out {
  to {
    opacity: 0;
    transform: translateY(-1.25rem) scale(0.985);
  }
}
@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateY(1.75rem);
  }
}
@keyframes demo-wipe {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-101%);
  }
}

/* 9b · Why — a typographic ledger ─────────────────────────────────────── */
.why {
  padding-block: var(--section);
}
.why__title {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.ledger {
  border-top: 1px solid var(--line);
}
.ledger__row {
  display: grid;
  gap: 0.6rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.ledger__claim {
  font: 300 var(--fs-statement) / 1.1 var(--serif);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.ledger__detail {
  color: var(--silver);
  max-width: 36em;
}
@media (min-width: 52rem) {
  .ledger__row {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(1rem, 2vw, 2.5rem);
    align-items: baseline;
  }
  .ledger__claim {
    grid-column: 1 / span 6;
  }
  .ledger__detail {
    grid-column: 7 / -1;
  }
}

/* 9c · Process — numbered, because it is a real sequence ──────────────── */
.process {
  padding-block: var(--section);
}
.process__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 2vw, 2.5rem);
}
.process__head .lead {
  margin-top: 1.25rem;
}
.steps {
  --pad: clamp(1.5rem, 3vw, 2.25rem);
  --num: clamp(2.75rem, 2rem + 2.6vw, 4.75rem);
  position: relative;
  padding-left: var(--pad);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(2.6rem, 5.5vw, 4.75rem) 1fr;
  gap: 1rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.step:last-of-type {
  padding-bottom: 0;
}
/* the node on the thread, level with the numeral */
.step::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--pad) - 4px);
  top: calc(var(--num) * 0.4 - 4px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  background: var(--ink);
  transition:
    background-color 0.5s var(--ease-ui),
    border-color 0.5s var(--ease-ui),
    scale 0.6s var(--ease-expo);
}
.step.is-reached::before {
  background: var(--gilt);
  border-color: var(--gilt);
  scale: 1.15;
}
.step__num {
  font: 200 var(--num) / 0.82 var(--serif);
  color: var(--taupe);
  font-variant-numeric: lining-nums;
  transition: color 0.6s var(--ease-ui);
}
.step.is-reached .step__num {
  color: var(--gilt);
}
.step__body {
  padding-top: 0.2rem;
}
.step__title {
  font: 500 var(--fs-h3) / 1.15 var(--serif);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.step__body p {
  margin-top: 0.5rem;
  color: var(--silver);
  max-width: 34em;
}
/* the thread runs node to node (app sets top/height) */
.steps__thread {
  position: absolute;
  left: 0;
  top: calc(var(--num) * 0.4);
  height: calc(100% - var(--num) * 0.8);
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.steps__fill {
  position: absolute;
  inset: 0;
  background: var(--gilt);
  transform-origin: top;
  transform: scaleY(var(--p, 1));
}
.get {
  margin-top: clamp(1rem, 4vw, 3rem);
}
.get__title {
  font: 400 clamp(1.9rem, 1.4rem + 1.6vw, 3rem) / 1.05 var(--serif);
  letter-spacing: -0.012em;
  margin-bottom: 1.5rem;
}
.folder {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: rgb(15 23 42 / 0.45);
}
.folder__name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--parchment);
}
.folder__icon {
  color: var(--gilt);
}
.folder__list {
  margin: 0.75rem 0 0 0.6rem;
}
.folder__list li {
  position: relative;
  display: grid;
  gap: 0.1rem 1.5rem;
  padding: 0.7rem 0 0.7rem 1.9rem;
}
.folder__list li::before,
.folder__list li::after {
  content: '';
  position: absolute;
  left: 0;
  background: var(--taupe);
}
.folder__list li::before {
  top: 0;
  bottom: 0;
  width: 1px;
}
.folder__list li:last-child::before {
  bottom: calc(100% - 1.45rem);
}
.folder__list li::after {
  top: 1.45rem;
  width: 1.25rem;
  height: 1px;
}
.folder__item {
  font-weight: 500;
}
.folder__note {
  font-size: var(--fs-small);
  color: var(--silver);
}
@media (min-width: 40rem) {
  .folder__list li {
    grid-template-columns: minmax(12rem, 1fr) 1.4fr;
    align-items: baseline;
  }
}
@media (min-width: 64rem) {
  .process__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }
  .process__head {
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--hdr-h) + 2rem);
  }
  .steps,
  .get {
    grid-column: 6 / -1;
  }
}

/* 9d · Pricing — a scale of materials ──────────────────────────────────── */
.pricing {
  padding-block: var(--section);
}
.pricing__head .lead {
  margin-top: 1.25rem;
}
.ruler {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 1.9rem;
}
.ruler__track {
  display: flex;
  gap: 3px;
  height: 0.6rem;
}
.ruler__seg {
  flex: var(--grow) 1 0;
  border-radius: 1px;
  transform-origin: left;
  transition: transform 0.9s var(--ease-expo) calc(var(--i) * 0.11s);
}
.ruler__seg--bronze {
  background: var(--m-bronze);
}
.ruler__seg--silver {
  background: var(--m-silver);
}
.ruler__seg--gold {
  background: var(--m-gold);
}
.ruler__seg--platinum {
  background: var(--m-platinum);
}
.ruler__seg--blackgilt {
  background: var(--m-blackgilt);
}
.ruler__ticks {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.6rem;
  height: 1.9rem;
}
.ruler__tick {
  position: absolute;
  top: 0;
  width: 1px;
  height: 0.45rem;
  background: var(--taupe);
}
.ruler__label {
  position: absolute;
  top: 0.65rem;
  left: 0;
  translate: -50% 0;
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--silver);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ruler__tick--end:first-child .ruler__label {
  translate: 0 0;
}
.ruler__tick--end:last-child .ruler__label {
  translate: -100% 0;
}
.js .ruler--draw:not(.is-drawn) .ruler__seg {
  transform: scaleX(0);
}
@media (max-width: 40rem) {
  .ruler__tick:not(.ruler__tick--end) .ruler__label {
    display: none;
  }
}

.tiers {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.tier {
  --t-text: var(--parchment);
  --t-sub: var(--silver);
  --t-line: var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xs);
  color: var(--t-text);
  border: 1px solid var(--t-line);
  overflow: hidden;
}
.tier__edge {
  height: 5px;
  background: var(--t-mat);
}
.tier__top {
  padding: clamp(1.35rem, 2vw, 1.75rem) clamp(1.25rem, 1.8vw, 1.6rem) 1rem;
}
.tier__name {
  font: 500 clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem) / 1.1 var(--serif);
  letter-spacing: -0.005em;
}
.tier__price {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-size: var(--fs-price);
  font-weight: var(--t-weight, 400);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.tier__summary {
  margin-top: 0.9rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--t-sub);
}
.tier__features {
  display: grid;
  gap: 0.55rem;
  padding: 0.25rem clamp(1.25rem, 1.8vw, 1.6rem) 1.5rem;
  font-size: var(--fs-small);
  line-height: 1.45;
}
.tier__features li {
  position: relative;
  padding-left: 1.1rem;
}
.tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 1.5px;
  background: var(--t-mat);
}
.btn--tier {
  --btn-h: 3rem;
  margin: auto clamp(1.25rem, 1.8vw, 1.6rem) clamp(1.25rem, 1.8vw, 1.6rem);
  border-radius: var(--r-md);
  border: 1px solid var(--t-line-strong, var(--line-strong));
  color: var(--t-text);
}
.btn--tier::before {
  background: var(--t-fill, var(--navy));
}
.btn--tier:hover {
  color: var(--t-fill-text, var(--parchment));
  border-color: transparent;
}
.tier__flag {
  position: absolute;
  top: 0;
  right: 1.1rem;
  z-index: 1;
  padding: 0.6rem 0.6rem 0.6rem;
  border-radius: 0 0 3px 3px;
  background: var(--gilt);
  color: var(--ink);
  font: 500 0.75rem / 1 var(--sans);
  letter-spacing: 0.02em;
}
.tier--bronze {
  --t-mat: var(--m-bronze);
  --t-weight: 300;
  --t-line: rgb(138 121 104 / 0.55);
  background: rgb(10 10 10 / 0.55);
}
.tier--silver {
  --t-mat: var(--m-silver);
  --t-weight: 400;
  --t-line: rgb(191 193 194 / 0.42);
  --t-fill: #2a2d31;
  background: rgb(10 10 10 / 0.55);
}
.tier--gold {
  --t-mat: var(--m-gold);
  --t-weight: 550;
  --t-line: rgb(198 155 60 / 0.65);
  --t-fill: var(--gilt);
  --t-fill-text: var(--ink);
  background: rgb(26 20 8 / 0.6);
}
.tier--gold .tier__name {
  color: var(--gilt);
}
.tier--platinum {
  --t-mat: linear-gradient(90deg, #cdbca6, #e9dccb 50%, #cdbca6);
  --t-weight: 700;
  --t-text: var(--ink);
  --t-sub: var(--taupe-deep);
  --t-line: var(--parchment);
  --t-line-strong: rgb(10 10 10 / 0.35);
  --t-fill: var(--ink);
  --t-fill-text: var(--parchment);
  --focus: var(--ink);
  background: var(--parchment);
}
.tier--blackgilt {
  --t-mat: var(--gilt);
  --t-weight: 900;
  --t-line: var(--gilt);
  --t-fill: var(--gilt);
  --t-fill-text: var(--ink);
  background: var(--ink);
  box-shadow:
    inset 0 0 0 4px var(--ink),
    inset 0 0 0 5px rgb(198 155 60 / 0.55);
}
.tier--blackgilt .tier__edge {
  height: 0;
}
.tier--blackgilt .tier__top {
  margin: 6px 6px 1rem;
  padding-top: clamp(1.25rem, 2vw, 1.6rem);
  background: var(--oxblood);
  border-bottom: 1px solid var(--gilt);
  border-radius: 1px;
}
.tier--blackgilt .tier__name {
  color: var(--gilt);
}
@media (min-width: 48rem) {
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
  .tier--blackgilt {
    grid-column: 1 / -1;
  }
}
@media (min-width: 75rem) {
  .tiers {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
  .tier--blackgilt {
    grid-column: auto;
  }
  .tier__price {
    font-size: clamp(1.75rem, 0.9rem + 1.3vw, 2.5rem);
  }
}
.pricing__notes {
  display: grid;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.pricing__notes li {
  max-width: 30em;
}
.pricing__notes li:nth-child(-n + 2) {
  font: 400 clamp(1.2rem, 1rem + 0.6vw, 1.5rem) / 1.25 var(--serif);
}
.pricing__notes li:nth-child(3) {
  color: var(--silver);
}
@media (min-width: 64rem) {
  .pricing__notes {
    grid-template-columns: 1fr 1fr 1.3fr;
  }
}

/* ── 11 · Viewer (Open preview) ───────────────────────────────────────────── */
.viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--parchment);
  overflow: hidden;
}
.viewer::backdrop {
  background: rgb(5 7 12 / 0.88);
}
.viewer__panel {
  position: absolute;
  inset: clamp(0.5rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgb(198 155 60 / 0.32);
  overflow: hidden;
}
.viewer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0.7rem 0.7rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.viewer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}
.viewer__title {
  font: 500 clamp(1.15rem, 1rem + 0.5vw, 1.5rem) / 1.1 var(--serif);
}
.viewer__cat {
  font-size: var(--fs-small);
  color: var(--silver);
}
.viewer__tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
}
.seg__btn {
  padding: 0.6rem 0.9rem;
  border-radius: 9px;
  font: 500 var(--fs-small) / 1 var(--sans);
  color: var(--silver);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.seg__btn:hover {
  color: var(--parchment);
}
.seg__btn[aria-pressed='true'] {
  background: var(--parchment);
  color: var(--ink);
}
.viewer__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #05070c;
}
.viewer__scroll:focus-visible {
  outline-offset: -3px;
}
.viewer__shot {
  position: relative;
  width: min(1200px, 100%);
  margin-inline: auto;
}
.viewer__shot.is-phone {
  width: min(390px, 100%);
  margin-block: clamp(0.75rem, 3vw, 2rem);
  box-shadow: 0 0 0 1px rgb(198 155 60 / 0.3);
}

/* 9e · Quote tool ──────────────────────────────────────────────────────── */
.quote {
  padding-block: var(--section);
}
.quote__head .lead {
  margin-top: 1.25rem;
}
.qtool {
  display: grid;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-lg);
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgb(244 234 222 / 0.08);
  overflow: hidden;
}
.qtool__form {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
}
.qtool__result {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  background: rgb(10 10 10 / 0.55);
  border-top: 1px solid var(--line);
}
@media (min-width: 64rem) {
  .qtool {
    grid-template-columns: 7fr 5fr;
  }
  .qtool__result {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.field {
  display: grid;
  gap: 0.5rem;
}
.field__label {
  font: 500 var(--fs-small) / 1.3 var(--sans);
  color: var(--parchment);
}
.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgb(10 10 10 / 0.55);
  font-size: var(--fs-body);
  line-height: 1.5;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
textarea.field__input {
  resize: vertical;
  min-height: 7.5rem;
}
.field__input::placeholder {
  color: rgb(191 193 194 / 0.72);
}
.field__input:hover {
  border-color: rgb(244 234 222 / 0.5);
}
.field__input:focus-visible {
  outline: none;
  border-color: var(--gilt);
  box-shadow: 0 0 0 3px rgb(198 155 60 / 0.3);
}
.field__input[aria-invalid='true'] {
  border-color: var(--oxblood-lift);
}
.field__help {
  font-size: var(--fs-small);
  color: var(--silver);
}
.field__err {
  font-size: var(--fs-small);
  color: var(--oxblood-lift);
}

.picks {
  display: grid;
  gap: 0.6rem;
}
.picks__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  font: 500 var(--fs-small) / 1.2 var(--sans);
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.2s var(--ease-ui);
}
.chip:hover span {
  border-color: var(--parchment);
}
.chip input:checked + span {
  background: var(--parchment);
  border-color: var(--parchment);
  color: var(--ink);
}
.chip input:active + span {
  transform: scale(0.96);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--gilt);
  outline-offset: 3px;
}
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  font: 500 var(--fs-small) / 1.3 var(--sans);
  cursor: pointer;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 2.75rem;
  height: 1.6rem;
  margin: 0;
  cursor: pointer;
}
.toggle__track {
  position: relative;
  flex: none;
  width: 2.75rem;
  height: 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(1.6rem - 8px);
  height: calc(1.6rem - 8px);
  border-radius: 50%;
  background: var(--silver);
  transition:
    transform 0.4s var(--ease-expo),
    background-color 0.3s;
}
.toggle input:checked + .toggle__track {
  background: var(--gilt);
  border-color: var(--gilt);
}
.toggle input:checked + .toggle__track::after {
  transform: translateX(1.15rem);
  background: var(--ink);
}
.toggle input:focus-visible + .toggle__track {
  outline: 2px solid var(--gilt);
  outline-offset: 3px;
}
.qtool__start {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  border-radius: var(--r-sm);
  background: rgb(198 155 60 / 0.14);
  border: 1px solid rgb(198 155 60 / 0.5);
  font: 500 var(--fs-small) / 1 var(--sans);
}
.chipx {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.chipx:hover {
  background: rgb(244 234 222 / 0.12);
}
.chipx .icon {
  width: 1rem;
  height: 1rem;
}
.qtool__submit {
  justify-self: start;
}

.qres__title {
  font: 500 var(--fs-small) / 1.3 var(--sans);
  color: var(--silver);
}
.ruler--mini {
  margin-top: 1.25rem;
  padding-bottom: 1.6rem;
}
.ruler--mini .ruler__track {
  height: 0.35rem;
}
.ruler--mini .ruler__label {
  font-size: 0.75rem;
}
.ruler--mini .ruler__tick:not(.ruler__tick--end) .ruler__label {
  display: none;
}
.qtool__result[data-state='empty'] .ruler--mini .ruler__seg {
  opacity: 0.35;
}
.ruler__seg {
  transition:
    transform 0.9s var(--ease-expo) calc(var(--i) * 0.11s),
    opacity 0.5s;
}
.ruler--mini .ruler__seg.is-hit {
  opacity: 1;
}
.qtool__result[data-state='shown'] .ruler--mini .ruler__seg:not(.is-hit) {
  opacity: 0.3;
}
.ruler__marker {
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0;
  transform: translateX(var(--x, 0%));
  transition: transform 0.9s var(--ease-expo);
  opacity: 0;
}
.qtool__result[data-state='shown'] .ruler__marker {
  opacity: 1;
}
.ruler__marker::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  border: 5px solid transparent;
  border-top: 6px solid var(--gilt);
}
.qres__empty {
  margin-top: 1rem;
  color: var(--silver);
  max-width: 26em;
}
.qres__body {
  margin-top: 0.5rem;
}
.qres__tier {
  position: relative;
  overflow: hidden;
  padding-bottom: 0.08em;
  font: 500 clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem) / 1.05 var(--serif);
  letter-spacing: -0.015em;
}
.qres__tier-name {
  display: inline-block;
  color: var(--gilt);
}
/* one pass of light across the result (same gesture as the hero) */
.qres__tier-name.is-lit {
  background: linear-gradient(100deg, var(--gilt) 42%, #fff0c8 50%, var(--gilt) 58%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: q-sheen 1.15s var(--ease-inout) 0.25s both;
}
/* 100% → 0% keeps the 260%-wide gradient covering every letter throughout */
@keyframes q-sheen {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0% 0;
  }
}
.qres__range {
  margin-top: 0.35rem;
  font: 300 clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem) / 1.1 var(--serif);
  letter-spacing: -0.01em;
}
.qres__detected {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  color: var(--silver);
}
.qres__sub {
  margin-top: 1.5rem;
  font: 500 var(--fs-small) / 1.3 var(--sans);
  color: var(--silver);
}
.qres__features {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: var(--fs-small);
}
.qres__features li {
  position: relative;
  padding-left: 1.1rem;
}
.qres__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 1.5px;
  background: var(--gilt);
}
.qres__notes {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.qres__notes li {
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.qres__notes li.is-deposit {
  border-color: rgb(198 155 60 / 0.45);
}
.qres__estimate {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--silver);
  font-style: italic;
}
.qres__connect {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}
.qres__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.qres__buttons .btn {
  --btn-h: 3rem;
  padding-inline: 1.15rem;
  white-space: normal;
}
.qres__or {
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  color: var(--silver);
}

/* Forms (contact + compact capture in the quote result) */
.capture {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.capture--compact {
  margin-top: 0.75rem;
  gap: 0.6rem;
}
.capture__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
}
.capture__row .field {
  flex: 1 1 14rem;
}
.capture__row .btn {
  --btn-h: 3.1rem;
}
.capture__title {
  font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem) / 1.15 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.capture__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.capture__status {
  font-size: var(--fs-small);
  min-height: 1.4em;
}
.capture__status:empty {
  min-height: 0;
}
.capture__status.is-ok {
  color: var(--parchment);
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid rgb(198 155 60 / 0.5);
}
.capture__status.is-error {
  color: var(--oxblood-lift);
}
.capture__note {
  font-size: var(--fs-small);
  color: var(--silver);
}
.capture .btn[aria-busy='true'] {
  pointer-events: none;
  opacity: 0.75;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 9f · How you pay ─────────────────────────────────────────────────────── */
.pay {
  padding-block: clamp(3rem, 7vw, 5rem);
}
.pay__grid {
  display: grid;
  gap: 1.5rem clamp(1rem, 2vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
}
.pay__title {
  font: 400 clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem) / 1.05 var(--serif);
  letter-spacing: -0.012em;
}
.pay__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
}
.pay__item {
  font: 500 clamp(1.1rem, 1rem + 0.4vw, 1.35rem) / 1.2 var(--sans);
  letter-spacing: -0.005em;
  padding-right: 1.25rem;
  margin-right: 1.25rem;
  border-right: 1px solid var(--line);
}
.pay__item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.pay__text {
  display: grid;
  gap: 0.5rem;
  color: var(--silver);
  max-width: 34em;
}
.pay__text p:first-child {
  color: var(--parchment);
}
@media (min-width: 64rem) {
  .pay__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: baseline;
  }
  .pay__title {
    grid-column: 1 / span 3;
  }
  .pay__list {
    grid-column: 4 / span 5;
  }
  .pay__text {
    grid-column: 9 / -1;
  }
}

/* 9g · FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  padding-block: var(--section);
}
.faq__grid {
  display: grid;
  gap: 2rem clamp(1rem, 2vw, 2.5rem);
}
.faq__side p {
  margin: 1.25rem 0 0.75rem;
  color: var(--silver);
  max-width: 22em;
}
.faq__list {
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font: 400 clamp(1.15rem, 1rem + 0.6vw, 1.5rem) / 1.25 var(--serif);
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  transition: color 0.3s;
}
.qa__btn:hover {
  color: var(--gilt);
}
.qa__icon {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition:
    border-color 0.3s,
    background-color 0.3s;
}
.qa__icon::before,
.qa__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.8rem;
  height: 1.5px;
  margin: -0.75px 0 0 -0.4rem;
  background: currentColor;
  transition: transform 0.5s var(--ease-expo);
}
.qa__icon::after {
  transform: rotate(90deg);
}
.qa[data-open] .qa__icon {
  border-color: var(--gilt);
  background: rgb(198 155 60 / 0.12);
}
.qa[data-open] .qa__icon::after {
  transform: rotate(0deg);
}
/* Height animates through the grid track (0fr → 1fr); the closed answer
   is also hidden from tab order and screen readers via visibility. */
.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.55s var(--ease-expo),
    visibility 0s linear 0.55s;
}
.qa[data-open] .qa__a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 0.55s var(--ease-expo),
    visibility 0s;
}
.qa__inner {
  min-height: 0;
  overflow: hidden;
}
.qa__inner p {
  padding: 0 3.5rem 1.5rem 0;
  color: var(--silver);
  max-width: 40em;
}
@media (min-width: 64rem) {
  .faq__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }
  .faq__side {
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--hdr-h) + 2rem);
  }
  .faq__list {
    grid-column: 6 / -1;
  }
}

/* 9h · Contact ─────────────────────────────────────────────────────────── */
.contact {
  padding-block: var(--section) clamp(4rem, 8vw, 7rem);
}
.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 2vw, 2.5rem);
}
.contact__sub {
  margin-top: 1.25rem;
}
.contact__mailrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.contact__mail {
  position: relative;
  font: 400 clamp(1.75rem, 1rem + 3.4vw, 4rem) / 1.1 var(--serif);
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.contact__mail::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 2px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease-expo);
}
.contact__mail:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.contact__copy .icon--check {
  display: none;
}
.contact__copy.is-copied {
  border-color: var(--gilt);
  color: var(--gilt);
}
.contact__copy.is-copied .icon--copy {
  display: none;
}
.contact__copy.is-copied .icon--check {
  display: block;
}
.contact__copied {
  font-size: var(--fs-small);
  color: var(--silver);
}
.contact__insta {
  margin-top: 1.5rem;
}
.contact__handle {
  color: var(--silver);
  font-weight: 400;
}
.contact .capture {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgb(244 234 222 / 0.08);
}
@media (min-width: 64rem) {
  .contact__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
  }
  .contact__main {
    grid-column: 1 / span 7;
  }
  .contact .capture {
    grid-column: 8 / -1;
  }
}

/* ── 10 · Footer ──────────────────────────────────────────────────────────── */
.ftr {
  padding-block: clamp(2.5rem, 5vw, 3.5rem) max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--silver);
}
.ftr__grid {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: center;
}
.ftr__mark {
  justify-self: start;
  color: var(--parchment);
  border-radius: var(--r-sm);
  padding: 0.25rem 0;
}
.wordmark {
  height: 1.9rem;
  width: auto;
}
.ftr__links {
  display: flex;
  gap: 1.5rem;
}
.ftr__links .link,
.ftr__top {
  font-weight: 500;
}
.ftr__top {
  justify-self: start;
}
@media (min-width: 64rem) {
  .ftr__grid {
    grid-template-columns: auto 1fr auto auto auto;
    grid-template-areas:
      'mark . links lang top'
      'copy copy loc loc loc';
  }
  .ftr__mark {
    grid-area: mark;
  }
  .ftr__links {
    grid-area: links;
  }
  .ftr__grid > .lang {
    grid-area: lang;
  }
  .ftr__top {
    grid-area: top;
  }
  .ftr__copy {
    grid-area: copy;
  }
  .ftr__loc {
    grid-area: loc;
    justify-self: end;
  }
}

/* ── 12 · Reduced motion ──────────────────────────────────────────────────
   JS already skips Lenis, the cursor, the bloom drift, the seal, the hero
   exit, demo transitions and the result reveal. Here, every remaining
   movement becomes a short fade or nothing; no content waits on motion. */
@media (prefers-reduced-motion: reduce) {
  .btn::before {
    inset: -2px;
    transform: none;
    opacity: 0;
    transition: opacity 0.2s linear;
  }
  .btn:hover::before {
    transform: none;
    opacity: 1;
  }
  .btn,
  .btn:active,
  .iconbtn:active,
  .hdr__mail:active,
  .hdr__menu:active,
  .chip input:active + span {
    transform: none;
  }
  .link::after,
  .navlink::after,
  .contact__mail::after,
  .work__pick::before {
    transition-duration: 0.01ms;
  }
  .hdr[data-hidden='true'] :is(.hdr__home, .hdr__nav, .hdr__lang) {
    transform: none;
  }
  .menu[open] .menu__panel {
    animation: gi-fade 0.2s linear both;
  }
  .menu.is-closing .menu__panel {
    animation: none;
  }
  .qa__a,
  .qa[data-open] .qa__a,
  .qa__icon::before,
  .qa__icon::after,
  .ruler__seg,
  .ruler__marker,
  .toggle__track::after,
  .step::before,
  .step__num {
    transition: none;
  }
  .bg__bloom {
    transition: none;
  }
}
