/* Layout concept: a quiet midnight-navy page drawn on an engineering grid; one electric-blue "clear line"
   runs through the brand, the hero and every section divider, ending in a small gold node. */
:root {
  --navy-950: #08111F;   /* page */
  --navy-900: #0E1A2E;   /* sections, cards */
  --navy-800: #15243D;   /* raised, inputs */
  --line:     #233552;   /* hairlines */
  --blue:     #2F8CFF;   /* action, the line */
  --blue-soft:#7DB8FF;   /* small links on navy */
  --gold:     #C8A45D;   /* seniority marks, sparingly */
  --paper:    #F3F6FA;   /* primary text */
  --slate:    #9AA8BD;   /* secondary text */
  --good:     #4CC38A;
  --warn:     #E2B84E;
  --crit:     #E8705E;

  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1180px;
  --radius: 6px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--navy-950);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--blue); color: var(--navy-950); }

.wrap {
  width: 100%; max-width: calc(var(--max) + 40px); margin: 0 auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: var(--navy-950); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--slate); max-width: 62ch; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }
.muted { color: var(--slate); }
.ph { /* placeholder marker */
  font-family: var(--font-mono); font-size: 0.85em; color: var(--gold);
  border: 1px dashed rgba(200,164,93,.55); border-radius: 4px; padding: 0 6px; white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(8,17,31,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar { border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--slate); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar strong { color: var(--paper); font-weight: 500; }
.topbar .incident { display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--crit); box-shadow: 0 0 0 0 rgba(232,112,94,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,112,94,.55);} 70% { box-shadow: 0 0 0 8px rgba(232,112,94,0);} 100% { box-shadow: 0 0 0 0 rgba(232,112,94,0);} }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--paper); line-height: 1; }
.logo-word { font-family: var(--font-display); font-size: 1.62rem; font-weight: 500; letter-spacing: -0.01em; position: relative; padding-bottom: 7px; }
.logo-word::after {
  content: ""; position: absolute; left: 0; right: 10px; bottom: 0; height: 2px; background: var(--blue);
}
.logo-word::before {
  content: ""; position: absolute; right: 0; bottom: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.logo-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--slate); margin-top: 7px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--slate); text-decoration: none; font-size: 0.93rem; padding: 8px 12px; border-radius: 4px; display: block;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-cta { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 4px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.97rem; text-decoration: none;
  padding: 13px 22px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #4b9bff; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--paper); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 9vw, 112px); }
.band { background: var(--navy-900); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 40px; }
.clearline { /* the brand rule used as section divider */
  height: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 70%, rgba(47,140,255,0) 100%);
  position: relative; margin: 0; border: 0;
}
.clearline::after { content: ""; position: absolute; left: 70%; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 96px); }
.hero::before { /* engineering grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 em { font-style: italic; color: var(--blue-soft); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 2px; padding-top: 14px; }
.hero-facts b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
.hero-facts span { font-size: .82rem; color: var(--slate); }

.page-hero { padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px); 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: 56px 56px; opacity: .25; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.page-hero .wrap { position: relative; display: grid; gap: 20px; }
.page-hero h1 { max-width: 20ch; }

/* Readiness ledger (hero panel) */
.ledger { background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ledger-head h4 { font-size: .95rem; }
.ledger ol { list-style: none; margin: 0; padding: 6px 0; }
.ledger li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 20px; font-size: .9rem; border-bottom: 1px solid rgba(35,53,82,.55); }
.ledger li:last-child { border-bottom: 0; }
.ledger .cite { font-family: var(--font-mono); font-size: .74rem; color: var(--slate); }
.status { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.status.ok { color: var(--good); background: rgba(76,195,138,.12); }
.status.part { color: var(--warn); background: rgba(226,184,78,.12); }
.status.gap { color: var(--crit); background: rgba(232,112,94,.13); }
.ledger-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--slate); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.meter { height: 6px; border-radius: 3px; background: var(--navy-800); overflow: hidden; margin: 0 20px 14px; }
.meter i { display: block; height: 100%; width: 56%; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: border-color .2s, transform .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card .code { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--blue-soft); }
.card p { color: var(--slate); font-size: .95rem; }
.card .more { margin-top: auto; font-size: .88rem; color: var(--blue-soft); padding-top: 6px; }

.svc-list { display: grid; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr) 132px; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; text-decoration: none; color: inherit; transition: background .2s; }
.svc-row:hover { background: linear-gradient(90deg, rgba(47,140,255,.06), transparent 60%); }
.svc-row .code { font-family: var(--font-mono); font-size: .75rem; color: var(--blue-soft); letter-spacing: .1em; padding-top: 6px; }
.svc-row p { color: var(--slate); font-size: .95rem; }
.svc-row .price { font-family: var(--font-mono); font-size: .8rem; color: var(--gold); white-space: nowrap; padding-top: 6px; text-align: right; }

/* Method */
.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.method::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--blue); opacity: .9; }
.step { padding-right: 32px; display: grid; gap: 12px; position: relative; min-width: 0; }
.step .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--blue); display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; color: var(--paper); position: relative; z-index: 1; }
.step:last-child .dot { border-color: var(--gold); }
.step p { color: var(--slate); font-size: .95rem; }
.step ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: .9rem; }

