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

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

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/jost-latin.woff2') format('woff2');
}

/* ==========================================================================
   Nivira Technologies
   One committed look. Colours below are the only colours on the site;
   tints are the same tokens mixed with transparency.
   ========================================================================== */

:root {
  /* Palette, 60 / 30 / 10: navy is the ground, cream is text and the cream
     sections, bronze-gold is the one accent (its value and every colour's
     job: Round 29 at the end of this file). The variables keep their old
     names (--gold is the accent, --chalk is cream, --ink is navy) so every
     rule that used them follows. */
  --ink: #0E1A38;       /* page background, the darkest blue */
  --ink-2: #112043;     /* alternate section tint */
  --navy: #162852;      /* panels and cards */
  --navy-2: #1F3566;    /* the lit top of a panel */
  --cobalt: #1D3B78;    /* Blueprint view only */
  --gold: var(--accent);       /* the one accent (bronze-gold), set once in Round 29 at the end of this file */
  --gold-2: var(--accent-hi);  /* the lit top of a bronze surface */
  --chalk: #F5EEE2;     /* text and lines */
  --paper: #F4F1EA;     /* off-white, only inside demo artwork */
  --graphite: #6B7386;  /* secondary text on white, only inside demo artwork */
  --fg-rgb: 245 238 226;   /* text and lines (cream) as numbers, for tints */
  --acc-rgb: var(--accent-rgb);   /* the accent as numbers, for tints */
  --tan: var(--gold);
  --red: var(--gold);

  /* Tints of the palette, written out as plain values so they also work in
     browsers from before 2023 (which lack color-mix) */
  --chalk-06: rgb(var(--fg-rgb) / .06);
  --chalk-10: rgb(var(--fg-rgb) / .10);
  --chalk-16: rgb(var(--fg-rgb) / .16);
  --chalk-24: rgb(var(--fg-rgb) / .24);
  --chalk-40: rgb(var(--fg-rgb) / .40);
  --chalk-60: rgb(var(--fg-rgb) / .60);
  --chalk-78: rgb(var(--fg-rgb) / .78);
  --tan-10: rgb(var(--acc-rgb) / .10);
  --tan-16: rgb(var(--acc-rgb) / .16);
  --tan-40: rgb(var(--acc-rgb) / .40);
  --tan-60: rgb(var(--acc-rgb) / .60);
  --cobalt-lite: #9AAAD0;                 /* cobalt lightened with white */
  --glow-blue: rgba(36, 64, 130, .26);
  --glow-blue-soft: rgba(36, 64, 130, .10);
  --glow-gold: rgb(var(--acc-rgb) / .12);
  --ink-78: rgba(9, 17, 38, .78);
  --ink-06: rgba(9, 17, 38, .06);
  --ink-12: rgba(9, 17, 38, .12);
  --ink-24: rgba(9, 17, 38, .24);

  /* Motion: one curve everywhere */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 600ms;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-accent: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-mono: "Jost", "Avenir Next", "Century Gothic", system-ui, sans-serif;   /* labels: the same sans, set in spaced capitals */

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --gap: clamp(12px, 2vw, 24px);
  --nav-h: 72px;
  --radius: 8px;        /* small parts */
  --r-btn: 12px;
  --r-card: 22px;
  --section-pad: clamp(52px, 6.4vw, 96px);

  color-scheme: light;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h); /* in-page links are eased by main.js */
}

body {
  background-color: var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
fieldset { border: 0; min-width: 0; }

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

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

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform var(--t-fast) var(--ease);
}
.skip:focus-visible { transform: none; }

/* Bands set the local text colours, rule colour and focus colour */
.band-blue, .band-ink, .band-paper {
  color: var(--chalk);
  --fg-2: var(--chalk-78);
  --line: var(--chalk-16);
  --focus: var(--gold);
}
/* Sections are tinted, not filled, so the page-wide grid shows through them
   and the panels read as sitting in front of it. */
.band-blue  { background-color: transparent; background-image: radial-gradient(70% 70% at 85% 10%, var(--glow-blue), transparent 70%), radial-gradient(50% 60% at 0% 100%, var(--glow-gold), transparent 70%), linear-gradient(rgba(20, 34, 72, .62), rgba(20, 34, 72, .62)); }
.band-ink   { background-color: transparent; background-image: radial-gradient(60% 50% at 10% 0%, var(--glow-blue-soft), transparent 70%); }
.band-paper { background-color: transparent; background-image: radial-gradient(60% 50% at 100% 0%, var(--glow-blue-soft), transparent 70%), linear-gradient(rgba(20, 34, 72, .26), rgba(20, 34, 72, .26)); }
.hero.band-blue { background-color: var(--navy); } /* the home hero keeps its own drawn grid */
main, .footer { position: relative; z-index: 1; }  /* content sits in front of the page grid */

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

/* Headings that receive focus after an in-page jump don't need a ring */
[tabindex="-1"]:focus { outline: none; }

.section { position: relative; padding-block: var(--section-pad); }

/* Calm mode: in-page jumps cross-fade instead of travelling */
main { transition: opacity 160ms var(--ease); }
.is-jumping main { opacity: 0; }
section[id] { scroll-margin-top: var(--nav-h); }

/* -------------------------------------------------------------------------- */
/* Type                                                                       */
/* -------------------------------------------------------------------------- */

.hero-title, .h2, .row-title, .step-title, .step-num, .demo-title, .email, .wm, .fig-num, .pricing-list h3, .book-done-title, .chapter-title, .ticker span,
.page-title, .svc-title, .chapter-num, .next-text, .more-text, .contact-title,
.case-name, .plan-amount, .plans-sub, .beat-title {
  font-family: var(--font-accent);
  font-weight: 400;
  font-stretch: 100%;
  font-variation-settings: normal;
}
/* The brand's own voice: the wordmark and the giant page words stay wide and heavy */
.wm {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
}

.h2 {
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 34em;
}

.section-head { row-gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head > * { grid-column: 1 / span 8; }
.section-head .lead { grid-column: 1 / span 6; }

/* -------------------------------------------------------------------------- */
/* Wordmark: lowercase display type, square Marker dots                       */
/* -------------------------------------------------------------------------- */

.wm {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--chalk);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.035em;
  padding: 6px 2px;
  margin: -6px -2px;
}
.wm-word { display: block; }
.wm-i { position: relative; display: inline-block; }
.wm-i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.04em;
  width: 0.2em;
  height: 0.2em;
  transform: translateX(-50%);
  background: var(--gold);
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background-color: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-primary::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.btn-primary:hover::before, .btn-primary:focus-visible::before { transform: scaleX(1); }
.btn-dark { background-color: var(--ink); border-color: var(--ink); color: var(--chalk); }
.btn-dark::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.btn-dark:hover::before, .btn-dark:focus-visible::before { transform: scaleX(1); }
.btn-line { border-color: var(--chalk-60); color: var(--chalk); }
.btn-line:hover { background-color: var(--chalk); border-color: var(--chalk); color: var(--ink); }

.btn-arrow {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:hover .btn-arrow-down { transform: translateY(3px); }

.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--chalk-60);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.text-link:hover { text-decoration-color: var(--gold); }

/* -------------------------------------------------------------------------- */
/* Nav                                                                        */
/* -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--navy);
  color: var(--chalk);
  --focus: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--chalk-24); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a, .footer-links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav-links a::before, .footer-links a::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.nav-links a:hover::before, .footer-links a:hover::before { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"]::before { transform: scaleX(1); height: 2px; background: var(--gold); }

/* Blueprint view switch */
.bp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--chalk-78);
  transition: color var(--t-fast) var(--ease);
}
.bp-toggle:hover, .bp-toggle[aria-checked="true"] { color: var(--chalk); }
.bp-switch {
  position: relative;
  width: 30px; height: 16px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}
.bp-switch span {
  position: absolute;
  top: 2px; left: 2px;
  width: 10px; height: 10px;
  background: currentColor;
  transition: transform var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.bp-toggle[aria-checked="true"] .bp-switch span { transform: translateX(14px); background: var(--gold); }
.bp-toggle:active .bp-switch span { transform: scale(.8); }
.bp-toggle[aria-checked="true"]:active .bp-switch span { transform: translateX(14px) scale(.8); }

.nav-cta { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }

/* Menu button (phones and small tablets) */
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.menu-icon { position: relative; width: 18px; height: 10px; }
.menu-icon i {
  position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease);
}
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { bottom: 0; }
.nav.is-open .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .menu-btn { display: inline-flex; }
  .nav-panel {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background-color: var(--navy);
    border-bottom: 1px solid var(--chalk-24);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .nav.is-open .nav-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s;
  }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid var(--chalk-16); }
  .nav-links a::before { display: none; }
  .nav-links a[aria-current="page"] { color: var(--gold); }
  .bp-toggle { padding: 18px 0; font-size: 1rem; }
  .nav-cta { min-height: 48px; font-size: 1rem; }
}

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

.hero {
  position: relative;
  overflow: hidden; /* for browsers without overflow: clip */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(calc(100svh - var(--nav-h)), 920px);
  padding-block: clamp(72px, 9vw, 112px) clamp(112px, 12vw, 152px);
  overflow: clip;
  isolation: isolate;
}

.hero-guides {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-guides::before {
  /* horizontal rhythm lines, every 96px */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, var(--guide-h, var(--tan-10)) 1px, transparent 1px);
  background-size: 100% 96px;
  background-position: 0 47px;
}
.hero-guides .grid12, .page-guides .grid12 { height: 100%; }
.hero-guides span {
  border-inline: 1px solid var(--guide, var(--tan-16));
  transform-origin: top;
}

.hero-inner { position: relative; align-items: center; row-gap: clamp(44px, 6vw, 60px); }
.hero-copy { grid-column: 1 / span 7; min-width: 0; }
.hero-art { grid-column: 8 / span 5; min-width: 0; }

.hero-title {
  font-size: clamp(2.25rem, 1rem + 4.2vw, 4.25rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* The emphasised words of a headline: an italic serif, in gold */
.hl {
  color: var(--gold);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-variation-settings: normal;
  letter-spacing: -0.01em;
}
.hero-text {
  margin-top: clamp(28px, 3.4vw, 40px);
  max-width: 31em;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  line-height: 1.5;
  color: var(--fg-2);
}
.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: clamp(36px, 4vw, 48px);
}
.draft-in { display: block; }

/* Pricing link under the buttons: a small chip with a red mark */
.hero-promise { margin-top: 22px; }
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--tan-40);
  border-radius: var(--radius);
  color: var(--chalk);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.chip-link:hover { border-color: var(--gold); }
.chip-link:hover .btn-arrow { transform: translateX(4px); }
.chip-link:active { transform: scale(.98); }
.promise-mark { flex: none; width: 8px; height: 8px; background: var(--red); }

/* The gold sheet used by the Pricing transition (created by main.js) */
.swoosh {
  position: fixed;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  transform-origin: 0 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.swoosh.is-full { inset: 0; border-radius: 0; }
/* Page transition: the word you clicked lifts out of the page, the rest
   falls away, and the word grows into the next page's giant heading. */
.is-leaving main, .is-leaving .footer { opacity: 0; transition: opacity 170ms var(--ease); }
.is-leaving .nav-panel > :not(nav), .is-leaving .nav-links a:not(.is-going) { opacity: .25; transition: opacity 340ms var(--ease); }
.zoom-word {
  position: fixed;
  z-index: 96;
  margin: 0;
  color: var(--chalk);
  transform-origin: 0 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.zoom-word .wi { transform: none; transition: none; }
.page-hero.zoom-probe { position: fixed; left: 0; right: 0; visibility: hidden; pointer-events: none; }

/* Headlines split into words (or letters) by main.js: each rises from behind a mask */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .04em .16em;
  margin: 0 -.04em -.16em;
}
.wi {
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 760ms var(--ease);
  transition-delay: calc(var(--wi, 0) * 55ms + var(--split-delay, 0ms));
  will-change: transform;
}
.is-in .wi { transform: none; }

/* Pointer spotlight: a patch of finer graph paper that follows the cursor.
   Both layers move with transforms only; nothing is repainted. */
.hero-spot {
  position: absolute;
  left: 0; top: 0;
  z-index: -1;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, transparent 100%);
  transition: opacity var(--t-med) var(--ease);
  will-change: transform;
}
.hero-spot.is-on { opacity: 1; }
.hero-spot i {
  position: absolute;
  left: 0; top: 0;
  width: 100vw; height: 1200px;
  background-image:
    linear-gradient(to bottom, var(--tan-40) 1px, transparent 1px),
    linear-gradient(to right, var(--tan-40) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 -1px;
  will-change: transform;
}

/* Hero preview: a miniature of this page inside a browser frame */
.hero-art { position: relative; }
.art-frame {
  will-change: transform; /* tilts towards the pointer and leans back as you scroll away */
  transition: transform 220ms var(--ease);
  border: 1px solid var(--tan-40);
  border-radius: var(--radius);
  background: var(--ink);
}
.art-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-bottom: 1px solid var(--tan-40);
}
.art-bar i { width: 7px; height: 7px; background: var(--red); }
.art-bar i:nth-child(2) { background: var(--gold); }
.art-bar i:nth-child(3) { background: var(--tan); }
.art-bar span { flex: 1; height: 10px; margin-left: 10px; border: 1px solid var(--tan-16); }
.art-view { aspect-ratio: 5 / 4; overflow: hidden; }
.art-page {
  display: flex;
  flex-direction: column;
  height: 138%;
}
/* The miniature scrolls itself now and then; hovering holds it still */
@keyframes art-scroll {
  0%, 16%   { transform: translate3d(0, 0, 0); }
  44%, 62%  { transform: translate3d(0, -27.5%, 0); }
  90%, 100% { transform: translate3d(0, 0, 0); }
}
.js:not(.calm) .art-page { animation: art-scroll 12s var(--ease) 3.4s infinite; }
.hero-art:hover .art-page { animation-play-state: paused; }
.art-band { position: relative; transform-origin: top; }
.art-band > * { position: absolute; }
.art-hero    { flex: 36; background: var(--cobalt); }
.art-rows    { flex: 20; background: var(--paper); display: grid; grid-template-rows: repeat(3, 1fr); padding: 0 8%; }
.art-demos   { flex: 22; background: var(--ink); }
.art-price   { flex: 24; background: var(--gold); }
.art-contact { flex: 36; background: var(--navy); }

.art-band b { left: 8%; height: 9%; background: var(--chalk); }
.art-band b.s { height: 5%; opacity: .6; }
.art-band em { left: 8%; width: 20%; height: 13%; background: var(--gold); }
.art-hero b:nth-child(1) { top: 20%; width: 46%; }
.art-hero b:nth-child(2) { top: 34%; width: 36%; }
.art-hero b.s { top: 50%; width: 30%; }
.art-hero em { top: 66%; }
.art-pic { right: 8%; top: 18%; width: 28%; height: 64%; background: var(--navy); }
.art-pic i { position: absolute; top: 14%; right: 14%; width: 32%; aspect-ratio: 1; background: var(--gold); }

.art-rows > span { position: relative; border-top: 1px solid var(--ink-24); }
.art-rows > span:first-child { border-top: 0; }
.art-rows > span::before { content: ""; position: absolute; left: 0; top: 38%; width: 24%; height: 24%; background: var(--ink); }
.art-rows i { position: absolute; right: 0; top: 26%; height: 48%; aspect-ratio: 1; background: var(--cobalt); }
.art-rows > span:nth-child(2) i { background: var(--gold); }
.art-rows > span:nth-child(3) i { background: var(--red); }

.art-demos u { top: 16%; bottom: 16%; left: 8%; width: 46%; display: flex; align-items: flex-end; gap: 6%; padding: 4% 5%; background: var(--navy); }
.art-demos u i { flex: 1; height: 40%; background: var(--cobalt-lite); }
.art-demos u i:nth-child(2) { height: 68%; }
.art-demos u i:nth-child(3) { height: 52%; }
.art-demos u i:nth-child(4) { height: 88%; background: var(--gold); }
.art-demos u.t2 { left: 58%; width: 34%; align-items: center; justify-content: center; }
.art-demos u.t2 i { flex: none; width: 34%; height: auto; aspect-ratio: 1; background: var(--red); }

.art-price b { background: var(--ink); }
.art-price b:nth-child(1) { top: 22%; width: 40%; height: 13%; }
.art-price b.s { top: 44%; width: 30%; height: 7%; }
.art-price em { top: 64%; height: 18%; background: var(--ink); }

.art-contact b:nth-child(1) { top: 20%; width: 44%; }
.art-contact b.s { top: 36%; width: 30%; }
.art-contact em { top: 54%; height: 13%; }

/* Title block: the hero's real type and grid specs */
.hero-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  border: 1px solid var(--tan-16);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--tan);
}
.hero-spec div { display: flex; gap: 10px; min-width: 0; padding: 7px 10px; }
.hero-spec div:nth-child(odd) { border-right: 1px solid var(--tan-16); }
.hero-spec div:nth-child(n+3) { border-top: 1px solid var(--tan-16); }
.hero-spec dt { flex: 0 0 48px; opacity: .6; }
.hero-spec dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bottom dimension line across the container */
.hero-dim {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(28px, 4vw, 44px);
  height: 12px;
  pointer-events: none;
}
.dim-line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--tan-40);
  transform-origin: center;
}
.dim-line::before, .dim-line::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px; height: 13px;
  background: var(--tan-40);
}
.dim-line::before { left: 0; }
.dim-line::after { right: 0; }
.dim-label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 10px;
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--tan);
  white-space: nowrap;
}

/* Sketch boxes: the outlines that draw in, then rest as faint guides */
.draft { position: relative; }
.draft-box {
  position: absolute;
  inset: -12px -14px;
  pointer-events: none;
  --edge-rest: 0;   /* drawn during the opening, then gone; Blueprint view brings them back */
}
.hero-text .draft-box { inset: -10px -14px; }
.nav-inner > .draft-box { inset: 10px -14px; --edge-rest: 0; }
.draft-box i {
  position: absolute;
  background: var(--tan);
  opacity: var(--edge-rest);
}
.draft-box i:nth-child(1) { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; }
.draft-box i:nth-child(2) { top: 0; right: 0; bottom: 0; width: 1px; transform-origin: top; }
.draft-box i:nth-child(3) { bottom: 0; left: 0; right: 0; height: 1px; transform-origin: right; }
.draft-box i:nth-child(4) { top: 0; left: 0; bottom: 0; width: 1px; transform-origin: bottom; }
.draft-box b {
  position: absolute;
  left: 14px;
  top: 0;
  transform: translateY(-50%);
  padding: 0 6px;
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--tan);
  font-stretch: 100%;
  font-variation-settings: normal;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: calc(var(--edge-rest) * 2);
}

/* ---- Load sequence (about 2s, plays once; only when html.intro is set) --- */

@keyframes guide-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes line-draw  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes edge-x     { from { transform: scaleX(0); opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes edge-y     { from { transform: scaleY(0); opacity: 1; } to { transform: scaleY(1); opacity: 1; } }
@keyframes edge-settle { from { opacity: 1; } to { opacity: var(--edge-rest); } }
@keyframes label-settle { from { opacity: 1; } to { opacity: calc(var(--edge-rest) * 2); } }
@keyframes resolve    { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

:is(.intro, .enter) .hero-guides span { animation: guide-draw 560ms var(--ease) both; }
:is(.intro, .enter) .hero-guides span:nth-child(2)  { animation-delay: 25ms; }
:is(.intro, .enter) .hero-guides span:nth-child(3)  { animation-delay: 50ms; }
:is(.intro, .enter) .hero-guides span:nth-child(4)  { animation-delay: 75ms; }
:is(.intro, .enter) .hero-guides span:nth-child(5)  { animation-delay: 100ms; }
:is(.intro, .enter) .hero-guides span:nth-child(6)  { animation-delay: 125ms; }
:is(.intro, .enter) .hero-guides span:nth-child(7)  { animation-delay: 150ms; }
:is(.intro, .enter) .hero-guides span:nth-child(8)  { animation-delay: 175ms; }
:is(.intro, .enter) .hero-guides span:nth-child(9)  { animation-delay: 200ms; }
:is(.intro, .enter) .hero-guides span:nth-child(10) { animation-delay: 225ms; }
:is(.intro, .enter) .hero-guides span:nth-child(11) { animation-delay: 250ms; }
:is(.intro, .enter) .hero-guides span:nth-child(12) { animation-delay: 275ms; }
:is(.intro, .enter) .hero-guides::before { animation: fade-in 600ms var(--ease) 100ms both; }
.intro .dim-line { animation: line-draw 600ms var(--ease) 300ms both; }
.intro .dim-label { animation: fade-in 400ms var(--ease) 700ms both; }

/* Each sketch box: four edges drawn in turn, then the box settles to a faint guide */
.intro .draft-box { --d: 350ms; }
.intro .hero-title .draft-box   { --d: 450ms; }
.intro .hero-text .draft-box    { --d: 560ms; }
.intro .hero-actions .draft-box { --d: 670ms; }
.intro .hero-art > .draft-box   { --d: 760ms; }

.intro .draft-box i:nth-child(1) { animation: edge-x 300ms var(--ease) calc(var(--d) + 0ms) both, edge-settle 500ms var(--ease) 1450ms both; }
.intro .draft-box i:nth-child(2) { animation: edge-y 300ms var(--ease) calc(var(--d) + 90ms) both, edge-settle 500ms var(--ease) 1450ms both; }
.intro .draft-box i:nth-child(3) { animation: edge-x 300ms var(--ease) calc(var(--d) + 180ms) both, edge-settle 500ms var(--ease) 1450ms both; }
.intro .draft-box i:nth-child(4) { animation: edge-y 300ms var(--ease) calc(var(--d) + 270ms) both, edge-settle 500ms var(--ease) 1450ms both; }
.intro .draft-box b { animation: fade-in 250ms var(--ease) calc(var(--d) + 150ms) both, label-settle 500ms var(--ease) 1450ms forwards; }

/* Real content resolves into place */
.intro .nav-inner > :not(.draft-box) { animation: resolve 500ms var(--ease) 1100ms both; }
.intro .hero-title .draft-in { animation: resolve 500ms var(--ease) 1150ms both; }
.intro .hero-text .draft-in  { animation: resolve 500ms var(--ease) 1250ms both; }
.intro .hero-actions > .btn:nth-of-type(1) { animation: resolve 500ms var(--ease) 1330ms both; }
.intro .hero-actions > .btn:nth-of-type(2) { animation: resolve 500ms var(--ease) 1400ms both; }
.intro .hero-promise { animation: resolve 500ms var(--ease) 1470ms both; }

/* The preview builds band by band, top to bottom */
.intro .art-frame { animation: fade-in 400ms var(--ease) 1150ms both; }
.intro .art-band { animation: guide-draw 480ms var(--ease) both; }
.intro .art-band:nth-child(1) { animation-delay: 1300ms; }
.intro .art-band:nth-child(2) { animation-delay: 1380ms; }
.intro .art-band:nth-child(3) { animation-delay: 1460ms; }
.intro .art-band:nth-child(4) { animation-delay: 1540ms; }
.intro .art-band:nth-child(5) { animation-delay: 1620ms; }
.intro .hero-spec { animation: fade-in 400ms var(--ease) 1600ms both; }

/* -------------------------------------------------------------------------- */
/* Page hero: the top of Services, Showcase, Process and Pricing. The page's   */
/* name as one giant word (the page transition zooms the nav link into it),   */
/* the headline in gold underneath, then a short index of what is on the page. */
/* -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(40px, 5.5vw, 76px) clamp(36px, 5vw, 68px);
  border-top: 0;
  background: none; /* shares the page's ground with the section below: no seam */
}
/* These bands use the page grid behind them; their own layer only carries the drifting light */
.page-hero .hero-guides span, .contact .hero-guides span { border: 0; }
.page-hero .hero-guides::before, .contact .hero-guides::before { display: none; }
/* ...and that light fades out before the band ends, so it is never cut off in a straight line */
.page-hero .hero-guides, .contact .hero-guides {
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 94%);
}
.page-hero + section, .page-hero + .process { border-top: 0; background: none; padding-top: clamp(32px, 4.5vw, 64px); }
.page-hero-inner { align-items: start; row-gap: clamp(20px, 2.4vw, 32px); }
.page-title { grid-column: 1 / -1; }
.page-word {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(3rem, 0.5rem + 11vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.page-line {
  display: block;
  margin-top: clamp(14px, 1.8vw, 26px);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gold);
  text-wrap: balance;
}
.page-lead { grid-column: 1 / span 7; }
.page-index { grid-column: 9 / span 4; }
.page-index-title { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); }
.page-index ol { border-top: 1px solid var(--line); }
.page-index li { border-bottom: 1px solid var(--line); }
.page-index a, .page-index li > span {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.page-index b { flex: none; font-size: 0.8125rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.page-index a:hover { color: var(--gold); transform: translate3d(6px, 0, 0); }

/* Arriving through a page transition: the giant word is already in place
   (it is what you zoomed into); everything else follows it in. */
.arrive .page-word .wi { transform: none; transition: none; }
.arrive .page-line, .arrive .page-lead, .arrive .page-index { animation: resolve 600ms var(--ease) 140ms both; }
.arrive .page-lead { animation-delay: 220ms; }
.arrive .page-index { animation-delay: 300ms; }
.arrive.reveal-on .page-hero [data-reveal] { opacity: 1; transform: none; transition: none; }
.arrive main > :not(.page-hero) { animation: fade-in 600ms var(--ease) 260ms both; }
/* If main.js never runs, the word still appears (after a pause) */
.enter .page-word:not(.is-split) { animation: fade-in 400ms var(--ease) 1500ms both; }

/* Home: a row of links to the other pages, after the demos */
.more-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.more-text { margin-right: auto; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.1; letter-spacing: -0.025em; }

/* "What next" row at the end of a page */
.next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.next-text { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.1; letter-spacing: -0.025em; }
.chip-light { color: var(--ink); border-color: var(--ink-24); }
.chip-light:hover { border-color: var(--ink); }

/* -------------------------------------------------------------------------- */
/* Services page: three cards that stack as you scroll                        */
/* -------------------------------------------------------------------------- */

.svc-stack { display: grid; row-gap: 28px; }
.svc {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  align-items: center;
  padding: clamp(28px, 4.4vw, 60px);
  border-radius: var(--radius);
  transform-origin: 50% 0;
  will-change: transform;
}
.svc-web  { background-color: var(--chalk); color: var(--ink); border: 1px solid var(--ink-12); --fg-2: var(--graphite); --line: var(--ink-24); }
.svc-soft { background-color: var(--navy); color: var(--chalk); --fg-2: var(--chalk-78); --line: var(--chalk-24); }
.svc-care { background-color: var(--ink); color: var(--chalk); --fg-2: var(--chalk-78); --line: var(--chalk-24); }
/* Stacking needs room: only when the window is tall enough to show a whole card */
@media (min-height: 660px) {
  .svc { position: sticky; top: calc(var(--nav-h) + 20px); min-height: min(540px, calc(100vh - var(--nav-h) - 96px)); }
  .svc-soft { top: calc(var(--nav-h) + 44px); }
  .svc-care { top: calc(var(--nav-h) + 68px); }
}
.svc-text { grid-column: 1 / span 6; }
.svc-art { grid-column: 8 / span 5; display: grid; place-items: center; min-height: 230px; }
.svc-count { margin-bottom: 18px; font-size: 0.875rem; font-weight: 500; color: var(--fg-2); }
.svc-title { font-size: clamp(2rem, 1.2rem + 3.2vw, 4.25rem); line-height: 1; letter-spacing: -0.035em; }
.svc-lead { margin-top: 18px; max-width: 26em; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.5; color: var(--fg-2); }
.svc-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.svc-points li { padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9375rem; font-weight: 500; }
.svc-art .row-glyph { grid-column: auto; justify-self: center; align-self: center; transform: scale(3.2); }
.svc-soft .glyph-soft { border-color: var(--chalk); }
.svc-soft .glyph-soft i { background: var(--cobalt-lite); }
.svc-soft .glyph-soft i:nth-child(3) { background: var(--gold); }
.svc-care .glyph-care i { background: var(--chalk); }

/* Pictograms build themselves when their card is first seen */
.reveal-on .svc .glyph-soft i { transform-origin: bottom; transition: transform 700ms var(--ease); }
.reveal-on .svc .glyph-soft i:nth-child(2) { transition-delay: 90ms; }
.reveal-on .svc .glyph-soft i:nth-child(3) { transition-delay: 180ms; }
.reveal-on .svc .glyph-soft i:nth-child(4) { transition-delay: 270ms; }
.reveal-on .svc:not(.is-seen) .glyph-soft i { transform: scaleY(.06); }
.reveal-on .svc .glyph-web i { transition: transform 600ms var(--ease); }
.reveal-on .svc .glyph-web i:nth-child(1) { transform-origin: left; }
.reveal-on .svc .glyph-web i:nth-child(2) { transition-delay: 320ms; }
.reveal-on .svc:not(.is-seen) .glyph-web i:nth-child(1) { transform: scaleX(0); }
.reveal-on .svc:not(.is-seen) .glyph-web i:nth-child(2) { transform: scale(0); }
.reveal-on .svc .glyph-care path { stroke-dasharray: 34; stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--ease) 260ms; }
.reveal-on .svc:not(.is-seen) .glyph-care path { stroke-dashoffset: 34; }

/* -------------------------------------------------------------------------- */
/* Ticker: a slow strip of what we build, between the hero and Services       */
/* -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  padding-block: 18px;
  background-color: var(--ink);
  border-block: 1px solid var(--chalk-16);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-right: 28px;
  /* a ticker has to move at a constant speed, so this one animation is linear */
  animation: ticker 44s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--chalk);
}
/* Outlined words: stroke first, then an ink fill over its inner half, so the
   font's overlapping contours don't show through */
.ticker span.o { color: var(--ink); -webkit-text-stroke: 2px var(--tan); paint-order: stroke fill; }
.ticker i { flex: none; width: 9px; height: 9px; background: var(--gold); }
.ticker i:nth-of-type(3n + 2) { background: var(--cobalt-lite); }
.ticker i:nth-of-type(3n) { background: var(--red); }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

/* -------------------------------------------------------------------------- */
/* Reveal on scroll: sections rise into place once, the first time they are   */
/* seen. Only when main.js has set html.reveal-on (never in calm mode).       */
/* -------------------------------------------------------------------------- */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--rv, 0) * 80ms);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
/* Split headlines reveal word by word, so the block itself stays put */
.reveal-on [data-reveal][data-split] { opacity: 1; transform: none; }
/* Tiles tip up from the floor */
.reveal-on [data-reveal="flip"] {
  transform: perspective(1000px) rotateX(40deg) translate3d(0, 80px, 0) scale(.92);
  transform-origin: 50% 100%;
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
  transition-delay: calc(var(--rv, 0) * 110ms);
}
.arrive.reveal-on [data-reveal] { transition-delay: calc(var(--rv, 0) * 80ms + 300ms); }
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------- */
/* Services                                                                   */
/* -------------------------------------------------------------------------- */

