/* ==========================================================================
   Atlas Metrics — atlasmetrics.ca
   Built on the Atlas web formula (see Atlas/internal/design/web-formula.md).
   Same skeleton and token vocabulary as every client demo we build; the skin
   here is the Atlas brand — navy #1B3A5C, accent #2E75B6, tint #D5E8F0.
   ========================================================================== */

:root {
  /* --- skin: swap these per client, leave everything below alone --- */
  --paper:    #FCFDFE;
  --paper-2:  #F4F8FB;
  --ink:      #16242F;
  --ink-2:    #56707F;
  --brand:    #2E75B6;   /* accent */
  --brand-ink:#245E93;   /* accent, text-safe */
  --deep:     #1B3A5C;   /* navy */
  --deep-2:   #12293F;
  --tint:     #D5E8F0;
  --tint-2:   #B8D9E8;
  --line:     #E3EAF0;
  --line-2:   #D2DEE7;
  --line-3:   #7C929F;   /* interactive boundary — see the note on inputs below */

  /* Text sitting on --deep: the footer, the dark opening, the CTA band. These
     were seven loose hex codes scattered through the sheet, which is exactly
     what breaks a per-client reskin — change --deep and they all stop
     agreeing with it. Measured on our own navy: 7.85, 7.23, 5.73, 4.54. */
  --on-deep:  #C3D7E6;
  --on-deep-2:#B9CFDF;
  --on-deep-3:#9DBACE;
  --on-deep-4:#86A6BD;

  /* Shadow under a screenshot of our work. Alpha is part of the token. */
  --shade:    rgba(22,36,47,.16);

  /* Form status. Semantic rather than brand, but still a colour a client skin
     may want to move. 6.42:1 and 6.78:1 on paper. */
  --ok:       #1C6B38;
  --err:      #A33131;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --pad:  clamp(1.25rem, 5vw, 2.5rem);
  --nav-h: 72px;

  /* --- icons: Lucide 1.33.0, ISC (github.com/lucide-icons/lucide) ---
     Carried as masks rather than <img>, so an icon takes its colour from a
     token like everything else and no hex escapes this block. Stroke width
     2 on a 24 grid, which is the same drawing language as the logo mark. */
  --i-arrow: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg>');
  --i-check: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>');
  --i-plus:  url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>');
  --i-minus: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M5 12h14"/></svg>');

  /* --- ambient layer, dark opening ---
     These belong here like every other colour. The first version of the ambient
     layer inlined raw rgba()/hex literals in the rules themselves, which is the
     failure that makes the next client inherit the wrong skin. Alpha is part of
     the token because these are light sources over a dark ground, not fills. */
  --aura-1:   rgba(46,117,182,.50);
  --aura-1b:  rgba(46,117,182,.14);
  --aura-2:   rgba(46,117,182,.30);
  --aura-2b:  rgba(46,117,182,.09);
  --aura-3:   rgba(213,232,240,.15);
  --aura-3b:  rgba(213,232,240,.05);
  --aura-base:rgba(46,117,182,.16);
  --grid-h:   rgba(191,224,244,.11);
  --grid-v:   rgba(191,224,244,.09);
  --geo-line: #8FC3E6;
  --geo-ring: #BFE0F4;

  /* --- direction A: the stage ---
     The navy panel the example sits on, and the shadows under what sits on it.
     Alpha is part of each token, as with the ambient layer above. */
  --stage-glow:   rgba(46,117,182,.62);
  --stage-glow-2: rgba(213,232,240,.12);
  --stage-line:   rgba(191,224,244,.085);
  --stage-edge:   rgba(255,255,255,.14);
  --stage-chip:   rgba(255,255,255,.09);
  --shade-stage:  rgba(3,12,24,.55);
  --shade-float:  rgba(3,12,24,.20);
  --shade-near:   rgba(3,12,24,.10);
  --shade-tile:   rgba(22,36,47,.10);
  --device:       #0C1420;   /* phone bezel */
  --device-2:     #2A3644;   /* its edge highlight */

  /* --- direction A: the example client's own skin ---
     A client's site never wears Atlas's colours. These belong to the invented
     clinic drawn inside the browser and phone frames, and to nothing else. */
  --demo-paper:   #FFFFFF;
  --demo-ink:     #111A1B;
  --demo-ink-2:   #586A6C;
  --demo-accent:  #0E7574;   /* teal: the clinic's one colour. The sample accounting site is plum, so the two do not read as one template */
  --demo-accent-2:#14908E;
  --demo-tint:    #E9F6F5;
  --demo-tint-2:  #CDEBE8;
  --demo-line:    #E2EBEB;
  --demo-chrome:  #F1F4F4;
  --demo-chrome-2:#D2DADA;
  --demo-shade:   rgba(8,58,58,.22);
}

/* One icon primitive. Size it, colour it with a token, point it at a mask. */
.ico {
  display: inline-block; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
/* A `display:` rule on a class beats the UA's [hidden] rule, so .or-line —
   flex, and hidden until a real booking URL is configured — rendered anyway. */
[hidden] { display: none !important; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

/* Source Serif 4 is a variable face with an optical-size axis. Letting the
   browser drive opsz is the difference between a display line that looks
   drawn at that size and one that looks scaled up from body copy. */
h1, h2, h3 {
  font-family: var(--serif); color: var(--ink); font-weight: 400;
  line-height: 1.14; letter-spacing: -.012em;
  font-optical-sizing: auto; text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.5rem); letter-spacing: -.021em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.016em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -.008em; }
h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--ink); }

/* Heading level is an outline decision; heading size is a design one, and they
   do not have to agree. /contact and /pricing both jumped h1 -> h3 because the
   only h2 on offer was 2.6rem display type nobody wanted there. These two carry
   the h3 and h4 look at whatever level the outline needs. */
.h-sub  { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -.008em; }
.h-lbl  { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--ink);
          letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

