/* Grimes Software Services: site styles.
   Hand-written, no framework. Colors mirror 01_Brand/_build/brand_tokens.py. */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- tokens */
:root {
  --navy-950: #06111F;
  --navy-900: #0B1F3A;
  --navy-700: #173A66;
  --navy-500: #2C5A94;
  --steel-600: #4A5868;
  --steel-500: #5B6B7F;
  --steel-300: #A9B4C2;
  --steel-100: #E4E9EF;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --ink: #0E1621;
  --amber: #F2A900;
  --amber-600: #D99600;
  --amber-text: #8A5B00;
  --green: #1F7A4D;
  --red: #B42318;

  --grid-line: rgba(169, 180, 194, .10);
  --grid-line-fine: rgba(169, 180, 194, .045);
  --grid-line-light: rgba(23, 58, 102, .045);
  --grid-line-light-fine: rgba(23, 58, 102, .022);

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --radius: 4px;
  --shadow-1: 0 1px 2px rgba(11, 31, 58, .05), 0 4px 14px rgba(11, 31, 58, .05);
  --shadow-2: 0 2px 6px rgba(11, 31, 58, .07), 0 18px 40px rgba(11, 31, 58, .10);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
main { display: block; }
main:focus { outline: none; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy-900); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem); letter-spacing: -.025em; line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); letter-spacing: -.02em; line-height: 1.1; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }
s { text-decoration-thickness: 1px; }

:focus-visible { outline: 3px solid var(--navy-500); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible,
.site-footer :focus-visible, .site-header:not(.is-solid) :focus-visible, .contact-card :focus-visible { outline-color: var(--amber); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.muted { color: var(--steel-600); }

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 300;
  background: var(--amber); color: var(--navy-950); padding: 12px 18px;
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--navy-950); }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------------------------------------------------------------- eyebrow / labels */
.eyebrow {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-mono); font-weight: 500; font-size: .75rem; line-height: 1.5;
  letter-spacing: .18em; text-transform: uppercase; color: var(--steel-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); flex: none; }
.eyebrow__num { color: var(--navy-700); }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow { color: var(--steel-300); }
.hero .eyebrow__num, .section--dark .eyebrow__num { color: var(--amber); }

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--steel-600); }
.section--dark .lead { color: var(--steel-300); }

.card__code, .pill, .badge, .price__tag, .list-label, .k, .value__num, .ret__code {
  font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { display: flex; width: 100%; }
.btn--amber { background: var(--amber); color: var(--navy-950); }
.btn--amber:hover { background: #FFBE1A; color: var(--navy-950); box-shadow: 0 6px 20px rgba(242, 169, 0, .25); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(228, 233, 239, .45); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); color: var(--white); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (prefers-reduced-motion: no-preference) {
  .btn .icon:last-child { transition: transform .2s var(--ease); }
  .btn:hover .icon:last-child { transform: translateX(3px); }
  .btn .icon:first-child:not(:last-child) { transform: none; }
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-700); text-decoration: none; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--navy-900); text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .link-arrow:hover .icon { transform: translateX(3px); } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--steel-100);
  box-shadow: 0 1px 16px rgba(11, 31, 58, .06);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
