/* Praxis Webs. Palette, type and motif reasons live in DESIGN.md. */

:root {
  /* "Dark Luxury" palette from the owner's Pinterest board: onyx, espresso, umber, antique gold.
     Objects are antique brass; light (beams, dust, shards, the X-ray) stays warm amber. */
  /* Near-black ground with two small tone steps (the way 99maarc.es, the owner's new reference, stacks
     its surfaces): sections differ by a few percent of value, not by a visible band or a line. */
  --ink: #060606;
  --ink-2: #0C0B09;
  --ink-3: #141210;
  --ivory: #EEE7DB;
  --stone: #ACA396;
  --line: #28221C;
  --line-strong: #6E5D4E;
  /* Edges of controls (fields, picker boxes, locked markers): 3:1 or more on every dark surface,
     3.5:1 even over the contact page's shade with a bright shard behind it */
  --field-line: #857C6D;
  --gold: #BC9860;
  --gold-hi: #D8B98A;
  --gold-deep: #5C4126;
  /* Warm plaster, after the board's material swatches, toned down on 2026-11-09 so the step from the
     near-black sections is softer. Text pairs: ink 9.7:1, graphite 5.9:1, gold deep 5.0:1 (panels 6.5 / 5.6). */
  --paper: #C6BCAE;
  --paper-raised: #CFC6B9;
  --paper-ink: #1A1512;
  --graphite: #453A30;
  --paper-line: #B5AA9B;
  --paper-line-strong: #6F6253;
  --error: #F2907A;
  --error-paper: #8E2A17;

  /* One family since 2026-11-27 (owner: no mix of typefaces). Archivo, variable in width and weight:
     headings wide and light (--wide), text at normal width, interface labels at its widest (125%). */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-text: var(--font-display);
  --font-label: var(--font-text);
  --font-hud: var(--font-display);
  --wide: 118%;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --section: clamp(5rem, 2.5rem + 8vw, 11rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* Long, soft deceleration for entrances (the curve the owner's reference uses): fast start, gentle landing */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --cut: 12px;

  /* Surface tokens: dark by default, swapped by .surface-paper */
  --bg: var(--ink);
  --fg: var(--ivory);
  --muted: var(--stone);
  --accent-text: var(--gold);
  /* Accent for text on each surface: champagne on dark, deep gold on plaster */
  --em: var(--gold-hi);
  --hair: var(--line);
  --hair-strong: var(--line-strong);
  --focus: var(--gold);
  --err: var(--error);
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}

.surface-paper {
  position: relative;
  isolation: isolate;
  --bg: var(--paper);
  --fg: var(--paper-ink);
  --muted: var(--graphite);
  --accent-text: var(--gold-deep);
  --em: var(--gold-deep);
  --hair: var(--paper-line);
  --hair-strong: var(--paper-line-strong);
  --focus: var(--gold-deep);
  --err: var(--error-paper);
  /* Light falls from the top right, as in the hero; the facets echo the shards of the closing scene */
  background:
    linear-gradient(205deg, rgba(255, 250, 238, .28) 0%, rgba(255, 250, 238, 0) 45%),
    url('/assets/img/facets.svg') 0 0 / 1200px 800px repeat,
    var(--bg);
  color: var(--fg);
}

/* Every section whose colour differs from the near-black ground (plaster, the lighter dark surface, the
   amber closing scene) dawns out of the black and sinks back into it instead of starting on a hard edge:
   a fade from the ground colour inside the section padding, never under text. Above the section's own
   backdrop (facets, shards), below its content. */
.fade-edges { position: relative; isolation: isolate; }
.fade-edges::after {
  content: "";
  position: absolute;
  /* One pixel past each edge: at fractional section heights the last row would otherwise show the
     section colour as a thin light line against the black */
  inset: -1px 0;
  z-index: -1;
  pointer-events: none;
  --fade: calc(var(--section) * .8);
  background:
    /* A solid 2px of ground at each edge, for sections that clip their overflow (the closing scene) */
    linear-gradient(#060606, #060606) top / 100% 2px no-repeat,
    linear-gradient(#060606, #060606) bottom / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(6, 6, 6, 1) 0%, rgba(6, 6, 6, .62) 28%, rgba(6, 6, 6, .26) 58%, rgba(6, 6, 6, 0) 100%) top / 100% var(--fade) no-repeat,
    linear-gradient(0deg, rgba(6, 6, 6, 1) 0%, rgba(6, 6, 6, .62) 28%, rgba(6, 6, 6, .26) 58%, rgba(6, 6, 6, 0) 100%) bottom / 100% var(--fade) no-repeat;
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-text);
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  /* Light text: the finer voice the owner asked for. Stays 300 (never thinner) so running text keeps its body. */
  font-weight: 300;
  line-height: 1.62;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
/* Headings default to Light in the Didone; the large ones go to ExtraLight below */
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

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

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

main:focus { outline: none; }
/* Sections reached by an in-page link take focus for keyboard users; the whole section needs no ring */
section[tabindex="-1"]:focus { outline: none; }

/* Gold triangle cursor from the game's menus. Mouse only; text fields keep the I-beam, and high-contrast
   or forced-colors setups keep the system cursor, which may be enlarged for accessibility. */
@media (pointer: fine) and (forced-colors: none) and (not (prefers-contrast: more)) {
  html { cursor: url('/assets/img/cursor.svg') 3 3, auto; }
  /* "html body" lifts specificity above the component rules that set a plain pointer */
  html body :is(a[href], button, summary, label, [role="button"], input[type="checkbox"], input[type="radio"]) {
    cursor: url('/assets/img/cursor-link.svg') 3 3, pointer;
  }
  html body :is(input:not([type="checkbox"]):not([type="radio"]), textarea) { cursor: text; }
  html body button[disabled] { cursor: progress; }
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  z-index: 100;
  left: var(--gutter);
  top: -100px;
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

/* Loading curtain. Shown on every page (only with JavaScript and motion allowed), lifted by main.js once
   fonts are in, and dropped again before leaving for another page of the site. A failsafe hides it after
   three seconds if the script never runs. */
.loader { display: none; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: var(--ink);
    border-bottom: 1px solid var(--gold);
    animation: loader-failsafe 0s 3s forwards;
  }
  .is-ready .loader {
    animation: none;
    transform: translateY(-101%);
    visibility: hidden;
    transition: transform .75s cubic-bezier(.75, 0, .2, 1), visibility 0s .75s;
  }
  .is-ready .loader.is-leaving {
    transform: translateY(101%);
    visibility: visible;
    border-bottom: 0;
    border-top: 1px solid var(--gold);
    transition: none;
  }
  .is-ready .loader.is-leaving.is-covering { transform: none; transition: transform .42s cubic-bezier(.7, 0, .25, 1); }
  /* The hero's entrance waits behind the curtain */
  .js:not(.is-ready) .hero *, .js:not(.is-ready) .hero *::before { animation-play-state: paused; }
}
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__inner { display: grid; gap: 1.25rem; justify-items: center; }
.loader__mark { display: flex; align-items: baseline; gap: .5rem; animation: soft-in .6s var(--ease) both; }
.loader__mark .wordmark__name { font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); }
.loader__mark .wordmark__suffix { font-size: .95rem; }
.loader__bar { position: relative; width: 9rem; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: loader-bar .8s .1s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes loader-bar { from { transform: scaleX(0); } }

/* Type */

.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -.022em;
  overflow-wrap: break-word;
  hyphens: manual;
}
/* Lining figures everywhere numbers are set in the display face */
.display-xl, .display-lg, .display-md, .display-sm,
.price__amount, .dial__value, .station__value, .fact dt, .work-item__num, .deadline__value, .not-found__code, .prose h2 {
  font-variant-numeric: lining-nums;
}
/* The large sizes in ExtraLight: hairline serifs at scale */
.display-xl, .display-lg, .display-md, .hero__title, .scene__title, .manifesto__title { font-weight: 200; }
/* Scaled up after the owner's reference (headings of 68 to 144px at 1440): the type does the work a
   decoration would do elsewhere. */
.display-xl { font-size: clamp(2.9rem, 1.5rem + 6vw, 7.5rem); line-height: .96; }
.display-lg { font-size: clamp(2.5rem, 1.3rem + 4.5vw, 5.75rem); line-height: 1; }
.display-md { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); line-height: 1.03; }
.display-sm { font-size: clamp(1.6rem, 1.4rem + .8vw, 2.1rem); line-height: 1.1; }

/* Visible placeholder for data the owner still has to supply */
.placeholder {
  display: inline;
  padding: .05em .35em;
  border: 1px dashed currentColor;
  color: var(--accent-text);
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: normal;
}

/* Links */

.link-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--accent-text), var(--accent-text)) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.link-line:hover { background-size: 100% 2px; color: var(--accent-text); }

.prose a, .field a, .choice a, .contact__aside a:not(.link-line) {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.prose a:hover, .field a:hover, .choice a:hover { text-decoration-thickness: 2px; }

/* Buttons: chamfered fill drawn on a pseudo-element so the focus ring is never clipped */

.btn {
  --c: 10px;
  /* One flat champagne fill, as on the owner's reference: no bevel, no grain. The chamfer stays, the
     game's button cut. Ink text on it: 10.8:1 (13.1:1 on hover). */
  --btn-bg: var(--gold-hi);
  --btn-bg-hover: #E6CDA2;
  --btn-fg: var(--ink);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.6rem;
  border: 0;
  background: none;
  color: var(--btn-fg);
  font-family: var(--font-hud);
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: clip-path .4s var(--ease), background-color .25s;
}
.btn:hover::before { --c: 3px; background: var(--btn-bg-hover); }
.btn:active::before { --c: 0px; }
.btn[disabled] { cursor: progress; opacity: .7; }

.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .72rem; }
.btn--lg { min-height: 56px; padding: .9rem 2.1rem; font-size: .86rem; }

/* Dark espresso buttons on the plaster, champagne lettering (7.9:1, 6.1:1 on hover) */
.btn--ink { --btn-bg: #241C17; --btn-bg-hover: #3A2F2A; --btn-fg: var(--gold-hi); }

.btn--ghost { --btn-bg: var(--gold); --btn-fg: var(--ivory); }
.btn--ghost::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--bg);
  clip-path: polygon(calc(var(--c) - .4px) 0, 100% 0, 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, 0 100%, 0 calc(var(--c) - .4px));
  transition: clip-path .4s var(--ease), background-color .25s;
}
.btn--ghost:hover::before { background: var(--gold); }
.btn--ghost:hover::after { --c: 3px; background: color-mix(in srgb, var(--gold) 14%, var(--bg)); }

/* Annotation motif: gold leader with a ring anchor, condensed tag, short note */

.anno {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}
.anno::before {
  content: '';
  flex: 0 0 3rem;
  align-self: center;
  height: 7px;
  background:
    radial-gradient(circle at 3.5px 50%, transparent 1.6px, var(--gold) 2px 3px, transparent 3.5px),
    linear-gradient(var(--gold), var(--gold)) 7px 50% / calc(100% - 7px) 1px no-repeat;
}
.surface-paper .anno::before {
  background:
    radial-gradient(circle at 3.5px 50%, transparent 1.6px, var(--gold-deep) 2px 3px, transparent 3.5px),
    linear-gradient(var(--gold-deep), var(--gold-deep)) 7px 50% / calc(100% - 7px) 1px no-repeat;
}
.anno__tag {
  font-family: var(--font-hud);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  white-space: nowrap;
}

figcaption { margin-top: 1rem; }

/* Chamfered image frame */

.frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  min-height: 44px;
  align-content: center;
  padding-block: .4rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--ivory);
}
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .005em;
  transition: color .3s;
}
.wordmark__suffix {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color .3s, letter-spacing .45s var(--ease);
}
/* Prototype mark before the name: the panel's chamfer and a P on the lattice's 60-degree angles */
.wordmark__mark { align-self: center; width: 1.85rem; height: 1.85rem; margin-right: .3rem; overflow: visible; }
.wordmark__mark-panel { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.wordmark__mark-p { fill: none; stroke: var(--gold-hi); stroke-width: 5.5; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .3s; }
.wordmark:hover .wordmark__mark-p, .wordmark:focus-visible .wordmark__mark-p { stroke: var(--ivory); }
/* Hover: the name warms to gold and "webs" opens up slightly; nothing moves around it */
.wordmark:hover .wordmark__name, .wordmark:focus-visible .wordmark__name { color: var(--gold-hi); }
.wordmark:hover .wordmark__suffix, .wordmark:focus-visible .wordmark__suffix { color: var(--gold-hi); letter-spacing: .2em; }

.nav { display: none; }
.nav__list, .lang-switch, .mobile-nav__list, .site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list { display: flex; gap: .25rem; }
/* Spaced small capitals, like the luxury sites on the owner's board */
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .85rem;
  color: var(--stone);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) center calc(100% - 8px) / 0 1px no-repeat;
  transition: color .2s, background-size .35s var(--ease);
}
.nav__list a:hover { color: var(--ivory); background-size: calc(100% - 1.7rem) 1px; }
.nav__list a[aria-current="page"] { color: var(--ivory); background-size: calc(100% - 1.7rem) 1px; }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-header__cta { display: none; }

.lang-switch { display: flex; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--stone);
  text-decoration: none;
  transition: color .2s;
}
.lang-switch a:hover { color: var(--ivory); }
.lang-switch a[aria-current="true"] { color: var(--gold-hi); }
.lang-switch--header { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: 0 .25rem 0 .75rem;
  border: 0;
  background: none;
  color: var(--ivory);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle__bars {
  position: relative;
  width: 22px;
  height: 9px;
  border-block: 1px solid var(--gold);
  transition: border-color .2s;
}
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 3px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { opacity: 1; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { opacity: 1; transform: rotate(-45deg); }

/* Drawer that slides in from the right edge, over a dimmed page */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: 49;
  width: min(100%, 26rem);
  overflow-y: auto;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding-block: 2rem 3rem;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__scrim {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 48;
  background: rgba(6, 6, 6, .7);
  opacity: 0;
  transition: opacity .45s ease;
}
.mobile-nav__scrim.is-open { opacity: 1; }
.mobile-nav__inner { display: grid; gap: 2rem; justify-items: start; }
.mobile-nav__list { display: grid; width: 100%; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--gold); }
.lang-switch--menu { gap: .5rem; margin-left: -.6rem; }

@media (prefers-reduced-motion: no-preference) {
  .mobile-nav.is-open .mobile-nav__list li { animation: menu-in .5s .12s var(--ease) both; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(2) { animation-delay: .17s; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(3) { animation-delay: .22s; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(4) { animation-delay: .27s; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav__scrim { transition: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateX(28px); } }

html.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav { display: block; }
  .lang-switch--header { display: flex; margin-left: .5rem; }
  .menu-toggle, .mobile-nav, .mobile-nav__scrim { display: none; }
}
@media (min-width: 1180px) {
  .site-header__cta { display: inline-flex; margin-left: .5rem; }
}

/* Section scaffolding */

.section-head { display: grid; gap: 1.5rem; max-width: 62rem; }
.section-head__intro { color: var(--muted); font-size: 1.0625rem; max-width: 40rem; }
/* Hero: one night scene. Video, light shaft and dust form a single composition; the text sits on its darkest part. */

.page-home .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  transition: background-color .35s, border-color .3s;
}
.page-home .site-header.is-scrolled, .nav-open .page-home .site-header { background: rgba(6, 6, 6, .94); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Graded darker and warmer than the source clip, so the headline always sits on deep shadow */
.hero__parallax {
  position: absolute;
  inset: 0;
  background: var(--ink);
  filter: brightness(.9) contrast(1.06);
}
/* Stock clip of a tunnel of black cubes with gold lights (Mixkit), graded to the palette in CSS: grey
   first, then brass. main.js loads it after the page is ready (360p on phones) and plays it only while the
   hero is on screen and motion is allowed; paused, it rests on a still frame. It fades in over the dark hero. */
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: grayscale(1) sepia(.75) saturate(1.5) hue-rotate(-10deg) brightness(.76) contrast(1.12); opacity: 0; transition: opacity 1.8s var(--ease-out); }
.hero__video.is-ready { opacity: 1; }
@media (max-width: 959px) { .hero__video { object-position: 50% 50%; } }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    /* .9 under the transparent header keeps the nav links above 4.5:1 over the lamps in the photo */
    linear-gradient(180deg, rgba(6, 6, 6, .92) 0, rgba(6, 6, 6, .8) 3.5rem, rgba(6, 6, 6, 0) 12rem),
    linear-gradient(0deg, rgba(6, 6, 6, .97) 0%, rgba(6, 6, 6, .6) 40%, rgba(6, 6, 6, 0) 72%),
    /* Dark under the headline, open on the right where the arcade and its lamps are */
    linear-gradient(90deg, rgba(6, 6, 6, .9) 0%, rgba(6, 6, 6, .76) 40%, rgba(6, 6, 6, .46) 70%, rgba(6, 6, 6, .12) 100%);
}
/* On a phone the text covers the whole photo, so one more even layer keeps it at 4.5:1 over the strings of lights */
@media (max-width: 599px) {
  .hero__shade::after { content: ""; position: absolute; inset: 0; background: rgba(6, 6, 6, .4); }
}
/* Between 900 and 1299px the finer, wider headline runs into the brighter right side of the clip:
   a little more shade there keeps the champagne line above 3:1 with room to spare */
@media (min-width: 900px) and (max-width: 1299px) {
  .hero__shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 6, 0) 40%, rgba(6, 6, 6, .32) 65%, rgba(6, 6, 6, .2) 100%); }
}
/* Light shaft: the blur sits on the wrapper so it softens the clipped shape instead of being cut by it.
   initDust() in main.js uses the hero shaft's four corner points. */
.light-shaft { position: absolute; inset: 0; filter: blur(30px); mix-blend-mode: screen; pointer-events: none; }
.light-shaft::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: var(--shape);
  background: linear-gradient(180deg, rgba(226, 181, 98, var(--a0, var(--a1))) 0%, rgba(226, 181, 98, var(--a1)) var(--peak, 0%), rgba(226, 181, 98, var(--a2)) 45%, rgba(226, 181, 98, 0) 80%);
}
/* The hero shaft is faint where it passes behind the header, so the nav keeps its contrast */
.hero__beam { --shape: polygon(72% 0, 82% 0, 66% 100%, 30% 100%); --a0: .06; --peak: 18%; --a1: .26; --a2: .08; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__content { display: grid; align-content: end; gap: 2.25rem; padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.hero__title {
  display: grid;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.9rem, 1.2rem + 6.6vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.015em;
  font-variant-numeric: lining-nums;
  /* A soft dark halo keeps the thin strokes at 3:1 or more where a line crosses one of the lamps */
  text-shadow: 0 0 .06em rgba(6, 6, 6, .7), 0 0 .3em rgba(6, 6, 6, .5);
}
.hero__typed, .hero__line { display: block; }
/* Characters are laid out before they appear, so typing never reflows the headline */
.hero__typed.is-typing .ch:not(.on) { opacity: 0; }
/* Zero-width caret: moving it between characters never shifts the text */
.caret { position: relative; display: inline-block; width: 0; height: .8em; vertical-align: -.04em; }
.caret::after {
  content: '';
  position: absolute;
  left: .07em;
  top: 0;
  bottom: 0;
  width: max(2px, .05em);
  background: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__typed:not(.is-typing) .caret::after, .hero__typed.is-done .caret::after { animation: caret-blink 1.06s steps(1) infinite; }
}
@keyframes caret-blink { 50% { opacity: 0; } }
.hero__below { display: grid; gap: 2rem; }
.hero__lead { max-width: 36rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--ivory); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
@media (min-width: 960px) {
  .hero__below { grid-template-columns: minmax(0, 36rem) auto; justify-content: space-between; align-items: end; }
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-bottom: 1.25rem;
}
.hero__facts .facts { flex: 1 1 30rem; }

/* Pause control for looping motion (WCAG 2.2.2). Pause = two bars, resume = the brand's triangle. */
.motion-toggle { display: none; }
.js .motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: 0 .25rem;
  border: 0;
  background: none;
  color: var(--stone);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .08em;
  transition: color .2s;
}
.js .motion-toggle:hover { color: var(--ivory); }
.motion-toggle__icon { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-paused .motion-toggle__icon { width: 0; height: 0; border-inline: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
.motion-paused .caret::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .js .motion-toggle { display: none; }
}

.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(176, 141, 87, .45); }
.fact {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--hair);
}
.fact:last-child { border-bottom: 0; }
.fact dt { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; white-space: nowrap; }
.fact dd { color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; }
  .fact { display: block; padding: 1.1rem 2.5rem 0 0; border-bottom: 0; }
  .fact + .fact { padding-left: 2.5rem; border-left: 1px solid rgba(176, 141, 87, .3); }
  .fact dd { margin-top: .45rem; max-width: 20ch; }
}

.blinds { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(9, 1fr); pointer-events: none; }
/* The 1px shadow closes sub-pixel seams between slats while they are shut */
.blinds span { background: var(--ink); box-shadow: 0 0 0 1px var(--ink); transform: scaleY(0); transform-origin: 50% 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero__below, .hero__facts { animation: soft-in 1s .85s var(--ease) both; }
  .hero__beam { animation: light-on 2.6s 1.1s ease-out both; }
  .blinds span { transform: scaleY(1); animation: blind-open 1s cubic-bezier(.65, 0, .25, 1) both; }
  .blinds span:nth-child(1) { animation-delay: .1s; }
  .blinds span:nth-child(2) { animation-delay: .16s; }
  .blinds span:nth-child(3) { animation-delay: .22s; }
  .blinds span:nth-child(4) { animation-delay: .28s; }
  .blinds span:nth-child(5) { animation-delay: .34s; }
  .blinds span:nth-child(6) { animation-delay: .4s; }
  .blinds span:nth-child(7) { animation-delay: .46s; }
  .blinds span:nth-child(8) { animation-delay: .52s; }
  .blinds span:nth-child(9) { animation-delay: .58s; }
}
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes soft-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes blind-open { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes light-on { from { opacity: 0; } }

/* Camera move: the scene sinks and the title lifts away as the page scrolls */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__parallax { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; }
    .hero__content { animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0px 85vh; }
  }
}
@keyframes hero-drift { to { transform: translateY(22%) scale(1.08); } }
@keyframes hero-lift { to { transform: translateY(-14%); opacity: 0; } }

/* Scene: the lit shop window opens to full screen while three lines tell the story.
   Without scroll timelines it shows its final state, unpinned. */

