/* Narto · nartoweb.com
   Design rules live in DESIGN.md. Tokens are defined once in :root. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
/* Size-matched fallbacks: same line breaks before and after the web fonts load. */
@font-face {
  font-family: "Big Shoulders Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  font-weight: 100 900;
  size-adjust: 78.3%;
  ascent-override: 125.2%; /* Big Shoulders Display: ascent .98, descent .21, no line gap; */
  descent-override: 26.8%; /* Chrome scales overrides by size-adjust, so .98/.783 and .21/.783 */
  line-gap-override: 0%;
}
@font-face {
  font-family: "Public Sans Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 103.6%;
  ascent-override: 91.7%; /* Public Sans: ascent .95, descent .23 (divided by size-adjust 1.036) */
  descent-override: 22.2%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --concrete: #f5f6f3;
  --white: #fff;
  --ink: #17181b;
  --graphite: #5c6066;
  --rule: #dcddd8;
  --accent: #1fbf6a;      /* fill only: strokes, button backgrounds with ink text */
  --accent-text: #0e7a43; /* when green must be text on a light background */
  --accent-tint: #d2f2e0;
  --night-text: #f5f6f3;
  --night-muted: #a3a7ad;
  --night-rule: #393b41;

  --font-display: "Big Shoulders Display", "Big Shoulders Fallback", sans-serif;
  --font-text: "Public Sans", "Public Sans Fallback", sans-serif;

  --space-xs: .5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --max: 90rem;

  --radius: 2px;
  --header-h: 4.75rem;  /* fixed, so the hero can fill exactly what is left of the first screen */
  --text-size: 1.0625rem;
  --small-size: .9375rem;
  /* Phones: "We build your / website first." on two lines */
  --display-size: min(17.5vw, 10svh, 5rem);
  /* The rotating line is clearly smaller than line 1, so it reads calmly. */
  --turn-size: 1.875rem;
  --h2-size: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --h3-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  --list-size: clamp(3rem, .5rem + 5.6vw, 6rem);
}

@media (min-width: 641px) {
  :root {
    --text-size: clamp(1.0625rem, .9rem + .4vw, 1.25rem);
    --header-h: 5.75rem;
    /* Wider screens: two big lines, sized by width and by height so the hero always fits one screen.
       The longer line ("website first.") is about 5.2em. */
    --display-size: min(calc((100vw - 2 * var(--gutter)) / 5.6), 23svh, 15rem);
    --turn-size: clamp(1.75rem, min(3.4vw, 6.4svh), 3.5rem);
  }
}

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

html {
  background: var(--concrete);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--concrete);
  font-family: var(--font-text);
  font-size: var(--text-size);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent-tint); color: var(--ink); }
input, textarea { caret-color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  top: var(--space-s);
  left: var(--gutter);
  z-index: 10;
  padding: var(--space-xs) var(--space-s);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: var(--header-h);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--small-size);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }

/* ---------- Buttons and links ---------- */
/* Hover and press share one state, so touch gets the same feedback. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 var(--space-s);
  border-radius: var(--radius);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.btn--quiet { background: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--primary {
  min-height: 3.5rem;
  padding: 0 var(--space-l);
  background: var(--accent);
  color: var(--ink);
  font-size: var(--text-size);
}
.btn:hover, .btn:active { background: var(--ink); color: var(--white); }
.site-nav .btn[aria-current="page"] { background: var(--ink); color: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.text-link:hover, .text-link:active { text-decoration-thickness: 2px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }

.section__title {
  margin-bottom: var(--space-xl);
  max-width: 14em;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.003em;
  text-wrap: balance;
}
.section__lead {
  max-width: 34em;
  margin-top: calc(var(--space-l) * -1);
  margin-bottom: var(--space-xl);
  color: var(--graphite);
}

/* Split layout: heading on the left, content on the right (wide screens). */
.split { display: grid; gap: 0 var(--space-xl); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split > .section__title { margin-bottom: 0; }
}

/* ---------- Hero ---------- */
/* The hero fills exactly the first screen: the promise in the middle, the terms on the bottom edge.
   min-height (not height), so it can still grow if a very short screen needs it. */
.hero {
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* the underline wipes out past the right edge; never let it widen the page */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--space-m) var(--space-l);
}
.hero__main { position: relative; margin-block: auto; padding-block: var(--space-l); }

