/* ══════════════════════════════════════════════════════════════════
   Northwest MedTech — Design System v2
   Concept: precision channel / logistics infrastructure
   Palette: forest / slate / rust / ochre-signal  (was navy/blue/green)
   Type:    General Sans (display) + Satoshi (body) + JetBrains Mono (data)
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* ── Ink & neutrals ── */
  --ink:        #14201C;   /* deep forest-black, primary text */
  --ink-soft:   #33443C;   /* softened body text */
  --muted:      #64756C;   /* secondary / meta text */
  --line:       #D8DED7;   /* hairline borders */
  --soft:       #F4F6F2;   /* section backgrounds (cool sage-white) */
  --surface:    #FFFFFF;   /* card / page surfaces */
  --white:      #FFFFFF;

  /* ── Brand ── */
  --forest:      #1F4D3D;  /* primary brand — deep forest green */
  --forest-dark: #12332A;  /* forest hover / active + dark bands */
  --slate:       #3D5A66;  /* secondary accent — slate blue-gray */
  --rust:        #B5502E;  /* warm accent — rust/clay, sparingly */
  --rust-dark:   #97431F;
  --signal:      #C9A227;  /* ochre signal — routing/status marks only */
  --sage-hi:     #E4EBE1;  /* subtle highlight fill */

  /* ── Type families ── */
  --font-display: 'General Sans', 'Satoshi', system-ui, sans-serif;
  --font-body:    'Satoshi', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* ── Fluid type scale ── */
  --text-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm:   clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem);
  --text-2xl:  clamp(2.1rem, 1.4rem + 2.9vw, 3.6rem);

  /* ── Radii (kept tight / technical — no soft SaaS pills except buttons) ── */
  --radius:    6px;
  --radius-sm: 4px;

  --shadow:    0 22px 50px -28px rgba(20, 32, 28, 0.35);
  --shadow-sm: 0 8px 24px -18px rgba(20, 32, 28, 0.30);

  --max:       1180px;

  /* spacing */
  --sp-4: 1rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem;
  --sp-12: 3rem; --sp-16: 4rem; --sp-20: 5rem; --sp-24: 6rem;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.62;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin-top: 0; }

/* ── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: fixed; top: -80px; left: 12px;
  background: var(--forest); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 200; transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ── Container ──────────────────────────────────────────────── */
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* ══════════════════════════════════════════════════════════════
   MONO / DATA ACCENT — the signature touch
   ══════════════════════════════════════════════════════════════ */
.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}
.code-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate);
}

/* ══════════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
  width: min(var(--max), calc(100% - 48px)); margin: 0 auto;
}
.brand-wordmark {
  display: inline-flex; flex-direction: column;
  justify-content: center; min-width: 232px;
}
.brand-eyebrow {
  display: block; color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  line-height: 1.1; margin-bottom: 4px;
}
.brand-name {
  display: block; color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.24rem; font-weight: 600;
  line-height: 1.02; letter-spacing: -0.015em;
}
.nav-links {
  display: flex; align-items: center; gap: 26px;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { position: relative; padding-bottom: 3px; transition: color .15s; }
.nav-links a:hover { color: var(--forest); }
.nav-links a[aria-current="page"] {
  color: var(--forest);
  box-shadow: inset 0 -2px 0 var(--rust);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: var(--radius); font-weight: 600; font-size: var(--text-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap; letter-spacing: 0.005em;
}
.btn:hover { transform: translateY(-1px); }
/* primary — forest (kept .btn-navy name so HTML need not change everywhere, restyled) */
.btn-navy, .btn-forest {
  background: var(--forest); color: #fff;
  box-shadow: 0 12px 26px -16px rgba(18,51,42,0.9);
}
.btn-navy:hover, .btn-forest:hover { background: var(--forest-dark); }
.btn-outline {
  background: transparent; color: var(--forest);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--forest); color: var(--forest-dark); background: var(--soft); }