.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  align-items: baseline;
  row-gap: 10px;
  padding-block: clamp(28px, 3.6vw, 44px);
  border-bottom: 1px solid var(--line);
}
.row-title {
  grid-column: 1 / span 4;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.row-text {
  grid-column: 5 / span 6;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  max-width: 30em;
  color: var(--fg-2);
}

/* Small pictograms at the end of each row */
.row-glyph {
  position: relative;
  grid-column: 11 / span 2;
  justify-self: end;
  align-self: center;
  width: 72px;
  height: 52px;
}
.row-glyph i { position: absolute; }
.glyph-web { border: 2px solid var(--chalk); background: var(--cobalt); }
.glyph-web i:nth-child(1) { left: 0; right: 0; top: 0; height: 11px; border-bottom: 2px solid var(--chalk); background: var(--chalk); }
.glyph-web i:nth-child(2) { right: 8px; bottom: 8px; width: 14px; height: 14px; background: var(--gold); }
.glyph-soft { display: flex; align-items: flex-end; gap: 6px; border-bottom: 2px solid var(--chalk); }
.glyph-soft i { position: static; flex: 1; height: 42%; background: var(--cobalt-lite); }
.glyph-soft i:nth-child(2) { height: 72%; }
.glyph-soft i:nth-child(3) { height: 56%; background: var(--gold); }
.glyph-soft i:nth-child(4) { height: 100%; }
.glyph-care i { left: 0; width: 22px; height: 2px; background: var(--chalk); }
.glyph-care i:nth-child(1) { top: 17px; }
.glyph-care i:nth-child(2) { top: 31px; width: 16px; }
.glyph-care svg { position: absolute; right: 0; top: 6px; width: 40px; height: 40px; background: var(--gold); fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: square; border-radius: 6px; }

/* -------------------------------------------------------------------------- */
/* Showcase                                                                   */
/* -------------------------------------------------------------------------- */

/* Each demo is a chapter: words on one side, the working demo on the other.
   Plain layout here; the pinned, scroll-driven version is under "Story". */
.demos { display: grid; row-gap: clamp(72px, 9vw, 128px); }
/* Demos swing in from beyond the edge of the screen; keep that from adding a sideways scroll */
.showcase { overflow-x: clip; }
.chapter { position: relative; }
.chapter-stage { position: relative; z-index: 1; align-items: center; row-gap: 32px; perspective: 1600px; }
/* Huge outlined numeral drifting behind each chapter (Story mode only) */
.chapter-num { display: none; }
.story .chapter-num {
  display: block;
  position: sticky;
  top: calc(var(--nav-h) + 8vh);
  height: 0;
  padding-inline: var(--gutter);
  font-size: 46vh;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: var(--ink);
  -webkit-text-stroke: 2px var(--chalk-16);
  paint-order: stroke fill;
  pointer-events: none;
  will-change: transform;
}
.story .chapter:nth-child(odd) .chapter-num { text-align: right; }
.chapter-text { grid-column: 1 / span 4; min-width: 0; }
.chapter-device { grid-column: 6 / span 7; min-width: 0; }
.chapter:nth-child(even) .chapter-text { grid-column: 9 / span 4; grid-row: 1; }
.chapter:nth-child(even) .chapter-device { grid-column: 1 / span 7; grid-row: 1; }
.chapter-dots { display: flex; gap: 6px; margin-bottom: 22px; }
.chapter-dots i { width: 9px; height: 9px; background: var(--chalk-24); }
.chapter-dots i.on { background: var(--gold); }
.chapter-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.875rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.chapter-points { margin-top: 26px; border-top: 1px solid var(--line); }
.chapter-points li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.45; color: var(--fg-2); }
.chapter-try { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.9375rem; font-weight: 500; color: var(--gold); }
.chapter-device .demo-book, .chapter-device .demo-dash { max-width: 540px; margin-inline: auto; }

/* Each demo is a solid navy panel with its own accent rule */
.demo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  background-color: var(--navy);
  border-top: 3px solid var(--demo-rule, var(--gold));
  border-radius: var(--radius);
  contain: layout; /* work inside a demo never re-lays-out the page */
}
.demo-ba     { --demo-rule: var(--gold); }
.demo-book   { --demo-rule: var(--red); }
.demo-dash   { --demo-rule: var(--cobalt-lite); }
.demo-layers { --demo-rule: var(--tan); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-title { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.15; letter-spacing: -0.02em; }
.demo-note { font-size: 0.9375rem; line-height: 1.5; color: var(--fg-2); max-width: 46ch; }

.tag, .sample {
  flex: none;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}
.tag { background: var(--gold); color: var(--ink); }
.sample { padding: 2px 7px; border: 1px solid var(--chalk-40); color: var(--chalk); }

/* ---- a) Before and after ---- */

.ba {
  position: relative;
  --cq: 6px; /* one hundredth of the frame's width; main.js keeps it exact */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-old, .ba-new { position: absolute; inset: 0; overflow: hidden; }
/* main.js writes clip-path and the handle transform directly while dragging */
.ba-new { clip-path: inset(0 0 0 50%); will-change: clip-path; }

.ba-old {
  display: flex;
  flex-direction: column;
  gap: calc(var(--cq) * 2.4);
  padding: calc(var(--cq) * 3.4);
  background: var(--paper);
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  text-align: center;
}
.old-title { font-size: calc(var(--cq) * 5.4); font-weight: 700; color: var(--cobalt); text-decoration: underline; line-height: 1.1; }
.old-flash { font-size: calc(var(--cq) * 3.2); font-weight: 700; background: var(--gold); color: var(--ink); padding: calc(var(--cq) * .8); border: 2px dashed var(--cobalt); }
.old-nav { display: flex; justify-content: center; gap: calc(var(--cq) * 1); flex-wrap: wrap; }
.old-nav span { font-size: calc(var(--cq) * 3); padding: calc(var(--cq) * .7) calc(var(--cq) * 2); background: var(--chalk); border: 3px outset var(--graphite); color: var(--cobalt); text-decoration: underline; }
.old-body { display: flex; gap: calc(var(--cq) * 2); text-align: left; padding: calc(var(--cq) * 1.8); background: var(--chalk); border: 3px inset var(--graphite); }
.old-img { flex: 0 0 32%; aspect-ratio: 1; display: grid; place-items: center; border: 2px inset var(--graphite); background: var(--paper); color: var(--graphite); font-size: calc(var(--cq) * 2.6); text-align: center; }
.old-copy { font-size: calc(var(--cq) * 3.4); line-height: 1.25; }
.old-copy u { color: var(--cobalt); }
.old-foot { margin-top: auto; font-family: "Courier New", Courier, monospace; font-size: calc(var(--cq) * 2.5); color: var(--graphite); }

/* The modern page: a small but complete site for the made-up bakery, with an
   identity of its own (cream paper, espresso, burnt clay and wheat; an arched
   photograph and a baker's seal) so that it reads as a client's brand, not as
   part of Nivira's. These colours are used nowhere else. */
.ba-new {
  --b-paper: #FAF5EC;
  --b-line: #DDCCAE;
  --b-ink: #2B1D14;
  --b-soft: rgba(43, 29, 20, .7);
  --b-clay: #A5522E;
  --b-wheat: #B88A4A;
  display: flex;
  flex-direction: column;
  background: var(--b-paper);
  color: var(--b-ink);
  font-family: var(--font-body);
}
/* small spaced capitals, used for every label on the bakery's page */
.new-top, .new-links, .new-open, .new-order, .new-tag, .new-btn, .new-link, .new-menu-title, .new-card small, .new-name small {
  font-size: calc(var(--cq) * 1.42);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.new-top { display: flex; align-items: center; justify-content: center; gap: calc(var(--cq) * 1.6); padding: calc(var(--cq) * 1.05) calc(var(--cq) * 2); background: var(--b-ink); color: var(--b-paper); }
.new-top i { width: calc(var(--cq) * 3); height: 1px; background: var(--b-wheat); }
.new-top-link { color: #E3C690; }

.new-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: calc(var(--cq) * 1.2) calc(var(--cq) * 4.2); border-bottom: 1px solid var(--b-line); }
.new-links, .new-side { font-size: calc(var(--cq) * 1.3); letter-spacing: 0.14em; }
.new-open, .new-order { font-size: inherit; letter-spacing: inherit; }
.new-links { display: flex; align-items: center; gap: calc(var(--cq) * 2.4); }
.new-links span { padding-block: calc(var(--cq) * 0.6); border-bottom: 1px solid transparent; }
.new-links .on { border-bottom-color: var(--b-clay); color: var(--b-clay); }
.new-brand { display: grid; justify-items: center; gap: calc(var(--cq) * 0.2); }
.new-logo { width: calc(var(--cq) * 2.8); height: calc(var(--cq) * 2.8); }
.lg-stem { fill: none; stroke: var(--b-wheat); stroke-width: 1.3; stroke-linecap: round; }
.lg-ear { fill: var(--b-wheat); }
.new-name { display: grid; justify-items: center; font-family: var(--font-display); font-weight: 500; font-stretch: normal; font-variation-settings: normal; font-size: calc(var(--cq) * 3); line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
.new-name small { margin-top: calc(var(--cq) * 0.55); font-family: var(--font-body); font-size: calc(var(--cq) * 1.15); letter-spacing: 0.3em; color: var(--b-soft); }
.new-side { display: flex; align-items: center; justify-content: flex-end; gap: calc(var(--cq) * 1.8); }
.new-open { display: inline-flex; align-items: center; gap: calc(var(--cq) * 0.9); color: var(--b-soft); }
.new-open i { width: calc(var(--cq) * 0.9); height: calc(var(--cq) * 0.9); background: var(--b-clay); transform: rotate(45deg); }
.new-order { display: inline-flex; align-items: center; gap: calc(var(--cq) * 1); padding: calc(var(--cq) * 0.9) calc(var(--cq) * 1.4); border: 1px solid var(--b-ink); }
.new-order i { font-style: normal; color: var(--b-clay); }

.new-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: calc(var(--cq) * 3); padding: calc(var(--cq) * 2) calc(var(--cq) * 4.2) calc(var(--cq) * 1.4); overflow: hidden; }
.new-tag { display: inline-flex; align-items: center; gap: calc(var(--cq) * 1.4); color: var(--b-clay); }
.new-tag::before { content: ""; width: calc(var(--cq) * 3.6); height: 1px; background: currentColor; }
.new-h { margin-top: calc(var(--cq) * 1.3); font-family: var(--font-display); font-weight: 400; font-stretch: normal; font-variation-settings: normal; font-size: calc(var(--cq) * 6.9); line-height: 0.94; letter-spacing: -0.015em; }
.new-h i { font-style: italic; font-weight: 400; color: var(--b-clay); }
.new-p { margin-top: calc(var(--cq) * 1.4); max-width: 21em; font-size: calc(var(--cq) * 2.05); font-weight: 400; line-height: 1.5; color: var(--b-soft); }
.new-cta { display: flex; align-items: center; gap: calc(var(--cq) * 2.6); margin-top: calc(var(--cq) * 1.8); }
.new-btn { padding: calc(var(--cq) * 1.5) calc(var(--cq) * 2.4); background: var(--b-ink); color: var(--b-paper); }
.new-link { padding-bottom: calc(var(--cq) * 0.5); border-bottom: 1px solid var(--b-clay); }

/* The photograph sits in an arched window, like an oven door, inside a fine second line.
   The arch is drawn with clip-path, so the site's square-corner rule does not flatten it. */
.new-arch { position: relative; justify-self: end; height: 100%; aspect-ratio: 0.86; max-width: 100%; }
.new-arch::before, .new-arch::after, .new-arch-in { content: ""; position: absolute; clip-path: inset(0 round 50% 50% 0 0 / 43% 43% 0 0); }
.new-arch::before { inset: 0; background: var(--b-wheat); }
.new-arch::after { inset: 1px; background: var(--b-paper); }
.new-arch-in { inset: calc(var(--cq) * 0.9); z-index: 1; display: block; }
.new-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.new-seal { position: absolute; z-index: 2; left: calc(var(--cq) * -1.6); bottom: calc(var(--cq) * 0.8); width: calc(var(--cq) * 12.5); height: calc(var(--cq) * 12.5); overflow: visible; }
.seal-bg { fill: var(--b-paper); }
.seal-line { fill: none; stroke: var(--b-wheat); stroke-width: 0.7; }
.seal-text { font-family: var(--font-body); font-size: 6.3px; font-weight: 500; letter-spacing: 0.06em; fill: var(--b-ink); transform-origin: 50px 50px; animation: seal-turn 48s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
.calm .seal-text, .lite .seal-text { animation: none; }

.new-menu { padding: 0 calc(var(--cq) * 4.2) calc(var(--cq) * 2); }
.new-menu-title { display: flex; align-items: center; gap: calc(var(--cq) * 2); margin-bottom: calc(var(--cq) * 1.4); color: var(--b-soft); }
.new-menu-title::before, .new-menu-title::after { content: ""; flex: 1; height: 1px; background: var(--b-line); }
.new-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--cq) * 2.4); }
.new-card { display: block; }
.new-pic { display: block; width: 100%; height: calc(var(--cq) * 7); object-fit: cover; }
.new-row { display: flex; align-items: baseline; gap: calc(var(--cq) * 1); margin-top: calc(var(--cq) * 1); }
.new-row b { font-family: var(--font-display); font-size: calc(var(--cq) * 2.7); font-weight: 500; line-height: 1.1; white-space: nowrap; }
.new-row i { flex: 1; min-width: calc(var(--cq) * 1); border-bottom: 1px dotted var(--b-wheat); transform: translateY(-0.25em); }
.new-row em { font-family: var(--font-display); font-style: italic; font-size: calc(var(--cq) * 2.6); line-height: 1.1; color: var(--b-clay); }
.new-card small { display: block; margin-top: calc(var(--cq) * 0.5); font-size: calc(var(--cq) * 1.2); color: var(--b-soft); }

.ba-caption { display: flex; justify-content: space-between; margin-top: auto; font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); }
.ba-caption span { display: inline-flex; align-items: center; gap: 7px; }
.ba-caption span::before { content: ""; width: 7px; height: 7px; background: var(--graphite); }
.ba-caption span:last-child::before { background: var(--gold); }

.ba-range {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* Full-width carrier: translateX(n%) moves the divider by n% of the frame */
.ba-handle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
}
.ba-grip {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  transition: transform var(--t-fast) var(--ease);
}
.ba-grip svg { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.ba:hover .ba-grip { transform: scale(1.06); }
.ba.is-dragging .ba-grip { transform: scale(.94); }
.ba-range:focus-visible ~ .ba-handle .ba-grip { outline: 2px solid var(--chalk); outline-offset: 3px; }

/* ---- b) Booking ---- */

.book { position: relative; flex: 1; display: flex; flex-direction: column; }
.book-form[hidden] { display: none; }
.book-form { flex: 1; display: grid; grid-template-rows: auto auto minmax(92px, 1fr) auto; gap: 18px; transition: opacity 250ms var(--ease), transform 250ms var(--ease); }

/* A stub that fills in as you choose */
.book-ticket {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px dashed var(--chalk-40);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--fg-2);
  transition: border-color var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.book-ticket.is-ready { border-style: solid; border-color: var(--gold); background-color: var(--ink); }
.ticket-when { font-size: 1.0625rem; font-weight: 500; line-height: 1.3; color: var(--chalk); }
.book-form.is-leaving { opacity: 0; transform: translateY(-8px); }
.book-set legend { margin-bottom: 10px; font-size: 0.875rem; font-weight: 500; color: var(--fg-2); }

.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 7px 4px;
  border: 1px solid var(--chalk-24);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.chip small { font-size: 0.8125rem; font-weight: 400; color: var(--chalk-78); transition: color var(--t-fast) var(--ease); }
.chip:hover span { border-color: var(--gold); }
.chip input:active + span { transform: scale(.96); }
.chip input:checked + span { background-color: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip input:checked + span small { color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--chalk); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { border-style: dashed; border-color: var(--chalk-16); color: var(--chalk-40); text-decoration: line-through; }

.book-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 4px; }
.book-submit { min-width: 112px; }
.book-submit[aria-disabled="true"] { background-color: transparent; border-color: var(--chalk-40); color: var(--chalk-78); }
.book-submit[aria-disabled="true"]:hover { transform: none; }
.book-submit[aria-disabled="true"]::before { display: none; }
.book-hint { font-size: 0.875rem; color: var(--fg-2); }
.book-hint.is-nudge { color: var(--gold); }

/* Confirmation: a cobalt ticket, a drawn tick and a burst of squares */
.book-done {
  position: relative;
  flex: 1;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 6px;
  padding: 22px;
  background: var(--cobalt);
  border-radius: var(--radius);
  overflow: hidden;
}
.book-done[hidden] { display: none; }
.book-check { width: 52px; height: 52px; margin-bottom: 14px; fill: none; stroke: var(--gold); stroke-width: 2; }
.book-check rect { stroke: var(--chalk-60); stroke-width: 1; }
.book-check path { stroke-width: 3; stroke-linecap: square; stroke-dasharray: 40; stroke-dashoffset: 0; }
.book-done-title { font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.1; }
.book-done-when { font-size: 1.0625rem; }
.book-done-note { font-size: 0.875rem; color: var(--chalk-78); }
.book-again { margin-top: 14px; min-height: 44px; }

.burst { position: static; width: 0; height: 0; margin: 0 0 -6px 26px; pointer-events: none; }
.burst i { position: absolute; width: 8px; height: 8px; margin: -4px; background: var(--gold); opacity: 0; }
.burst i:nth-child(1)  { --bx: 74px;  --by: -30px; }
.burst i:nth-child(2)  { --bx: 108px; --by: 6px;   background: var(--chalk); }
.burst i:nth-child(3)  { --bx: 84px;  --by: 40px;  background: var(--red); }
.burst i:nth-child(4)  { --bx: 136px; --by: -22px; background: var(--tan); }
.burst i:nth-child(5)  { --bx: 150px; --by: 26px; }
.burst i:nth-child(6)  { --bx: 186px; --by: -6px;  background: var(--red); }
.burst i:nth-child(7)  { --bx: 52px;  --by: -44px; background: var(--chalk); }
.burst i:nth-child(8)  { --bx: 204px; --by: 34px;  background: var(--tan); }
.burst i:nth-child(9)  { --bx: 120px; --by: 52px; }
.burst i:nth-child(10) { --bx: 230px; --by: -30px; background: var(--chalk); }

@keyframes check-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes burst {
  0%   { opacity: 1; transform: translate(0, 0) scale(.4); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--bx), var(--by)) scale(1) rotate(90deg); }
}
.book-done.is-in .book-check { animation: pop 400ms var(--ease) both; }
.book-done.is-in .book-check path { animation: check-draw 500ms var(--ease) 150ms both; }
.book-done.is-in .burst i { animation: burst 600ms var(--ease) 260ms both; }
.book-done.is-in > :not(svg):not(.burst) { animation: resolve 500ms var(--ease) both; }
.book-done.is-in > :nth-child(3) { animation-delay: 200ms; }
.book-done.is-in > :nth-child(4) { animation-delay: 260ms; }
.book-done.is-in > :nth-child(5) { animation-delay: 320ms; }
.book-done.is-in > :nth-child(6) { animation-delay: 380ms; }

/* ---- c) Live dashboard ---- */

.dash { display: grid; gap: 18px; margin-top: auto; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--fg-2); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fig { padding-left: 12px; border-left: 2px solid var(--c, var(--gold)); min-width: 0; }
.fig:nth-child(2) { --c: var(--red); }
.fig:nth-child(3) { --c: var(--cobalt-lite); }
.fig dt { font-size: 0.8125rem; color: var(--fg-2); line-height: 1.3; }
.fig dd { margin-top: 6px; }
.fig-num {
  display: block;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chart { display: grid; gap: 8px; }
.chart-plot {
  position: relative;
  height: 136px;
  padding: 8px 8px 0;
  background: var(--ink);
  border-bottom: 1px solid var(--chalk-40);
  border-radius: var(--radius) var(--radius) 0 0;
}
.bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  height: 100%;
}
.bar {
  height: 100%;
  background: var(--cobalt-lite);
  transform-origin: bottom;
  transform: scaleY(var(--v, .1));
  transition: transform var(--t-slow) var(--ease);
}
.bar.is-now { background: var(--gold); }
/* Dashed line at the day's peak; plot is 128px tall inside its padding */
.peak {
  position: absolute;
  left: 8px; right: 8px; bottom: 0;
  border-top: 1px dashed var(--tan-60);
  transform: translateY(calc(var(--peak, .8) * -128px));
  transition: transform var(--t-slow) var(--ease);
  pointer-events: none;
}
.peak b {
  position: absolute;
  right: 0; bottom: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  color: var(--tan);
}
.chart-axis { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--fg-2); }
.dash-foot { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--fg-2); }
.live-dot { width: 8px; height: 8px; background: var(--red); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.dash.is-live .live-dot { animation: blink 1200ms var(--ease) infinite; }
.dash:not(.is-live) .live-dot { background: var(--chalk-40); }
.dash-toggle, .stack-toggle {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--chalk-40);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--chalk);
  white-space: nowrap;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.dash-toggle { margin-left: auto; }
.dash-toggle:hover, .stack-toggle:hover { border-color: var(--gold); }
.dash-toggle:active, .stack-toggle:active { transform: scale(.97); }

/* ---- d) How a page comes together ---- */

.stack {
  position: relative;
  container-type: inline-size;
  height: clamp(270px, 64vw, 350px);
  margin-top: auto;
  --sep: 0;          /* 0 = one page, 1 = pulled apart; main.js drives it */
  --gapz: 38px;      /* distance between two sheets when apart */
  --t: 3px;          /* thickness of a sheet */
}
.scene, .layer-labels { --cx: 40%; --sc: 1; }
@container (max-width: 380px) { .scene, .layer-labels { --cx: 36%; --sc: .78; } }
.scene {
  position: absolute;
  top: calc(56% + var(--sep) * 15%);
  left: var(--cx);
  width: 220px; height: 150px;
  margin: -75px 0 0 -110px;
  transform-style: preserve-3d;
  /* --spin is driven by scroll in Story mode: the page turns as it arrives */
  transform: rotateX(56deg) rotateZ(calc(-38deg + var(--spin, 0deg))) scale(var(--sc));
}
/* A sheet: a flat face plus the two edges that face the viewer, so it has thickness */
.layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--i) * (var(--sep) * var(--gapz) + var(--t))));
  will-change: transform;
}
.layer::before, .layer::after, .blk::before, .blk::after { content: ""; position: absolute; }
.layer::before { left: 0; right: 0; top: 100%; height: var(--t); transform-origin: top; transform: rotateX(-90deg); background: var(--edge-a); }
.layer::after { top: 0; bottom: 0; right: 100%; width: var(--t); transform-origin: right; transform: rotateY(-90deg); background: var(--edge-b); }
.layer > span { position: absolute; }
/* A raised block on a sheet: a small box, with the same two visible sides. It grows as the sheets part. */
.blk { --h: calc((var(--sep) * 7px + 1px) * var(--hm, 1)); transform-style: preserve-3d; transform: translateZ(var(--h)); }
.blk::before { left: 0; right: 0; top: 100%; height: var(--h); transform-origin: top; transform: rotateX(-90deg); background: var(--side-a, #C9C2B2); }
.blk::after { top: 0; bottom: 0; right: 100%; width: var(--h); transform-origin: right; transform: rotateY(-90deg); background: var(--side-b, #9E9788); }
/* Corner posts: dashed uprights that tie the sheets together when they are apart */
.post { position: absolute; width: 0; height: calc(4 * (var(--sep) * var(--gapz) + var(--t))); border-left: 1px dashed rgb(var(--acc-rgb) / .6); transform-origin: top; transform: rotateX(90deg); opacity: var(--sep); }
.post-a { left: 0; top: 100%; }
.post-b { left: 100%; top: 100%; }
.post-c { left: 0; top: 0; }

.layer-grid { --i: 0; }
.layer-layout { --i: 1; }
.layer-content { --i: 2; }
.layer-style { --i: 3; }
.layer-motion { --i: 4; }
.layer-labels li:nth-child(1) { --i: 4; --dot: var(--gold); }
.layer-labels li:nth-child(2) { --i: 3; --dot: var(--chalk); }
.layer-labels li:nth-child(3) { --i: 2; --dot: var(--paper); }
.layer-labels li:nth-child(4) { --i: 1; --dot: var(--tan); }
.layer-labels li:nth-child(5) { --i: 0; --dot: var(--tan); }

/* 0 Grid: twelve columns, rows, a margin frame and two registration marks */
.layer-grid {
  --edge-a: #1C2947; --edge-b: #111A2E;
  background-color: #0B1530;
  background-image: repeating-linear-gradient(90deg, rgb(var(--acc-rgb) / .5) 0 1px, transparent 1px calc(100% / 12)), repeating-linear-gradient(0deg, rgb(var(--acc-rgb) / .2) 0 1px, transparent 1px 12.5px);
  border: 1px solid rgb(var(--acc-rgb) / .75);
}
.lg-frame { inset: 6%; border: 1px solid rgb(var(--fg-rgb) / .5); }
.lg-mark { width: 11px; height: 11px; border: 1px solid var(--gold); border-radius: 50% !important; }
.lg-m1 { left: 2.5%; top: 3%; }
.lg-m2 { right: 2.5%; bottom: 3%; }

/* 1 Layout: the boxes */
.layer-layout { --edge-a: rgb(var(--acc-rgb) / .5); --edge-b: rgb(var(--acc-rgb) / .28); background: rgba(20, 34, 72, .78); border: 1px dashed var(--tan); }
.layer-layout > span { border: 1px dashed var(--tan-60); }
.ly-bar { left: 6%; right: 6%; top: 6%; height: 9%; }
.ly-hero { left: 6%; top: 20%; width: 46%; height: 41%; }
.ly-img { left: 56%; top: 20%; width: 38%; height: 41%; background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--tan-40) 50%, transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), var(--tan-40) 50%, transparent calc(50% + .5px)); }
.ly-col { top: 66%; height: 21%; width: 27%; }
.ly-c1 { left: 6%; }
.ly-c2 { left: 36.5%; }
.ly-c3 { left: 67%; }
.ly-foot { left: 6%; right: 6%; top: 91%; height: 4%; }

/* 2 Content: words, a picture, buttons and cards, as blocks standing on the page */
.layer-content { --edge-a: #CFC8B8; --edge-b: #A9A292; background: var(--paper); }
.lc-brand { left: 6%; top: 7.5%; width: 11%; height: 6%; background: var(--gold); --side-a: var(--accent-deep); --side-b: var(--accent-dark); --hm: .5; }
.lc-nav { left: 60%; top: 9.5%; width: 34%; height: 2px; background-image: repeating-linear-gradient(90deg, #6B7386 0 13px, transparent 13px 20px); }
.lc-h { left: 6%; top: 22%; width: 42%; height: 7%; background: #0F1C3C; }
.lc-h2 { top: 32%; width: 30%; }
.lc-p { left: 6%; top: 43%; width: 38%; height: 8%; background: linear-gradient(#6B7386, #6B7386) 0 0 / 100% 2px no-repeat, linear-gradient(#6B7386, #6B7386) 0 50% / 86% 2px no-repeat, linear-gradient(#6B7386, #6B7386) 0 100% / 58% 2px no-repeat; }
.lc-btn { left: 6%; top: 54%; width: 17%; height: 7.5%; background: var(--gold); --side-a: var(--accent-deep); --side-b: var(--accent-dark); --hm: .8; }
.lc-btn2 { left: 25.5%; top: 54%; width: 15%; height: 7.5%; border: 1px solid #0F1C3C; }
.lc-img { left: 56%; top: 20%; width: 38%; height: 41%; --hm: 1.5; --side-a: #16223A; --side-b: #0C1322; background-color: #1B2A4A; background-image: radial-gradient(circle at 74% 28%, var(--gold) 0 5px, transparent 5.6px), linear-gradient(152deg, transparent 58%, rgb(var(--fg-rgb) / .55) 58% 60%, #24365E 60%); }
.lc-card { top: 66%; height: 21%; width: 27%; background: #E6E1D4 linear-gradient(#16223A, #16223A) 9% 50% / 27% 62% no-repeat; --hm: .7; }
.lc-card::selection { background: none; }
.lc-foot { left: 6%; right: 6%; top: 93%; height: 1px; background: rgba(11, 17, 30, .35); }

/* 3 Style: a palette as chips of different heights, a type specimen, a scale, a corner */
.layer-style { --edge-a: rgb(var(--fg-rgb) / .22); --edge-b: rgb(var(--fg-rgb) / .12); background: rgb(var(--fg-rgb) / .045); border: 1px solid rgb(var(--fg-rgb) / .42); }
.ls-sw { top: 9%; width: 8.5%; height: 12.5%; border: 1px solid rgb(var(--fg-rgb) / .5); }
.ls-sw1 { left: 6%; background: #0E1A38; --side-a: #081028; --side-b: #020408; }
.ls-sw2 { left: 17%; background: #16223A; --side-a: #0F1728; --side-b: #0B1530; --hm: 1.5; }
.ls-sw3 { left: 28%; background: var(--gold); --side-a: var(--accent-deep); --side-b: var(--accent-dark); --hm: 2.1; }
.ls-sw4 { left: 39%; background: var(--chalk); --hm: 1.2; }
.ls-type { right: 7%; top: 1%; font-family: var(--font-display); font-size: 46px; font-weight: 400; line-height: 1; color: var(--chalk); }
.ls-scale { left: 56%; top: 50%; width: 37%; height: 30%; background: linear-gradient(var(--chalk), var(--chalk)) 0 0 / 100% 5px no-repeat, linear-gradient(var(--chalk-60), var(--chalk-60)) 0 46% / 74% 3px no-repeat, linear-gradient(var(--chalk-40), var(--chalk-40)) 0 78% / 52% 2px no-repeat, linear-gradient(var(--chalk-40), var(--chalk-40)) 0 100% / 36% 1px no-repeat; }
.ls-radius { left: 7%; top: 44%; width: 24%; height: 34%; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); border-radius: 16px 0 0 0 !important; }
.ls-rule { left: 6%; top: 90%; width: 32%; height: 2px; background: var(--gold); }

/* 4 Motion: where things travel, how they ease, where the pointer is */
.layer-motion { --edge-a: rgb(var(--acc-rgb) / .45); --edge-b: rgb(var(--acc-rgb) / .25); border: 1px solid var(--gold); background: rgb(var(--acc-rgb) / .035); }
.layer-motion svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lm-path, .lm-head { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 5 4; }
.lm-head { stroke-dasharray: none; }
.lm-ghost, .lm-end, .lm-axis, .lm-ease { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.lm-ghost { stroke-dasharray: 3 3; }
.lm-g1 { opacity: .45; }
.lm-g2 { opacity: .7; }
.lm-axis { stroke: var(--chalk-60); stroke-width: 1; }
.lm-dot { fill: var(--gold); }
.lm-cursor { fill: var(--chalk); stroke: #0E1A38; stroke-width: .8; }

.layer-labels { position: absolute; inset: 0; pointer-events: none; }
.layer-labels li {
  position: absolute;
  left: calc(var(--cx) + 133px * var(--sc) + 7px);
  top: calc(56% + var(--sep) * 15%);
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateY(calc(-50% - (5px + var(--i) * (var(--sep) * var(--gapz) + var(--t)) * .829) * var(--sc)));
  opacity: var(--sep);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk);
  white-space: nowrap;
}
.layer-labels li::before { content: ""; order: -2; width: 14px; height: 1px; background: var(--chalk-60); }
.layer-labels li::after { content: ""; order: -1; width: 6px; height: 6px; background: var(--dot); }
@container (max-width: 380px) {
  .layer-labels li { gap: 5px; font-size: 9px; letter-spacing: 0.1em; }
  .layer-labels li::before { width: 8px; }
}
/* When the button pins the layers, ease between the two states */
.stack.is-pinned :is(.layer, .blk, .post, .scene, .layer-labels li) { transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease), top var(--t-slow) var(--ease), height var(--t-slow) var(--ease); }
.stack.is-pinned :is(.layer, .blk)::before, .stack.is-pinned :is(.layer, .blk)::after { transition: height var(--t-slow) var(--ease), width var(--t-slow) var(--ease); }

.layers-foot { display: flex; justify-content: flex-end; }

/* ---- Story: on a large screen each chapter pins while you scroll through it.
   main.js adds html.story and writes the device's 3D transform every frame;
   the words switch on at set points. Without it the plain layout above stays. */
.story .demos { row-gap: 0; }
.story .chapter { height: 170vh; }
.story .chapter-stage {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
}
.story .chapter-device { will-change: transform, opacity; }
.story .chapter-text [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  transition-delay: 0s;
}
.story .chapter-text [data-reveal].is-on { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------- */
/* Process                                                                    */
/* -------------------------------------------------------------------------- */

.process { padding-block: 8px var(--section-pad); }
.hpin-rail { display: none; }
.hpin-bar { display: block; height: 3px; background: var(--line); }
.hpin-bar i { display: block; height: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(0); will-change: transform; }
/* Story mode: the section pins and the four steps travel sideways as you scroll */
.story .hpin { height: 300vh; }
.story .hpin-stage {
  position: sticky;
  top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}
.story .hpin-frame { width: 100%; max-width: none; margin: 0; }
.story .steps {
  display: flex;
  gap: clamp(32px, 5vw, 88px);
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  will-change: transform;
}
.story .step { flex: 0 0 min(50vw, 620px); padding-top: 36px; }
.story .step-num { margin-bottom: 4vh; font-size: min(34vh, 21rem); }
.story .step-title { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); margin-bottom: 16px; }
.story .step p { max-width: 22em; font-size: 1.25rem; line-height: 1.5; }
.story .hpin-rail { display: block; margin-top: 5vh; }

.steps { row-gap: 48px; }
.step {
  position: relative;
  grid-column: span 3;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 40px; height: 3px;
  background: var(--cobalt);
}
.step-num {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cobalt);
}
.step-title { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 10px; }
.step p { color: var(--fg-2); max-width: 24em; }

/* -------------------------------------------------------------------------- */
/* Recent work (home): a real client site, shown in a browser frame with its  */
/* phone view overlapping                                                     */
/* -------------------------------------------------------------------------- */

.case { align-items: center; row-gap: 36px; }
.case-shots { position: relative; grid-column: 1 / span 7; padding: 0 6% 7% 0; }
.case-desk {
  display: block;
  overflow: hidden;
  border: 1px solid var(--chalk-16);
  border-radius: 16px;
  background: var(--ink);
  box-shadow: inset 0 1px 0 var(--chalk-16), 0 60px 120px -50px var(--cobalt);
}
.case-desk img, .case-phone img { display: block; width: 100%; height: auto; }
.case-phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 23%;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 20px;
  outline: 1px solid var(--chalk-24);
  box-shadow: 0 30px 60px -20px var(--ink);
  transition: transform var(--t-slow) var(--ease);
}
.case:hover .case-phone { transform: translate3d(0, -10px, 0); }
.case-text { grid-column: 9 / span 4; }
.case-kind { font-size: 0.875rem; font-weight: 500; color: var(--gold); }
.case-name { margin-top: 8px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.04; letter-spacing: -0.03em; }
.case-desc { margin-top: 14px; font-size: 1.125rem; line-height: 1.5; color: var(--fg-2); }
.case-points { margin: 22px 0 28px; border-top: 1px solid var(--line); }
.case-points li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.45; color: var(--fg-2); }

/* -------------------------------------------------------------------------- */
/* Pricing page: plans with real prices, then three promises as lit panels    */
/* -------------------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plans-premium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* A group of plans: a small label, a heading and one line */
.tier-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.tier-head ~ .tier-head { margin-top: clamp(56px, 7vw, 96px); }
.tier-head .plans-sub { margin: 8px 0 0; }
.tier-kicker { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.tier-lead { margin-top: 10px; max-width: 36em; color: var(--fg-2); }
.plan-amount small { font-family: var(--font-body); font-size: 0.4em; font-weight: 400; letter-spacing: 0; color: var(--fg-2); }
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--chalk-10);
  border-radius: 28px;
  background-color: var(--navy);
  background-image: linear-gradient(160deg, var(--navy-2), var(--navy) 60%);
  box-shadow: inset 0 1px 0 var(--chalk-16), 0 44px 90px -46px var(--glow-blue);
}
.plan-main { border-color: var(--gold); box-shadow: inset 0 1px 0 var(--chalk-24), 0 60px 120px -60px var(--gold); }
.plan-name { font-size: 1rem; font-weight: 500; color: var(--gold); }
.plan-for { margin: 6px 0 22px; font-size: 0.9375rem; line-height: 1.45; color: var(--fg-2); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.plan-price + .plan-price { margin-top: 6px; }
.plan-amount { font-size: clamp(2.75rem, 1.6rem + 3.4vw, 4.5rem); line-height: 0.95; letter-spacing: -0.045em; }
.plan-price + .plan-price .plan-amount { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.plan-word { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); }
.plans-every { margin-top: 20px; font-size: 1.0625rem; line-height: 1.5; color: var(--fg-2); }
/* Custom software: one wide row under the three plans */
.plan-custom { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px clamp(24px, 4vw, 56px); margin-top: var(--gap); }
.plan-custom .plan-name { margin-bottom: 10px; }
.plan-custom .plan-for { flex: 1 1 280px; margin: 0; font-size: 1.0625rem; }
.plan-custom .btn { align-self: center; margin-top: 0; }
.cur { font-size: 0.6em; vertical-align: 0.42em; margin-right: 0.04em; }
.plan-unit { font-size: 1.0625rem; color: var(--fg-2); }
.plan-list { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 12px; border-radius: 3px; background: var(--gold); }
.plan .btn { align-self: flex-start; margin-top: auto; }
/* The plan's terms, in plain words */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.terms div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 500; }
.terms dd { margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; color: var(--fg-2); }
.terms .cur { font-size: 1em; vertical-align: 0; margin: 0; }
.plans-note { margin-top: 18px; font-size: 0.9375rem; color: var(--fg-2); }
.plans-sub { margin: clamp(56px, 7vw, 96px) 0 clamp(20px, 2.4vw, 32px); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; }

.pricing-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pricing-list li {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  padding-top: clamp(64px, 6vw, 84px);
  border: 1px solid var(--chalk-10);
  border-radius: var(--r-card);
  background-color: var(--navy);
  background-image: linear-gradient(180deg, var(--navy-2), var(--navy) 60%);
  box-shadow: inset 0 1px 0 var(--chalk-16), 0 44px 90px -46px var(--glow-blue);
}
.pricing-list li::before {
  content: "";
  position: absolute;
  left: clamp(24px, 2.6vw, 34px);
  top: clamp(24px, 2.6vw, 34px);
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--gold);
}
.pricing-list h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.12; letter-spacing: -0.025em; }
.pricing-list p { margin-top: 12px; color: var(--fg-2); }

/* -------------------------------------------------------------------------- */
/* Contact: the last thing on every page. Same grid and drifting light as the */
/* heroes, a very large headline, and a lit panel that holds the address.     */
/* -------------------------------------------------------------------------- */

.contact { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.contact-main { grid-column: 1 / -1; }
.contact-title {
  max-width: 11em;
  font-size: clamp(2.5rem, 1rem + 6.6vw, 6.75rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.contact .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.contact-card {
  grid-column: 1 / -1;
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--chalk-16);
  border-radius: 28px;
  background-color: var(--navy);
  background-image: linear-gradient(150deg, var(--navy-2), var(--ink-2) 85%);
  box-shadow: inset 0 1px 0 var(--chalk-24), 0 60px 120px -60px var(--gold);
}
.contact-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 52px); }
.contact-col { min-width: 0; }
.contact-col.call { padding-left: clamp(24px, 4vw, 52px); border-left: 1px solid var(--chalk-16); }
.contact-card-label { margin-bottom: 10px; font-size: 0.875rem; font-weight: 500; color: var(--fg-2); }
/* Call request: pick a day and a time of day; the button opens an email with the choice filled in */
.call-intro { margin-bottom: 18px; color: var(--fg-2); }
.call .book-set + .book-set { margin-top: 16px; }
.call-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.call-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; }
.call-hint { flex: 1 1 180px; font-size: 0.875rem; color: var(--fg-2); }
html:not(.js) .call .book-set { display: none; }
.call-foot[hidden], .call .book-set[hidden] { display: none; }

/* The request form: opens under the day and time */
.call-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--chalk-16);
  animation: fade-in 320ms var(--ease) both;
}
.call-form[hidden] { display: none; }
.call-when, .field-wide, .call-form-foot { grid-column: 1 / -1; }
.call-when { font-size: 0.9375rem; color: var(--gold); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 0.875rem; font-weight: 500; color: var(--fg-2); }
.field small { margin-left: 4px; font-size: 0.8125rem; font-weight: 400; color: var(--chalk-60); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--chalk-24);
  border-radius: 12px;
  background-color: rgba(9, 17, 38, .55);
  color: var(--chalk);
  font: inherit;
  font-size: 1rem;      /* 16px: iPhones zoom the page on anything smaller */
  transition: border-color var(--t-fast) var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--chalk-40); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.call-trap { display: none; }
.call-form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 4px; }
.call-status { flex: 1 1 180px; font-size: 0.875rem; color: var(--fg-2); }
.btn:disabled { opacity: .65; cursor: progress; }
.call-done {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  margin-top: 6px;
  padding: 20px 22px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  animation: fade-in 320ms var(--ease) both;
}
.call-done:focus { outline: none; }
.call-done svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--gold); fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: square; }
.call-done-title { font-size: 1.125rem; font-weight: 600; }
.call-done-text { color: var(--fg-2); overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .call-form { grid-template-columns: minmax(0, 1fr); }
}
.email {
  font-size: clamp(1rem, 4.4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  user-select: all;
  -webkit-user-select: all;
  cursor: text;
}
.email-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(20px, 2.4vw, 28px); }
.copy-btn { min-width: 150px; }
.copy-tick {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square;
  stroke-dasharray: 16; stroke-dashoffset: 16;
  opacity: 0;
  transition: stroke-dashoffset var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.copy-btn.is-copied .copy-tick { stroke-dashoffset: 0; opacity: 1; }
@media (min-width: 900px) {
  .email { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
}
.contact-next {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--chalk-16);
}
.contact-next li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--chalk-10);
  border-radius: 999px;
  background-color: var(--chalk-06);
  font-size: 0.9375rem;
  font-weight: 500;
}
.contact-next b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 0.8125rem; }