/* Pause control for the looping underline and the rotating line (WCAG 2.2.2).
   Its space is part of the layout from the first paint (no shift when the script starts);
   hidden for reduced motion, and by a <noscript> style when there is no script. */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  margin-top: var(--space-s);
  padding: 0;
  border: 0;
  background: none;
  color: var(--graphite);
  font: 500 var(--small-size)/1 var(--font-text);
  cursor: pointer;
}
.motion-toggle:hover .motion-toggle__label { text-decoration: underline; text-underline-offset: .3em; }
.motion-toggle__icon {
  position: relative;
  width: .75rem;
  height: .75rem;
}
.motion-toggle__icon::before,
.motion-toggle__icon::after { /* pause: two bars */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}
.motion-toggle__icon::before { left: 1px; }
.motion-toggle__icon::after { right: 1px; }
.motion-toggle[data-paused="true"] .motion-toggle__icon::before { /* play: a triangle */
  left: 1px;
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}
.motion-toggle[data-paused="true"] .motion-toggle__icon::after { display: none; }
@media (min-width: 641px) {
  .motion-toggle { position: absolute; right: 0; bottom: var(--space-l); margin: 0; }
  .hero .mark__line { margin-top: -.18em; } /* at this size, keep the stroke with "first", clear of the line below */
}
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--display-size);
  font-weight: 800;
  line-height: 1; /* tighter lets the y of "your" touch the f of "first" at this size */
  letter-spacing: -.004em;
}
.hero__line { display: block; }
.hero__turn {
  margin-top: var(--space-l);
  font-size: var(--turn-size);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .005em;
}

/* Hand-drawn underline under "first", drawn in left to right. */
.mark { position: relative; }
.mark__line {
  position: absolute;
  left: -.04em;
  right: -.1em;
  top: 100%;
  height: .26em;
  margin-top: -.1em;
  overflow: hidden;
  pointer-events: none;
}
.mark__draw, .mark__line svg { display: block; width: 100%; height: 100%; }
.mark__line svg { overflow: visible; }
.mark__line path {
  fill: none;
  stroke: var(--accent);
  stroke-width: max(4px, .07em);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Rotating line: every phrase shares one grid cell, so the cell is always as
   tall as the longest phrase and nothing reflows. Bottom padding keeps
   descenders inside the mask; the negative margin gives that space back. */
.rotator {
  display: grid;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.rotator__item { grid-area: 1 / 1; }
.rotator__item + .rotator__item { opacity: 0; visibility: hidden; }

.terms {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-m) var(--space-xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--rule);
}
.terms__text { max-width: 32em; color: var(--graphite); text-wrap: pretty; }
.terms__deal { display: block; }
.terms__text a { color: var(--ink); }
.terms__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-m) var(--space-l);
}

/* ---------- How it works (styles in steps.css) ---------- */

/* ---------- Examples: the one dark section ---------- */
.night {
  background: var(--ink);
  color: var(--night-text);
}
.night :focus-visible { outline-color: var(--night-text); }
.examples { padding: calc(var(--section-pad) * 1.5) 0; }
.examples__head { margin-bottom: var(--space-xl); }
.examples__head .section__title { margin-bottom: var(--space-s); }
.examples__note { max-width: 34em; color: var(--night-muted); }
.proof-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-s);
  color: var(--night-muted);
  font-size: var(--small-size);
}


/* What the four scores mean, in plain words (shown only when there are scores). */
.proof-explain { margin-top: var(--space-xl); }
.proof-explain__title { margin-bottom: var(--space-s); font-size: var(--small-size); font-weight: 600; }
.proof-key {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s) var(--space-l);
  max-width: 60rem;
  font-size: var(--small-size);
  line-height: 1.4;
}
.proof-key dt { font-weight: 600; }
.proof-key dd { color: var(--graphite); }
.night .proof-key dd { color: var(--night-muted); }
@media (min-width: 900px) { .proof-key { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.shots { padding: 0; list-style: none; }
.shot {
  position: relative;
  display: grid;
  gap: var(--space-m);
  padding: var(--space-l) 0;
  border-bottom: 1px solid var(--night-rule);
}
.shot:first-child { border-top: 1px solid var(--night-rule); }
.shot__text { display: grid; align-content: center; gap: var(--space-s); }
/* The name is the link; its ::after stretches over the whole row, so the row is one click target. */
.shot__link { text-decoration: none; }
.shot__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.shot__link:focus-visible { outline: none; }
.shot__link:focus-visible::after { outline: 2px solid var(--night-text); outline-offset: .5rem; }
.shot__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--list-size);
  font-weight: 800;
  line-height: .95;
  text-wrap: balance;
}
.shot__meta { color: var(--night-muted); }
.shot__meta span { color: var(--night-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.shot:hover .shot__meta span { text-decoration-thickness: 2px; }
.shot__scores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-m);
  font-size: var(--small-size);
  color: var(--night-muted);
}
.shot__scores div { display: flex; gap: .4em; }
.shot__scores dd { color: var(--night-text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Screenshot that resolves from pixels to sharp. Layers: sharp at the bottom,
   then 64, 32 and 16 pixel wide versions on top (coarsest last). */
.shot__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night-rule);
}
.shot__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.shot__media .px { image-rendering: pixelated; }
.examples__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-m) var(--space-l);
  margin-top: var(--space-xl);
}
.examples__end .text-link { color: var(--night-text); }
.night .btn--primary:hover, .night .btn--primary:active { background: var(--night-text); color: var(--ink); }