/* backdrop-filter would trap the fixed mobile menu panel inside the header box */
.menu-open .site-header.is-solid { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; transition: none; }
.header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; border-radius: 2px; }
.brand__logo { height: 46px; width: auto; }
.brand__logo--color { display: none; }
.is-solid .brand__logo--color { display: block; }
.is-solid .brand__logo--reverse { display: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 8px 12px;
  color: var(--white); text-decoration: none; font-size: .96875rem; letter-spacing: .005em;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav__link:hover { color: var(--white); text-decoration: none; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.is-solid .nav__link, .is-solid .nav__link:hover { color: var(--ink); }
.nav__extra { display: flex; align-items: center; gap: 18px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 500; font-size: .8125rem; letter-spacing: .04em;
  color: var(--steel-300); text-decoration: none; white-space: nowrap;
}
.nav__phone .icon { width: 1.1em; height: 1.1em; }
.nav__phone:hover { color: var(--white); }
.is-solid .nav__phone { color: var(--steel-600); }
.is-solid .nav__phone:hover { color: var(--navy-900); }
.is-solid .nav__cta { background: var(--navy-900); color: var(--white); }
.is-solid .nav__cta:hover { background: var(--navy-700); box-shadow: none; }

.menu-toggle { display: none; }

@media (max-width: 1099.98px) { .nav__phone { display: none; } }

@media (max-width: 959.98px) {
  :root { --header-h: 64px; }
  .brand__logo { height: 40px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
    background: transparent; color: var(--white); cursor: pointer;
    border: 1px solid rgba(228, 233, 239, .35); border-radius: var(--radius);
    font: 500 .75rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase;
  }
  .is-solid .menu-toggle { color: var(--navy-900); border-color: var(--steel-300); }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px;
    transition: transform .2s var(--ease), background-color .2s;
  }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 8px var(--gutter) 32px; background: var(--white); overflow-y: auto;
    border-top: 1px solid var(--steel-100);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link, .is-solid .nav__link {
    color: var(--navy-900); font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em;
    padding: 16px 4px; border-bottom: 1px solid var(--steel-100);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); padding-left: 16px; }
  .nav__extra { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px; }
  .nav__phone, .is-solid .nav__phone { display: inline-flex; justify-content: center; font-size: 1rem; color: var(--navy-900); padding: 12px; border: 1px solid var(--steel-300); border-radius: var(--radius); }
  .nav__cta, .is-solid .nav__cta { min-height: 52px; font-size: 1.0625rem; }
}