/* The Contact page: the same panel, straight under the page heading */
.contact-page { padding-top: clamp(4px, 1.5vw, 20px); }
.contact-page .contact-card { margin-top: 0; }
.plan-pick {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--fg-2);
}
.plan-pick[hidden] { display: none; }
.plan-pick b { font-weight: 600; color: var(--gold); }

/* Corner note: shown only while the page is not playing its full effects */
.mode-chip {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--chalk-24);
  border-radius: 18px;
  background: var(--navy);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  font-size: 0.8125rem;
  color: var(--chalk-78);
}
.mode-go { padding: 6px 2px; font-size: inherit; font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.mode-x { width: 32px; height: 32px; border-radius: 50%; font-size: 1.125rem; line-height: 1; color: var(--chalk-78); }
.mode-x:hover { color: var(--chalk); background: var(--chalk-06); }
.is-leaving .mode-chip { opacity: 0; }

/* -------------------------------------------------------------------------- */
/* Footer: small print, then the wordmark as large as the screen allows       */
/* -------------------------------------------------------------------------- */

.footer { position: relative; overflow: hidden; padding-block: 40px 0; border-top: 1px solid var(--chalk-06); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.copyright { margin-left: auto; font-size: 0.875rem; color: var(--fg-2); }
.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--chalk-16);
  font-size: 0.8125rem;
  color: var(--fg-2);
}
.motion-note[hidden], .lite-note[hidden] { display: none; }
.motion-toggle, .lite-toggle {
  padding: 4px 0;
  font-size: inherit;
  font-weight: 500;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer .footer-mark {
  display: block;
  margin: clamp(28px, 5vw, 64px) 0 -0.115em;
  padding: 0;
  font-size: min(27.5vw, 25rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-align: center;
  color: var(--navy-2);
  -webkit-text-stroke: 1px var(--chalk-24);
  transition: color var(--t-slow) var(--ease);
}
.footer .footer-mark:hover { color: var(--gold-2); }
.footer-mark .wm-word { display: inline-block; }

/* The striped wordmark: two speed lines cut through the letters. Used only
   where the word is very large (here, and in the link-preview image); the nav
   keeps the plain one, where lines this fine would turn to noise. The cuts
   are masks on live text, so it stays sharp at any size. */
.footer .footer-mark:has(.wm-striped) { color: var(--chalk); -webkit-text-stroke: 0; }
.wm-striped .sl {
  display: inline-block;
  padding: 0.12em 0.06em 0;      /* room for the dot and the letters' edges inside the mask */
  margin: -0.12em -0.06em 0;
  --cut: linear-gradient(to bottom, #000 0 0.575em, transparent 0.575em 0.607em, #000 0.607em 0.657em, transparent 0.657em 0.689em, #000 0.689em);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* At this size the dot is drawn exactly as wide as the stem, centred on it, with a gap */
.wm-striped .wm-i::before { left: calc(50% + 0.0225em); top: 0.11em; width: 0.183em; height: 0.183em; }
/* In the nav the word is small, so the two cuts are drawn thicker */
.nav .wm { font-size: 30px; }
.nav .wm-striped .sl { --cut: linear-gradient(to bottom, #000 0 0.585em, transparent 0.585em 0.63em, #000 0.63em 0.69em, transparent 0.69em 0.735em, #000 0.735em); }
/* n, i, v: the lines come in from the left and stop inside the letter */
.wm-striped .sl-n, .wm-striped .sl-i, .wm-striped .sl-v {
  -webkit-mask-image: var(--cut), linear-gradient(#000, #000);
  mask-image: var(--cut), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 100%, var(--keep, 42%) 100%;
  mask-size: 100% 100%, var(--keep, 42%) 100%;
  -webkit-mask-position: 0 0, 100% 0;
  mask-position: 0 0, 100% 0;
}
.wm-striped .sl-i { --keep: 0%; }
.wm-striped .sl-v { --keep: 46%; }
/* a: the lines leave through its tail on the right */
.wm-striped .sl-a {
  -webkit-mask-image: var(--cut), linear-gradient(#000, #000);
  mask-image: var(--cut), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 100%, 62% 100%;
  mask-size: 100% 100%, 62% 100%;
  -webkit-mask-position: 0 0, 0 0;
  mask-position: 0 0, 0 0;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 899px) {
  .hero-copy, .hero-art { grid-column: 1 / span 12; }
  .hero-art { max-width: 520px; }
  .chapter-text, .chapter-device,
  .chapter:nth-child(even) .chapter-text, .chapter:nth-child(even) .chapter-device { grid-column: 1 / span 12; grid-row: auto; }
  .chapter-text { max-width: 34em; }
  .step { grid-column: span 6; }
  .row-title { grid-column: 1 / span 9; }
  .row-glyph { grid-column: 10 / span 3; grid-row: 1; }
  .row-text { grid-column: 1 / span 10; }
  .section-head > *, .section-head .lead { grid-column: 1 / span 12; }
  .contact-main { grid-column: 1 / span 12; }
  .pricing-list { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .contact-col.call { padding: clamp(24px, 4vw, 36px) 0 0; border-left: 0; border-top: 1px solid var(--chalk-16); }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-shots, .case-text { grid-column: 1 / span 12; }
  .case-shots { max-width: 640px; }
  .page-lead, .page-index { grid-column: 1 / span 12; }
  .page-index { max-width: 30em; }
  .svc-text, .svc-art { grid-column: 1 / span 12; }
  .svc-art { min-height: 170px; }
  .svc-art .row-glyph { transform: scale(2.4); }
}
@media (max-width: 599px) {
  .step { grid-column: span 12; }
  .row-text { grid-column: 1 / span 12; }
  .row-glyph { width: 58px; height: 42px; }
  .glyph-care svg { top: 1px; }
  .glyph-care i:nth-child(1) { top: 12px; }
  .glyph-care i:nth-child(2) { top: 26px; }
  .hero-actions { display: flex; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: space-between; }
  .hero-spec { display: none; }
  .figs { gap: 10px; }
  .fig { padding-left: 10px; }
  .layers-foot { flex-direction: column; align-items: flex-start; }
  .terms { grid-template-columns: minmax(0, 1fr); }
  .next-row .btn, .next-row .chip-link { width: 100%; justify-content: space-between; }
  .copyright { margin-left: 0; width: 100%; }
  .footer-inner { gap: 16px 28px; }
}

/* -------------------------------------------------------------------------- */
/* Depth. Reviewer feedback: "looks really flat". Everything dark is now lit:  */
/* soft glows behind sections, panels with a lit top edge and a blue glow       */
/* underneath, rounded corners, a glowing gold button, a frosted nav.           */
/* -------------------------------------------------------------------------- */

body { background-color: var(--ink); }
.section, .page-hero, .ticker, .process { border-top: 1px solid var(--chalk-06); }

/* A slow blue light drifts behind every hero (transform only) */
.hero-guides::after {
  content: "";
  position: absolute;
  top: -22vw; right: -14vw;
  width: 64vw; height: 64vw;
  background: radial-gradient(closest-side, var(--glow-blue), transparent);
  pointer-events: none;
  will-change: transform;
}
@keyframes orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9vw, 6vw, 0) scale(1.18); } }


/* Nav: frosted on large screens, solid on phones (cheaper to draw) */
.nav { background-color: var(--ink); border-bottom-color: var(--chalk-06); }
@media (min-width: 900px) {
  .nav {
    background-color: rgba(9, 17, 38, .74);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
  }
}
@media (max-width: 899px) {
  .nav-panel { background-color: var(--ink); border-bottom-color: var(--chalk-16); }
}

/* Buttons */
.btn { border-radius: var(--r-btn); }
.nav-cta { border-radius: 10px; }
.btn-primary {
  background-image: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: var(--gold-2);
  box-shadow: inset 0 1px 0 rgb(var(--fg-rgb) / .55), 0 12px 32px -12px rgb(var(--acc-rgb) / .8);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgb(var(--fg-rgb) / .55), 0 18px 44px -12px var(--gold); }
.btn-primary::before, .btn-dark::before { display: none; }
.btn-line { border-color: var(--chalk-24); background-color: var(--chalk-06); }
.chip-link, .chip-light { border-radius: 999px; border-color: var(--chalk-16); background-color: var(--chalk-06); color: var(--chalk); }
.chip-link:hover, .chip-light:hover { border-color: var(--gold); }
.promise-mark { border-radius: 3px; }
.book-submit[aria-disabled="true"] { background-image: none; box-shadow: none; }

/* Panels: lit from above, glowing underneath */
.demo, .tile, .svc, .art-frame, .hero-spec {
  border: 1px solid var(--chalk-10);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--chalk-16), 0 44px 90px -46px var(--glow-blue);
}
.demo { background-color: var(--navy); background-image: linear-gradient(180deg, var(--navy-2), var(--navy) 46%); }
.tag { border-radius: 999px; padding: 4px 10px; }
.sample { border-radius: 999px; }

/* Hero preview */
.art-frame { overflow: hidden; border-radius: 16px; box-shadow: inset 0 1px 0 var(--chalk-16), 0 60px 120px -50px var(--cobalt); }
.art-bar { border-bottom-color: var(--chalk-16); }
.art-bar span { border-radius: 999px; border-color: var(--chalk-16); }
.art-bar i { border-radius: 50%; }
.hero-spec { border-radius: 12px; box-shadow: none; color: var(--chalk-78); }
.hero-spec div:nth-child(odd), .hero-spec div:nth-child(n+3) { border-color: var(--chalk-10); }

/* Services cards */
.svc { border-radius: 28px; }
.svc-web, .svc-soft, .svc-care { color: var(--chalk); border: 1px solid var(--chalk-10); --fg-2: var(--chalk-78); --line: var(--chalk-24); }
.svc-web  { background-color: var(--navy); background-image: linear-gradient(150deg, var(--navy-2), var(--navy) 70%); }
.svc-soft { background-color: var(--cobalt); background-image: linear-gradient(150deg, var(--cobalt), var(--navy) 90%); }
.svc-care { background-color: var(--ink-2); background-image: radial-gradient(70% 90% at 100% 0%, var(--glow-gold), transparent 70%), linear-gradient(150deg, var(--navy), var(--ink-2) 80%); }
.svc-soft .glyph-soft i { background: var(--chalk); }
.svc-soft .glyph-soft i:nth-child(3) { background: var(--gold); }
.svc-points li { border-radius: 999px; background-color: var(--chalk-06); }

/* Demos */
.demo-ba, .demo-book, .demo-dash, .demo-layers { --demo-rule: transparent; }
.demo { border-top: 1px solid var(--chalk-10); }
.ba { border-radius: 14px; }
.chip span { border-radius: 10px; }
.book-ticket { border-radius: 12px; border-left-width: 1px; border-left-color: var(--chalk-40); }
.book-ticket.is-ready { border-color: var(--gold); background-color: var(--ink); }
.book-done { border-radius: 16px; background-image: linear-gradient(160deg, var(--cobalt), var(--navy-2)); }
.book-check rect { rx: 10px; }
.fig { border-left-color: var(--gold); }
.fig:nth-child(2) { --c: var(--cobalt-lite); border-left-color: var(--cobalt-lite); }
.fig:nth-child(3) { --c: var(--chalk-40); border-left-color: var(--chalk-40); }
.chart-plot { border-radius: 12px 12px 0 0; }
.bar { border-radius: 3px 3px 0 0; }
.dash-toggle, .stack-toggle { border-radius: 10px; background-color: var(--chalk-06); }
.chapter-dots i { border-radius: 3px; }
.chapter-try { color: var(--gold); }
.story .chapter-num { -webkit-text-stroke-color: var(--chalk-10); }

/* Process: gold numerals on dark */
.step { border-top-color: var(--chalk-16); }
.step::before { background: var(--gold); border-radius: 2px; }
.step-num { background-image: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hpin-bar { border-radius: 999px; overflow: hidden; }
.hpin-bar i { background: var(--gold); }

/* Ticker */
.ticker { background-color: transparent; border-color: var(--chalk-06); }
.ticker span.o { color: var(--ink); -webkit-text-stroke-color: var(--chalk-40); }
.ticker i { border-radius: 3px; }
.ticker i:nth-of-type(3n) { background: var(--chalk-40); }

/* Page transitions: always gold, then the dark page underneath */
.swoosh { background-image: linear-gradient(180deg, var(--gold-2), var(--gold)); }

.motion-toggle, .lite-toggle { color: var(--gold); }

@media (max-width: 599px) {
  .demo, .svc { border-radius: 20px; }
}

/* -------------------------------------------------------------------------- */
/* Blueprint view: html.bp turns the page into its own wireframe              */
/* -------------------------------------------------------------------------- */

/* The page grid: the same 12 columns and 96px rows as the hero, fixed behind
   every page. It stays still while the content scrolls over it. In Blueprint
   view it turns into dashed chalk lines. */
.page-guides {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.page-guides::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgb(var(--acc-rgb) / .05) 1px, transparent 1px);
  background-size: 100% 96px;
  background-position: 0 47px;
}
.page-guides span { border-inline: 1px solid rgb(var(--acc-rgb) / .08); transform-origin: top; }
/* It draws itself in, column by column, when a page opens and when Blueprint view is switched on */
.enter .page-guides span, .bp .page-guides span { animation: guide-draw 520ms var(--ease) both; }
.page-guides span:nth-child(2)  { animation-delay: 20ms; }
.page-guides span:nth-child(3)  { animation-delay: 40ms; }
.page-guides span:nth-child(4)  { animation-delay: 60ms; }
.page-guides span:nth-child(5)  { animation-delay: 80ms; }
.page-guides span:nth-child(6)  { animation-delay: 100ms; }
.page-guides span:nth-child(7)  { animation-delay: 120ms; }
.page-guides span:nth-child(8)  { animation-delay: 140ms; }
.page-guides span:nth-child(9)  { animation-delay: 160ms; }
.page-guides span:nth-child(10) { animation-delay: 180ms; }
.page-guides span:nth-child(11) { animation-delay: 200ms; }
.page-guides span:nth-child(12) { animation-delay: 220ms; }
.bp .page-guides span { border-inline: 1px dashed var(--chalk-24); }
.bp .page-guides::before { display: none; }

.bp body {
  background-color: var(--cobalt);
  background-image:
    linear-gradient(to bottom, var(--chalk-06) 1px, transparent 1px),
    linear-gradient(to right, var(--chalk-06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Fills drop away */
.bp .band-paper, .bp .band-ink, .bp .band-gold, .bp .band-cobalt, .bp .hero, .bp .contact {
  background-color: transparent;
  color: var(--chalk);
  --fg-2: var(--chalk-78);
  --line: var(--chalk-40);
  --focus: var(--gold);
}
.bp .step-num { color: var(--chalk); }
.bp .step::before { background: var(--gold); }
.bp .btn-primary, .bp .btn-dark { background-color: transparent; border-color: var(--chalk); color: var(--chalk); }
.bp .btn-dark::before { display: none; }
.bp .hl, .bp .step-num { background-image: none; color: var(--chalk); }
.bp :is(.demo, .tile, .svc, .btn, .art-frame, .chip-link, .book-done, .hero-spec, .band-blue, .band-ink, .band-paper) { box-shadow: none; background-image: none; }
.bp .hero-guides::after { display: none; }
.bp :is(.contact-card, .pricing-list li, .plan, .case-desk) { box-shadow: none; background-image: none; background-color: transparent; border-color: var(--chalk-60); }
.bp :is(.case-desk, .case-phone) img { opacity: .12; }
.bp :is(.plan-name, .case-kind) { color: var(--chalk); }
.bp .plan-list li::before { background: var(--chalk); }
.bp .page-line { color: var(--chalk); }
.bp .footer .footer-mark, .bp .footer .footer-mark:has(.wm-striped) { color: var(--cobalt); -webkit-text-stroke: 1px var(--chalk-60); }
.bp .zoom-word { color: var(--chalk); }
.bp .nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
.bp .tile, .bp .svc { background-color: transparent; color: var(--chalk); border-color: var(--chalk-60); --fg-2: var(--chalk-78); --line: var(--chalk-40); }
.bp .svc { outline: 1px dashed var(--chalk-60); outline-offset: -1px; }
.bp :is(.tile-art, .svc-art) :is(i, span) { background-color: transparent !important; border-color: var(--chalk-60) !important; outline: 1px dashed var(--chalk-40); outline-offset: -1px; }
.bp :is(.tile-art, .svc-art) svg { background-color: transparent; outline: 1px dashed var(--chalk-60); }
.bp .chapter-num { color: var(--cobalt); }
.bp .chip-light { color: var(--chalk); }
.bp .hpin-bar i { background: var(--chalk); }
.bp .ba-new svg * { fill: none; stroke: var(--chalk-60); stroke-width: 1; opacity: 1; }
.bp .ba-new img { opacity: 0; }
.bp .new-top, .bp .new-nav { border-color: var(--chalk-40); }
.bp .ba-new :is(.new-top, .new-order, .new-btn, .new-card) { background: transparent; }
.bp .new-arch::before { background: var(--chalk-60); }
.bp .new-arch::after { background: var(--cobalt); }
.bp .seal-bg { fill: var(--cobalt); }
.bp .ticker { background-color: transparent; border-color: var(--chalk-40); }
.bp .ticker span.o { color: var(--cobalt); -webkit-text-stroke-color: var(--chalk); }
.bp .ticker i { background: var(--chalk); }
.bp .chapter-dots i { background: transparent; outline: 1px solid var(--chalk-60); }
.bp .chapter-dots i.on { background: var(--chalk); }
.bp .chapter-try { color: var(--chalk); }
.bp .hero-spot { display: none; }
.bp .chip-link { border-color: var(--chalk-60); }
.bp .demo { background-color: transparent; border-top-color: var(--chalk-60); }
.bp .pricing-list { border-top-color: var(--chalk-60); }
.bp .motion-toggle, .bp .lite-toggle { color: var(--chalk); }
.bp .hero-guides span { border-inline-style: dashed; }

/* Every block shows its outline */
:where([data-bp]) { position: relative; outline: 1px dashed transparent; outline-offset: -1px; }
.bp [data-bp] { outline-color: var(--chalk-60); }
.bp .nav[data-bp] { outline-color: transparent; }

/* Dimension labels */
[data-bp]::after {
  content: attr(data-bp) " · " attr(data-size);
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  padding: 3px 6px;
  background: var(--chalk);
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.bp [data-bp]::after { opacity: 1; visibility: visible; }
.btn[data-bp]::after { top: calc(100% + 6px); }
.nav[data-bp]::after { top: auto; bottom: 0; }
.h2[data-bp]::after { top: auto; bottom: calc(100% + 8px); }

.bp .nav { background-color: var(--cobalt); }
.bp .nav-panel { background-color: var(--cobalt); }
.bp .draft-box i { background: var(--chalk); }
.bp .draft-box b { background: var(--cobalt); color: var(--chalk); }
.bp .dim-label { background: var(--cobalt); color: var(--chalk); }
.bp .dim-line, .bp .dim-line::before, .bp .dim-line::after { background: var(--chalk-60); }
.bp .hero-guides span { border-color: var(--chalk-16); }
.bp .btn-primary::before { display: none; }
.bp .promise-mark, .bp .pricing-list li::before { background: var(--chalk); }
.bp .hero-spec, .bp .hero-spec div { color: var(--chalk); border-color: var(--chalk-40); }

/* The hero preview and the service pictograms become line drawings */
.bp .art-frame, .bp .art-bar, .bp .art-bar *, .bp .art-band, .bp .art-band *, .bp .art-rows > span::before {
  background-color: transparent !important;
  border-color: var(--chalk-40);
  outline: 1px dashed var(--chalk-40);
  outline-offset: -1px;
  opacity: 1;
}
.bp .row-glyph, .bp .row-glyph i { background-color: transparent; border-color: var(--chalk-60); }
.bp .row-glyph i { outline: 1px dashed var(--chalk-60); outline-offset: -1px; }
.bp .glyph-care svg { background-color: transparent; outline: 1px dashed var(--chalk-60); }
.bp .nav-inner > .draft-box { --edge-rest: .5; }
.bp .draft-box { --edge-rest: .9; }

/* Demo internals become wireframe too */
.bp .demo :is(div, span, p, li, dl, dd, dt, small, u, b, i, em, label, input + span):not(.tag):not(.sample) {
  background-color: transparent;
  color: var(--chalk);
  border-color: var(--chalk-40);
}
.bp .demo :is(.ba-old > *, .ba-new > *, .new-hero > *, .new-cards > *, .new-cta > *, .old-body > *, .bar, .fig, .layer > span, .chip span, .book-done, .chart-plot) {
  outline: 1px dashed var(--chalk-40);
  outline-offset: -1px;
}
.bp .demo .bar.is-now { outline-color: var(--gold); }
.bp .ba-grip { color: var(--cobalt) !important; background-color: var(--chalk) !important; }
.bp .ba-caption span::before { background: var(--chalk); }
.bp .new-loaf::after { background: transparent; outline: 1px dashed var(--chalk-40); }
.bp .book-ticket { border-color: var(--chalk-60); background-color: transparent; }
.bp .ba-handle::before { background: var(--chalk); }
.bp .new-brand::before, .bp .layer-labels li::after { background: var(--chalk); }
.bp .peak { border-top-color: var(--chalk-60); }
.bp .fig { border-left-color: var(--chalk-60); }
.bp .ba-old, .bp .ba-new { background-color: var(--cobalt) !important; }
.bp .layer { background-color: transparent !important; border: 1px dashed var(--chalk-60); }
.bp .lm-path, .bp .lm-head, .bp .lm-ghost { stroke: var(--chalk); }
.bp .lm-dot { fill: var(--chalk); }
.bp .book-check path { stroke: var(--chalk); }
.bp .live-dot { background: var(--chalk) !important; }
.bp .new-btn, .bp .lc-btn, .bp .old-flash { outline-color: var(--gold) !important; }

/* Keyboard focus stays visible in Blueprint view */
.bp :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Cross-fade while switching (class present for ~600ms only) */
.bp-anim, .bp-anim *, .bp-anim *::before, .bp-anim *::after {
  transition-property: background-color, color, border-color, outline-color, opacity, fill, stroke !important;
  transition-duration: 500ms !important;
  transition-timing-function: var(--ease) !important;
  transition-delay: 0s !important;
}

/* -------------------------------------------------------------------------- */
/* Calm mode (html.calm): the visitor's device asks for reduced motion.       */
/* No load sequence, no scroll-linked or travelling motion, nothing looping;  */
/* short fades and state changes stay so the page still feels responsive.     */
/* -------------------------------------------------------------------------- */

.calm .btn:hover, .calm .chip-link:active { transform: none; }
.calm .dash.is-live .live-dot { animation: none; }
.calm .ticker-track { animation: none; }
.calm .hero-guides::after { animation: none; }
.calm .page-guides span { animation: none; }
.calm .book-done.is-in .burst i { animation: none; }
.calm .book-done.is-in .book-check,
.calm .book-done.is-in > :not(svg):not(.burst) { animation-name: fade-in; }

/* -------------------------------------------------------------------------- */
/* The opening (home): the hero and the chapters after it are one scroll      */
/* story centred on a single artifact. main.js draws the core on the canvas   */
/* and turns the rings; these rules place it and lay the chapter text around  */
/* it. Without JavaScript (.saga-on is not set) the chapters are plain blocks. */
/* -------------------------------------------------------------------------- */

.saga { position: relative; isolation: isolate; --core: min(70vh, 44vw, 680px); }
.saga-stage { display: none; }
.saga-on .saga-stage {
  display: block;
  position: sticky;
  top: var(--nav-h);
  z-index: 0;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  overflow: hidden;
  overflow: clip;
  pointer-events: none;
}
.saga-on .saga-beats { position: relative; z-index: 1; margin-top: calc(var(--nav-h) - 100vh); margin-top: calc(var(--nav-h) - 100svh); }
.saga .hero { background: none; overflow: visible; isolation: auto; }

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--core);
  height: var(--core);
  margin: calc(var(--core) / -2) 0 0 calc(var(--core) / -2);
  perspective: 1500px;
  will-change: transform, opacity;
}
.core::before { content: ""; position: absolute; inset: -38%; background: radial-gradient(closest-side, var(--glow-blue), transparent 74%); }
.core-canvas { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; }
.ring { position: absolute; inset: 0; will-change: transform; animation: fade-in 900ms var(--ease) 500ms both; }
.ring-b { inset: 11%; }
.ring-c { inset: 15%; }
.ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.r-line { fill: none; stroke: var(--chalk-24); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.r-tick { stroke: var(--chalk-40); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.r-tick-l { stroke: var(--gold); }
.r-label { font-family: var(--font-mono); font-size: 3.4px; letter-spacing: 0.6px; fill: var(--chalk-78); opacity: var(--label, 1); }
.r-dash { fill: none; stroke: var(--chalk-24); stroke-width: 0.3; stroke-dasharray: 0.5 1.7; }
.r-arc { fill: none; stroke: var(--gold); stroke-width: 0.75; }
.r-node { fill: var(--ink); stroke: var(--gold); stroke-width: 1px; vector-effect: non-scaling-stroke; }
/* The fixed mark at the top of the dial: whatever sits under it is the chapter being read */
.core-mark { position: absolute; left: 50%; top: -15px; margin-left: -6px; border: 6px solid transparent; border-top: 9px solid var(--gold); opacity: var(--label, 1); }

/* Chapter text */
.beat-num { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.beat-num b { font-weight: 500; color: var(--gold); }
.beat-title { margin-top: 14px; font-size: clamp(1.75rem, 1rem + 2vw, 2.875rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.beat-lead { margin-top: 16px; font-size: 1.0625rem; line-height: 1.5; color: var(--fg-2); }
.beat-text .text-link { display: inline-block; margin-top: 20px; }
.beat-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.beat-notes li { display: flex; align-items: center; gap: 10px; }
.beat-notes li::before { content: ""; flex: none; width: 22px; height: 1px; background: var(--gold); }
.beat:not(.hero) { padding-block: 40px; }
.beat-text { max-width: 30rem; }

.saga-on .beat:not(.hero) { display: flex; align-items: flex-end; min-height: min(100vh, 1100px); min-height: min(100svh, 1100px); padding-block: 0 8vh; }
.saga-on .beat-inner, .saga-on .saga .hero-inner { will-change: transform, opacity; }

@media (min-width: 900px) {
  .saga-on .beat:not(.hero) { align-items: center; padding-block: 0; }
  .saga-on .beat-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--core) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(16px, 2.4vw, 40px);
  }
  .saga-on .beat-text { grid-column: 1; justify-self: end; width: 100%; max-width: 20rem; }
  .saga-on .beat-notes { grid-column: 3; display: grid; gap: 16px; margin-top: 0; }
  .saga-on .beat-notes li::before { width: 36px; }
}
@media (max-width: 899px) {
  .saga { --core: min(82vw, 38svh, 440px); }
}

/* The demos follow straight on from the last chapter, which is their heading */
.showcase-home { border-top: 0; padding-top: 0; }
.showcase-home .demos { margin-top: 0; }

/* Blueprint view: the artifact as its construction drawing */
.bp .core::before { display: none; }
.bp .r-line, .bp .r-dash { stroke: var(--chalk-60); stroke-dasharray: 4 4; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.bp .r-tick { stroke: var(--chalk-60); }
.bp .r-arc, .bp .r-tick-l { stroke: var(--gold); }
.bp .r-node { fill: none; stroke: var(--chalk); }
.bp .hl { color: var(--chalk); }

/* Calm mode: one still drawing beside the headline, nothing pinned */
.calm .ring { animation: none; }

/* -------------------------------------------------------------------------- */
/* Lighter mode (html.lite). main.js switches it on by itself when a device   */
/* is clearly struggling (low memory, data saver, or frames dropping while     */
/* scrolling). Same pages and content; the constant motion and the costliest  */
/* effects are switched off.                                                  */
/* -------------------------------------------------------------------------- */

.lite .hero-guides::after, .lite .art-page, .lite .art-bars i, .lite .ticker-track, .lite .dash.is-live .live-dot { animation: none !important; }
.lite .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: var(--ink); }
.lite :is(.demo, .tile, .svc, .contact-card, .pricing-list li, .art-frame, .plan, .case-desk) { box-shadow: inset 0 1px 0 var(--chalk-16); }
.lite .hero-spot { display: none; }
.lite .chapter-device, .lite .svc, .lite .steps { will-change: auto; }

/* Without JavaScript there is no motion mode to choose; follow the device */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Headlines in the regular-width cut sit a little looser than the wide one   */
/* -------------------------------------------------------------------------- */
.hero-title, .h2, .beat-title, .contact-title, .chapter-title, .svc-title, .step-title, .demo-title, .next-text, .more-text, .case-name, .plans-sub, .page-line, .page-word, .email, .plan-amount { letter-spacing: -0.01em; }

/* -------------------------------------------------------------------------- */
/* Blueprint view: the build sheet. Figures are filled in by main.js from the */
/* visitor's own browser.                                                     */
/* -------------------------------------------------------------------------- */
.sheet {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 85;
  width: min(320px, calc(100vw - 32px));
  padding: 16px 18px 14px;
  border: 1px dashed var(--chalk-60);
  background: rgba(36, 64, 130, .94);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.35;
  animation: fade-in 320ms var(--ease) both;
}
.sheet[hidden] { display: none; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 28px; font: inherit; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); cursor: pointer; }
.sheet-fold { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.sheet.is-shut .sheet-fold { transform: rotate(-135deg) translate(-2px, -2px); }
.sheet.is-shut #sheet-body { display: none; }
.sheet.is-shut { width: auto; padding-block: 8px; }
.sheet-sub { margin-top: 2px; color: var(--chalk-78); }
.sheet dl { margin-top: 10px; border-top: 1px dashed var(--chalk-40); }
.sheet dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--chalk-24); }
.sheet dt { color: var(--chalk-78); }
.sheet dd { text-align: right; font-weight: 500; }
.is-leaving .sheet { opacity: 0; }
@media (max-width: 640px) {
  .sheet { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 10px 14px 8px; }
  .sheet.is-shut { left: auto; }
  .sheet.is-shut .sheet-title { gap: 14px; }
  .sheet dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .sheet dl div { flex-direction: column; gap: 0; padding: 5px 0; }
  .sheet dd { text-align: left; }
}

/* ========================================================================== */
/* House style: the final layer, and the one art direction for every page.    */
/*   ground  one deep midnight, the same everywhere; no seams between parts   */
/*   accent  one medium gold, for lines, marks and the primary button         */
/*   type    Cormorant Garamond for display; Jost for text, and in small      */
/*           spaced capitals for navigation, buttons and labels               */
/*   shape   square corners throughout; hairlines instead of filled panels    */
/*   motion  slow and unhurried; nothing leans, bounces or glows              */
/* ========================================================================== */

*, *::before, *::after { border-radius: 0 !important; }
/* ...softened a little: 4px on controls and small parts, 8px on panels. Nothing is a pill or a circle. */
:is(.btn, .chip span, .field input, .field textarea, .mode-chip, .bp-switch, .bp-switch span, .ba-grip, .plan-pick, .contact-next li, .contact-next b,
    .book-ticket, .fig, .demo-note, .dash-toggle, .new-btn, .new-order, .menu-btn, .swoosh, .chart-plot, .lc-btn, .old-flash) { border-radius: 4px !important; }
:is(.contact-card, .plan, .plan-custom, .demo, .svc, .pricing-list li, .case-desk, .case-phone, .ba, .call-done, .sheet, .layer) { border-radius: 8px !important; }
:is(.case-desk, .case-phone) img, .new-pic { border-radius: 3px !important; }
.plan-list li::before, .call-done svg, .hero-index b { border-radius: 2px !important; }

body {
  background-color: var(--ink);
  background-image:
    none;
  color: var(--chalk);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.band-blue, .band-ink, .band-paper, .saga { background: none; }
.section, .page-hero, .ticker, .process, .footer { border-top: 0; }
.page-hero .hero-guides, .contact .hero-guides { display: none; }
html:not(.bp) .hero-dim, html:not(.bp) .draft-box { display: none; }
.page-guides { opacity: .32; }
.page-guides::before { display: none; }
.bp .page-guides { opacity: 1; }
::selection { background: var(--gold); color: var(--ink); }

/* ---- Type --------------------------------------------------------------- */
.hero-title, .h2, .page-word, .contact-title, .beat-title, .chapter-title { font-weight: 300; }
.hero-title { font-size: clamp(2.75rem, 6.36vw - 0.225rem, 6.25rem); line-height: 1.02; letter-spacing: -0.015em; }
.h2 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); line-height: 1.04; }
.beat-title { font-size: clamp(2.375rem, 1.3rem + 2.6vw, 3.75rem); line-height: 1; }
.chapter-title { font-size: clamp(2.25rem, 1.2rem + 2.8vw, 3.75rem); line-height: 1.02; }
.demo-title { font-size: 1.625rem; }
.page-word { letter-spacing: -0.02em; }
.hl { font-weight: 300; font-size: 1em; letter-spacing: 0; }
.hero-text, .lead, .beat-lead { font-weight: 300; color: var(--chalk-78); }
.hero-text, .lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.6; }
.beat-lead { font-size: 1.125rem; line-height: 1.6; }
b, strong { font-weight: 500; }

/* ---- The wordmark: spaced capitals in the display face. The striped        */
/*      wordmark's markup and rules are still in place underneath this.       */
.wm, .nav .wm {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: normal;
  font-variation-settings: normal;
  font-size: 1.3125rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--chalk);
}
.wm .sl { display: inline; padding: 0; margin: 0; -webkit-mask: none; mask: none; }
.wm .wm-i::before { display: none; }

/* ---- Nav ---------------------------------------------------------------- */
.nav, .lite .nav { background-color: rgba(9, 17, 38, .84); border-bottom: 1px solid transparent; }
@media (min-width: 900px) { .nav { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
@media (max-width: 899px) { .nav, .nav-panel { background-color: var(--ink); } }
.nav.is-scrolled { border-bottom-color: rgb(var(--acc-rgb) / .2); }
.nav-links { gap: clamp(20px, 2.6vw, 36px); }
.nav-panel { gap: clamp(20px, 2.6vw, 36px); }
.nav-links a, .footer-links a, .bp-toggle {
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chalk-78);
  transition: color var(--t-med) var(--ease);
}
.nav-links a:hover, .footer-links a:hover, .bp-toggle:hover { color: var(--chalk); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a[aria-current="page"]::before { height: 1px; }
.nav .nav-cta { min-height: 42px; padding: 0 20px; background-color: transparent; border-color: var(--gold); color: var(--gold); }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background-color: var(--gold); color: var(--ink); }

/* ---- Buttons and links: flat, square, spaced capitals --------------------- */
.btn, .chip-link { transform: none !important; }
.btn {
  min-height: 52px;
  padding: 0 28px;
  gap: 14px;
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.btn-primary::before, .btn-dark::before { display: none; }
.btn-primary { background-color: var(--gold); background-image: none; border-color: var(--gold); color: var(--ink); box-shadow: none; }
.btn-primary:hover { background-color: transparent; color: var(--gold); }
.btn-line { background-color: transparent; background-image: none; border-color: rgb(var(--fg-rgb) / .3); color: var(--chalk); box-shadow: none; }
.btn-line:hover { background-color: transparent; border-color: var(--gold); color: var(--gold); }
.btn-arrow { width: 18px; stroke-width: 1.1; }
.chip-link {
  min-height: 0;
  padding: 8px 0;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgb(var(--acc-rgb) / .55);
  background: none;
  box-shadow: none;
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chalk-78);
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.chip-link:hover { color: var(--gold); border-color: var(--gold); background: none; }
.promise-mark { display: none; }
.text-link { text-decoration-color: rgb(var(--acc-rgb) / .6); }
.swoosh { background-image: none; background-color: var(--gold); }

/* ---- Panels: hairlines, not filled boxes ---------------------------------- */
:is(.contact-card, .plan, .demo, .pricing-list li, .case-desk, .plan-custom) {
  background-color: rgb(var(--fg-rgb) / .018);
  background-image: none;
  border: 1px solid rgb(var(--fg-rgb) / .13);
  box-shadow: none;
  color: var(--chalk);
}
.svc, .svc-web, .svc-soft, .svc-care { background-color: var(--ink-2); background-image: none; border: 1px solid rgb(var(--fg-rgb) / .13); box-shadow: none; color: var(--chalk); }
.plan.plan-main { border-color: var(--gold); }
.plan-list li::before { top: 22px; width: 6px; height: 6px; }
.field input, .field textarea { background-color: transparent; border-color: rgb(var(--fg-rgb) / .24); }
.contact-next li { background: none; }

/* ---- The hero: centred type inside the great ring ------------------------- */
.saga .hero { padding-block: clamp(48px, 8vh, 96px) clamp(104px, 16vh, 148px); text-align: center; }
.saga .hero-copy { grid-column: 1 / -1; width: 100%; max-width: 60rem; margin-inline: auto; }
.saga .hero-title { text-wrap: balance; }
.saga .hero-text { max-width: 33em; margin: clamp(20px, 3vh, 30px) auto 0; }
.saga .hero-actions { justify-content: center; margin-top: clamp(28px, 4.4vh, 44px); }
.hero-promise { margin-top: 24px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: clamp(18px, 3.4vh, 32px);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-eyebrow i { width: 44px; height: 1px; background: var(--gold); opacity: .6; }
.hero-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(18px, 3.4vh, 34px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgb(var(--acc-rgb) / .2);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chalk-60);
}
.hero-index { display: flex; flex-wrap: wrap; gap: 6px clamp(20px, 4vw, 56px); }
.hero-index b { margin-right: 12px; color: var(--gold); }
.hero-scroll { display: flex; align-items: center; gap: 14px; letter-spacing: 0.3em; }
.hero-scroll i { width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; animation: scroll-cue 2.8s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: scaleX(0); opacity: 0; } 35% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.calm .hero-scroll i { animation: none; }

/* headline words rise straight up out of their line, slowly */
.wi { transform: translate3d(0, 108%, 0); transition-duration: 1100ms; transition-delay: calc(var(--wi, 0) * 70ms + var(--split-delay, 0ms)); }
.is-in .wi, .zoom-word .wi, .arrive .page-word .wi { transform: none; }
/* the opening sequence: unhurried, top to bottom */
.intro .nav-inner > :not(.draft-box) { animation: fade-in 900ms var(--ease) 100ms both; }
.intro .hero-eyebrow { animation: resolve 1000ms var(--ease) 250ms both; }
.intro .hero-title .draft-in { animation: none; }
.intro .hero-text .draft-in { animation: resolve 1000ms var(--ease) 820ms both; }
.intro .hero-actions > .btn:nth-of-type(1) { animation: resolve 900ms var(--ease) 1020ms both; }
.intro .hero-actions > .btn:nth-of-type(2) { animation: resolve 900ms var(--ease) 1120ms both; }
.intro .hero-promise { animation: resolve 900ms var(--ease) 1220ms both; }
.intro .hero-foot { animation: fade-in 1100ms var(--ease) 1400ms both; }

/* ---- The artifact: gold hairlines, ivory points ---------------------------- */
.core { perspective: 1500px; }
/* the great ring fades out before it reaches the strip at the foot of the screen */

.core::before { inset: -30%; background: radial-gradient(closest-side, rgb(var(--acc-rgb) / .07), transparent 70%); }
.rings { position: absolute; left: 50%; top: 50%; z-index: 1; width: 100%; height: 100%; transform: translate(-50%, -50%); transform-style: preserve-3d; }
.core-canvas { z-index: 2; }
.ring { animation: fade-in 1800ms var(--ease) 200ms both; }
.ring-b, .ring-c, .core-mark { opacity: var(--k, 1); animation: none; }
.r-line { stroke: rgb(var(--acc-rgb) / .42); }
.r-line-in { stroke: rgb(var(--acc-rgb) / .2); }
.r-tick { stroke: rgb(var(--fg-rgb) / .3); }
.r-tick-m { stroke: rgb(var(--fg-rgb) / .5); }
.r-tick-l { stroke: var(--gold); }
.r-label { font-family: var(--font-body); font-size: var(--ls, 3.4px); font-weight: 500; letter-spacing: 0.24em; fill: var(--chalk); fill-opacity: .86; opacity: var(--label, 1); }
.r-dash { stroke: rgb(var(--acc-rgb) / .4); }
.r-node { fill: var(--ink); stroke: var(--gold); }
.core-mark { border-top-color: var(--gold-2); transform: translateZ(calc(var(--u, 0px) * 4)); }
@media (min-width: 900px) and (max-width: 1199px) {
  .saga { --core: min(68vh, 42vw, 560px); }
}
@media (max-width: 699px) {
  .hero-eyebrow { letter-spacing: 0.2em; }
  .hero-eyebrow span:first-child, .hero-eyebrow i { display: none; }
  .hero-foot { display: none; }
  .saga .hero { padding-bottom: 56px; }
}

/* ---- Chapter text ---------------------------------------------------------- */
.beat-num, .beat-notes, .tier-kicker { font-size: 0.78125rem; font-weight: 500; letter-spacing: 0.28em; }
.beat-num { color: var(--chalk-60); }
.beat-num b { color: var(--gold); }
.chapter-num { font-weight: 300; }

/* ---- Footer: the name, very large, drawn as a gold outline ------------------ */
.footer .footer-mark, .footer .footer-mark:has(.wm-striped) {
  display: block;
  margin: clamp(40px, 6vw, 84px) 0 clamp(20px, 3vw, 44px);
  padding-left: 0.16em;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: min(18.5vw, 17rem);
  line-height: 1;
  letter-spacing: 0.16em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--acc-rgb) / .6);
  transition: color var(--t-slow) var(--ease);
}
.footer .footer-mark:hover { color: rgb(var(--acc-rgb) / .14); }
/* A steady halo follows the thin strokes of the large footer lettering. */
@media (forced-colors: none) {
  html:not(.bp) .footer-mark .wm-word {
    -webkit-text-stroke: 1px rgb(var(--accent-hi-rgb) / .76);
    filter: drop-shadow(0 0 2px rgb(var(--accent-rgb) / .55))
            drop-shadow(0 0 7px rgb(var(--accent-rgb) / .28));
  }
}
.footer-note { border-top-color: rgb(var(--acc-rgb) / .2); }

/* ---- Small furniture --------------------------------------------------------- */
.mode-chip { flex-wrap: nowrap; gap: 10px; padding: 2px 4px 2px 14px; border-color: rgb(var(--fg-rgb) / .16); background: rgba(9, 17, 38, .92); font-size: 0.8125rem; white-space: nowrap; }
.mode-go { padding: 6px 0; }
.sheet { background: rgba(36, 64, 130, .96); font-size: 0.78125rem; letter-spacing: 0.08em; }

/* ---- Blueprint view keeps its own drawing-office look ------------------------ */
.bp body, body.bp { background-image: none; }
.bp :is(.contact-card, .plan, .demo, .svc, .pricing-list li, .case-desk, .plan-custom) { background: none; border-color: var(--chalk-60); }
.bp .core::before { display: none; }

/* -------------------------------------------------------------------------- */
/* The dial as an object. main.js adds these parts to .rings and tilts the     */
/* whole thing in perspective. Each part is a flat ring or disc cut out with a */
/* mask (--a to --b, as a share of the radius) and placed at its own depth     */
/* (--z, in hundredths of the radius, times --u). From back to front:          */
/*   shadow, the case wall (six slices, knurled), the recessed face, the wall  */
/*   of the recess, the chapter ring that carries the ticks, two polished      */
/*   rims, then the floating rings, the drawing, and a sheen of glass.         */
/* The metal is a conic gradient; main.js turns it (--lit) as the dial tilts,  */
/* so the shine travels round the rim without anything being repainted.        */
/* -------------------------------------------------------------------------- */
.dial-body {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--body, 0);
  --a: 0%;
  --b: 100%;
  -webkit-mask-image: radial-gradient(circle closest-side, transparent calc(var(--a) - .7px), #000 var(--a), #000 calc(var(--b) - .7px), transparent var(--b));
  mask-image: radial-gradient(circle closest-side, transparent calc(var(--a) - .7px), #000 var(--a), #000 calc(var(--b) - .7px), transparent var(--b));
  transform: translateZ(calc(var(--u, 0px) * var(--z, 0)));
}
.dial-rim, .dial-wall, .dial-step { transform: translateZ(calc(var(--u, 0px) * var(--z, 0))) rotate(calc(var(--lit, 0) * 1deg)); }
.dial-shadow {
  inset: -12%;
  -webkit-mask-image: none;
  mask-image: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7) 50%, rgba(0, 0, 0, .34) 72%, transparent 100%);
  transform: translate3d(2%, 6%, calc(var(--u, 0px) * var(--z, 0)));
}
.dial-wall {
  --a: 96.4%;
  background-image: repeating-conic-gradient(rgba(0, 0, 0, .42) 0deg .75deg, transparent .75deg 1.5deg), conic-gradient(var(--accent-dark) 0deg, var(--accent-shadow) 45deg, var(--accent-dark) 90deg, var(--accent) 135deg, var(--accent-dark) 180deg, var(--accent-shadow) 225deg, var(--accent-deep) 270deg, var(--accent-hi) 315deg, var(--accent) 338deg, var(--accent-dark) 360deg);
}
.dial-face {
  --b: 88%;
  background-color: #0A1430;
  background-image:
    radial-gradient(circle closest-side, transparent 79.4%, rgb(var(--acc-rgb) / .34) 79.9%, transparent 80.5%),
    radial-gradient(circle closest-side at 54% 56%, transparent 66%, rgba(0, 0, 0, .62) 92%),
    radial-gradient(circle at 36% 30%, rgba(64, 92, 160, .5), transparent 60%),
    repeating-radial-gradient(circle closest-side, rgb(var(--fg-rgb) / .04) 0 1px, transparent 1px 2.4%);
}
.dial-step { --a: 86.9%; --b: 88.5%; background-image: conic-gradient(var(--accent-dark) 0deg, var(--accent-shadow) 45deg, var(--accent-dark) 90deg, var(--accent) 135deg, var(--accent-dark) 180deg, var(--accent-shadow) 225deg, var(--accent-deep) 270deg, var(--accent-hi) 315deg, var(--accent) 338deg, var(--accent-dark) 360deg); }
.dial-chapter { --a: 88.4%; --b: 96.7%; background-image: radial-gradient(circle closest-side, #081028 88.4%, #15244A 92.4%, #081028 96.7%); }
.dial-rim {
  --a: 96.4%;
  background-image:
    radial-gradient(circle closest-side, transparent 96.4%, rgba(255, 246, 224, .6) 96.9%, transparent 97.8%, transparent 99%, rgba(0, 0, 0, .5) 100%),
    conic-gradient(var(--accent) 0deg, var(--accent-dark) 45deg, var(--accent-deep) 90deg, var(--accent-hi) 135deg, var(--accent-deep) 180deg, var(--accent-dark) 225deg, var(--accent) 270deg, var(--accent-glint) 315deg, var(--accent-hi) 338deg, var(--accent) 360deg);
}
.dial-rim-in { --a: 87.3%; --b: 89%; background-image: conic-gradient(var(--accent) 0deg, var(--accent-dark) 45deg, var(--accent-deep) 90deg, var(--accent-hi) 135deg, var(--accent-deep) 180deg, var(--accent-dark) 225deg, var(--accent) 270deg, var(--accent-glint) 315deg, var(--accent-hi) 338deg, var(--accent) 360deg); }
.dial-glass {
  --b: 87.3%;
  background-image: linear-gradient(128deg, rgba(255, 255, 255, .1) 4%, rgba(255, 255, 255, .025) 30%, transparent 46%, transparent 74%, rgba(255, 255, 255, .04) 100%);
}
/* Blueprint view keeps the drawing, not the object; lighter mode keeps a flat dial */
.bp .dial-body { display: none; }
.lite :is(.dial-wall, .dial-step, .dial-shadow, .dial-glass) { display: none; }

/* -------------------------------------------------------------------------- */
/* Less empty space. Sections share one ground, so the padding of two          */
/* neighbours adds up to one gap; these keep that gap near 110 to 130 px on a  */
/* laptop and about 100 px on a phone.                                         */
/* -------------------------------------------------------------------------- */
.section-head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.more-row, .next-row { margin-top: clamp(32px, 4vw, 52px); }
.contact-card { margin-top: clamp(24px, 3vw, 36px); }
.tier-head ~ .tier-head { margin-top: clamp(40px, 5vw, 64px); }
.plans-sub { margin-top: clamp(40px, 5vw, 64px); }
.page-hero { padding-block: clamp(28px, 3.6vw, 52px) clamp(20px, 3vw, 40px); }
.page-hero + section, .page-hero + .process { padding-top: clamp(20px, 2.8vw, 36px); }
.footer .footer-mark, .footer .footer-mark:has(.wm-striped) { margin: clamp(28px, 4vw, 56px) 0 0; }
/* the opening chapters need less scrolling between them on a large screen; the last one stays a full screen */
@media (min-width: 900px) {
  .saga-on .beat:not(.hero):not(.beat-last) { min-height: min(86vh, 960px); }
}

/* The line under the headline, and the same line as a sign-off under the name at the foot of every page */
.saga .hero-text { max-width: none; font-size: clamp(1.1875rem, 1rem + 0.75vw, 1.5rem); letter-spacing: 0.01em; }
.hero-text .line { display: inline-block; }
.footer-slogan {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: clamp(10px, 1.6vw, 20px) 0 0;
  padding: 0 var(--gutter, 20px) clamp(28px, 4vw, 48px);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
}
.bp .footer-slogan { color: var(--chalk); }

/* The layers diagram: square sheets, and its own rules for Blueprint view and lighter mode */
.layer { border-radius: 2px !important; }
.bp .layer::before, .bp .layer::after, .bp .blk::before, .bp .blk::after { background: transparent; border: 1px dashed var(--chalk-40); }
.bp .layer > span { background-color: transparent !important; border-color: var(--chalk-60); color: var(--chalk); }
.bp .layer-grid { background-image: repeating-linear-gradient(90deg, var(--chalk-40) 0 1px, transparent 1px calc(100% / 12)); }
.bp :is(.lm-ghost, .lm-end, .lm-axis, .lm-ease) { stroke: var(--chalk); }
.bp .post { border-color: var(--chalk-60); }
.lite .blk { transform: none; }
.lite :is(.layer, .blk)::before, .lite :is(.layer, .blk)::after, .lite .post { display: none; }

/* -------------------------------------------------------------------------- */
/* Services: three isometric scenes. The SVG is generated (see NOTES.md); each */
/* solid is three faces, lit from the upper left: top lightest, left face      */
/* mid, right face darkest. Parts rise into place when their card is reached.  */
/* -------------------------------------------------------------------------- */
.svc-art { min-height: 0; }
.iso { display: block; width: 100%; max-width: 500px; height: auto; overflow: visible; }
.iso polygon, .iso path, .iso ellipse, .iso use { stroke: rgba(9, 17, 38, .55); stroke-width: .6; stroke-linejoin: round; }
.iso .iv-t { fill: #F5EEE2; } .iso .iv-l { fill: #D3CCBC; } .iso .iv-r { fill: #A7A091; } .iso .iv-side { fill: #B5AE9E; }
.iso .go-t { fill: var(--accent-hi); } .iso .go-l { fill: var(--accent); } .iso .go-r { fill: var(--accent-deep); } .iso .go-side { fill: var(--accent-deep); }
.iso .na-t { fill: #1E2E52; } .iso .na-l { fill: #15213C; } .iso .na-r { fill: #0C1424; } .iso .na-side { fill: #121C33; }
.iso :is(.iv-side, .go-side, .na-side) { stroke: none; }
.iso .dk-t { fill: #232D47; } .iso .dk-l { fill: #0A0F1B; } .iso .dk-r { fill: #081028; }
.iso :is(.na-t, .na-l, .na-r, .dk-t, .dk-l, .dk-r) { stroke: rgb(var(--fg-rgb) / .26); }
.iso .fl-t { fill: rgb(var(--fg-rgb) / .028); stroke: rgb(var(--acc-rgb) / .42); } .iso .fl-l { fill: rgb(var(--acc-rgb) / .16); stroke: rgb(var(--acc-rgb) / .42); } .iso .fl-r { fill: rgb(var(--acc-rgb) / .08); stroke: rgb(var(--acc-rgb) / .42); }
.iso .scr { fill: #0E1730; } .iso .f-navy2 { fill: #1B2A4A; } .iso .f-navy3 { fill: #24365E; } .iso .f-navy4 { fill: #34497A; } .iso .f-ink { fill: #070B14; }
.iso .f-iv { fill: #F5EEE2; } .iso .f-mid { fill: rgb(var(--fg-rgb) / .5); } .iso .f-dim { fill: rgba(9, 17, 38, .45); } .iso .f-gold { fill: var(--accent); } .iso .f-glow { fill: rgb(var(--acc-rgb) / .16); }
.iso :is(.scr, .f-navy2, .f-navy3, .f-navy4, .f-ink, .f-iv, .f-mid, .f-dim, .f-gold, .f-glow) { stroke: none; }
.iso :is(.o-iv, .ln, .ln-f, .ln-f2, .ln-k, .lg, .lg2, .lg3, .ld) { fill: none; stroke-linecap: round; }
.iso .o-iv { stroke: rgb(var(--fg-rgb) / .55); stroke-width: .8; }
.iso .ln { stroke: rgb(var(--fg-rgb) / .55); stroke-width: .8; } .iso .ln-f { stroke: rgb(var(--fg-rgb) / .07); stroke-width: .8; } .iso .ln-f2 { stroke: rgb(var(--fg-rgb) / .14); stroke-width: .6; stroke-dasharray: 2 3; }
.iso .ln-k { stroke: rgba(9, 17, 38, .6); stroke-width: 1.6; }
.iso .lg { stroke: var(--gold); stroke-width: 1.1; } .iso .lg2 { stroke: var(--gold-2); stroke-width: 1.8; } .iso .lg3 { stroke: var(--gold); stroke-width: 4; stroke-linecap: butt; }
.iso .ld { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 4; }
.iso .node { fill: var(--ink); stroke: var(--gold-2); stroke-width: 1.4; }
.iso .cur { fill: var(--chalk); stroke: #070B14; stroke-width: .8; }
.iso .gear-line { fill: none; stroke: rgba(9, 17, 38, .3); stroke-width: 1; }
.iso .gear-hole { fill: rgba(9, 17, 38, .78); stroke: rgba(9, 17, 38, .4); stroke-width: 1; }
.iso .cy { stroke: rgba(9, 17, 38, .55); }

/* parts rise into place, one after another, when the card is reached */
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; } .d6 { --d: 6; } .d7 { --d: 7; } .d8 { --d: 8; } .d9 { --d: 9; } .d10 { --d: 10; }
.reveal-on .svc .iso-part { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.reveal-on .svc.is-seen .iso-part { opacity: 1; transform: none; }
/* the two gears turn together (14 teeth against 8); one block hovers over its slot */
.iso :is(.spin-a, .spin-b, .spin-c) { transform-box: fill-box; transform-origin: center; }
.iso .spin-a { animation: gear-turn 56s linear infinite; }
.iso .spin-b { animation: gear-turn 32s linear infinite reverse; }
.iso .spin-c { animation: gear-turn 36s linear infinite reverse; }
@keyframes gear-turn { to { transform: rotate(360deg); } }
.reveal-on .svc.is-seen .iso-float { animation: iso-float 4.5s ease-in-out 1.6s infinite alternate; }
@keyframes iso-float { to { transform: translateY(-5px); } }
.calm .iso :is(.spin-a, .spin-b, .spin-c), .lite .iso :is(.spin-a, .spin-b, .spin-c), .calm .iso-float, .lite .iso-float { animation: none; }

/* Blueprint view: the scenes as wireframes */
.bp .iso :is(polygon, path, ellipse, use, circle) { fill: none !important; stroke: var(--chalk-60); stroke-width: .7; }
.bp .iso :is(.lg, .lg2, .lg3, .ld, .node) { stroke: var(--gold); }
.bp .iso :is(.f-mid, .f-dim, .ln-f, .ln-f2, .f-glow) { stroke: none; }

/* the layers diagram, sized up where there is room */
@container (min-width: 440px) { .scene, .layer-labels { --cx: 38%; --sc: 1.15; } }
@container (min-width: 520px) { .scene, .layer-labels { --cx: 44%; --sc: 1.45; } }
@media (min-width: 600px) { .stack { height: 470px; } }
@media (min-width: 900px) and (max-width: 1199px) { .stack { height: 390px; } }

/* Blueprint view: the stacked Services cards must still cover one another */
.bp .svc.svc { background-color: var(--cobalt); }

/* The request form says where the visitor's details go */
.call-privacy { grid-column: 1 / -1; font-size: 0.8125rem; line-height: 1.5; color: var(--chalk-60); }

/* The not-found page: the same ground and centred type as the home hero */
.page-404 .hero, .page-404 .hero.band-blue { background: none; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding-block: 48px; text-align: center; }
.page-404 .hero-guides { display: none; }
.page-404 .hero-inner { display: block; }
.page-404 .hero-text { margin-inline: auto; }
.page-404 .hero-actions { justify-content: center; }
.nf-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; margin-top: 32px; }

/* ========================================================================== */
/* 60 / 30 / 10. Navy is the ground (about 60%), cream the second colour      */
/* (about 30%: text, and the sections and cards marked .on-cream), bronze-gold */
/* accent (about 10%: buttons, emphasis, marks). Inside .on-cream the text and */
/* line colours flip to navy and the accent deepens so small text stays       */
/* readable; every component follows without rules of its own.               */
/* ========================================================================== */
html .on-cream {
  --fg-rgb: 9 17 38;
  --chalk: #091126;
  --chalk-06: rgb(9 17 38 / .06);
  --chalk-10: rgb(9 17 38 / .10);
  --chalk-16: rgb(9 17 38 / .16);
  --chalk-24: rgb(9 17 38 / .24);
  --chalk-40: rgb(9 17 38 / .40);
  --chalk-60: rgb(9 17 38 / .60);
  --chalk-78: rgb(9 17 38 / .78);
  --fg-2: rgb(9 17 38 / .74);
  --line: rgb(9 17 38 / .14);
  --acc-rgb: var(--accent-deep-rgb);
  --gold: var(--accent-deep);
  --gold-2: var(--accent);
  --tan-10: rgb(var(--accent-deep-rgb) / .10);
  --tan-16: rgb(var(--accent-deep-rgb) / .16);
  --tan-40: rgb(var(--accent-deep-rgb) / .40);
  --tan-60: rgb(var(--accent-deep-rgb) / .60);
  --focus: var(--accent-deep);
  background-color: #F3EBDD;
  background-image: none;
  color: #091126;
}
/* a card that is cream sits on the navy ground; a section that is cream holds white-cream cards */
html :is(.plan, .svc).on-cream { background-color: #F5EEE2; border-color: rgb(245 238 226 / .4); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .7); }
html .on-cream :is(.contact-card, .case-desk, .plan-pick) { background-color: #FBF7F0; border-color: rgb(9 17 38 / .1); }
/* bronze-gold buttons and chosen chips on cream: navy text on bronze-gold */
html .on-cream :is(.btn-primary, .chip input:checked + span, .contact-next b) { background-color: var(--accent); border-color: var(--accent); color: var(--ink); }
html .on-cream .chip input:checked + span small { color: #0E1A38; }
html .on-cream .btn-primary:hover { background-color: var(--accent-hi); color: var(--ink); border-color: var(--accent); }
html .on-cream .btn-line:hover { color: var(--ink); border-color: var(--ink); }
/* the isometric scenes keep their contrast on a cream card */
html .on-cream .iso .iv-t { fill: #E9DFCD; } html .on-cream .iso .iv-l { fill: #D2C5AE; } html .on-cream .iso .iv-r { fill: #AB9C84; } html .on-cream .iso .iv-side { fill: #B9AB93; }
html .on-cream .iso .fl-t { fill: rgb(9 17 38 / .03); }
/* the navy plan stands out among cream ones */
.plans .plan.plan-main { background-color: #13234A; border-color: rgb(var(--accent-rgb) / .6); box-shadow: 0 30px 70px -40px rgb(0 0 0 / .6); }
/* Blueprint view keeps its own drawing-office look */
html.bp .on-cream, html.bp :is(.plan, .svc).on-cream {
  --fg-rgb: 245 238 226;
  --chalk: #F5EEE2;
  --chalk-06: rgb(245 238 226 / .06);
  --chalk-10: rgb(245 238 226 / .10);
  --chalk-16: rgb(245 238 226 / .16);
  --chalk-24: rgb(245 238 226 / .24);
  --chalk-40: rgb(245 238 226 / .40);
  --chalk-60: rgb(245 238 226 / .60);
  --chalk-78: rgb(245 238 226 / .78);
  --fg-2: rgb(245 238 226 / .78);
  --line: rgb(245 238 226 / .4);
  --acc-rgb: var(--accent-rgb);
  --gold: var(--accent);
  --gold-2: var(--accent-hi);
  --tan-10: rgb(var(--accent-rgb) / .10);
  --tan-16: rgb(var(--accent-rgb) / .16);
  --tan-40: rgb(var(--accent-rgb) / .40);
  --tan-60: rgb(var(--accent-rgb) / .60);
  --focus: var(--accent);
  background-color: var(--cobalt) !important;
  color: #F5EEE2;
  box-shadow: none;
}
html.bp .on-cream :is(.contact-card, .case-desk, .plan-pick) { background-color: transparent; border-color: var(--chalk-60); }
html.bp .on-cream .iso :is(.iv-t, .iv-l, .iv-r, .iv-side, .fl-t) { fill: none; }

/* The top bar is solid navy, so it reads the same over navy and cream sections */
.nav, .lite .nav, .nav.is-scrolled { background-color: #0B1530; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ========================================================================== */
/* Phones                                                                     */
/* ========================================================================== */

/* ---- The menu: the whole screen, the page names in the display face -------- */
@media (max-width: 899px) {
  html.menu-open { overflow: hidden; }
  .nav .nav-panel {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: clamp(20px, 5vh, 40px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background-color: var(--ink);
    background-image: radial-gradient(120% 60% at 100% 0%, rgb(var(--acc-rgb) / .1), transparent 60%), radial-gradient(90% 50% at 0% 100%, rgba(36, 64, 130, .45), transparent 70%);
    border-bottom: 0;
    transform: none;
  }
  .nav .nav-links { counter-reset: nl; gap: 0; }
  .nav .nav-links li { counter-increment: nl; border-bottom: 1px solid var(--chalk-10); }
  .nav .nav-links a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: clamp(10px, 2.2vh, 18px) 0;
    border-bottom: 0;
    font-family: var(--font-display);
    font-size: clamp(2.125rem, 9.5vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--chalk);
  }
  .nav .nav-links a::before {
    display: inline-block;
    position: static;
    width: 2.2em;
    height: auto;
    content: counter(nl, decimal-leading-zero);
    transform: none;
    background: none;
    font-family: var(--font-body);
    font-size: 0.78125rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--gold);
  }
  .nav .nav-links a[aria-current="page"] { color: var(--gold); }
  .nav .nav-cta { margin-top: auto; }
  .nav .nav-cta { min-height: 54px; justify-content: center; background-color: var(--gold); border-color: var(--gold); color: var(--ink); }
  /* the names arrive one after another */
  .nav.is-open .nav-links li, .nav.is-open .bp-toggle, .nav.is-open .nav-cta { animation: menu-in 640ms var(--ease) both; }
  .nav.is-open .nav-links li:nth-child(2) { animation-delay: 50ms; }
  .nav.is-open .nav-links li:nth-child(3) { animation-delay: 100ms; }
  .nav.is-open .nav-links li:nth-child(4) { animation-delay: 150ms; }
  .nav.is-open .bp-toggle { animation-delay: 220ms; }
  .nav.is-open .nav-cta { animation-delay: 260ms; }
  .calm .nav.is-open :is(.nav-links li, .bp-toggle, .nav-cta) { animation-name: fade-in; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- The floating bar ------------------------------------------------------- */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border: 1px solid rgb(var(--fg-rgb) / .14);
    border-radius: 8px;
    background: rgba(11, 21, 48, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 24px));
    transition: transform 520ms var(--ease), opacity 320ms var(--ease), visibility 0s linear 520ms;
  }
  .dock.is-on { opacity: 1; visibility: visible; transform: none; transition: transform 520ms var(--ease), opacity 320ms var(--ease), visibility 0s; }
  .dock-text { flex: 1; min-width: 0; font-size: 0.8125rem; line-height: 1.35; color: var(--chalk-78); }
  .dock .dock-go { min-height: 46px; padding: 0 18px; white-space: nowrap; }
  html.has-dock .mode-chip { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  html.has-dock .sheet.is-shut { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .bp .dock { background: var(--cobalt); border-style: dashed; }
  .lite .dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0B1530; }
}

/* ---- Plans: a row you swipe through ---------------------------------------- */
.swipe-hint { display: none; }
@media (max-width: 699px) {
  .pricing .plans, .pricing .plans.plans-premium {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pricing .plans::-webkit-scrollbar { display: none; }
  .pricing .plans > .plan { flex: 0 0 84%; scroll-snap-align: start; }
  .pricing .plans [data-reveal] { opacity: 1; transform: none; }
  .swipe-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 8px;
    font-size: 0.78125rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--chalk-60);
  }
  .swipe-hint span { width: 40px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
  .js:not(.calm) .swipe-hint span { animation: scroll-cue 2.8s var(--ease) infinite; transform-origin: left; }
}

/* ========================================================================== */
/* Balance: reading type that holds up, plain information where people look  */
/* for it, and less decoration competing with the content.                    */
/* ========================================================================== */

/* ---- Reading type: regular weight, calmer spacing in the small capitals ---- */
body { font-weight: 400; }
.hero-text, .lead, .beat-lead, .page-lead { font-weight: 400; }
.h2, .beat-title, .chapter-title, .contact-title, .svc-title, .plans-sub, .case-name, .page-line, .next-text, .more-text { font-weight: 400; }
.nav-links a, .footer-links a, .bp-toggle, .btn, .chip-link { letter-spacing: 0.14em; }
.hero-eyebrow, .beat-num, .beat-notes, .tier-kicker, .swipe-hint, .hero-foot, .footer-slogan, .footer-h { letter-spacing: 0.18em; }

/* ---- Less decoration behind the content ------------------------------------ */
.page-guides { opacity: .16; }
.story .chapter-num { -webkit-text-stroke-color: rgb(var(--fg-rgb) / .05); }

/* ---- Commitments (home) ------------------------------------------------------ */
.commit .section-head { row-gap: 10px; }
.commit-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: none; }
.commit-list li { padding-top: 22px; border-top: 1px solid var(--chalk-16); }
.commit-n { display: block; margin-bottom: 18px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.18em; color: var(--gold); }
.commit-list h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.875rem); font-weight: 400; line-height: 1.12; }
.commit-list p { margin-top: 12px; line-height: 1.6; color: var(--fg-2); }
.commit-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 899px) { .commit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 559px) { .commit-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- Footer: four columns of plain information, then the name --------------- */
.footer { padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr; gap: 32px clamp(24px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--chalk-10); }
.footer-name { font-family: var(--font-display); font-size: 1.625rem; line-height: 1.1; }
.footer-about { margin-top: 12px; max-width: 26em; font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); text-wrap: balance; }
.footer-h { margin-bottom: 14px; font-size: 0.78125rem; font-weight: 500; text-transform: uppercase; color: var(--gold); }
.footer-col p:not(.footer-h) { font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); }
.footer-col p + p:not(.footer-h) { margin-top: 6px; }
.footer .footer-links { display: grid; gap: 2px; }
.footer .footer-links a { display: inline-block; padding: 6px 0; font-size: 0.8125rem; }
.footer-col .text-link { display: inline-block; padding: 3px 0; }
.footer-base { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding-top: 20px; }
.footer-base .copyright { margin-left: 0; font-size: 0.8125rem; }
.footer-base .footer-note { flex: 1; width: auto; padding-top: 0; border-top: 0; justify-content: flex-end; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 559px) { .footer-base .footer-note { justify-content: flex-start; } }

/* Mobile chapters follow one another in normal reading order. */
@media (max-width: 899px) {
  .saga-on .saga .beat:not(.hero) { min-height: 0; align-items: flex-start; padding-block: 36px; }
  .saga-on .saga .beat.beat-last { padding-bottom: 72px; }
  .saga-on .saga .hero { padding-bottom: 36px; }
}
/* ---- Phones: the bakery's "after" page as a phone layout. The "before" page
        stays a shrunken desktop page, which is what an old site does on a
        phone. ------------------------------------------------------------ */
@media (max-width: 599px) {
  .ba { aspect-ratio: 5 / 7; }
  .ba-new { --cq: var(--cqn, 5px); }
  /* the old page is a desktop page that does not fit a phone: shown larger, it runs off the right edge */
  .ba-old { --cq: calc(var(--cqn, 5px) * 1.05); }
  .ba-new .new-top { justify-content: flex-start; }
  .ba-new :is(.new-top i, .new-top-link, .new-links, .new-open) { display: none; }
  .ba-new .new-nav { grid-template-columns: 1fr auto; padding: calc(var(--cq) * 1.6) calc(var(--cq) * 3.2); }
  .ba-new .new-brand { grid-template-columns: auto auto; justify-items: start; align-items: center; justify-self: start; column-gap: calc(var(--cq) * 1.2); }
  .ba-new .new-name { justify-items: start; }
  .ba-new .new-hero { grid-template-columns: minmax(0, 1fr); align-content: start; gap: calc(var(--cq) * 2.4); padding: calc(var(--cq) * 2.6) calc(var(--cq) * 3.2) calc(var(--cq) * 2); }
  .ba-new .new-h { font-size: calc(var(--cq) * 5.8); }
  .ba-new .new-p { font-size: calc(var(--cq) * 1.9); max-width: none; }
  .ba-new .new-arch { justify-self: stretch; width: 100%; height: calc(var(--cq) * 20); aspect-ratio: auto; }
  .ba-new .new-arch::before, .ba-new .new-arch::after, .ba-new .new-arch-in { clip-path: inset(0 round 50% 50% 0 0 / 34% 34% 0 0); }
  .ba-new .new-seal { width: calc(var(--cq) * 9); height: calc(var(--cq) * 9); left: calc(var(--cq) * -0.6); bottom: calc(var(--cq) * -1); }
  .ba-new .new-menu { padding: 0 calc(var(--cq) * 3.2) calc(var(--cq) * 2.4); }
  .ba-new .new-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--cq) * 2); }
  .ba-new .new-card:nth-child(3) { display: none; }
  .ba-new .new-pic { height: calc(var(--cq) * 8); }
}

/* ---- What the first year of a plan costs in total ------------------------- */
.plan-year { margin-top: 14px; font-size: 0.875rem; line-height: 1.5; color: var(--fg-2); }
.plan-year b { font-weight: 500; color: var(--chalk); }
.plan-year span { display: block; font-size: 0.8125rem; }

/* ---- Blueprint view: the switch lives in the footer; the sheet can turn it off */
.footer-col .bp-toggle { margin-top: 14px; }
.bp-hint { font-size: 0.8125rem !important; line-height: 1.5; color: var(--chalk-60) !important; }
.sheet-head { display: flex; align-items: center; gap: 14px; }
.sheet-head .sheet-title { flex: 1; width: auto; }
.sheet-off { min-height: 28px; padding: 0 10px; border: 1px dashed var(--chalk-60); border-radius: 4px; font: inherit; font-size: 0.78125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chalk); }
.sheet-off:hover { border-style: solid; }

/* the build sheet steps aside while the phone menu is open */
html.menu-open .sheet { display: none; }

/* ========================================================================== */
/* A little friendlier: plain-case buttons and links, slightly rounder        */
/* corners, a small lift on hover, and a live "taking on projects" status.     */
/* ========================================================================== */
.nav-links a, .footer-links a, .bp-toggle { font-size: 0.875rem; letter-spacing: 0.01em; text-transform: none; }
.btn { font-size: 0.9375rem; letter-spacing: 0.01em; text-transform: none; }
.chip-link { font-size: 0.875rem; letter-spacing: 0.01em; text-transform: none; }
.nav .nav-cta { font-size: 0.875rem; }
.footer .footer-links a { font-size: 0.875rem; }

:is(.btn, .chip span, .field input, .field textarea, .mode-chip, .plan-pick, .contact-next li, .book-ticket, .dash-toggle, .stack-toggle, .menu-btn, .sheet-off) { border-radius: 6px !important; }
:is(.contact-card, .plan, .plan-custom, .demo, .svc, .pricing-list li, .case-desk, .case-phone, .ba, .call-done, .sheet, .dock) { border-radius: 12px !important; }

/* a small lift on hover, on devices with a pointer */
.btn { transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), translate 300ms var(--ease), box-shadow 300ms var(--ease); }
.plan { transition: translate 400ms var(--ease), box-shadow 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { translate: 0 -2px; }
  .btn-primary:hover { box-shadow: 0 14px 26px -18px rgb(0 0 0 / .6); }
  .plan:hover { translate: 0 -4px; box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .6); }
  .commit-list li { transition: border-color var(--t-med) var(--ease); }
  .commit-list li:hover { border-top-color: var(--gold); }
}

/* "Taking on new projects": a live status above the headline */
.hero-eyebrow .status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid rgb(var(--acc-rgb) / .35); border-radius: 999px !important; color: var(--chalk); }
.hero-eyebrow .status b { position: relative; width: 7px; height: 7px; border-radius: 50% !important; background: var(--gold); }
.hero-eyebrow .status b::after { content: ""; position: absolute; inset: -4px; border-radius: 50% !important; border: 1px solid var(--gold); opacity: 0; }
.js:not(.calm):not(.lite) .hero-eyebrow .status b::after { animation: status-ping 2.4s var(--ease) infinite; }
@keyframes status-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.bp .hero-eyebrow .status { border-style: dashed; }
@media (max-width: 699px) {
  .hero-eyebrow { flex-direction: column; gap: 12px; }
  .hero-eyebrow span.status { display: inline-flex; }
}

/* ========================================================================== */
/* Round 23 (.saga-wide-23 marks this layer).                                  */
/*   1. Colour. The accent is set once, in Round 29 at the end of this file  */
/*      (bronze-gold since 17 Nov 2026); the old names here point at it.       */
/* ========================================================================== */
:root {
  --gold: var(--accent);           /* the accent on navy */
  --gold-2: var(--accent-hi);
  --acc-rgb: var(--accent-rgb);
  --coral-band: var(--ink);        /* old name: the contact band is navy since Round 29 */
  --coral-deep: var(--accent-deep);   /* old name: the accent's deeper shade, for marks on cream */
  --chalk-78: rgb(var(--fg-rgb) / .88);   /* secondary text: brighter, easier to read */
}

/* ---- 2. The ground: a drafting surface under every navy section ------------ */
/* One fixed layer, painted once; its lights are set in Round 24 and Round 29. */
/* Nothing in it moves.                                                         */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #0E1A38;
}
.bp body::before, .no-js body::before { display: none; }
/* (the cream sections are lit in Round 29; there is no grid) */

/* every inner page opens on a great dial, drawn large behind the heading */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: max(-22vw, -300px);
  top: 50%;
  width: min(78vw, 900px);
  aspect-ratio: 1;
  transform: translateY(-46%);
  background: url("assets/dial-ground.svg") center / contain no-repeat;
  pointer-events: none;
}
.bp .page-hero::before { opacity: .35; }
@media (max-width: 699px) { .page-hero::before { right: -58vw; width: 130vw; opacity: .7; } }

/* ---- 3. 60 / 30 / 10 ------------------------------------------------------- */
/* Navy: the opening, the footer, the contact band. Cream: the demos and what  */
/* you can count on. Bronze-gold: the main buttons and the marks (Round 29).    */
html .on-cream { --acc-rgb: var(--accent-deep-rgb); --gold: var(--accent-deep); --gold-2: var(--accent); --focus: var(--accent-deep); }
/* a demo is a navy card on the cream */
html .on-cream .demo, html .on-navy {
  --fg-rgb: 245 238 226;
  --chalk: #F5EEE2;
  --chalk-06: rgb(245 238 226 / .06);
  --chalk-10: rgb(245 238 226 / .10);
  --chalk-16: rgb(245 238 226 / .16);
  --chalk-24: rgb(245 238 226 / .24);
  --chalk-40: rgb(245 238 226 / .40);
  --chalk-60: rgb(245 238 226 / .60);
  --chalk-78: rgb(245 238 226 / .88);
  --fg-2: rgb(245 238 226 / .88);
  --line: rgb(245 238 226 / .16);
  --acc-rgb: var(--accent-rgb);
  --gold: var(--accent);
  --gold-2: var(--accent-hi);
  --tan-10: rgb(var(--accent-rgb) / .10);
  --tan-16: rgb(var(--accent-rgb) / .16);
  --tan-40: rgb(var(--accent-rgb) / .40);
  --tan-60: rgb(var(--accent-rgb) / .60);
  --focus: var(--accent);
  background-color: #0E1A38;
  background-image: linear-gradient(180deg, #16284F, #0E1A38 52%);
  border-color: rgb(14 26 56 / .9);
  box-shadow: 0 34px 60px -34px rgb(14 26 56 / .55);
  color: #F5EEE2;
}
html .on-cream .demo .btn-line:hover { color: #F5EEE2; border-color: #F5EEE2; }
html.bp .on-cream .demo { background: none; box-shadow: none; border-color: var(--chalk-60); }
.showcase.on-cream, .showcase-home.on-cream { padding-top: var(--section-pad); }
.showcase.on-cream .more-row { border-color: rgb(14 26 56 / .14); }

/* the contact band: navy with a cream card since Round 29 (see there) */
html .contact.on-cream .hero-guides { display: none; }
html.bp .contact.on-cream { background-image: none; }

/* ---- 4. The opening on a wide screen: words on the left, dial on the right -- */
.saga-wide-23, .saga { --core: min(82vw, 38svh, 440px); }
@media (min-width: 900px) {
  .saga { --core: min(62vh, 38vw, 600px); --dial-gap: clamp(28px, 4vw, 72px); }
  .saga-on .core { left: auto; right: calc((100% - min(100% - 2 * var(--gutter), var(--max))) / 2); margin: calc(var(--core) / -2) 0 0 0; }
  /* hero */
  .saga-on .saga .hero { text-align: left; padding-block: clamp(40px, 6vh, 72px) clamp(88px, 13vh, 124px); }
  .saga-on .saga .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) var(--core); column-gap: var(--dial-gap); align-items: center; }
  .saga-on .saga .hero-copy { grid-column: 1; max-width: none; margin: 0; }
  .saga-on .saga .hero-eyebrow { justify-content: flex-start; }
  .saga-on .saga .hero-title { font-size: clamp(2.875rem, 0.9rem + 4.1vw, 4.75rem); line-height: 1.02; text-wrap: balance; }
  .saga-on .saga .hero-text { margin-inline: 0; }
  .saga-on .saga .hero-text .line { display: block; }
  .saga-on .saga .hero-actions { justify-content: flex-start; }
  /* chapters */
  .saga-on .beat-inner { grid-template-columns: minmax(0, 1fr) var(--core); column-gap: var(--dial-gap); align-content: center; row-gap: 0; }
  .saga-on .beat-text { grid-column: 1; justify-self: start; max-width: 34rem; }
  .saga-on .beat-notes { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
  .saga-on .beat-notes li::before { width: 22px; }
  .saga-on .beat:not(.hero):not(.beat-last) { min-height: min(78vh, 820px); }
  .saga-on .beat.beat-last { min-height: min(84vh, 860px); }
}
/* chapter words: larger, and cream at full strength */
.beat-title { font-size: clamp(2.75rem, 1.5rem + 3.2vw, 4.75rem); line-height: 1; color: var(--chalk); }
.beat-lead { margin-top: 20px; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.5; color: var(--chalk); }
.beat-num { color: var(--chalk-78); }
.beat-notes { color: var(--chalk); font-size: 0.8125rem; }
.beat-text .text-link { margin-top: 26px; font-size: 1.0625rem; color: var(--chalk); }
.hero-text { color: var(--chalk); }

/* the dial: one fewer recess wall; no part of it animates by itself */
.dial-step { --a: 86.9%; --b: 88.5%; }

/* ---- 5. Velocity Setups: one block, on navy --------------------------------- */
.work .case { align-items: center; row-gap: 40px; }
.work .case-text { grid-column: 1 / span 5; grid-row: 1; }
.work .case-shots { grid-column: 7 / span 6; grid-row: 1; padding: 0 7% 8% 0; }
.work .case-shots::before { content: ""; position: absolute; z-index: -1; inset: -16% -12% -10% -14%; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .12), transparent 72%); pointer-events: none; }
.work .case-name { margin-top: 12px; font-size: clamp(2.5rem, 1.4rem + 3vw, 4.25rem); line-height: 1; }
.work .case-desc { margin-top: 18px; font-size: 1.1875rem; line-height: 1.55; color: var(--chalk); }
.work .case-points { margin: 24px 0 30px; }
.work .case-points li { position: relative; padding: 12px 0 12px 26px; font-size: 1rem; color: var(--fg-2); }
.work .case-points li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 12px; height: 1px; background: var(--gold); }
.work .case-desk { background-color: #0A1228; border-color: rgb(var(--fg-rgb) / .2); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.work .case-phone { border-color: #0A1228; outline-color: rgb(var(--fg-rgb) / .3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
@media (max-width: 899px) {
  .work .case-text, .work .case-shots { grid-column: 1 / -1; grid-row: auto; }
  .work .case-shots { max-width: 640px; }
}

/* ---- 6. Phones: the opening ------------------------------------------------- */
@media (max-width: 899px) {
  .saga-narrow .saga .hero-title { font-size: clamp(2.5rem, 10.4vw, 3.5rem); }
  .saga .hero-actions .btn { justify-content: center; gap: 12px; }
}

/* ---- 7. Less empty space inside the Services cards -------------------------- */
/* The cards no longer stack over one another: stacked, each one hid the words of the one before. */
.svc.svc { position: static; min-height: 0; will-change: auto; }
@media (min-width: 900px) {
  .svc { padding-block: clamp(36px, 4.6vw, 60px); }
  .svc-art .iso { width: 112%; max-width: none; }
}

/* ========================================================================== */
/* Round 24: light and depth (.lit-24 marks this layer).                       */
/* The site was line art on a flat colour. This layer gives it light: a warm   */
/* glow where the dial sits, a blue bloom opposite, and                       */
/* a great set of rings behind the dial. Nothing here moves, so it costs       */
/* nothing while scrolling.                                                    */
/* ========================================================================== */

/* ---- 1. The ground ---------------------------------------------------------- */
.lit-24, body::before {
  /* Three lights and a base tone, no more. A grain texture tiled over this
     window-sized layer, and a fourth faint glow, each froze Chrome when the
     layer was made very tall (a full-page phone screenshot). */
  background: #0E1A38;   /* the lights: Round 29, "The ground" */
}
/* (the cream sections and the contact band are lit in Round 29) */

/* ---- 2. The dial: lit from inside, a glow around it, great rings behind ------ */
.saga-on .core::before {
  inset: -62%;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .12), rgb(var(--accent-rgb) / .05) 44%, rgb(20 36 77 / .28) 64%, transparent 78%);
}
.saga-on .core::after {
  content: "";
  position: absolute;
  inset: -78%;
  background: url("assets/dial-ground.svg") center / contain no-repeat;
  opacity: .9;
  pointer-events: none;
}
.bp .core::after { display: none; }
.dial-face {
  background-color: #0B1636;
  background-image:
    radial-gradient(circle closest-side, transparent 79.4%, rgb(var(--acc-rgb) / .5) 79.9%, transparent 80.5%),
    radial-gradient(circle closest-side at 54% 56%, transparent 62%, rgba(0, 0, 0, .58) 92%),
    radial-gradient(circle at 50% 44%, rgba(46, 74, 140, .62), rgba(27, 46, 94, .34) 38%, transparent 64%),
    radial-gradient(circle at 34% 28%, rgba(96, 118, 170, .26), transparent 46%),
    repeating-radial-gradient(circle closest-side, rgb(var(--fg-rgb) / .05) 0 1px, transparent 1px 2.4%);
}
.dial-glass {
  background-image: linear-gradient(128deg, rgba(255, 255, 255, .2) 3%, rgba(255, 255, 255, .05) 28%, transparent 44%, transparent 72%, rgba(255, 240, 208, .09) 100%);
}
.dial-shadow { background: radial-gradient(closest-side, rgba(0, 0, 0, .78) 50%, rgba(0, 0, 0, .4) 72%, transparent 100%); }