/* Without the script the sharp image shows; with it, the pixel layers rest on top until focus. */
.px-ready .shot__media .px { opacity: 1; }
.shot__media .px { opacity: 0; }

/* Focus frame: corner marks and a hint, so the pixels read as intentional, not broken. */
.shot__focus { display: none; }
.px-ready .shot__focus {
  --c: var(--ink);
  --l: 1.5rem;
  --w: 3px;
  position: absolute;
  inset: .75rem;
  display: flex;
  align-items: flex-end;
  padding: var(--space-s);
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) left top / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--w) var(--l) no-repeat;
  pointer-events: none;
}
.shot__hint {
  padding: .4rem .65rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--night-text);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.2;
}
.is-sharp .shot__focus { display: none; }

@media (min-width: 641px) { .shot__media { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) {
  .shot {
    grid-template-columns: minmax(0, 1fr) clamp(20rem, 36vw, 34rem);
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-m) 0;
  }
}

/* ---------- What you get: the estimate sheet (styles in estimate.css) ---------- */

/* ---------- Add-on: review requests (styles in thread.css) ---------- */
#reviews { padding-top: 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* plus that turns into minus */
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.faq details p { max-width: 36em; padding-bottom: var(--space-m); color: var(--graphite); }

/* ---------- Final call to action: the hero's structure, once more ---------- */
.cta__title {
  margin-bottom: var(--space-xl);
  font-family: var(--font-display);
  font-size: var(--display-size);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.004em;
}
.cta__small { display: block; margin-top: var(--space-xs); font-size: var(--small-size); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--space-2xl) var(--space-xl);
  border-top: 1px solid var(--rule);
  font-size: var(--small-size);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  margin-bottom: var(--space-2xl);
}
.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-l);
  padding: 0;
  list-style: none;
}
.site-footer nav a { display: flex; align-items: center; min-height: 2.75rem; text-underline-offset: .3em; }
.site-footer a:hover, .site-footer nav a[aria-current="page"] { text-decoration-thickness: 2px; }
.site-footer__legal { color: var(--graphite); }
.site-footer__contact a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-underline-offset: .3em; }

/* ---------- Intro panel: only exists on a first visit. Never blocks input. ---------- */
.intro-panel { display: none; }
.intro .intro-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start; /* anchored to the top: if the screen height settles after the first paint, the word stays put */
  padding: var(--space-xl) var(--gutter);
  background: var(--ink);
  color: var(--concrete);
  pointer-events: none;
  animation: intro-failsafe .01s linear 1.6s forwards;
}
.intro-panel__word {
  /* A fixed box in em: when the web font swaps in, the glyphs repaint but the box never moves (no layout shift). */
  display: block;
  width: 2.4em;
  height: .8em;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 15rem);
  font-weight: 800;
  line-height: .8;
}
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

/* Underline waits for the script; if the script never runs, it appears anyway. */
.motion .mark__line { transform: translateX(-101%); animation: mark-failsafe .01s linear 4s forwards; }
.motion .mark__draw { transform: translateX(101%); animation: mark-failsafe .01s linear 4s forwards; }
@keyframes mark-failsafe { to { transform: none; } }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .wordmark { font-size: 1.75rem; }
  .site-nav ul { gap: var(--space-s); }
  .hero__turn { margin-top: var(--space-m); }
  .terms { flex-direction: column; align-items: stretch; padding-top: var(--space-m); }
  .terms__actions { flex-direction: column; align-items: stretch; gap: var(--space-xs); }
  .text-link { align-self: center; }
}
/* Narrow phones: keep the header on one line without crowding the edge. */
@media (max-width: 400px) {
  .site-header { gap: var(--space-s); }
  .wordmark { font-size: 1.5rem; }
  .site-nav ul { gap: .75rem; }
  .site-nav .btn { padding: 0 .75rem; }
}
@media (max-width: 359px) {
  .site-nav li:nth-child(2) { display: none; } /* About stays in the footer */
}