/* Numbers in running prose should line up and not shout. */
body { font-variant-numeric: tabular-nums lining-nums; }
p, li { font-variant-numeric: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.lede { color: var(--ink-2); font-size: clamp(1.02rem, 1.5vw, 1.16rem); text-wrap: pretty; }

section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
section.tinted { background: var(--paper-2); border-block: 1px solid var(--line); }

/* The skip link lands on two different grounds. The --deep panel is 11.42:1
   against paper, which carries the interior pages; on the dark hero it is
   --deep on --deep, 1.00:1 — a keyboard user tabbed onto a control they could
   not see. The --tint ring is 9.21:1 on that navy. Panel covers light, ring
   covers dark, and the pair costs nothing on either. */
.skip { position: absolute; left: -999px; top: 0; background: var(--deep); color: #fff;
        padding: .6rem 1rem; z-index: 200; border-radius: 0 0 6px 0; }
.skip:focus { left: 0; outline: 2.5px solid var(--tint); outline-offset: -2px; }

/* A two-column key/value table has no column headings — the heading for each
   row is the label beside it. <th scope="row"> is what tells a screen reader
   that, and it is why the label column reads as a label rather than as the
   first of two equal cells. Styled back to the weight <strong> gave it. */
/* The generic `th` above is dressed for a COLUMN header: navy ground, white
   uppercase micro-type. A row header is not that — it is a label beside its
   value, and it has to read like the cell it sits next to. Overriding only
   `color` here put --ink on --deep at 1.36:1 and made the /about firm details
   unreadable, in the same commit that called itself an accessibility fix.
   So reset the whole box, not the one property that looked wrong. */
.kv th[scope="row"] {
  background: none; color: var(--ink);
  font-family: var(--sans); font-size: .93rem; font-weight: 600;
  letter-spacing: 0; text-transform: none;
  text-align: left; white-space: nowrap; vertical-align: top;
  border: 1px solid var(--line); padding: .8rem .9rem;
}
.kv tbody tr:nth-child(even) th[scope="row"] { background: var(--paper-2); }

/* partials.js replaces the whole mount div, so a <noscript> inside it costs
   nothing when scripts run and is the only navigation when they do not. Without
   it /about, /aim-bootcamp, /pricing and /terms had no inbound link at all on a
   page that failed to execute JavaScript. Deliberately plain: it is a fallback,
   not a second design to maintain. */
.nojs-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; padding: 1rem var(--pad);
            border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.nojs-nav a { color: var(--brand-ink); }

/* ---------- kicker ---------- */
.kicker {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 1.1rem;
}
/* The logo's measuring baseline, shrunk to a label mark: a rule with one
   tick standing on it. Drawn in currentColor so it inverts on the dark band
   without needing a second rule to undo it. Aligned to the first line rather
   than the block, so it stays put when the label wraps on a narrow screen. */
.kicker::before {
  content: ""; width: 20px; height: 9px; flex: 0 0 20px; margin-top: .34em;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 20px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 1.5px 9px no-repeat,
    linear-gradient(currentColor, currentColor) 9px bottom / 1.5px 6px no-repeat;
}
.book .kicker, .sec-head.center .kicker { justify-content: center; }

.sec-head { max-width: 44em; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.sec-head p { margin-top: 1.15rem; }
.sec-head.center { margin-inline: auto; text-align: center; max-width: 38em; }

/* ---------- nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 100; background: rgba(252,253,254,.88);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
header.site.on { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(27,58,92,.05); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
             height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.lockup { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.lockup .mark { width: 26px; height: 26px; flex: 0 0 26px; color: var(--deep); }
footer.site .lockup .mark { color: #fff; }
.lockup .names { display: flex; align-items: baseline; gap: .42rem; }
.lockup:hover { text-decoration: none; }
.lname { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; letter-spacing: -.01em; }
.lsub  { font-size: .68rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-2); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--deep); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: .8rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.burger span { display: block; width: 21px; height: 1.6px; background: var(--ink); margin: 4.5px 0;
               border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
.burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.m-menu { display: none; flex-direction: column; padding: .5rem var(--pad) 1.4rem;
          border-top: 1px solid var(--line); background: var(--paper); }
.m-menu.open { display: flex; }
.m-menu .mlink { padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--deep); color: #fff; font-family: var(--sans);
  font-size: .875rem; font-weight: 500; padding: .78rem 1.45rem;
  border-radius: 6px; border: 1px solid var(--deep);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--deep-2); border-color: var(--deep-2); color: #fff;
             transform: translateY(-1px); text-decoration: none; }
/* The arrow is written in the HTML as a → character so the page still reads
   without CSS; here it becomes the Lucide glyph on the button's own colour. */
.btn .arr {
  display: inline-block; width: 1rem; height: 1rem;
  font-size: 0; line-height: 0;          /* hides the → character itself */
  background: currentColor;               /* inherits the button's own colour */
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
          mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .3s cubic-bezier(.3,.7,.2,1);
}
.btn:hover .arr { transform: translateX(4px); }
.btn.sm { padding: .6rem 1.1rem; font-size: .82rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: transparent; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-inner { position: relative; z-index: 2; max-width: 54rem; }
/* 40rem was the measure for a 3.5rem headline. At 5.4rem it broke the line
   four ways and read as cramped rather than large. */
.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { max-width: 34em; }
/* Two short facts on one line, hairline between. Kept to two deliberately:
   a third wraps, and a wrapped item drags its divider onto the new line
   where it reads as a stray mark. Below 560px they stack and the rule goes. */
.hero-meta { margin-top: 2.2rem; font-size: .82rem; color: var(--ink-2);
             display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; letter-spacing: .01em; }
.hero-meta > span + span { padding-left: 1.1rem; border-left: 1px solid var(--line-2); }
@media (max-width: 560px) {
  .hero-meta { flex-direction: column; }
  .hero-meta > span + span { padding-left: 0; border-left: 0; }
}
/* Centres itself with `translate`, not `transform`, so the motion layer can
   own `transform` for the parallax without the two overwriting each other.
   The left edge is masked to nothing: the text column is allowed to win any
   argument about space, and the art dissolves rather than colliding. */
.hero-geo {
  position: absolute; right: -9%; top: 50%; translate: 0 -50%;
  width: min(520px, 42vw); z-index: 1; pointer-events: none;
  /* #000 here is a mask stop, not a colour: a mask reads only the alpha
     channel, so the hue never renders. Not a breach of the no-stray-hex rule. */
  -webkit-mask: linear-gradient(to right, transparent, #000 30%);
          mask: linear-gradient(to right, transparent, #000 30%);
}
.hero-geo .geo-disc { fill: var(--tint); opacity: .5; }
.hero-geo .geo-grat { fill: none; stroke: var(--tint-2); stroke-width: 1.4; }
.hero-geo .geo-orbit { fill: none; stroke: var(--brand); stroke-width: 1.3; opacity: .5; }
.hero-geo .geo-node  { fill: var(--brand); stroke: none; opacity: .8; }
.hero-geo .geo-base  { fill: none; stroke: var(--deep); stroke-width: 2.2;
                       stroke-linecap: round; opacity: .5; }

/* ---------- trust band ----------
   Part of the web formula, currently unused on this site: the cells are meant
   to carry verifiable facts, and Atlas has no track record to put in them yet.
   Client skins use it. It returns here the moment there is proof to show. */
.trust { border-block: 1px solid var(--line); background: var(--paper); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-cell { padding: 1.9rem 1.6rem 1.9rem 0; }
.trust-cell + .trust-cell { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.trust-cell .n { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 400;
                 line-height: 1; color: var(--ink); font-feature-settings: "tnum"; }
.trust-cell .n sup { font-size: .5em; color: var(--brand-ink); font-weight: 500; }
.trust-cell .l { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
                 color: var(--ink-2); margin-top: .55rem; line-height: 1.5; }

/* ---------- pillars ---------- */
.pillar { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem);
          padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line-2);
          align-items: start; }
.pillar:last-of-type { border-bottom: 1px solid var(--line-2); }
/* The name and price ride alongside the long list rather than stranding a
   column of empty paper next to it. */
@media (min-width: 901px) {
  .pillar > div:first-child { position: sticky; top: 104px; }
}
.pillar .idx { font-family: var(--serif); font-size: .95rem; font-style: italic; color: var(--brand-ink);
               display: block; margin-bottom: .7rem; font-feature-settings: "tnum"; }
.pillar h2, .pillar h3 { margin-bottom: .9rem; }   /* level-agnostic: the outline may move, the spacing should not */
.pillar .p-desc { max-width: 34em; color: var(--ink-2); }
.pillar .price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: .3rem; }
.pillar .price small { font-family: var(--sans); font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.p-list { list-style: none; margin-top: 1.2rem; }
.p-list li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; color: var(--ink-2); font-size: .95rem; }
.p-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: 1rem;
  background: var(--brand);
  -webkit-mask: var(--i-check) center / contain no-repeat;
          mask: var(--i-check) center / contain no-repeat;
}

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card p { color: var(--ink-2); font-size: .95rem; }

/* ---------- note / callout ---------- */
.note { border-left: 3px solid var(--brand); background: var(--paper-2);
        padding: 1.15rem 1.4rem; border-radius: 0 8px 8px 0; margin: 1.4rem 0; }
.note p { color: var(--ink); font-size: .96rem; }
.note.quiet { border-left-color: var(--line-2); }

/* ---------- table ---------- */
table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .93rem; }
th { background: var(--deep); color: #fff; text-align: left; padding: .7rem .9rem;
     font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
td { border: 1px solid var(--line); padding: .8rem .9rem; vertical-align: top; color: var(--ink-2); }
td strong { color: var(--ink); }
tbody tr:nth-child(even) td { background: var(--paper-2); }

/* ---------- faq ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 1.15rem 0; cursor: pointer; font-weight: 500; color: var(--ink);
                    list-style: none; display: flex; justify-content: space-between; gap: 1.2rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 1.15rem; height: 1.15rem;
  background: var(--brand);
  -webkit-mask: var(--i-plus) center / contain no-repeat;
          mask: var(--i-plus) center / contain no-repeat;
  transition: transform .3s cubic-bezier(.3,.7,.2,1);
}
.faq-item summary:hover::after { transform: rotate(90deg); }
.faq-item[open] summary::after {
  -webkit-mask-image: var(--i-minus); mask-image: var(--i-minus);
  transform: rotate(180deg);
}
.faq-item .a { padding: 0 0 1.3rem; color: var(--ink-2); font-size: .96rem; max-width: 60em; }

/* ---------- book (CTA band) ---------- */
.book { background: var(--deep); color: #fff; }
.book h2, .book .lede { color: #fff; }
.book .lede { opacity: .82; }
.book .kicker { color: var(--tint); }   /* the mark follows, via currentColor */
.book .btn { background: #fff; color: var(--deep); border-color: #fff; }
.book .btn:hover { background: var(--tint); border-color: var(--tint); color: var(--deep-2); }

/* ---------- forms ---------- */
.field { margin-bottom: 1.1rem; }
label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
        text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem; }
/* --line-2 is 1.34:1 on paper. That is fine for a hairline between sections
   and not fine for the edge of a control someone has to find and click —
   1.4.11 wants 3:1, and the field's fill is the same paper as the page, so
   the border is the only boundary there is. --line-3 is 3.19:1.
   And never `outline: none` here: it is later in the sheet and more specific
   than :focus-visible, so it was quietly deleting the site's focus ring from
   every field on the contact form. Colour the border on focus as well, by all
   means — but in addition to the ring, not instead of it. */
input, select, textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line-3); border-radius: 6px;
  font-family: var(--sans); font-size: .97rem; color: var(--ink); background: var(--paper);
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--ink-2); margin-top: .9rem; }
.form-status { margin-top: 1rem; font-size: .95rem; font-weight: 500; }
.form-status.ok  { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- footer ---------- */
footer.site { background: var(--deep); color: var(--on-deep-2); padding: clamp(2.8rem,5vw,4rem) 0 1.6rem; }
footer.site .lockup, footer.site .lname { color: #fff; }
footer.site .lsub { color: var(--tint-2); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
             display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; }
.foot-grid p { color: var(--on-deep-3); font-size: .9rem; margin-top: .9rem; max-width: 32ch; }
.foot-col h3 { font-family: var(--sans); font-weight: 600; color: #fff; font-size: .72rem;
               letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: .55rem; }
.foot-col a { color: var(--on-deep-3); font-size: .91rem; }
.foot-col a:hover { color: #fff; }
.foot-bottom { max-width: var(--wrap); margin: 2.2rem auto 0; padding: 1.3rem var(--pad) 0;
               border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between;
               gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--on-deep-4); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(2.6rem,5vw,4rem) 0 clamp(3rem,6vw,5rem); }
.legal .wrap { max-width: 780px; }
.legal .updated { color: var(--ink-2); font-size: .88rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.32rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0 0 1rem 1.3rem; }
.legal li { margin-bottom: .45rem; }

/* ==========================================================================
   Motion — GSAP + ScrollTrigger + Lenis (vendored, see vendor/LICENSES.md)

   The hidden state is scoped to .js, set before paint. The page must read
   whether or not the motion layer arrives, and two things guarantee it:
   motion.js adds .motion-off itself when a library fails or setup throws,
   and an inline script in every page's <head> adds .motion-off after 3s
   unless motion.js has set .motion-on. That second one needs nothing from
   motion.js, which is the point: a 404, a block or a parse error in that one
   file once left every page invisible. This is not optional — an unscoped
   opacity:0 once made whole pages invisible to visitors and crawlers.
   ========================================================================== */

.js [data-anim] { opacity: 0; }
.js [data-anim].in { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; }

/* Motion failed, or the visitor asked for none: show everything, no transition. */
.motion-off [data-anim], .motion-off .rv { opacity: 1 !important; transform: none !important; }

/* SplitText line masking — each line rides up out of its own box.
   The mask belongs on the line, never on the h1: overflow:hidden on the
   heading itself clips descenders on the last line.

   The padding is descender room, and it has to clear the *real* face, not
   the fallback. Source Serif 4 overflowed a .1em box by 2px at 56px and the
   tails of "y" and "p" came out cut flat — invisible in local testing, where
   the webfont never loaded and Georgia's shallower descenders fit. The
   negative margin cancels the padding so layout is unchanged. */
.split-line { overflow: hidden; display: block; padding-bottom: .22em; margin-bottom: -.22em; }

/* Lenis wants the html element to stop managing scroll itself. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Section rules that draw in rather than appearing.
   Registering the property makes it a real animatable number rather than a
   string the browser re-parses on every frame. */
@property --rule-scale {
  syntax: "<number>"; inherits: false; initial-value: 1;
}
.pillar { --rule-scale: 1; }
.motion-on .pillar { border-top-color: transparent; position: relative; }
.motion-on .pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--line-2); transform: scaleX(var(--rule-scale)); transform-origin: left;
}

/* Buttons: the arrow leads, the fill follows. */
/* The label is a bare text node, so it cannot be lifted above the fill with
   z-index. Instead the button isolates its own stacking order and the fill
   sits behind everything inside it, text included. */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--deep-2);
  transform: scaleX(0); transform-origin: right; transition: transform .38s cubic-bezier(.3,.7,.2,1);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: none; }