@property --sx { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --sy { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

.scene { position: relative; background: var(--ink); }
.scene__sticky {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.scene__figure { position: absolute; inset: 0; margin: 0; }
.scene__frame {
  --c: 28px;
  position: absolute;
  inset: 0;
  clip-path: polygon(calc(var(--sx) + var(--c)) var(--sy), calc(100% - var(--sx)) var(--sy), calc(100% - var(--sx)) calc(100% - var(--sy) - var(--c)), calc(100% - var(--sx) - var(--c)) calc(100% - var(--sy)), var(--sx) calc(100% - var(--sy)), var(--sx) calc(var(--sy) + var(--c)));
}
.scene__frame img { width: 100%; height: 100%; object-fit: cover; }
.scene__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, .85) 0, rgba(6, 6, 6, 0) 12rem),
    linear-gradient(0deg, rgba(6, 6, 6, .96) 0%, rgba(6, 6, 6, .72) 45%, rgba(6, 6, 6, .4) 100%);
}
.scene__caption { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 1.25rem); margin: 0; }
/* A dark plate behind the caption: the photo under it can be bright, the text must stay above 4.5:1 */
.scene__caption .anno {
  padding: .45rem .85rem;
  background: rgba(6, 6, 6, .88);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.scene__text { position: relative; padding-block: 9rem clamp(3rem, 10vh, 7rem); }
.scene__title {
  display: grid;
  gap: .3em;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 3vw, 4.4rem);
  line-height: 1.05;
}
.scene__line { display: block; }
.scene__line--3 { color: var(--gold); }

/* Pinned only on screens tall enough to hold the text; at 200% zoom or in landscape phones it scrolls normally */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-height: 620px) {
    .scene { height: 240vh; view-timeline: --scene block; }
    .scene__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
    .scene__frame { animation: scene-open linear both; animation-timeline: --scene; animation-range: contain 0% contain 40%; }
    .scene__frame::after { animation: scene-dim linear both; animation-timeline: --scene; animation-range: contain 15% contain 42%; }
    .scene__caption { animation: soft-in linear both; animation-timeline: --scene; animation-range: contain 0% contain 14%; }
    .scene__line { animation: scene-line linear both; animation-timeline: --scene; }
    .scene__line--1 { animation-range: contain 38% contain 52%; }
    .scene__line--2 { animation-range: contain 54% contain 68%; }
    .scene__line--3 { animation-range: contain 70% contain 84%; }
  }
}
@keyframes scene-open { from { --sx: 22%; --sy: 16%; } to { --sx: 0%; --sy: 0%; } }
@media (max-width: 699px) {
  @keyframes scene-open { from { --sx: 7%; --sy: 22%; } to { --sx: 0%; --sy: 0%; } }
}
@keyframes scene-dim { from { opacity: .12; } }
@keyframes scene-line { from { opacity: 0; transform: translateY(1.2rem); } }

/* Scroll reveal for section headings when the script does not run (with script, initReveals() raises
   each line out of a mask instead); static where scroll timelines are unsupported */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.js) [data-reveal] {
      animation: soft-in linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 90%;
    }
  }
}

/* Scroll-linked depth: photos pan inside their frames, the manifesto title lights up line by line */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-teaser__figure img, .how__figure img {
      animation: frame-pan linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    .manifesto__title .w {
      animation: word-lit linear both;
      animation-timeline: view();
      animation-range: cover 18% cover 42%;
    }
  }
}
@keyframes frame-pan { from { transform: translateY(-6%) scale(1.14); } to { transform: translateY(6%) scale(1.14); } }
@keyframes word-lit { from { opacity: .16; } }

/* Manifesto */

/* Problem: see "Diagnosis phone" near the end of this file */
.problem { padding-block: var(--section); }
.problem__aside { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; font-size: 1.0625rem; }

.manifesto { padding-block: var(--section); }
.manifesto__grid { display: grid; gap: 2rem; }
.manifesto__body { display: grid; gap: 1.25rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 38rem; }
.manifesto__body p:last-child { color: var(--ivory); }
.manifesto__aside {
  max-width: 22rem;
  font-family: var(--font-display);
  font-stretch: var(--wide);
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}
@media (min-width: 900px) {
  .manifesto__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 3.5rem; }
  .manifesto__title { grid-column: 1 / -1; }
  .manifesto__body { grid-column: 6 / span 6; grid-row: 2; }
  .manifesto__aside { grid-column: 1 / span 4; grid-row: 2; align-self: end; }
}

/* Anatomy: annotated X-ray */

.anatomy { position: relative; background: var(--ink-2); --bg: var(--ink-2); }
.anatomy__pin { position: relative; overflow: hidden; padding-block: var(--section); }
/* A cone of light from above, as over a lightbox; the X-ray's screen blend picks it up */
.anatomy__light { --shape: polygon(45% 0, 55% 0, 76% 100%, 24% 100%); --a1: .16; --a2: .06; }
.anatomy__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.anatomy__inner { position: relative; }
.anatomy__stage { margin-top: 3rem; }
.anatomy__figure { position: relative; max-width: 340px; margin-inline: auto; }
.anatomy__tilt { position: relative; }
/* The X-ray is gold on black (fade baked in). No isolation here: the screen blend must reach the
   section background so the black disappears. */
.anatomy__drawing { position: relative; aspect-ratio: 900 / 1310; }
.anatomy__drawing img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}
/* Gold-on-transparent copy made by main.js; it needs no blend mode, so it can live in a 3D context */
.anatomy__render {
  display: block;
  width: 100%;
  height: 100%;
}
.has-render .anatomy__drawing img { display: none; }
.anatomy__glow, .anatomy__scan { display: none; }
.anatomy__caption { margin-top: .5rem; }

.anatomy__marker {
  --x: 50%;
  --y: 50%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .8rem;
  line-height: 1;
  transform: translate(-50%, -50%);
}
/* On the X-ray: index and ring fingertip joints, thumb knuckle, little-finger metacarpal, wrist */
.anatomy__marker--1 { --x: 36.6%; --y: 26%; }
.anatomy__marker--2 { --x: 66.6%; --y: 28.5%; }
.anatomy__marker--3 { --x: 18.6%; --y: 55.6%; }
.anatomy__marker--4 { --x: 70.5%; --y: 64.5%; }
.anatomy__marker--5 { --x: 51%; --y: 80.6%; }

.anatomy__leader { display: none; }