/* ---------------------------------------------------------------- blueprint grid (shared) */
.hero, .page-hero, .section--dark { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before, .section--dark::before, .section--blueprint::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-fine) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.section--blueprint { position: relative; isolation: isolate; }
.section--blueprint::before {
  background-image:
    linear-gradient(var(--grid-line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-light) 1px, transparent 1px),
    linear-gradient(var(--grid-line-light-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-light-fine) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.site-footer::before { opacity: .6; }

/* line-art strokes (hero + page hero) */
.ln { fill: none; stroke: var(--steel-300); stroke-opacity: .32; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ln--strong { stroke-opacity: .55; stroke-width: 2; }
.ln--soft { stroke-opacity: .2; }
.ln--dash { stroke-dasharray: 6 8; stroke-opacity: .28; }
.ln--center { stroke-dasharray: 28 6 4 6; stroke-opacity: .16; stroke-width: 1; }
.ln--g { stroke: var(--white); stroke-opacity: .5; stroke-width: 2; }
.ln--trace { stroke: var(--amber); stroke-opacity: .75; stroke-width: 2; }
.ln--dim { stroke-opacity: .4; stroke-width: 1; }
.via { fill: var(--amber); }
.via-ring { fill: none; stroke: var(--amber); stroke-opacity: .6; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dim-label { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .22em; fill: var(--steel-300); fill-opacity: .75; }

@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) .15s forwards; }
  .draw--2 { animation-delay: .45s; }
  .draw--3 { animation-delay: .8s; animation-duration: 1.6s; }
  .hero .via, .hero .via-ring { animation: fade-in .8s ease 1.6s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- hero (home) */
.hero {
  background: radial-gradient(900px 560px at 78% 30%, rgba(44, 90, 148, .38), transparent 70%), var(--navy-900);
  color: var(--white);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px));
  border-bottom: 3px solid var(--amber);
}
.hero__art {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(700px, 54vw); height: auto;
  right: max(-180px, calc(50% - 790px)); top: calc(var(--header-h) + 12px);
}
@media (max-width: 1199.98px) and (min-width: 960px) { .hero__art { opacity: .7; } }
.hero__inner { position: relative; }
.hero__copy { max-width: 700px; }
.hero__title { color: var(--white); font-size: clamp(2.75rem, 1.5rem + 5.4vw, 5.5rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 28px; }
.hero__line { display: block; }
.hero__accent { color: var(--amber); }
.hero__lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.6; color: var(--steel-100); max-width: 640px; margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__phone { margin: 20px 0 0; font-size: .9375rem; color: var(--steel-300); }
.hero__phone a { color: var(--white); font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }

.trust {
  list-style: none; margin: clamp(64px, 9vw, 112px) 0 0; padding: 26px 0 30px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px;
  border-top: 1px solid rgba(169, 180, 194, .22);
}
.trust__item { display: flex; align-items: center; gap: 12px; font-size: .9375rem; line-height: 1.35; color: var(--steel-100); }
.trust__item .icon { width: 22px; height: 22px; color: var(--amber); }

@media (max-width: 959.98px) {
  .hero__art { width: 560px; right: -260px; top: calc(var(--header-h) + 24px); opacity: .35; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559.98px) {
  .hero__art { width: 440px; right: -250px; opacity: .4; }
  .hero__actions .btn { width: 100%; }
  .trust { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------------------------------------------------------------- page hero (interior) */
.page-hero {
  background: radial-gradient(760px 420px at 85% 20%, rgba(44, 90, 148, .35), transparent 70%), var(--navy-900);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
  border-bottom: 3px solid var(--amber);
}
.page-hero__art { position: absolute; z-index: -1; width: min(520px, 60vw); right: max(-120px, calc(50% - 720px)); top: 50%; transform: translateY(-46%); opacity: .7; pointer-events: none; }
.page-hero__inner { position: relative; }
.page-hero h1 { color: var(--white); max-width: 880px; font-size: clamp(2.125rem, 1.45rem + 2.9vw, 3.75rem); }
.page-hero .lead { color: var(--steel-100); max-width: 720px; margin-bottom: 0; }
.page-hero--short { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.page-hero--404 .hero__actions { margin-bottom: 36px; }
@media (max-width: 759.98px) { .page-hero__art { width: 420px; right: -230px; opacity: .45; } }

.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  font-family: var(--font-mono); font-weight: 500; font-size: .78125rem; letter-spacing: .04em;
  color: var(--white); text-decoration: none; border: 1px solid rgba(169, 180, 194, .38); border-radius: 999px;
  transition: border-color .18s, background-color .18s;
}
.chip:hover { color: var(--white); border-color: var(--amber); background: rgba(242, 169, 0, .08); text-decoration: none; }
.chips--light { margin-top: 28px; }
.chip--light { color: var(--navy-900); border-color: var(--steel-300); background: var(--white); }
.chip--light:hover { color: var(--navy-900); border-color: var(--navy-900); background: var(--white); }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--steel-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }
.section--flush-top { padding-top: 0; }
.section--offer { padding-block: clamp(56px, 7vw, 96px); }
.section--offer-top { padding-block: clamp(40px, 5vw, 64px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-foot { margin: 40px 0 0; text-align: center; color: var(--steel-600); }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1139.98px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899.98px) { .grid--3 { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 639.98px) { .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 859.98px) { .split { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cards */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 32px);
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
/* registration marks */
.card::before, .card::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border: 0 solid var(--steel-300); transition: border-color .2s var(--ease);
}
.card::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: var(--radius); }
.card::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: var(--radius); }
.card--link:hover, .card--link:focus-within { border-color: var(--steel-300); box-shadow: var(--shadow-2); }
.card--link:hover::before, .card--link:hover::after, .card--link:focus-within::before, .card--link:focus-within::after { border-color: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .card--link:hover { transform: translateY(-3px); } }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 46px; flex: none;
  background: var(--navy-900); color: var(--amber);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__icon--amber { background: var(--amber); color: var(--navy-950); }
.card__code { font-size: .6875rem; color: var(--steel-500); padding-top: 4px; }
.card__title { font-size: 1.25rem; margin-bottom: 10px; }
.card__text { color: var(--steel-600); font-size: 1rem; line-height: 1.6; }
.card__foot {
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--steel-300);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
}
.card__price { font-size: .875rem; color: var(--steel-600); }
.card__price strong { color: var(--navy-900); font-size: 1rem; }

.checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .96875rem; line-height: 1.5; }
.checklist .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--green); stroke-width: 2; }
.checklist--minus .icon { color: var(--steel-500); }
.checklist--dark li { color: var(--steel-100); }
.checklist--dark .icon { color: var(--amber); }