.book .btn::after { background: var(--tint); }
.btn.ghost::after { content: none; }   /* an outline button takes no fill */

/* Cards lift on the rule, not the whole box — quieter, reads as considered. */
.card { transition: border-color .3s ease, transform .35s cubic-bezier(.3,.7,.2,1); }
.card:hover { border-color: var(--tint-2); transform: translateY(-2px); }

/* The logo mark turns a few degrees on hover. */
.lockup .mark { transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.lockup:hover .mark { transform: rotate(18deg); }

/* ---------- reduced motion ----------
   One block, and it is absolute: no motion, not less motion. motion.js
   makes the same check and never starts, so this only has to undo what
   CSS itself would do. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim], .js .rv { opacity: 1 !important; transform: none !important; }
  .btn, .btn::after, .btn .arr, .card, .lockup .mark,
  .faq-item summary::after { transition: none !important; }
  .btn:hover .arr, .faq-item summary:hover::after { transform: none !important; }
  .motion-on .pillar::before { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards, .cards.two { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-geo { display: none; }
  .hero-inner { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: block; }
  /* The header CTA wraps to two lines at this width and drags the bar to
     140px tall. The burger menu carries the same link, so drop it. */
  .nav-right .btn.sm { display: none; }
  .kicker { letter-spacing: .14em; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-cell { padding: 1.4rem 1rem 1.4rem 0; }
  .trust-cell + .trust-cell { border-left: 0; padding-left: 0; }
  .trust-cell:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.4rem; }
  .trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: .4rem; }
  table { display: block; overflow-x: auto; }
}

@media print {
  header.site, footer.site, .hero-ctas, .book, .hero-geo { display: none; }
  body { font-size: 11pt; background: #fff; }
  .js [data-anim], .js .rv { opacity: 1 !important; transform: none !important; }
  .split-line { overflow: visible; }
}

/* ==========================================================================
   Presence layer
   The restrained version read as forgettable. This is the same token
   vocabulary turned up: a dark opening that commits, display type at a size
   that behaves like a headline rather than a paragraph, and art that draws
   itself instead of fading in. Nothing here invents a colour.
   ========================================================================== */

/* ---------- display scale ----------
   The old h1 topped out at 3.5rem, which at 1440px is barely larger than the
   lede. A headline has to act like one. */
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); line-height: 1.015; letter-spacing: -.028em; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }

/* ---------- the dark opening ---------- */
.hero.dark {
  background: var(--deep);
  color: #fff;
  padding: clamp(6rem, 15vh, 11rem) 0 clamp(4.5rem, 10vh, 8rem);
  border-bottom: 0;
}
.hero.dark::before {                       /* one soft light source, top right */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 68% at 76% 26%, rgba(46,117,182,.42), transparent 70%);
}
.hero.dark::after {                        /* grain, so the flat navy has a surface */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3"/><feColorMatrix type="saturate" values="0"/></filter><rect width="140" height="140" filter="url(%23n)" opacity="0.35"/></svg>');
}
.hero.dark h1 { color: #fff; }
.hero.dark .lede { color: var(--on-deep); max-width: 40em; font-size: clamp(1.05rem, 1.55vw, 1.22rem); }
.hero.dark .kicker { color: var(--tint-2); }
.hero.dark .hero-meta { color: var(--on-deep-3); }
.hero.dark .hero-meta strong { color: #fff; }
.hero.dark .hero-meta > span + span { border-left-color: rgba(255,255,255,.22); }
.hero.dark .btn { background: #fff; color: var(--deep); border-color: #fff; }
.hero.dark .btn::after { background: var(--tint); }
.hero.dark .btn:hover { color: var(--deep-2); }

/* ---------- nav inverts while it sits over the dark opening ---------- */
.hero-dark header.site { background: transparent; backdrop-filter: none; }
.hero-dark header.site:not(.on) .lockup,
.hero-dark header.site:not(.on) .lname { color: #fff; }
.hero-dark header.site:not(.on) .lockup .mark { color: #fff; }
.hero-dark header.site:not(.on) .lsub { color: var(--tint-2); }
.hero-dark header.site:not(.on) .nav-links a { color: var(--on-deep-2); }
.hero-dark header.site:not(.on) .nav-links a:hover,
.hero-dark header.site:not(.on) .nav-links a.active { color: #fff; }
.hero-dark header.site:not(.on) .burger span { background: #fff; }
.hero-dark header.site.on { background: rgba(252,253,254,.9); backdrop-filter: saturate(180%) blur(10px); }

/* ---------- the art, on dark ---------- */
.hero.dark .hero-geo {
  right: -14%; width: min(760px, 62vw); opacity: 1;
  -webkit-mask: linear-gradient(to right, transparent, #000 34%);
          mask: linear-gradient(to right, transparent, #000 34%);
}
.hero.dark .hero-geo .geo-disc  { fill: var(--brand); opacity: .13; }
.hero.dark .hero-geo .geo-grat  { stroke: var(--geo-line); opacity: .5; stroke-width: 1.2; }
.hero.dark .hero-geo .geo-orbit { stroke: var(--geo-ring); opacity: .55; }
.hero.dark .hero-geo .geo-node  { fill: #fff; opacity: 1; }
.hero.dark .hero-geo .geo-base  { stroke: #fff; opacity: .72; stroke-width: 2.4; }

/* Strokes that draw themselves. motion.js measures each path and animates
   the offset to zero; without JS they are simply already drawn. */
.js .hero.dark .geo-grat > *, .js .hero.dark .geo-base > * { stroke-dashoffset: 0; }

/* ---------- scroll cue ---------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1.4rem, 3vh, 2.4rem); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-deep-4);
}
.scroll-cue i { display: block; width: 1px; height: 34px; background:
  linear-gradient(to bottom, rgba(255,255,255,.5), transparent); }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------- editorial numerals ----------
   Big quiet indices give a section rhythm and a place for the eye to land. */
.num-card { position: relative; padding-top: 2.6rem; }
.num-card .n {
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.9rem; line-height: 1; font-weight: 300;
  color: var(--tint-2); font-feature-settings: "tnum"; letter-spacing: -.03em;
}
.num-card h3 { margin-bottom: .55rem; }
.num-card p { color: var(--ink-2); font-size: .96rem; }

/* ---------- the line that measures ----------
   A hairline that draws across the band as it enters. Ties the page back to
   the mark without repeating the mark. */
.rule-band { position: relative; }
.rule-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line-2); transform: scaleX(var(--rule-scale, 1)); transform-origin: left;
}

/* ---------- CTA band, weightier ---------- */
.book { position: relative; overflow: hidden; }
.book::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 120% at 50% 0%, rgba(46,117,182,.38), transparent 68%);
}
.book .wrap { position: relative; z-index: 1; }
.book h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

@media (prefers-reduced-motion: reduce) {
  .hero.dark .geo-grat > *, .hero.dark .geo-base > * { stroke-dashoffset: 0 !important; }
}
@media (max-width: 900px) {
  .hero.dark .hero-geo { display: none; }
  .hero.dark { padding: clamp(4rem, 10vh, 6rem) 0 clamp(3rem, 7vh, 4.5rem); }
}

/* Borderless cards — for the numbered editorial treatment, where the numeral
   and a hairline do the work a box used to. */
.cards.bare { gap: clamp(1.6rem, 3.5vw, 3rem); }
.cards.bare .card {
  background: none; border: 0; border-top: 1px solid var(--line-2);
  border-radius: 0; padding: 1.6rem 0 0;
}
.cards.bare .card:hover { transform: none; border-color: var(--line-2); }
.cards.bare .num-card { padding-top: 1.5rem; }
.cards.bare .num-card .n { top: 1.5rem; position: static; display: block; margin-bottom: .9rem; }

/* ---------- the dark opening runs up behind the nav ----------
   Without this the sticky header keeps its own 72px band and renders as a
   pale bar sitting on top of the navy, with a white lockup invisible on it.
   The hero is pulled up under the header and pads itself back out; the
   header keeps z-index 100 so it stays above. */
/* Gated on .js because the space this margin reclaims belongs to a header
   partials.js injects. With scripts off there is no header — only the
   <noscript> fallback nav, in normal flow — and the hero was pulled up 72px
   straight over it. The homepage then had no navigation at all without
   JavaScript, which is the exact thing the fallback was added to prevent. */
.js .hero-dark .hero.dark {
  margin-top: calc(-1 * var(--nav-h, 72px));
}
.hero-dark .hero.dark {
  padding-top: calc(var(--nav-h, 72px) + clamp(4.5rem, 12vh, 9rem));
}
.hero-dark header.site { border-bottom-color: transparent; box-shadow: none; }
.hero-dark header.site.on { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(27,58,92,.05); }

/* The art sits well clear of the text column: pushed further out, and faded
   across nearly half its width so the baseline never argues with a headline. */
.hero.dark .hero-geo {
  right: -20%; width: min(820px, 66vw);
  -webkit-mask: linear-gradient(to right, transparent, #000 46%);
          mask: linear-gradient(to right, transparent, #000 46%);
}
.hero.dark .hero-geo .geo-base { opacity: .5; stroke-width: 2; }
.hero.dark .hero-geo .geo-node { opacity: .85; }

/* The nav CTA is a solid navy button — invisible on a navy hero. While the
   header sits over the dark opening it becomes an outline, and returns to
   solid the moment the header condenses onto paper. */
.hero-dark header.site:not(.on) .btn.sm {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.38);
}
.hero-dark header.site:not(.on) .btn.sm::after { background: rgba(255,255,255,.14); }
.hero-dark header.site:not(.on) .btn.sm:hover { color: #fff; border-color: #fff; }

/* The orbit node lands hard against the viewport edge at this scale and reads
   as a speck of dust rather than a detail. The ring alone is enough. */
.hero.dark .hero-geo .geo-node { display: none; }

/* ---------- the engagement ladder ----------
   Three small boxes made the section that actually sells read as a footnote.
   Full-width rungs give each step room, a numeral to land on, and a right-hand
   column for the one fact a reader is scanning for. */
.ladder { list-style: none; counter-reset: none; }
.rung {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(1.2rem, 3.2vw, 3rem); align-items: start;
  padding: clamp(1.8rem, 3.4vw, 2.8rem) 0;
  border-top: 1px solid var(--line-2);
}
.rung:last-child { border-bottom: 1px solid var(--line-2); }
.rn {
  font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 300;
  line-height: 1; color: var(--tint-2); font-feature-settings: "tnum"; letter-spacing: -.03em;
  min-width: 2.2ch;
}
.rung h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin-bottom: .6rem; }
.rung h3 em { font-style: italic; font-weight: 400; color: var(--brand-ink); font-size: .74em; }
.rung .rbody p { color: var(--ink-2); max-width: 46em; margin: 0; }
.rmeta {
  text-align: right; font-size: .84rem; color: var(--ink); font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; margin: .5rem 0 0;
}
.rmeta span { display: inline-block; font-weight: 400; color: var(--ink-2); margin-top: .1rem; }
@media (max-width: 780px) {
  .rung { grid-template-columns: auto 1fr; }
  .rmeta { grid-column: 2; text-align: left; white-space: normal; margin-top: .9rem; }
}

/* ---------- body type, lifted ----------
   With an 86px headline above them, 16px cards read as fine print. */
.card h3, .num-card h3 { font-size: clamp(1.15rem, 1.7vw, 1.32rem); }
.card p, .num-card p { font-size: 1rem; }
.p-list li { font-size: 1rem; }
.num-card .n { font-size: 3.2rem; color: var(--tint-2); }

/* ---------- the pull quote ----------
   "We do not promise results we cannot evidence" is the most distinctive
   sentence on the site and it was sitting in a pale box at 15px. At display
   size it becomes the thing a reader remembers. */
.pull { border-left: 2px solid var(--brand); padding: .2rem 0 .2rem 1.6rem; margin: 0 0 1.8rem; }
.pull p {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.2; letter-spacing: -.015em; color: var(--ink);
  text-wrap: balance; margin: 0 0 1rem;
}
.pull footer { font-size: .96rem; color: var(--ink-2); line-height: 1.65; }
.aside { font-size: .93rem; color: var(--ink-2); padding-left: 1.6rem;
         border-left: 1px solid var(--line-2); }
.aside strong { color: var(--ink); }

/* Commitments carry a hairline each, so the column has structure without boxes. */
.commitments li { padding-bottom: .95rem; margin-bottom: .95rem; border-bottom: 1px solid var(--line); }
.commitments li:last-child { border-bottom: 0; }
.commitments li strong { display: block; margin-bottom: .1rem; }

/* The .hero-dark rule above outranks the earlier mobile padding override,
   so the mobile hero has to be restated at matching specificity or it keeps
   the desktop's 12vh of empty navy above the kicker. */
@media (max-width: 900px) {
  .hero-dark .hero.dark {
    padding-top: calc(var(--nav-h, 72px) + clamp(2rem, 6vh, 3.5rem));
    padding-bottom: clamp(2.5rem, 6vh, 4rem);
  }
}

/* ---------- booking block ----------
   Only ever visible when site-config.js carries a real URL; see contact.html. */
.book-cta {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 10px; padding: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.6rem;
}
.book-cta h2, .book-cta h3 { margin-bottom: .45rem; }
.book-cta p { color: var(--ink-2); font-size: .96rem; margin-bottom: 1.2rem; }
.or-line {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.6rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.or-line::before, .or-line::after {
  content: ""; flex: 1; height: 1px; background: var(--line-2);
}

/* ==========================================================================
   Light opening — the default
   The presence pass was built on a navy ground, but almost none of it was
   about the colour: the display scale, the ladder, the pull quote and the
   self-drawing mark all work on paper. What follows carries the weight over,
   so the light opening is the strong version rather than the timid one it
   replaced. The .hero.dark rules stay in the sheet — the opening is still a
   one-class flip, see website/RESTORE.md.
   ========================================================================== */

.hero { position: relative; }

/* One cool wash from the top right — the paper equivalent of the navy's
   light source. Far quieter, because on paper it only has to stop the
   background reading as a flat sheet. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(62% 70% at 82% 18%, var(--tint), transparent 68%),
    linear-gradient(to bottom, var(--paper-2), transparent 42%);
  opacity: .5;
}
.hero.dark::before { opacity: 1; }   /* the dark rule keeps its own gradient */

/* The art earns the same room it had on navy. Brand-weight strokes, because
   on paper the tint alone disappears at this scale. */
.hero:not(.dark) .hero-geo {
  right: -16%; width: min(760px, 60vw);
  -webkit-mask: linear-gradient(to right, transparent, #000 42%);
          mask: linear-gradient(to right, transparent, #000 42%);
}
.hero:not(.dark) .hero-geo .geo-disc  { fill: var(--tint); opacity: .34; }
.hero:not(.dark) .hero-geo .geo-grat  { stroke: var(--tint-2); opacity: .95; stroke-width: 1.3; }
.hero:not(.dark) .hero-geo .geo-orbit { stroke: var(--brand); opacity: .38; }
.hero:not(.dark) .hero-geo .geo-node  { display: none; }
.hero:not(.dark) .hero-geo .geo-base  { stroke: var(--deep); opacity: .34; stroke-width: 2.2; }

/* Strokes draw themselves here too — it belongs to the artwork, not the
   ground behind it. Without JS they are simply already drawn. */
.js .hero .geo-grat > *, .js .hero .geo-base > * { stroke-dashoffset: 0; }

/* Scroll cue, on paper. */
.hero:not(.dark) .scroll-cue { color: var(--ink-2); opacity: .7; }
.hero:not(.dark) .scroll-cue i {
  background: linear-gradient(to bottom, var(--line-2), transparent);
}

/* Give the light opening the vertical room the navy one had. Without a dark
   ground doing the work, air is what makes it read as deliberate. */
.hero:not(.dark) {
  padding: clamp(4.5rem, 12vh, 8.5rem) 0 clamp(4rem, 9vh, 7rem);
}
@media (max-width: 900px) {
  .hero:not(.dark) { padding: clamp(3rem, 8vh, 4.5rem) 0 clamp(2.5rem, 6vh, 4rem); }
  .hero:not(.dark) .hero-geo { display: none; }
}

/* ==========================================================================
   Ambient background — dark opening only
   The navy was handsome and completely still. This gives it weather: three
   soft light sources drifting on long cycles over a slowly travelling
   graticule. Nothing here is decorative noise — the grid is the same
   latitude/longitude language as the mark, just at page scale.

   Rules it follows:
     · transform and opacity only, so every frame composites on the GPU
     · cycles are mutually prime (34/47/61/80s) so the loop never lands in
       the same place twice and the eye cannot find the repeat
     · large, slow and low-contrast. Small fast movement reads as a gimmick;
       this should only be noticeable if you stop and look
     · with JS off or reduced motion, the layers are simply static
   ========================================================================== */

.hero-aura {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  z-index: 0; contain: strict;
}
.hero:not(.dark) .hero-aura { display: none; }   /* paper opening keeps its wash */

.aura {
  position: absolute; display: block; border-radius: 50%;
  will-change: transform;
  /* No blur filter. A radial-gradient is already soft-edged, so blurring it
     was redundant — and measured at 34ms per frame on its own, taking the
     hero from 16ms to 54ms (roughly 60fps to 17fps). Without it the whole
     ambient layer costs about 3ms. If these ever need to be softer, widen
     the gradient's transparent stop; never reach for a filter on a
     600–800px element that animates. */
}
.a1 {
  width: 58vw; height: 58vw; top: -16%; right: -6%;
  background: radial-gradient(circle, var(--aura-1), var(--aura-1b) 42%, transparent 70%);
}
.a2 {
  width: 46vw; height: 46vw; bottom: -22%; left: 8%;
  background: radial-gradient(circle, var(--aura-2), var(--aura-2b) 44%, transparent 72%);
}
.a3 {
  width: 34vw; height: 34vw; top: 22%; left: 34%;
  background: radial-gradient(circle, var(--aura-3), var(--aura-3b) 46%, transparent 74%);
}

/* The graticule at page scale — the mark's language spread across the band.
   One extra cell of height so the vertical travel can loop seamlessly. */
.hero-grid {
  position: absolute; left: -2px; right: -2px; top: -88px; height: calc(100% + 176px);
  background-image:
    linear-gradient(var(--grid-h) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-v) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask: radial-gradient(76% 68% at 62% 42%, #000, transparent 78%);
          mask: radial-gradient(76% 68% at 62% 42%, #000, transparent 78%);
  will-change: transform;
}

/* The static glow that ::before used to provide is now the aura's job, so the
   dark hero's own gradient steps back to a base tone the layers sit on. */
.hero.dark::before {
  background: radial-gradient(70% 80% at 78% 22%, var(--aura-base), transparent 72%);
}
/* Stacking only. Never restate `position` here: .hero-geo and .scroll-cue are
   absolutely positioned, and setting them to relative drops the 820px SVG into
   normal flow — it pushed the hero from 900px to 1722px and shoved every word
   below the fold. */
/* .hero-inner and .scroll-cue already stack correctly from their base rules;
   only the art needed placing between the aura (0) and the words (2). */
.hero.dark .hero-geo { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .aura, .hero-grid { animation: none !important; transform: none !important; }
}
@media (max-width: 900px) {
  .a3 { display: none; }
  .hero-grid { background-size: 62px 62px; }
}

/* ---------- week list ----------
   The eight-session outline. Tighter than .ladder — there are eight of these
   rather than three, so they need to scan as a sequence, not as eight offers. */
.weeks { list-style: none; counter-reset: none; }
.wk {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 2.6vw, 2rem);
  align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line-2);
}
.wk:last-child { border-bottom: 1px solid var(--line-2); }
.wn {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300; line-height: 1.15;
  color: var(--tint-2); font-feature-settings: "tnum"; letter-spacing: -.02em; min-width: 2.1ch;
}
.wk h3 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); margin-bottom: .4rem; }
.wk p { color: var(--ink-2); font-size: .97rem; margin: 0; max-width: 60em; }

/* Inline code — first used on /aim-bootcamp for a file extension. Quiet: this
   is a professional-services site, not developer documentation. */
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em; background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px; padding: .08em .38em;
}
.book code, .hero.dark code { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }

/* ==========================================================================
   Fixes from the adversarial audit of the ambient layer
   Each of these was measured, not guessed. Numbers are in the notes.
   ========================================================================== */

/* Focus ring on dark grounds. --brand on --deep measures 2.40:1, under the 3:1
   minimum for a non-text indicator — so on the navy hero, the CTA band and the
   footer the ring was nearly invisible, and the auras brighten the ground
   further as they drift. --tint measures 9.21:1 against the same navy. */
.hero.dark :focus-visible,
.book :focus-visible,
footer.site :focus-visible { outline-color: var(--tint); }

/* The header is a sibling of .hero.dark, not a descendant, so the rule above
   never reached it — and over the navy it is the one bar that is always there.
   --brand on --deep is 2.40:1; --tint is 9.21:1. Scoped to :not(.on), because
   once the header condenses it has its own paper background back. */
.hero-dark header.site:not(.on) :focus-visible { outline-color: var(--tint); }

/* ...but not inside the mobile panel. .m-menu is a descendant of that same
   header and is paper even on the dark homepage, so the rule above put a
   --tint ring on white: 1.24:1, measured, on the site's main mobile entry
   point. Scope by what a thing sits ON, never by what it is nested in. */
.hero-dark header.site:not(.on) .m-menu :focus-visible { outline-color: var(--brand); }

/* Scroll cue was #7e9cb4 on navy: 4.04:1, under 4.5:1 at ~11px. --tint-2 is
   7.23:1. It is decorative, but it is also text, so it meets the text bar. */
.hero.dark .scroll-cue { color: var(--tint-2); opacity: .85; }

/* Compositor promotion only where something actually animates. will-change on
   four large layers pins compositor memory for reduced-motion and no-JS
   visitors who will never see a frame of it. motion-on is set by start(),
   which those paths never reach. */
.aura, .hero-grid { will-change: auto; }
.motion-on .aura, .motion-on .hero-grid { will-change: transform; }

/* Print. The navy ground is dropped by every browser's background-graphics
   default, but the white text was not — the whole hero printed as a blank
   sheet. Anything a CPA might print has to survive losing its background. */
@media print {
  .hero-aura, .hero.dark::before, .hero.dark::after { display: none !important; }
  .hero.dark { background: none !important; }
  .hero.dark h1, .hero.dark .lede, .hero.dark .hero-meta,
  .hero.dark .hero-meta strong, .hero.dark .kicker { color: #000 !important; }
  .hero.dark .btn { color: #000 !important; background: none !important;
                    border-color: #000 !important; }
}

/* ---------- screenshots of the work ----------
   The sample client site and the sample monthly report, shown as pictures
   that open the live page. Framed as a browser window so it reads as a
   working site rather than a mock-up. The whole picture is a link; the
   page's one primary action stays the button. */
.shots { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: start; }
.shot { margin: 0; }
.shot > a { display: block; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden;
            background: var(--paper); box-shadow: 0 24px 48px -30px var(--shade);
            transition: transform .35s cubic-bezier(.3,.7,.2,1), border-color .3s ease; }
.shot > a:hover { border-color: var(--tint-2); transform: translateY(-2px); text-decoration: none; }
.shot-bar { display: flex; align-items: center; gap: .38rem; padding: .5rem .85rem; background: var(--paper-2);
            border-bottom: 1px solid var(--line); font-size: .74rem; line-height: 1.2; color: var(--ink-2); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: 0 0 8px; }
.shot-bar span { margin-left: .45rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 1rem; font-size: .95rem; color: var(--ink-2); max-width: 40em; }
.shot figcaption strong { color: var(--ink); }
.shot figcaption a { white-space: nowrap; }
/* On the home page: picture left, words right. */
.shot.row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.4rem, 3.5vw, 2.8rem);
            align-items: center; margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.shot.row figcaption { margin-top: 0; font-size: 1rem; }
@media (max-width: 900px) {
  .shots, .shot.row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .shot > a { transition: none; }
  .shot > a:hover { transform: none; }
}
@media print {
  .shot > a { box-shadow: none; }
}

/* ===== direction A ===== */
/* ==========================================================================
   "Stage" — a light opening with the real thing on one navy panel.

   A modest serif headline and one button on paper; under it a wide rounded
   panel in --deep carrying what a client actually gets: their site in a
   browser and on a phone, an emailed change with its reply, a slice of the
   monthly report. Below it the same work again, tile by tile.

   Two rules this block keeps:
     · Every colour is a token. The example client's site wears the --demo-*
       skin and Inter at heavy weights, so it never reads as Atlas.
     · Nothing inside .hero carries .rv or [data-anim] except the four
       elements motion.js owns. The stage animates with CSS only, and its
       resting state is the visible one.
   ========================================================================== */

/* fonts.css declares Inter at 400, 500 and 600. The vendored file is the
   variable font, so one more face under its own family name opens the rest of
   the weight axis for the example client's site. Same file, no new request. */
@font-face {
  font-family: "Inter Demo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-normal.woff2) format("woff2");
}

/* ---------- the opening ---------- */
.hero.stage-hero { padding: clamp(1.9rem, 4.8vh, 2.75rem) 0 0; overflow: visible; }
.hero.stage-hero::before { content: none; }
.sh-head {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.hero.stage-hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.875rem); line-height: 1.06;
  letter-spacing: -.024em; margin: 0;
}
.sh-side { padding-top: .55rem; }
.hero.stage-hero .lede {
  max-width: 25em; margin: 0; color: var(--ink-2);
  font-size: clamp(1.02rem, 1.25vw, 1.1rem); line-height: 1.6;
}
.hero.stage-hero .hero-ctas { margin-top: 1.5rem; }
.hero.stage-hero .btn, .book .btn { font-size: .93rem; line-height: 1.35; padding: .9rem 1.5rem; border-radius: 8px; }
.hero.stage-hero .hero-meta { margin-top: .95rem; font-size: .82rem; display: block; }
.hero.stage-hero .hero-meta > span { display: block; }
.hero.stage-hero .hero-meta > span + span { padding-left: 0; border-left: 0; margin-top: .3rem; }

/* ---------- the stage ---------- */
.stage {
  --gut: clamp(.75rem, 5.5vw, 5rem);
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  width: min(1280px, calc(100% - 2 * var(--gut)));
  margin: clamp(1.5rem, 3.4vh, 2rem) auto 0;
  border-radius: clamp(14px, 1.7vw, 24px);
  background:
    radial-gradient(54% 80% at 88% -8%, var(--stage-glow), transparent 72%),
    radial-gradient(44% 62% at 0% 110%, var(--stage-glow-2), transparent 70%),
    linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 100%);
  box-shadow: inset 0 1px 0 var(--stage-edge);
  container-type: inline-size;
}
.stage::before {                           /* grain, so the navy has a surface */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .3;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3"/><feColorMatrix type="saturate" values="0"/></filter><rect width="140" height="140" filter="url(%23n)" opacity="0.35"/></svg>');
}
.stage::after {                            /* the graticule, fading away from the light */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--stage-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--stage-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask: radial-gradient(110% 120% at 85% 0%, #000 25%, transparent 88%);
          mask: radial-gradient(110% 120% at 85% 0%, #000 25%, transparent 88%);
}

/* The canvas. On a wide screen it is a fixed drawing 80em by 43.5em whose em
   follows the stage's width, so the composition holds from 1001px up. */
.cl { position: relative; font-family: var(--sans); line-height: 1.4; color: var(--ink); text-align: left; }
.cl i, .cl em { font-style: normal; }
.cl time { font-variant-numeric: normal; }

.cl-note { display: flex; align-items: center; gap: .75em; font-size: .75em; color: var(--on-deep-3); }
.chip-ex {
  display: inline-flex; align-items: center; font-family: var(--sans);
  font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-deep); background: var(--stage-chip); border: 1px solid var(--stage-edge);
  border-radius: 99px; padding: .28em .85em; line-height: 1.5;
}
.cl-note .chip-ex { font-size: .9em; }
.chip-ex.on-paper { color: var(--brand-ink); background: var(--paper); border-color: var(--tint-2); }

/* --- browser frame --- */
.bw {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--demo-paper); border-radius: .8em;
  box-shadow: 0 0 0 1px var(--stage-edge), 0 2.6em 5em -1.6em var(--shade-stage);
}
.bw-bar {
  position: relative; flex: 0 0 auto; height: 2.5em;
  display: flex; align-items: center; gap: .45em; padding: 0 1em 0 2.25em;
  background: var(--demo-chrome); border-bottom: 1px solid var(--demo-line);
}
.bw-bar > i { width: .65em; height: .65em; border-radius: 50%; background: var(--demo-chrome-2); }
.bw-url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-width: 18em;
  font-size: .72em; font-weight: 500; color: var(--demo-ink-2); white-space: nowrap;
  background: var(--demo-paper); border: 1px solid var(--demo-line); border-radius: .55em; padding: .26em 1.2em;
}
.bw-url svg { width: .95em; height: .95em; flex: 0 0 auto; }

/* --- the example client's site: its own skin, Inter at heavy weights --- */
.ds {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  font-family: "Inter Demo", var(--sans); color: var(--demo-ink); background: var(--demo-paper);
}
.ds-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 1.6em;
  height: 3.6em; padding: 0 2.25em; border-bottom: 1px solid var(--demo-line);
}
.ds-logo {
  display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
  font-family: "Inter Demo", var(--sans); font-size: .95em; font-weight: 800;
  letter-spacing: -.03em; color: var(--demo-ink);
}
.ds-logo b { position: relative; flex: 0 0 auto; width: 1.3em; height: 1.3em; border-radius: .42em; background: var(--demo-accent); }
.ds-logo b::after {
  content: ""; position: absolute; inset: .3em; border-radius: 50%;
  border: .17em solid var(--demo-paper); border-right-color: transparent; transform: rotate(-45deg);
}
.ds-nav { display: flex; gap: 1.7em; margin-left: auto; font-size: .75em; font-weight: 500; color: var(--demo-ink-2); }
.ds-call {
  font-size: .74em; font-weight: 700; color: var(--demo-accent); background: var(--demo-tint);
  border-radius: 99px; padding: .5em 1em; white-space: nowrap;
}
.ds-hero {
  flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 16em; gap: 2em; align-items: center;
  padding: 2.4em 7.3em 2.5em 2.25em; background: var(--demo-tint);
}
.ds-eyebrow {
  display: block; font-size: .66em; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--demo-accent);
}
.ds-h {
  display: block; margin: .4em 0 .45em; font-size: 2.1em; font-weight: 800; line-height: 1.06;
  letter-spacing: -.04em; color: var(--demo-ink); text-wrap: balance;
}
.ds-p { display: block; font-size: .82em; line-height: 1.55; color: var(--demo-ink-2); }
.ds-acts { display: flex; align-items: center; gap: 1.3em; margin-top: 1.4em; }
.ds-btn {
  display: inline-block; font-size: .8em; font-weight: 700; color: #fff; white-space: nowrap;
  background: var(--demo-accent); border-radius: 99px; padding: .72em 1.4em;
}
.ds-link { font-size: .8em; font-weight: 700; color: var(--demo-ink); box-shadow: 0 1.5px 0 var(--demo-accent); }

.ds-hours {
  background: var(--demo-paper); border-radius: 1em; padding: 1.1em 1.15em .7em;
  box-shadow: 0 0 0 1px var(--demo-tint-2), 0 1.4em 2.6em -1.4em var(--demo-shade);
}
.ds-hours-h { display: flex; align-items: center; justify-content: space-between; gap: .6em; margin-bottom: .7em; }
.ds-hours-h > span { font-size: .86em; font-weight: 800; letter-spacing: -.02em; }
.ds-hours-h em { display: inline-flex; align-items: center; gap: .5em; font-size: .64em; font-weight: 700; color: var(--demo-accent); }
.ds-hours-h em::before {
  content: ""; width: .6em; height: .6em; border-radius: 50%;
  background: var(--demo-accent-2); box-shadow: 0 0 0 .24em var(--demo-tint-2);
}
.ds-row {
  display: flex; align-items: center; justify-content: space-between; gap: .8em;
  font-size: .72em; padding: .62em 0; border-top: 1px solid var(--demo-line);
}
.ds-row > span:first-child { display: inline-flex; align-items: center; gap: .55em; color: var(--demo-ink-2); font-weight: 500; }
.ds-row > span:last-child { color: var(--demo-ink); font-weight: 700; white-space: nowrap; }
.ds-row.is-new {
  margin: 0 -.75em; padding: .62em .75em; border-top-color: transparent;
  border-radius: .6em; background: var(--demo-tint);
}
.ds-row.is-new + .ds-row { border-top-color: transparent; }
.ds-row.is-new > span:first-child { color: var(--demo-ink); font-weight: 700; }
.ds-row i {
  font-size: .8em; font-weight: 800; letter-spacing: .03em; color: #fff;
  background: var(--demo-accent); border-radius: 99px; padding: .14em .62em;
}

.ds-services {
  flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 7.3em 0 2.25em;
}
.ds-services > div { padding: 1.4em 1.4em 0 0; }
.ds-services > div + div { padding-left: 1.4em; border-left: 1px solid var(--demo-line); }
.ds-services b { display: block; font-size: .86em; font-weight: 800; letter-spacing: -.02em; margin-bottom: .3em; }
.ds-services span { display: block; font-size: .72em; line-height: 1.5; color: var(--demo-ink-2); }

/* --- phone frame --- */
.ph {
  background: var(--device); border-radius: 2.15em; padding: .5em;
  box-shadow: 0 0 0 1px var(--device-2), 0 2.6em 4.6em -1.4em var(--shade-stage);
}
.ph-in {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 1.7em; background: var(--demo-paper);
  font-family: "Inter Demo", var(--sans); color: var(--demo-ink);
}
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: .95em 1.9em .35em; font-size: .62em; font-weight: 700; }
.ph-sig { display: inline-flex; align-items: flex-end; gap: .2em; }
.ph-sig i { width: .3em; border-radius: .1em; background: var(--demo-ink); }
.ph-sig i:nth-child(1) { height: .5em; }
.ph-sig i:nth-child(2) { height: .75em; }
.ph-sig i:nth-child(3) { height: 1em; }
.ph-head { display: flex; align-items: center; justify-content: space-between; padding: .5em .9em .7em; border-bottom: 1px solid var(--demo-line); }
.ph-head .ds-logo { font-size: .8em; }
.ph-burger { display: inline-flex; flex-direction: column; gap: .28em; }
.ph-burger i { width: 1.1em; height: .14em; border-radius: 1px; background: var(--demo-ink); }
.ph-hero { padding: 1.15em .9em 1.25em; background: var(--demo-tint); }
.ph-hero .ds-eyebrow { font-size: .5em; }
.ph-hero .ds-h { font-size: 1.38em; margin-bottom: .6em; }
.ph-hero .ds-btn { display: block; text-align: center; font-size: .72em; }
.ph-hours { padding: .95em .9em 0; }
.ph-hours .ds-hours-h { margin-bottom: .5em; }
.ph-hours .ds-hours-h > span { font-size: .76em; }
.ph-hours .ds-hours-h em { font-size: .56em; }
.ph-hours .ds-row { font-size: .62em; padding: .58em 0; }
.ph-hours .ds-row.is-new { padding: .58em .75em; }
.ph-bar { margin-top: auto; padding: .7em .9em 1em; border-top: 1px solid var(--demo-line); }
.ph-bar span {
  display: block; text-align: center; font-size: .72em; font-weight: 700; color: var(--demo-accent);
  border: 1.5px solid var(--demo-accent); border-radius: 99px; padding: .55em 1em;
}

/* --- floating cards: the email, the report --- */
.fc {
  background: var(--paper); border-radius: 1em; padding: .95em 1.1em 1.05em; color: var(--ink);
  box-shadow: 0 0 0 1px var(--stage-edge), 0 .3em .9em var(--shade-near), 0 1.6em 3em -1em var(--shade-float);
}
.fc-top { display: flex; align-items: center; justify-content: space-between; gap: .8em; margin-bottom: .8em; }
.fc-kind {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .66em; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-2);
}
.fc-kind svg { width: 1.4em; height: 1.4em; flex: 0 0 auto; color: var(--brand); }
.fc time { font-size: .66em; color: var(--ink-2); white-space: nowrap; }
.msg { display: flex; align-items: flex-start; gap: .7em; }
.msg + .msg { margin-top: .75em; padding-top: .75em; border-top: 1px solid var(--line); }
.av {
  flex: 0 0 auto; width: 2.2em; height: 2.2em; border-radius: 50%;
  display: grid; place-items: center; font-size: .78em; font-weight: 700;
}
.av-c { background: var(--demo-tint-2); color: var(--demo-accent); }
.av-a { background: var(--deep); color: #fff; }
.av-a svg { width: 1.3em; height: 1.3em; }
.msg-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.msg-h { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; }
.msg-h b { font-size: .78em; font-weight: 600; color: var(--ink); }
.msg-t { margin-top: .22em; font-size: .8em; line-height: 1.5; color: var(--ink-2); }
.live {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .4em; margin-top: .6em;
  font-size: .74em; font-weight: 600; color: var(--brand-ink); background: var(--tint);
  border-radius: 99px; padding: .32em .85em .32em .6em;
}
.tick {
  display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: var(--i-check) center / contain no-repeat;
          mask: var(--i-check) center / contain no-repeat;
}
.rp-num { display: flex; align-items: flex-end; gap: .8em; }
.rp-num b {
  font-family: var(--serif); font-weight: 400; font-size: 3.6em; line-height: .84;
  letter-spacing: -.035em; color: var(--ink); font-feature-settings: "lnum";
}
.rp-num span { font-size: .76em; line-height: 1.35; color: var(--ink-2); padding-bottom: .1em; }
.rp-sub { margin-top: 1em; padding-top: .8em; border-top: 1px solid var(--line); font-size: .7em; font-weight: 600; color: var(--ink); }
.rp-bars { margin-top: .6em; display: grid; gap: .42em; }
.rp-bars > div {
  display: grid; grid-template-columns: 4.7em minmax(0, 1fr) 1.7em; align-items: center; gap: .6em;
  font-size: .7em; color: var(--ink-2);
}
.rp-bars i { display: block; width: var(--w, 50%); height: .38em; border-radius: 99px; background: var(--line-2); }
.rp-bars b { font-weight: 500; text-align: right; }
.rp-bars .is-you { color: var(--ink); font-weight: 600; }
.rp-bars .is-you i { background: var(--brand); }
.rp-bars .is-you b { font-weight: 600; }

/* --- the composition, wide screens --- */
@media (min-width: 1001px) {
  .cl { height: 44.6em; font-size: 1.111vw; font-size: min(16px, 1.25cqw); }
  .cl-note  { position: absolute; left: 3.7em;   top: 1.9em; }
  .bw       { position: absolute; left: 21.95em; top: 5.5em;   width: 46.25em; height: 34.75em; }
  .ph       { position: absolute; left: 62.7em;  top: 14.1em;  width: 13.4em;  height: 27.4em; }
  .fc-mail  { position: absolute; left: 3.7em;   top: 5.5em;   width: 19.75em; }
  .fc-report{ position: absolute; left: 3.7em;   top: 21.3em;  width: 19.75em; }
}
/* The two cards form one column: same left edge, same width, the first level
   with the top of the browser, so the cluster reads as three aligned pieces
   and not as a pile. */

/* --- the composition, tablets and phones: a stack, no phone-in-a-phone --- */
@media (max-width: 1000px) {
  .stage { --gut: calc(var(--pad) - 8px); }
  .cl {
    font-size: 14px; padding: 1.15em 1.15em 1.6em;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; align-items: start;
  }
  .cl-note, .bw { grid-column: 1 / -1; }
  .ph { display: none; }
  .bw-bar { padding-left: 1.6em; }
  .ds-head { padding: 0 1.6em; }
  .ds-hero { padding: 2.2em 1.6em 3.6em; }
  .ds-services { padding: 0 1.6em 3.4em; }
  .fc { position: relative; margin-top: -3em; }
  .fc-mail { margin-left: 1.2em; }
  .fc-report { margin-right: 1.2em; }
}
@media (max-width: 700px) {
  .cl { font-size: 13.5px; grid-template-columns: minmax(0, 1fr); padding: 1em .8em 1.3em; gap: .9em; }
  .cl-note { font-size: .8em; }
  .bw-url { min-width: 0; }
  .bw-bar { padding-left: 1.15em; }
  .ds-head { height: 3.3em; padding: 0 1.15em; }
  .ds-nav { display: none; }
  .ds-call { margin-left: auto; }
  .ds-hero { grid-template-columns: minmax(0, 1fr); gap: 1.5em; padding: 1.6em 1.15em 3.2em; }
  .ds-h { font-size: 1.85em; }
  .ds-services { display: none; }
  .fc-mail { margin: -2.3em 1.6em 0 0; }
  .fc-report { margin: 0 0 0 2.4em; }
}

/* --- entrance: CSS only, and the resting state is the visible one --- */
@keyframes stage-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes piece-in { from { opacity: 0; transform: translateY(1.5em); } to { opacity: 1; transform: none; } }
/* Scoped to .js so a page without scripts shows the stage at once, complete.
   .js is set in the head before first paint, so with scripts it still plays. */
@media (prefers-reduced-motion: no-preference) {
  .js .stage            { animation: stage-in .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .js .stage .bw        { animation: piece-in .9s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .js .stage .ph        { animation: piece-in .9s cubic-bezier(.2, .7, .2, 1) .46s both; }
  .js .stage .fc-mail   { animation: piece-in .8s cubic-bezier(.2, .7, .2, 1) .6s both; }
  .js .stage .fc-report { animation: piece-in .8s cubic-bezier(.2, .7, .2, 1) .74s both; }
}

/* ---------- 2 · what you get ---------- */
.get { padding-top: clamp(2.8rem, 5vw, 4.25rem); }

.facts {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(3.4rem, 6.5vw, 5.25rem);
}
.facts li { padding-right: 1.6rem; }
.facts li + li { padding-left: 1.6rem; border-left: 1px solid var(--line-2); }
.fn {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .55rem;
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.9rem, 5.2vw, 4.4rem);
  line-height: 1; letter-spacing: -.035em; color: var(--ink); font-feature-settings: "lnum";
}
.fn small { font-size: .3em; font-style: italic; letter-spacing: -.005em; color: var(--brand-ink); }
.fl { display: block; margin-top: .9rem; font-size: .92rem; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }

/* A section head in two columns: the statement left, the explanation right.
   The same split as the opening, so the page keeps one rhythm. */
.sec-head.two {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 5vw, 4.5rem); align-items: end;
}
.sec-head.two .lede { margin-top: 0; }
.ex-note { display: flex; align-items: center; gap: .7rem; font-size: .84rem; color: var(--ink-2); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  position: relative; grid-column: span 4; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.9rem 1.9rem 0;
}
.tile.w5 { grid-column: span 5; }
.tile.w7 { grid-column: span 7; }
.tile.w8 { grid-column: span 8; }
.tile-txt { margin-bottom: 1.8rem; }
.tile h3 { font-size: clamp(1.25rem, 1.75vw, 1.45rem); font-weight: 400; letter-spacing: -.012em; }
.tile p { margin: .55rem 0 0; max-width: 33em; color: var(--ink-2); font-size: .97rem; line-height: 1.6; text-wrap: pretty; }

/* An interface fragment: a window rising from the foot of its tile. */
.frag {
  margin-top: auto; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: 12px 12px 0 0; box-shadow: 0 -14px 36px -22px var(--shade-tile);
  font-size: .8rem; line-height: 1.4; color: var(--ink);
}
.frag i { font-style: normal; }
.fr-head {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .72rem 1rem; border-bottom: 1px solid var(--line);
}
.fr-title { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.fr-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--tint); }
.fr-meta { font-size: .72rem; color: var(--ink-2); white-space: nowrap; }
.rq-l {
  display: block; margin-bottom: .3rem; font-family: var(--sans);
  font-size: .64rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
}
.st {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  font-size: .72rem; font-weight: 500; border-radius: 99px; padding: .16rem .6rem .16rem .45rem;
}
.st.ok { color: var(--brand-ink); background: var(--tint); }
.st.wait { color: var(--ink); background: var(--paper); border: 1px dashed var(--line-3); padding: .1rem .6rem; }

/* the private preview: pages on the left, the page itself on the right */
.pv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.pv-list { padding: .55rem; border-right: 1px solid var(--line); }
.pv-row {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .55rem .6rem; border-radius: 8px; font-weight: 500;
}
.pv-row.is-on { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.pv-page {
  align-self: end; margin: .9rem .9rem 0; overflow: hidden; display: flex; flex-direction: column;
  font-size: 11px; background: var(--demo-paper);
  border: 1px solid var(--demo-tint-2); border-bottom: 0; border-radius: 10px 10px 0 0;
}
.pv-top { display: flex; align-items: center; justify-content: space-between; padding: .8em 1.2em; border-bottom: 1px solid var(--demo-line); }
.pv-top .ds-logo { font-size: .9em; }
.pv-menu { display: inline-flex; flex-direction: column; gap: .25em; }
.pv-menu i { width: 1.1em; height: .14em; background: var(--demo-ink); border-radius: 1px; }
.pv-body { display: block; padding: 1.5em 1.2em 1.6em; background: var(--demo-tint); font-family: "Inter Demo", var(--sans); }
.pv-body .ds-h { font-size: 1.75em; }
.pv-body .ds-btn { margin-top: 1.1em; }

/* the change log */
.lg-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .78rem 1rem; }
.lg-row + .lg-row { border-top: 1px solid var(--line); }
.lg-row > .tick, .ls-row > .tick, .rp-li > .tick {
  width: 1.15rem; height: 1.15rem; border-radius: 50%; color: var(--brand);
  background: var(--tint); position: relative;
  -webkit-mask: none; mask: none;
}
.lg-row > .tick::after, .ls-row > .tick::after, .rp-li > .tick::after {
  content: ""; position: absolute; inset: .26rem; background: var(--brand-ink);
  -webkit-mask: var(--i-check) center / contain no-repeat;
          mask: var(--i-check) center / contain no-repeat;
}
.lg-what { min-width: 0; font-weight: 500; }
.lg-when { font-size: .72rem; color: var(--ink-2); white-space: nowrap; }

/* the listing */
.ls-top { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.ls-av {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 9px; display: grid; place-items: center;
  font-family: "Inter Demo", var(--sans); font-weight: 800; color: #fff; background: var(--demo-accent);
}
.ls-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ls-name b { font-size: .88rem; font-weight: 600; }
.ls-name span { font-size: .72rem; color: var(--ink-2); }
.ls-open { font-size: .72rem; font-weight: 600; color: var(--brand-ink); }
.ls-row { display: grid; grid-template-columns: 3.9rem minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .62rem 1rem; }
.ls-row + .ls-row { border-top: 1px solid var(--line); }
.ls-row > span:first-child { font-size: .72rem; color: var(--ink-2); }
.ls-row > span:nth-child(2) { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-foot { padding: .62rem 1rem .9rem; border-top: 1px solid var(--line); background: var(--paper-2); font-size: .72rem; font-weight: 600; color: var(--brand-ink); }

/* the review and the drafted reply */
.rq-quote { padding: .85rem 1rem .9rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; }
.rq-reply { margin: .9rem 1rem 0; padding: .7rem .85rem; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); line-height: 1.5; }
.rq-acts { display: flex; gap: .5rem; padding: .8rem 1rem 1.1rem; }
.rq-btn { font-size: .76rem; font-weight: 600; border-radius: 6px; padding: .38rem .9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); }
.rq-btn.is-on { color: #fff; background: var(--deep); border-color: var(--deep); }

/* the monthly check */
.ck-q { padding: .85rem 1rem; border-bottom: 1px solid var(--line); font-weight: 500; font-size: .86rem; }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .58rem 1rem; }
.ck-row + .ck-row { border-top: 1px solid var(--line); }
.ck-who { min-width: 0; display: flex; flex-direction: column; font-size: .72rem; color: var(--ink-2); }
.ck-who b { font-size: .8rem; font-weight: 500; color: var(--ink); }

/* the monthly report, whole */
.rp3 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.25fr); }
.rp-col { min-width: 0; padding: 1.2rem 1.25rem 1.9rem; }
.rp-col + .rp-col { border-left: 1px solid var(--line); }
.rp-big {
  display: block; margin: .15rem 0 .35rem; font-family: var(--serif); font-weight: 400;
  font-size: 4.1rem; line-height: 1; letter-spacing: -.035em; font-feature-settings: "lnum";
}
.rp-cap { display: block; font-size: .72rem; color: var(--ink-2); }
.rp-li { display: flex; align-items: center; gap: .55rem; padding: .42rem 0; font-weight: 500; }
.frag .rp-bars { margin-top: .6rem; gap: .78rem; }
.frag .rp-bars > div { font-size: .72rem; }

