/* Inter (variable, OFL-1.1), self-hosted: no request to Google. Files from @fontsource-variable/inter 5.3.0. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght.woff2) format("woff2");
  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: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght.woff2) format("woff2");
  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;
}

:root{
  --c-navy:#0b1f2c;--c-navy-2:#163a52;--c-ink:#1e1e21;--c-paper:#f5f3ef;--c-white:#fff;--c-blue:#7ca8ff;--c-blue-ink:#2f5fcf;--c-green:#2cf24f;--c-warn:#f5b14a;--c-danger:#ff6b6b;--c-form-error:#b3261e;
  --c-muted:#5a5a60;--c-muted-dark:#b8b6b1;--c-faint:#9a9893;--hairline:rgba(30,30,33,.12);--hairline-dark:rgba(245,243,239,.14);--glass:rgba(245,243,239,.06);--glass-strong:rgba(245,243,239,.12);--focus:rgba(124,168,255,.35);
  --font:Inter,system-ui,sans-serif;--fs-display:clamp(2.75rem,7.5vw,7rem);--fs-h2:clamp(2rem,4.5vw,3.75rem);--fs-h3-lg:clamp(1.6rem,2.5vw,2.25rem);--fs-h3:1.4rem;--fs-lead:clamp(1.1rem,1.6vw,1.4rem);--fs-body:16px;--fs-body-lg:18px;--fs-label:13px;--fs-article:17px;
  --ls-display:-.045em;--ls-h3:-.035em;--ls-card:-.03em;
  --sp-section-y:clamp(4rem,8vw,7rem);--sp-section-x:clamp(1.25rem,4vw,4rem);--content-max:1320px;--gap-cards:1.25rem;--gap-tiles:1rem;--card-pad:2.25rem;--card-pad-sm:1.5rem;
  --r-section:28px;--r-card:24px;--r-tile:22px;--r-inner:16px;--r-input:10px;--r-pill:999px;
  --sh-hover:0 24px 60px rgba(30,30,33,.1);--sh-panel:0 30px 80px rgba(11,31,44,.35);--sh-book:0 30px 60px rgba(30,30,33,.3);
  --grad-navy:linear-gradient(160deg,#0b1f2c,#163a52);--grad-hero:radial-gradient(ellipse at 70% 60%,#163a52 0%,#0b1f2c 60%);
}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Base: reset, type scale, layout helpers, buttons, cards, forms, focus, motion.
   Values come from tokens.css only (design_handoff/DESIGN_CONTRACT.md). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
main:focus { outline: none; }
/* The hidden attribute always wins over component display rules (flex/grid). */
[hidden] { display: none !important; }

/* Type scale */
.display { font-size: var(--fs-display); font-weight: 700; line-height: 1; letter-spacing: var(--ls-display); }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.05; letter-spacing: var(--ls-display); }
.h3-lg { font-size: var(--fs-h3-lg); font-weight: 700; line-height: 1.1; letter-spacing: var(--ls-h3); }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: var(--ls-card); }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.label { font-size: var(--fs-label); font-weight: 600; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.on-dark .label { color: var(--c-blue); }
.on-dark .muted { color: var(--c-muted-dark); }
.small { font-size: 13px; }
.center { text-align: center; }

/* Layout */
.section { padding: var(--sp-section-y) var(--sp-section-x); }
.section--paper { background: var(--c-paper); }
.section--white { background: var(--c-white); }
.section--navy { background: var(--c-navy); color: var(--c-paper); }
.container { max-width: var(--content-max); margin: 0 auto; }
.grid-cards { display: grid; gap: var(--gap-cards); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.on-dark { color: var(--c-paper); }

/* Buttons: pills, 600, 15px. Arrow buttons keep the arrow on the same line. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  padding: .9rem 1.4rem; border: 0; border-radius: var(--r-pill);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .15s ease-out;
}
.btn--lg { padding: 1rem 1.6rem; }
.btn--sm { padding: .7rem 1.1rem; font-size: 14px; }
.btn--block { display: flex; width: 100%; padding: .9rem 1.25rem; font-size: 16px; }
.btn--on-dark { background: var(--c-paper); color: var(--c-navy); }
.btn--on-dark:hover { background: var(--c-white); }
.btn--on-light { background: var(--c-navy); color: var(--c-paper); }
.btn--on-light:hover { background: var(--c-navy-2); }
.btn--glass { background: var(--glass-strong); color: var(--c-paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(245, 243, 239, .2); }
.btn--white { background: var(--c-white); color: var(--c-ink); }
.btn--white:hover { box-shadow: 0 8px 24px rgba(30, 30, 33, .1); }
.btn--paper { background: var(--c-paper); color: var(--c-ink); }
.btn--ink { background: var(--c-ink); color: var(--c-paper); }

/* Book a call: tighter right padding so the chip sits inside the pill. */
.btn--book { padding-right: .6rem; }
.btn--book.btn--sm { padding: .55rem .6rem .55rem 1.1rem; font-size: 13.5px; }
.btn--book.btn--block { padding-right: 1.25rem; }
.chip {
  font-size: 12px; font-weight: 500; line-height: 1.2;
  padding: .3rem .6rem; border-radius: var(--r-pill); white-space: nowrap;
  background: rgba(11, 31, 44, .1);
}
.btn--on-light .chip { background: rgba(124, 168, 255, .22); }
.btn--sm .chip { font-size: 11.5px; padding: .25rem .55rem; }

.link-button {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; text-align: left;
}
.link-button--underline { text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.card { border-radius: var(--r-section); padding: var(--card-pad); background: var(--c-white); transition: transform .25s, box-shadow .25s; }
.card--paper { background: var(--c-paper); }
.card--glass { background: var(--glass); }
.card--link { display: block; text-decoration: none; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }

/* Forms */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label { font-size: 14px; font-weight: 600; }
.input, .select, .textarea {
  width: 100%; font-size: 16px; padding: .8rem .95rem;
  border: 1px solid var(--hairline); border-radius: var(--r-input);
  background: var(--c-white); color: var(--c-ink);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 3px var(--focus); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--c-form-error); }
.field__error { font-size: 12.5px; color: var(--c-form-error); }

/* Focus + accessibility */
:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .site-header--navy :focus-visible, .site-header--dark :focus-visible { outline-color: var(--c-blue); }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--c-navy); color: var(--c-paper); padding: .7rem 1.1rem; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.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;
}

/* Motion */
.rise { animation: rise .8s ease both; }
.rise-1 { animation-delay: .1s; } .rise-2 { animation-delay: .2s; } .rise-3 { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  .card--link:hover { transform: none; }
}

/* Site header: sticky, blurred, compacts after 24px of scroll (.is-compact set by site.js).
   Themes: navy (dark hero pages), dark (ink), light (paper pages). */

.site-header {
  position: sticky; top: 0; z-index: 100;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  background: rgba(245, 243, 239, .88); color: var(--c-ink);
}
.site-header--navy { background: rgba(11, 31, 44, .75); color: var(--c-paper); border-bottom-color: var(--hairline-dark); }
.site-header--dark { background: rgba(30, 30, 33, .88); color: var(--c-paper); border-bottom-color: var(--hairline-dark); }

