/* ============================================================
   MikeHacksAI Academy — Aurora
   Self-contained: fonts, icons and styles all live under academy/
   so this folder deploys as its own site or as a subdirectory.
   ============================================================ */

/* Inter variable, self-hosted. SIL OFL 1.1 — see assets/fonts/Inter-LICENSE.txt */
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ground + surfaces: navy-biased neutrals, not pure grey */
  --bg: #070B14;
  --surface: #0D1424;
  --surface-2: #121A2C;
  --line: #1E2942;
  --line-soft: #182136;

  /* text */
  --text: #E9EFF8;
  --text-dim: #94A5BD;
  --text-faint: #6B7C96;

  /* brand */
  --emerald: #03ECA1;
  --emerald-deep: #059669;
  --blue: #3B82F6;
  --blue-bright: #3A69F6;   /* sampled from the approved board: the "AI" letters */
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --amber: #F5B942;

  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 60px -30px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -.022em; margin: 0; }

.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--emerald); color: #04231C; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 11, 20, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }

/* Wordmark runs on one line: MikeHacksAI Academy.
   "AI" is blue on both sites — the shared blue is what makes them read as
   one brand. Only the word "Academy" carries the green. */
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: auto; flex: none; }
.brand-type { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name { font-weight: 800; font-size: 1.04rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-name .ai { color: var(--blue-bright); }
.brand-sub {
  font-weight: 700; font-size: .78rem; color: var(--emerald);
  letter-spacing: .005em; margin-top: .26em;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text-dim); transition: color .18s ease; }
.site-nav a:hover { color: var(--text); }

.button {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: #04231C; font-weight: 700; text-decoration: none;
  padding: .72rem 1.25rem; border-radius: var(--radius-sm);
  border: 0; cursor: pointer; font-size: .95rem;
  transition: transform .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -12px rgba(3, 236, 161, .6); }
.button-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.button-secondary:hover { border-color: var(--emerald); box-shadow: none; }
.button-small { padding: .55rem 1rem; font-size: .9rem; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  color: var(--text); border-radius: var(--radius-sm); padding: .55rem .85rem;
  font: inherit; font-size: .9rem; cursor: pointer;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 5.5rem 0 4.5rem; overflow: hidden; }

/* the aurora: three soft light sources bled through the ground */
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 130%;
  background:
    radial-gradient(46% 42% at 72% 26%, rgba(139, 92, 246, .38), transparent 68%),
    radial-gradient(40% 38% at 88% 44%, rgba(59, 130, 246, .32), transparent 70%),
    radial-gradient(38% 34% at 60% 62%, rgba(3, 236, 161, .16), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.5rem; align-items: center; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--emerald); margin: 0 0 1.1rem;
}

/* Aurora sets this around 72px on a 1536px canvas — roughly 4.6vw, not 6.2 */
.hero h1 { font-size: clamp(2.05rem, 4.55vw, 3.55rem); font-weight: 800; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--emerald), #6EE7B7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lead { color: var(--text-dim); font-size: 1.09rem; margin: 1.35rem 0 0; max-width: 54ch; }

.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; }
.trust-row span {
  font-size: .87rem; color: var(--text-faint); display: flex; align-items: center; gap: .5rem;
}
.trust-row span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald); flex: none;
}

/* hero mark */
.hero-mark { display: grid; place-items: center; position: relative; }
.hero-mark::after {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .30), transparent 62%);
  filter: blur(30px); z-index: 0;
}
.hero-mark img { width: min(100%, 272px); position: relative; z-index: 1; }
.hero-mark figcaption {
  position: relative; z-index: 1; margin-top: 1.5rem; text-align: center;
  font-weight: 800; font-size: 1.72rem; letter-spacing: -.024em; line-height: 1.15;
}
.hero-mark figcaption .ai { color: var(--blue-bright); }
.hero-mark small {
  display: block; font-weight: 700; font-size: 1.42rem; color: var(--emerald);
  letter-spacing: -.02em; margin-top: .12em;
}

/* ---------- shared section furniture ---------- */
.section { padding: 5rem 0; }
.section-muted { background: var(--surface); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 750; }
.section-head p { color: var(--text-dim); margin: .9rem 0 0; }

.split-head { display: flex; flex-wrap: wrap; gap: 1.75rem; justify-content: space-between; align-items: end; max-width: none; }
.split-head > div { max-width: 58ch; }
.section-note {
  color: var(--text-faint); font-size: .93rem; margin: 0; max-width: 34ch;
  border-left: 2px solid var(--emerald-deep); padding-left: 1rem;
}