.pill, .badge {
  display: inline-flex; align-items: center; font-size: .625rem; line-height: 1;
  padding: 5px 8px; border-radius: 2px; white-space: nowrap;
}
.pill { color: var(--navy-700); background: var(--steel-100); }
.badge { color: var(--navy-950); background: var(--amber); }

/* ---------------------------------------------------------------- steps (how we work) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding-right: 28px; }
.step__marker { display: flex; align-items: center; margin-bottom: 26px; }
.step__num {
  display: grid; place-items: center; width: 58px; height: 52px; flex: none;
  background: var(--navy-900); color: var(--white);
  font: 500 .9375rem/1 var(--font-mono); letter-spacing: .06em;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.step__line { flex: 1; height: 2px; margin-left: 10px; background: repeating-linear-gradient(90deg, var(--steel-300) 0 6px, transparent 6px 12px); }
.step__line--end { position: relative; flex: 0 0 56px; background: var(--amber); }
.step__line--end::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 169, 0, .2); }
.step__title { font-size: 1.375rem; }
.step p { color: var(--steel-600); font-size: 1rem; margin: 0; }
@media (max-width: 959.98px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 599.98px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 20px; padding: 0 0 32px; }
  .step__marker { grid-row: 1 / span 2; flex-direction: column; margin: 0; align-self: stretch; }
  .step__line { width: 2px; height: auto; margin: 10px 0 -32px; background: repeating-linear-gradient(180deg, var(--steel-300) 0 6px, transparent 6px 12px); }
  .step:last-child .step__line { display: none; }
  .step__title { margin-top: 12px; }
}

/* ---------------------------------------------------------------- case teaser + drawing */
.case-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.case-teaser .lead { margin-bottom: 28px; }
.case-teaser .checklist { margin-bottom: 32px; }
.drawing { margin: 0; padding: clamp(16px, 2.5vw, 28px); border: 1px solid rgba(169, 180, 194, .3); background: rgba(6, 17, 31, .35); position: relative; }
.drawing::before, .drawing::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--amber); }
.drawing::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.drawing::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.drawing__svg { width: 100%; height: auto; }
.d-box { fill: rgba(23, 58, 102, .55); stroke: var(--steel-300); stroke-width: 1.5; }
.d-soft { fill: none; stroke: var(--steel-300); stroke-opacity: .6; stroke-width: 1.5; }
.d-needle { stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.d-via { fill: var(--amber); }
.d-wave { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-opacity: .9; }
.d-link { fill: none; stroke: var(--white); stroke-opacity: .8; stroke-width: 2; }
.d-link--dash { stroke-dasharray: 8 7; }
.d-tb { fill: none; stroke: var(--steel-300); stroke-opacity: .5; }
.d-label { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .18em; fill: var(--steel-100); }
.d-label--sm { font-size: 11px; fill: var(--steel-300); }
@media (max-width: 899.98px) { .case-teaser { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- founding offer */
.offer {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  background: var(--white); border: 1px solid var(--steel-100); border-left: 5px solid var(--amber);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-1);
}
.offer__tag { display: inline-flex; margin: 0 0 14px; font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-950); background: var(--amber); padding: 5px 10px; border-radius: 2px; }
.offer__title { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); margin-bottom: 10px; }
.offer__text { font-size: 1.1875rem; color: var(--ink); margin-bottom: 8px; }
.offer__fine { color: var(--steel-600); font-size: .9375rem; margin: 0; max-width: 640px; }
@media (max-width: 759.98px) { .offer { grid-template-columns: 1fr; } .offer__cta .btn { width: 100%; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--steel-100); }
.faq__item { border-bottom: 1px solid var(--steel-100); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.4; color: var(--navy-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--navy-700); }
.faq__sign { position: relative; width: 20px; height: 20px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--navy-900); transition: transform .2s var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__item[open] summary { color: var(--navy-700); }
.faq__answer { padding: 0 56px 24px 4px; color: var(--steel-600); }
.faq__answer p { margin: 0; }
@media (max-width: 599.98px) { .faq__answer { padding-right: 4px; } }