@media (min-width: 900px) {
  .saga { --core: min(66vh, 42vw, 620px); --dial-gap: clamp(20px, 3vw, 64px); }
  /* chapters: closer together, each with its number drawn large behind it */
  .saga-on .beat:not(.hero):not(.beat-last) { min-height: min(66vh, 720px); }
  .saga-on .beat.beat-last { min-height: min(72vh, 760px); }
  .saga-on .saga-beats { counter-reset: beat; }
  .saga-on .beat:not(.hero):not(.beat-last) { counter-increment: beat; }
  .saga-on .beat:not(.hero) .beat-inner { position: relative; }
  .saga-on .beat:not(.hero):not(.beat-last) .beat-text::before {
    content: "0" counter(beat);
    position: absolute;
    z-index: -1;
    left: -0.05em;
    top: 50%;
    transform: translateY(-62%);
    font-family: var(--font-display);
    font-size: clamp(15rem, 6rem + 22vw, 25rem);
    font-weight: 300;
    line-height: .8;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgb(var(--acc-rgb) / .3);
    pointer-events: none;
  }
  .bp.saga-on .beat .beat-text::before { display: none; }
  .saga-on .beat-notes { gap: 10px; margin-top: 34px; }
  .saga-on .beat-notes li { padding: 11px 16px 11px 14px; border: 1px solid rgb(var(--fg-rgb) / .16); border-radius: 4px; background: linear-gradient(180deg, rgb(var(--fg-rgb) / .07), rgb(var(--fg-rgb) / .025)); box-shadow: inset 0 1px 0 rgb(var(--fg-rgb) / .08); }
  .saga-on .beat-notes li::before { width: 6px; height: 6px; border-radius: 50%; }
}

