/* ============================================================
   Casey Technologies: global stylesheet
   Plain CSS, no build step.

   v3, 17 Oct 2026: ported from the approved redesign artifact (v6).
   A spec sheet for infrastructure work, light throughout. Pale
   blueprint bands carry the headlines and the stage-and-gate console;
   white and off-white sections carry the reading. Navy is for type and
   buttons, amber for markers. IBM Plex Sans for everything.
   One typeface, light surfaces only, no dark panels.
   Palette and type live only in :root.
   ============================================================ */

:root {
  /* Brand constants (01-Brand-Pack.md, section 8) */
  --navy-900: #071830;
  --navy-700: #0D2B4D;
  --navy-500: #1B3A5C;
  --amber: #E8A33D;
  --amber-600: #C98624;
  --copper: #8C5A14;

  /* Surfaces and text */
  --paper: #FFFFFF;
  --paper-alt: #F4F7FB;
  --card: #FFFFFF;
  --card-border: #DDE5EE;
  --input-border: #7A8695;   /* form fields: at least 3:1 on white */
  --ink: #2F3742;
  --ink-muted: #5A6573;
  --heading: #13304F;
  --rule: #DFE6EE;
  --accent-text: #8C5A14;    /* amber as text on white */
  --chip-bg: #EEF2F7;
  --btn-bg: #0D2B4D;
  --btn-fg: #FFFFFF;
  --btn-hover: #1B3A5C;
  --focus: #8C5A14;
  --shadow: 0 1px 2px rgba(7, 24, 48, 0.05), 0 18px 40px -24px rgba(7, 24, 48, 0.28);
  --notice-border: #B98A3E;
  --notice-bg: #FBF5EA;
  --success: #1E6B3A;
  --success-bg: #EDF7F0;

  /* Tinted bands: pale blueprint blue with a faint navy grid */
  --band-bg: #E9F0F8;
  --band-bg-2: #F8FAFD;
  --band-ink: #13304F;
  --band-muted: #46525F;
  --band-rule: rgba(13, 43, 77, 0.12);
  --band-card: #FFFFFF;
  --band-grid: rgba(13, 43, 77, 0.07);

  /* Type: IBM Plex Sans for headings, body and labels */
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --step-4: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.45rem + 4.2vw, 4.5rem);

  /* Shape and rhythm */
  --radius: 14px;
  --radius-sm: 8px;
  --section: clamp(64px, 9vw, 128px);
  --measure: 66ch;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.028em; }
h2 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.022em; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }
code, kbd, samp, pre { font-family: var(--font); font-size: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.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; }

/* Small label: IBM Plex Sans, sentence case, no transform, no tracking */
.label { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.eyebrow { font-family: var(--font-display); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--accent-text); display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; line-height: 1.4; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-muted); max-width: 60ch; }
.band .lead { color: var(--band-muted); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy-700); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Utilities that replace the artifact's inline styles */
.u-mt { margin-top: 14px; }
.h-step-3 { font-size: var(--step-3); }
.statement-block { display: grid; gap: 28px; justify-items: start; }