/* ---------------------------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 820px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .lead { margin-inline: auto; max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-band--light { border-top: 1px solid var(--steel-100); }
@media (max-width: 559.98px) { .cta-band__actions .btn { width: 100%; } }

/* ---------------------------------------------------------------- services page */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__label { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.svc__label .card__code { padding: 0; }
.svc__detail { display: grid; gap: 24px; }
.svc__note { margin: 24px 0 0; }
.fit { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--amber); background: rgba(242, 169, 0, .07); }
.fit__title { font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.fit ul { margin: 0; padding-left: 1.1em; color: var(--ink); }
.fit li + li { margin-top: 4px; }
.section--paper .fit { background: rgba(242, 169, 0, .09); }
.panel { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.section--paper .panel { box-shadow: var(--shadow-1); }
.panel__title { font-size: 1.125rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); }
.panel .checklist { margin-bottom: 0; }
.panel__fine { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--steel-300); font-size: .9375rem; color: var(--steel-600); }
.panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.pkg-rows { list-style: none; margin: 0; padding: 0; }
.pkg-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--steel-100); }
.pkg-row:first-child { padding-top: 0; }
.pkg-row > a { text-decoration: none; color: inherit; display: block; min-width: 0; }
.pkg-row > a:hover .pkg-row__name { text-decoration: underline; color: var(--navy-700); }
.pkg-row__name { display: block; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.pkg-row__sub { display: block; font-size: .875rem; color: var(--steel-600); line-height: 1.45; margin-top: 2px; }
.pkg-row__price { flex: none; text-align: right; font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.pkg-row__founding { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .06em; color: var(--amber-text); margin-top: 3px; }
.pkg-row--rate { background: var(--paper); margin-top: 12px; padding: 14px 16px; border: 0; border-radius: var(--radius); }
.pkg-row--rate + .pkg-row--rate { margin-top: 8px; }
.svc-section .section-head .svc__label { margin-bottom: 22px; }
.support-foot { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(169, 180, 194, .25); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.support-foot p { margin: 0; max-width: 600px; color: var(--steel-300); }
.support-foot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899.98px) {
  .svc { grid-template-columns: 1fr; }
  .svc__intro { position: static; }
}
@media (max-width: 479.98px) {
  .pkg-row { flex-direction: column; gap: 6px; }
  .pkg-row__price { text-align: left; }
  .panel__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- pricing */
.price { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--steel-100); }
.price p { margin: 0; }
.price__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price__tag { align-self: center; font-size: .625rem; letter-spacing: .14em; color: var(--navy-950); background: var(--amber); padding: 5px 7px; border-radius: 2px; margin-right: 4px; line-height: 1; }
.price__prefix { font-size: .9375rem; color: var(--steel-600); }
.price__amount { font-size: 2rem; font-weight: 600; color: var(--navy-900); letter-spacing: -.02em; line-height: 1.1; }
.price__unit { font-size: .9375rem; color: var(--steel-600); }
.price__was { margin-top: 6px !important; font-size: .875rem; color: var(--steel-600); }
.price--lg .price__amount { font-size: 2.75rem; }
.rate-card .card__text { flex: 1; }

.pkg-group { margin-top: 64px; }
.pkg-group:first-of-type { margin-top: 0; }
.pkg-group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 2px solid var(--navy-900); }
.pkg-group__title { display: flex; align-items: center; gap: 14px; }
.pkg-group__title h3 { margin: 0; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); }
.icon--hex { width: 44px; height: 40px; padding: 9px 11px; background: var(--navy-900); color: var(--amber); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.pkg-group__meta { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .06em; color: var(--steel-600); }
.pkg-group__meta a { margin-left: 8px; font-family: var(--font-sans); font-weight: 600; font-size: .875rem; letter-spacing: 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.pkg-card .card__title { font-size: 1.1875rem; margin-bottom: 4px; }
.pkg-card__sub { color: var(--steel-600); font-size: .9375rem; margin: 0; }
.pkg-card .price { margin-top: 16px; }

.disclosure { margin-top: 20px; border-top: 1px solid var(--steel-100); }
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0 2px; cursor: pointer; list-style: none;
  font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700);
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary:hover { color: var(--navy-900); }
.disclosure__icon { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .2s var(--ease); }
.disclosure[open] .disclosure__icon { transform: rotate(-90deg); }
.disclosure__body { padding-top: 14px; }
.disclosure__body .checklist { margin-bottom: 18px; }
.disclosure__body .checklist:last-child { margin-bottom: 0; }
.list-label { font-size: .6875rem; color: var(--steel-600); margin: 0 0 10px; }

.ret-table-wrap { overflow-x: auto; }
.ret-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.ret-table th, .ret-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--steel-100); font-size: .96875rem; line-height: 1.5; }
.ret-table tbody tr:last-child th, .ret-table tbody tr:last-child td { border-bottom: 0; }
.ret-table tbody th { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-600); width: 20%; padding-top: 19px; }
.ret__plan { position: relative; padding-top: 30px !important; padding-bottom: 22px !important; width: 26.66%; }
.ret__plan .badge { position: absolute; top: 0; left: 22px; transform: translateY(-50%); }
.ret__code { display: block; font-size: .6875rem; color: var(--steel-500); margin-bottom: 4px; }
.ret__name { display: block; font-size: 1.375rem; font-weight: 600; color: var(--navy-900); }
.ret__plan .price { border-top: 0; padding-top: 0; margin-top: 10px; }
.ret__plan .price__amount { font-size: 2.25rem; }
.ret-table .is-featured { background: rgba(242, 169, 0, .06); }
.ret-table thead .is-featured { box-shadow: inset 0 4px 0 var(--amber); }
.ret-table thead .ret__plan.is-featured .badge { top: 12px; transform: none; }
.ret__cta td { padding-block: 20px 24px; }
.ret__corner { width: 20%; }
.ret-cards { display: none; }
.ret-cards--compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ret-card.is-featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.ret-card .badge { position: absolute; top: 0; right: 24px; transform: translateY(-50%); }
.ret-card__btn { margin-top: 24px; }
.section--dark .ret-card { background: rgba(255, 255, 255, .04); border-color: rgba(169, 180, 194, .25); color: var(--steel-100); }
.section--dark .ret-card.is-featured { border-color: var(--amber); }
.section--dark .ret-card::before, .section--dark .ret-card::after { border-color: rgba(169, 180, 194, .5); }
.section--dark .ret-card .card__code { color: var(--steel-300); }
.section--dark .price { border-top-color: rgba(169, 180, 194, .25); }
.section--dark .price__amount { color: var(--white); }
.section--dark .price__unit, .section--dark .price__was { color: var(--steel-300); }
.spec { margin: 20px 0 0; display: grid; gap: 14px; }
.spec div { display: grid; gap: 2px; }
.spec dt { font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-600); }
.spec dd { margin: 0; font-size: .96875rem; line-height: 1.5; }
.section--dark .spec dt { color: var(--steel-300); }
@media (max-width: 899.98px) {
  .ret-table-wrap { display: none; }
  .ret-cards { display: grid; gap: 28px; max-width: 640px; }
  .ret-cards--compact { grid-template-columns: 1fr; }
}

