/* Resolon v2 - shared stylesheet for the static pages (/federal, /leadership/*).
   Tokens are identical to docs/v2/DESIGN-V2.md section 2 (same names as src/index.css).
   All hiding / motion CSS is scoped to html.pg-on (set by the inline head script only when motion is allowed)
   and to prefers-reduced-motion: no-preference, so content is always visible without JS or with reduced motion. */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/spline-sans-mono-latin-wght-normal.woff2') format('woff2');
}
/* Metric-adjusted local fallback (same as src/index.css): kills swap-reflow on the display face */
@font-face {
  font-family: 'Newsreader Fallback';
  src: local('Georgia');
  size-adjust: 94%;
  ascent-override: 88%;
  descent-override: 25%;
  line-gap-override: 0%;
}
/* Metric-adjusted fallbacks for the UI and mono faces (same values as src/index.css for Schibsted; Spline Sans Mono
   is 0.600 em per glyph, Courier New 0.6001 em): the lede, ledger and labels wrap the same before and after the web
   fonts swap in, so the font swap moves nothing (MOBILE-V2 7.4 / 7.5). */
@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 105.2%;
  ascent-override: 92.8%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Spline Sans Mono Fallback';
  src: local('Courier New'), local('Courier'), local('Liberation Mono');
  size-adjust: 100%;
  ascent-override: 96.35%;
  descent-override: 23.65%;
  line-gap-override: 0%;
}

:root {
  /* 2.1 colour - grounds */
  --g0: oklch(0.18 0.016 232);
  --g1: oklch(0.205 0.017 231);
  --g2: oklch(0.24 0.018 230);
  --g3: oklch(0.28 0.019 230);
  /* text tiers */
  --fg: oklch(0.955 0.008 90);
  --fg2: oklch(0.80 0.014 230);
  --fg3: oklch(0.70 0.018 230);
  /* hairlines */
  --line: oklch(0.32 0.018 230);
  --line-2: oklch(0.56 0.020 230);
  /* accent */
  --acc: oklch(0.76 0.075 212);
  --acc-hi: oklch(0.85 0.060 212);
  --acc-deep: oklch(0.52 0.070 212);
  --ring: oklch(0.80 0.090 208);
  --err: oklch(0.80 0.090 27);
  /* scrims (unused on static pages; kept so the token set matches Home) */
  --scrim-top: linear-gradient(180deg, oklch(0.18 0.016 232 / 0.62) 0, oklch(0.18 0.016 232 / 0) 180px);
  --scrim-foot: linear-gradient(180deg, oklch(0.18 0.016 232 / 0) 0, oklch(0.18 0.016 232 / 1) 100%);

  /* 2.2 type */
  --font-display: 'Newsreader', 'Newsreader Fallback', Georgia, 'Times New Roman', serif;
  --font-sans: 'Schibsted Grotesk', 'Schibsted Grotesk Fallback', system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'Spline Sans Mono', 'Spline Sans Mono Fallback', ui-monospace, Consolas, monospace;

  /* 2.3 space, grid */
  --wrap: 82.5rem;
  --pad: clamp(1.25rem, 0.2rem + 4.3vw, 4rem);
  --gutter: max(var(--pad), calc(50vw - 41.25rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --col-gap: 16px;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --space-section-y: clamp(4rem, 2.55rem + 5.95vw, 7.5rem);
  --header-h: 60px;
  --r-0: 0;
  --r-pill: 999px;

  /* 2.4 motion */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: .5s;
  --dur-mid: .75s;
  --dur-slow: 1s;
  --dur-hover: .25s;

  color-scheme: dark;
}
@media (min-width: 768px) { :root { --header-h: 72px; --col-gap: 20px; } }
@media (min-width: 1024px) { :root { --col-gap: 24px; } }
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) { :root { --header-h: 52px; } }
/* the narrowest phones (under 360): a 16px side pad, so a 320 screen gets a 288px measure (was 280); --gutter still takes
   the safe-area insets when they are larger. With hyphenation (phone browsers) /federal "Data Services" then sets 33-36
   characters per line (MOBILE-V2 line length). A browser without a hyphenation dictionary still sets 28 there: the first
   line cannot take "normalization." below a 308px measure. Fix round 1. */
@media (max-width: 359.98px) { :root { --pad: 1rem; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--g0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
}
body {
  margin: 0;
  min-height: 100svh;
  background: var(--g0);
  color: var(--fg2);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--acc-deep); color: var(--fg); }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:active { opacity: .72; transition: opacity var(--dur-hover) linear; }
.cta:active { opacity: 1; border-color: var(--fg); }
img { max-width: 100%; }
p, ul { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--fg); text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
main:focus { outline: none; }

.wrap { padding-inline: var(--gutter); }

/* skip link: parked as screen-reader-only, a visible chip on focus */
.skip {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + .75rem);
  left: var(--gutter);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  background: var(--g2);
  color: var(--fg);
  font: 500 .9375rem/1 var(--font-sans);
  text-decoration: none;
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* ---------------------------------------------------------------- type classes (DESIGN-V2 2.2) */
/* Labels (eyebrows, roles, the credential, the Credly links) are set like Home's labels: the UI face,
   13px / 500, no tracking, source case (Fix round 1: FC-PARITY BEAT "0 elements above 0.04em; mono only for UEI / CAGE /
   registration lines and numerals"; Chad 09-26 on tracked caps "military style type ... AI slop"). Text that is
   uppercase in the HTML stays uppercase: only the CSS transform is gone. */
.eyebrow, .role, .credential {
  font-family: var(--font-sans);
  font-size: .8125rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg3);
}
/* mono is kept for identifier lines only (UEI / CAGE / registration), at 0.02em */
.t-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 450;
  letter-spacing: .02em;
  color: var(--fg3);
}