/* ---- Wrappers and sections ---- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: var(--section); background: var(--paper); }
.section.alt { background: var(--paper-alt); }
.section.tight { padding-block: clamp(32px, 5vw, 64px); }
.band {
  position: relative;
  isolation: isolate;
  background: linear-gradient(165deg, var(--band-bg) 0%, var(--band-bg-2) 100%);
  color: var(--band-muted);
  padding-block: var(--section);
  overflow: hidden;
  border-bottom: 1px solid var(--band-rule);
}
.band h1, .band h2, .band h3 { color: var(--band-ink); }
.band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--band-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--ink-muted); font-size: 1.125rem; max-width: var(--measure); }
.band .section-head p { color: var(--band-muted); }

/* ---- Buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-fg); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--heading); color: var(--heading); }
.band .btn-ghost { background: rgba(255, 255, 255, 0.7); border-color: var(--band-rule); }
.band .btn-ghost:hover { border-color: var(--band-ink); background: #FFFFFF; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.link-arrow { color: var(--heading); font-weight: 600; text-underline-offset: 3px; }
.link-arrow:hover { color: var(--accent-text); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--band-rule);
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--band-ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.wordmark { font-family: var(--font-display); font-size: 0.9375rem; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 700; letter-spacing: 0.06em; }
.wordmark span { font-weight: 400; letter-spacing: 0.16em; color: var(--band-muted); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border-radius: 999px; text-decoration: none; color: var(--band-muted); font-weight: 500; font-size: 0.9375rem;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--band-ink); background: rgba(13, 43, 77, 0.05); }
.nav-links a[aria-current="page"] { color: var(--band-ink); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); margin-left: 8px; }
.nav-links .btn { min-height: 40px; padding: 8px 18px; margin-left: 8px; color: var(--btn-fg); }
.nav-links .btn:hover { color: var(--btn-fg); background: var(--btn-hover); }
.nav-links .btn[aria-current="page"] { color: var(--btn-fg); }
.nav-links .btn[aria-current="page"]::after { background: var(--amber); }
.nav-toggle { display: none; background: none; border: 1px solid var(--band-rule); border-radius: 10px; width: 44px; height: 44px; color: var(--band-ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .site-header .nav { position: static; }
  .nav-links { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--band-rule); box-shadow: var(--shadow);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
  }
  .js .nav-links:not(.is-open) { display: none; }
  .js .nav-links a { border-radius: 10px; padding: 12px 14px; }
  .js .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---- Home hero ---- */
.hero { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px); }
.hero::before { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 45%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 78% 45%, #000 15%, transparent 72%); }
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.14) 0%, rgba(232, 163, 61, 0) 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-copy h1 { max-width: 16ch; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(transparent 68%, rgba(232, 163, 61, 0.55) 68%, rgba(232, 163, 61, 0.55) 92%, transparent 92%); padding-inline: 0.04em; }
.proof-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 6px; }
.proof-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--band-muted); }
.proof-row svg { width: 16px; height: 16px; color: var(--accent-text); flex: none; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 18ch; }
}