.anatomy__callouts {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.callout {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: .9rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.callout__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .8rem;
}
.callout__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.callout__text { color: var(--muted); margin-top: .3rem; }

@media (min-width: 640px) and (max-width: 1099px) {
  .anatomy__callouts { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* The annotated layout needs about 280px per callout column, so it starts at 1100px. */
@media (min-width: 1100px) {
  .anatomy__stage {
    --fig-l: 34%;
    --fig-w: 32%;
    position: relative;
    aspect-ratio: 1260 / 640;
  }
  .anatomy__figure {
    position: absolute;
    top: 0;
    left: var(--fig-l);
    width: var(--fig-w);
    max-width: none;
    margin: 0;
  }
  .anatomy__drawing { aspect-ratio: 900 / 1310; height: auto; }
  .anatomy__caption { position: absolute; left: 50%; bottom: -2.25rem; transform: translateX(-50%); white-space: nowrap; }

  .anatomy__callouts { margin: 0; display: block; }
  /* Marker y inside the figure x 0.917 (figure height / stage height) gives the stage y below. */
  .callout {
    position: absolute;
    display: block;
    width: 26%;
    top: var(--y);
    padding: 0;
    border: 0;
    transform: translateY(-.85rem);
  }
  .callout--1, .callout--3, .callout--5 { left: 0; }
  .callout--2, .callout--4 { right: 0; }
  .callout--1 { --y: 23.8%; }
  .callout--2 { --y: 26.1%; }
  .callout--3 { --y: 51%; }
  .callout--4 { --y: 59.1%; }
  .callout--5 { --y: 73.9%; }

  .anatomy__leader {
    display: block;
    position: absolute;
    height: 1px;
    background: var(--gold);
    top: var(--y);
  }
  /* Leader from callout edge (26% / 74%) to the marker; x is the marker position inside the figure */
  .anatomy__leader--1 { --y: 23.8%; left: 26%; width: calc(var(--fig-l) + var(--fig-w) * .366 - 26% - 12px); transform-origin: right; }
  .anatomy__leader--2 { --y: 26.1%; left: calc(var(--fig-l) + var(--fig-w) * .666 + 12px); right: 26%; transform-origin: left; }
  .anatomy__leader--3 { --y: 51%; left: 26%; width: calc(var(--fig-l) + var(--fig-w) * .186 - 26% - 12px); transform-origin: right; }
  .anatomy__leader--4 { --y: 59.1%; left: calc(var(--fig-l) + var(--fig-w) * .705 + 12px); right: 26%; transform-origin: left; }
  .anatomy__leader--5 { --y: 73.9%; left: 26%; width: calc(var(--fig-l) + var(--fig-w) * .51 - 26% - 12px); transform-origin: right; }

  .callout__num { display: none; }
  .callout--2, .callout--4 { text-align: left; padding-left: 1.25rem; }
  .callout--1, .callout--3, .callout--5 { padding-right: 1.25rem; text-align: right; }
}

/* Scroll unlock. main.js adds .is-interactive (never under reduced motion): the section pins while
   scrolling unlocks the five parts in order, and the hand tilts in 3D toward the current one. */
.anatomy.is-interactive { height: 320vh; }
.is-interactive .anatomy__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  align-content: center;
  padding-block: calc(var(--header-h) + 1rem) 1.5rem;
}
.is-interactive .anatomy__stage { margin-top: 1.75rem; }
.is-interactive .anatomy__figure { perspective: 1100px; }
.is-interactive .anatomy__tilt { transform-style: preserve-3d; will-change: transform; }
.is-interactive .anatomy__drawing { opacity: 0; transition: opacity .9s var(--ease); }
.is-interactive.has-render .anatomy__drawing { opacity: 1; }
.is-interactive .anatomy__marker {
  transform: translate(-50%, -50%) translateZ(36px);
  border-color: var(--field-line);
  color: var(--stone);
  transition: background-color .35s, color .35s, border-color .35s;
}
.is-interactive .anatomy__marker.is-unlocked { border-color: var(--gold); background: var(--gold); color: var(--ink); }
/* One ring when a part unlocks; it does not repeat */
.is-interactive .anatomy__marker.is-current::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: unlock-ring 1s ease-out both;
}
/* The current title types itself out, like a readout */
.is-interactive .callout.is-current .callout__title {
  color: var(--gold);
}
/* Typed letter by letter by main.js (typeCallout): title first, then its line; letters keep their place */
.callout .ch { opacity: 0; }
.callout .ch.on { opacity: 1; }
/* A fixed reticle marks the current part after the ring has gone */
.is-interactive .anatomy__marker::before {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .4s, transform .5s var(--ease);
}
.is-interactive .anatomy__marker.is-current::before { opacity: .55; transform: none; }
@keyframes unlock-ring { to { transform: scale(2.8); opacity: 0; } }
@keyframes type-on { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* The bones around the current part glow; the light slides from part to part. */
@property --hx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --hy { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.is-interactive .anatomy__drawing { overflow: hidden; }
.is-interactive .anatomy__glow {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-mask-image: radial-gradient(ellipse 24% 16.5% at var(--hx) var(--hy), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 24% 16.5% at var(--hx) var(--hy), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
  transition: opacity .6s var(--ease), --hx .9s var(--ease), --hy .9s var(--ease);
}
.is-interactive.has-focus .anatomy__glow { opacity: 1; }
/* Each unlock passes one scan line down the X-ray, once */
.is-interactive .anatomy__scan {
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 18%;
  border-bottom: 1px solid rgba(226, 181, 98, .8);
  background: linear-gradient(180deg, rgba(214, 165, 78, 0), rgba(214, 165, 78, .14));
  /* Fades out at the sides so the pass reads as a line of light, not a box */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  opacity: 0;
  pointer-events: none;
}
.is-interactive .anatomy__scan.is-scanning { animation: xray-scan 1.1s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes xray-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { transform: translateY(556%); opacity: 0; }
}

@media (max-width: 1099px) {
  .is-interactive .section-head { gap: .75rem; }
  .is-interactive .anatomy__figure { width: clamp(150px, calc((100svh - var(--header-h) - 25rem) * .687), 300px); }
  .is-interactive .anatomy__caption { display: none; }
  .is-interactive .anatomy__callouts { margin-top: 1.25rem; grid-template-columns: 1fr; min-height: 7.5rem; }
  .is-interactive .callout { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .is-interactive .callout.is-current { opacity: 1; transform: none; }
}

@media (min-width: 1100px) {
  .anatomy.is-interactive { height: 340vh; }
  .is-interactive .anatomy__stage { width: min(100%, calc((100svh - var(--header-h) - 15rem) * 1.97)); margin-inline: auto; }
  .is-interactive .anatomy__leader { transform: scaleX(0); transition: transform .6s var(--ease); }
  .is-interactive .anatomy__leader.is-unlocked { transform: none; }
  .is-interactive .callout { opacity: 0; transition: opacity .5s var(--ease); }
  /* .8, not lower: dimmed body text still measures 5:1 */
  .is-interactive .callout.is-unlocked { opacity: .8; }
  .is-interactive .callout.is-current { opacity: 1; }
}

/* Pricing (paper) */

.pricing { position: relative; isolation: isolate; padding-block: var(--section); }
/* Living facets (main.js) replace the static facet tile once the first frame is drawn. Shading is
   capped at 4.5% black / 5% white (was 7 / 9 until 2026-11-09: softer, so the triangles never flash white). */
.live-facets { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.surface-paper.has-live-facets {
  background:
    linear-gradient(205deg, rgba(255, 250, 238, .28) 0%, rgba(255, 250, 238, 0) 45%),
    var(--bg);
}
/* Three packages side by side once each panel has room for its price and button; stacked below that.
   Equal panels on purpose: none is pushed as the "popular" one. */
.offers { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 1100px) { .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.offer {
  --c: 18px;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2.5rem;
  align-content: space-between;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
.offer::before, .offer::after {
  content: '';
  position: absolute;
  z-index: -1;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.offer::before { inset: 0; background: var(--paper-line-strong); transition: background-color .3s; }
/* Panels sit one step lighter than the section: elevation by value, not by shadow */
.offer::after { inset: 1px; background: var(--paper-raised); clip-path: polygon(calc(var(--c) - .4px) 0, 100% 0, 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, 0 100%, 0 calc(var(--c) - .4px)); }
.offer:hover::before { background: var(--gold-deep); }
.offer__name { font-family: var(--font-display); font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem); line-height: 1.05; }
.offer__desc { margin-top: .9rem; color: var(--muted); max-width: 30rem; }
.offer__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
/* Side by side, each panel shares three rows with its neighbours (text, price, button), so the prices
   line up even when one button label runs to two lines */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1100px) {
    .offer { grid-row: span 3; grid-template-rows: subgrid; row-gap: 1.25rem; align-content: normal; }
    .offer__bottom { display: contents; }
    .offer__price { align-self: end; margin-top: 1.25rem; }
    .offer .btn { justify-self: start; align-self: start; }
  }
}

.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: .3rem; white-space: nowrap; }
.price__amount { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 2.2rem + 1.5vw, 3.6rem); line-height: 1; letter-spacing: -.01em; }
.price__currency { font-family: var(--font-display); font-size: 1.6rem; }
.price__from { margin-right: .3rem; font-size: 1rem; color: var(--muted); }
.price__unit { flex-basis: 100%; margin-top: .3rem; font-family: var(--font-label); font-weight: 500; font-size: .95rem; letter-spacing: .08em; color: var(--muted); }

.included {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-block: 2rem;
  border-block: 1px solid var(--hair);
}
.included__title { font-family: var(--font-display); font-size: 1.6rem; }
.included__list, .tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem 2.5rem; }
.included__list li, .tick-list li { position: relative; padding-left: 1.5rem; }
.included__list li::before, .tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .8em;
  width: .85rem;
  height: 1px;
  background: var(--accent-text);
}
@media (min-width: 700px) { .included__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .included { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.pricing__note { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }

/* Work */

.work { padding-block: var(--section); }
.work__list { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 640px) { .work__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .work__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* align-content: start keeps the shorter empty slots from stretching their rows, which widened the 16:10 frames past the column */
.work-item { display: grid; gap: .35rem; align-content: start; }
.work-item__link { display: grid; gap: .35rem; text-decoration: none; }
.work-item__frame { --cut: 16px; display: block; aspect-ratio: 16 / 10; margin-bottom: .9rem; }
.work-item__frame img { transition: transform .8s var(--ease); }
.work-item__link:hover img { transform: scale(1.035); }
.work-item__name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }
.work-item__type { color: var(--muted); font-size: .95rem; }
.work-item__visit { margin-top: .4rem; font-family: var(--font-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.work-item__frame--empty {
  --c: 16px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-bottom: .9rem;
}
.work-item__frame--empty::before, .work-item__frame--empty::after {
  content: '';
  position: absolute;
  z-index: -1;
}
.work-item__frame--empty::before {
  inset: 0;
  background: var(--line-strong);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.work-item__frame--empty::after {
  inset: 1px;
  background: var(--ink-2);
  clip-path: polygon(calc(var(--c) - .4px) 0, 100% 0, 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, 0 100%, 0 calc(var(--c) - .4px));
}
.work-item__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 4vw, 6.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
.work-item--empty .work-item__name { color: var(--stone); }

/* About teaser */

.about-teaser { padding-block: var(--section); background: var(--ink-2); --bg: var(--ink-2); }
.about-teaser__grid { display: grid; gap: 3rem; align-items: center; }
.about-teaser__figure .frame { --cut: 18px; aspect-ratio: 4 / 5; }
/* Pull the photo's green street light toward the amber palette */
.about-teaser__figure img { object-position: 50% 70%; filter: sepia(.35) saturate(.85) hue-rotate(-6deg); }
.about-teaser__text { display: grid; gap: 1.25rem; justify-items: start; max-width: 36rem; }
.about-teaser__text p { color: var(--muted); font-size: 1.0625rem; }
.about-teaser__text p:nth-of-type(2) { color: var(--ivory); }
@media (min-width: 900px) {
  .about-teaser__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 8rem); }
  .about-teaser__figure { max-width: 30rem; }
}

/* Closing call to action, over a darkened photo */

/* Closing scene after the game's main menu: amber light enters from the right, shards drift through it
   (initShards in main.js), and the left side stays dark under the text. */
.closing {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  padding-block: clamp(6rem, 4rem + 8vw, 11rem);
  overflow: hidden;
}
.shards-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(100deg, #0D0C0A 0%, #15110B 38%, #3B2A12 66%, #6E4C1C 86%, #4A3415 100%);
}
.shards-bg__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.shards-bg__streaks { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; }
.shards-bg__streaks span {
  position: absolute;
  left: 30%;
  top: 50%;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 226, 160, 0), rgba(255, 226, 160, .7) 55%, rgba(255, 226, 160, 0));
  transform: rotate(-62deg);
  filter: blur(1px);
}
.shards-bg__streaks span:nth-child(1) { left: 40%; height: 160px; margin-top: -80px; opacity: .3; filter: blur(40px); }
.shards-bg__streaks span:nth-child(2) { left: 44%; height: 3px; opacity: .8; filter: blur(1.5px); }
.shards-bg__streaks span:nth-child(3) { left: 49%; height: 1px; opacity: .6; }
.closing__shade {
  position: absolute;
  inset: 0;
  /* Holds .85 across the whole text column, so a glinting shard behind the text never drops it below 4.5:1 */
  background: linear-gradient(90deg, rgba(6, 6, 6, .92) 0%, rgba(6, 6, 6, .85) 48%, rgba(6, 6, 6, 0) 74%);
}
@media (max-width: 899px) {
  .closing .shards-bg__streaks span { left: 10%; }
  .closing__shade { background: rgba(6, 6, 6, .78); }
}
.closing__inner { display: grid; gap: 1.5rem; justify-items: start; }
.closing__title { max-width: 18ch; }
.closing__text { max-width: 34rem; color: var(--ivory); font-size: 1.125rem; }
.closing .btn { margin-top: .75rem; }
/* The free-design form: one column of three fields, kept inside the dark side of the scene */
.lead-form { width: 100%; max-width: 32rem; gap: 1.25rem; margin-top: .5rem; }
.lead-form .form__submit { padding-top: 0; }
.lead-success { display: grid; gap: .75rem; max-width: 32rem; padding-top: .5rem; }
/* display: grid above would otherwise override the hidden attribute and show the thanks before sending */
.lead-success[hidden] { display: none; }
.lead-success p { color: var(--ivory); font-size: 1.125rem; }
/* The form reaches past the 48% mark between 900 and 1279px, so the shade holds .85 further right there */
@media (min-width: 900px) and (max-width: 1279px) {
  .closing__shade { background: linear-gradient(90deg, rgba(6, 6, 6, .92) 0%, rgba(6, 6, 6, .85) 66%, rgba(6, 6, 6, 0) 86%); }
}

/* Footer */

.site-footer { padding-block: 4rem 2.5rem; background: var(--ink); }
.site-footer__top {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-bottom: .5rem;
}
.site-footer__mark { display: flex; align-items: baseline; gap: .6rem; }
.site-footer__mark .wordmark__name { font-family: var(--font-display); font-weight: 200; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: .9; }
.site-footer__mark .wordmark__suffix { font-family: var(--font-label); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.site-footer__line { color: var(--muted); max-width: 30rem; }
.site-footer__bottom { display: grid; gap: 1.5rem; padding-top: 2rem; }
.site-footer__links { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ivory);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links--docs a { color: var(--stone); }
.lang-switch--footer { margin-left: -.7rem; }
.site-footer__legal { color: var(--stone); font-size: .875rem; }
.site-footer__legal a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.site-footer__legal a:hover { color: var(--gold-hi); }

@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: auto 1fr auto; align-items: end; gap: 3rem; }
  .site-footer__bottom { grid-template-columns: auto auto 1fr auto; align-items: center; column-gap: 3rem; }
  .lang-switch--footer { justify-self: end; }
  .site-footer__legal { grid-column: 1 / -1; }
}

/* Subpage hero */

.page-hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero__grid { display: grid; gap: 2.5rem; align-items: end; }
.page-hero__grid--text { gap: 1.75rem; }
.page-hero__intro, .page-hero__sub { max-width: 40rem; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); }
.page-hero__sub { margin-top: 1.5rem; font-family: var(--font-label); font-weight: 500; letter-spacing: .08em; font-size: 1.1rem; }
@media (min-width: 900px) {
  .page-hero--compact { padding-bottom: 3rem; }
}

/* About page */

.page-hero--about .page-hero__grid { align-items: center; }
@media (min-width: 900px) {
  .page-hero--about .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; }
}
.portrait__frame {
  --c: 18px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-width: 24rem;
  padding: 1.5rem;
  text-align: center;
}
/* No personal photo: the frame holds the brand mark */
.portrait__mark { width: 52%; height: auto; overflow: visible; }
.portrait__mark .wordmark__mark-panel { stroke-width: 1.2; }
.portrait__mark .wordmark__mark-p { stroke-width: 3; }
.portrait__frame::before, .portrait__frame::after { content: ''; position: absolute; z-index: -1; }
.portrait__frame::before { inset: 0; background: var(--line-strong); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.portrait__frame::after { inset: 1px; background: var(--ink-2); clip-path: polygon(calc(var(--c) - .4px) 0, 100% 0, 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, 0 100%, 0 calc(var(--c) - .4px)); }

.bio { padding-block: var(--section); }
.bio__grid { display: grid; gap: 3.5rem; }
.bio__text { display: grid; gap: 1.25rem; max-width: 36rem; color: var(--muted); }
.bio__lede { font-family: var(--font-display); font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem); line-height: 1.25; color: var(--fg); }
@media (min-width: 900px) {
  .bio__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; align-items: start; }
}