/* secondary emphasis — slate (kept .btn-blue name, restyled to slate) */
.btn-blue, .btn-slate {
  background: var(--slate); color: #fff;
}
.btn-blue:hover, .btn-slate:hover { background: #31474f; }
/* rust CTA */
.btn-rust {
  background: var(--rust); color: #fff;
  box-shadow: 0 12px 26px -16px rgba(181,80,46,0.9);
}
.btn-rust:hover { background: var(--rust-dark); }

/* ── Mobile nav ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--forest); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px 24px 24px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 0; font-weight: 500; font-size: 1rem;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 10px; width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   EYEBROW (mono routing-code style)
   ══════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 16px;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px; background: var(--rust);
  display: inline-block;
}
.eyebrow-green, .eyebrow.eyebrow-green { color: var(--forest); }
.eyebrow-green::before { background: var(--forest); }

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 22px; font-weight: 600;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 14px; font-weight: 600;
  text-wrap: balance;
}
h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg); line-height: 1.2;
  color: var(--ink); margin-bottom: 8px; font-weight: 600;
  letter-spacing: -0.01em;
}
.lede {
  font-size: var(--text-lg); color: var(--ink-soft);
  max-width: 62ch; margin-bottom: 32px; line-height: 1.55;
  font-weight: 400;
}
.section-sub {
  font-size: var(--text-base); color: var(--ink-soft);
  max-width: 66ch; margin-bottom: 40px; line-height: 1.62;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section-white { background: var(--surface); }
.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-header { max-width: 760px; }
.section-header.center { margin: 0 auto; text-align: center; }
.section-header.center .lede { margin-left: auto; margin-right: auto; }
.section-header.center .eyebrow { justify-content: center; }

/* Corner-bracket divider mark — replaces numbered circular badges as
   the section sequence/registration motif (blueprint corner) */
.bracket-head {
  position: relative;
  padding: 22px 0 0 24px;
  margin-bottom: 30px;
}
.bracket-head::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 28px; height: 28px;
  border-top: 2px solid var(--forest);
  border-left: 2px solid var(--forest);
}
.bracket-head .seq {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--rust);
  letter-spacing: 0.08em;
  display: block; margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════════
   HERO — asymmetric two-column, card restyled as routing/manifest panel
   ══════════════════════════════════════════════════════════════ */
.hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, var(--soft) 0%, var(--surface) 78%);
  position: relative;
  overflow: hidden;
}
/* faint grid / schematic texture */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 82% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 82% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 54px; align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Manifest / routing panel (replaces .hero-card with numbered flow) */
.manifest-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.manifest-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--forest-dark);
  color: #fff;
}
.manifest-panel-head .label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.manifest-panel-head .status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 7px;
}
.manifest-panel-head .status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
}
.manifest-rows { display: block; }
.manifest-row {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 16px; align-items: start;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.manifest-row:first-child { border-top: none; }
.manifest-row .rcode {
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: 500;
  color: var(--rust);
  padding-top: 2px;
}
.manifest-row strong {
  display: block; color: var(--ink);
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.98rem; margin-bottom: 3px; letter-spacing: -0.01em;
}
.manifest-row span { display: block; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   ROUTING MANIFEST LIST — replaces icon-circle .offer-rows
   Horizontal hairline rows, mono routing code instead of icon.
   ══════════════════════════════════════════════════════════════ */
.manifest-list {
  border-top: 1px solid var(--line);
}
.manifest-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 32px; align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.manifest-item:hover { background: var(--soft); }
.manifest-item .idx {
  font-family: var(--font-mono);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--rust);
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.manifest-item h3 { font-size: var(--text-lg); margin-bottom: 8px; }
.manifest-item p { color: var(--ink-soft); font-size: var(--text-base); margin: 0; max-width: 68ch; }

/* ══════════════════════════════════════════════════════════════
   MANIFEST BOARD — asymmetric ledger (replaces symmetric card grids
   used for "why us" & similar). One wide col + mono status rail.
   ══════════════════════════════════════════════════════════════ */
.board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.board-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  border-top: 1px solid var(--line);
}
.board-row:first-child { border-top: none; }
.board-rail {
  background: var(--soft);
  border-right: 1px solid var(--line);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.board-rail .rcode {
  font-family: var(--font-mono);
  font-size: var(--text-xs); color: var(--rust);
  letter-spacing: 0.04em;
}
.board-rail .rtag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--slate); font-weight: 500;
}
.board-body { padding: 26px 30px; }
.board-body h3 { margin-bottom: 8px; }
.board-body p { color: var(--ink-soft); font-size: var(--text-base); margin: 0; max-width: 70ch; }