.addon-card .price { margin: 4px 0 18px; padding: 0 0 16px; border-top: 0; border-bottom: 1px solid var(--steel-100); }
.addon-card .price__amount { font-size: 1.75rem; }
.addon-card .card__text { margin: 0; }

.policy-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.policy { padding: 22px 0; border-top: 1px solid var(--steel-300); }
.policy dt { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.policy dt .icon { width: 20px; height: 20px; color: var(--navy-500); }
.policy dd { margin: 0; color: var(--steel-600); padding-left: 30px; }
@media (max-width: 759.98px) { .policy-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- work / case study */
.case { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.case__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 32px); }
.case__body { grid-column: 1; grid-row: 1; }
.glance { background: var(--paper); border: 1px solid var(--steel-100); border-top: 4px solid var(--navy-900); border-radius: var(--radius); padding: 28px; }
.glance__title { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-900); margin: 0; }
.glance .spec { margin-bottom: 24px; }
.spec--stack div { padding-bottom: 14px; border-bottom: 1px solid var(--steel-100); }
.case__fine { font-size: .875rem; color: var(--steel-600); border-top: 1px solid var(--steel-100); padding-top: 18px; margin-top: 32px; }
@media (max-width: 959.98px) {
  .case { grid-template-columns: 1fr; }
  .case__aside { grid-column: 1; grid-row: auto; position: static; }
  .case__body { grid-column: 1; grid-row: auto; }
}

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; margin: 0 0 8px; }
.prose ul:not(.checklist):not(.area-list) { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose--legal h2 { font-size: 1.375rem; margin-top: 44px; }
.prose--legal .updated { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600); }