.how { padding-block: var(--section); }
.how__grid { display: grid; gap: 3rem; align-items: center; }
.how__figure { max-width: 30rem; }
.how__figure .frame { --cut: 18px; aspect-ratio: 4 / 5; }
.how__figure img { object-position: 50% 70%; filter: sepia(.35) saturate(.85) hue-rotate(-6deg); }
.how__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.how__list li { --cut: 14px; padding: 1.4rem 1.6rem; background: var(--ink-3); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.how__list h3 { font-family: var(--font-display); font-stretch: var(--wide); font-weight: 400; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; }
.how__list p { margin-top: .35rem; color: var(--muted); }
@media (min-width: 900px) {
  .how__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 7rem); }
}

/* Services page */

.terms { padding-block: var(--section); }
/* One entry point: the large "included" heading and its list first, then two smaller blocks of equal
   weight under a line, each with its title above its text so the eye reads top to bottom. */
.terms__grid { display: grid; gap: 3.5rem; }
.terms__block { display: grid; gap: 1.25rem; align-content: start; }
.terms__block--included { gap: 2.25rem; }
.terms__block p { color: var(--muted); max-width: 34rem; }
.terms .tick-list { gap: .7rem 2.5rem; }
.terms__secondary { display: grid; gap: 3rem; padding-top: 3rem; border-top: 1px solid var(--hair-strong); }
.terms__subtitle { font-size: 1.3rem; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
@media (min-width: 700px) {
  .terms__block--included .tick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .terms__grid { row-gap: 4.5rem; }
  .terms__block--included .tick-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terms__secondary { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); }
}

.deadline { padding-block: var(--section); }
.deadline__grid { display: grid; gap: 2rem; align-items: center; }
.deadline__value {
  font-family: var(--font-display);
  font-weight: 500;
  /* Sized so the number and its unit fit their column from 320px up */
  font-size: clamp(5.5rem, 2.5rem + 10vw, 12rem);
  line-height: .8;
  white-space: nowrap;
  color: var(--gold);
  letter-spacing: -.03em;
}
.deadline__value span { font-size: .4em; margin-left: .2em; letter-spacing: 0; }
.deadline__text { display: grid; gap: 1.25rem; max-width: 34rem; }
.deadline__text p { color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 900px) {
  .deadline__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; }
}

/* Contact page and form */

/* The closing scene continues here: the shards stay behind the whole page (fixed) and keep drifting
   while the form scrolls over them. main is isolated so the scene sits above the body background;
   the footer is positioned so it still covers the scene. */
.page-contact main { position: relative; isolation: isolate; }
.contact-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.contact-backdrop .shards-bg { z-index: auto; }
.page-contact .site-footer { position: relative; }

/* Text sits on a dark shade at least .88 (.9 on phones), so a bright shard behind it never drops
   any text pair below 4.5:1; the light and the shards stay open on the right. */
.page-hero--contact { padding-block: clamp(3rem, 2rem + 5vw, 7rem) 3rem; }
.contact-hero { display: grid; gap: 1.5rem; justify-items: start; }
.contact-hero .page-hero__intro { max-width: 34rem; }
.contact-hero__facts { margin-top: .75rem; max-width: 40rem; }
.contact-hero__facts dt { color: var(--gold); }
@media (min-width: 1000px) {
  .page-hero--contact, .page-contact .contact {
    background: linear-gradient(90deg, rgba(6, 6, 6, .93) 0%, rgba(6, 6, 6, .88) 60%, rgba(6, 6, 6, 0) 80%);
  }
}
@media (max-width: 999px) {
  /* Phones and tablets: the scene shows above the title, then the page darkens under the text */
  .page-hero--contact {
    padding-top: clamp(9rem, 30svh, 15rem);
    background: linear-gradient(180deg, rgba(6, 6, 6, 0) 0, rgba(6, 6, 6, .5) clamp(4rem, 14svh, 7rem), rgba(6, 6, 6, .9) clamp(8rem, 27svh, 13.5rem));
  }
  .page-contact .contact { background: rgba(6, 6, 6, .9); }
}

.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; gap: 4rem; }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
  /* The aside sits over the lit side, so it gets its own dark panel with the cut corners */
  .contact__aside {
    --c: 18px;
    padding: 1.75rem 1.75rem 2rem;
    background: rgba(6, 6, 6, .9);
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  }
  .contact__aside .aside-block:first-child { padding-top: 0; border-top: 0; }
}

.form { display: grid; gap: 1.75rem; }
.form__row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* minmax(0, 1fr): the file input sizes itself to its native label, which is wider than a 320px screen */
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; align-content: start; min-width: 0; border: 0; margin: 0; padding: 0; }
.field__label { font-weight: 500; font-size: 1rem; padding: 0; }
.field__optional { color: var(--stone); font-weight: 400; }
.field__hint { color: var(--stone); font-size: .9rem; margin-top: -.15rem; }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: var(--ink-3);
  color: var(--ivory);
  font-size: 1.0625rem;
  transition: border-color .2s, background-color .2s;
}
.field__input--area { min-height: 11rem; resize: vertical; line-height: 1.5; }
.field__input:hover { border-color: var(--stone); }
.field__input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__error {
  color: var(--err);
  font-size: .95rem;
  font-weight: 500;
}
.field__error::before { content: '! '; font-family: var(--font-label); font-weight: 500; }

/* Pickers: real radios and checkboxes shown as a drop-down (main.js). Without JavaScript the trigger
   stays hidden and the options show as a plain list, which still works. */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
/* min-width: 0 lets a long choice shorten with an ellipsis instead of widening the field */
.picker__box { position: relative; min-width: 0; }
.picker__trigger { display: none; }
.js .picker__trigger {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  min-height: 56px;
  padding: .5rem 1.1rem .5rem .9rem;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: var(--ink-3);
  color: var(--ivory);
  font: inherit;
  font-size: 1.0625rem;
  text-align: left;
  transition: border-color .2s;
}
.js .picker__trigger:hover { border-color: var(--stone); }
.js .picker__trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.js .picker.is-open .picker__trigger { border-color: var(--gold); }
.js .picker[aria-invalid="true"] .picker__trigger { border-color: var(--error); }
.picker__shown { display: flex; gap: .3rem; color: var(--gold); }
.picker__shown:empty { display: none; }
.picker__value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__value.is-placeholder { color: var(--stone); }
/* The name wins the space: the price note gives way first, and on narrow phones it shows only in the list */
.picker__value-meta { flex: 0 3 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--stone); font-size: .95rem; white-space: nowrap; }
.picker__value-meta:empty { display: none; }
@media (max-width: 479px) { .picker__value-meta { display: none; } }
.picker__chevron {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-left: .25rem;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.picker.is-open .picker__chevron { transform: translateY(2px) rotate(-135deg); }

.picker__panel {
  display: grid;
  border: 1px solid var(--line-strong);
  border-top-color: var(--gold);
  background: var(--ink-2);
}
/* The open panel floats over the fields below it; the shadow is what separates it from them. */
.js .picker__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: min(60vh, 24rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .55);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .16s, transform .22s var(--ease), visibility 0s .22s;
}
.js .picker.is-open .picker__panel { visibility: visible; opacity: 1; transform: none; transition: opacity .16s, transform .22s var(--ease); }

.picker__option {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  min-height: 60px;
  padding: .6rem 1.1rem .6rem .9rem;
  border-top: 1px solid var(--line);
  transition: background-color .15s;
}
.picker__option:first-child { border-top: 0; }
.picker__option:hover { background: var(--ink-3); }
.picker__option:has(.picker__input:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; }
/* The real input stays focusable and in the form; the row draws its state */
.picker__input { position: absolute; inset: 50% auto auto 1rem; width: 1px; height: 1px; margin: 0; opacity: 0; }
.picker__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: var(--gold); }
.picker__code {
  display: grid;
  place-items: center;
  min-width: 2rem;
  height: 1.6rem;
  padding-inline: .3rem;
  border: 1px solid currentColor;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .14em;
  line-height: 1;
}
.picker__shown .picker__code { min-width: 1.85rem; height: 1.45rem; font-size: .75rem; }
.picker__text { display: grid; gap: .1rem; }
.picker__name { line-height: 1.25; transition: color .15s; }
.picker__meta { color: var(--stone); font-size: .9rem; line-height: 1.3; }
.picker__option:has(.picker__input:checked) .picker__name { color: var(--gold); }
/* Radio = diamond, checkbox = square; both fill gold when chosen */
.picker__check { position: relative; width: 18px; height: 18px; border: 1px solid var(--field-line); transition: background-color .15s, border-color .15s; }
.picker__check--radio { width: 13px; height: 13px; margin-inline: 2px; transform: rotate(45deg); }
.picker__input:checked ~ .picker__check { border-color: var(--gold); background: var(--gold); }
.picker__check--checkbox::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  opacity: 0;
}
.picker__input:checked ~ .picker__check--checkbox::after { opacity: 1; }
.picker[aria-invalid="true"] .picker__panel { border-color: var(--error); }

.choice {
  display: inline-flex;
  align-items: flex-start;
  gap: .75rem;
  min-height: 44px;
  padding-block: .55rem;
  cursor: pointer;
}
.choice input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: .15rem 0 0;
  accent-color: var(--gold);
  cursor: pointer;
}
/* Inline padding enlarges the tap area of the policy link without changing the line height */
.choice a { padding-block: .8rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { display: grid; gap: 1rem; justify-items: start; padding-top: .5rem; }
.form__note { color: var(--stone); font-size: .9rem; }

.form__status {
  padding: 1rem 1.25rem;
  border: 1px solid var(--error);
  background: color-mix(in srgb, var(--error) 8%, var(--ink));
  color: var(--ivory);
}
.form__status::before { content: '! '; color: var(--error); font-family: var(--font-label); font-weight: 500; }

.form-success {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--gold);
}
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success p { color: var(--muted); }

.contact__aside { display: grid; gap: 2.5rem; }
.aside-block { display: grid; gap: .75rem; justify-items: start; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.aside-block p { color: var(--muted); }
.aside-block__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.mini-prices { display: grid; width: 100%; }
.mini-prices div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; border-bottom: 1px dotted var(--line-strong); }
.mini-prices dt { color: var(--muted); }
.mini-prices dd { font-weight: 500; white-space: nowrap; }

/* Live order summary in the contact aside */
.order__body { display: grid; gap: .75rem; width: 100%; }
.order__empty { color: var(--muted); }
.order .mini-prices dd { white-space: normal; text-align: right; }
.order__total { padding-top: .25rem; font-size: 1.05rem; }
.order__total strong { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--gold-hi); font-variant-numeric: lining-nums; }
.order__note { color: var(--muted); font-size: .9rem; }

/* File field: the native picker, its button dressed as an espresso button */
.field__file { width: 100%; min-width: 0; color: var(--muted); font-size: .95rem; }
.field__file::file-selector-button {
  margin-right: 1rem;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid var(--field-line);
  background: var(--ink-3);
  color: var(--gold-hi);
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s;
}
.field__file:hover::file-selector-button { border-color: var(--gold); }
.field__file:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem 0 .35rem .75rem; border-left: 1px solid var(--gold); color: var(--ivory); font-size: .95rem; overflow-wrap: anywhere; }
.file-list__remove { flex: 0 0 auto; width: 44px; height: 44px; border: 0; background: none; color: var(--stone); font-size: 1.4rem; cursor: pointer; }
.file-list__remove:hover { color: var(--gold-hi); }
.file-list__remove:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

/* Legal pages (paper) */

