/*
 * House of Socials: base tokens and shared components.
 * Every section uses these. Sections never restyle a shared component locally;
 * they only position it. Section files live in assets/css/sections/<id>.css.
 */

/* ---------- fonts (self-hosted, Latin + Latin Extended) ---------- */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-adjusted fallbacks so the swap does not shift layout much. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial Black'), local('Arial Bold'), local('Arial');
  size-adjust: 92%;
  ascent-override: 92%;
  descent-override: 22%;
}
@font-face {
  font-family: 'Jost Fallback';
  src: local('Avenir Next'), local('Helvetica Neue'), local('Arial');
  size-adjust: 97%;
  ascent-override: 105%;
  descent-override: 36%;
}

/* ---------- tokens ---------- */

:root {
  color-scheme: light;

  /* palette */
  --paper: #EEEDE8;
  --paper-hi: #F7F6F2;
  --bone: #E4E2DA;
  --sand: #D6D2C6;
  --stone: #A9A69C;
  --rule-c: #CFCDC5;
  --ink: #111110;
  --ink-soft: #5E5C55;
  --graphite: #2B2A26;
  --night: #121210;
  --night-2: #1C1C1A;
  --mist: #A8A69E;
  --lime: #E4FF1A;
  --lime-deep: #D4F000;
  --cobalt: #0038D6;
  --cobalt-deep: #002A9E;
  --cobalt-lift: #7FA2FF;

  /* live ground tokens (Lights Down tweens these on :root) */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --rule: var(--ink);
  --link: var(--cobalt);
  --focus: var(--cobalt);

  /* type families */
  --f-display: 'Archivo', 'Archivo Fallback', 'Arial Black', Arial, sans-serif;
  --f-body: 'Jost', 'Jost Fallback', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;

  /* grid */
  --gx: 20px;
  --gutter: 12px;
  --cols: 4;
  --maxw: 1600px;
  --section-y: clamp(96px, 14vw, 200px);
  --header-h: 60px;
  --dock-h: 0px;

  /* type scale */
  --fs-hero: min(7.5rem, calc((100vw - 2 * var(--gx)) / 5.75));
  --fs-close: min(8rem, calc((100vw - 2 * var(--gx)) / 3.9));
  --fs-band: clamp(3.25rem, 1.2rem + 7.6vw, 9rem);
  --fs-h2: clamp(2.4rem, 1rem + 5.2vw, 6.5rem);
  --fs-h3: clamp(1.6rem, 1rem + 2.4vw, 3.25rem);
  --fs-quote: clamp(1.6rem, 0.9rem + 2.6vw, 3.25rem);
  --fs-sticker: clamp(0.95rem, 0.75rem + 0.8vw, 1.5rem);
  --fs-counter: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --fs-phone-big: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  --fs-eyebrow: clamp(0.75rem, 0.62rem + 0.25vw, 0.8125rem);
  --fs-body-l: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --fs-body: clamp(1rem, 0.94rem + 0.28vw, 1.1875rem);
  --fs-label: 0.8125rem;
  --fs-small: 0.875rem;

  /* depth */
  --shadow-print: 0 1px 0 rgba(17, 17, 16, .06), 0 18px 40px -18px rgba(17, 17, 16, .30);
  --shadow-night: 0 30px 60px -20px rgba(0, 0, 0, .6);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 768px) {
  :root {
    --gx: 32px;
    --gutter: 20px;
    --cols: 8;
    --header-h: 64px;
  }
}
@media (min-width: 1024px) {
  :root {
    --gx: 40px;
    --gutter: 24px;
    --cols: 12;
    --header-h: 72px;
    --fs-hero: min(11rem, calc((100vw - 2 * var(--gx)) / 8.25));
    --fs-close: min(12rem, calc((100vw - 2 * var(--gx)) / 7.7));
  }
}
@media (max-width: 767px) {
  :root { --dock-h: calc(60px + env(safe-area-inset-bottom, 0px)); }
}
/* Landscape phones: keep content clear of the notch / Dynamic Island. */
@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(var(--gx), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gx), env(safe-area-inset-right, 0px));
  }
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scroll-padding-bottom: calc(var(--dock-h) + 16px);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
  padding-bottom: var(--dock-h);
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(h1, h2, h3) { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.on-cobalt :focus-visible { --focus: var(--lime); }

/* ---------- paper grain over everything ---------- */

html::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url('../img/brand/grain.png') repeat;
  background-size: 160px 160px;
  opacity: .035;
}
@media (pointer: fine) {
  html::after { opacity: .06; mix-blend-mode: multiply; }
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gx);
}
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
}
.section {
  position: relative;
  padding-block: var(--section-y);
}
/* The page sits above the footer and is opaque, so on tall desktop screens the footer
   can wait underneath and be uncovered as the last section leaves (colophon.css). */