/* ---------------------------------------------------------------- header */
body > header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-hover) linear, border-color var(--dur-hover) linear;
}
/* 98%, not DESIGN-V2 5 / MOBILE-V2's 92% (Fix round 1, mirrors the site lane's header): at 92% the copy scrolling under
   the fixed header stayed readable behind "← Resolon" and "Contact". Hairline, transition and no-blur unchanged. */
body > header.is-scrolled {
  background: color-mix(in oklch, var(--g0) 98%, transparent);
  border-bottom-color: var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.back-link, nav.utility a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  color: var(--fg);
  text-decoration: none;
  transition: color var(--dur-hover) linear;
}
.back-link { gap: .5rem; padding-right: .5rem; }
nav.utility a {
  padding-left: .5rem;
  text-decoration: underline;
  text-decoration-color: var(--acc);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (hover: hover) and (pointer: fine) {
  .back-link:hover, nav.utility a:hover { color: var(--acc-hi); }
}

/* scroll progress line (created by pages.js only when motion is allowed) */
/* On the header's last 2 px, as on Home (src/motion/motion.css): it never crosses a line of text sliding under the
   header. Mobile integrator, 2026-11-03. */
.pg-progress {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) - 2px);
  left: 0;
  right: 0;
  z-index: 55;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------------------------------------------------------------- graticule (static-page heroes + closing footers only) */
.graticule {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, color-mix(in oklch, var(--line) 55%, transparent) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(90deg, color-mix(in oklch, var(--line) 55%, transparent) 0 1px, transparent 1px 88px);
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 72%);
}

/* ---------------------------------------------------------------- hero (.chamber.hero) */
.chamber { position: relative; background: var(--g1); color: var(--fg2); }
.chamber > .wrap { position: relative; }
.hero {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px);
  padding-bottom: clamp(3.5rem, 2.2rem + 5.4vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(2.5rem, 0.9rem + 6.6vw, 7rem)); } }
.hero h1 {
  margin-top: 1.5rem;
  max-width: 13em;
  font-size: clamp(2rem, 1.3425rem + 2.697vw, 3.5rem);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.015em;
}
@media (min-width: 1280px) { .hero h1 { font-size: min(3.5rem, 4.2vw); } }
.hero .role { margin-top: 1rem; color: var(--acc); }
.hero .credential { margin-top: .375rem; }
.hero .lede {
  margin-top: 1.75rem;
  max-width: 30em;
  font-size: clamp(1.125rem, 1.0976rem + 0.1124vw, 1.1875rem);
  line-height: 1.55;
  color: var(--fg2);
}
.hero .cta-row { margin-top: 2.5rem; }
.cta-row.two-up { display: flex; flex-wrap: wrap; gap: 1rem; }