.site-header__bar {
  max-width: 120rem; margin: 0 auto;
  padding: 1.1rem var(--sp-section-x);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: padding .25s;
}
.site-header.is-compact .site-header__bar { padding-top: .6rem; padding-bottom: .6rem; }

.site-header__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.site-header__brand img { width: 20px; height: 28px; }
.site-header__brand span { font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); font-size: 14px; font-weight: 500; }
.site-nav__link { text-decoration: none; padding: .5rem 0; opacity: .9; }
.site-nav__link:hover { opacity: 1; }

/* Services mega menu: opens on hover, focus or toggle; closes on Escape. */
.site-nav__services { position: relative; display: flex; align-items: center; gap: .25rem; }
.site-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px;
  background: none; color: inherit; opacity: .6; cursor: pointer;
}
.site-nav__toggle:hover { opacity: 1; }
.site-nav__toggle svg { transition: transform .2s; }
.site-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: -1rem; padding-top: .5rem; z-index: 10; }
.mega__panel {
  width: min(760px, calc(100vw - 2.5rem));
  background: var(--c-navy); color: var(--c-paper);
  border: 1px solid var(--glass-strong); border-radius: 14px;
  padding: 1.25rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
/* Labels: 13px 600 blue. Never uppercase or letter-spaced (DESIGN_CONTRACT overrides the prototype). */
.mega__label { font-size: 13px; font-weight: 600; color: var(--c-blue); margin-bottom: .6rem; }
.mega__list { display: flex; flex-direction: column; gap: .25rem; }
.mega__group a {
  display: block; text-decoration: none; font-size: 13.5px;
  padding: .3rem .5rem; margin-left: -.5rem; border-radius: 6px; opacity: .85;
}
.mega__group a:hover, .mega__group a:focus-visible { background: rgba(245, 243, 239, .08); opacity: 1; }
.mega__all { grid-column: 1 / -1; border-top: 1px solid var(--glass-strong); padding-top: .9rem; font-size: 13px; text-decoration: none; opacity: .8; }
.mega__all:hover { opacity: 1; }
.mega :focus-visible { outline-color: var(--c-blue); }

/* Mobile */
.menu-button {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit;
  border-color: var(--hairline);
}
.site-header--navy .menu-button, .site-header--dark .menu-button { border-color: var(--hairline-dark); }
.menu-button__close { display: none; }
.menu-button[aria-expanded="true"] .menu-button__open { display: none; }
.menu-button[aria-expanded="true"] .menu-button__close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--hairline);
  padding: 1rem var(--sp-section-x) 1.5rem;
  display: flex; flex-direction: column; gap: .1rem;
  font-size: 20px; font-weight: 600; letter-spacing: -.01em;
  max-height: calc(100vh - 70px); overflow: auto;
}
.site-header--navy .mobile-menu, .site-header--dark .mobile-menu { border-top-color: var(--hairline-dark); }
.mobile-menu > a:not(.btn) { text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--hairline); }
.site-header--navy .mobile-menu > a:not(.btn), .site-header--dark .mobile-menu > a:not(.btn) { border-bottom-color: var(--hairline-dark); }
.mobile-menu .btn { margin-top: 1rem; }
.mobile-menu[hidden] { display: none; }

@media (max-width: 959.98px) {
  .site-nav { display: none; }
  .menu-button { display: inline-flex; }
}
@media (min-width: 960px) {
  .mobile-menu { display: none !important; }
}

/* Navy footer + first-party consent panel. */