/* ---- Gate console (home hero visual) ---- */
.console {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(7, 24, 48, 0.05), 0 40px 80px -40px rgba(13, 43, 77, 0.35);
  min-width: 0;
}
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--band-rule); }
.console-head .label { color: var(--band-muted); font-size: 0.8125rem; font-weight: 500; display: grid; gap: 2px; line-height: 1.4; }
.console-head .label b { color: var(--band-ink); font-weight: 600; }
.console-pause { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--band-rule); color: var(--band-muted); font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.console-pause:hover { color: var(--band-ink); border-color: var(--band-ink); }
.console-pause svg { width: 10px; height: 10px; }
.console-pause[hidden] { display: none; }
.gates-wrap { position: relative; }
.gates { list-style: none; padding: 14px 12px 16px; }
.track, .track-fill { position: absolute; left: var(--line-x, 39px); top: var(--line-top, 44px); width: 2px; border-radius: 2px; }
.track { height: var(--line-h, 0px); background: rgba(13, 43, 77, 0.12); }
.track-fill { height: var(--fill, 0px); background: linear-gradient(180deg, var(--amber), #F3C47A); box-shadow: 0 0 10px rgba(232, 163, 61, 0.45); transition: height .9s var(--ease); }
.gate {
  position: relative;
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start;
  padding: 12px 10px; border-radius: 12px;
  transition: background-color .5s var(--ease);
}
.gate.is-active { background: rgba(232, 163, 61, 0.09); }
.node {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600;
  color: var(--band-muted);
  background: var(--card);
  border: 1.5px solid rgba(13, 43, 77, 0.22);
  transition: border-color .4s, color .4s, background-color .4s, box-shadow .4s;
}
.gate.is-active .node { border-color: var(--amber); color: var(--band-ink); box-shadow: 0 0 0 6px rgba(232, 163, 61, 0.14); }
.gate.is-passed .node { background: var(--amber); border-color: var(--amber); color: var(--navy-700); }
.gate-text { min-width: 0; padding-top: 2px; }
.stage-title { font-family: var(--font-display); font-weight: 600; color: var(--band-ink); font-size: 1.0625rem; line-height: 1.3; }
.stage-what { color: var(--band-muted); font-size: 0.9375rem; line-height: 1.45; margin-top: 2px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 0.875rem; line-height: 1.5; color: var(--ink); }
.check svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: rgba(13, 43, 77, 0.3); transition: color .4s; }
.gate.is-passed .check svg { color: var(--accent-text); }
.status {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  padding: 4px 8px; border-radius: 999px; white-space: nowrap; margin-top: 7px;
  color: var(--band-muted); border: 1px solid var(--band-rule);
  transition: color .3s, border-color .3s, background-color .3s;
}
.status .s-pass, .status .s-run { display: none; }
.gate.is-active .status { color: var(--accent-text); border-color: rgba(232, 163, 61, 0.7); background: #FFFFFF; }
.gate.is-active .status .s-wait { display: none; }
.gate.is-active .status .s-run { display: inline; }
.gate.is-passed .status { color: var(--navy-700); background: var(--amber); border-color: var(--amber); }
.gate.is-passed .status .s-wait, .gate.is-passed .status .s-run { display: none; }
.gate.is-passed .status .s-pass { display: inline; }
.gate-ai .check { color: var(--accent-text); font-weight: 500; }
.ai-switch { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; color: var(--band-muted); }
.switch { position: relative; width: 30px; height: 16px; border-radius: 999px; background: rgba(13, 43, 77, 0.18); transition: background-color .4s; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(7, 24, 48, 0.3); transition: transform .4s var(--ease); }
.ai-on { display: none; }
.gate-ai.is-passed .switch { background: var(--amber); }
.gate-ai.is-passed .switch::after { transform: translateX(14px); }
.gate-ai.is-passed .ai-on { display: inline; color: var(--accent-text); }
.gate-ai.is-passed .ai-off { display: none; }
@media (max-width: 480px) {
  .gate { grid-template-columns: 32px minmax(0, 1fr); }
  .node { width: 32px; height: 32px; }
  .status { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ---- Problem list ---- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .section-head { position: sticky; top: 108px; margin-bottom: 0; }
.rows { list-style: none; border-top: 1px solid var(--rule); }
.rows li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 4px 20px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.rows li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--amber); margin-top: 9px; grid-row: span 2; }
.rows h3 { font-size: 1.25rem; }
.rows p { color: var(--ink-muted); max-width: 60ch; margin-top: 6px; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .section-head { position: static; }
}

/* ---- Entry card (assessment) and pillars ---- */
.entry {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--band-bg) 0%, #FFFFFF 100%);
  border: 1px solid var(--band-rule);
  box-shadow: var(--shadow);
  color: var(--band-muted);
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 20px;
}
.entry::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(232, 163, 61, 0.2), transparent 65%); }
.entry h3 { color: var(--heading); font-size: var(--step-2); margin: 10px 0 10px; max-width: 30ch; }
.entry p { max-width: 62ch; }
@media (max-width: 760px) { .entry { grid-template-columns: minmax(0, 1fr); } .entry .btn { justify-self: start; } }