/* outline CTA (as on Home) */
.cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid color-mix(in oklch, var(--fg) 45%, transparent);
  border-radius: var(--r-0);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: border-color var(--dur-hover) linear, background-color var(--dur-hover) linear;
}
.cta span { display: inline-block; }
.cta { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { border-color: var(--fg); background: color-mix(in oklch, var(--fg) 6%, transparent); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cta span { transition: transform var(--dur-hover) var(--ease-out); }
  .cta:hover span { transform: translateX(2px); }
}
@media (max-width: 359.98px) {
  .cta-row.two-up { flex-direction: column; }
  .cta-row.two-up .cta { width: 100%; justify-content: center; }
}

/* leadership hero: text + portrait */
.hero-grid { display: grid; gap: 2.5rem; }
.portrait {
  display: block;
  width: 112px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-0);
  background: var(--g2);
}
/* phones (MOBILE-V2 5, face first): the eyebrow is a one-line kicker, then the ID row - the 112px face with the name
   beside it, bottom-aligned - then role, credential, lede, CTA. The text column's wrapper becomes display:contents so
   its children join the grid (markup unchanged). Beside the face the eyebrow broke into "RESOLON LLC ·" / "LEADERSHIP"
   at 375 and 320 (its 219px needs more than the 152-207px column); as a kicker it is one line from 320 up, and the
   name next to the face saves the height that keeps H1, role and CTA on an iPhone SE first screen. */
@media (max-width: 767.98px) {
  .hero-grid { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: start; }
  .hero-grid > div { display: contents; }
  .hero-grid .eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
  .hero-grid > .portrait { grid-column: 1; grid-row: 2; }
  .hero-grid h1 { grid-column: 2; grid-row: 2; align-self: end; margin-top: 0; }
  .hero-grid :is(.role, .credential, .lede, .cta-row) { grid-column: 1 / -1; }
  /* labels of 40+ characters are running text on a phone: the 16px body size (harness mobile.body_text16).
     The federal kicker "Resolon LLC · Federal Capability Statement" (42) and Chad's role (46) are those; Noah's role
     matches Chad's so the two pages read the same. The credential stays a small one-fact line. */
  .hero-fed .eyebrow, .hero-grid .role { font-size: 1rem; line-height: 1.4; }
}
/* the credential is one fact: it never breaks inside itself (253px at 12px, fits a 320 phone) */
.hero .credential { white-space: nowrap; }
/* lede at 16px on the narrowest and the shortest phones (MOBILE-V2 1.1, the same rule as Home's hero lede) */
@media (max-width: 359.98px), (orientation: portrait) and (max-height: 600px) {
  .hero .lede { font-size: 1rem; }
  .hero .lede { margin-top: 1.5rem; }
  .hero .cta-row { margin-top: 2rem; }
}
/* landscape phones (MOBILE-V2 8.1): a tighter top, the face beside the copy from the top edge and sized to the screen,
   not a 240px tile hanging below the fold */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px); }
  .hero .hero-grid { align-items: start; }
  .hero .hero-grid > .portrait { width: min(13rem, calc(100svh - var(--header-h) - 72px)); justify-self: end; }
  /* federal: the desktop arrangement (title and the two buttons left, the registration ledger right), so Download PDF
     and Contact are on the first screen instead of 230px below it */
  .hero-fed > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 2rem;
  }
  .hero-fed > .wrap > :is(.eyebrow, h1, .cta-row) { grid-column: 1; }
  .hero-fed > .wrap > .reg-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; max-width: none; align-self: start; }
  .hero-fed > .wrap > .cta-row { align-self: start; }
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); column-gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .portrait { width: 100%; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .hero-grid > div { grid-column: 1 / span 7; }
  .hero-grid > .portrait { grid-column: 9 / -1; max-width: 27rem; justify-self: end; }
}

/* federal hero: the registration ledger */
.reg-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 34rem;
  font-family: var(--font-mono);
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--fg2);
}
.reg-list li {
  margin: 0;
  padding: .625rem 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.reg-list li:last-child { border-bottom: 1px solid var(--line); }
.reg-list li:first-child { color: var(--fg); }
@media (min-width: 1024px) {
  .hero-fed > .wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: var(--col-gap);
  }
  .hero-fed > .wrap > .eyebrow,
  .hero-fed > .wrap > h1,
  .hero-fed > .wrap > .cta-row { grid-column: 1 / span 6; }
  .hero-fed > .wrap > .reg-list { grid-column: 8 / -1; grid-row: 1 / span 3; margin-top: 0; max-width: none; align-self: start; }
  .hero-fed > .wrap > .cta-row { align-self: start; }
}