/* ---------- Subpages ---------- */
.page-head { padding-block: clamp(3rem, 9vh, 6rem) var(--space-xl); }
.page-title {
  max-width: 13em;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.6rem + 5vw, 6rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.004em;
  text-wrap: balance;
}
@media (max-width: 640px) { .page-title { line-height: 1; } } /* two-line titles: no touching descenders */
.page-lead { max-width: 34em; margin-top: var(--space-m); color: var(--graphite); }
.page-body { padding-bottom: var(--section-pad); }

.prose { max-width: 34em; }
.prose h2 {
  margin: var(--space-xl) 0 var(--space-s);
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: 700;
  line-height: 1;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: var(--space-s); }
.prose p { text-wrap: pretty; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: var(--space-xs); }
.prose li a { display: inline-block; padding-block: .6rem; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: .25em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose .terms { margin-top: var(--space-l); }
.prose .terms p { margin-bottom: 0; }

/* About: a person card next to the text (above it on narrower screens) */
.about-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
@media (max-width: 899px) { .about-grid .person { order: -1; } }
.person {
  align-self: start;
  padding: var(--space-l);
  border-radius: var(--radius);
  background: var(--white);
}
.person p { color: var(--graphite); text-wrap: pretty; }
.person p + p { margin-top: var(--space-s); }
.person .person__name {
  margin-bottom: var(--space-xs);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: 700;
  line-height: 1;
}
.person a { color: var(--ink); font-weight: 600; text-underline-offset: .25em; }
.person a:hover { text-decoration-thickness: 2px; }

/* Book: the calendar */
.booking { display: grid; gap: var(--space-l); }
@media (min-width: 1000px) { .booking { grid-template-columns: minmax(0, 1fr) 18rem; } }
.booking__frame {
  min-height: 44rem;
  border-radius: var(--radius);
  background: var(--white);
}
.booking__frame .calendly-inline-widget { min-width: 320px; height: 44rem; }
.booking__notes { display: grid; gap: var(--space-m); align-content: start; }
.note {
  padding-top: var(--space-s);
  border-top: 1px solid var(--rule);
  color: var(--graphite);
  font-size: var(--small-size);
}
.note strong { display: block; margin-bottom: .25rem; color: var(--ink); font-size: var(--text-size); }
.note a { color: var(--ink); text-underline-offset: .25em; }
/* Narrower screens: the "not loading?" note sits above the calendar, the rest below it. */
@media (max-width: 999px) {
  .booking__notes { display: contents; }
  .booking__notes .note { order: 1; }
  .booking__notes .booking__fallback { order: -1; padding-top: 0; border-top: 0; }
}

/* 404 */
.lost { padding-block: clamp(4rem, 14vh, 9rem) var(--section-pad); }
.lost__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m) var(--space-l); margin-top: var(--space-xl); }

/* Examples page */
.demos { padding: 0; list-style: none; }
.demo {
  display: grid;
  grid-template-areas: "head" "shots" "act" "body";
  gap: var(--space-l);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
}
.demos .demo:last-child { padding-bottom: 0; } /* the closing section brings its own space */
/* The devices open the example too: pointing at them lights up the button they share a target with. */
.demo:has(.demo__shots:hover) .demo__act .btn { background: var(--ink); color: var(--white); }
.proof-explain--page { margin-top: var(--section-pad); padding-top: var(--space-l); border-top: 1px solid var(--rule); }
.demo__head { grid-area: head; }
.demo__shots { grid-area: shots; }
.demo__act { grid-area: act; }
.demo__body { grid-area: body; }
.demo__name {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: .95;
}
.demo__meta { margin-top: var(--space-s); color: var(--graphite); }
.demo__list { margin: 0 0 var(--space-l); padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.demo__list li { padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.demo__scores { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--space-xs) var(--space-l); margin-bottom: var(--space-l); color: var(--graphite); font-size: var(--small-size); }
.demo__scores div { display: flex; gap: .4em; }
.demo__scores dd { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.proof-note { margin-top: var(--space-s); color: var(--graphite); font-size: var(--small-size); }
@media (min-width: 1000px) {
  .demo {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas: "head shots" "act shots" "body shots";
    grid-template-rows: auto auto 1fr;
    gap: 0 var(--space-2xl);
  }
  .demo__act { align-self: start; margin-top: var(--space-l); }
  .demo__list { margin-top: var(--space-l); }
}