.pillars { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pillar {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar h3 a { text-decoration: none; }
.pillar h3 a:hover { color: var(--accent-text); }
.pillar-body { position: relative; min-height: 9.75rem; }
.pillar-body > p { color: var(--ink-muted); }
.pillar-more {
  position: absolute; inset: 0;
  background: var(--card);
  visibility: hidden; opacity: 0; transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.pillar-more .label { color: var(--accent-text); font-size: 0.875rem; margin-bottom: 10px; }
.pillar-more ul, .pillar-more ol { list-style: none; display: grid; gap: 8px; }
.pillar-more li { position: relative; padding-left: 20px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink); }
.pillar-more ul li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.pillar-more ol { counter-reset: part; }
.pillar-more ol li { counter-increment: part; padding-left: 26px; }
.pillar-more ol li::before { content: counter(part); position: absolute; left: 0; top: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--accent-text); }
.pillar.is-open .pillar-more { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { border-color: color-mix(in srgb, var(--amber) 55%, var(--card-border)); box-shadow: var(--shadow); transform: translateY(-3px); }
  .pillar:hover .pillar-more { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
}
.pillar-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); margin-top: auto; }
.pillar-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--heading); cursor: pointer; }
.pillar-toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.pillar.is-open .pillar-toggle svg { transform: rotate(45deg); }
.pillar-foot a { font-size: 0.875rem; color: var(--accent-text); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar-body { min-height: 0; }
  .pillar-more { position: static; display: none; visibility: visible; opacity: 1; transform: none; margin-top: 14px; }
  .pillar.is-open .pillar-more { display: block; }
}

/* ---- Method band on home ---- */
.method-band .wrap { display: grid; gap: clamp(36px, 5vw, 56px); }
.method-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.method-intro h2 { margin-top: 16px; }
.method-intro p { max-width: 58ch; }
.statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--step-3); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--band-ink); max-width: 30ch; text-wrap: balance;
}
.statement mark { color: inherit; background: linear-gradient(transparent 62%, rgba(232, 163, 61, 0.5) 62%, rgba(232, 163, 61, 0.5) 90%, transparent 90%); }
.sequence { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.sequence li { position: relative; padding: 22px 16px 0 0; }
.sequence li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--band-rule); }
.sequence li::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(1); transition: transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
.sequence li:nth-child(1) { --i: 0; }
.sequence li:nth-child(2) { --i: 1; }
.sequence li:nth-child(3) { --i: 2; }
.sequence li:nth-child(4) { --i: 3; }
.sequence li:nth-child(5) { --i: 4; }
.js .sequence.is-armed li::after { transform: scaleX(0); }
.js .sequence.is-armed.is-in li::after { transform: scaleX(1); }
.sequence .tick { position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--amber); z-index: 1; }
.sequence .seq-n { font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; color: var(--band-muted); }
.sequence .seq-t { display: block; font-family: var(--font-display); font-weight: 600; color: var(--band-ink); font-size: 1.0625rem; line-height: 1.3; margin-top: 6px; }
.sequence .seq-ai { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--accent-text); background: #FFFFFF; border: 1px solid rgba(232, 163, 61, 0.7); padding: 3px 9px; border-radius: 999px; }
.sequence .seq-ai svg { width: 11px; height: 11px; }
@media (max-width: 860px) {
  .method-intro { grid-template-columns: minmax(0, 1fr); }
  .sequence { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sequence li { padding: 0 0 22px 28px; }
  .sequence li::before { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .sequence li::after { left: 5px; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; }
  .js .sequence.is-armed li::after { transform: scaleY(0); }
  .js .sequence.is-armed.is-in li::after { transform: scaleY(1); }
  .sequence .tick { left: 0; top: 2px; }
}

/* ---- Track record figures ---- */
.record { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.record li { padding: 32px 28px 32px 0; display: grid; gap: 10px; align-content: start; }
.record li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.figure { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.035em; color: var(--heading); font-variant-numeric: tabular-nums; }
.figure-label { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--heading); }
.record p { color: var(--ink-muted); font-size: 0.9375rem; max-width: 34ch; }
@media (max-width: 860px) {
  .record { grid-template-columns: minmax(0, 1fr); }
  .record li, .record li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
.creds { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.creds .label { color: var(--ink-muted); margin-right: 6px; font-size: 0.875rem; }
.cred { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border: 1px solid var(--card-border); border-radius: 10px; background: var(--card); font-size: 0.875rem; color: var(--ink); line-height: 1.35; }
.cred svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; }

/* ---- Founder and portrait ---- */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { margin: 0; max-width: 440px; }
.photo { position: relative; display: block; isolation: isolate; margin-right: 14px; }
.photo img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--chip-bg); }
.photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--amber); border-radius: 18px; z-index: -1; opacity: 0.7; }
.portrait figcaption { margin-top: 30px; font-size: 0.875rem; color: var(--ink-muted); }
.founder-copy { display: grid; gap: 22px; }
.founder-copy p { color: var(--ink-muted); font-size: 1.125rem; max-width: 56ch; }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 340px; } }