/* ---------------------------------------------------------------- content sections (.paper-block) */
section.paper-block { background: var(--g0); color: var(--fg2); }
.paper-block + .paper-block::before {
  content: "";
  display: block;
  height: 1px;
  margin-inline: var(--gutter);
  background: var(--line);
}
.split {
  display: grid;
  gap: 2.5rem;
  padding-block: var(--space-section-y);
}
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3rem; }
  .split .col-label { grid-column: 1 / span 4; align-self: start; }
  .split .col-body { grid-column: 6 / -1; min-width: 0; }
}
@media (min-width: 1024px) and (min-height: 641px) {
  .split .col-label { position: sticky; top: calc(var(--header-h) + 3rem); }
}
.col-label h2, .close h2 {
  font-size: clamp(1.75rem, 1.421rem + 1.348vw, 2.5rem);
  line-height: 1.12;
  font-weight: 460;
  letter-spacing: -0.012em;
}
.col-label h2 { max-width: 12em; }
.col-label p {
  margin-top: 1.25rem;
  max-width: 24em;
  font-size: clamp(1rem, 0.9726rem + 0.1124vw, 1.0625rem);
  line-height: 1.65;
  color: var(--fg2);
}
.col-label p.small { font-size: .875rem; line-height: 1.5; color: var(--fg3); }

.col-body p.statement {
  max-width: 24em;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.336rem + 0.674vw, 1.875rem);
  line-height: 1.25;
  font-weight: 460;
  letter-spacing: -0.008em;
  color: var(--fg);
  text-wrap: balance;
}
.col-body p.para {
  margin-top: 1.5rem;
  max-width: 34em;
  font-size: clamp(1rem, 0.9726rem + 0.1124vw, 1.0625rem);
  line-height: 1.65;
  color: var(--fg2);
}
.col-body > p.para:first-child { margin-top: 0; }

/* rows: each row draws its own hairlines */
.row-list { margin-top: 2.5rem; }
.col-body > .row-list:first-child { margin-top: 0; }
.row {
  display: grid;
  gap: .5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.row:first-child { border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .row { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); column-gap: 2rem; padding: 1.75rem 0; }
}
.row h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg);
  text-wrap: balance;
}
.row p {
  margin: 0;
  overflow-wrap: anywhere;
  max-width: 34em;
  font-size: clamp(1rem, 0.9726rem + 0.1124vw, 1.0625rem);
  line-height: 1.65;
  color: var(--fg2);
}
/* phones: a list ends on its last row's text, not on a rule. The section hairline (or the next chamber's top border)
   comes 64px later; two rules 64px apart read as an empty stripe on a narrow screen. */
@media (max-width: 767.98px) {
  .row-list > .row:last-child { border-bottom: 0; padding-bottom: 0; }
}
/* the narrowest phones (under 360: a 280px measure, about 35 characters at 16px): the row descriptions - lists of long
   terms such as "normalization" or "implementation" - hyphenate, so they stop leaving 26-28 character lines. Ledes,
   paragraphs, display type, headings, mono labels and identifiers never hyphenate. */
@media (max-width: 359.98px) {
  .row p {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 7 3 3;
  }
}

/* in-text accent links: one box (a single focus ring, a 44px tap target), still flowing in the sentence */
.link-acc {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-block: 4px;
  vertical-align: baseline;
}
/* ...except inside running text (the dossiers' closing paragraph): there the link is a plain inline run, so it sits on
   the paragraph's own lines and never pushes its line down (a link in a sentence is the WCAG 2.5.8 inline exception).
   Each link is a short name ("Meet Chad Neptune, CEO →", 265px at most at 16px, inside a 288px phone measure) and never
   breaks inside itself: a link split over two lines gets one focus ring per piece, too small for its two-line box
   (visual.focus). On touch screens an empty layer 10px above and below the words widens the finger's target without
   moving a line; it is not part of the link's box, so the 2px focus ring stays 3px outside the words (DESIGN-V2 #21).
   (A 10px block padding did the same for the finger but drew the ring 13px out, through the lines above and below.)
   Fix round 1. */
p.para .link-acc {
  display: inline;
  min-height: 0;
  margin-block: 0;
  white-space: nowrap;
}
@media (pointer: coarse) {
  p.para .link-acc { position: relative; }
  p.para .link-acc::after { content: ""; position: absolute; inset: -10px 0; }
}
/* a one-line text link is a small box: on keyboard focus its underline also thickens (2px to 3px), so the focus change is
   clearly more than the ring alone (WCAG 2.4.13 area; the ring blurs at 3x pixel density) */
p.para .link-acc:focus-visible { text-decoration-thickness: 3px; }
.link-accent, .link-acc {
  color: var(--acc);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color var(--dur-hover) linear;
}
@media (hover: hover) and (pointer: fine) {
  .link-accent:hover, .link-acc:hover { color: var(--acc-hi); }
}