/* Founder band */
.founder-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.portrait { aspect-ratio: 4/5; max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background:
  radial-gradient(120% 80% at 30% 20%, rgba(47,140,255,.18), transparent 60%), var(--navy-800);
  display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait .mono-mark { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 8rem); color: rgba(243,246,250,.08); }
.portrait .ph { position: absolute; bottom: 16px; left: 16px; white-space: normal; }
.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.32; font-weight: 400; }
.sig { display: flex; gap: 14px; align-items: center; color: var(--slate); font-size: .92rem; }
.sig::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

/* Engagement model */
.model { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.model .card { padding: 32px; }
.model .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.check li { padding-left: 26px; position: relative; color: var(--slate); font-size: .95rem; }
.check li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--blue); }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tier.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.tier .badge { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-950); background: var(--gold); padding: 3px 8px; border-radius: 3px; }
.tier .amount { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.tier .amount small { font-family: var(--font-body); font-size: .9rem; color: var(--slate); }
.tier .for { color: var(--slate); font-size: .92rem; }
.tier .hours { font-family: var(--font-mono); font-size: .78rem; color: var(--blue-soft); border-block: 1px solid var(--line); padding-block: 10px; }
.tier .btn { margin-top: auto; }

/* Service detail */
.svc-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding-block: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.svc-detail:first-child { padding-top: 0; }
.svc-detail .meta { display: grid; gap: 16px; align-content: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--navy-900); padding: 14px 16px; display: grid; gap: 2px; }
.facts dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.facts dd { margin: 0; font-size: .95rem; }
.svc-detail h4 { margin-bottom: 10px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

/* Industries */
.ind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-block: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.ind:first-child { padding-top: 0; }
.ind .reg { background: var(--navy-900); border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; font-size: .92rem; color: var(--slate); }
.ind .reg b { color: var(--paper); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--slate); }

/* Insights */
.post { display: flex; flex-direction: column; gap: 12px; }
.post .thumb { aspect-ratio: 16/9; max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--navy-800); }
.post .thumb::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: 28px 28px; opacity: .6; }
.post .thumb::after { content: ""; position: absolute; left: 0; right: 30%; top: 58%; height: 2px; background: var(--blue); }
.post .thumb span { position: absolute; right: calc(30% - 3px); top: calc(58% - 2px); width: 6px; height: 6px; border-radius: 50%; background: var(--gold); z-index: 1; }
.post .kicker { display: flex; gap: 10px; font-family: var(--font-mono); font-size: .72rem; color: var(--slate); letter-spacing: .06em; text-transform: uppercase; flex-wrap: wrap; }
.post .kicker b { color: var(--blue-soft); font-weight: 500; }
.post h3 { font-size: 1.3rem; }
.post p { color: var(--slate); font-size: .94rem; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button { font: inherit; font-size: .85rem; background: transparent; color: var(--slate); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--paper); border-color: var(--blue); background: rgba(47,140,255,.12); }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 56px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { max-width: 22ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: .85rem; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--paper); background: var(--navy-800);
  border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,140,255,.2); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-note { font-size: .8rem; color: var(--slate); }
.form-status { border: 1px solid var(--good); background: rgba(76,195,138,.08); color: var(--paper); padding: 14px 16px; border-radius: 4px; font-size: .92rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--blue); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--blue); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { border-color: var(--gold); }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--slate); font-size: .92rem; }
.alert-box { border: 1px solid rgba(232,112,94,.45); background: rgba(232,112,94,.07); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; }
.alert-box .copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding-block: 18px; }
details summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--font-mono); color: var(--blue-soft); }
details[open] summary::after { content: "−"; }
details p { color: var(--slate); padding-top: 10px; max-width: 70ch; font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .9rem; color: var(--slate); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: var(--paper); font-size: .82rem; font-family: var(--font-mono); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--slate); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* Reveal: visible at rest; subtle rise only when JS adds .in */
.reveal { opacity: 1; transform: none; }
.js .reveal.pre { transform: translateY(14px); }
.js .reveal.in { transform: none; transition: transform .6s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: 90px minmax(0, 1fr) 132px; }
  .svc-row .desc { grid-column: 2 / 4; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-950); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 16px var(--gutter-l); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--blue); padding-left: 12px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta a { border-bottom: 0; }
  .hero .wrap, .founder-band, .contact-grid, .featured-post, .svc-detail, .ind, .sec-head.split, .cta-band .inner { grid-template-columns: minmax(0, 1fr); }
  .g3, .tiers, .model { grid-template-columns: minmax(0, 1fr); }
  .method { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .method::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding-right: 0; }
  .step > :not(.dot) { grid-column: 2; }
  .step .dot { grid-row: 1 / span 4; }
  .portrait { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .g2, .g4, .cols2, .row2, .facts, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .svc-row .desc { grid-column: auto; }
  .svc-row .price { text-align: left; }
  .topbar .hide-sm { display: none; }
  .hero-facts { gap: 20px; }
  .card, .tier { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; padding: 9px 16px; }