/* ---------- capability strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.strip > div { background: var(--bg); padding: 1.6rem 1.5rem; display: flex; gap: .95rem; align-items: flex-start; }
.strip svg { width: 26px; height: 26px; flex: none; stroke-width: 1.6; fill: none; }
.strip strong { display: block; font-size: .98rem; margin-bottom: .2rem; }
.strip p { margin: 0; font-size: .89rem; color: var(--text-faint); line-height: 1.5; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 1.15rem; }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card-grid.four  { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #2C3B5C; transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; font-weight: 700; }
.card p { margin: 0; color: var(--text-dim); font-size: .94rem; }

.card.featured {
  border-color: rgba(3, 236, 161, .38);
  background: linear-gradient(160deg, rgba(3, 236, 161, .07), var(--surface-2) 58%);
}

/* Aurora tints each card in a four-up row a different hue, so the row reads
   as a spectrum rather than four identical boxes. */
.card-grid.four .card:nth-child(1) {
  background: linear-gradient(158deg, rgba(3, 236, 161, .10), var(--surface-2) 62%);
  border-color: rgba(3, 236, 161, .26);
}
.card-grid.four .card:nth-child(2) {
  background: linear-gradient(158deg, rgba(139, 92, 246, .12), var(--surface-2) 62%);
  border-color: rgba(139, 92, 246, .28);
}
.card-grid.four .card:nth-child(3) {
  background: linear-gradient(158deg, rgba(58, 105, 246, .12), var(--surface-2) 62%);
  border-color: rgba(58, 105, 246, .28);
}
.card-grid.four .card:nth-child(4) {
  background: linear-gradient(158deg, rgba(245, 185, 66, .10), var(--surface-2) 62%);
  border-color: rgba(245, 185, 66, .26);
}

.tag {
  align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--emerald);
  background: rgba(3, 236, 161, .11); border: 1px solid rgba(3, 236, 161, .25);
  padding: .28rem .6rem; border-radius: 999px;
}

.mini-list { margin: .3rem 0 0; padding-left: 1.05rem; display: flex; flex-direction: column; gap: .35rem; }
.mini-list li { font-size: .89rem; color: var(--text-faint); }

.text-link {
  margin-top: auto; padding-top: .6rem; text-decoration: none;
  color: var(--emerald); font-weight: 650; font-size: .92rem;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- AIGP domains ---------- */
.domain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.domain-grid article { background: var(--bg); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.domain-grid .num {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .8rem; color: var(--emerald); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.domain-grid h3 { font-size: 1rem; font-weight: 700; }
.domain-grid p { margin: 0; font-size: .88rem; color: var(--text-faint); line-height: 1.55; }

/* ---------- career path ---------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.path-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; counter-reset: step; }
.path-list li {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.path-list .step {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: rgba(3, 236, 161, .12); border: 1px solid rgba(3, 236, 161, .35);
  color: var(--emerald); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.path-list strong { display: block; font-size: .99rem; }
.path-list small { color: var(--text-faint); font-size: .86rem; }

/* ---------- delivery platforms ---------- */
.platform-strip {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: 1.6rem;
}
.platform-strip strong { font-size: .9rem; margin-right: .4rem; }
.platform-strip span {
  font-size: .85rem; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: .34rem .85rem;
}

/* ---------- closing CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(139, 92, 246, .16), rgba(3, 236, 161, .09) 62%, var(--surface-2));
  padding: 3.2rem; display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: center;
}
.cta > div { max-width: 56ch; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 750; }
.cta p { color: var(--text-dim); margin: .9rem 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 3.2rem 0 2.2rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-grid > div { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.footer-grid p { color: var(--text-faint); font-size: .9rem; margin: .5rem 0 0; max-width: 40ch; }
.footer-grid strong { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .3rem; }
.footer-grid a { color: var(--text-dim); text-decoration: none; font-size: .93rem; }
.footer-grid a:hover { color: var(--emerald); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  border-top: 1px solid var(--line-soft); margin-top: 2.6rem; padding-top: 1.5rem;
  font-size: .85rem; color: var(--text-faint);
}

/* Aurora closes the page on a full-bleed spectrum rule */
body::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--violet) 34%,
              var(--cyan) 62%, var(--emerald) 88%, var(--amber));
}

/* ============================================================
   Page set — furniture shared by the Academy subpages.
   Built from the Aurora tokens above; no new palette, no new
   typography. Everything here is additive.
   ============================================================ */

/* ---------- navigation across a six-page menu ---------- */
.site-nav a[aria-current="page"]:not(.button) { color: var(--text); }
.site-nav a[aria-current="page"]:not(.button)::after {
  content: ""; display: block; height: 2px; margin-top: .28rem;
  background: var(--emerald); border-radius: 2px;
}
.site-nav .button[aria-current="page"] { box-shadow: 0 0 0 2px rgba(3, 236, 161, .25); }

/* ---------- subpage hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 3.4rem 0 3rem; border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: ""; position: absolute; inset: -70% -20% auto -20%; height: 210%;
  background:
    radial-gradient(42% 46% at 76% 30%, rgba(139, 92, 246, .26), transparent 70%),
    radial-gradient(38% 40% at 92% 52%, rgba(59, 130, 246, .22), transparent 72%),
    radial-gradient(34% 34% at 56% 72%, rgba(3, 236, 161, .10), transparent 74%);
  filter: blur(14px); pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(1.95rem, 3.9vw, 2.85rem); font-weight: 800; max-width: 20ch; }
.page-hero .lead { margin-top: 1.15rem; }

/* ---------- breadcrumb ---------- */
.breadcrumb { margin: 0 0 1.3rem; font-size: .86rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--text-faint); }
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: var(--text-faint); }