main {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--ink); color: var(--paper);
  font: 600 1rem/1 var(--f-body);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Fields (grounds). Paper sections use var(--bg) so Lights Down can dim them. */
.field-paper { background: var(--bg); color: var(--fg); }
.field-bone { background: var(--bone); color: var(--ink); }
.field-lime { background: var(--lime); color: var(--ink); }
.field-ink { background: var(--ink); color: var(--paper); --fg-soft: var(--mist); --rule: var(--paper); --link: var(--lime); }
.field-night { background: var(--night); color: var(--paper); --fg-soft: var(--mist); --rule: rgba(238, 237, 232, .2); --link: var(--cobalt-lift); }
.field-cobalt { background: var(--cobalt); color: var(--paper); --fg-soft: rgba(238, 237, 232, .78); --rule: var(--paper); --link: var(--lime); }
.field-ink, .field-night { --focus: var(--lime); }
.field-cobalt { --focus: var(--lime); }
/* Paper straight after paper: the two share one gap instead of stacking two of them. */
.field-paper + .field-paper { padding-top: 0; }

/* ---------- type ---------- */

.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 100%;
  letter-spacing: -0.05em;
  line-height: .86;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 100%;
  font-size: var(--fs-h2);
  line-height: .94;
  letter-spacing: -0.045em;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 96%;
  font-size: var(--fs-h3);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.lede {
  font-size: var(--fs-body-l);
  line-height: 1.45;
  max-width: 34ch;
}
.body { font-size: var(--fs-body); line-height: 1.55; max-width: 36ch; }
.small { font-size: var(--fs-small); line-height: 1.45; letter-spacing: .01em; }
.label {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 75%;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.tnum { font-variant-numeric: tabular-nums; }

/* Spaced small caps, the ad's tagline voice. */
.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  line-height: 1.3;
  letter-spacing: .28em;
  margin-right: -.28em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* The ad's hairline rules. */
.rule {
  display: block;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Highlighter. Output by rich() for ==text==. Text stays ink on any ground. */
mark.hl {
  --hl-size: 100%;
  color: var(--ink);
  background: url('../img/brand/marker.svg') no-repeat 0 92% / var(--hl-size) .46em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .04em;
  margin: 0 -.04em;
}
.hl__t { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/*
 * On dark fields the marker is a solid lime block, and the text is painted with
 * a hard-stop gradient: ink where the lime has reached, paper where it has not.
 * So a half-drawn swipe never leaves ink text on ink.
 */
.field-ink mark.hl,
.field-night mark.hl,
.field-cobalt mark.hl {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / var(--hl-size) 100%;
  padding: .02em .12em .08em;
  margin: 0 -.04em;
  border-radius: 2px;
}
.field-ink mark.hl .hl__t,
.field-night mark.hl .hl__t,
.field-cobalt mark.hl .hl__t {
  color: transparent;
  background: linear-gradient(90deg, var(--ink) var(--hl-size), var(--paper) var(--hl-size));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- sticker ---------- */

.sticker {
  --rot: -8deg;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .38em .62em .48em;
  background: var(--lime);
  color: var(--ink);
  border-radius: 3px;
  transform: rotate(var(--rot));
  box-shadow: 0 4px 8px rgba(17, 17, 16, .18);
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 62%;
  font-size: var(--fs-sticker);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sticker__underline {
  display: block;
  width: 86%;
  height: .38em;
  margin-top: .22em;
  overflow: visible;
}
.sticker__underline path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ---------- call buttons (never animated) ---------- */

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 22px 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}
.btn-call__icon {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform .2s var(--ease-soft);
}
.btn-call:hover .btn-call__icon { transform: translateX(3px) rotate(-8deg); }
.btn-call__text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.btn-call__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: -0.005em;
}
.btn-call__num {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .8125rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  opacity: .82;
}
.btn-call--solo .btn-call__text { flex-direction: row; align-items: baseline; }
@media (min-width: 768px) { .btn-call__name { font-size: 1rem; } }

.btn-call--cobalt { background: var(--cobalt); color: #fff; }
.btn-call--cobalt:hover { background: var(--cobalt-deep); }
.btn-call--ink { background: var(--ink); color: var(--paper); }
.btn-call--ink:hover { background: var(--graphite); }
.btn-call--outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn-call--outline:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn-call--lime { background: var(--lime); color: var(--ink); }
.btn-call--lime:hover { background: var(--lime-deep); }
.btn-call--paper { background: var(--paper); color: var(--ink); }
.btn-call--paper:hover { background: #fff; }

/* Plain text link with an arrow, e.g. "Visit the site ↗" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 48px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1rem;
  color: var(--link);
  text-decoration: none;
}
.link-arrow span[aria-hidden] { transition: transform .2s var(--ease-soft); }
.link-arrow:hover span[aria-hidden] { transform: translate(2px, -2px); }
.link-arrow:hover .link-arrow__text { text-decoration: underline; }

/* ---------- chips ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 75%;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
}

/* ---------- device frames (CSS, never images) ---------- */

.frame-browser {
  --frame-border: var(--ink);
  --frame-chrome: var(--bone);
  --frame-dot: var(--stone);
  --frame-pill: var(--paper-hi);
  position: relative;
  display: block;
  border: 1px solid var(--frame-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--frame-chrome);
  box-shadow: var(--shadow-print);
  color: var(--ink);
  text-decoration: none;
  isolation: isolate;
}
.field-night .frame-browser,
.frame-browser--night {
  --frame-border: rgba(255, 255, 255, .14);
  --frame-chrome: var(--night-2);
  --frame-dot: #4A4944;
  --frame-pill: #2A2A27;
  color: var(--paper);
  box-shadow: var(--shadow-night);
}
.frame-browser__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
}
.frame-browser__dots { display: flex; gap: 6px; flex: none; }
.frame-browser__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--frame-dot);
}
.frame-browser__url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  max-width: 340px;
  height: 22px;
  margin-inline: auto;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--frame-pill);
  font: 500 12px/1 var(--f-body);
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .9;
}
.frame-browser__url svg { width: 9px; height: 10px; flex: none; }
.frame-browser__dots + .frame-browser__url + .frame-browser__spacer { width: 45px; flex: none; }
.frame-browser__view {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}
.frame-browser__view img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  max-width: none;
}