.legal { padding-block: clamp(3rem, 2rem + 5vw, 7rem) var(--section); }
/* The page title sits closer to the top than a section heading would, so the fade is shorter here */
.legal.fade-edges::after { --fade: clamp(2.25rem, 1.5rem + 3.5vw, 5.25rem); }
.legal__grid { display: grid; gap: 2.5rem; }
.legal__head { display: grid; gap: 1rem; max-width: 48rem; }
.legal__updated { color: var(--muted); font-family: var(--font-label); font-weight: 500; letter-spacing: .08em; }
.legal__note {
  padding: 1rem 1.25rem;
  border: 1px dashed var(--gold-deep);
  color: var(--fg);
  max-width: 44rem;
}
.legal__toc { font-size: .95rem; }
.legal__toc-title { font-family: var(--font-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.legal__toc ol { margin: .75rem 0 0; padding-left: 1.25rem; display: grid; gap: .1rem; }
.legal__toc a { display: block; padding-block: .35rem; color: var(--fg); text-decoration: none; }
.legal__toc a:hover { color: var(--accent-text); text-decoration: underline; }
.prose { max-width: 44rem; }
.prose section + section { margin-top: 2.75rem; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem); line-height: 1.15; margin-bottom: 1rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; display: grid; gap: .6rem; }
.prose li::marker { color: var(--accent-text); }
@media (min-width: 1000px) {
  .legal__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: 5rem; row-gap: 3.5rem; }
  .legal__head { grid-column: 1 / -1; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* 404 */

.not-found { min-height: 100vh; min-height: 100dvh; padding-block: 2rem 4rem; }
.not-found__code {
  margin-top: clamp(2rem, 6vw, 5rem);
  font-family: var(--font-display);
  font-size: clamp(7rem, 4rem + 14vw, 14rem);
  line-height: .85;
  color: var(--gold);
}
.not-found__grid { display: grid; gap: 2rem; margin-top: 3rem; }
.not-found__block { display: grid; gap: .75rem; justify-items: start; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.not-found__block p { color: var(--muted); }
@media (min-width: 900px) { .not-found__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

/* "See prices" jumps down the page, so its mark is a down arrow in a ring */
.jump {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 44px;
  color: var(--ivory);
  font-weight: 500;
  text-decoration: none;
}
.jump__ring {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s;
}
/* The arrow: a 1px stem and a chevron head */
.jump__ring::before, .jump__ring::after { content: ''; position: absolute; left: 50%; transition: transform .35s var(--ease); }
.jump__ring::before { top: 13px; width: 1px; height: 16px; margin-left: -.5px; background: var(--gold-hi); }
.jump__ring::after { top: 21px; width: 8px; height: 8px; margin-left: -4px; border-right: 1px solid var(--gold-hi); border-bottom: 1px solid var(--gold-hi); transform: rotate(45deg); }
.jump:hover .jump__ring { background: rgba(176, 141, 87, .16); border-color: var(--gold-hi); }
.jump:hover .jump__ring::before { transform: translateY(3px); }
.jump:hover .jump__ring::after { transform: translateY(3px) rotate(45deg); }
.jump:hover .jump__text { color: var(--gold-hi); }
.jump:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* The Kraków photo (home and about pages) in a Renaissance arch, as in the Wawel courtyard arcades,
   with a thin brass arch set off behind it. The chamfer stays the "machine" half everywhere else.
   The radii make a true semicircle on the 4:5 frame. */
.frame--arch {
  clip-path: none;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  isolation: isolate;
}
.arch { position: relative; }
.arch::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(176, 141, 87, .55);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  pointer-events: none;
}

/* Motion off: everything static */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .blinds { display: none; }
}


/* ------------------------------------------------------------------------------------------------
   Motion, second pass (2026-11-09), after the owner's reference: long expo easing, titles that rise line
   by line out of a mask, section content that follows in a short stagger, pictures that open from below,
   and geometric gold traces in a few dark sections. Transform, opacity and clip-path only. All of it is set
   up by initReveals() / initMotes() in main.js, so without script or with reduced motion the page is
   simply static and complete.
   ------------------------------------------------------------------------------------------------ */

/* Loading curtain: the letters of the mark rise one after another */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .loader__mark { animation: none; }
  .loader__mark .wordmark__name, .loader__mark .wordmark__suffix { display: inline-flex; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
  .ld-l { display: inline-block; transform: translateY(110%); animation: ld-up .9s var(--ease-out) forwards; animation-delay: 50ms; }
  /* The site CSP allows no inline styles, so the stagger is set by position */
  .loader__mark .ld-l:nth-child(2) { animation-delay: 105ms; }
  .loader__mark .ld-l:nth-child(3) { animation-delay: 160ms; }
  .loader__mark .ld-l:nth-child(4) { animation-delay: 215ms; }
  .loader__mark .ld-l:nth-child(5) { animation-delay: 270ms; }
  .loader__mark .ld-l:nth-child(6) { animation-delay: 325ms; }
  .loader__mark .wordmark__suffix .ld-l { animation-delay: 400ms; }
}
@keyframes ld-up { to { transform: none; } }

/* Titles: each line rises out of its own mask; padding keeps italic overhangs and descenders unclipped */
.ln { display: block; overflow: hidden; padding: 0 .14em .16em 0; margin: 0 -.14em -.16em 0; }
.ln__in { display: block; transform: translateY(108%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--ln, 0) * 110ms); }
.is-in > .ln > .ln__in { transform: none; }

/* Content: rises a little and fades in, in the order it reads */
.rise-on [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.25s var(--ease-out); transition-delay: var(--d, 0ms); }
.rise-on [data-rise].is-in { opacity: 1; transform: none; }

/* Pictures open from below inside their frame and settle from a slight zoom */
.rise-on [data-rise-img] img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.4s var(--ease-out), transform 2s var(--ease-out); transition-delay: var(--d, 0ms); }
.rise-on [data-rise-img].is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* Geometric gold traces and triangles in a few dark sections (main.js initTraces); behind the content */
.has-traces { position: relative; isolation: isolate; }
.traces { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.traces.is-on { opacity: 1; }

/* Buttons lift a touch on hover and give way when pressed */
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .6s var(--ease-out); }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(.985); transition-duration: .15s; }
}

/* Soft section edges, part two: what is painted above a section's fade (the anatomy's light shaft and
   dust) and the geometric lines of the dark sections fade out at the section edges too, so no line or
   beam is ever cut by a hard horizontal edge. */
.anatomy__light, .anatomy__dust {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--section) * 1.1));
  mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--section) * 1.1));
}
.traces {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}


/* ------------------------------------------------------------------------------------------------
   The augmentation layer (2026-11-10). Lock-on reticle, rolling and gleaming buttons, tilting cards
   with a following light, the hero's hexagon lattice, code typing behind the manifesto, the reading
   progress line and the scroll band. Set up by main.js; without script or with reduced motion the page
   is the same page, still and complete.
   ------------------------------------------------------------------------------------------------ */

/* Reticle: replaces the system cursor only while the script draws it (mouse, motion allowed) */
html.has-reticle, html.has-reticle body :is(a[href], button, summary, label, [role="button"], input[type="checkbox"], input[type="radio"], input[type="file"]) { cursor: none; }
.reticle { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; }
.reticle.is-on { opacity: 1; }
.reticle.is-hidden { opacity: 0; }
.reticle__dot, .reticle__c { position: absolute; left: 0; top: 0; will-change: transform; }
/* The game's cursor: a gold triangle with its point at the hotspot */
.reticle__dot { width: 13px; height: 15px; margin: -1px 0 0 -1px; background: var(--gold-hi); clip-path: polygon(0 0, 100% 62%, 34% 70%, 0 100%); transition: background-color .25s; }
.reticle__c { width: 8px; height: 8px; border: 0 solid var(--gold); transition: border-color .3s; }
.reticle__c--tl { border-top-width: 1.5px; border-left-width: 1.5px; }
.reticle__c--tr { border-top-width: 1.5px; border-right-width: 1.5px; }
.reticle__c--bl { border-bottom-width: 1.5px; border-left-width: 1.5px; }
.reticle__c--br { border-bottom-width: 1.5px; border-right-width: 1.5px; }
.reticle.is-locked .reticle__c { border-color: var(--gold-hi); }
.reticle.is-locked .reticle__dot { background: var(--ivory); }
.reticle.is-pressed .reticle__c { border-color: var(--ivory); }

/* Buttons: the label rolls, a sweep of light crosses the champagne fill */
/* Tall enough for accents over capitals (Á, Ó, Ś): the waiting copy must not peek in from below */
/* Height follows the label, so a long one may wrap to two lines on a phone instead of being cut */
.btn__roll { display: block; overflow: hidden; margin-block: -.25em; }
.btn__roll-in { display: block; position: relative; line-height: 1.7em; transition: transform .6s var(--ease-out); }
.btn__roll-in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; }
.btn::before {
  background-color: var(--btn-bg);
  background-image: linear-gradient(105deg, transparent 35%, var(--sheen, rgba(255, 250, 236, .55)) 50%, transparent 65%);
  background-size: 60% 100%;
  background-repeat: no-repeat;
  background-position: -160% 0;
  transition: clip-path .4s var(--ease), background-color .25s, background-position 0s .45s;
}
.btn--ink { --sheen: rgba(216, 185, 138, .22); }
.btn--ghost::before { background-image: none; }
.btn { transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .btn:hover .btn__roll-in { transform: translateY(-100%); }
  .btn:hover::before {
    background-color: var(--btn-bg-hover);
    background-position: 260% 0;
    transition: clip-path .4s var(--ease), background-color .25s, background-position 1s var(--ease-out);
  }
}
.jump { transition: transform .5s var(--ease-out); }

/* Cards lean toward the mouse; a soft light follows the pointer across them */
.is-tilt { transition: transform .7s var(--ease-out); will-change: transform; }
.is-tilt.is-hovered { transition-duration: .2s; }
.plan.is-tilt { position: relative; }
.glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 246, 226, .2), rgba(255, 246, 226, 0) 42%);
  transition: opacity .5s var(--ease-out);
}
.is-hovered > .glare { opacity: 1; }
.offer > .glare { clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.plan > .glare { inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(216, 185, 138, .09), rgba(216, 185, 138, 0) 40%); }

/* Hexagon lattice in the hero: right half only; main.js leaves out the cells behind the hero text */
.hexfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.4s var(--ease-out);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 74%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 74%);
}
.hexfield.is-on { opacity: 1; }

/* Code typing behind the manifesto and the page headers: real code, so a real monospace face */
.has-code { position: relative; isolation: isolate; }
.code-ghost {
  position: absolute;
  z-index: -1;
  right: var(--gutter);
  bottom: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  max-width: calc(100% - 2 * var(--gutter));
  margin: 0;
  overflow: hidden;
  font: 400 12px/1.75 ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  color: rgba(216, 185, 138, .2);
  white-space: pre;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0, #000 45%);
}
.code-ghost__caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 1px; vertical-align: -.2em; background: rgba(216, 185, 138, .45); animation: caret-blink 1.06s steps(1) infinite; }
.motion-paused .code-ghost__caret { animation: none; }
@media (max-width: 760px) { .code-ghost { font-size: 10px; bottom: 1rem; } }

/* Reading progress: a hairline of champagne across the top, driven by the scroll itself */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; background: var(--gold-hi); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
  }
}
@keyframes progress-grow { to { transform: scaleX(1); } }

/* Loading curtain counter */
.loader__count { font-family: var(--font-hud); font-size: .7rem; letter-spacing: .3em; color: var(--stone); font-variant-numeric: tabular-nums; }