/* the accounting tile: the one dark tile, and the one link out */
.tile-deep {
  border-color: var(--deep);
  background:
    radial-gradient(90% 70% at 100% 0%, var(--stage-glow), transparent 70%),
    linear-gradient(165deg, var(--deep), var(--deep-2));
}
.tile-deep h3 { color: #fff; }
.tile-deep p { color: var(--on-deep); }
.tile-deep :focus-visible { outline-color: var(--tint); }
.tlink {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .5rem;
  font-size: .93rem; font-weight: 500; color: #fff;
  text-decoration: underline; text-decoration-color: var(--on-deep-4); text-underline-offset: .3em;
}
.tlink:hover { color: #fff; text-decoration-color: #fff; }
.tlink .arr {
  display: inline-block; width: 1rem; height: 1rem; font-size: 0; line-height: 0; background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
          mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .3s cubic-bezier(.3, .7, .2, 1);
}
.tlink:hover .arr { transform: translateX(4px); }
.tile-deep .frag { border-color: transparent; box-shadow: 0 -18px 40px -20px var(--shade-stage); }
.fr-dates { font-family: "Inter Demo", var(--sans); color: var(--demo-ink); }
.fr-dates .fr-title { font-weight: 800; letter-spacing: -.02em; font-size: .88rem; }
.kd { display: grid; grid-template-columns: 3.7rem minmax(0, 1fr); align-items: center; gap: .8rem; padding: .78rem 1rem; }
.kd + .kd { border-top: 1px solid var(--line); }
.kd b { font-weight: 800; font-size: .92rem; letter-spacing: -.02em; white-space: nowrap; }
.kd span { font-weight: 500; color: var(--demo-ink-2); }

/* ---------- 3 · how it starts ---------- */
#how-it-starts .sec-head { max-width: none; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; counter-increment: step; padding: 2.7rem 2.4rem 0 0; border-top: 1px solid var(--line-3); }
.step::before {
  content: counter(step); position: absolute; left: 0; top: -1rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--sans); font-size: .84rem; font-weight: 600; color: #fff;
  background: var(--deep); box-shadow: 0 0 0 6px var(--paper-2);
}
.sw {
  margin: 0 0 .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-ink);
}
.step h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 400; margin-bottom: .6rem; }
.step p:last-child { max-width: 21em; color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }
.steps-note {
  margin: clamp(2.4rem, 5vw, 3.6rem) 0 0; max-width: 47em;
  color: var(--ink-2); font-size: .97rem;
}