.case-steps { list-style: none; counter-reset: cs; margin: 28px 0 0; padding: 0; }
.case-steps li { counter-increment: cs; position: relative; padding: 0 0 28px 64px; }
.case-steps li::before {
  content: "0" counter(cs); position: absolute; left: 0; top: -4px;
  display: grid; place-items: center; width: 44px; height: 40px;
  background: var(--navy-900); color: var(--white); font: 500 .8125rem/1 var(--font-mono);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.case-steps li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--steel-300) 0 5px, transparent 5px 10px); }
.case-steps li:last-child::after { display: none; }
.case-steps p { color: var(--steel-600); margin: 0; }

.callout { margin: 48px 0; padding: clamp(28px, 4vw, 40px); background: var(--navy-900); color: var(--steel-100); border-left: 5px solid var(--amber); border-radius: var(--radius); }
.callout h2 { color: var(--white); margin-top: 0 !important; }
.callout__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.callout__tag .icon { width: 18px; height: 18px; }
.callout .checklist { margin: 0; gap: 16px; }
.callout strong { color: var(--white); }

/* ---------------------------------------------------------------- about */
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.founder__figure { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.avatar-hex { width: 100%; max-width: 300px; height: auto; }
.avatar-hex__outer { fill: var(--navy-900); stroke: var(--navy-900); stroke-width: 10; stroke-linejoin: round; }
.avatar-hex__inner { fill: none; stroke: var(--steel-300); stroke-opacity: .45; stroke-width: 2; }
.avatar-hex__text { font-family: var(--font-sans); font-weight: 600; font-size: 64px; letter-spacing: 2px; fill: var(--white); }
.avatar-hex__rule { stroke: var(--amber); stroke-width: 4; }
.founder__caption { margin-top: 20px; display: grid; gap: 2px; }
.founder__name { font-weight: 600; color: var(--navy-900); font-size: 1.125rem; }
.founder__role { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600); }
.founder__body .prose { margin-bottom: 8px; }
.founder__body .prose p { font-size: 1.125rem; }
.spec--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; padding-top: 24px; border-top: 1px solid var(--steel-100); max-width: 720px; }
@media (max-width: 799.98px) {
  .founder { grid-template-columns: 1fr; }
  .founder__figure { position: static; display: flex; align-items: center; gap: 24px; }
  .avatar-hex { width: 120px; }
  .founder__caption { margin: 0; }
}
@media (max-width: 479.98px) { .spec--grid { grid-template-columns: 1fr; } }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.value { background: var(--white); border: 1px solid var(--steel-100); border-top: 3px solid var(--navy-900); border-radius: var(--radius); padding: 24px 22px; }
.value__num { display: block; font-size: .6875rem; color: var(--amber-text); margin-bottom: 14px; }
.value h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.value p { margin: 0; font-size: .96875rem; color: var(--steel-600); }