.site-footer { background: var(--c-navy); color: var(--c-paper); }
.site-footer__inner { max-width: var(--content-max); margin: 0 auto; padding: var(--sp-section-y) var(--sp-section-x) 2rem; }
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid var(--hairline-dark);
}
.site-footer__statement {
  font-size: clamp(2.5rem, 7vw, 6.5rem); font-weight: 700; line-height: .95;
  letter-spacing: var(--ls-display); max-width: 12ch;
}
.site-footer__cols {
  display: grid; gap: 2.5rem 3rem; padding: 3.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer__label { font-size: 13px; font-weight: 600; color: var(--c-blue); margin-bottom: 1.1rem; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.site-footer__links a, .site-footer__links .link-button { text-decoration: none; opacity: .9; }
.site-footer__links a:hover, .site-footer__links .link-button:hover { opacity: 1; color: var(--c-blue); }
.site-footer__links .is-revealed { color: var(--c-blue); opacity: 1; }
.site-footer__brand { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1rem; }
.site-footer__brand img { width: 40px; height: 56px; }
.site-footer__brand p { font-size: 15px; line-height: 1.55; color: var(--c-muted-dark); max-width: 28em; }
.site-footer__bottom {
  padding-top: 1.25rem; border-top: 1px solid var(--hairline-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  font-size: 13px; color: var(--c-faint);
}

.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 440px; background: var(--c-white); color: var(--c-ink);
  border-radius: var(--r-tile); box-shadow: var(--sh-panel); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  max-height: calc(100vh - 2rem); overflow-y: auto;
}
.consent[hidden] { display: none; }
.consent__title { font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin-bottom: .35rem; }
.consent__text { font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.consent__options { display: flex; flex-direction: column; gap: .5rem; }
.consent__option {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--c-paper); border-radius: 14px; padding: .8rem 1rem; font-size: 14px; cursor: pointer;
}
.consent__option strong { display: block; font-weight: 600; }
.consent__option span span { color: var(--c-muted); }
.consent__option input { width: 18px; height: 18px; flex: none; accent-color: var(--c-navy); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.consent__privacy { margin-left: auto; font-size: 13px; color: var(--c-muted); }

/* Shared page-level patterns: section intros, splits, rows, breadcrumbs, CTA bands. */

.stack > * + * { margin-top: 1.25rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.center-row { display: flex; justify-content: center; margin-top: 2.5rem; }

.section-intro { margin-bottom: 3.5rem; }
.section-intro .label { margin-bottom: 1rem; }
.section-intro--center { text-align: center; }
.section-intro--center .h2 { margin-left: auto; margin-right: auto; max-width: 20ch; }
.section-intro .h2 { margin-bottom: 1rem; }
.section-intro__sub { font-size: 18px; line-height: 1.55; color: var(--c-muted); max-width: 40em; }
.section-intro--center .section-intro__sub { margin: 0 auto; }
.on-dark .section-intro__sub { color: rgba(245, 243, 239, .75); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }

.split { display: grid; gap: 3rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split--start { align-items: start; }

.grid-cards--280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card__body { font-size: 15.5px; line-height: 1.55; color: var(--c-muted); margin-top: .75rem; }
.on-dark .card__body { color: rgba(245, 243, 239, .75); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 13px; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--c-ink); }
.on-dark .breadcrumb ol { color: var(--c-muted-dark); }
.on-dark .breadcrumb [aria-current] { color: var(--c-paper); }

.cta-band {
  margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  padding: 2rem 2.25rem; border-radius: var(--r-section); background: linear-gradient(160deg, var(--c-navy-2), var(--c-navy));
}
.cta-band .h3 { margin-bottom: .35rem; }
.cta-band p { font-size: 15px; }

/* Page hero for light inner pages */
.page-hero { padding: clamp(3rem, 6vw, 5rem) var(--sp-section-x) clamp(2rem, 4vw, 3rem); }
.page-hero .label { margin-bottom: 1.25rem; }
.page-hero__title { font-size: clamp(2.5rem, 6.5vw, 5.5rem); font-weight: 700; line-height: .98; letter-spacing: var(--ls-display); max-width: 14ch; margin-bottom: 1.5rem; }
.page-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: #4a4a50; max-width: 40em; }

/* Home page sections (design/Home v2.dc.html). */

/* Hero */
.hero { position: relative; overflow: clip; background: var(--grad-hero); }
.hero__grid {
  max-width: var(--content-max); margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--sp-section-x) 0;
  display: grid; gap: 2rem 3rem; align-items: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero__copy { position: relative; z-index: 2; padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero__title { max-width: 11ch; margin-bottom: 1.5rem; }
/* Word rail: line 1 of the H1 recedes into the page (handoff_hero_word_depth/SPEC.md). Positions are set
   by home.js; background words may run behind the photo and are clipped by .hero (overflow: clip). */
.rail {
  display: block; position: relative; height: 1.08em; white-space: nowrap;
  perspective: 1100px; perspective-origin: 0% 50%; margin-left: -.04em; padding-left: .04em;
}
.rail-word { position: absolute; left: 0; top: 0; transform-origin: 0% 50%; color: #9fb7cf; will-change: transform, filter, opacity; }
.rail-word.is-active { color: var(--c-paper); }
.rail.is-ready .rail-word { transition: transform 1s cubic-bezier(.2, .8, .2, 1), filter 1s ease, opacity 1s ease, color 1s ease; }
.rail.is-ready .rail-word:not(.is-active) { cursor: pointer; }
.rail-line2 { display: block; }
.hero__lead { max-width: 30em; margin-bottom: 2.5rem; color: rgba(245, 243, 239, .8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media { position: relative; z-index: 1; min-height: 320px; display: flex; align-items: flex-end; justify-content: center; }
.hero__photo {
  width: min(100%, 760px); height: auto; margin: 0 auto; filter: saturate(.95);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
}
/* Single column below 922px (the media query sets the columns, so scrollbars cannot make the grid and
   this rule disagree): the photo sits right under the
   buttons, bigger and bleeding off the right edge, so the face is visible on the first screen. */
@media (max-width: 921px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .hero__copy { padding-bottom: 1rem; }
  .hero__media { min-height: 0; justify-content: flex-end; margin-right: calc(-1 * var(--sp-section-x)); }
  .hero__photo { flex: none; width: min(125%, 620px); max-width: none; margin: 0; }
}
.proof { border-top: 1px solid var(--glass-strong); background: rgba(11, 31, 44, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.proof__list {
  max-width: var(--content-max); margin: 0 auto; padding: 1.25rem var(--sp-section-x);
  display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; align-items: center; justify-content: center;
}
.proof__logo { width: auto; opacity: .75; filter: grayscale(1) brightness(10); }
.proof__logo--invert { filter: grayscale(1) invert(1); }
.proof__logo--invert-bright { filter: grayscale(1) invert(1) brightness(1.6); }
.proof__logo--none { filter: none; }
.proof__logo--h18 { height: 18px; } .proof__logo--h20 { height: 20px; } .proof__logo--h22 { height: 22px; }
.proof__logo--h28 { height: 28px; } .proof__logo--h32 { height: 32px; }

/* Three ways */
.ways { display: grid; gap: var(--gap-cards); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.way {
  border-radius: var(--r-section); padding: 2.5rem 2.25rem; min-height: 380px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.way .label { margin-bottom: 1rem; }
.way .h3-lg { margin-bottom: 1rem; line-height: 1.05; }
.way__body { font-size: 16px; line-height: 1.55; color: var(--c-muted); }
.way__link { font-weight: 600; font-size: 15px; }
.way--white { background: var(--c-white); }
.way--ink { background: var(--c-ink); color: var(--c-paper); }
.way--ink .label { color: var(--c-faint); }
.way--ink .way__body { color: var(--c-muted-dark); }
.way--navy { background: var(--grad-navy); color: var(--c-paper); }
.way--navy .label { color: var(--c-blue); }
.way--navy .way__body { color: rgba(245, 243, 239, .75); }
.way--ink:hover, .way--navy:hover { box-shadow: none; }

/* About */
.about__quote { margin: 1rem 0 1.25rem; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-tiles); }
.pillar { background: var(--c-paper); border-radius: var(--r-tile); padding: 1.5rem; }
.pillar__title { font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin-bottom: .4rem; }
.pillar p { font-size: 14.5px; line-height: 1.5; color: var(--c-muted); }
@media (max-width: 420px) { .pillars { grid-template-columns: 1fr; } }

/* AI */
.ai-steps {
  list-style: none; padding: 0; margin: 1.25rem 0 0;
  display: grid; gap: var(--gap-cards); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.ai-step { background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-section); padding: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.on-dark .ai-step .label { color: var(--c-muted); }
.ai-step__title { font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }

/* Apps */
.app-card { display: flex; flex-direction: column; gap: 1rem; }
.app-card__icon { border-radius: 16px; }
.app-card__tagline { font-size: 15.5px; line-height: 1.55; color: var(--c-muted); flex: 1; }
.app-card .row { margin-top: .5rem; gap: .5rem; }

/* Testimonials */
.quote-card { margin: 0; background: var(--c-paper); border-radius: var(--r-section); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.quote-card__person { display: flex; align-items: center; gap: .9rem; }
.quote-card__person img { border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(1); }
.quote-card__name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; display: flex; align-items: center; gap: .4rem; }
.quote-card__name .verified { color: var(--c-muted); flex: none; }
.quote-card__role { font-size: 13px; color: var(--c-muted); line-height: 1.35; }
.quote-card__text { margin: 0; flex: 1; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.quote-card__meta { font-size: 12.5px; color: var(--c-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.quote-card__meta a { font-weight: 600; color: var(--c-ink); text-decoration: none; }
.quote-card__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Books */
.books-section { overflow: clip; }
.book-card { padding: 3rem 2.25rem 2.25rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; perspective: 1400px; color: var(--c-ink); }
.book-card__text { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.book-card__desc { font-size: 15px; line-height: 1.55; color: var(--c-muted); max-width: 34em; margin-bottom: .75rem; }
.book { width: 200px; height: 280px; }
.book__inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.book--right .book__inner { transform: rotateY(28deg) rotateX(4deg); }
.book-card:hover .book__inner { transform: rotateY(-8deg) rotateX(0) translateY(-8px); }
.book-card:hover .book--right .book__inner { transform: rotateY(8deg) rotateX(0) translateY(-8px); }
.book__cover {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px; padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  box-shadow: var(--sh-book), inset 2px 0 4px rgba(255, 255, 255, .25); transform: translateZ(14px);
}
.book__cover--mz {
  color: #fff;
  background:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, .05) 0 18px, transparent 18px 36px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, .04) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, #3d8f3a, #2f6f2e 55%, #245a24);
}
.book__cover--next { color: var(--c-paper); background: linear-gradient(160deg, #245577, var(--c-navy-2) 60%, #0f2a3c); }
.book__badge { align-self: flex-start; background: #f26f21; color: #fff; font-size: 9px; font-weight: 600; padding: .3rem .5rem; border-radius: 2px; }
.book__publisher { align-self: flex-end; background: #f26f21; color: #fff; font-size: 10px; font-weight: 700; padding: .25rem .5rem; border-radius: 2px; }
.book__title { display: flex; flex-direction: column; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.book__cover--next .book__title { font-size: 26px; }
.book__title-light { font-weight: 400; line-height: 1; }
.book__cover--next .book__title-light { color: rgba(245, 243, 239, .6); }
.book__soon { font-size: 9px; font-weight: 600; color: var(--c-blue); }
.book__author { font-size: 9px; color: rgba(245, 243, 239, .5); }
.book__spine {
  position: absolute; top: 2px; bottom: 2px; left: 0; width: 28px; background: #1f4d1f; border-radius: 3px 0 0 3px;
  transform-origin: left center; transform: translateZ(14px) rotateY(-90deg); backface-visibility: hidden;
}
.book__spine--next { background: #0a1a27; }
.book__pages {
  position: absolute; top: 4px; bottom: 4px; right: 0; width: 26px; border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(90deg, #f1ece0 0 1px, #dcd6c8 1px 2px);
  transform-origin: right center; transform: translateZ(14px) rotateY(90deg); backface-visibility: hidden;
}

/* Blog: auto-fill so one or two posts keep card width */
[data-blog] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.post-card { text-decoration: none; background: var(--c-paper); border-radius: var(--r-section); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
.post-card__img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; background: #e4e1da; }
.post-card__img--fallback {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  background: var(--grad-navy); color: var(--c-paper); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.1;
}
.post-card__img--fallback span:last-child { color: var(--c-blue); }
.post-card__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card__date { font-size: 12.5px; color: var(--c-muted); }
.post-card__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); }

/* Let's talk */
.contact__intro { position: sticky; top: 6rem; }
.contact__intro .h2 { margin-bottom: 1.25rem; }
.agenda { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: .75rem; max-width: 460px; }
.agenda li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: center; background: var(--c-white); border-radius: 18px; padding: 1rem 1.25rem; font-size: 15px; line-height: 1.45; }
.agenda__min { font-weight: 700; font-size: 1.5rem; letter-spacing: -.04em; color: var(--c-navy-2); }
.contact__help { margin-top: 2rem; font-size: 14.5px; color: var(--c-muted); }
.contact__help a { font-weight: 600; color: var(--c-ink); }
@media (max-width: 720px) { .contact__intro { position: static; } }

.booking { border-radius: var(--r-section); background: var(--c-white); padding: 1.5rem; min-height: 560px; display: flex; flex-direction: column; }
.booking__picker { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.booking__picker[hidden] { display: none; }
.booking__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.booking__title { font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.booking__month { font-size: 13px; color: var(--c-muted); }
.booking__weekdays, .booking__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; text-align: center; font-size: 13px; }
.booking__weekdays { color: var(--c-muted); font-weight: 600; font-size: 12px; }
.booking__day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 999px;
  color: #b8b6b1; text-decoration: none;
}
a.booking__day { background: var(--c-paper); color: var(--c-ink); font-weight: 600; }
a.booking__day:hover, a.booking__day:focus-visible { background: var(--c-navy); color: var(--c-paper); }
.booking__note { margin-top: auto; font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.booking__embed { flex: 1; min-height: 660px; }
.booking__embed iframe { border: 0; }

/* Clients conveyor */
.clients { overflow: clip; padding-left: 0; padding-right: 0; }
.clients .container { padding: 0 var(--sp-section-x); }
.clients .section-intro { margin-bottom: 2rem; }
.conveyor { display: flex; flex-direction: column; gap: 1rem; }
.conveyor__row {
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.conveyor__track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.conveyor__row--reverse .conveyor__track { animation-direction: reverse; }
.conveyor__row:hover .conveyor__track { animation-play-state: paused; }
.conveyor__tile {
  width: 220px; height: 120px; border-radius: var(--r-tile); background: var(--c-paper); flex: none;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; transition: background .2s;
}
.conveyor__tile img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s; }
.conveyor__tile:hover { background: var(--c-navy); }
.conveyor__tile:hover img { filter: grayscale(1) invert(1) brightness(1.4); }
@media (prefers-reduced-motion: reduce) {
  .conveyor__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--sp-section-x); }
  .conveyor__tile[aria-hidden="true"] { display: none; }
  .conveyor__row { -webkit-mask-image: none; mask-image: none; }
  .book__inner, .book--right .book__inner { transition: none; }
}

/* Book page (/books/<slug>/): cover next to the buy links. */
.book-hero__grid { margin-top: 1rem; }
.book-hero__cover { display: flex; justify-content: center; padding: 1rem 0 2rem; perspective: 1400px; }
.book-hero__cover .book { width: 240px; height: 336px; }
.book-stores__title { margin-top: 2rem; margin-bottom: .75rem; }
.book-stores { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.book-stores__note { margin-top: .75rem; font-size: 14px; color: var(--c-muted); }
.book-since { max-width: 46rem; }
.book-since p { margin-top: 1rem; line-height: 1.65; }

/* Services overview + detail (design/Services v2, Service Detail v2). */

.btn--outline { background: none; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); padding: .95rem 1.5rem; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-paper); }
.btn--outline-dark { background: none; color: var(--c-paper); box-shadow: inset 0 0 0 1px rgba(245, 243, 239, .35); padding: .95rem 1.5rem; }
.btn--outline-dark:hover { box-shadow: inset 0 0 0 1px var(--c-paper); }

/* Overview clusters */
.cluster { background: var(--c-paper); padding: clamp(3rem, 6vw, 5rem) var(--sp-section-x); }
.cluster--dark { background: var(--c-navy); }
.cluster__grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cluster__number { font-size: 13px; font-weight: 600; color: var(--c-blue-ink); margin-bottom: .75rem; }
.cluster--dark .cluster__number { color: var(--c-blue); }
.cluster__title { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: var(--ls-h3); margin-bottom: 1rem; }
.cluster__text { font-size: 16px; line-height: 1.6; opacity: .8; max-width: 30em; }
.cluster__cards { list-style: none; padding: 0; margin: 0; grid-column: span 2; display: grid; gap: var(--gap-tiles); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (max-width: 960px) { .cluster__cards { grid-column: auto; } }
.service-card {
  height: 100%; text-decoration: none; border-radius: var(--r-card); padding: 1.5rem; background: var(--c-white);
  display: flex; flex-direction: column; gap: .75rem; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, transform .25s;
}
.cluster--dark .service-card { background: var(--glass); }
.service-card:hover { box-shadow: inset 0 0 0 1px var(--c-blue); transform: translateY(-2px); }
.service-card__name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.service-card__tagline { font-size: 14.5px; line-height: 1.55; opacity: .8; flex: 1; }
.service-card__foot { font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; opacity: .85; }

.start-band {
  border-radius: var(--r-section); padding: clamp(1.75rem, 4vw, 3rem); background: var(--c-paper);
  display: grid; gap: 2rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.start-band .label { margin-bottom: .75rem; }
.start-band__text { font-size: 16px; line-height: 1.6; color: #4a4a50; max-width: 36em; }
.start-band__actions { justify-self: end; }
@media (max-width: 700px) { .start-band__actions { justify-self: start; } }

/* Detail hero */
.service-hero { background: var(--c-navy); padding: clamp(3rem, 6vw, 5rem) var(--sp-section-x); }
.service-hero .breadcrumb ol { margin-bottom: 2rem; }
.service-hero__grid { display: grid; gap: 2rem 4rem; align-items: end; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.service-hero .label { margin-bottom: 1rem; }
.service-hero__title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: .98; letter-spacing: var(--ls-display); margin-bottom: 1.25rem; }
.service-hero__outcome { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: #d6d4cf; max-width: 34em; margin-bottom: 2rem; }
.facts { margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.fact { background: rgba(245, 243, 239, .08); border-radius: 18px; padding: 1.25rem; }
.fact dt { font-size: 13px; font-weight: 600; color: var(--c-muted-dark); margin-bottom: .4rem; }
.fact dd { margin: 0; font-weight: 600; font-size: 15px; }

/* Detail body */
.section--rule { border-top: 1px solid rgba(30, 30, 33, .1); }
.two-col { display: grid; gap: 3rem 4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.two-col--start { align-items: start; }
.h2-sm { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 1.25rem; }
.numbered { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; font-size: 16px; line-height: 1.55; }
.numbered li { display: flex; gap: .75rem; }
.numbered li span { color: var(--c-muted); flex: none; }
.checklist { list-style: none; padding: 0; margin: 0; font-size: 16px; line-height: 1.55; }
.checklist li { display: flex; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid rgba(30, 30, 33, .1); }
.checklist__tick { width: 20px; height: 20px; border-radius: 50%; background: var(--c-navy); color: var(--c-paper); display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: .15rem; }

.how { margin-top: 4rem; display: grid; gap: 2rem 4rem; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: .5rem; padding: 1.25rem 0; transition: opacity .4s; }
.how--scrolly .step { min-height: 220px; }
.step.is-dim { opacity: .55; }
.step__n { font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; color: var(--c-blue-ink); }
.step__title { font-weight: 700; font-size: 16px; margin-bottom: .25rem; }
.step__text { font-size: 15px; line-height: 1.55; color: #4a4a50; }
.how__panel { align-self: stretch; }
.ops-panel {
  position: sticky; top: 6rem; background: var(--c-navy); color: var(--c-paper); border-radius: var(--r-card);
  padding: 1.25rem; min-height: 380px; font-size: 13px; box-shadow: 0 30px 60px rgba(11, 31, 44, .25);
}
.ops-panel__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; color: var(--c-faint); }
.ops-panel__title { font-weight: 600; color: var(--c-paper); }
.ops-panel__rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.ops-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--glass); border-radius: 12px; padding: .7rem .9rem; }
.ops-row--hi { background: rgba(124, 168, 255, .14); }
.ops-row__label { display: flex; align-items: center; gap: .6rem; }
.ops-row__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ops-row__tag { font-size: 11.5px; font-weight: 600; text-align: right; }
.ops-tone--ok { background: var(--c-green); } .ops-tone-text--ok { color: var(--c-green); }
.ops-tone--warn { background: var(--c-warn); } .ops-tone-text--warn { color: var(--c-warn); }
.ops-tone--bad { background: var(--c-danger); } .ops-tone-text--bad { color: var(--c-danger); }
.ops-tone--blue { background: var(--c-blue); } .ops-tone-text--blue { color: var(--c-blue); }
.ops-tone--muted { background: var(--c-faint); } .ops-tone-text--muted { color: var(--c-faint); }
.ops-panel__note { margin-top: 1rem; font-size: 12px; color: var(--c-faint); }
.ops-panel__state[hidden] { display: none; }
@media (max-width: 720px) { .how--scrolly .step { min-height: 0; } .how__panel { display: none; } .step.is-dim { opacity: 1; } }

.pull-quote { margin: 0; border-left: 2px solid var(--c-ink); padding-left: 1.5rem; }
.pull-quote blockquote { margin: 0 0 1rem; font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.pull-quote figcaption { font-size: 13.5px; }
.pull-quote figcaption span { color: var(--c-muted); }
.pull-quote__logo { margin-top: 1.5rem; height: 22px; width: auto; opacity: .75; filter: grayscale(1); }

.faq { border-top: 1px solid rgba(30, 30, 33, .15); }
.faq__item { border-bottom: 1px solid rgba(30, 30, 33, .15); }
.faq__q { margin: 0; }
.faq__q button {
  width: 100%; background: none; border: 0; padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; color: inherit;
}
.faq__sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--c-muted); transition: transform .2s; }
.faq__sign::after { transform: rotate(90deg); }
.faq__q button[aria-expanded="true"] .faq__sign::after { transform: rotate(0); }
.faq__a p { padding: 0 0 1.1rem; font-size: 15px; line-height: 1.6; color: #4a4a50; max-width: 60ch; }

.related__label { margin-bottom: 1.25rem; font-size: 13px; }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap-tiles); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.related__card {
  height: 100%; text-decoration: none; background: var(--glass); border-radius: var(--r-card); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s;
}
.related__card:hover { box-shadow: inset 0 0 0 1px var(--c-blue); }
.related__name { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.related__reason { font-size: 14.5px; color: var(--c-muted-dark); line-height: 1.55; }

/* Help Center: home, listings, article, contact (design/Help Center, Help Article, Help Contact). */

.btn--xs { padding: .55rem 1rem; font-size: 14px; }
.page-hero__title--md { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 18ch; }

/* Home + search */
.hc-hero { background: var(--c-paper); padding: clamp(3rem, 6vw, 5rem) var(--sp-section-x) clamp(2.5rem, 5vw, 4rem); }
.hc-hero > .container > .label { margin-bottom: 1.25rem; }
.hc-hero .page-hero__title { margin-bottom: 2rem; }
.hc-hero--small { padding-bottom: 2.5rem; }
.hc-hero--small .page-hero__title { margin-bottom: 1rem; }
.hc-search { position: relative; max-width: 760px; }
.hc-search__box {
  display: flex; align-items: center; gap: .9rem; background: var(--c-white);
  border: 1px solid rgba(30, 30, 33, .2); border-radius: var(--r-pill); padding: .4rem .5rem .4rem 1.25rem;
  box-shadow: 0 10px 30px rgba(30, 30, 33, .06);
}
.hc-search__box:focus-within { border-color: var(--c-navy); box-shadow: 0 0 0 3px var(--focus), 0 10px 30px rgba(30, 30, 33, .06); }
.hc-search__box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; padding: .6rem 0; color: var(--c-ink); }
.hc-search__box input::placeholder { color: #8a8a90; }
.hc-search__box input::-webkit-search-cancel-button { cursor: pointer; }
.hc-search__box kbd { font: inherit; font-size: 11px; color: var(--c-muted); border: 1px solid rgba(30, 30, 33, .2); border-radius: 6px; padding: .2rem .45rem; margin-right: .5rem; }
.hc-search__panel {
  position: absolute; top: calc(100% + .5rem); left: 0; right: 0; z-index: 20;
  background: var(--c-white); border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(30, 30, 33, .14); overflow: hidden;
}
.hc-results { list-style: none; margin: 0; padding: 0; }
.hc-results a { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1.25rem; text-decoration: none; border-bottom: 1px solid rgba(30, 30, 33, .08); }
.hc-results [aria-selected="true"] a, .hc-results a:hover { background: var(--c-paper); }
.hc-results__title { font-weight: 600; font-size: 15px; }
.hc-results__meta { font-size: 13px; color: var(--c-muted); }
.hc-results__hint { padding: .6rem 1.25rem; font-size: 12px; color: var(--c-muted); display: flex; gap: 1rem; }
.hc-results__empty { padding: 1rem 1.25rem; font-size: 15px; }
.hc-results__empty a { font-weight: 700; }
.hc-results__empty[hidden], .hc-results__hint[hidden] { display: none; }

.hc-products { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap-tiles); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hc-product {
  height: 100%; text-decoration: none; border-radius: var(--r-card); padding: 1.5rem; background: var(--c-paper);
  display: flex; flex-direction: column; gap: .9rem; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s;
}
.hc-product:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.hc-product__head { display: flex; align-items: center; gap: .9rem; }
.hc-product__cat { display: block; font-size: 12.5px; font-weight: 600; color: var(--c-muted); }
.hc-product__name { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.hc-product__desc { font-size: 14.5px; line-height: 1.55; color: #4a4a50; flex: 1; }
.hc-product__foot { font-size: 13px; font-weight: 600; color: var(--c-muted); display: flex; justify-content: space-between; }
.hc-icon {
  width: 44px; height: 44px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-ink); color: var(--c-paper); font-weight: 700; font-size: 16px; overflow: hidden;
}
img.hc-icon { background: none; }
.hc-icon--muted { background: var(--c-muted); }
.hc-section-head { margin-bottom: 1rem; }
.hc-section-head .hc-icon { width: 56px; height: 56px; border-radius: 14px; }
.article-aside .hc-icon { width: 36px; height: 36px; border-radius: 8px; font-size: 13px; }

.hc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(30, 30, 33, .15); }
.hc-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(30, 30, 33, .12); text-decoration: none; }
.hc-list a:hover .hc-list__title { text-decoration: underline; text-underline-offset: 3px; }
.hc-list__title { display: block; font-weight: 600; font-size: 15.5px; }
.hc-list__meta { display: block; font-size: 13px; color: var(--c-muted); margin-top: .15rem; }
.hc-list__arrow { color: var(--c-muted); }
.hc-list--compact a { padding: .7rem 0; font-size: 14.5px; }
.hc-group + .hc-group { margin-top: 3rem; }
.hc-group .h2-sm a { text-decoration: none; }
.hc-group .h2-sm a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hc-note { margin-top: 2rem; font-size: 15px; }
.hc-note a { font-weight: 600; }

.hc-contact { position: sticky; top: 6rem; border-radius: var(--r-section); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--c-navy); }
.hc-contact .label { margin-bottom: .75rem; }
.hc-contact__title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: .75rem; }
.hc-contact__text { font-size: 15px; line-height: 1.6; color: var(--c-muted-dark); margin-bottom: 1.5rem; }
.hc-contact .is-revealed { color: var(--c-blue); font-weight: 600; font-size: 14px; align-self: center; }

/* Article */
.article-layout {
  padding: clamp(2rem, 4vw, 3rem) var(--sp-section-x) clamp(4rem, 7vw, 6rem);
  display: grid; gap: 3rem 4rem; align-items: start; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}
@media (max-width: 880px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; order: 2; } }
.article-aside { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.5rem; font-size: 14.5px; }
.article-aside__back { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--c-muted); }
.article-aside__back:hover { color: var(--c-ink); }
.article-aside__section { display: flex; align-items: center; gap: .75rem; }
.article-aside__name { font-weight: 700; font-size: 16px; }
.article-aside__name a { text-decoration: none; }
.article-aside__nav { display: flex; flex-direction: column; border-left: 1px solid rgba(30, 30, 33, .15); }
.article-aside__nav a { text-decoration: none; padding: .5rem .9rem; margin-left: -1px; border-left: 2px solid transparent; color: #4a4a50; }
.article-aside__nav a:hover { color: var(--c-ink); }
.article-aside__nav [aria-current="page"] { border-left-color: var(--c-ink); font-weight: 700; color: var(--c-ink); }
.article-toc { display: flex; flex-direction: column; gap: .4rem; font-size: 13px; }
.article-toc__label { font-size: 12.5px; font-weight: 600; color: var(--c-muted); margin-bottom: .2rem; }
.article-toc a { text-decoration: none; color: #4a4a50; }
.article-toc a:hover { color: var(--c-ink); text-decoration: underline; }

.article { max-width: 72ch; min-width: 0; }
.article__title { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.02; letter-spacing: var(--ls-display); margin-bottom: 1rem; }
.article__meta { font-size: 13px; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(30, 30, 33, .15); }
.article__intro { font-size: 18px; line-height: 1.65; color: #4a4a50; margin-bottom: 1.5rem; }
.article__callout { border-radius: 18px; padding: 1rem 1.25rem; background: var(--c-white); font-size: 15.5px; line-height: 1.6; margin-bottom: 2.5rem; display: flex; gap: .9rem; align-items: flex-start; }
.article__callout img { border-radius: 6px; flex: none; margin-top: .1rem; }
.article__archived { border: 1px solid var(--c-warn); background: #fff8ec; border-radius: 14px; padding: .9rem 1.1rem; font-size: 15px; margin-bottom: 1.5rem; }


.helpful { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; margin-top: 3rem; border-top: 1px solid rgba(30, 30, 33, .15); border-bottom: 1px solid rgba(30, 30, 33, .15); }
.helpful__q { font-weight: 600; font-size: 15px; }
.helpful__buttons { gap: .5rem; }
.helpful__thanks { font-size: 14px; color: var(--c-muted); display: flex; align-items: center; gap: .5rem; }
.helpful__thanks::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); }
.helpful__thanks[hidden] { display: none; }

.article-pager { display: grid; gap: 1rem; margin: 1.5rem 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.article-pager__link { text-decoration: none; border-radius: 18px; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; background: var(--c-white); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s; }
.article-pager__link:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.article-pager__link span { font-size: 12px; color: var(--c-muted); }
.article-pager__link strong { font-weight: 600; font-size: 15px; }
.article-pager__link--next { text-align: right; }

.need-help { border-radius: 16px; padding: 1.5rem 1.75rem; background: var(--c-navy); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.need-help__title { font-weight: 700; font-size: 17px; margin-bottom: .25rem; }
.need-help__text { font-size: 14.5px; color: var(--c-muted-dark); }

.lightbox { border: 0; padding: 0; background: none; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(11, 31, 44, .85); }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 12px; background: var(--c-white); }
.lightbox__close {
  position: absolute; top: -1rem; right: -1rem; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-paper); color: var(--c-ink); font-size: 24px; line-height: 1;
}

/* Contact */
.contact-page { padding: clamp(2rem, 4vw, 3rem) var(--sp-section-x) clamp(4rem, 7vw, 6rem); }
.contact-page .page-hero__title { margin-bottom: .75rem; }
.contact-page__lead { font-size: 17px; color: #4a4a50; max-width: 40em; margin-bottom: 2.5rem; }
.contact-page__lead .is-revealed { font-weight: 700; }
.contact-grid { display: grid; gap: 3rem 4rem; align-items: start; grid-template-columns: minmax(0, 640px) minmax(260px, 1fr); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.support-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field__label { font-size: 13.5px; }
.field__hint { color: var(--c-muted); font-weight: 400; }
.field__error[hidden] { display: none; }
.textarea { resize: vertical; min-height: 150px; }
.checkbox { display: flex; gap: .75rem; align-items: flex-start; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--c-navy); flex: none; }
.checkbox a { font-weight: 700; text-underline-offset: 3px; }
.field--error .checkbox input { outline: 2px solid var(--c-form-error); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-subdomain-wrap][hidden] { display: none; }
.support-form__submit { margin-top: .5rem; gap: 1rem; }
.support-form [data-submit][aria-busy="true"] { opacity: .6; cursor: progress; }
.form-alert { border: 1px solid var(--c-form-error); border-radius: 12px; padding: 1rem 1.25rem; background: var(--c-white); font-size: 15px; line-height: 1.55; }
.form-alert a { display: inline-block; margin-top: .25rem; font-weight: 700; text-underline-offset: 3px; }
.form-alert[hidden] { display: none; }
.form-success { max-width: 640px; border-radius: 20px; padding: clamp(1.75rem, 4vw, 2.5rem); background: var(--c-navy); }
.form-success[hidden] { display: none; }
.form-success .label { margin-bottom: .75rem; }
.form-success__title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin-bottom: .75rem; }
.form-success__text { font-size: 16px; line-height: 1.6; color: var(--c-muted-dark); margin-bottom: 1.5rem; }
.form-success:focus { outline: none; }
.contact-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-aside__card { border-radius: var(--r-card); padding: 1.5rem; background: var(--c-white); }
.contact-aside__card .label { margin-bottom: .75rem; }
.contact-aside__title { font-weight: 700; font-size: 16px; margin-bottom: 1rem; }
.contact-aside__expect { font-size: 14.5px; line-height: 1.6; color: #4a4a50; padding: 0 .25rem; }
.contact-aside__expect .label { margin-bottom: .5rem; }

/* Article and post typography: shared by the public site and the admin editor canvas (what you
   see while writing is what gets published). Bundled after help.css, before blog.css. */
.prose { font-size: var(--fs-article); line-height: 1.7; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; margin-top: 2.5rem; scroll-margin-top: 6rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 2rem; }
.prose a { font-weight: 600; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose li > ol, .prose li > ul { margin-top: .5rem; }
.prose pre { background: var(--c-navy); color: var(--c-paper); border-radius: 14px; padding: 1.1rem 1.25rem; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid rgba(30, 30, 33, .12); padding: .6rem .5rem; text-align: left; }
.shot { margin: 1.5rem 0 2rem; }
li .shot { margin: 1rem 0; }
.shot__link { display: block; border-radius: 12px; overflow: hidden; background: var(--c-white); box-shadow: inset 0 0 0 1px rgba(30, 30, 33, .12); cursor: zoom-in; }
.shot__link img { width: 100%; height: auto; }
.shot__link:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.shot--placeholder {
  border: 1px dashed rgba(30, 30, 33, .3); border-radius: 12px; aspect-ratio: 16 / 8; padding: 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center;
  background: repeating-linear-gradient(135deg, var(--c-paper) 0 12px, #edebe6 12px 24px); font-size: 13px; color: var(--c-muted);
}
.shot--placeholder strong { color: var(--c-ink); }

.label-pill {
  display: inline-flex; align-items: center; padding: .4rem .85rem; border-radius: var(--r-pill);
  background: var(--c-white); color: var(--c-ink); font-size: 13.5px; font-weight: 600; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.label-pill:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.label-pill.is-current { background: var(--c-navy); color: var(--c-paper); box-shadow: none; }

.post__head { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.post__narrow { max-width: calc(72ch + 2 * var(--sp-section-x)); padding: 0 var(--sp-section-x); }
.post__labels { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.post__title { font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: var(--ls-display); margin-bottom: 1.25rem; }
.post__meta { font-size: 13.5px; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: .6rem; }
.post__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: #4a4a50; margin-top: 1.5rem; }
.post__image-wrap { max-width: 1100px; padding: 0 var(--sp-section-x); margin-top: 2.5rem; }
.post__image { width: 100%; height: auto; border-radius: var(--r-section); background: var(--c-white); }
.post__body { margin: 3rem 0; }

/* Rich-text blocks from the editor (blog + help) */
.prose h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.75rem; }
.prose blockquote {
  margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--c-navy);
  font-size: 1.2rem; line-height: 1.55; color: var(--c-ink); font-weight: 500;
}
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: .5rem; font-size: 14px; font-style: normal; color: var(--c-muted); }
.prose aside.callout {
  margin: 2rem 0; padding: 1.1rem 1.25rem 1.1rem 3.25rem; border-radius: 18px; background: #e9f0ff; position: relative;
  font-size: 16px; line-height: 1.6;
}
.prose aside.callout::before {
  content: "i"; position: absolute; left: 1.1rem; top: 1.15rem; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-navy); color: var(--c-paper); font-weight: 700; font-size: 13px; line-height: 22px; text-align: center;
}
.prose p.reference {
  font-size: 14px; color: var(--c-muted); border-top: 1px solid var(--hairline); padding-top: .75rem; margin-top: 2rem;
}
.prose p.reference::before { content: "Reference: "; font-weight: 600; color: var(--c-ink); }
.prose :not(pre) > code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em;
  background: #ebe8e2; padding: .1em .35em; border-radius: 6px;
}
.prose u { text-underline-offset: 3px; }

/* Figure captions */
.shot figcaption, .carousel__slide figcaption { margin-top: .6rem; font-size: 14px; line-height: 1.5; color: var(--c-muted); text-align: center; }

/* Code blocks: language bar + copy, highlight.js token colours on navy */
.prose .code-block { border-radius: 14px; overflow: hidden; background: var(--c-navy); margin: 2rem 0; }
.code-block__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem .75rem .5rem 1.25rem; border-bottom: 1px solid rgba(245, 243, 239, .1); font-size: 12.5px; font-weight: 600; color: var(--c-muted-dark); }
.code-block__copy { border: 0; background: rgba(245, 243, 239, .08); color: var(--c-paper); font: inherit; font-size: 12px; padding: .3rem .7rem; border-radius: var(--r-pill); cursor: pointer; }
.code-block__copy:hover { background: rgba(245, 243, 239, .16); }
.prose .code-block pre { margin: 0; border-radius: 0; background: none; }
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-meta .hljs-keyword { color: #7ca8ff; }
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-template-string { color: #a6e3a1; }
.hljs-number, .hljs-literal, .hljs-symbol, .hljs-bullet { color: #f5b14a; }
.hljs-comment, .hljs-quote, .hljs-deletion { color: #8c9aa6; font-style: italic; }
.hljs-title, .hljs-title.function_, .hljs-section, .hljs-name { color: #ffd479; }
.hljs-attr, .hljs-attribute, .hljs-variable, .hljs-template-variable, .hljs-property { color: #c3d6ff; }
.hljs-type, .hljs-class .hljs-title, .hljs-params { color: var(--c-paper); }
.hljs-meta, .hljs-tag, .hljs-punctuation { color: #b8b6b1; }

/* Image carousel (scroll-snap, arrows + counter via article.js; works without JS by scrolling) */
.prose .carousel { margin: 2rem 0; }
.carousel__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; border-radius: 12px; }
.carousel__track:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 4px; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.carousel__slide a { display: block; border-radius: 12px; overflow: hidden; background: var(--c-white); cursor: zoom-in; }
.carousel__slide img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .75rem; }
.carousel__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c-white); color: var(--c-ink); font-size: 18px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--hairline); }
.carousel__btn:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__count { font-size: 14px; color: var(--c-muted); min-width: 4.5em; text-align: center; }

/* YouTube video: placeholder until the visitor clicks play (or allowed embedded media) */
.prose .video { margin: 2rem 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--grad-navy); display: grid; place-items: center; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { display: inline-flex; align-items: center; gap: .75rem; border: 0; border-radius: var(--r-pill); background: var(--c-paper); color: var(--c-navy); font: inherit; font-weight: 600; font-size: 15px; padding: .8rem 1.4rem .8rem 1rem; cursor: pointer; }
.video__play:hover { background: var(--c-white); }
.video__icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.video__note { margin-top: .6rem; font-size: 13px; color: var(--c-muted); }

/* Blog: index, label pages, post page, plus shared rich-text blocks (also used in help articles). */

/* Post cards: whole card clickable via the stretched link */
.post-card { position: relative; }
.post-card__title { font-weight: 700; font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.25; margin: 0; }
.post-card__date, .post-card__excerpt { margin: 0; }
.post-card__link { margin-top: .5rem; font-weight: 600; font-size: 14px; color: var(--c-ink); text-decoration: none; }
.post-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card:focus-within { box-shadow: 0 0 0 3px var(--focus), var(--sh-hover); }
.post-card__link:focus-visible { outline: none; }
.blog-grid { display: grid; gap: var(--gap-cards); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Index + label pages */
.blog-hero .label { margin-bottom: 1.25rem; }
.label-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }

/* Post page */
.author-box { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--r-card); background: var(--c-white); margin-bottom: 2rem; }
.author-box img { border-radius: 50%; flex: none; }
.author-box__name { font-weight: 700; }
.author-box__text { font-size: 15px; color: var(--c-muted); line-height: 1.55; margin: .25rem 0 .5rem; }
.author-box__links { display: flex; gap: 1rem; font-size: 14px; font-weight: 600; }
.author-box__links a { color: var(--c-ink); }
.cta-band--plain { margin-top: 0; background: none; padding: 0; }


/* Share row under a post: plain links, no third-party scripts. */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: -1rem 0 2rem; }
.share-row__label { font-size: 14px; font-weight: 600; margin-right: .5rem; }

/* Legal pages + 404. */

.legal { padding: clamp(2.5rem, 5vw, 4rem) var(--sp-section-x) clamp(4rem, 7vw, 6rem); }
.legal__body { max-width: 72ch; }
.legal__body h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: var(--ls-display); margin-bottom: 2rem; }
.legal__body address { font-style: normal; }
.legal__body section + section { margin-top: 2rem; }
.legal__body h3 { margin-top: 1.25rem; }

.page-404 { background: var(--c-navy); }
.notfound {
  padding: clamp(3rem, 6vw, 5rem) var(--sp-section-x); min-height: 70vh;
  display: grid; gap: 3rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.notfound .label { margin-bottom: 1.25rem; }
.notfound__title { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 700; line-height: .98; letter-spacing: var(--ls-display); margin-bottom: 1.5rem; }
.notfound__intro { font-size: 16px; line-height: 1.6; color: var(--c-muted-dark); margin-bottom: 1.5rem; max-width: 36em; }
.notfound__escape { margin-top: 1.25rem; font-size: 13px; color: var(--c-faint); }
.notfound__escape a { color: var(--c-paper); font-weight: 600; }
.notfound__pirate {
  justify-self: center; width: auto; height: min(72vh, 620px); max-width: 100%; object-fit: contain;
  image-rendering: pixelated; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hit { 0% { transform: translateX(0); } 30% { transform: translateX(-10px) rotate(-2deg); } 60% { transform: translateX(6px); } 100% { transform: translateX(0); } }

.duel { background: var(--glass); border-radius: var(--r-card); padding: 1.5rem; max-width: 560px; display: flex; flex-direction: column; gap: 1rem; }
.duel__score { display: flex; justify-content: space-between; gap: 1rem; font-size: 12.5px; color: var(--c-faint); }
.duel__insult { background: var(--c-paper); color: var(--c-ink); border-radius: 16px 16px 16px 4px; padding: .9rem 1.1rem; font-size: 15.5px; line-height: 1.45; }
.duel__insult[hidden] { display: none; }
.duel__insult.is-hit { animation: hit .4s ease; }
.duel__options { display: flex; flex-direction: column; gap: .5rem; }
.duel__option {
  font-size: 14.5px; text-align: left; line-height: 1.4; cursor: pointer; color: var(--c-paper);
  background: rgba(245, 243, 239, .08); border: 1px solid var(--glass-strong); border-radius: 12px; padding: .75rem 1rem;
}
.duel__option:hover, .duel__option:focus-visible { background: rgba(124, 168, 255, .18); border-color: var(--c-blue); }
.duel__feedback { font-size: 13.5px; }
.duel__feedback[hidden] { display: none; }
.duel__feedback.is-ok { color: var(--c-green); }
.duel__feedback.is-miss { color: #ff9d9d; }
.duel__end { display: flex; flex-direction: column; gap: .75rem; }
.duel__end[hidden] { display: none; }
.duel__verdict { border-radius: 16px; padding: 1rem 1.1rem; font-size: 15px; line-height: 1.45; color: var(--c-navy); }
.duel__end--win .duel__verdict { background: var(--c-green); }
.duel__end--lose .duel__verdict { background: var(--c-danger); }
.duel__again { font-weight: 600; font-size: 14px; color: var(--c-faint); }
.duel__again:hover { color: var(--c-paper); }
@media (prefers-reduced-motion: reduce) { .notfound__pirate, .duel__insult.is-hit { animation: none; } }

/* Newsletter sign-up (render/partials/newsletter.mjs) and the confirm / unsubscribe pages. */
.newsletter__inner { display: grid; gap: 1.5rem 3rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.newsletter__text p { margin-top: .75rem; max-width: 34em; line-height: 1.6; }
.newsletter__form { position: relative; display: flex; flex-direction: column; gap: .9rem; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.newsletter__row .input { flex: 1 1 220px; min-width: 0; }
.newsletter__row .btn { flex: none; }
.newsletter__consent { font-size: 13.5px; }
.newsletter__status { min-height: 1.5em; font-size: 14px; color: var(--c-ink); }
.newsletter__status.is-error { color: var(--c-form-error); }
.newsletter-page__inner { max-width: 44rem; }
.newsletter-page__inner [data-state] p + p { margin-top: 1.25rem; }
.newsletter-page__back { margin-top: 2.5rem; }