/* ---- Compact page hero (inner pages) ---- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { font-size: var(--step-5); max-width: 20ch; }

/* ---- Services: featured assessment ---- */
.featured {
  border: 1px solid var(--card-border); border-radius: 22px; background: var(--card); box-shadow: var(--shadow);
  overflow: hidden; scroll-margin-top: 96px;
}
.featured-head { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; border-bottom: 1px solid var(--rule); }
.featured-head h2 { font-size: var(--step-3); }
.featured-head p { max-width: var(--measure); color: var(--ink-muted); font-size: 1.125rem; }
.featured-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.featured-body > div { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.featured-body > div + div { border-left: 1px solid var(--rule); background: var(--paper-alt); }
.featured-body h3 { margin-bottom: 18px; }
.featured-body h3:not(:first-child) { margin-top: 28px; }
.featured-body .actions { margin-top: 24px; }
.domains { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.domains li { padding: 16px; border: 1px solid var(--card-border); border-radius: 12px; display: grid; gap: 4px; align-content: start; background: var(--card); }
.domains strong { font-family: var(--font-display); font-weight: 600; color: var(--heading); }
.domains span { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.5; }
.featured-body p { color: var(--ink-muted); }
@media (max-width: 900px) {
  .featured-body { grid-template-columns: minmax(0, 1fr); }
  .featured-body > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) { .domains { grid-template-columns: minmax(0, 1fr); } }

/* ---- Services: pillar articles ---- */
.service { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--rule); scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; }
.service-title { display: grid; gap: 14px; align-content: start; position: sticky; top: 108px; }
.service-title h2 { font-size: var(--step-3); }
.service-title p { color: var(--ink-muted); font-size: 1.0625rem; }
.checklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.checklist svg { width: 18px; height: 18px; color: var(--accent-text); margin-top: 4px; }
.parts { list-style: none; display: grid; gap: 14px; counter-reset: part; }
.parts li { counter-increment: part; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 18px; border: 1px solid var(--card-border); border-radius: 12px; background: var(--card); }
.parts li::before { content: counter(part); grid-row: span 2; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--accent-text); padding-top: 1px; }
.parts strong { font-family: var(--font-display); font-weight: 600; color: var(--heading); }
.parts span { color: var(--ink-muted); font-size: 0.9375rem; }
.rule-slip {
  margin-top: 22px; padding: 18px 20px;
  border: 1px dashed color-mix(in srgb, var(--accent-text) 60%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--amber) 6%, transparent);
  display: grid; gap: 6px;
}
.rule-slip .label { color: var(--accent-text); font-size: 0.875rem; }
.rule-slip p { font-size: 0.9375rem; color: var(--ink); }
@media (max-width: 860px) {
  .service { grid-template-columns: minmax(0, 1fr); }
  .service-title { position: static; }
}

/* ---- Cards (engagement shapes, operating model) ---- */
.cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards li { padding: 24px; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card); display: grid; gap: 10px; align-content: start; }
.cards p { font-size: 0.9375rem; color: var(--ink-muted); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---- CTA band ---- */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: end; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 56ch; margin-top: 16px; font-size: 1.125rem; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .btn { justify-self: start; } }