/* ---------- 4 · after the website ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.path li {
  position: relative; display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 1.7rem; border-radius: 16px;
  background: var(--paper); border: 1px dashed var(--line-3);
}
.path li + li::before {                    /* a plus between each: these are added, not swapped */
  content: ""; position: absolute; left: calc(-.625rem - .8rem); top: 50%; translate: 0 -50%;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; z-index: 1;
  background: var(--paper); border: 1px solid var(--line-2);
}
.path li + li::after {
  content: ""; position: absolute; left: calc(-.625rem - .4rem); top: 50%; translate: 0 -50%;
  width: .8rem; height: .8rem; z-index: 2; background: var(--ink-2);
  -webkit-mask: var(--i-plus) center / contain no-repeat;
          mask: var(--i-plus) center / contain no-repeat;
}
.path .tag {
  margin-bottom: 2.6rem; font-size: .68rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-2);
}
.path h3 { font-size: 1.28rem; font-weight: 400; margin-bottom: .5rem; }
.path p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; text-wrap: pretty; }
.path li.path-now {
  border: 1px solid var(--deep);
  background:
    radial-gradient(90% 70% at 100% 0%, var(--stage-glow), transparent 70%),
    linear-gradient(165deg, var(--deep), var(--deep-2));
}
.path-now .tag { color: var(--tint-2); }
.path-url {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--on-deep); background: var(--stage-chip);
  border: 1px solid var(--stage-edge); border-radius: 99px; padding: .32rem .8rem .32rem .7rem;
}
.path-url i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--tint-2); }
.path-url em { font-style: normal; font-weight: 600; color: #fff; padding-left: .5rem; border-left: 1px solid var(--stage-edge); }
.path-now p { margin-bottom: 1.4rem; }
.path-now h3 { color: #fff; }
.path-now p { color: var(--on-deep); }

.limits {
  margin-top: clamp(3rem, 6vw, 4.8rem); padding-top: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: clamp(1.6rem, 4vw, 4rem);
}
.limits-h h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; }
.limits-h p { margin-top: .6rem; color: var(--ink-2); font-size: .97rem; }
.limits-l { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.6rem; }
.limits-l li {
  position: relative; padding: 1.1rem 0 1.1rem 1.9rem; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: .97rem; line-height: 1.55;
}
.limits-l li:nth-child(-n+2) { border-top: 0; padding-top: .25rem; }
.limits-l li::before {
  content: ""; position: absolute; left: 0; top: 1.42rem; width: 1rem; height: 1rem; background: var(--brand);
  -webkit-mask: var(--i-minus) center / contain no-repeat;
          mask: var(--i-minus) center / contain no-repeat;
}
.limits-l li:nth-child(-n+2)::before { top: .57rem; }
.limits-l strong { color: var(--ink); font-weight: 600; }

/* ---------- 5 · the closing band ---------- */
.book { border-bottom: 1px solid var(--stage-edge); }
.hero-ctas.cta-center { justify-content: center; margin-top: 0; }
.nb { white-space: nowrap; }
.partners {
  margin: clamp(2.6rem, 5vw, 3.6rem) auto 0; padding-top: 1.9rem; max-width: 38rem;
  border-top: 1px solid var(--stage-edge);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 2.6rem;
}
.pt { display: inline-flex; align-items: center; gap: .75rem; text-align: left; }
.pt i {
  font-style: normal; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.15rem; color: #fff;
  background: var(--stage-chip); border: 1px solid var(--stage-edge);
}
.pt > span { display: flex; flex-direction: column; font-size: .84rem; line-height: 1.35; color: var(--on-deep-2); }
.pt b { font-size: .95rem; font-weight: 600; color: #fff; }
.partners p { flex-basis: 100%; margin: 0; text-align: center; font-size: .93rem; color: var(--on-deep-2); }

/* ---------- direction A, narrower screens ---------- */
@media (max-width: 1000px) {
  .tile, .tile.w5 { grid-column: span 6; }
  .tile.w7, .tile.w8 { grid-column: span 12; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .path li:nth-child(3)::before, .path li:nth-child(3)::after { content: none; }
}
@media (max-width: 900px) {
  .hero.stage-hero { padding-top: 1.5rem; }
  .sh-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .sh-side { padding-top: 0; }
  .hero.stage-hero .lede { max-width: 32em; }
  .sec-head.two { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
  .sec-head.two .lede { margin-top: 1.15rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 0 0 2.2rem 3.1rem; border-top: 0; border-left: 1px solid var(--line-3); margin-left: 1rem; }
  .step:last-child { padding-bottom: 0; border-left-color: transparent; }
  .step::before { left: -1rem; top: -.2rem; }
  .limits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .tile, .tile.w5, .tile.w7, .tile.w8 { grid-column: span 12; padding: 1.5rem 1.25rem 0; }
  .pv { grid-template-columns: minmax(0, 1fr); }
  .pv-list { border-right: 0; }
  .lg-row { grid-template-columns: auto minmax(0, 1fr); row-gap: .1rem; }
  .lg-when { grid-column: 2; }
  .pv-page { display: none; }
  .rp3 { grid-template-columns: minmax(0, 1fr); }
  .rp-col + .rp-col { border-left: 0; border-top: 1px solid var(--line); }
  .path { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .path .tag { margin-bottom: 1.2rem; }
  .path li + li::before, .path li + li::after { left: 50%; top: -.8rem; translate: -50% -50%; }
  .limits-l { grid-template-columns: minmax(0, 1fr); }
  .limits-l li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 1.1rem; }
  .limits-l li:nth-child(2)::before { top: 1.42rem; }
  .hero.stage-hero .btn, .book .btn { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .tlink .arr { transition: none; }
  .tlink:hover .arr { transform: none; }
}
@media print {
  .stage, .tile-deep, .path li.path-now { background: none; }
  .stage::before, .stage::after { display: none; }
  .tile-deep h3, .tile-deep p, .tlink, .path-now h3, .path-now p, .path-now .tag { color: #000; }
}

/* ---------- the accounting page opens the same way: the sample, framed, on the stage ---------- */
.stage.stage-shot {
  padding: clamp(1rem, 2.4vw, 1.9rem) clamp(.9rem, 4.5vw, 3.6rem) 0;
  margin-bottom: clamp(2.6rem, 5vw, 4.2rem);
}
.shot-note {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
  font-size: .82rem; color: var(--on-deep-3); margin-bottom: clamp(.9rem, 2vw, 1.4rem);
}
.shot-frame {
  position: relative; z-index: 1; display: block; max-width: 1040px; margin: 0 auto;
  border-radius: 12px 12px 0 0; overflow: hidden; background: var(--demo-paper);
  box-shadow: 0 0 0 1px var(--stage-edge), 0 30px 60px -28px var(--shade-stage);
}
.shot-frame .bw-bar { font-size: clamp(11px, 1.1vw, 14px); padding-left: 1.2em; }
.shot-frame .bw-url { min-width: 0; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame:focus-visible { outline: 3px solid var(--tint); outline-offset: 4px; }
.hero.stage-hero .hero-meta a { color: var(--brand-ink); }
@media (max-width: 1000px) {
  .hero.stage-hero .sh-head { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
}

/* A scrolled header is nearly solid, so page content does not show through the bar. */
header.site.on, .hero-dark header.site.on { background: color-mix(in srgb, var(--paper) 97%, transparent); }

/* ---------- after the second critique ---------- */
@media (min-width: 1001px) {
  /* a row of three tiles: equal copy blocks, so the three fragments start on one line and fill to the foot */
  .tile:not(.w5):not(.w7):not(.w8):not(.tile-deep) .tile-txt { min-height: 9.2rem; }
  .tile:not(.w5):not(.w7):not(.w8):not(.tile-deep) .frag { margin-top: 0; flex: 1 1 auto; }
  /* sibling headings keep two lines of room, so the text under them starts level */
  .step h3, .path h3 { min-height: 2.45em; }
}
.hero.stage-hero .hero-meta.hm-links { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.hero.stage-hero .hm-links a { display: inline-block; padding: .4rem 0; }
@media (max-width: 700px) {
  /* on a phone the cards under the browser frame are a plain stack: same width, no overlap */
  .stage .fc, .stage .fc-mail, .stage .fc-report { margin: 0; }
  .stage .ds-hero { padding-bottom: 1.7em; }
}

/* partners' photographs */
.pt img { width: 2.9rem; height: 2.9rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--stage-edge); background: var(--stage-chip); }
.card .who { display: block; width: 4.25rem; height: 4.25rem; border-radius: 50%; object-fit: cover; margin-bottom: 1.1rem; border: 1px solid var(--line); background: var(--paper-2); }