/* ══════════════════════════════════════════════════════════════
   CARDS (retained for "what to send" style blocks — restyled:
   NO colored top border. Left hairline + mono label instead.)
   ══════════════════════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px;
  position: relative;
}
.card::before {
  content: "";
  position: absolute; top: 26px; left: 0;
  width: 3px; height: 26px; background: var(--forest);
}
/* legacy top-border classes neutralized (kept so HTML with them doesn't break) */
.card-blue-top, .card-green-top, .card-navy-top { border-top: 1px solid var(--line); }
.card-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: 500; color: var(--rust);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.card h3 { font-size: var(--text-lg); }
.card p { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.55; margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   FIT / BOUNDARY — spec-sheet blocks (manufacturers "strong fit")
   ══════════════════════════════════════════════════════════════ */
.boundary-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 34px;
}
.boundary-box h3 { font-size: var(--text-lg); margin-bottom: 6px; }
.boundary-box p { color: var(--ink-soft); font-size: var(--text-base); }
.spec-list { display: grid; gap: 12px; margin-top: 14px; }
.spec-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.5;
}
.spec-list .mk { font-family: var(--font-mono); font-weight: 600; line-height: 1.4; }
.spec-list.ok .mk { color: var(--forest); }
.spec-list.no .mk { color: var(--rust); }

/* ══════════════════════════════════════════════════════════════
   ROUTING TABLE (compliance) — restyled to manifest board look
   ══════════════════════════════════════════════════════════════ */
.routing-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.routing-row {
  display: grid; grid-template-columns: 1fr 1.25fr;
  border-top: 1px solid var(--line);
}
.routing-row:first-child { border-top: none; }
.routing-cell { padding: 16px 22px; font-size: var(--text-sm); }
.routing-cell:first-child {
  background: var(--soft); font-weight: 500;
  color: var(--ink); border-right: 1px solid var(--line);
}
.routing-cell:last-child { color: var(--ink-soft); background: var(--surface); font-family: var(--font-mono); font-size: var(--text-xs); }

/* ══════════════════════════════════════════════════════════════
   NOT-LIST — exclusion rows (providers, compliance)
   ══════════════════════════════════════════════════════════════ */