/* ---------- status pills ---------- */
.status {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .68rem; border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.status-build   { color: var(--emerald);  background: rgba(3, 236, 161, .10);  border-color: rgba(3, 236, 161, .30); }
.status-review  { color: var(--cyan);     background: rgba(34, 211, 238, .10); border-color: rgba(34, 211, 238, .30); }
.status-soon    { color: var(--amber);    background: rgba(245, 185, 66, .10); border-color: rgba(245, 185, 66, .32); }
.status-planned { color: var(--text-dim); background: rgba(148, 165, 189, .08); border-color: var(--line); }

.status-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0 0 2.2rem; padding: 0; list-style: none; }
.status-legend li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text-faint); }

/* ---------- coming-soon notice ---------- */
.notice {
  display: flex; gap: 1.1rem; align-items: flex-start;
  border: 1px dashed rgba(245, 185, 66, .36); background: rgba(245, 185, 66, .05);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; stroke-width: 1.7; fill: none; stroke: var(--amber); }
.notice h2, .notice h3 { font-size: 1.02rem; font-weight: 700; }
.notice p { margin: .45rem 0 0; color: var(--text-dim); font-size: .93rem; }
.notice p + p { margin-top: .6rem; }

.card.is-soon {
  border-style: dashed; border-color: rgba(245, 185, 66, .30);
  background: linear-gradient(158deg, rgba(245, 185, 66, .05), var(--surface-2) 60%);
}

/* ---------- data tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: .93rem; }
.data-table caption {
  text-align: left; padding: 1.05rem 1.3rem; color: var(--text-faint);
  font-size: .88rem; border-bottom: 1px solid var(--line-soft);
}
.data-table th, .data-table td {
  text-align: left; vertical-align: top; padding: .95rem 1.3rem;
  border-bottom: 1px solid var(--line-soft);
}
.data-table thead th {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint); background: var(--surface); font-weight: 700;
}
.data-table tbody th { font-weight: 700; color: var(--text); }
.data-table td { color: var(--text-dim); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- stacked definition rows ---------- */
.stack {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.stack > * { background: var(--bg); padding: 1.45rem 1.5rem; }
.stack h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.stack p { margin: 0; font-size: .89rem; color: var(--text-faint); line-height: 1.55; }
.section-muted .stack > * { background: var(--bg); }

/* ---------- detailed learning path ---------- */
.path-detail { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.path-detail > li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.15rem; align-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem;
}
.path-detail .step {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: rgba(3, 236, 161, .12); border: 1px solid rgba(3, 236, 161, .35);
  color: var(--emerald); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.path-detail strong { display: block; font-size: 1rem; }
.path-detail p { margin: .3rem 0 0; color: var(--text-faint); font-size: .88rem; }

/* ---------- checked lists ---------- */
.check-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .7rem; color: var(--text-dim); font-size: .94rem; line-height: 1.55; }
.check-list li::before { content: "\2713"; color: var(--emerald); font-weight: 700; flex: none; }

/* ---------- prose blocks ---------- */
.prose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.6rem; }
.prose > * + * { margin-top: .85rem; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.9rem; }
.prose p { color: var(--text-dim); margin: 0; }
.prose > *:first-child { margin-top: 0; }

/* ---------- FAQ / disclosure ---------- */
.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq details { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; padding: 1rem 1.3rem; font-weight: 650; font-size: .98rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emerald); font-weight: 700; font-size: 1.2rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--text-dim); font-size: .94rem; }
.faq .answer > * { margin: 0 0 .7rem; }
.faq .answer > *:last-child { margin-bottom: 0; }

/* ---------- footer with four columns ---------- */
.footer-grid.four-col { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  /* Six primary links no longer fit beside the wordmark, so the disclosure
     menu takes over well above the original phone breakpoint. */
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto; flex-direction: column;
    align-items: stretch; gap: .35rem; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.4rem;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .55rem 0; }
  .site-nav a[aria-current="page"]:not(.button)::after { width: 28px; }
  .site-nav .button { justify-content: center; margin-top: .5rem; }
  .site-header .container { position: relative; }
  .footer-grid.four-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .path-detail > li { grid-template-columns: auto 1fr; }
  .path-detail .status { grid-column: 2; justify-self: start; margin-top: .2rem; }
  .footer-grid.four-col { grid-template-columns: 1fr; }
  .page-hero { padding: 2.6rem 0 2.4rem; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .path-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-mark { order: -1; }
  .hero-mark img { width: min(64%, 220px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto; flex-direction: column;
    align-items: stretch; gap: .35rem; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.4rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .55rem 0; }
  .site-nav .button { justify-content: center; margin-top: .5rem; }
  .site-header .container { position: relative; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .cta { padding: 2.2rem 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