/* Band: the five promises in large type, sliding sideways with the scroll before the closing scene */
.band { overflow: hidden; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.band__track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  width: max-content;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(3rem, 1.6rem + 6.5vw, 8.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: rgba(238, 231, 219, .16);
}
.band__mark { flex: none; width: .16em; height: .18em; background: var(--gold); opacity: .55; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band__track { animation: band-slide linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes band-slide { from { transform: translateX(4vw); } to { transform: translateX(-40%); } }

/* Questions answer the pointer: the line slides a touch and warms to champagne */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
}

/* ------------------------------------------------------------------------------------------------
   Redesign of 2026-11-27 (DESIGN.md, "One typeface, no rows, a dial"). The owner found the page too close
   to template agency sites: mixed typefaces with an italic key phrase, ruled numbered rows, a four-column
   process. One family now; the problems on a phone, the process on a dial, the questions as a conversation.
   ------------------------------------------------------------------------------------------------ */

/* ---------- 1. One family: width and weight do what the second and third faces did ---------- */

body { font-weight: 380; font-stretch: 100%; }

/* Display sizes: wide and light. Width does the job the serif did. */
.display-xl, .display-lg, .display-md, .display-sm,
.hero__title, .scene__title, .manifesto__title, .closing__title, .page-hero__title {
  font-stretch: var(--wide);
  font-weight: 300;
  letter-spacing: -.035em;
}
.display-xl { line-height: .98; }
.display-lg, .display-md { line-height: 1.02; }
.hero__title { font-size: clamp(2.5rem, 1rem + 5.6vw, 6.6rem); line-height: .98; letter-spacing: -.045em; }

/* Smaller display roles */
.offer__name, .callout__title, .work-item__name, .included__title, .extras__title, .tile__name,
.bio__lede, .how__list h3, .fact dt, .price__amount, .price__currency, .wordmark__name {
  font-stretch: var(--wide);
  letter-spacing: -.02em;
}
.offer__name, .callout__title, .work-item__name, .included__title, .extras__title { font-weight: 400; }
.price__amount { font-weight: 300; letter-spacing: -.04em; }
.price__from { font-style: normal; font-size: 1rem; letter-spacing: 0; }
.wordmark__name { font-weight: 500; letter-spacing: -.01em; }
.site-footer__mark .wordmark__name { font-weight: 300; letter-spacing: -.04em; }

/* Interface labels (was Michroma): the same family at its widest */
.btn, .anno__tag, .site-nav a, .lang-switch a, .wordmark__suffix, .work-item__visit, .price__unit {
  font-stretch: 125%;
  font-weight: 500;
}
.btn { letter-spacing: .1em; }
.section-head__intro { font-size: 1.125rem; }

/* ---------- 2. Diagnosis: the three problems on a phone ---------- */

/* One column: title, problems, phone, explanation. Two columns: the phone stands beside everything. */
.diag { display: grid; grid-template-areas: "head" "tabs" "figure" "panels" "aside"; row-gap: 2rem; align-items: center; }
.diag__copy { display: contents; }
.diag__head { grid-area: head; }
.diag__tabs { grid-area: tabs; }
.diag__figure { grid-area: figure; }
.diag__panels { grid-area: panels; }
.diag .problem__aside { grid-area: aside; }
.diag__head .display-md { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); }
@media (min-width: 960px) {
  .diag {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "head figure" "tabs figure" "panels figure" "aside figure";
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(3rem, 6vw, 7rem);
    row-gap: 0;
  }
  .diag__head { margin-bottom: 3rem; }
  .diag__panels { margin-top: 2.25rem; }
  .diag .problem__aside { align-self: start; margin-top: 2.5rem; }
}

/* Chamfered outline: the frame is the element's own fill, the face is a pseudo-element 1px inside.
   (A border under clip-path loses its corners.) */
.diag__tab, .ask__q, .cycle__arrow {
  --frame: var(--line-strong);
  --face: var(--ink);
  position: relative;
  isolation: isolate;
  border: 0 !important;
  background: var(--frame) !important;
}
.diag__tab::before, .ask__q::before, .cycle__arrow::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--face);
  clip-path: polygon(calc(var(--cut) - .4px) 0, 100% 0, 100% calc(100% - var(--cut) + .4px), calc(100% - var(--cut) + .4px) 100%, 0 100%, 0 calc(var(--cut) - .4px));
  transition: background-color .3s;
}
.diag__tab:hover, .ask__q:hover, .cycle__arrow:hover { --frame: var(--gold); }
.diag__tab[aria-selected="true"], .ask__q[aria-selected="true"] { --frame: var(--gold-hi); --face: var(--gold-hi); }

.diag__tabs { display: flex; flex-wrap: wrap; gap: .6rem; }
.diag__tab {
  --cut: 10px;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 52px;
  padding: .65rem 1.15rem .65rem .95rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  font-weight: 450;
  text-align: left;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color .3s, background-color .3s, border-color .3s;
}
.diag__tab svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.diag__tab:hover { color: var(--ivory); border-color: var(--gold); }
.diag__tab[aria-selected="true"] { color: var(--ink); background: var(--gold-hi); border-color: var(--gold-hi); }
.diag__tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.diag__panels { display: grid; }
.diag__panel { grid-area: 1 / 1; }
.diag__panel[hidden] { display: block; visibility: hidden; }
.diag__panel p {
  max-width: 30ch;
  font-size: clamp(1.4rem, 1.15rem + .9vw, 2rem);
  font-stretch: 108%;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ivory);
}

.diag__figure { margin: 0; display: grid; gap: 1rem; justify-items: center; justify-self: center; }

.phone {
  --split: 50%;
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 340 / 690;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2A241D, #0C0B09 45%, #1A1612);
  box-shadow:
    0 0 0 1px #3A322A,
    inset 0 0 0 1px rgba(216, 185, 138, .12),
    0 50px 90px -40px rgba(0, 0, 0, .95),
    0 0 140px -50px rgba(188, 152, 96, .45);
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #F2EFE6;
  container-type: inline-size;
}
.phone__bar {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 13cqw;
  padding-bottom: 1.6cqw;
  background: #E4E0D6;
  color: #55504A;
  font-size: 3.3cqw;
  font-weight: 450;
}
.phone__url::before { content: ''; display: inline-block; width: 2.2cqw; height: 2.6cqw; margin-right: 1.4cqw; border: .35cqw solid currentColor; border-radius: .5cqw .5cqw .3cqw .3cqw; vertical-align: -.2cqw; }
.phone__view { position: relative; flex: 1; overflow: hidden; }
.mock { position: absolute; inset: 0; overflow: hidden; }
.mock p { margin: 0; }