/* ---- Prose (method "why", privacy notice) ---- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-3); margin-bottom: 18px; }
.prose h2:not(:first-child) { margin-top: 56px; }
.prose h3 { font-size: var(--step-1); margin: 28px 0 10px; }
.prose p { color: var(--ink); }
.prose a { color: var(--heading); font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--accent-text); }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.25rem; display: grid; gap: 8px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.prose ul + p, .prose ol + p { margin-top: 0; }
.prose .meta { color: var(--ink-muted); font-size: 0.9375rem; margin-bottom: 36px; }
.prose .meta + h2 { margin-top: 0; }
.prose .defs { list-style: none; display: grid; gap: 14px; margin-top: 18px; padding-left: 0; }
.prose .defs li { padding: 18px 20px; border: 1px solid var(--card-border); border-radius: 12px; background: var(--card); }
.prose .defs li::before { content: none; }
.prose .defs strong { font-family: var(--font-display); color: var(--heading); font-weight: 600; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.why-grid .pull { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--heading); font-weight: 500; letter-spacing: -0.01em; border-top: 2px solid var(--amber); padding-top: 22px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Method page: stages and gate slips ---- */
.stages { list-style: none; display: grid; gap: 20px; }
.stage { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); border: 1px solid var(--card-border); border-radius: 18px; background: var(--card); overflow: hidden; scroll-margin-top: 96px; }
.stage-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: baseline; padding: clamp(22px, 3vw, 32px); }
.stage-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1; color: var(--accent-text); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stage-top h3 { font-size: var(--step-2); }
.stage-top .label { color: var(--ink-muted); font-size: 0.875rem; font-weight: 500; display: block; margin-bottom: 4px; }
.stage-body { padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) 0; align-self: center; }
.stage-body > p { color: var(--ink); }
.stage .gate-slip { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage-top { padding-bottom: 0; }
  .stage-body { padding: 14px clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px); }
}
.gate-slip {
  position: relative;
  border-top: 1px dashed color-mix(in srgb, var(--accent-text) 55%, transparent);
  background: color-mix(in srgb, var(--amber) 7%, var(--card));
  padding: 20px clamp(22px, 3vw, 32px) 22px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start;
}
.gate-slip::before, .gate-slip::after { content: ""; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-alt); border: 1px solid var(--card-border); }
.gate-slip::before { left: -10px; }
.gate-slip::after { right: -10px; }
.gate-slip .label { color: var(--accent-text); font-size: 0.875rem; white-space: nowrap; padding-top: 1px; display: inline-flex; align-items: center; gap: 8px; }
.gate-slip .label svg { width: 14px; height: 14px; }
.gate-slip p { font-size: 0.9375rem; color: var(--ink); }
.gate-slip p + p { margin-top: 0; }
@media (max-width: 560px) { .gate-slip { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Optional stage rail (not in the approved v6 layout; inert unless a page adds it).
   Markup: <nav class="stage-rail" aria-label="Stages"><ol><li><a href="#stage-1">Assess</a></li>...</ol></nav>
   script.js sets aria-current="step" on the link for the stage in view. */
.stage-rail { position: sticky; top: 76px; z-index: 5; margin-bottom: 24px; }
.stage-rail ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-rail a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--card-border); border-radius: 999px; background: var(--card); color: var(--ink-muted); font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.stage-rail a:hover { color: var(--heading); border-color: var(--heading); }
.stage-rail a[aria-current="step"] { color: var(--navy-700); background: color-mix(in srgb, var(--amber) 18%, var(--card)); border-color: var(--amber); }

/* ---- Method page: ordering rule ---- */
.ordering { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ordering h2 { margin-top: 14px; }
.lock-mark { width: clamp(96px, 12vw, 148px); height: auto; color: var(--accent-text); }
.ordering p { font-size: var(--step-1); line-height: 1.55; color: var(--band-ink); max-width: 56ch; margin-top: 16px; }
@media (max-width: 640px) { .ordering { grid-template-columns: minmax(0, 1fr); } }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-text { display: grid; gap: 18px; }
.about-text .role { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--accent-text); }
.about-text p:not(.role) { max-width: 62ch; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.record-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.record-list li { padding: 26px; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card); display: grid; gap: 10px; align-content: start; }
.record-list .figure { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
.record-list .figure.figure-word, .figure.figure-word { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); letter-spacing: -0.02em; }
.record-list .figure-label { font-size: 1.0625rem; }
.record-list p { color: var(--ink-muted); font-size: 0.9375rem; }
@media (max-width: 760px) { .record-list { grid-template-columns: minmax(0, 1fr); } }
.cert-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cert-list li { padding: 22px; border: 1px solid var(--band-rule); border-radius: var(--radius); background: var(--band-card); color: var(--band-ink); display: grid; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; line-height: 1.35; }
.cert-list svg { width: 28px; height: 28px; color: var(--accent-text); }
@media (max-width: 760px) { .cert-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); margin-top: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--rule); align-items: start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--chip-bg); color: var(--heading); }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list h3 { font-size: 0.875rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; }
.contact-list a { color: var(--heading); font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-list p { color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.contact-note { margin-top: 20px; color: var(--ink-muted); font-size: 0.9375rem; }

.form-card { border: 1px solid var(--card-border); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.form-card h2 { font-size: var(--step-3); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field, .form-group { display: grid; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field label, .form-group label { font-weight: 600; font-size: 0.9375rem; color: var(--heading); }
.field .req, .form-group .required { color: var(--accent-text); }
.field input, .field select, .field textarea,
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--input-border); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea, .form-group textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 28%, transparent); }
.form-help { font-size: 0.875rem; color: var(--ink-muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Status line: hidden until script.js gives it a kind */
.form-status { display: none; margin-top: 14px; font-size: 0.9375rem; padding: 12px 14px; border-radius: 10px; color: var(--ink); }
.form-status.is-error { display: block; border: 1px dashed var(--notice-border); background: var(--notice-bg); }
.form-status.is-success { display: block; border: 1px solid color-mix(in srgb, var(--success) 45%, transparent); background: var(--success-bg); color: var(--success); }
.form-status a { color: var(--heading); font-weight: 600; overflow-wrap: anywhere; }
.form-privacy { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-muted); }
.form-privacy a { color: var(--heading); text-underline-offset: 3px; }

/* ---- Footer ---- */
.site-footer { background: var(--paper); color: var(--ink-muted); border-top: 1px solid var(--rule); padding-block: 64px 28px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 40px; }
.footer-grid h2 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--band-muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid li { overflow-wrap: anywhere; }
.footer-grid a { color: var(--band-ink); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { margin-top: 18px; max-width: 42ch; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--band-rule); font-size: 0.8125rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p + p { margin-top: 0; }
.footer-bottom a { color: var(--band-ink); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--accent-text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- 404 ---- */
.not-found { min-height: 56vh; display: grid; align-content: center; justify-items: start; gap: 22px; }
.not-found h1 { font-size: var(--step-5); max-width: 18ch; }
.not-found p:not(.eyebrow) { color: var(--band-muted); font-size: var(--step-1); max-width: 52ch; }

/* ---- Scroll motion: content is visible at rest and only rises into place ---- */
.js [data-rise], .js [data-reveal] { transition: transform .8s var(--ease); }
.js [data-rise].is-low, .js [data-reveal].is-low { transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js [data-rise].is-low, .js [data-reveal].is-low { transform: none; }
}

/* ---- Print ---- */
@media print {
  .site-header, .skip-link, .console-pause, .nav-toggle { display: none !important; }
  .band, .section, .site-footer { background: #FFFFFF !important; padding-block: 24px; }
  .band::before, .hero::after, .entry::after { display: none; }
  body { color: #000000; }
  .split .section-head, .service-title, .stage-rail { position: static; }
  .pillar-more { position: static; visibility: visible; opacity: 1; transform: none; margin-top: 12px; }
}

/* odd card count: last card spans the row (22 Oct 2026) */
.cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