.not-list { border-top: 1px solid var(--line); }
.not-item {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  align-items: start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-base); color: var(--ink-soft);
}
.not-icon {
  flex-shrink: 0; color: var(--rust);
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.95rem; line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, var(--soft) 0%, var(--surface) 90%);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 92% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 92% 10%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { max-width: 64ch; margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   SPLIT CTA BAND — asymmetric two-column (replaces centered navy)
   ══════════════════════════════════════════════════════════════ */
.cta-band { padding: 0; }
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: clamp(3rem, 6vw, 5rem) 0;
}
.cta-left {
  background: var(--forest-dark);
  color: #fff;
  padding: clamp(2.25rem, 4vw, 3.25rem);
}
.cta-left .eyebrow { color: var(--signal); }
.cta-left .eyebrow::before { background: var(--signal); }
.cta-left h2 { color: #fff; margin-bottom: 14px; }
.cta-left p { color: rgba(255,255,255,0.78); font-size: var(--text-base); max-width: 46ch; margin: 0; }
.cta-right {
  background: var(--soft);
  padding: clamp(2.25rem, 4vw, 3.25rem);
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.cta-right .cta-line {
  font-family: var(--font-mono); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-left .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-left .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 52px; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: var(--text-sm);
  font-family: inherit; color: var(--ink);
  background: var(--surface); transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--forest);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: var(--text-xs); color: var(--muted); margin-bottom: 20px; line-height: 1.5; }

/* routing guide blocks (contact) */
.route-block {
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 3px solid var(--forest);
  background: var(--surface);
}
.route-block.alt { border-left-color: var(--slate); background: var(--soft); }
.route-block strong { color: var(--ink); display: block; margin-bottom: 4px; font-family: var(--font-display); }
.route-block span { color: var(--ink-soft); font-size: var(--text-sm); }
.email-block {
  padding: 22px; background: var(--forest-dark); border-radius: var(--radius); text-align: center;
}
.email-block p { color: rgba(255,255,255,0.72); font-size: var(--text-sm); margin-bottom: 8px; }
.email-block a { color: #fff; font-weight: 600; font-size: 1.02rem; font-family: var(--font-mono); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--forest-dark); color: rgba(255,255,255,0.72);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 40px; margin-bottom: 40px;
}
.footer-brand-name {
  color: #fff; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; display: block;
}
.footer-brand-sub { font-size: var(--text-xs); color: rgba(255,255,255,0.55); margin-bottom: 0; line-height: 1.6; }
.footer-col h4 {
  color: #fff; font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col ul a { font-size: var(--text-sm); color: rgba(255,255,255,0.66); }
.footer-col ul a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.10); margin-bottom: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: var(--text-xs); color: rgba(255,255,255,0.45);
}
.footer-legal { max-width: 700px; line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════
   PORTFOLIO STATUS BOARD (apply page) — terminal/departure-board feel
   ══════════════════════════════════════════════════════════════ */
.category-board { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.category-card {
  padding: 26px 30px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start;
  position: relative;
}
.category-card:first-child { border-top: none; }
.category-card.category-open   { }
.category-card.category-review { background: #FBF7EC; }
.category-card.category-filled { background: var(--soft); }
.cat-rail { display: flex; flex-direction: column; gap: 10px; }
.cat-rail .rcode { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--rust); letter-spacing: 0.04em; }
.category-header { margin-bottom: 12px; }
.category-header h3 { font-size: var(--text-lg); margin: 4px 0 0; }
.category-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); margin: 0;
}
.category-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 99px;
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.category-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.category-badge-open   { background: var(--sage-hi); color: var(--forest); }
.category-badge-open::before { background: var(--forest); }
.category-badge-review { background: #F4E9C6; color: #7A5C10; }
.category-badge-review::before { background: var(--signal); }
.category-badge-filled { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.category-badge-filled::before { background: var(--muted); }
.category-desc { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.6; margin-bottom: 18px; }
.category-btn { display: inline-flex; }
.category-review-notice {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  background: #F4E9C6; border: 1px solid #E0C874;
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: var(--text-sm); color: #5A430C; line-height: 1.55;
}
.category-review-notice svg { margin-top: 2px; color: var(--signal); }

/* ══════════════════════════════════════════════════════════════
   APPLY FORM LAYOUT
   ══════════════════════════════════════════════════════════════ */
.apply-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: start;
}
.apply-form-layout > * { min-width: 0; }
.apply-form-intro { position: sticky; top: 96px; }
.apply-form {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.form-section {
  padding-bottom: 28px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.form-section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rust); margin: 0 0 18px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.check-option {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); color: var(--ink-soft); cursor: pointer;
  padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface); transition: border-color .15s;
}
.check-option:hover { border-color: var(--forest); }
.check-option input { margin: 0; accent-color: var(--forest); }
.req { color: var(--rust); font-weight: 700; }
.form-submit-area { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

.notice-box {
  margin-top: 28px; padding: 18px 20px;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 3px solid var(--rust);
}
.notice-box strong { display: block; margin-bottom: 8px; color: var(--ink); font-family: var(--font-display); }
.notice-box ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: var(--text-sm); display: grid; gap: 6px; }
.notice-box ul li { list-style: disc; }
.email-nudge {
  margin-top: 18px; padding: 18px 20px;
  background: var(--soft); border-radius: var(--radius); border: 1px solid var(--line);
}
.email-nudge strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--font-display); }
.email-nudge a { color: var(--forest); font-weight: 600; font-family: var(--font-mono); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .routing-row { grid-template-columns: 1fr; }
  .routing-cell:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .cta-split { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 132px 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .manifest-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .manifest-item .idx { padding-top: 0; }
  .board-row { grid-template-columns: 1fr; }
  .board-rail { border-right: none; border-bottom: 1px solid var(--line); flex-direction: row; gap: 14px; padding: 16px 22px; }
  .category-card { grid-template-columns: 1fr; gap: 16px; }
  .cat-rail { flex-direction: row; gap: 16px; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links, .site-header > .nav-wrap > .btn { display: none; }
  .hamburger { display: flex; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row-2 { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nav-links, .site-header > .nav-wrap > .btn { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 981px) { .hamburger { display: none; } }
@media (max-width: 560px) {
  .apply-form { padding: 24px 18px; }
  .apply-form-layout { gap: 36px; }
}
@media (max-width: 980px) {
  .apply-form-layout { grid-template-columns: 1fr; gap: 36px; }
  .apply-form-intro { position: static; }
}