/* The old site: everything a visitor gives up on */
.mock--old { background: #F4F0E2; color: #3B3A36; font-size: 2.35cqw; line-height: 1.35; }
.old__head { padding: 2.5cqw 2.5cqw 1.5cqw; background: linear-gradient(#FFFFFF, #DCD8C8); border-bottom: .4cqw solid #9A1D1D; }
.old__logo { font-size: 4.4cqw; font-weight: 900; font-stretch: 62%; color: #9A1D1D; letter-spacing: .02em; }
.old__nav { margin-top: 1cqw; white-space: nowrap; color: #1F3FA8; text-decoration: underline; }
.old__banner { margin: 2.5cqw; padding: 3cqw 2cqw; background: #1F3FA8; color: #FFE94A; font-size: 3.6cqw; font-weight: 800; font-stretch: 75%; text-align: center; }
.old__text { padding: 0 2.5cqw 2.5cqw; text-align: justify; }
.old__news { margin: 0 2.5cqw 2.5cqw; padding: 2cqw; border: .3cqw dashed #9D978A; background: #FFFDF2; }
.old__news-title { font-weight: 800; color: #9A1D1D; }
.old__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 2cqw 2.5cqw; background: #CFCAB9; color: #6A665E; font-size: 2cqw; }

/* The same business, rebuilt */
.mock--new { clip-path: inset(0 0 0 var(--split)); background: #F7F3EC; color: #1C1915; font-size: 3.6cqw; line-height: 1.4; }
.new__head { display: flex; align-items: center; justify-content: space-between; padding: 4cqw 5cqw; }
.new__logo { font-size: 5cqw; font-weight: 700; font-stretch: 112%; letter-spacing: -.03em; }
.new__open { display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.2cqw 2.6cqw; background: #E3EEE5; color: #1E5B32; font-size: 3cqw; font-weight: 600; }
.new__open i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #2E8A4E; }
.new__hero { padding: 2cqw 5cqw 4cqw; }
.new__kicker { font-size: 3cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7A5A2E; }
.new__title { margin-top: 1.5cqw !important; font-size: 9.6cqw; font-weight: 650; font-stretch: 108%; line-height: 1.02; letter-spacing: -.04em; }
.new__lead { margin-top: 2.5cqw !important; color: #4C463E; }
.new__photo { height: 36cqw; margin: 0 5cqw; background: #2A241D url('/assets/img/hero-1000.webp') center 60% / cover; }
.new__chips { display: flex; gap: 1.6cqw; padding: 4cqw 5cqw 2cqw; }
.new__chips span { padding: 1.2cqw 2.6cqw; border: .3cqw solid #CFC5B5; font-size: 3.1cqw; font-weight: 500; }
.new__updated { padding: 0 5cqw; color: #6B645A; font-size: 3cqw; }
.new__call { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 2cqw; padding: 3cqw 4cqw 5cqw; background: #F7F3EC; border-top: .3cqw solid #E2DACC; }
.new__btn, .new__wa { display: grid; place-items: center; height: 12cqw; font-size: 3.6cqw; font-weight: 650; }
.new__btn { background: #1C1915; color: #F7F3EC; }
.new__wa { border: .35cqw solid #1C1915; }

/* Lock-on marks (the reticle motif of the cursor): red on the old site, gold on the new one */
.lock {
  --c: #C8321F;
  --l: 3.2cqw;
  --w: .55cqw;
  position: absolute;
  top: 0; left: 0; width: 0; height: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat;
}
.lock.is-on { opacity: 1; }
.lock--new { --c: #9C7436; }
.lock__tag {
  position: absolute;
  bottom: calc(100% + 1.2cqw);
  left: 0;
  padding: .9cqw 2cqw;
  background: var(--c);
  color: #FFF;
  font-size: 2.9cqw;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.lock--new .lock__tag { left: auto; right: 0; }
.lock.is-below .lock__tag { bottom: auto; top: calc(100% + 1.2cqw); }
@media (prefers-reduced-motion: no-preference) {
  .lock { transition: top .55s var(--ease-out), left .55s var(--ease-out), width .55s var(--ease-out), height .55s var(--ease-out), opacity .3s; }
  .phone.is-gliding .mock--new { transition: clip-path 1.1s var(--ease-out); }
  .phone.is-gliding .split { transition: left 1.1s var(--ease-out); }
}

/* Before / after handle */
.split { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--gold-hi); box-shadow: 0 0 0 1px rgba(6, 6, 6, .25); pointer-events: none; }
.split__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--gold-hi);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.split__knob::before, .split__knob::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-block: 5px solid transparent;
}
.split__knob::before { left: 9px; border-right: 7px solid var(--gold-hi); }
.split__knob::after { right: 9px; border-left: 7px solid var(--gold-hi); }
.split__input { position: absolute; inset: 13cqw 0 0; width: 100%; height: calc(100% - 13cqw); margin: 0; opacity: 0; cursor: ew-resize; }
.phone:has(.split__input:focus-visible) .split__knob { outline: 2px solid var(--focus); outline-offset: 4px; }

.diag__legend { display: flex; justify-content: space-between; width: min(340px, 80vw); padding-inline: 6px; color: var(--muted); font-size: .8rem; font-stretch: 125%; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.diag__legend span:last-child { color: var(--gold-hi); }

/* ---------- 3. The process as a dial ---------- */

.cycle { position: relative; padding-block: var(--section); overflow: hidden; }
.cycle__grid {
  display: grid;
  gap: 2rem;
  grid-template-areas: "title" "intro" "dial" "panels" "nav";
  align-items: center;
}
.cycle__copy { display: contents; }
.cycle__grid > .cycle__copy > h2 { grid-area: title; }
.cycle__intro { grid-area: intro; max-width: 34rem; color: var(--muted); font-size: 1.125rem; }
.cycle__panels { grid-area: panels; display: grid; }
.cycle__nav { grid-area: nav; display: flex; gap: .6rem; }
.dial { grid-area: dial; }
@media (min-width: 960px) {
  .cycle__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "title dial" "intro dial" "panels dial" "nav dial";
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(3rem, 5vw, 6rem);
    row-gap: 1.5rem;
  }
  .cycle__panels { margin-top: 2.5rem; }
  .cycle__nav { align-self: start; margin-top: 1rem; }
}

.cycle__panel { grid-area: 1 / 1; max-width: 32rem; }
.cycle__panel[hidden] { display: block; visibility: hidden; }
.cycle__count { color: var(--gold); font-size: .8rem; font-stretch: 125%; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.cycle__title { margin: .6rem 0 .9rem; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-stretch: var(--wide); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.cycle__panel p:last-child { color: var(--muted); }

.cycle__arrow {
  --cut: 9px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: border-color .3s, color .3s;
}
.cycle__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cycle__arrow:hover { border-color: var(--gold); color: var(--gold-hi); }
.cycle__arrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.dial { position: relative; width: min(100%, 640px); aspect-ratio: 1; justify-self: center; user-select: none; }
.dial__svg { position: absolute; inset: 7%; width: 86%; height: 86%; overflow: visible; }
.dial.is-dragging { cursor: grabbing; }
@media (hover: hover) { .dial__svg { cursor: grab; } }
.dial__ticks line { stroke: var(--line-strong); stroke-width: 1; transition: stroke .5s; }
.dial__ticks line.is-major { stroke-width: 1.6; }
.dial__ticks line.is-lit { stroke: var(--gold); }
.dial__track { fill: none; stroke: var(--line); stroke-width: 1; }
.dial__progress { fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: 300px 300px; }
.dial__inner { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 1 7; opacity: .7; }
.dial__nodes circle { fill: var(--ink); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.dial__nodes circle.is-done { fill: var(--gold); stroke: var(--gold); }
.dial__nodes circle.is-active { fill: var(--gold-hi); stroke: var(--gold-hi); }
.dial__pointer { fill: var(--gold-hi); transform-origin: 300px 300px; }
@media (prefers-reduced-motion: no-preference) {
  .dial__progress { transition: stroke-dasharray 1s var(--ease-out); }
  .dial__pointer { transition: transform 1s var(--ease-out); }
}

.dial__center { position: absolute; inset: 32%; display: grid; place-content: center; gap: .6rem; text-align: center; pointer-events: none; }
.dial__value { font-size: clamp(2.4rem, 1.2rem + 5vw, 4.8rem); font-stretch: var(--wide); font-weight: 300; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.dial__caption { color: var(--muted); font-size: .78rem; font-stretch: 125%; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

.dial__stations { position: absolute; inset: 0; pointer-events: none; }
.station {
  position: absolute;
  display: grid;
  gap: .2rem;
  min-width: 44px;
  min-height: 44px;
  padding: .4rem .5rem;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: color .3s;
}
.station--0 { top: 4%; right: 0; text-align: right; }
.station--1 { bottom: 4%; right: 0; text-align: right; }
.station--2 { bottom: 4%; left: 0; text-align: left; }
.station--3 { top: 4%; left: 0; text-align: left; }
.station__value { font-size: clamp(1.15rem, .9rem + 1vw, 1.75rem); font-stretch: var(--wide); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--ivory); }
.station__label { font-size: .72rem; font-stretch: 125%; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.station:hover .station__label, .station:hover .station__value { color: var(--gold-hi); }
.station[aria-selected="true"] .station__value, .station[aria-selected="true"] .station__label { color: var(--gold-hi); }
.station:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 520px) { .station__label { display: none; } }

/* ---------- 4. Questions as a conversation ---------- */

.ask { padding-block: var(--section); }
.ask__grid { display: grid; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .ask__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .ask__answers { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.ask__qs { display: flex; flex-wrap: wrap; gap: .6rem; align-content: start; }
.ask__q {
  --cut: 10px;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color .3s, background-color .3s, border-color .3s;
}
.ask__q:hover { border-color: var(--gold); color: var(--gold-hi); }
.ask__q[aria-selected="true"] { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }
.ask__q:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.ask__answers {
  --cut: 18px;
  display: grid;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--ink-3);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.ask__a[hidden] { display: none; }
.ask__echo { color: var(--gold); font-size: .95rem; font-weight: 500; }
.ask__text { margin-top: 1.1rem; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); font-stretch: 104%; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; }
.ask__more { justify-self: start; margin-top: 2.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .ask__a.is-entering .ask__text, .cycle__panel.is-entering, .diag__panel.is-entering p { animation: rise-in .6s var(--ease-out); }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 5. Other services as two pieces, not rows ---------- */

.extras { margin-top: 3rem; }
.extras__title { font-family: var(--font-display); font-size: 1.6rem; }
.tiles { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 800px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile {
  --cut: 16px;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  justify-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper-raised);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.tile__top { display: grid; gap: .9rem; }
.tile__name { font-size: 1.5rem; font-stretch: var(--wide); font-weight: 400; letter-spacing: -.02em; }
.tile .price__amount { font-size: 2.2rem; }
.tile__desc { color: var(--graphite); max-width: 34rem; }

/* "In every package": small chamfered marks instead of dashes */
.included__list li::before { top: .55em; width: .5rem; height: .5rem; background: var(--gold-deep); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }

/* The gold triangle cursor stays visible over the comparison slider and the dial (no I-beam, no second cursor) */
html.has-reticle body .split__input, html.has-reticle body .dial__svg { cursor: none !important; }

/* ---------- Subpages, 2026-11-27: no ruled rows there either ---------- */

/* Services: each website package with a drawing of what you get; prices level across the three */
.plans { padding-bottom: var(--section); }
.plans__grid { display: grid; gap: 1.25rem; }
.plan {
  --cut: 18px;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  justify-items: start;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.plan::before, .plan::after { content: ''; position: absolute; z-index: -1; }
.plan::before { inset: 0; background: var(--line-strong); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.plan::after { inset: 1px; background: var(--ink-2); clip-path: polygon(calc(var(--cut) - .4px) 0, 100% 0, 100% calc(100% - var(--cut) + .4px), calc(100% - var(--cut) + .4px) 100%, 0 100%, 0 calc(var(--cut) - .4px)); }
.plan__map { width: 100%; padding: 1rem 0 1.25rem; border-bottom: 1px solid var(--line); }
.plan__map svg { display: block; width: 100%; max-width: 300px; height: auto; margin-inline: auto; overflow: visible; }
.plan__name { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.3rem); font-stretch: var(--wide); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.plan__body { display: grid; gap: .8rem; }
.plan__desc { font-size: 1.0625rem; }
.plan__fit { color: var(--muted); }
.plan .btn { margin-top: .5rem; }
@media (min-width: 1000px) {
  .plans__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @supports (grid-template-rows: subgrid) {
    .plan { grid-row: span 5; grid-template-rows: subgrid; }
    .plan .btn { align-self: end; }
  }
}

/* Site maps: page outlines in hairline gold, the call bar filled; the old page in dashed grey */
.plan__map rect, .plan__map path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pm-page { stroke: var(--gold); }
.pm-fill { fill: rgba(188, 152, 96, .14) !important; stroke: var(--gold); }
.pm-line { stroke: var(--line-strong); }
.pm-gold { fill: var(--gold-hi) !important; stroke: none; }
.pm-lead, .pm-arrow { stroke: var(--gold-hi); }
.pm-ring { fill: none; stroke: var(--gold-hi); stroke-width: 1.2; }
.pm-old rect, .pm-old path { stroke: #5E554B; stroke-dasharray: 3 3; }
.pm-sub rect { stroke: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .plan__map .pm-page, .plan__map .pm-sub rect, .plan__map .pm-lead, .plan__map .pm-arrow { stroke-dasharray: 400; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out); }
  .plan.is-waiting .plan__map .pm-page, .plan.is-waiting .plan__map .pm-sub rect,
  .plan.is-waiting .plan__map .pm-lead, .plan.is-waiting .plan__map .pm-arrow { stroke-dashoffset: 400; }
}

/* Fixes and maintenance on the dark page */
.tiles--dark { margin-top: 1.25rem; }
.tiles--dark .tile { background: var(--ink-3); }
.tiles--dark .tile__desc { color: var(--ivory); }
.tile__fit { color: var(--muted); max-width: 34rem; }
.tiles--dark .tile__name { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); }

/* Lists of things: small chamfered marks instead of dashes */
.tick-list li::before { top: .55em; width: .5rem; height: .5rem; background: var(--gold-deep); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }

/* About: interests as a constellation (astronomy is one of them). A night-sky window in the plaster. */
.bio__interests { display: grid; gap: 1.5rem; }
.sky {
  --cut: 20px;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background:
    radial-gradient(1px 1px at 18% 72%, rgba(238, 231, 219, .5), transparent),
    radial-gradient(1px 1px at 44% 14%, rgba(238, 231, 219, .4), transparent),
    radial-gradient(1px 1px at 71% 82%, rgba(238, 231, 219, .45), transparent),
    radial-gradient(1px 1px at 93% 38%, rgba(238, 231, 219, .35), transparent),
    radial-gradient(1px 1px at 6% 12%, rgba(238, 231, 219, .35), transparent),
    radial-gradient(1px 1px at 58% 46%, rgba(238, 231, 219, .3), transparent),
    rgba(46, 40, 33, .84);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  color: var(--ivory);
}
.sky__field { position: relative; aspect-ratio: 3 / 2; }
.sky__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sky__lines path { fill: none; stroke: rgba(188, 152, 96, .45); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.sky__stars { position: absolute; inset: 0; }
.star {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--stone);
  font: inherit;
  font-size: .78rem;
  font-stretch: 125%;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  /* The dot sits on the point; the name hangs under it (bottom row) or over it (top row) */
  transform: translate(-50%, -22px);
  transition: color .3s;
}
.star__dot { position: relative; flex: none; width: 44px; height: 44px; }
.star__dot::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.star:hover, .star[aria-selected="true"] { color: var(--gold-hi); }
.star[aria-selected="true"] .star__dot::before { background: var(--gold-hi); transform: scale(2.1); }
.star:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Points of the figure, in the same 600 x 400 space as the lines */
.star--0 { left: 12%; top: 32%; }
.star--1 { left: 30%; top: 64%; }
.star--2 { left: 48%; top: 28%; }
.star--3 { left: 64%; top: 59%; }
.star--4 { left: 82%; top: 23%; }
.star--5 { left: 90%; top: 86%; }
/* Painting hangs to the right of its star so it clears Ethical hacking on its left */
.star--3 { align-items: flex-start; transform: translate(-22px, -22px); }
.star--0, .star--2, .star--4 { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 22px)); }
.sky__panels { display: grid; min-height: 6.5rem; }
.sky__panel { grid-area: 1 / 1; }
.sky__panel[hidden] { display: block; visibility: hidden; }
.sky__name { color: var(--gold-hi); font-size: 1.25rem; font-stretch: var(--wide); font-weight: 400; letter-spacing: -.01em; }
.sky__panel p { margin-top: .4rem; color: var(--ivory); font-size: 1.0625rem; }
@media (max-width: 599px) { .star__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (prefers-reduced-motion: no-preference) {
  .sky__panel.is-entering { animation: rise-in .6s var(--ease-out); }
}