/* ---------------------------------------------------------------- credentials (Chad) */
.cert-row {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 35rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--g2);
}
.cert-row + .cert-row { margin-top: 1rem; }
.cert-row img { width: 104px; height: 104px; flex: 0 0 auto; }
.cert-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 460;
  color: var(--fg);
}
.cert-meta { margin-top: .375rem; font-size: .875rem; line-height: 1.5; color: var(--fg3); }
.cert-verify {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .25rem;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--acc);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--dur-hover) linear;
}
@media (hover: hover) and (pointer: fine) {
  .cert-verify:hover { color: var(--acc-hi); }
}
@media (max-width: 767.98px) {
  .cert-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding: 1.25rem; }
  .cert-row img { width: 72px; height: 72px; }
}
/* below 360 (the same cut as the CTA pair): the badge sits above its text, so the name gets the card's full width
   (2 lines) instead of a 152px column (3 lines of 16 characters) */
@media (max-width: 359.98px) {
  .cert-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 1.25rem 1rem; }
}

/* ---------------------------------------------------------------- closing footer */
footer.close { position: relative; background: var(--g1); color: var(--fg2); border-top: 1px solid var(--line); }
footer.close > .wrap { position: relative; }
.close-inner { padding-top: var(--space-section-y); padding-bottom: max(2.5rem, calc(env(safe-area-inset-bottom, 0px) + 12px)); }
.close h2 {
  max-width: 22ch;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 440;
}
.close p.para {
  margin-top: 1.25rem;
  max-width: 34em;
  font-size: clamp(1rem, 0.9726rem + 0.1124vw, 1.0625rem);
  line-height: 1.65;
  color: var(--fg2);
}
.close .cta-row { margin-top: 2.5rem; }
.footer-meta {
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--fg3);
}
@media (max-width: 767.98px) {
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* the inline wordmark (dark variant of src/BrandMark.tsx), normal size */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.024em;
  color: var(--fg);
}
.aperture-o {
  display: inline-flex;
  width: .92em;
  height: .92em;
  margin: 0 .008em;
  transform: translateY(.085em);
}
.aperture-o svg { width: 100%; height: 100%; overflow: visible; }

/* ---------------------------------------------------------------- motion (motion allowed + html.pg-on only) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: .5s;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* hero arrival: pure CSS, the H1 is never hidden, identifiers (the ledger) never move */
  html.pg-on .hero :is(.eyebrow, .role, .credential, .lede, .cta-row, .portrait) {
    animation: pg-rise var(--dur-mid) var(--ease-out) both;
  }
  html.pg-on .hero .eyebrow { animation-delay: .1s; }
  html.pg-on .hero .role { animation-delay: .18s; }
  html.pg-on .hero .credential { animation-delay: .22s; }
  html.pg-on .hero .lede { animation-delay: .26s; }
  html.pg-on .hero .cta-row { animation-delay: .34s; }
  html.pg-on .hero .portrait { animation-delay: .42s; }
  /* phones: the face is the second thing on screen, so it arrives second, as the Home portraits do (MOBILE-V2 4.1
     curtain): the shutter opens bottom to top while the photo settles from 1.06, 1s EASE_IO. Clip and transform only. */
  @media (max-width: 767.98px) {
    html.pg-on .hero .portrait { animation: pg-curtain var(--dur-slow) var(--ease-io) .14s both; }
  }

  /* reveals: fade up 24px once (pages.js adds .is-in) */
  html.pg-on [data-r] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
  }
  html.pg-on [data-r].is-in,
  html.pg-on [data-r]:focus-within { opacity: 1; transform: none; }

  /* footer aperture: blades draw on once, then the core ring */
  html.pg-on .footer-meta .aperture-blades path {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset var(--dur-slow) var(--ease-io);
  }
  html.pg-on .footer-meta .aperture-blades path:nth-child(2) { transition-delay: .06s; }
  html.pg-on .footer-meta .aperture-blades path:nth-child(3) { transition-delay: .12s; }
  html.pg-on .footer-meta .aperture-blades path:nth-child(4) { transition-delay: .18s; }
  html.pg-on .footer-meta .aperture-blades path:nth-child(5) { transition-delay: .24s; }
  html.pg-on .footer-meta .aperture-blades path:nth-child(6) { transition-delay: .3s; }
  html.pg-on .footer-meta .aperture-core { opacity: 0; transition: opacity var(--dur-mid) var(--ease-out) .9s; }
  html.pg-on .footer-meta.is-drawn .aperture-blades path { stroke-dashoffset: 0; }
  html.pg-on .footer-meta.is-drawn .aperture-core { opacity: .72; }
}
@keyframes pg-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes pg-curtain {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.06); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}

/* identifiers and short facts never break inside themselves */
.nw { white-space: nowrap; }
