/* Jonahten LLC — site styles v5.0
   Layout concept: a federal "record" laid over a process map. Navy command bar, soft navy
   wash sections, condensed stencil-like display type, and the DMAIC-S rail as the one
   recurring signature. Gold is reserved for the Support phase and primary actions. */
:root {
  /* brand (fixed) */
  --navy: #0A2A43; --navy-lt: #3E82B8; --blue: #0070C0; --gold: #E3C762; --gold-2: #D5BC33; --yellow: #FFC000; --charcoal: #1F2933;
  /* theme tokens — light */
  --bg: #F6F8FA;
  --surface: #FFFFFF;
  --wash: #EAEFF3;            /* ~8% navy wash */
  --fg: #1F2933;
  --muted: #52606D;
  --line: #D3DBE2;
  --brand-ink: #0A2A43;       /* headings */
  --link: #0062A8;
  --gold-ink: #7A5F00;        /* gold-family text that passes contrast on light */
  --bar: #0A2A43;             /* footer + CTA band */
  --hl: #E3C762;              /* marker highlight behind display type */
  --bar-fg: #E8EEF4;
  --bar-muted: #A9BCCD;
  --ok: #1D7A46; --warn: #9A6400;
  --shadow: 0 1px 2px rgba(10,42,67,.06), 0 8px 24px rgba(10,42,67,.06);
  /* type */
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.1875rem; --step-2: 1.5rem; --step-3: 2.125rem; --step-4: clamp(2.5rem, 5.2vw, 4.25rem);
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1520; --surface: #0F1F2D; --wash: #0E2333; --fg: #E4EBF1; --muted: #9DB0C1; --line: #22394B;
    --brand-ink: #F0F4F8; --link: #79B8EA; --gold-ink: #E3C762; --hl: rgba(227,199,98,.55); --bar: #071B2C; --bar-fg: #E8EEF4; --bar-muted: #9DB0C1;
    --ok: #5CC58A; --warn: #E3C762; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1520; --surface: #0F1F2D; --wash: #0E2333; --fg: #E4EBF1; --muted: #9DB0C1; --line: #22394B;
  --brand-ink: #F0F4F8; --link: #79B8EA; --gold-ink: #E3C762; --hl: rgba(227,199,98,.55); --bar: #071B2C; --bar-fg: #E8EEF4; --bar-muted: #9DB0C1;
  --ok: #5CC58A; --warn: #E3C762; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: #0A2A43; padding: 8px 14px; font-weight: 600; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.wash { background: var(--wash); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }

/* type */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--brand-ink); line-height: 1.04; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-4); text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: .01em; }
h4, .h4 { font-size: var(--step-1); font-weight: 600; letter-spacing: normal; text-transform: none; }
.h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: .01em; text-transform: none; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--fg); max-width: 62ch; }
.muted { color: var(--muted); }
.prose { max-width: 66ch; display: grid; gap: 1em; }
.eyebrow { font-family: var(--f-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--gold-2); display: inline-block; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 780px; }
.gold { color: var(--gold-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: .9375rem; padding: 12px 20px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--yellow); color: #0A2A43; }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { border-color: var(--line); color: var(--brand-ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow::after { content: "→"; }

/* header — always light: the Concept A color lockup is built for light backgrounds */
.bar { background: #FFFFFF; color: #0A2A43; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; border-bottom: 3px solid var(--gold-2); box-shadow: 0 1px 0 rgba(10,42,67,.06); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #0A2A43; flex: none; }
.brand img { height: 44px; width: auto; display: block; }
@media (max-width: 420px) { .brand img { height: 36px; } }
.brand small { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; color: #52606D; text-transform: uppercase; border-left: 1px solid #D3DBE2; padding-left: 14px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a, .nav button.dd { color: #0A2A43; text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 10px 12px; border-radius: 4px; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav a:hover, .nav button.dd:hover { background: #EAEFF3; }
.nav [aria-current="page"], .nav button.dd[data-current="true"] { box-shadow: inset 0 -3px 0 var(--gold-2); border-radius: 0; }
.nav li { position: relative; }
.nav button.dd::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; background: #FFFFFF; border: 1px solid #D3DBE2; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10,42,67,.14); display: none; }
.menu.open { display: grid; gap: 2px; }
.menu a { display: grid; gap: 2px; padding: 10px 12px; white-space: normal; }
.menu a b { font-weight: 600; color: #0A2A43; }
.menu a span { font-size: .8125rem; color: #52606D; font-weight: 400; }
.menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-2); }
.nav .btn-primary { margin-left: 10px; background: var(--yellow); color: #0A2A43; padding: 11px 16px; border-radius: var(--radius); }
.nav .btn-primary:hover { background: var(--gold); }
.burger { display: none; background: none; border: 1px solid #D3DBE2; color: #0A2A43; border-radius: 4px; padding: 9px 14px; font: 600 .875rem var(--f-body); cursor: pointer; }
@media (max-width: 1340px) { .brand small { display: none; } }
@media (max-width: 1020px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; padding: 8px var(--gutter) 20px; border-bottom: 3px solid var(--gold-2); max-height: calc(100vh - 90px); overflow-y: auto; box-shadow: 0 12px 24px rgba(10,42,67,.12); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.dd { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .nav [aria-current="page"], .nav button.dd[data-current="true"] { box-shadow: inset 3px 0 0 var(--gold-2); }
  .menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .nav .btn-primary { margin: 12px 0 0; justify-content: center; }
}

/* hero */
.hero { background: var(--wash); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 .line { display: block; }
.hero h1 mark.hl { color: inherit; background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 90%, transparent 90%); padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-hero { background: var(--wash); border-bottom: 1px solid var(--line); padding-block: clamp(44px, 6vw, 76px); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.625rem); max-width: 22ch; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* record card — SAM-style registration block */
.record { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.record header { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.record header b { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; color: var(--brand-ink); letter-spacing: .02em; }
.status { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.record dl { margin: 0; display: grid; grid-template-columns: auto minmax(0,1fr); }
.record dt, .record dd { padding: 9px 18px; border-bottom: 1px solid var(--line); margin: 0; font-size: .875rem; }
.record dt { color: var(--muted); font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding-right: 8px; display: flex; align-items: center; }
.record dd { font-family: var(--f-mono); color: var(--fg); text-align: right; overflow-wrap: anywhere; }
.record dl > :nth-last-child(-n+2) { border-bottom: 0; }
.record footer { padding: 12px 18px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* DMAIC-S rail — the signature */
.rail { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); position: relative; gap: 0; margin-top: 8px; }
.rail::before { content: ""; position: absolute; top: 27px; left: 8.33%; right: 8.33%; height: 2px; background: var(--line); }
.rail::after { content: ""; position: absolute; top: 23px; left: 8.33%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(227,199,98,.25); animation: token 6s cubic-bezier(.6,0,.4,1) .6s 1 forwards; opacity: 0; }
@keyframes token { 0% { left: 8.33%; opacity: 1; } 95% { opacity: 1; } 100% { left: calc(91.67% - 10px); opacity: 0; } }
.phase { display: grid; align-content: start; justify-items: center; text-align: center; gap: 8px; padding: 0 6px; position: relative; z-index: 1; }
.phase .node { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--navy-lt); font-family: var(--f-display); font-weight: 700; font-size: 1.625rem; color: var(--brand-ink); animation: lit .9s ease both; }
.phase:nth-child(1) .node { animation-delay: .7s; } .phase:nth-child(2) .node { animation-delay: 1.65s; } .phase:nth-child(3) .node { animation-delay: 2.6s; }
.phase:nth-child(4) .node { animation-delay: 3.55s; } .phase:nth-child(5) .node { animation-delay: 4.5s; }
@keyframes lit { 0%,100% { box-shadow: 0 0 0 0 rgba(227,199,98,0); } 40% { box-shadow: 0 0 0 8px rgba(227,199,98,.35); } }
.phase.support .node { background: var(--gold); border-color: var(--gold-2); color: #0A2A43; }
.phase b { font-family: var(--f-display); font-size: 1.125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-ink); }
.phase span { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.phase.support b { color: var(--gold-ink); }
@media (max-width: 760px) {
  .rail { grid-template-columns: 1fr; gap: 14px; }
  .rail::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .rail::after { display: none; }
  .phase { grid-template-columns: 56px minmax(0,1fr); justify-items: start; text-align: left; column-gap: 16px; row-gap: 0; align-items: center; }
  .phase .node { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .rail::after { display: none; } .phase .node { animation: none; } html { scroll-behavior: auto; } }

/* grids & cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.tag { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card .more { margin-top: 6px; font-weight: 600; text-decoration: none; }
.lane { border-top: 4px solid var(--navy-lt); }
.lane.primary { border-top-color: var(--gold-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--navy-lt); border-bottom: 2px solid var(--navy-lt); transform: rotate(-45deg); }
.ticks.tick-gold li::before { border-color: var(--gold-2); }
.problems { counter-reset: p; }
.problem { border-left: 3px solid var(--gold-2); padding: 4px 0 4px 18px; display: grid; gap: 6px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 22px 18px; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.stat:last-child { border-right: 0; }
.stats.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.stat b { font-family: var(--f-display); font-size: clamp(2.25rem, 4vw, 3rem); color: var(--brand-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.stat small { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stats.two .stat:nth-child(-n+2) { border-bottom: 0; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; background: var(--wash); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .mono, td.mono { white-space: nowrap; }

/* pill */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.active { color: var(--ok); border-color: currentColor; }
.pill.soon { color: var(--gold-ink); border-color: currentColor; }

/* split */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* pricing */
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tier > .btn { margin-top: auto; align-self: flex-start; }
.g4 .price { font-size: 2.25rem; }
.tier.std { background: #3B7BAE; border-color: #3B7BAE; color: #FFFFFF; }  /* #3E82B8 family, darkened to 4.54:1 for WCAG AA (John, 8 Oct 2026) */
.tier.std h3, .tier.std .price, .tier.std .price small, .tier.std .tag, .tier.std .muted, .tier.std .note { color: #FFFFFF; }
.tier.std .tag, .tier.std .note, .tier.std .muted { font-weight: 500; }
.tier.std .ticks li::before { border-color: #FFFFFF; }
.tier.std .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,.6); }
.booking { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.booking iframe { display: block; width: 100%; }
.price { font-family: var(--f-display); font-size: 2.75rem; color: var(--brand-ink); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-body); font-size: .9375rem; color: var(--muted); font-weight: 400; }
.rules { counter-reset: r; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 32px; }
.rules li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 2px 10px; }
.rules li::before { counter-increment: r; content: "R" counter(r, decimal-leading-zero); font-family: var(--f-mono); font-size: .8125rem; color: var(--gold-ink); grid-row: span 2; padding-top: 2px; }
.rules b { color: var(--brand-ink); }
.rules { padding: 0; margin: 0; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* callout + notes */
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold-2); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 8px; }
.callout.navy { border-left-color: var(--navy-lt); }
.note { font-size: .875rem; color: var(--muted); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--brand-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); font-size: 1.25rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding-top: 10px; max-width: 72ch; color: var(--fg); }

/* badges */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.badges figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.badges img { height: 64px; width: auto; }
.badges figcaption { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; }
.badge-tile { background: #FFFFFF; border-radius: 4px; padding: 6px; }

/* CTA band */
.cta { background: var(--bar); color: var(--bar-fg); padding-block: clamp(48px, 7vw, 80px); }
.cta h2 { color: #FFFFFF; }
.cta p { color: var(--bar-muted); max-width: 60ch; }
.cta .wrap { display: grid; gap: 18px; }
.cta .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,.35); }
.cta .btn-ghost:hover { border-color: #FFFFFF; }

/* forms */
form.form { display: grid; gap: 16px; }
[hidden] { display: none !important; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, fieldset legend { font-weight: 600; font-size: .875rem; color: var(--brand-ink); }
.field .hint { font-size: .8125rem; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], select, textarea { width: 100%; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy-lt); outline-offset: 0; border-color: var(--navy-lt); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { margin-top: 5px; accent-color: var(--navy-lt); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-msg { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); background: var(--wash); }
.form-msg b { color: var(--brand-ink); }
.err { color: #B42318; font-size: .8125rem; }
:root[data-theme="dark"] .err { color: #FDA29B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FDA29B; } }

/* quiz */
.quiz { display: grid; gap: 18px; }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; }
.q legend { font-weight: 600; color: var(--brand-ink); padding: 0; }
.q fieldset { border: 0; padding: 0; display: grid; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; }
.opt:hover { background: var(--wash); }
.opt input { margin-top: 5px; accent-color: var(--navy-lt); }
.meter { height: 10px; background: var(--wash); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.meter i { display: block; height: 100%; background: var(--navy-lt); width: 0; transition: width .4s ease; }
.result { position: sticky; top: 96px; }

/* timeline (vault) */
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 2px solid var(--line); }
.steps li { padding: 18px 16px 0 0; position: relative; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--navy-lt); }
.steps li.now::before { background: var(--gold); border-color: var(--gold-2); }
.steps .when { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.steps b { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; color: var(--brand-ink); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); } .steps li { padding: 0 0 18px 22px; } .steps li::before { left: -7px; top: 4px; } }

/* file activity mock (vault) */
.trail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.trail header { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.trail header b { font-weight: 600; color: var(--brand-ink); overflow-wrap: anywhere; }
.trail ol { list-style: none; margin: 0; padding: 6px 0; }
.trail li { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 12px; padding: 9px 16px; font-size: .875rem; border-bottom: 1px dashed var(--line); }
.trail li:last-child { border-bottom: 0; }
.trail time { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); padding-top: 2px; }
.trail .who { font-weight: 600; color: var(--brand-ink); }
.trail footer { padding: 10px 16px; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--line); font-family: var(--f-mono); }

/* careers role list */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { font: 500 .875rem var(--f-body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.roles { display: grid; gap: 10px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
.role summary { padding: 16px 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 16px; align-items: center; }
.role summary::after { display: none; }
.role summary h3 { font-size: 1.375rem; }
.role summary .sub { color: var(--muted); font-size: .875rem; font-weight: 400; grid-column: 1; }
.role summary .pill { grid-row: 1 / span 2; grid-column: 2; }
.role > div { padding: 0 18px 18px; display: grid; gap: 12px; }
.role dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 6px 16px; margin: 0; font-size: .875rem; }
.role dt { color: var(--muted); font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.role dd { margin: 0; }
@media (max-width: 520px) { .role dl { grid-template-columns: 1fr; } .role summary { grid-template-columns: 1fr; } .role summary .pill { grid-row: auto; grid-column: 1; justify-self: start; } }

/* footer */
.foot { background: var(--bar); color: var(--bar-fg); padding-block: 56px 28px; border-top: 3px solid var(--gold-2); }
.foot a { color: var(--bar-fg); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 32px; }
.foot h4, .foot .foot-h { color: #FFFFFF; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.foot .foot-mark { display: block; width: 56px; height: 56px; margin-bottom: 4px; }
.foot .name { font-family: var(--f-display); font-size: 1.75rem; text-transform: uppercase; color: #FFFFFF; letter-spacing: .02em; line-height: 1; }
.foot .tagline { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.foot p { color: var(--bar-muted); font-size: .9375rem; }
.foot .ids { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: .75rem; color: var(--bar-muted); }
.foot .ids b { color: var(--bar-fg); font-weight: 500; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }

/* print: buyers print Government Buyers and Past Performance */
@media print {
  .nav, .burger, .skip, .cta, .foot, .btn, .btn-row, .booking, .filters, form, [id^="hs-"] { display: none !important; }
  .bar { position: static !important; box-shadow: none !important; }
  :root { --bg: #FFFFFF; --surface: #FFFFFF; --wash: #FFFFFF; --fg: #000000; --brand-ink: #000000; --muted: #333333; --line: #999999; }
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .section, .page-hero, .hero { padding-block: 12pt !important; background: #FFFFFF !important; }
  .card, .record, .table-wrap, .tier { box-shadow: none !important; break-inside: avoid; }
  .tier.std { background: #FFFFFF !important; color: #000000 !important; border: 2px solid #000000 !important; }
  .tier.std * { color: #000000 !important; }
  a { color: #000000; text-decoration: underline; }
  .table-wrap { overflow: visible !important; }
}

/* Jonahten Vault lockup, Vault page hero (v5.3): light art in light mode and print, reversed art in dark mode */
.vault-lockup { margin: 0; line-height: 0; }
.vault-lockup img { display: block; width: clamp(220px, 24vw, 300px); height: auto; }
.vault-lockup .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vault-lockup .on-light { display: none; }
  :root:not([data-theme="light"]) .vault-lockup .on-dark { display: block; }
}
:root[data-theme="dark"] .vault-lockup .on-light { display: none; }
:root[data-theme="dark"] .vault-lockup .on-dark { display: block; }
@media print { .vault-lockup .on-dark { display: none !important; } .vault-lockup .on-light { display: block !important; } }