.area-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.area-list .k { display: inline-block; min-width: 82px; font-size: .6875rem; color: var(--steel-600); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; counter-reset: tl; }
.timeline__item { counter-increment: tl; position: relative; padding: 28px 0 36px; border-top: 2px solid var(--navy-900); }
.timeline__item::before { content: "0" counter(tl); position: absolute; top: -14px; left: 0; padding-right: 12px; background: var(--paper); font: 500 .8125rem/26px var(--font-mono); letter-spacing: .1em; color: var(--amber-text); }
.timeline__item h3 { font-size: 1.1875rem; }
.timeline__item p { margin: 0; color: var(--steel-600); font-size: .96875rem; }
@media (max-width: 899.98px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .timeline { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact */
.section--contact { padding-top: clamp(48px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-panel { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-1); }
.form-panel__title { font-size: 1.625rem; margin-bottom: 6px; }
.form-panel__intro { color: var(--steel-600); font-size: .9375rem; margin-bottom: 28px; }
.req { color: var(--red); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .radios legend { display: block; font-weight: 600; font-size: .9375rem; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: var(--white); border: 1px solid var(--steel-500); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy-500); outline-offset: 0; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(44, 90, 148, .15); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field__error { margin: 8px 0 0; color: var(--red); font-size: .875rem; font-weight: 600; }
.field__hint { margin: 8px 0 0; color: var(--steel-600); font-size: .875rem; }
.radios { border: 0; padding: 0; margin: 0; }
.radios legend { padding: 0; }
.radios__row { display: flex; flex-wrap: wrap; gap: 10px; }
.radios .radio { display: inline-flex; margin: 0; font-weight: 400; color: var(--ink); align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px; border: 1px solid var(--steel-300); border-radius: var(--radius); cursor: pointer; font-size: .96875rem; background: var(--white); }
.radio:hover { border-color: var(--navy-700); }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy-900); }
.radio:has(input:checked) { border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); background: rgba(11, 31, 58, .03); }
.radio:has(input:focus-visible) { outline: 3px solid var(--navy-500); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__actions { margin-top: 28px; }
.form__actions .btn { min-width: 220px; }
.form__note { margin: 18px 0 0; font-size: .875rem; color: var(--steel-600); }
.form-status { margin-top: 22px; padding: 16px 20px; border-radius: var(--radius); border-left: 4px solid var(--navy-500); background: var(--paper); font-size: .96875rem; }
.form-status:focus { outline: none; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 6px; }
.form-status.is-success { border-color: var(--green); background: #EAF4EE; }
.form-status.is-error { border-color: var(--red); background: #FBEDEB; }
.form-status strong { color: var(--navy-900); }
@media (max-width: 599.98px) {
  .form-grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
}

.contact-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact-card { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--steel-100); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border-bottom: 4px solid var(--amber); }
.contact-card__title { color: var(--white); font-size: 1.375rem; margin-bottom: 20px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list > li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list > li > .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--amber); }
.contact-list > li > div { display: grid; gap: 2px; min-width: 0; }
.contact-list .k { font-size: .6875rem; color: var(--steel-300); }
.contact-list a { color: var(--white); }
.contact-list__big { font-size: 1.375rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.contact-list__big:hover { text-decoration: underline; }
.contact-card .muted { color: var(--steel-300); font-size: .875rem; }
.contact-card .area-list { margin: 2px 0 0; gap: 4px; }
.contact-card .area-list .k { color: var(--steel-300); min-width: 76px; }
.next-steps { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.next-steps__title { font-size: 1.125rem; margin-bottom: 14px; }
.next-steps ol { margin: 0; padding-left: 1.3em; color: var(--steel-600); font-size: .96875rem; }
.next-steps li + li { margin-top: 8px; }
.next-steps li::marker { color: var(--amber-text); font-family: var(--font-mono); font-weight: 500; }
@media (max-width: 899.98px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; isolation: isolate; background: var(--navy-950); color: var(--steel-300); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .9375rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 52px; width: auto; }
.footer__tagline { margin: 22px 0 6px; color: var(--white); font-weight: 600; font-size: 1.0625rem; }
.footer__pitch { margin: 0; max-width: 340px; line-height: 1.55; }
.footer__heading { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin: 6px 0 18px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--amber); }
.footer__contact a, .footer__contact span { min-width: 0; overflow-wrap: anywhere; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(169, 180, 194, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .8125rem; }
.footer__bottom p { margin: 0; }
.footer__motto { font-family: var(--font-mono); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
@media (max-width: 959.98px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479.98px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .skip-link, .hero__art, .page-hero__art, .cta-band, .form-panel form { display: none !important; }
  .hero, .page-hero, .section--dark, .site-footer { background: none !important; color: #000 !important; }
  .hero *, .page-hero *, .section--dark * { color: #000 !important; }
  .section { padding-block: 24px; }
}