/* ---- 3. What you can count on: four cards, numbered in the serif ------------ */
.on-cream .commit-list li { padding: 24px 22px 26px; border: 1px solid rgb(14 26 56 / .1); border-radius: 8px; background: linear-gradient(180deg, #FFFBF4, #F7F0E3); box-shadow: 0 26px 44px -32px rgb(14 26 56 / .4), inset 0 1px 0 #fff; }
.on-cream .commit-n { margin-bottom: 14px; font-family: var(--font-display); font-size: 3.25rem; font-style: italic; font-weight: 400; line-height: .9; letter-spacing: -0.02em; }
@media (hover: hover) and (pointer: fine) {
  .on-cream .commit-list li { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
  .on-cream .commit-list li:hover { transform: translateY(-3px); border-color: rgb(var(--accent-deep-rgb) / .5); border-top-color: rgb(var(--accent-deep-rgb) / .5); box-shadow: 0 34px 50px -30px rgb(14 26 56 / .5), inset 0 1px 0 #fff; }
}
/* the great rings dissolve before they reach the words */
.saga-on .core::after {
  -webkit-mask-image: radial-gradient(closest-side, #000 44%, rgb(0 0 0 / .35) 68%, transparent 90%);
  mask-image: radial-gradient(closest-side, #000 44%, rgb(0 0 0 / .35) 68%, transparent 90%);
}
@media (min-width: 900px) {
  .saga-on .beat:not(.hero):not(.beat-last) .beat-text::before { -webkit-text-stroke-color: rgb(var(--acc-rgb) / .42); }
}
@media (min-width: 900px) {
  .saga-on .beat:not(.hero) .beat-text { position: relative; }
  .saga-on .beat:not(.hero):not(.beat-last) .beat-text::before { left: auto; right: -0.04em; top: 46%; font-size: clamp(13rem, 5rem + 19vw, 21rem); -webkit-text-stroke-color: rgb(var(--acc-rgb) / .3); }
}
/* inner pages: the great dial sits a little lower, clear of the intro line */
.page-hero::before { transform: translateY(-38%); }

/* ========================================================================== */
/* Round 25: the hold (.hold-25 marks this layer).                             */
/* On a wide screen the opening is a set of stops: the hero, each chapter, and */
/* the start of the demos. A scroll comes to rest on the next stop and stays   */
/* there until you scroll again; a hard, fast scroll still carries through.    */
/* main.js sets .saga-hold only while the opening is on screen, so the rest of */
/* the page scrolls freely. Phones are unchanged.                              */
/* ========================================================================== */
@media (min-width: 900px) {
  /* With a mouse or trackpad, main.js does the holding (initSaga, "The hold"):
     the browser's own snapping sends a single wheel notch back where it
     came from. On a touch screen the browser's snapping is the right tool. */
  .saga-on .saga .beat, .saga-on .showcase-home { scroll-snap-align: start; }
  @media (hover: none) and (pointer: coarse) { html.saga-hold:not(.is-gliding) { scroll-snap-type: y mandatory; } }
  /* one chapter to a screen */
  .saga-on .beat:not(.hero):not(.beat-last), .saga-on .beat.beat-last { min-height: min(calc(100vh - var(--nav-h)), 1100px); min-height: min(calc(100svh - var(--nav-h)), 1100px); }
}
/* the great rings stop short of the strip at the foot of the hero */
.saga-on .core::after {
  -webkit-mask-image: radial-gradient(closest-side, #000 42%, rgb(0 0 0 / .32) 62%, transparent 80%);
  mask-image: radial-gradient(closest-side, #000 42%, rgb(0 0 0 / .32) 62%, transparent 80%);
}

/* The status sits under the headline (owner, 16 Nov 2026) */
.saga .hero-title + .hero-eyebrow { margin: clamp(18px, 2.8vh, 28px) 0 0; }
.saga .hero-eyebrow + .hero-text { margin-top: clamp(16px, 2.4vh, 24px); }

/* ========================================================================== */
/* Round 26: tabs (.tabs-26 marks this layer).                                 */
/* A row of short labels and one screen under it that shows the chosen one.    */
/* Used in the opening chapters on Home and on the Services cards (main.js,    */
/* initTabs). Without JavaScript the row is hidden and every screen is listed. */
/* ========================================================================== */
.tabs { margin-top: 26px; max-width: 34rem; }
.tab-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs:not(.tabs-on) .tab-row { display: none; }
.tab {
  -webkit-appearance: none;
  appearance: none;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgb(var(--fg-rgb) / .24);
  border-radius: 4px;
  background: rgb(var(--fg-rgb) / .05);
  color: var(--chalk);
  font: 500 0.8125rem/1.2 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--t-fast, 160ms) var(--ease), border-color var(--t-fast, 160ms) var(--ease), color var(--t-fast, 160ms) var(--ease), transform var(--t-fast, 160ms) var(--ease);
}
.tab[aria-selected="true"] { background: var(--chalk); border-color: var(--chalk); color: var(--tab-ink, #0E1A38); }
.on-cream .tab[aria-selected="true"] { --tab-ink: #F5EEE2; }
@media (hover: hover) and (pointer: fine) {
  .tab:not([aria-selected="true"]):hover { border-color: rgb(var(--fg-rgb) / .6); background: rgb(var(--fg-rgb) / .1); transform: translateY(-1px); }
}
/* the screen: every panel sits in the same cell, so it is as tall as the longest and never jumps */
.tab-screen {
  display: grid;
  margin-top: 10px;
  border: 1px solid rgb(var(--fg-rgb) / .18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(var(--fg-rgb) / .09), rgb(var(--fg-rgb) / .03));
  box-shadow: inset 0 1px 0 rgb(var(--fg-rgb) / .1), 0 26px 40px -30px rgb(0 0 0 / .55);
}
.tab-panel { padding: 18px 20px 20px; }
.tabs-on .tab-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 220ms var(--ease), visibility 0s linear 220ms; }
/* inherit, not visible: a chapter that has scrolled away is hidden, and its open tab must hide with it */
.tabs-on .tab-panel.is-on { opacity: 1; visibility: inherit; transition: opacity 220ms var(--ease), visibility 0s; }
.tabs:not(.tabs-on) .tab-panel + .tab-panel { border-top: 1px solid rgb(var(--fg-rgb) / .14); }
.tab-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: var(--chalk); }
.tab-panel p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; color: var(--chalk); }
.on-cream .tab-screen { background: linear-gradient(180deg, #FFFBF4, #F7F0E3); border-color: rgb(14 26 56 / .12); box-shadow: inset 0 1px 0 #fff, 0 22px 36px -30px rgb(14 26 56 / .45); }
.tab-go { margin-left: 4px; font-weight: 500; white-space: nowrap; color: var(--chalk); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tab-go::after { content: " \2193"; }
.bp .tab-screen { background: none; box-shadow: none; border-style: dashed; }
/* in the opening the tabs take the place of the old tiles */
@media (min-width: 900px) {
  .saga-on .beat .tabs { grid-column: 1; grid-row: 2; }
}
@media (max-width: 899px) {
  .saga .beat .tabs { margin-inline: 0; text-align: left; }
  .tab { padding-inline: 12px; letter-spacing: 0.08em; }
}
.svc .tabs { margin-top: 24px; }

/* Round 28: plain wording */
/* ========================================================================== */
/* Only what the new words need: the Services page gains a full-width         */
/* Marketing section and a price line on each card, and a longer label in    */
/* the dashboard demo keeps its figure in line. The tabs keep their look.     */
/* ========================================================================== */

/* Services: Marketing, a full-width cream section under the intro */
html section.mkt { padding-block: clamp(48px, 6vw, 88px); }
.mkt-inner { row-gap: 28px; align-items: start; }
.mkt-text { grid-column: 1 / span 5; }
.mkt .tabs { grid-column: 7 / span 6; margin-top: 0; max-width: none; }
.mkt .svc-count { margin-bottom: 18px; }
@media (max-width: 899px) {
  .mkt-text, .mkt .tabs { grid-column: 1 / -1; }
}
/* each service's price, and where to go next: on a card it sits under the
   drawing, in the room the drawing leaves, so no card grows taller */
.svc-price { margin-top: 22px; font-size: 1.0625rem; line-height: 1.5; font-weight: 500; }
.svc-price .text-link { white-space: nowrap; }
.svc > .svc-price { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 900px) {
  .svc > .svc-art { grid-row: 1; }
  .svc > .svc-price { grid-column: 8 / span 5; grid-row: 1; align-self: end; justify-self: center; max-width: 24em; text-align: center; }
}
/* the dashboard demo: a label that wraps on a phone keeps its figure in line with the others */
.fig { display: flex; flex-direction: column; }
.fig dd { margin-top: auto; padding-top: 6px; }
/* a page name of more than one word ("How it works"): the space between the
   words survives when the heading is cut into letters for its entrance */
.page-word .wi { white-space: pre; }
/* Home, the row after the demos: its sentence is longer now, so its three
   links stay together as one group and move under it as one when it wraps */
.more-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
/* Blueprint view: the chosen tab on a cream card or section keeps navy letters on its cream block */
html.bp .on-cream .tab[aria-selected="true"] { --tab-ink: #0E1A38; }

/* Round 29: look pass (finished in Round 30) */
/* ========================================================================== */
/* The owner, 16 and 17 Nov 2026: "a deep brass/gold color might be better   */
/* than coral as an accent", then "a blend between that and coral kinda like */
/* a bronzeish/gold color"; the site looked "plain", "empty", "boring", its  */
/* colours "random", "unorganized"; "the grid looks cheap", it "needs to be  */
/* replaced with something better", "something to clean the background +    */
/* take up the space across all of the site". This block sets the accent     */
/* once, gives every colour one job, fills the space with light, depth and   */
/* a few great faint rings (never a grid or a pattern), and adds a few       */
/* finishing touches.                                                         */
/*                                                                            */
/* THE COLOURS AND THEIR JOBS (nothing else on the site picks a colour)       */
/*   NAVY, about 60%. The ground of every page, the page headers, the         */
/*     contact band and the footer; the cards that sit on cream.              */
/*     #0A1430 deepest (the edges of the ground, the menu bar, the footer's   */
/*     fall), #0E1A38 the base, #14244D mid, #1B2E5E the lifted light of a    */
/*     band or the top of a card. Its lights are navies lifting to midnight,  */
/*     and one faint bronze-gold light at the upper right, where the dial     */
/*     sits. Never bright blue, coral, plum or pink.                          */
/*   CREAM, about 30%. Reading text on navy; the demos, "What you can count   */
/*     on", Services' marketing and Pricing's lighter bands; cards on navy.   */
/*     Lit warm: #FBF6EC at the top to #EFE4D2, a white light from the upper  */
/*     left and a faint bronze-gold one at the lower right.                   */
/*   BRONZE-GOLD, about 10%: the accent, defined once just below. Its jobs:   */
/*     1. the main button on a screen: bronze-gold with navy text (5.8 : 1),  */
/*        a two-tone fill and a slow sheen on hover, no glow;                 */
/*     2. the dial's metal (the dial's own rules, dial.css and                */
/*        assets/dial-ground.svg; main.js reads --accent and --accent-hi);    */
/*     3. the italic highlight of a headline ("already have.", "need.");      */
/*     4. fine hairlines and frames where they add finish: under the menu     */
/*        bar, under each page header, round the cream contact card, the      */
/*        demos' chapter rules, a card's edge on hover, a link's underline,   */
/*        the chosen tab's marker, one short arc on each set of rings;        */
/*     5. numerals and small marks at a size where they read: chapter and     */
/*        step numbers, the eyebrows' rules, the dial's labels, the "Demo"    */
/*        chips.                                                              */
/*   Small body text and labels are never bronze-gold: cream on navy, navy on */
/*   cream. Secondary buttons are navy or cream outlines.                     */
/*   --accent-hi is the light gold for marks on navy; --accent-deep the deep  */
/*   bronze for marks on cream (about 5 : 1), where --accent is too faint.    */
/* THE GROUND (sections 1 to 4): a lit navy behind every screen, rings that   */
/* echo the dial where a section has room, and cream lit warm. All of it is   */
/* painted once and never moves: gradients and two small ring drawings,       */
/* never a grid, a pattern, a tiled image, a mask or a blur.                  */
/* Earlier rules edited in place (no coral and no grid left in them): the     */
/* palette at the top of this file and Round 23's colour block point at       */
/* these properties; the dial's metal gradients; the isometric scenes; the    */
/* layers demo's block sides; the .on-cream, .on-navy and Blueprint accents;  */
/* Round 23 and Round 24's ground, dotted grids and coral band (removed, and  */
/* drawn here instead); the demos' own --accent was renamed --demo-rule so it */
/* cannot clash with this one.                                                */
/* ========================================================================== */
:root {
  /* the accent, defined once */
  --accent: #C68A52;            /* bronze-gold: between brass and the old coral (owner, 17 Nov) */
  --accent-hi: #EBC394;         /* light bronze-gold: the lit side; marks on navy */
  --accent-deep: #8E5A2E;       /* deep bronze: marks on cream (5 : 1 on cream) */
  --accent-rgb: 198 138 82;
  --accent-hi-rgb: 235 195 148;
  --accent-deep-rgb: 142 90 46;
  --accent-dark: #5E3A1C;       /* the shaded side of the metal (the dial's wall, the sides of bronze blocks) */
  --accent-shadow: #2A190B;     /* the deepest shade of the metal */
  --accent-glint: #FFE9D2;      /* the hottest highlight on polished metal */

  /* navy and cream */
  --navy-deep: #0A1430;
  --navy-mid: #14244D;
  --navy-lift: #1B2E5E;
  --cream-hi: #FBF6EC;
  --cream-lo: #EFE4D2;

  /* old names that drew light, now in the system */
  --glow-gold: rgb(var(--accent-rgb) / .10);
  --glow-blue: rgb(27 46 94 / .55);
  --glow-blue-soft: rgb(27 46 94 / .22);
}

/* ---- 1. The ground: one fixed layer, painted once ------------------------- */
/* It lights every screen the same way, whatever scrolls over it: a midnight  */
/* lift under the menu bar falling to the deepest navy at the edges (a gentle */
/* vignette that frames the window), a lifted navy rising from the lower      */
/* left, and a faint bronze-gold light at the upper right, where the dial     */
/* sits. Three gradients and no image: more froze Chrome on a full-page phone */
/* screenshot (see Round 24).                                                 */
body::before {
  background:
    radial-gradient(52vw 60vh at 84% 26%, rgb(var(--accent-rgb) / .075), transparent 70%),
    radial-gradient(95vw 85vh at 6% 104%, rgb(27 46 94 / .8), transparent 70%),
    radial-gradient(140vw 120vh at 50% 8%, #17294F, #11204A 30%, #0E1A38 58%, #0A1430);
}

/* ---- 2. The rings: the dial's language, carried across the site ----------- */
/* Where a section has room, one great set of faint rings (a far projection   */
/* of the dial: hairline rings, a ring of fine ticks, dashed arcs, a few      */
/* nodes and one short bronze-gold arc) sits with its centre at the edge of   */
/* the window, its detail near the edge and its outer rings fading towards    */
/* the words. One set per section at most: on navy assets/orbit-light.svg,    */
/* on cream assets/orbit-ink.svg (navy, fainter). Each is a background of its */
/* own section, so it scrolls with the page and is painted once. A section    */
/* chooses its set with --rings, --rings-size and --rings-at. The inner pages */
/* already open on the great dial behind their heading (.page-hero::before), */
/* and Home on the dial itself.                                               */
.commit { --rings: url("assets/orbit-ink.svg"); --rings-size: 900px; --rings-at: right -450px top 30px; }
.mkt { --rings: url("assets/orbit-ink.svg"); --rings-size: 820px; --rings-at: right -300px bottom -330px; }
.pr-faq { --rings: url("assets/orbit-ink.svg"); --rings-size: 860px; --rings-at: left -430px bottom -250px; }
.contact { --rings: url("assets/orbit-light.svg"); --rings-size: 1000px; --rings-at: right -500px top 40px; }
@media (max-width: 699px) {
  .commit, .mkt, .pr-faq { --rings-size: 640px; }
  .commit { --rings-at: right -380px top 10px; }
  .mkt { --rings-at: right -380px bottom -260px; }
  .pr-faq { --rings-at: right -380px top 10px; }
  .contact { --rings-size: 720px; --rings-at: right -470px top 150px; }
}

/* ---- 3. Cream sections: lit warm ------------------------------------------ */
html section.on-cream:not(.contact):not(.contact-page) {
  background-color: #F3EBDD;
  background-image: var(--rings, none), radial-gradient(1100px 640px at 0% 0%, rgb(255 255 255 / .62), transparent 70%), radial-gradient(900px 620px at 100% 100%, rgb(var(--accent-rgb) / .07), transparent 70%), linear-gradient(180deg, var(--cream-hi), var(--cream-lo));
  background-size: var(--rings-size, auto) var(--rings-size, auto), auto, auto, auto;
  background-position: var(--rings-at, 0 0), 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
}
/* two cream sections in a row: a fine rule between them */
html section.on-cream:not(.contact):not(.contact-page) + section.on-cream:not(.contact):not(.contact-page) { border-top: 1px solid rgb(var(--accent-deep-rgb) / .24); }

/* ---- 4. Navy bands and where they meet ------------------------------------ */
/* A navy band that lies on the ground has a light of its own: a lifted pool  */
/* on the left and a deeper one on the right, each gone before either edge of */
/* the band, so it never meets its neighbour in a line (Services' cards, How  */
/* it works, Pricing's navy bands, the space round the Contact card).         */
html main > section.section.band-ink:not(.on-cream):not(.page-hero), html main > section.band-paper:not(.on-cream), html main > section.contact-page.on-cream {
  background-color: transparent;
  background-image: radial-gradient(64% 36% at 0% 44%, rgb(27 46 94 / .5), transparent), radial-gradient(56% 30% at 100% 66%, rgb(10 20 48 / .55), transparent);
  background-size: auto;
  background-position: 0 0;
  background-repeat: no-repeat;
}
/* the page headers: a bronze-gold rule, brightest in the middle, closes the band */
html .page-hero {
  background-image: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .34) 28%, rgb(var(--accent-hi-rgb) / .42) 50%, rgb(var(--accent-rgb) / .34) 72%, transparent);
  background-size: 100% 1px;
  background-position: 50% 100%;
  background-repeat: no-repeat;
}
.page-hero::before, html .page-hero::before { background-image: url("assets/dial-ground.svg?r=30"); }
.saga-on .core::after { background-image: url("assets/dial-ground.svg?r=30"); }

/* the contact band: navy, lifted at the top, a set of rings at the upper     */
/* right, a cream card framed in bronze-gold; the Contact page's card has the */
/* same colours on the page's own ground                                      */
html .contact.on-cream, html .contact-page.on-cream {
  --fg-rgb: 245 238 226;
  --chalk: #F5EEE2;
  --chalk-06: rgb(245 238 226 / .06);
  --chalk-10: rgb(245 238 226 / .10);
  --chalk-16: rgb(245 238 226 / .16);
  --chalk-24: rgb(245 238 226 / .24);
  --chalk-40: rgb(245 238 226 / .40);
  --chalk-60: rgb(245 238 226 / .60);
  --chalk-78: rgb(245 238 226 / .88);
  --fg-2: rgb(245 238 226 / .88);
  --line: rgb(245 238 226 / .16);
  --acc-rgb: var(--accent-rgb);
  --gold: var(--accent);
  --gold-2: var(--accent-hi);
  --tan-10: rgb(var(--accent-rgb) / .10);
  --tan-16: rgb(var(--accent-rgb) / .16);
  --tan-40: rgb(var(--accent-rgb) / .40);
  --tan-60: rgb(var(--accent-rgb) / .60);
  --focus: var(--accent-hi);
  color: #F5EEE2;
}
html .contact.on-cream {
  background-color: #0E1A38;
  background-image: var(--rings, none), radial-gradient(900px 560px at 90% 0%, rgb(var(--accent-rgb) / .07), transparent 70%), linear-gradient(180deg, #17295A, #10204A 38%, #0E1A38 86%);
  background-size: var(--rings-size, auto) var(--rings-size, auto), auto, auto;
  background-position: var(--rings-at, 0 0), 0 0, 0 0;
  background-repeat: no-repeat;
  border-top: 1px solid rgb(var(--accent-rgb) / .3);
}
html .contact.on-cream .contact-main .hl { color: var(--accent-hi); }
html :is(.contact, .contact-page).on-cream .contact-card {
  --fg-rgb: 14 26 56;
  --chalk: #0E1A38;
  --chalk-06: rgb(14 26 56 / .06);
  --chalk-10: rgb(14 26 56 / .10);
  --chalk-16: rgb(14 26 56 / .16);
  --chalk-24: rgb(14 26 56 / .26);
  --chalk-40: rgb(14 26 56 / .42);
  --chalk-60: rgb(14 26 56 / .62);
  --chalk-78: rgb(14 26 56 / .80);
  --fg-2: rgb(14 26 56 / .78);
  --line: rgb(14 26 56 / .14);
  --acc-rgb: var(--accent-deep-rgb);
  --gold: var(--accent-deep);
  --gold-2: var(--accent);
  --focus: var(--accent-deep);
  color: #0E1A38;
  background-color: #F8F1E5;
  background-image: linear-gradient(180deg, #FFFCF6, #F3EADB);
  border: 1px solid rgb(var(--accent-rgb) / .5);
  box-shadow: inset 0 1px 0 #fff, 0 50px 90px -46px rgb(0 0 0 / .8);
}
html :is(.contact, .contact-page).on-cream .plan-pick { border-color: rgb(var(--accent-rgb) / .5); background: rgb(245 238 226 / .05); color: #F5EEE2; }
html :is(.contact, .contact-page).on-cream .plan-pick b { color: #F5EEE2; box-shadow: inset 0 -1px 0 var(--accent); }
/* in the card, one bronze-gold button: Request a call. Copy email is a navy outline. */
html :is(.contact, .contact-page).on-cream .contact-card .btn-primary.copy-btn { background-color: transparent; background-image: none; border-color: rgb(14 26 56 / .5); color: #0E1A38; box-shadow: none; }
html :is(.contact, .contact-page).on-cream .contact-card .btn-primary.copy-btn:hover { background-color: #0E1A38; background-image: none; border-color: #0E1A38; color: #F5EEE2; }
html:not(.bp) .contact-card .btn-primary.copy-btn::before { display: none; }
.call-when { color: var(--chalk); font-weight: 500; }

/* the footer: the page falls deeper to its end */
html .footer {
  background-color: #0A1430;
  background-image: linear-gradient(180deg, #0D1936, #0A1430 46%, #060C1F);
  border-top: 1px solid rgb(var(--accent-rgb) / .24);
}
.footer-h { display: flex; align-items: center; gap: 10px; color: rgb(245 238 226 / .88); }
.footer-h::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--accent); }
.footer-slogan { color: rgb(245 238 226 / .84); }
html .footer .bp-hint { color: rgb(245 238 226 / .8) !important; }   /* small words on navy stay bright (owner: no dim text on navy) */

/* the page that cannot be found: the rings, whole, behind the message */
html .page-404 main.hero.band-blue {
  background-image: url("assets/orbit-light.svg");
  background-size: min(1000px, 160vw) auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

/* the fixed page grid (.page-guides) is drawn only in Blueprint view, its   */
/* home; elsewhere it was a near-invisible grid on a layer of its own        */
html:not(.bp) .page-guides { display: none; }
.motion-toggle, .lite-toggle, .mode-go { color: var(--chalk); text-decoration-color: var(--accent); text-decoration-thickness: 1px; }

/* ---- 5. The menu bar: a deliberate edge -------------------------------------- */
/* A deep navy bar that darkens to its top, a fine bronze-gold rule along its foot */
/* (brightest in the middle) and a soft shadow on the page below. No blur.   */
.nav, .lite .nav, .nav.is-scrolled {
  background-color: #0B1532;
  background-image: linear-gradient(180deg, #0A1430, #0F1C3F);
  border-bottom: 1px solid rgb(var(--accent-rgb) / .2);
  box-shadow: 0 1px 0 rgb(0 0 0 / .3), 0 16px 30px -22px rgb(0 0 0 / .8);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgb(var(--accent-rgb) / .5) 30%, rgb(var(--accent-hi-rgb) / .7) 50%, rgb(var(--accent-rgb) / .5) 70%, transparent 96%);
  pointer-events: none;
}
.nav-links a[aria-current="page"] { color: var(--chalk); }
@media (min-width: 900px) {
  /* (on a phone this ::before is the menu's numeral, so it keeps its own look) */
  .nav-links a[aria-current="page"]::before { height: 1px; background: var(--accent-hi); }
}
.nav-links a::before, .footer-links a::before { background: var(--accent); }
@media (min-width: 900px) {
  /* the menu bar's button: a bronze-gold hairline frame; it fills on hover */
  .nav .nav-cta { background-color: transparent; background-image: none; border-color: rgb(var(--accent-rgb) / .8); color: var(--chalk); box-shadow: none; }
  .nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background-color: var(--accent); background-image: linear-gradient(180deg, var(--accent-hi) -60%, var(--accent) 64%); border-color: var(--accent); color: var(--ink); }
  html:not(.bp) .nav .nav-cta::before { display: none; }
}

/* ---- 6. Buttons --------------------------------------------------------------- */
/* the main button: two tones of bronze-gold, a bevel of light, navy text, no glow */
.btn-primary, html .on-cream .btn-primary {
  color: var(--ink);
  background-color: var(--accent);
  background-image: linear-gradient(180deg, var(--accent-hi) -60%, var(--accent) 64%);
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 rgb(255 247 226 / .55), inset 0 -1px 0 rgb(var(--accent-deep-rgb) / .45), 0 10px 22px -14px rgb(0 0 0 / .6);
}
/* on cream its shadow is a soft navy, not black */
html section.on-cream:not(.contact):not(.contact-page) .btn-primary, html :is(.contact, .contact-page).on-cream .contact-card .btn-primary { box-shadow: inset 0 1px 0 rgb(255 247 226 / .55), inset 0 -1px 0 rgb(var(--accent-deep-rgb) / .45), 0 10px 20px -14px rgb(14 26 56 / .5); }
.btn-primary:hover, html .on-cream .btn-primary:hover {
  color: var(--ink);
  background-color: var(--accent);
  background-image: linear-gradient(180deg, var(--accent-hi) -20%, var(--accent) 82%);
  border-color: var(--accent);
}
/* ...and a slow sheen of light that crosses it on hover */
html:not(.bp) .btn-primary { overflow: hidden; isolation: isolate; }
html:not(.bp) .btn-primary::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0; bottom: auto; left: 0; right: auto;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 18%, rgb(255 250 232 / .6) 50%, transparent 82%);
  transform: translateX(-110%);
  transition: none;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  html:not(.calm):not(.bp) .btn-primary:hover::before { transform: translateX(190%); transition: transform 1300ms cubic-bezier(.3, .1, .2, 1); }
}
/* calm mode: no travelling sheen; the button simply brightens */
html.calm:not(.bp) .btn-primary::before { width: 100%; transform: none; opacity: 0; background: linear-gradient(180deg, rgb(255 250 232 / .3), rgb(255 250 232 / .06)); transition: opacity 300ms var(--ease); }
html.calm:not(.bp) .btn-primary:hover::before { opacity: 1; }
/* a disabled-looking main button never shines */
html .btn-primary[aria-disabled="true"]::before { display: none; }

/* secondary buttons: cream outlines on navy, navy outlines on cream */
.btn-line { background-color: transparent; background-image: none; border-color: rgb(var(--fg-rgb) / .42); color: var(--chalk); box-shadow: none; }
.btn-line:hover { background-color: rgb(var(--fg-rgb) / .08); border-color: var(--chalk); color: var(--chalk); }

/* ---- 7. Links: an underline that draws in ------------------------------------- */
/* resting: a faint bronze-gold hairline; under a fine pointer, or on a     */
/* keyboard's focus, a full line draws across (at once in calm mode)        */
.text-link {
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(rgb(var(--acc-rgb) / .42), rgb(var(--acc-rgb) / .42));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 520ms var(--ease);
}
.text-link:focus-visible { background-size: 100% 1px, 100% 1px; }
.chip-link { position: relative; color: var(--chalk); border-bottom-color: rgb(var(--acc-rgb) / .45); }
.chip-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease); }
.chip-link:hover { color: var(--chalk); border-color: rgb(var(--acc-rgb) / .45); }
.chip-link:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { background-size: 100% 1px, 100% 1px; }
  .chip-link:hover::after { transform: scaleX(1); }
}
/* the last chapter's "Next" is a word, not a numeral: cream, like every label */
.beat-last .beat-num b { color: inherit; }
.page-index a:hover { color: var(--chalk); }
.page-line { color: var(--chalk); }

/* ---- 8. The italic highlight: gold, lit from above ------------------------- */
.hl { color: var(--accent-hi); }
.on-cream:not(.contact):not(.contact-page) .hl { color: var(--accent-deep); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html:not(.bp) .hl:not(.is-split .hl), html:not(.bp) .is-split .hl .wi {
    background-image: linear-gradient(180deg, var(--accent-hi) 16%, var(--accent) 94%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-inline: .1em;
    margin-inline: -.1em;
  }
  html:not(.bp) .on-cream:not(.contact):not(.contact-page) :is(.hl:not(.is-split .hl), .is-split .hl .wi) { background-image: linear-gradient(180deg, #9D6332 10%, var(--accent-deep) 90%); }
  .hl .w { padding-inline: .12em; margin-inline: -.12em; }
}

/* A soft halo around highlighted lettering, scaled to the headline. */
@media (forced-colors: none) {
  html:not(.bp) .hl {
    filter: drop-shadow(0 0 .035em rgb(var(--accent-hi-rgb) / .35))
            drop-shadow(0 0 .15em rgb(var(--accent-rgb) / .38));
  }
  html:not(.bp) .on-cream:not(.contact):not(.contact-page) .hl {
    filter: drop-shadow(0 0 .1em rgb(var(--accent-rgb) / .28));
  }
}

/* ---- 9. Eyebrows: a bronze-gold rule before the label ------------------------- */
.tier-kicker, .svc-count, .page-index-title { display: flex; align-items: center; gap: 12px; color: var(--fg-2); }
.tier-kicker::before, .svc-count::before, .page-index-title::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--gold); }
:is(.tier-kicker, .svc-count, .page-index-title) b { font-weight: 500; color: var(--gold); }

/* ---- 10. Cards ---------------------------------------------------------------- */
/* cream cards: a gentle light from the top */
.on-cream .commit-list li, .on-cream .tab-screen { background: linear-gradient(180deg, #FFFCF6, #F3EADB); }
html .svc.on-cream { background-color: #F5EEE2; background-image: linear-gradient(180deg, var(--cream-hi), var(--cream-lo)); }
/* ...and under a fine pointer they lift a few pixels and a bronze-gold edge */
/* lights: transform and opacity only, the shadow stays as it is            */
html .svc.svc, .on-cream .commit-list li { position: relative; top: auto; }   /* top: auto undoes the old sticky offsets of the Services cards */
.on-cream .commit-list li::after, html .svc::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgb(var(--accent-rgb) / .6);
  border-radius: inherit !important;
  box-shadow: inset 0 1px 0 rgb(var(--accent-hi-rgb) / .35);
  opacity: 0;
  transition: opacity 420ms var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .on-cream .commit-list li, html .svc.svc { transform: none; transition: translate 520ms var(--ease); }
  .on-cream .commit-list li:hover { transform: none; translate: 0 -4px; border-color: rgb(14 26 56 / .1); border-top-color: rgb(14 26 56 / .1); box-shadow: 0 26px 44px -32px rgb(14 26 56 / .4), inset 0 1px 0 #fff; }
  html .svc.svc:hover { translate: 0 -3px; }
  .on-cream .commit-list li:hover::after, html .svc:hover::before { opacity: 1; }
}

/* ---- 11. Tabs: the chosen one's marker slides (main.js, initTabs) ------------- */
.tab-track { position: relative; }
.tab-mark {
  position: absolute;
  left: 0; top: 0;
  width: 100px;
  height: 2px;
  background: var(--tb-acc, var(--accent));
  transform-origin: 0 0;
  opacity: 0;
  pointer-events: none;
}
.tab-mark.is-set { opacity: 1; transition: transform 480ms var(--ease), opacity 200ms var(--ease); }
.on-cream .tab-mark { background: var(--tb-acc, var(--accent-deep)); }
/* the sliding mark takes the place of each tab's own mark (tabs.css) */
.tabs .tab-track .tab::after { display: none; }
.calm .tab-mark.is-set { transition: opacity 200ms var(--ease); }
.bp .tab-mark { display: none; }

/* ---- 12. One gentle arrival per element as it scrolls in ---------------------- */
.reveal-on [data-reveal] { transform: translateY(18px); transition: opacity 820ms var(--ease), transform 940ms var(--ease); transition-delay: calc(var(--rv, 0) * 90ms); }
.reveal-on [data-reveal].is-in { transform: none; }
.reveal-on [data-reveal][data-split] { transform: none; }

/* ---- 13. The dial: gold ticks, labels and marks on brass ---------------------- */
.r-line { stroke: rgb(var(--accent-rgb) / .5); }
.r-line-in { stroke: rgb(var(--accent-rgb) / .24); }
.r-tick { stroke: rgb(var(--accent-hi-rgb) / .34); }
.r-tick-m { stroke: rgb(var(--accent-hi-rgb) / .62); }
.r-tick-l { stroke: var(--accent-hi); }
.r-label { fill: var(--accent-hi); fill-opacity: .92; }
.r-node { fill: #0E1A38; stroke: var(--accent-hi); }
.core-mark { border-top-color: var(--accent-hi); }
.hero-eyebrow .status { border-color: rgb(var(--accent-rgb) / .45); }
.hero-eyebrow .status b, .hero-eyebrow .status b::after { background-color: var(--accent-hi); border-color: var(--accent-hi); }
.hero-eyebrow .status b::after { background-color: transparent; }
.beat-num b, .hero-index b, .page-index b { color: var(--accent-hi); }
.tag, .sample { font-size: 0.78125rem; }

/* ---- 14. Reduced motion: nothing moves, but light and colour still answer ----- */
.calm .btn:hover, .calm .plan:hover, .calm .chip-link:hover, .calm .commit-list li:hover, .calm .svc:hover { translate: none; }
.calm .text-link, .calm .chip-link::after, .calm .nav-links a::before, .calm .footer-links a::before { transition: none; }

/* ---- 15. Blueprint view keeps its own drawing-office look --------------------- */
/* Every light, set of rings and lit card above drops away; each rule here    */
/* outweighs the one it undoes by the .bp class.                              */
html.bp main, html.bp .footer, html.bp .page-hero, html.bp section.on-cream:not(.contact):not(.contact-page), html.bp .contact.on-cream, html.bp .contact-page.on-cream { background-image: none; }
html.bp main > section.section.band-ink:not(.on-cream):not(.page-hero), html.bp main > section.band-paper:not(.on-cream), html.bp main > section.contact-page.on-cream, html.bp .page-404 main.hero.band-blue { background-image: none; }
html.bp .on-cream .commit-list li, html.bp .on-cream .tab-screen, html.bp .svc.on-cream { background-color: transparent; background-image: none; }
/* the main buttons are drawn as outlines, as before Round 29 */
html.bp .btn-primary, html.bp .on-cream .btn-primary, html.bp .svc.on-cream .btn-primary, html.bp section.on-cream:not(.contact):not(.contact-page) .btn-primary, html.bp :is(.contact, .contact-page).on-cream .contact-card .btn-primary, html.bp .nav .nav-cta:is(:hover, [aria-current="page"]) { background-color: transparent; background-image: none; border-color: var(--chalk); color: var(--chalk); box-shadow: none; }
html.bp .nav { background-color: var(--cobalt); background-image: none; box-shadow: none; }
html.bp .nav::before, html.bp .on-cream .commit-list li::after, html.bp .svc::before { display: none; }
html.bp :is(.contact, .contact-page).on-cream .contact-card {
  --fg-rgb: 245 238 226; --chalk: #F5EEE2; --chalk-06: rgb(245 238 226 / .06); --chalk-10: rgb(245 238 226 / .10); --chalk-16: rgb(245 238 226 / .16);
  --chalk-24: rgb(245 238 226 / .24); --chalk-40: rgb(245 238 226 / .40); --chalk-60: rgb(245 238 226 / .60); --chalk-78: rgb(245 238 226 / .78);
  --fg-2: rgb(245 238 226 / .78); --line: rgb(245 238 226 / .4); --acc-rgb: var(--accent-rgb); --gold: var(--accent); --focus: var(--accent);
  color: #F5EEE2; background: transparent; border-color: var(--chalk-60); box-shadow: none;
}
html.bp :is(.contact, .contact-page).on-cream .contact-card .btn-primary.copy-btn { border-color: var(--chalk); color: var(--chalk); }
html.bp .text-link { background-image: none; text-decoration: underline; }

/* ========================================================================== */
/* Round 30: integration                                                      */
/* The hero's foot strip held "01 Websites in 24-48 hours..." under a dial    */
/* that now shows the same four facts on its own callouts, so the strip keeps */
/* only the scroll cue, on the right.                                         */
/* ========================================================================== */
.hero-foot { justify-content: flex-end; }
/* The underlined text links: a taller tap area (24 px or more) with the same look. */
.text-link { display: inline-block; padding-top: 3px; margin-top: -3px; }


/* ========================================================================== */
/* Round 31: motion for everyone, turning rings, soft grid, inquiry form      */
/*                                                                            */
/* THE MOTION POLICY, by tier (html.calm is set in <head> when the device     */
/* asks for reduced motion and the visitor has not chosen full animations;    */
/* html.lite by main.js's initLite on a struggling device):                   */
/*   FULL (html.intro / html.enter): as before. Arrivals rise 18 px and fade; */
/*     the demo cards tip up from the floor (3D, scroll-linked); Pricing's    */
/*     "+" turns; the rings turn with the scroll, up to about 40 degrees.     */
/*   GENTLE (html.calm): things still arrive, but only by a fade and a short  */
/*     rise (20 px, 600 ms, eased, staggered 70 ms); the demo cards fade, rise */
/*     12 px and grow from .97, with no tilt or turn; the rings turn with the */
/*     scroll by at most 12 degrees. Nothing zooms, spins, slides sideways,   */
/*     drifts in layers or moves on its own; dropdowns and panels fade.       */
/*   LIGHTER (html.lite): the cheapest form of the full tier: arrivals fade   */
/*     and rise, the demo cards only rise, the rings stay still.              */
/* Everything here moves by transform and opacity, nothing runs off screen   */
/* or in a hidden tab, and nothing adds a canvas, blur, filter, mask,         */
/* backdrop-filter or fixed background.                                       */
/* Earlier rules edited for this round: none in place; the rules below        */
/* outweigh the ones they replace (the contact card's two columns, the        */
/* --rings backgrounds, which now turn on a layer of their own).              */
/* ========================================================================== */

/* ---- 1. The inquiry form (contact card, every page) ------------------------ */
/* A deep navy card in the spirit of the owner's reference: underlined fields, */
/* small spaced-capital labels, a bronze-gold hairline along its top, one     */
/* bronze-gold button. The dropdown opens as a lit cream panel.               */
html :is(.contact, .contact-page).on-cream .contact-card.inq {
  --fg-rgb: 245 238 226;
  --chalk: #F5EEE2;
  --chalk-06: rgb(245 238 226 / .06);
  --chalk-10: rgb(245 238 226 / .10);
  --chalk-16: rgb(245 238 226 / .16);
  --chalk-24: rgb(245 238 226 / .24);
  --chalk-40: rgb(245 238 226 / .40);
  --chalk-60: rgb(245 238 226 / .64);
  --chalk-78: rgb(245 238 226 / .84);
  --fg-2: rgb(245 238 226 / .84);
  --line: rgb(245 238 226 / .16);
  --acc-rgb: var(--accent-rgb);
  --gold: var(--accent);
  --gold-2: var(--accent-hi);
  --focus: var(--accent-hi);
  display: block;
  position: relative;
  max-width: 1040px;
  padding: clamp(26px, 4.4vw, 60px) clamp(20px, 4.8vw, 64px) clamp(22px, 3vw, 36px);
  color: #F5EEE2;
  background-color: #0F1D41;
  background-image:
    radial-gradient(90% 46% at 50% 0%, rgb(var(--accent-rgb) / .08), transparent 70%),
    radial-gradient(70% 60% at 0% 0%, rgb(27 46 94 / .75), transparent 72%),
    linear-gradient(180deg, #14264F, #0C1735 78%, #0A1430);
  border: 1px solid rgb(245 238 226 / .13);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 60px 110px -50px rgb(0 0 0 / .9);
}
.contact-page .contact-card.inq { margin-inline: auto; }
.contact .contact-card.inq { margin-inline: 0; }
/* the bronze-gold hairline along the top edge, brightest in the middle */
html:not(.bp) .contact-card.inq::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .7) 22%, var(--accent-hi) 50%, rgb(var(--accent-rgb) / .7) 78%, transparent);
  pointer-events: none;
}
.inq-form { display: block; min-width: 0; }
.inq-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-bottom: clamp(18px, 2.4vw, 28px); margin-bottom: clamp(8px, 1.4vw, 16px); border-bottom: 1px solid rgb(245 238 226 / .1); }
.inq-kicker { font-family: var(--font-display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: #F5EEE2; }
.inq-sub { font-size: 0.9375rem; line-height: 1.5; color: rgb(245 238 226 / .8); }

.inq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .inq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.inq-wide { grid-column: 1 / -1; }
.inq-field { position: relative; min-width: 0; padding-top: clamp(18px, 2vw, 24px); }
.inq-label { display: block; font-size: 0.8125rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(245 238 226 / .78); transition: color 260ms var(--ease); cursor: pointer; }
.inq-label small { font-size: inherit; font-weight: 400; letter-spacing: 0.1em; text-transform: none; color: rgb(245 238 226 / .64); }
.inq-field:focus-within .inq-label { color: var(--accent-hi); }
.inq-input {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 0 11px;
  border: 0;
  border-bottom: 1px solid rgb(245 238 226 / .3);
  border-radius: 0 !important;
  background: transparent;
  color: #F5EEE2;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* over 16 px: phones do not zoom the page */
  font-weight: 400;
  line-height: 1.45;
  outline: none;
  transition: border-color 260ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.inq-input::placeholder { color: rgb(245 238 226 / .46); opacity: 1; }
textarea.inq-input { min-height: 104px; resize: vertical; }
.inq-input:hover { border-bottom-color: rgb(245 238 226 / .5); }
/* focus: the line turns bronze-gold and thickens (the visible focus mark) */
.inq-input:focus, .inq-input:focus-visible { outline: none; border-bottom-color: var(--accent-hi); box-shadow: 0 1px 0 var(--accent-hi); }
.inq-input[aria-invalid="true"] { border-bottom-color: var(--accent-hi); box-shadow: 0 1px 0 var(--accent-hi); }
.inq-field:has([aria-invalid="true"]) .inq-label { color: var(--accent-hi); }
/* without JavaScript: the native list, drawn in the same style */
select.inq-native { padding-right: 32px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--accent-hi) 50%), linear-gradient(-45deg, transparent 50%, var(--accent-hi) 50%); background-size: 6px 6px, 6px 6px; background-position: right 9px center, right 3px center; background-repeat: no-repeat; }
select.inq-native option { color: #0E1A38; background: #FBF6EC; }

/* the dropdown (main.js, makeCombo) */
.inq-combo { position: relative; }
.inq-combo-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; user-select: none; -webkit-user-select: none; }
.inq-combo-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inq-combo-value.is-empty { color: rgb(245 238 226 / .5); }
.inq-chev { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--accent-hi); stroke-width: 1.5; transition: transform 320ms var(--ease); }
.inq-combo.is-open .inq-chev { transform: rotate(180deg); }
.calm .inq-chev { transition: none; }
.inq-combo.is-open .inq-combo-box { border-bottom-color: var(--accent-hi); }
.inq-list {
  position: absolute;
  z-index: 30;
  left: 0; right: 0;
  top: calc(100% + 8px);
  max-height: min(500px, 72vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgb(var(--accent-rgb) / .45);
  border-radius: 8px !important;
  background-color: #FAF4E9;
  background-image: radial-gradient(100% 50% at 0% 0%, rgb(255 255 255 / .9), transparent 70%), linear-gradient(180deg, #FFFCF6, #F3EADB);
  box-shadow: inset 0 1px 0 #fff, 0 34px 60px -24px rgb(0 0 0 / .75), 0 2px 6px rgb(0 0 0 / .2);
  color: #0E1A38;
  transform-origin: 50% 0;
}
.inq-list[hidden] { display: none; }
.inq-list:focus { outline: none; }
/* the highlight glides from option to option (no glide in the gentle tier) */
.inq-glide {
  position: absolute;
  left: 6px; right: 6px; top: 0;
  height: 56px;
  border-radius: 6px !important;
  background: linear-gradient(90deg, rgb(14 26 56 / .085), rgb(14 26 56 / .045));
  box-shadow: inset 2px 0 0 var(--accent-deep);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms var(--ease), opacity 160ms var(--ease);
}
.inq-glide.is-on { opacity: 1; }
.inq-glide.is-still, .calm .inq-glide { transition: opacity 160ms var(--ease); }
.inq-opt {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  column-gap: 12px;
  min-height: 56px;
  padding: 10px 14px 10px 18px;
  cursor: pointer;
}
.inq-opt + .inq-opt { border-top: 1px solid rgb(14 26 56 / .07); }
.inq-opt-name { grid-column: 1; font-size: 1rem; font-weight: 500; line-height: 1.3; color: #0E1A38; }
.inq-opt-sub { grid-column: 1; font-size: 0.875rem; line-height: 1.4; color: rgb(14 26 56 / .74); }
.inq-check { grid-column: 3; grid-row: 1 / span 2; width: 18px; height: 18px; fill: none; stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: square; opacity: 0; }
.inq-opt[aria-selected="true"] .inq-check { opacity: 1; }
.inq-opt[aria-selected="true"] .inq-opt-name { color: #0A1430; }
/* the task force's "+": pointer only; it opens a note under the option */
/* beside the option's name: the name, then the "+", then room */
.inq-opt.has-info { grid-template-columns: auto auto minmax(0, 1fr) 18px; }
.inq-opt.has-info .inq-opt-sub { grid-column: 1 / 4; }
.inq-opt.has-info .inq-check { grid-column: 4; }
.inq-info-btn {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  border: 1px solid rgb(var(--accent-deep-rgb) / .7);
  border-radius: 50% !important;
  background: linear-gradient(180deg, #FFFCF6, #F1E7D6);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.inq-info-btn::after { content: ""; position: absolute; inset: -11px; }   /* a 46 px target for a finger */
.inq-info-btn i { position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: var(--accent-deep); transition: transform 300ms var(--ease), opacity 200ms var(--ease); }
.inq-info-btn i + i { transform: rotate(90deg); }
.inq-opt.is-info .inq-info-btn { border-color: var(--accent-deep); background: #fff; }
/* open: the "+" becomes a "−" (the upright stroke turns flat; in the gentle tier it fades) */
.inq-opt.is-info .inq-info-btn i + i { transform: rotate(0deg); }
.calm .inq-info-btn i + i { transition: opacity 200ms var(--ease); }
.calm .inq-opt.is-info .inq-info-btn i + i { transform: rotate(90deg); opacity: 0; }
@media (hover: hover) and (pointer: fine) { .inq-info-btn:hover { border-color: var(--accent-deep); background: #fff; } }
.inq-opt-info { display: none; grid-column: 1 / -1; margin-top: 8px; padding: 10px 12px 2px 0; border-top: 1px solid rgb(var(--accent-deep-rgb) / .25); font-size: 0.875rem; line-height: 1.55; color: rgb(14 26 56 / .86); }
.inq-opt.is-info .inq-opt-info { display: block; }

/* the call: a switch that shows the day and time of day */
.inq-call { margin-top: clamp(22px, 2.6vw, 30px); }
html:not(.js) .inq-call { display: none; }
.inq-switch { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; cursor: pointer; font-size: 1rem; font-weight: 500; color: #F5EEE2; }
.inq-switch-input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.inq-switch-track { position: relative; flex: none; width: 42px; height: 24px; border: 1px solid rgb(245 238 226 / .45); border-radius: 999px !important; background: rgb(245 238 226 / .05); transition: background-color 260ms var(--ease), border-color 260ms var(--ease); }
.inq-switch-track i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50% !important; background: #F5EEE2; transition: transform 300ms var(--ease), background-color 260ms var(--ease); }
.inq-switch-input:checked + .inq-switch-track { background: var(--accent); border-color: var(--accent); }
.inq-switch-input:checked + .inq-switch-track i { transform: translateX(18px); background: #0E1A38; }
.calm .inq-switch-track i { transition: background-color 200ms var(--ease); }
.inq-switch-input:focus-visible + .inq-switch-track { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.inq-call-body { margin-top: 14px; padding: 18px 0 2px; border-top: 1px solid rgb(245 238 226 / .1); }
.inq-call-body[hidden] { display: none; }
.inq-call-body .call-intro { margin-bottom: 14px; font-size: 0.9375rem; line-height: 1.5; color: rgb(245 238 226 / .84); }
.inq-call-body .book-set + .book-set { margin-top: 14px; }
.inq-call-body .chips { max-width: 460px; }

/* the foot: the one bronze-gold button and the reassurance line */
.inq-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: clamp(24px, 3vw, 34px); }
.inq-send { min-width: 210px; min-height: 52px; padding-inline: 28px; letter-spacing: 0.02em; }
.inq-note { flex: 1 1 240px; font-size: 0.9375rem; line-height: 1.5; color: rgb(245 238 226 / .84); }
.inq-status { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5; color: #F5EEE2; }
.inq-status:empty { display: none; }
.inq-status .text-link { color: var(--accent-hi); }
.inq-nojs { display: none; margin-top: 12px; font-size: 0.9375rem; color: rgb(245 238 226 / .84); }
html:not(.js) .inq-nojs { display: block; }
html:not(.js) .inq-send { display: none; }
.inq .call-privacy { margin-top: 14px; color: rgb(245 238 226 / .64); }
.inq .call-done { margin-top: 0; border-color: rgb(var(--accent-rgb) / .7); background: rgb(245 238 226 / .03); }
.inq .call-done svg { background: var(--accent); }
.inq .call-done-title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 500; }

/* "Or email us at ..." under the form, small, with the copy button */
.inq-alt { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; margin-top: clamp(22px, 2.6vw, 30px); padding-top: clamp(18px, 2.2vw, 24px); border-top: 1px solid rgb(245 238 226 / .1); text-align: center; }
.inq-alt-text { font-size: 0.9375rem; line-height: 1.5; color: rgb(245 238 226 / .84); }
.inq-alt .email { display: inline; font-family: var(--font-body); font-size: inherit; line-height: inherit; letter-spacing: 0; color: #F5EEE2; text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / .7); text-underline-offset: 4px; user-select: text; -webkit-user-select: text; cursor: pointer; }
.inq-alt .email:hover { text-decoration-color: var(--accent-hi); }
/* the copy button: its tick sits outside the label, so the label stays centred */
.inq-alt .copy-btn { min-width: 0; min-height: 44px; padding: 0 30px; font-size: 0.9375rem; border-color: rgb(245 238 226 / .4); color: #F5EEE2; }
.inq-alt .copy-btn .copy-tick { position: absolute; right: 10px; top: 50%; margin-top: -8px; }
.inq-alt .copy-btn:hover { background-color: rgb(245 238 226 / .08); border-color: #F5EEE2; }

/* Blueprint view: the form drawn in lines like the rest */
html.bp .contact-card.inq { background: transparent; box-shadow: none; }
html.bp .inq-list { background: var(--cobalt); color: var(--chalk); border: 1px dashed var(--chalk-60); box-shadow: none; }
html.bp :is(.inq-opt-name, .inq-opt-sub, .inq-opt-info) { color: var(--chalk); }

/* ---- 2. The gentle tier: arrivals for calm mode ---------------------------- */
/* main.js (initReveal) now sets html.reveal-on in every tier. In calm mode an */
/* element fades and rises 20 px; nothing tips, grows from far, turns or       */
/* slides sideways. The demo panels use a short fade defined in demos.css.    */
.calm.reveal-on [data-reveal], .calm.reveal-on [data-reveal="flip"], .calm.reveal-on [data-reveal][data-split] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transform-origin: 50% 50%;
  transition: opacity 620ms var(--ease), transform 660ms var(--ease);
  transition-delay: calc(var(--rv, 0) * 70ms);
}
/* the end state keeps a (still) transform, so arriving never changes an element's
   containing block: no layout work as things arrive */
.calm.reveal-on [data-reveal].is-in, .calm.reveal-on [data-reveal="flip"].is-in, .calm.reveal-on [data-reveal][data-split].is-in { opacity: 1; transform: translateY(0); }
/* the Services cards arrive whole, in both tiers; their hover lift stays     */
html.reveal-on .svc.svc[data-reveal] { transition: opacity 820ms var(--ease) calc(var(--rv, 0) * 90ms), transform 940ms var(--ease) calc(var(--rv, 0) * 90ms), translate 520ms var(--ease); }
html.reveal-on .svc.svc[data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 18px, 0); }
html.calm.reveal-on .svc.svc[data-reveal] { transition: opacity 620ms var(--ease), transform 660ms var(--ease); }
html.calm.reveal-on .svc.svc[data-reveal]:not(.is-in) { transform: translate3d(0, 20px, 0); }
/* flourishes that grow or float stay full-motion only */
.calm.reveal-on .svc:not(.is-seen) :is(.glyph-soft i, .glyph-web i) { transform: none; }
.calm.reveal-on .svc:not(.is-seen) .glyph-care path { stroke-dashoffset: 0; }
html:is(.calm, .lite) .svc.is-seen .iso-float { animation: none; }

/* ---- 3. The rings turn as their section passes ---------------------------- */
/* Each set of rings is now an element of its own (it was a background), so   */
/* main.js (initRings) can turn it with a transform as its section scrolls by: */
/*   the inner pages' great dial (.hero-dial): its great ring (.hero-dial-a)   */
/*   turns forward and its small ring below (.hero-dial-b) back, each in the   */
/*   dial's own tilted plane (CSS projects the flat drawings, assets/          */
/*   dial-turn.svg and dial-turn-b.svg, made from dial-ground.svg);            */
/*   the faint sets in emptier sections (.sec-rings > i): forward on one,      */
/*   back on the next.                                                          */
/* Full motion: up to about 40 degrees over a section; calm: 12 at most;       */
/* lighter mode: still. Only rings near the window are updated, and only they  */
/* are promoted to a layer of their own (.is-near, set by an                   */
/* IntersectionObserver); Home's dial turns in initSaga.                       */
.page-hero::before, html .page-hero::before { display: none; }
.hero-dial {
  position: absolute;
  z-index: -1;
  right: max(-22vw, -300px);
  top: 50%;
  width: min(78vw, 900px);
  aspect-ratio: 1;
  transform: translateY(-38%);
  pointer-events: none;
  /* the dial's own glow, where the great ring sits */
  background: radial-gradient(34% 22% at 63% 47.6%, rgb(var(--accent-hi-rgb) / .13), rgb(var(--accent-hi-rgb) / .04) 50%, transparent 100%);
}
@media (max-width: 699px) { .hero-dial { right: -58vw; width: 130vw; opacity: .7; } }
.hero-dial i { position: absolute; display: block; transform-origin: 50% 50%; background-position: center; background-size: contain; background-repeat: no-repeat; }
.hero-dial-a { left: 12%; top: -3.4%; width: 102%; aspect-ratio: 1; background-image: url("assets/dial-turn.svg"); transform: rotate(-10deg) scale(1, .64); }
.hero-dial-b { left: 37%; top: 45%; width: 60%; aspect-ratio: 1; background-image: url("assets/dial-turn-b.svg"); transform: rotate(-10deg) scale(1, .64); }
.bp .hero-dial { opacity: .35; }

/* the faint sets: the old --rings backgrounds, moved onto turning elements */
.commit, .mkt, .pr-faq { --rings: none; isolation: isolate; overflow: hidden; overflow: clip; }
html .contact.on-cream { --rings: none; }
.sec-rings { position: absolute; z-index: -1; width: 1400px; height: 1400px; pointer-events: none; }
.sec-rings i { position: absolute; display: block; left: 50%; top: 50%; width: var(--rs, 900px); height: var(--rs, 900px); margin: calc(var(--rs, 900px) / -2) 0 0 calc(var(--rs, 900px) / -2); background: url("assets/orbit-ink.svg") center / contain no-repeat; }
.contact > .sec-rings i { background-image: url("assets/orbit-light.svg"); }
.commit > .sec-rings { --rs: 900px; right: -700px; top: -220px; }
.mkt > .sec-rings { --rs: 820px; right: -590px; bottom: -620px; }
.pr-faq > .sec-rings { --rs: 860px; left: -700px; bottom: -520px; }
.contact > .sec-rings { --rs: 1000px; right: -700px; top: -160px; }
@media (max-width: 699px) {
  .commit > .sec-rings { --rs: 640px; right: -760px; top: -370px; }
  .mkt > .sec-rings { --rs: 640px; right: -760px; bottom: -640px; }
  .pr-faq > .sec-rings { --rs: 640px; left: auto; right: -760px; top: -370px; bottom: auto; }
  .contact > .sec-rings { --rs: 720px; right: -810px; top: -190px; }
}
/* a ring near the window gets its own layer, so a turn is only a re-composite */
.hero-dial.is-near i, .sec-rings.is-near i { will-change: transform; }
.bp .sec-rings { display: none; }

/* ---- 4. (The soft graticule of round 31 lived here.) ----------------------- */
/* (Round 32: the graticule was taken out again. At 2x its hairlines fell   */
/* between device pixels wherever the drawing was placed or scaled, so they */
/* read soft and uneven; the owner: "i don't really like the grid thing     */
/* unless it looks high-quality". Soft light carries the background now.)   */
/* the contact card ends with no transform, so its open dropdown can lie over what follows */
html.calm.reveal-on .contact-card[data-reveal].is-in { transform: none; }

/* ========================================================================== */
/* Round 32: an entrance with Reduce Motion (the grain was removed later)     */
/* The owner: "again theres no entrance animation for devices w reduced       */
/* motion", and the space behind the words "lacks a bit of noise".            */
/* ENTRANCE (calm tier only; full motion keeps its own intro): on each page   */
/* load the menu bar, the hero's words and buttons, the dial and the inner    */
/* pages' titles arrive once, with a fade and a 12 px rise (the dial and the  */
/* rings fade only). Nothing slides sideways, spins or zooms. fill-mode is    */
/* 'backwards' so main.js's own inline styles take over when it ends.         */
/* ========================================================================== */
@keyframes calm-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes calm-fade { from { opacity: 0; } to { opacity: 1; } }
.calm .nav-inner > :not(.draft-box) { animation: calm-fade 600ms var(--ease) 60ms backwards; }
.calm .saga .hero-eyebrow { animation: calm-in 700ms var(--ease) 380ms backwards; }
.calm .saga .hero-title .draft-in { animation: calm-in 800ms var(--ease) 140ms backwards; }
.calm .saga .hero-text .draft-in { animation: calm-in 700ms var(--ease) 480ms backwards; }
.calm .saga .hero-actions > .btn:nth-of-type(1) { animation: calm-in 700ms var(--ease) 600ms backwards; }
.calm .saga .hero-actions > .btn:nth-of-type(2) { animation: calm-in 700ms var(--ease) 680ms backwards; }
.calm .saga .hero-promise { animation: calm-in 700ms var(--ease) 760ms backwards; }
.calm .saga .hero-foot { animation: calm-fade 900ms var(--ease) 900ms backwards; }
.calm .saga-on .core { animation: calm-fade 1100ms var(--ease) 250ms backwards; }
.calm .saga-on .hud-calls { animation: calm-fade 800ms var(--ease) 1000ms backwards; }
.calm .page-hero .page-word { animation: calm-in 800ms var(--ease) 120ms backwards; }
.calm .page-hero::before { animation: calm-fade 1200ms var(--ease) 200ms backwards; }
.lite.calm .saga-on .core, .lite.calm .page-hero::before { animation-duration: 500ms; }


/* The task force's "+" shows only while its option is pointed at, highlighted
   or open (the owner: "only shows up when you hover over it/click on it and
   then disappears"). Touch has no hover, so it stays there on touch screens. */
@media (hover: hover) and (pointer: fine) {
  .inq-info-btn { opacity: 0; transform: scale(.8); transition: opacity 200ms var(--ease), transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease); }
  .inq-opt:hover .inq-info-btn, .inq-opt.is-active .inq-info-btn, .inq-opt.is-info .inq-info-btn { opacity: 1; transform: none; }
}
.calm .inq-info-btn { transform: none; }

/* Tab cards as liquid glass (the owner: "like liquid glass blending in the
   background"): see-through, softly lit, a bright upper edge like glass.
   The blur behind is used only where it is cheap enough: a fine pointer, not
   lighter mode, and a browser that supports it; elsewhere the same card
   without the blur, a little more opaque. */
.tabs {
  background-color: rgb(20 36 77 / .42);
  background-image:
    linear-gradient(160deg, rgb(255 255 255 / .11), rgb(255 255 255 / .02) 38%, rgb(255 255 255 / 0) 60%, rgb(255 255 255 / .04)),
    radial-gradient(90% 60% at 12% 0%, rgb(var(--accent-hi-rgb) / .08), transparent 70%);
  border-color: rgb(245 238 226 / .2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -1px 0 rgb(255 255 255 / .05), inset 1px 0 0 rgb(255 255 255 / .06), 0 30px 60px -36px rgb(0 0 0 / .7);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (hover: hover) and (pointer: fine) {
    html:not(.lite) .tabs { -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); background-color: rgb(20 36 77 / .3); }
  }
}
.tabs .tab-screen, .tabs .tab-row { background: none; }
.on-cream .tabs {
  background-color: rgb(255 252 246 / .5);
  border-color: rgb(14 26 56 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 26px 50px -34px rgb(14 26 56 / .45);
}
.bp .tabs { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ========================================================================== */
/* Round 32, part 2: motion for everyone, rings alive, fuller space, softer   */
/* buttons, one section a screen, the Contact page's form first               */
/* ========================================================================== */

/* ---- 1. The Motion switch in the menu bar (main.js makes it) ---------------- */
/* Full motion is everyone's default now (the owner: "most people have reduced */
/* motion on too"); this switch, and the line in the footer, turn it down for  */
/* the whole site. A button with aria-pressed: pressed = animations on.        */
.motion-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 6px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chalk-78);
  cursor: pointer;
  transition: color 280ms var(--ease);
}
.motion-switch:hover { color: var(--chalk); }
.motion-switch:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 5px; border-radius: 4px; }
.motion-switch-track { position: relative; flex: none; width: 30px; height: 16px; border: 1px solid rgb(245 238 226 / .4); border-radius: 4px !important; transition: border-color 280ms var(--ease), background-color 280ms var(--ease); }
.motion-switch-track i { position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 2px !important; background: rgb(245 238 226 / .6); transition: transform 280ms var(--ease), background-color 280ms var(--ease); }
.motion-switch[aria-pressed="true"] .motion-switch-track { border-color: rgb(var(--accent-rgb) / .8); background-color: rgb(var(--accent-rgb) / .16); }
.motion-switch[aria-pressed="true"] .motion-switch-track i { transform: translateX(14px); background: var(--accent-hi); }
.motion-switch-state { display: none; }
.bp .motion-switch-track { border-color: var(--chalk-60); background: none; }
.bp .motion-switch-track i { background: var(--chalk); }
@media (min-width: 900px) and (max-width: 1060px) { .motion-switch { letter-spacing: 0.16em; gap: 8px; } }
@media (max-width: 899px) {
  .nav .motion-switch { width: 100%; padding: 18px 0; font-size: 0.875rem; border-bottom: 1px solid var(--chalk-10); }
  .nav .motion-switch-state { display: inline; margin-left: auto; color: var(--accent-hi); letter-spacing: 0.16em; }
  .nav .motion-switch-track { order: 3; margin-left: 12px; }
  .nav.is-open .motion-switch { animation: menu-in 640ms var(--ease) 200ms both; }
  .calm .nav.is-open .motion-switch { animation-name: fade-in; }
}

/* ---- 2. The main button: a soft, real bronze ------------------------------- */
/* The owner: "looks a bit artificial", then "needs to be softer". One bronze  */
/* with only a whisper of tone change, a hairline of light along the top and  */
/* a barely darker lower edge, a short soft shadow close beneath (no glow),   */
/* 6 px corners; hover warms it a little, a press sinks it 1 px. Navy text on */
/* the bronze stays above 6:1.                                                 */
.btn-primary, html .on-cream .btn-primary,
html section.on-cream:not(.contact):not(.contact-page) .btn-primary,
html :is(.contact, .contact-page).on-cream .contact-card .btn-primary:not(.copy-btn) {
  background-color: var(--accent);
  background-image: linear-gradient(180deg, rgb(255 244 224 / .1), rgb(255 244 224 / .02) 50%, rgb(70 38 14 / .04));
  border-color: rgb(var(--accent-deep-rgb) / .28);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 248 232 / .2), inset 0 -1px 0 rgb(var(--accent-deep-rgb) / .14), 0 3px 8px -4px rgb(0 0 0 / .32);
  transition: background-color 280ms var(--ease), border-color 280ms var(--ease), color 280ms var(--ease), box-shadow 280ms var(--ease), translate 280ms var(--ease);
}
html section.on-cream:not(.contact):not(.contact-page) .btn-primary { box-shadow: inset 0 1px 0 rgb(255 248 232 / .2), inset 0 -1px 0 rgb(var(--accent-deep-rgb) / .14), 0 3px 8px -4px rgb(14 26 56 / .3); }
.btn-primary:hover, html .on-cream .btn-primary:hover,
html section.on-cream:not(.contact):not(.contact-page) .btn-primary:hover,
html :is(.contact, .contact-page).on-cream .contact-card .btn-primary:not(.copy-btn):hover {
  background-color: color-mix(in srgb, var(--accent) 90%, #F5E6CC);
  background-image: linear-gradient(180deg, rgb(255 244 224 / .12), rgb(255 244 224 / .03) 50%, rgb(70 38 14 / .03));
  border-color: rgb(var(--accent-deep-rgb) / .24);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 248 232 / .24), inset 0 -1px 0 rgb(var(--accent-deep-rgb) / .12), 0 5px 12px -6px rgb(0 0 0 / .32);
}
.btn-primary:active, html .on-cream .btn-primary:active,
html :is(.contact, .contact-page).on-cream .contact-card .btn-primary:not(.copy-btn):active {
  translate: 0 1px;
  box-shadow: inset 0 1px 0 rgb(255 248 232 / .14), inset 0 -1px 0 rgb(var(--accent-deep-rgb) / .1), 0 1px 3px -1px rgb(0 0 0 / .3);
  transition-duration: 120ms;
}
html:not(.bp) .btn-primary::before { background: linear-gradient(105deg, transparent 22%, rgb(255 250 236 / .26) 50%, transparent 78%); }
@media (hover: hover) and (pointer: fine) {
  html:not(.calm):not(.bp) .btn-primary:hover::before { transition: transform 1500ms cubic-bezier(.3, .1, .2, 1); }
}
html.calm:not(.bp) .btn-primary::before { background: linear-gradient(180deg, rgb(255 250 236 / .14), rgb(255 250 236 / .03)); }
/* the menu bar's button fills with the same flat bronze on hover */
@media (min-width: 900px) {
  .nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background-color: var(--accent); background-image: linear-gradient(180deg, rgb(255 244 224 / .1), rgb(255 244 224 / .02) 50%, rgb(70 38 14 / .04)); box-shadow: inset 0 1px 0 rgb(255 248 232 / .2), 0 3px 8px -4px rgb(0 0 0 / .32); }
}
.bp .btn-primary, .bp .btn-primary:hover { box-shadow: none; background-image: none; translate: none; }

/* ---- 3. The rings turn on their own, always a little ------------------------ */
/* The owner: "the website feels static ... the ring doesn't rotate". Every   */
/* set of rings now also turns slowly by itself, each layer at its own speed  */
/* and way round, with round 31's scroll-linked turn added on top: the image  */
/* moved onto a ::before that a CSS animation turns, inside the element that  */
/* main.js tilts and turns with the scroll. Full motion: the great ring once  */
/* in 120 s, the small ring back in 90 s, the faint sets in 150 s; calm: half */
/* as fast. Paused off screen (.is-near, set by initRings) and in a hidden    */
/* tab (html.is-away); lighter mode: still.                                   */
@keyframes ring-on { to { transform: rotate(360deg); } }
@keyframes ring-back { to { transform: rotate(-360deg); } }
.hero-dial i, .sec-rings i { background-image: none !important; }
.hero-dial i::before, .sec-rings i::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  animation: ring-on 120s linear infinite;
  animation-play-state: paused;
}
.hero-dial-a::before { background-image: url("assets/dial-turn.svg"); }
.hero-dial-b::before { background-image: url("assets/dial-turn-b.svg"); animation-name: ring-back !important; animation-duration: 90s !important; }
.sec-rings i::before { background-image: url("assets/orbit-ink.svg"); animation-duration: 150s; }
.contact > .sec-rings i::before { background-image: url("assets/orbit-light.svg"); }
.mkt > .sec-rings i::before, .pr-faq > .sec-rings i::before, .contact > .sec-rings i::before { animation-name: ring-back; }
:is(.hero-dial, .sec-rings).is-near i::before { animation-play-state: running; will-change: transform; }
.calm .hero-dial-a::before { animation-duration: 240s; }
.calm .hero-dial-b::before { animation-duration: 180s !important; }
.calm .sec-rings i::before { animation-duration: 300s; }
html.is-away :is(.hero-dial, .sec-rings) i::before { animation-play-state: paused; }
.lite :is(.hero-dial, .sec-rings) i::before, .bp :is(.hero-dial, .sec-rings) i::before { animation: none; }

/* Home's dial: three ring groups turn by themselves too (ring-b already did) */
.saga-on .ring-a > svg, .saga-on .ring-d > svg, .saga-on .ring-t > svg { transform-origin: 50% 50%; animation: ring-on 140s linear infinite; }
.saga-on .ring-d > svg { animation-name: ring-back; animation-duration: 100s; }
.saga-on .ring-t > svg { animation-duration: 220s; }
.saga-on .ring-b, .hud-intro .ring-b { animation-duration: 110s; }
.hud-intro .ring-b { animation-duration: 110s, 1450ms; }
.calm.saga-on .ring-a > svg, .calm .saga-on .ring-a > svg { animation-duration: 280s; }
.calm .saga-on .ring-d > svg { animation-duration: 200s; }
.calm .saga-on .ring-t > svg { animation-duration: 440s; }
.calm .saga-on .ring-b { animation: hud-turn 220s linear infinite; }
.saga-on .core.is-resting :is(.ring-a, .ring-d, .ring-t) > svg, html.is-away .saga-on :is(.ring-a, .ring-d, .ring-t) > svg, html.is-away .saga-on .ring-b { animation-play-state: paused; }
.lite .saga-on :is(.ring-a, .ring-d, .ring-t) > svg, .lite .saga-on .ring-b, .bp .saga-on :is(.ring-a, .ring-d, .ring-t) > svg { animation: none; }

/* ---- 4. Immersion with a mouse: the rings lean toward the pointer ---------- */
/* main.js (initLean) writes --lean-x / --lean-y (degrees, up to 4; 2 in calm) */
/* on a set of rings while it is on screen, eased, once a frame at most, and  */
/* moves a soft light (.hero-light) after the pointer in the page header. No  */
/* pointer effects on touch screens or in lighter mode.                       */
.hero-dial { transform: translateY(-38%) perspective(1600px) rotateX(var(--lean-x, 0deg)) rotateY(var(--lean-y, 0deg)); }
.sec-rings { transform: perspective(1600px) rotateX(var(--lean-x, 0deg)) rotateY(var(--lean-y, 0deg)); }
.hero-dial.is-near, .sec-rings.is-near { will-change: transform; }
.hero-light {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  /* smaller and quicker since 19 Nov (owner: the big one "is very laggy"),
     so it stays close to the pointer instead of trailing behind it */
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--accent-hi-rgb) / .11), rgb(var(--accent-hi-rgb) / .04) 55%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms var(--ease);
  will-change: transform;
}
.hero-light.is-on { opacity: 1; }
.bp .hero-light, .lite .hero-light { display: none; }

/* ---- 5. The opening chapters: the space round the words, filled quietly ---- */
/* The owner: "the empty space lowk isn't filled enough". Behind each chapter */
/* of Home's opening (and the headline), a lifted navy light behind the text  */
/* column and a faint warm pool where the tab card sits, so the glass card    */
/* has something to catch. Painted once with the chapter's words and moving  */
/* with them; nothing on a fixed layer.                                       */
@media (min-width: 900px) {
  .saga-on .beat:not(.hero) .beat-inner::after,
  .saga-on .saga .hero-copy::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: -300px;
    top: 50%;
    width: 1080px;
    height: 1080px;
    margin-top: -540px;
    background:
      radial-gradient(28% 22% at 52% 62%, rgb(var(--accent-hi-rgb) / .075), rgb(var(--accent-hi-rgb) / .05) 25%, rgb(var(--accent-hi-rgb) / .022) 55%, rgb(var(--accent-hi-rgb) / .006) 80%, transparent),
      radial-gradient(44% 36% at 50% 52%, rgb(64 96 168 / .2), rgb(64 96 168 / .13) 30%, rgb(64 96 168 / .05) 62%, rgb(64 96 168 / .012) 85%, transparent);
    pointer-events: none;
  }
  .saga-on .saga .hero-copy { position: relative; }
  .saga-on .saga .hero-copy::after { left: -360px; opacity: .5; }
  .bp .saga-on .beat-inner::after, .bp .saga-on .hero-copy::after, .lite .saga-on .beat-inner::after { display: none; }
}
/* every tab card on navy sits in its own soft pool of light */
.tabs { box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -1px 0 rgb(255 255 255 / .05), inset 1px 0 0 rgb(255 255 255 / .06), 0 30px 60px -36px rgb(0 0 0 / .7), 0 0 120px -10px rgb(var(--accent-hi-rgb) / .07); }
.on-cream .tabs { box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 26px 50px -34px rgb(14 26 56 / .45); }

/* ---- 6. One section a screen on the inner pages --------------------------- */
/* The owner: "some of the pages feels like theres half of each page in one   */
/* screen". On a window from 900 px wide and 560 px tall: each page header    */
/* fills the window under the menu bar with its words centred, and each main  */
/* section is at least a window tall with its content centred, so a screen    */
/* shows one section. Longer sections simply run on. Phones scroll naturally, */
/* their headers about one screen tall. (Snap points were left out: the owner */
/* found that scroll snapping traps a mouse wheel.)                           */
@media (min-width: 900px) and (min-height: 560px) {
  html:not([data-page="home"]) .page-hero:not(.contact-hero) { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--nav-h)); }
  html:not([data-page="home"]):not([data-page="contact"]) main > section.section:not(.page-hero) { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--nav-h)); }
  .page-hero + section, .page-hero + .process { padding-top: clamp(40px, 5vw, 72px); }
}
@media (max-width: 899px) {
  .page-hero:not(.contact-hero) { padding-block: clamp(32px, 7vw, 56px); }
}

/* ---- 7. Contact: the form in the first screen, questions under it ---------- */
/* The owner: "Can the inquiry part be in the first page you see". One band: */
/* a compact header on the left (the name, the line, one short lead) and the  */
/* form on the right from 900 px, the rings still turning behind; on phones a */
/* short header, then the form straight away.                                 */
.contact-hero { padding-block: clamp(22px, 3vw, 44px) clamp(36px, 4vw, 56px); }
.contact-hero .page-word { font-size: clamp(3rem, 1rem + 5vw, 5.5rem); }
.contact-hero .page-line { margin-top: 10px; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.contact-hero .page-lead { margin-top: 18px; max-width: 24em; }
.contact-hero .plan-pick { margin-top: 18px; }
.contact-split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); }
html .contact-hero .contact-card.inq { margin: 0; }
@media (min-width: 900px) { html .contact-hero .contact-split > .contact-card { grid-column: 2; grid-row: 1; max-width: none; } }
@media (min-width: 900px) {
  .contact-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(28px, 3.6vw, 56px); align-items: start; }
  .contact-intro { position: sticky; top: calc(var(--nav-h) + 32px); padding-top: clamp(8px, 2vh, 24px); }
  .contact-hero .hero-dial { top: 74%; right: auto; left: -30%; width: min(70vw, 820px); }
}

.contact-faq { padding-block: clamp(48px, 6vw, 88px); }
.cq-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .cq-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; } }
.cq-title { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.25rem); font-weight: 300; line-height: 1; letter-spacing: -0.02em; color: var(--chalk); }
.cq-lead { margin-top: 12px; font-size: 1.0625rem; line-height: 1.5; color: var(--fg-2); }
.cq-more { display: inline-block; margin-top: 18px; }
.cq-list { border-top: 1px solid rgb(var(--accent-rgb) / .6); }
.cq { border-bottom: 1px solid var(--chalk-16); }
.cq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; list-style: none; cursor: pointer; color: var(--chalk); }
.cq summary::-webkit-details-marker { display: none; }
.cq summary::marker { content: ""; }
.cq summary:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 4px; border-radius: 4px; }
.cq-text { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); font-weight: 500; line-height: 1.2; }
.cq-mark { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid rgb(var(--accent-rgb) / .9); border-radius: 50% !important; background: radial-gradient(circle at 34% 28%, #23396B, #0E1A38 72%); transition: border-color 280ms var(--ease); }
.cq-mark::before, .cq-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent-hi); transform: translate(-50%, -50%); transition: transform 300ms var(--ease); }
.cq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.cq[open] .cq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.cq summary:hover .cq-mark { border-color: var(--accent-hi); }
.cq-a { padding: 0 56px 22px 0; }
.cq-a p { max-width: 38em; font-size: 1.0625rem; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 599px) { .cq-a { padding-right: 0; } }
html.js:not(.calm) .cq { interpolate-size: allow-keywords; }
html.js:not(.calm) .cq::details-content { block-size: 0; overflow-y: clip; opacity: 0; transition: block-size 420ms var(--ease), opacity 340ms var(--ease), content-visibility 420ms allow-discrete; }
html.js:not(.calm) .cq[open]::details-content { block-size: auto; opacity: 1; }
.bp .cq-mark { background: none; border-color: var(--chalk-60); }

/* ---- 8. Soft "mesh" light on the navy sections (no images) ---------------- */
/* The owner, on the grain: "too low-quality ... we need smth else". Each navy */
/* section gets two or three very soft, very large lights of its own: a lifted */
/* navy behind the words, a deeper midnight away from them, one faint warm    */
/* bronze. Static, painted once, scrolling with the section. Every light fades */
/* through several stops so the 8-bit steps never show as bands.             */
html .page-hero {
  background-image:
    linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .34) 28%, rgb(var(--accent-hi-rgb) / .42) 50%, rgb(var(--accent-rgb) / .34) 72%, transparent),
    radial-gradient(46% 58% at 22% 52%, rgb(52 82 150 / .26), rgb(52 82 150 / .17) 28%, rgb(52 82 150 / .07) 58%, rgb(52 82 150 / .015) 84%, transparent),
    radial-gradient(34% 44% at 30% 70%, rgb(var(--accent-hi-rgb) / .055), rgb(var(--accent-hi-rgb) / .032) 35%, rgb(var(--accent-hi-rgb) / .01) 70%, transparent),
    radial-gradient(60% 70% at 96% 100%, rgb(6 12 30 / .34), rgb(6 12 30 / .18) 40%, rgb(6 12 30 / .05) 75%, transparent);
  background-size: 100% 1px, auto, auto, auto;
  background-position: 50% 100%, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
}
html :is(.pr-parts, .pr-how, .pr-sample, .pr-terms, .pr-close, .contact-faq).band-ink {
  background-image:
    radial-gradient(48% 60% at 18% 40%, rgb(52 82 150 / .22), rgb(52 82 150 / .14) 30%, rgb(52 82 150 / .055) 60%, rgb(52 82 150 / .012) 85%, transparent),
    radial-gradient(36% 46% at 82% 62%, rgb(var(--accent-hi-rgb) / .045), rgb(var(--accent-hi-rgb) / .026) 35%, rgb(var(--accent-hi-rgb) / .008) 70%, transparent),
    radial-gradient(60% 70% at 100% 0%, rgb(6 12 30 / .3), rgb(6 12 30 / .16) 40%, rgb(6 12 30 / .045) 75%, transparent);
  background-repeat: no-repeat;
}
html.bp .page-hero { background-image: none; }
html.bp :is(.pr-parts, .pr-how, .pr-sample, .pr-terms, .pr-close, .contact-faq).band-ink { background-image: none; }

/* ---- 9. Home's opening uses the whole window ------------------------------ */
/* The owner: "less immersing/inviting due to the lack of utilization of      */
/* space". From 1300 px wide the opening widens past the page's 1200 px       */
/* column (to 1560 px at most), the dial grows (up to 800 px) and the         */
/* headline takes a step up; a soft light is carried down under the buttons. */
@media (min-width: 900px) {
  .saga { --core: min(70vh, 43vw, 800px); }
}
@media (min-width: 1300px) {
  .saga { --max: min(1560px, 100vw - 2 * var(--gutter)); --dial-gap: clamp(40px, 4vw, 96px); }
  .saga-on .saga .hero-title { font-size: clamp(4.75rem, 1.6rem + 3.6vw, 5.875rem); }
  .saga-on .saga .hero-text { font-size: 1.1875rem; }
}
@media (min-width: 900px) {
  .saga-on .saga .hero-copy::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: -10%;
    right: -30%;
    top: 55%;
    height: 90%;
    background: radial-gradient(50% 50% at 40% 50%, rgb(52 82 150 / .2), rgb(52 82 150 / .12) 35%, rgb(52 82 150 / .04) 70%, transparent);
    pointer-events: none;
  }
  .bp .saga-on .saga .hero-copy::before, .lite .saga-on .saga .hero-copy::before { display: none; }
}

/* ---- 10. The status badge, a step bigger (the owner: "a bit bigger pls") -- */
.saga .hero-eyebrow .status { gap: 12px; padding: 7px 15px 7px 12px; font-size: 0.90625rem; }
.saga .hero-eyebrow .status b { flex: none; width: 8px; height: 8px; }
@media (max-width: 420px) { .saga .hero-eyebrow .status { gap: 10px; padding: 6px 12px 6px 10px; font-size: clamp(0.625rem, 2.85vw, 0.75rem); letter-spacing: 0.11em; } }
@media (min-width: 900px) and (max-width: 1299px) { .saga-on .saga .hero-text { font-size: 1.125rem; } }
@media (min-width: 1300px) { html[data-page="home"] .nav { --max: min(1560px, 100vw - 2 * var(--gutter)); } }

/* ---- 11. Background shapes (the owner: "we still need some shapes in the  */
/* background"). One composed line drawing per emptier section, in the dial's */
/* drawing language: partial rings with a band of ticks (a), a tilted ellipse */
/* fragment (b), a great arc with a fine scale and one crosshair (c; c-ink on */
/* cream). Strokes are 1 px whatever the size (vector-effect), each drawing   */
/* fades out from its own middle (a radial gradient on the stroke, no mask),  */
/* cream on navy at about 8%, navy on cream at about 6%, one bronze arc a    */
/* little stronger. main.js (initShapes) places them; initRings turns them   */
/* with the scroll; CSS turns them slowly on their own, paused off screen.   */
.bg-shape { position: absolute; z-index: -1; width: var(--bs, 760px); height: var(--bs, 760px); pointer-events: none; }
.bg-shape i { position: absolute; inset: 0; display: block; }
.bg-shape i::before { content: ""; position: absolute; inset: 0; background: center / contain no-repeat; animation: ring-on 180s linear infinite; animation-play-state: paused; }
.bg-shape.is-near i::before { animation-play-state: running; will-change: transform; }
.bg-shape-a i::before { background-image: url("assets/shape-a.svg"); }
.bg-shape-b i::before { background-image: url("assets/shape-b.svg"); animation-name: ring-back; animation-duration: 240s; }
.bg-shape-c i::before { background-image: url("assets/shape-c.svg"); animation-duration: 200s; }
.bg-shape-c-ink i::before { background-image: url("assets/shape-c-ink.svg"); animation-name: ring-back; animation-duration: 220s; }
.calm .bg-shape i::before { animation-duration: 400s; }
html.is-away .bg-shape i::before { animation-play-state: paused; }
.lite .bg-shape i::before { animation: none; }
.bp .bg-shape { display: none; }
/* where each sits: in a section's empty space, never under the main words */
.saga .beat:not(.hero) { position: relative; }
.saga .beat:not(.hero) > .bg-shape { --bs: 820px; left: -300px; top: 50%; margin-top: -410px; }
.page-hero > .bg-shape { --bs: 760px; left: -330px; bottom: -430px; }
.contact > .bg-shape { --bs: 780px; left: -380px; top: -120px; }
.process { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.process > .bg-shape { --bs: 820px; right: -420px; top: 18%; }
@media (max-width: 899px) {
  .saga .beat:not(.hero) > .bg-shape { display: none; }
  .page-hero > .bg-shape { --bs: 560px; left: -300px; bottom: -330px; }
  .contact > .bg-shape { --bs: 560px; left: -320px; top: -80px; }
  .process > .bg-shape { --bs: 560px; right: -340px; }
}

/* ========================================================================== */
/* Round 34: the field. Behind the Home opening and every inner page header:  */
/* great rings round the dial reaching across the screen (hero-field.svg,     */
/* still), lights travelling along those rings, and a slow sweep round the    */
/* dial. main.js (initField) adds .field; each moving part is a tiny element  */
/* on a turning arm, so only transforms change. The field box keeps the       */
/* drawing's 16:10 shape, so the lights sit on the drawn rings.               */
/* Also: the rings turn fast enough to see; wide windows use their width.     */
/* ========================================================================== */
.saga-on .saga-stage, .page-hero { isolation: isolate; }
.field {
  --fw: max(120vw, 192vh);
  position: absolute;
  z-index: -2;
  left: 50%; top: 50%;
  width: var(--fw);
  aspect-ratio: 16 / 10;
  margin: calc(var(--fw) * -.3125) 0 0 calc(var(--fw) / -2);
  pointer-events: none;
  background:
    radial-gradient(26% 30% at 30% 44%, rgb(45 72 140 / .38), transparent 70%),
    url("assets/hero-field.svg") center / 100% 100% no-repeat;
  animation: fade-in 1400ms var(--ease) 200ms backwards;
}
.page-hero > .field { margin-left: calc(var(--fw) / -2 + 13vw); margin-top: calc(var(--fw) * -.3125 + 4vh); }
.field .orb { position: absolute; left: 73.75%; top: 52%; width: 0; height: 0; transform: scaleY(.62); }
.field .orb i { position: absolute; left: 0; top: 0; width: 0; height: 0; display: block; animation: ring-on var(--t, 40s) linear infinite; animation-delay: var(--d, 0s); }
.field .orb i::before {
  content: "";
  position: absolute;
  left: calc(var(--fw) * var(--r) - 3px); top: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c, #F5EEE2);
  box-shadow: 0 0 10px 2px var(--g, rgb(245 238 226 / .55));
}
/* a comet: the light, with a tail fading behind it along the ring */
.field .orb i::after {
  content: "";
  position: absolute;
  left: calc(var(--fw) * var(--r) - 1px); top: calc(var(--tail, 0px) * -1);
  width: 2px; height: var(--tail, 0px);
  background: linear-gradient(to top, var(--c, #F5EEE2), transparent);
  opacity: .7;
}
.field .s1 { --r: .29375; --t: 22s; --c: var(--accent-hi); --g: rgb(var(--accent-rgb) / .8); --tail: 110px; }
.field .s2 { --r: .38125; --t: 34s; animation-name: ring-back !important; --d: -9s; }
.field .s3 { --r: .4875; --t: 46s; --tail: 150px; --d: -4s; }
.field .s3b { --d: -27s; --tail: 0px; }
.field .s4 { --r: .6; --t: 60s; animation-name: ring-back !important; --c: var(--accent-hi); --g: rgb(var(--accent-rgb) / .8); --d: -22s; }
.field .s5 { --r: .725; --t: 78s; --tail: 190px; --d: -50s; }
.field .s6 { --r: .86875; --t: 96s; animation-name: ring-back !important; --c: var(--accent-hi); --g: rgb(var(--accent-rgb) / .8); --d: -70s; }
.field .orb .s2::after, .field .orb .s4::after, .field .orb .s6::after { display: none; }
.calm .field .orb i { animation-duration: calc(var(--t, 40s) * 2.2); }
.field.is-off .orb i, html.is-away .field .orb i { animation-play-state: paused; }
.lite .field .orb i, .bp .field .orb i { animation: none; }
.bp .field { display: none; }

/* The rings turn fast enough to be seen (they took two minutes a turn). */
.hero-dial i::before { animation-duration: 44s; }
.hero-dial-b::before { animation-duration: 30s !important; }
.sec-rings i::before { animation-duration: 70s; }
.saga-on .ring-a > svg, .saga-on .ring-t > svg { animation-duration: 48s; }
.saga-on .ring-d > svg { animation-duration: 32s; }
.bg-shape i::before { animation-duration: 80s; }
.calm .hero-dial-a::before { animation-duration: 110s; }
.calm .hero-dial-b::before { animation-duration: 80s !important; }
.calm .saga-on .ring-a > svg, .calm .saga-on .ring-t > svg { animation-duration: 120s; }
.calm .saga-on .ring-d > svg { animation-duration: 90s; }

/* Wide windows: the page uses the width instead of leaving empty margins. */
@media (min-width: 1500px) {
  :root { --max: min(1560px, 84vw); }
  html { font-size: clamp(16px, 5.5px + .62vw, 19px); }
  html .showcase .chapter-device > .demo { max-width: 46rem; }
  html .showcase .chapter-title { font-size: 3.3rem; max-width: 10em; }
}

/* Round 35: ring drawings in the side margins of the cream demo bands, in   */
/* ink and deep bronze: off the left edge on one band, off the right on the   */
/* next. Still: one more painted layer on the band's own ground (demos.css).  */
@media (min-width: 900px) {
  html .showcase .chapter::before {
    background-image:
      url("assets/cream-field-l.svg"),
      radial-gradient(46% 72% at 10% 4%, rgb(255 255 255 / .78), rgb(255 255 255 / 0) 74%),
      radial-gradient(38% 58% at 74% 52%, rgb(255 252 246 / .7), rgb(255 252 246 / 0) 76%),
      linear-gradient(180deg, #FBF6EC, #F5EDE0 56%, #EFE4D2);
    background-repeat: no-repeat;
    background-position: left top, 0 0, 0 0, 0 0;
    background-size: clamp(280px, 27vw, 560px) auto, auto, auto, auto;
  }
  html .showcase .chapter:nth-child(even)::before {
    background-image:
      url("assets/cream-field-r.svg"),
      radial-gradient(46% 72% at 10% 4%, rgb(255 253 248 / .55), rgb(255 253 248 / 0) 74%),
      radial-gradient(38% 58% at 74% 52%, rgb(251 245 234 / .62), rgb(251 245 234 / 0) 76%),
      linear-gradient(180deg, #F2E8D8, #EBDFCB 56%, #E5D7C1);
    background-position: right bottom, 0 0, 0 0, 0 0;
  }
  html.bp .showcase .chapter::before { background-image: none; }
}

/* In reduced motion the illustrations remain as diagrams. */
html.calm :is(.ring-b, .ring-c, .hero-scroll i, .ticker-track, .orb i),
html.calm :is(.hero-dial i, .sec-rings i, .field)::before { animation: none !important; }

/* Keep the inner-page dial near the heading, including on the tall enquiry form. */
@media (max-width: 899px) {
  .page-hero > .hero-dial {
    top: 5.5rem;
    right: max(-7rem, -22vw);
    width: clamp(16rem, 64vw, 24rem);
    opacity: .35;
  }
  :is(.saga-stage, .page-hero) > .field { opacity: .38; }
  :is(.saga-stage, .page-hero) > .field .orb { display: none; }
}

/* ========================================================================== */
/* 18 Nov 2026: the space is used (the owner: "the whole site is             */
/* underutilized and lacks proper used space"). Less empty height between    */
/* sections; on wide screens a section's intro sits beside its heading       */
/* instead of under it, with nothing to its right.                           */
/* ========================================================================== */
:root { --section-pad: clamp(40px, 4.4vw, 68px); }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) {
  .section-head.grid12 { align-items: end; row-gap: 12px; }
  .section-head.grid12 > :not(.h2):not(.lead) { grid-column: 1 / span 12; }
  .section-head.grid12 > .h2 { grid-column: 1 / span 7; grid-row: 2; }
  .section-head.grid12 > .lead { grid-column: 8 / span 5; grid-row: 2; margin-top: 0; padding-bottom: .35em; }
}
html .showcase-home .build-note { margin-block: clamp(20px, 3vw, 40px); }
/* two groups side by side (900 to 1099 px): each group's list in two columns */
@media (min-width: 700px) and (max-width: 1099px) {
  html .designs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
}

/* ========================================================================== */
/* 19 Nov 2026: the page's five sheets, livelier and better lit (the owner:  */
/* "can the anatomy of pages one be animated/move as you scroll with motion  */
/* on and also look a bit better").                                           */
/* - main.js (initLayers) parts the sheets and turns the page with the        */
/*   scroll; here, while it is on screen (.is-live), the sheets float a       */
/*   little, one after another, and a point travels the Movement sheet's path. */
/* - A soft shadow on the floor under the page, a glow on the top sheet, and  */
/*   names with a number and a longer leader. The sheet under the pointer,    */
/*   or the one whose name is under it, lights up (.is-hot).                   */
/* Nothing floats in calm or lighter mode, or in Blueprint view.              */
/* ========================================================================== */
.scene::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  border-radius: 50% !important;
  background: radial-gradient(closest-side, rgb(3 8 22 / .7), rgb(3 8 22 / .32) 55%, transparent);
  transform: translateZ(calc(-14px - var(--sep) * 26px));
  pointer-events: none;
}
.layer { transition: box-shadow 260ms var(--ease); }
.layer-content { box-shadow: 0 0 0 1px rgb(255 255 255 / .5) inset; background-image: linear-gradient(135deg, #FBF8F1, #EDE7DA); }
.layer-motion { box-shadow: 0 0 26px rgb(var(--acc-rgb) / .22); }
.layer-style { background: linear-gradient(135deg, rgb(var(--fg-rgb) / .1), rgb(var(--fg-rgb) / .03)); }
.layer.is-hot { box-shadow: 0 0 0 1.5px var(--accent-hi), 0 0 34px rgb(var(--accent-rgb) / .55); }
.post { border-left-color: rgb(var(--accent-hi-rgb) / .7); }

@keyframes sheet-float { 50% { translate: 0 0 calc(var(--sep) * 7px); } }
.stack.is-live .layer { animation: sheet-float 5.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.stack.is-live .layer.is-hot { animation-play-state: paused; }
/* the travelling point on the Movement sheet */
@keyframes path-run { to { stroke-dashoffset: -18; } }
.stack.is-live .lm-path { animation: path-run 1.4s linear infinite; }
@keyframes dot-pulse { 50% { r: 5.5px; opacity: .7; } }
.stack.is-live .lm-dot { animation: dot-pulse 2.2s ease-in-out infinite; }
:is(.calm, .lite, .bp) .stack .layer, :is(.calm, .lite, .bp) .stack :is(.lm-path, .lm-dot), html.is-away .stack :is(.layer, .lm-path, .lm-dot) { animation: none; }

/* the names: numbered, brighter, on a longer leader that fades toward the page */
.layer-labels { counter-reset: sheet 6; }
.layer-labels li { pointer-events: auto; gap: 9px; font-size: 11px; letter-spacing: 0.18em; color: rgb(var(--fg-rgb) / .86); cursor: default; transition: color 200ms var(--ease); counter-increment: sheet -1; }
.layer-labels li b { font-weight: 500; }
.layer-labels li b::before { content: "0" counter(sheet) "  "; color: var(--accent-hi); letter-spacing: 0.06em; white-space: pre; }
.layer-labels li::before { width: 26px; background: linear-gradient(90deg, rgb(var(--fg-rgb) / .1), rgb(var(--fg-rgb) / .7)); transition: width 260ms var(--ease), background-color 200ms var(--ease); }
.layer-labels li::after { width: 7px; height: 7px; border-radius: 50% !important; box-shadow: 0 0 0 3px rgb(var(--acc-rgb) / .18); }
.layer-labels li.is-hot { color: var(--accent-hi); }
.layer-labels li.is-hot::before { width: 36px; background: var(--accent-hi); }
@container (max-width: 380px) {
  .layer-labels li { gap: 5px; font-size: 9.5px; letter-spacing: 0.1em; }
  .layer-labels li::before { width: 10px; }
  .layer-labels li.is-hot::before { width: 14px; }
}
html.bp .scene::before { display: none; }
html.bp .layer { box-shadow: none; }
/* room for the numbered names beside the page */
.layer-labels li::before { width: 18px; }
.layer-labels li.is-hot::before { width: 26px; }
@container (min-width: 440px) { .scene, .layer-labels { --cx: 36%; } }
@container (min-width: 520px) { .scene, .layer-labels { --cx: 39%; } }
/* a narrow card (phones): no numbers, short leaders, the page a little to the left */
@container (max-width: 380px) {
  .scene, .layer-labels { --cx: 33%; }
  .layer-labels li { gap: 5px; font-size: 9px; letter-spacing: 0.08em; }
  .layer-labels li b::before { content: none; }
  .layer-labels li::before, .layer-labels li.is-hot::before { width: 8px; }
  .layer-labels li::after { width: 6px; height: 6px; box-shadow: none; }
}

/* ========================================================================== */
/* 19 Nov 2026: one way in, and quicker (the owner: "the animations also      */
/* sometimes are laggy / lag behind and are too slow, as well as just being   */
/* a bit random and not being coherent").                                      */
/* Everything that arrives now arrives the same way: a short rise of 14 px    */
/* with a fade, about half a second, each sibling 55 ms after the last.       */
/* Headings still rise word by word, but in 0.7 s instead of 1.1. The flip is */
/* gone; the demo cards rise like the rest (demos.css). Home's opening is     */
/* done in about a second. The springs that follow the scroll and the pointer */
/* are stiffer (main.js: initSaga W, initLean K).                              */
/* ========================================================================== */
:root { --m-in: 520ms; --m-fade: 440ms; --m-step: 55ms; --m-rise: 14px; }
html.reveal-on [data-reveal] {
  transform: translateY(var(--m-rise));
  transition: opacity var(--m-fade) var(--ease), transform var(--m-in) var(--ease);
  transition-delay: calc(var(--rv, 0) * var(--m-step));
}
html.reveal-on [data-reveal].is-in, html.reveal-on [data-reveal][data-split] { transform: none; }
html.arrive.reveal-on [data-reveal] { transition-delay: calc(var(--rv, 0) * var(--m-step) + 160ms); }
.wi { transition-duration: 700ms; transition-delay: calc(var(--wi, 0) * 45ms + var(--split-delay, 0ms)); }

/* Home's opening */
.intro .nav-inner > :not(.draft-box) { animation: fade-in 500ms var(--ease) 60ms both; }
.intro .hero-eyebrow { animation: resolve 560ms var(--ease) 140ms both; }
.intro .hero-text .draft-in { animation: resolve 560ms var(--ease) 420ms both; }
.intro .hero-actions > .btn:nth-of-type(1) { animation: resolve 520ms var(--ease) 520ms both; }
.intro .hero-actions > .btn:nth-of-type(2) { animation: resolve 520ms var(--ease) 575ms both; }
.intro .hero-promise { animation: resolve 520ms var(--ease) 630ms both; }
.intro .hero-foot { animation: fade-in 600ms var(--ease) 720ms both; }

/* arriving from another page */
.arrive .page-line, .arrive .page-lead, .arrive .page-index { animation: resolve var(--m-in) var(--ease) 100ms both; }
.arrive .page-lead { animation-delay: 155ms; }
.arrive .page-index { animation-delay: 210ms; }
.arrive main > :not(.page-hero) { animation: fade-in var(--m-fade) var(--ease) 180ms both; }

/* Services: the drawings come in with their words, not after them */
.reveal-on .svc .iso-part { transform: translateY(var(--m-rise)); transition: opacity var(--m-fade) var(--ease), transform var(--m-in) var(--ease); transition-delay: calc(var(--d, 0) * var(--m-step) + 60ms); }
.reveal-on .svc.is-seen .iso-part { transform: none; }