.frame-phone {
  position: relative;
  display: block;
  padding: 9px;
  border-radius: 36px;
  background: #0B0B0A;
  box-shadow: var(--shadow-print), inset 0 0 0 1px rgba(255, 255, 255, .08);
  isolation: isolate;
}
.frame-phone::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 56px;
  height: 5px;
  margin-left: -28px;
  border-radius: 999px;
  background: #0B0B0A;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}
.frame-phone__view {
  position: relative;
  display: block;
  aspect-ratio: 390 / 844;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}
.frame-phone__view img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  max-width: none;
}

/* ---------- buttons (everything that is not a phone call) ---------- */

/*
 * The highlighter is the hover: a lime block wipes across from the left and the label
 * turns to ink on it. One transform and one colour, no shadow lift and no scale.
 */
.btn {
  --btn-wipe: var(--lime);
  --btn-wipe-ink: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 56px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transition: color .25s var(--ease-soft), border-color .25s var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--btn-wipe);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--ease-out);
}
.btn__icon {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  transition: transform .3s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover { color: var(--btn-wipe-ink); border-color: var(--btn-wipe); }
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover .btn__icon { transform: translate(2px, -2px); }
  .btn:hover .icon-arrow-down { transform: translateY(3px); }
}
.btn:focus-visible { color: var(--btn-wipe-ink); }
.btn:focus-visible::before { transform: scaleX(1); }
.btn:active::before { transform: scaleX(1); transition-duration: .12s; }

.btn--primary { background: var(--cobalt); color: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--lime { background: var(--lime); color: var(--ink); --btn-wipe: var(--paper-hi); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--bg);
  color: var(--fg);
  transition: transform .4s var(--ease-out);
}
/* Phones and tablets: gone while you read down, back the moment you scroll up (chrome.js). */
html.header-away .site-header { transform: translateY(-102%); }
body { padding-top: var(--header-h); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  transition: height .35s var(--ease-soft);
}
.site-header .rule { border-top-color: var(--rule); }
/* The header tightens once you are past the first screen. With reduced motion the
   change would be a jump, so it simply stays as it is. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  html.is-scrolled .site-header__inner { height: 56px; }
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  isolation: isolate;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 100%;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}
.wordmark__mark {
  position: relative;
  z-index: -1;
  width: .62em;
  height: .27em;
  margin-left: -.22em;
  vertical-align: -.01em;
  overflow: visible;
  transform-origin: 0 60%;
  transition: transform .45s var(--ease-out);
}
.wordmark__mark .dot { fill: currentColor; }
/* The logo's own highlighter stretches under the name when you point at it. */
@media (hover: hover) {
  a.wordmark:hover .wordmark__mark { transform: scaleX(1.5); }
}
.site-header .wordmark { min-height: 48px; align-items: center; }
@media (min-width: 1024px) { .wordmark { font-size: 1.375rem; } }

/* Section links. The marker underline is a transform, and it holds under the
   section you are in (chrome.js sets aria-current). */
.site-nav { display: none; margin-left: clamp(20px, 3.4vw, 60px); }
.site-nav__list { display: flex; gap: clamp(16px, 2vw, 32px); }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--f-display);
  font-weight: 650;
  font-stretch: 88%;
  font-size: .9375rem;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--fg);
}
.site-nav__link span { position: relative; display: block; padding-block: .5em; }
.site-nav__link span::after {
  content: '';
  position: absolute;
  left: -.1em; right: -.1em;
  bottom: .08em;
  height: .28em;
  background: url('../img/brand/marker.svg') no-repeat 0 50% / 100% 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .4s var(--ease-out);
}
.site-nav__link:hover span::after,
.site-nav__link:focus-visible span::after,
.site-nav__link[aria-current] span::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.header-calls { display: none; align-items: center; }
.header-call {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  min-height: 48px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
  align-items: center;
}
.header-call + .header-call { border-left: 1px solid var(--rule); }
.header-call__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: .9375rem;
  letter-spacing: -0.01em;
}
.header-call__num {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.header-call:hover .header-call__num { text-decoration: underline; }
/* The header button follows the live ground: ink on paper, paper in the dark room. */
.site-header__cta { display: none; background: var(--fg); color: var(--bg); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px 0 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: .9375rem;
  line-height: 1;
  color: inherit;
}
.menu-btn__icon { width: 22px; height: 22px; }
html.no-js .menu-btn { display: none; }

@media (min-width: 600px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .menu-btn { display: none; }
}
@media (min-width: 1280px) { .header-calls { display: flex; } }

/* ---------- full-screen menu (phones and tablets) ---------- */

.site-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  overflow: auto;
  overscroll-behavior: contain;
  --focus: var(--lime);
  --rule: rgba(238, 237, 232, .2);
}
.site-menu::backdrop { background: var(--ink); }
.site-menu[open] { animation: menu-in .45s var(--ease-out); }
@keyframes menu-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.site-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 var(--gx) calc(24px + env(safe-area-inset-bottom, 0px));
}
.site-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  border-bottom: 1px solid var(--rule);
}
.site-menu__list {
  display: grid;
  gap: 2px;
  margin-top: clamp(24px, 5svh, 56px);
}
.site-menu__link {
  display: block;
  padding: .1em 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 100%;
  /* sized by the narrower of the screen's width and its height, so five links,
     the button and both numbers fit one screen on a short phone */
  font-size: clamp(2rem, min(14vw, 7svh), 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: var(--paper);
}
.site-menu__link span {
  display: inline-block;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 0% .12em;
  transition: background-size .35s var(--ease-out);
}
.site-menu__link:hover span,
.site-menu__link:focus-visible span { background-size: 100% .12em; }
.site-menu[open] .site-menu__list li { animation: menu-link .55s var(--ease-out) backwards; }
.site-menu[open] .site-menu__list li:nth-child(1) { animation-delay: .10s; }
.site-menu[open] .site-menu__list li:nth-child(2) { animation-delay: .15s; }
.site-menu[open] .site-menu__list li:nth-child(3) { animation-delay: .20s; }
.site-menu[open] .site-menu__list li:nth-child(4) { animation-delay: .25s; }
.site-menu[open] .site-menu__list li:nth-child(5) { animation-delay: .30s; }
.site-menu[open] .site-menu__list li:nth-child(6) { animation-delay: .35s; }
@keyframes menu-link {
  from { transform: translateY(.45em); opacity: 0; }
}
.site-menu__foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
}
.site-menu__cta { width: 100%; }
.site-menu__calls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.site-menu__calls .btn-call { justify-content: center; padding-inline: 10px; gap: 10px; }
.site-menu__calls .btn-call__num { white-space: nowrap; }
/* The narrowest phones: one number per row, so neither name nor number has to wrap. */
@media (max-width: 359px) {
  .site-menu__foot { gap: 8px; padding-top: 20px; }
  .site-menu__calls { grid-template-columns: 1fr; gap: 8px; }
  .site-menu__calls .btn-call { justify-content: flex-start; padding-inline: 18px; min-height: 52px; }
}
@media (min-width: 600px) {
  .site-menu__foot { grid-template-columns: auto 1fr; align-items: center; }
  .site-menu__cta { width: auto; }
  .site-menu__calls { justify-content: start; grid-template-columns: auto auto; }
}

/* ---------- call dock (phones) ---------- */

.call-dock {
  position: fixed;
  z-index: 70;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: var(--dock-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--ink);
  color: var(--paper);
  --focus: var(--lime);
  transform: translateY(0);
  visibility: visible;
  transition: transform .3s var(--ease-soft), visibility 0s linear 0s;
}
html.dock-hidden .call-dock {
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .3s var(--ease-soft), visibility 0s linear .3s;
}
.call-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.call-dock a + a { border-left: 1px solid rgba(238, 237, 232, .2); }
.call-dock svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.call-dock__text { display: flex; flex-direction: column; gap: 3px; }
.call-dock__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: 1rem;
  line-height: 1;
}
.call-dock__num {
  font: 500 .75rem/1 var(--f-body);
  color: var(--mist);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.call-dock a:active { background: var(--graphite); }
@media (min-width: 768px) { .call-dock { display: none; } }

/* ---------- Digit Flip (split-flap counter, built by HOS.fx.digitFlip) ---------- */

.flip {
  --flip-bg: var(--bg);
  position: relative;
  display: inline-block;
  height: 1em;
  line-height: 1em;
  perspective: 400px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: var(--fs-counter);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.flip__sizer { visibility: hidden; display: block; padding: 0 .06em; }
.flip__half {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  background: var(--flip-bg);
  backface-visibility: hidden;
  text-align: center;
}
.flip__half > span { display: block; height: 1em; line-height: 1em; }
.flip__top, .flip__leaf--top { top: 0; transform-origin: 50% 100%; }
.flip__bottom, .flip__leaf--bottom { bottom: 0; transform-origin: 50% 0%; }
.flip__bottom > span, .flip__leaf--bottom > span { transform: translateY(-50%); }
.flip__leaf { visibility: hidden; z-index: 2; }
.flip__leaf--top { background-image: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, .10)); }
.flip__leaf--bottom { background-image: linear-gradient(to top, transparent 40%, rgba(0, 0, 0, .10)); }
.flip::after {
  content: '';
  position: absolute;
  z-index: 3;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid color-mix(in srgb, var(--flip-bg) 70%, #000 30%);
  opacity: .5;
}

/* ---------- samples (admin preview only; never rendered for the public) ---------- */

.is-sample {
  position: relative;
  outline: 2px solid #D93025;
  outline-offset: 6px;
}
.sample-stamp {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border: 2px solid #D93025;
  border-radius: 3px;
  color: #D93025;
  background: var(--paper-hi);
  font: 800 .75rem/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-6deg);
  pointer-events: none;
}

/* ---------- motion helpers ---------- */

/* Split text: SplitText masks lines; keep descenders visible. */
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* Before JS runs: scoped hidden states only. Sections add their own under html.motion-ready. */
html.motion-ready [data-reveal='fade'] { opacity: 0; }
html.motion-ready [data-ink-set] { visibility: hidden; }
html.motion-ready [data-marker] mark.hl { --hl-size: 0%; }
html.motion-ready [data-slap] { opacity: 0; }
html.motion-ready [data-dock] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  html::after, .call-dock, .site-header .header-copy { display: none !important; }
}
