@charset "utf-8";
/* Layout: short pages; homepage centers on one pinned brand moment where scrolling draws the logo's circuits */
:root {
  --navy: #002A3A;
  --bg: #FFFFFF;
  --tint: #F1F5F6;
  --surface: #FFFFFF;
  --ink: #0B2129;
  --muted: #4C6169;
  --line: #DCE4E7;
  --brand: #002A3A;
  --on-brand: #FFFFFF;
  --band: #002A3A;
  --band-ink: #EAF2F4;
  --band-muted: #9FB8C0;
  --band-line: #16475C;
  --cloud: #FFFFFF;
  --amber: #B5650B;
  --amber-hi: #F0A33A;
  --amber-bg: #FFF3E0;
  /* Brand teal (from the onboarding deck and printed folder). Accents on navy only; on white use --teal-ink for text */
  --teal: #5DC4C3;
  --teal-ink: #16737B;
  --navy-glow: radial-gradient(120% 120% at 100% 100%, #00536B 0%, #003447 45%, #002A3A 100%);
  /* Accent roles: amber for words, numbers and buttons; teal (--line-accent*) for icons, circuit graphics, focus and progress lines */
  --accent: var(--amber);
  --accent-hi: var(--amber-hi);
  --accent-bg: var(--amber-bg);
  --line-accent: var(--teal-ink);
  --line-accent-hi: var(--teal);
  --ok: #2E7D5B;
  --bad: #A8452F;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mark: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --radius: 8px;
  --wrap: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--line-accent-hi); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); margin-right: auto; }
.brand svg { width: 46px; height: auto; flex: none; }
.brand span { font-family: var(--font-mark); font-weight: 700; font-size: 14.5px; line-height: 1.12; letter-spacing: .07em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--line-accent-hi); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font: 600 14px var(--font-body); padding: 8px 12px; cursor: pointer; }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px; }
  .menu-btn { display: inline-block; }
  .header-phone { display: none; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 6px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
}
@media (max-width: 480px) { .header-cta .btn { display: none; } .brand span { font-size: 12.5px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 700 16px/1 var(--font-body); padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-amber { background: var(--amber-hi); color: #1E1302; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 11px 16px; font-size: 14.5px; }
.band .btn-ghost { border-color: var(--band-line); color: var(--band-ink); }
.band .btn-ghost:hover { border-color: var(--band-ink); }
.arrow::after { content: "→"; font-weight: 400; }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -.022em; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mark); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.band .eyebrow { color: var(--accent-hi); }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 54ch; }
.band .lede { color: var(--band-muted); }
.muted { color: var(--muted); }
.hl { color: var(--accent); }
.band { background: var(--band); color: var(--band-ink); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; text-wrap: balance; }
.hero h1 .line { display: block; }
.hero h1 .line.hl { font-size: .72em; margin-top: .3em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.portrait { position: relative; max-width: 440px; width: 100%; justify-self: end; }
.portrait .frame { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #EDEEF3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .tagcard { position: absolute; left: -28px; bottom: 28px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px -18px rgba(0, 42, 58, .45); display: grid; gap: 2px; max-width: 250px; }
.portrait .tagcard b { font-size: 16px; }
.portrait .tagcard span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.portrait .chip { position: absolute; right: -14px; top: 26px; background: var(--navy); color: #fff; border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 14px 30px -16px rgba(0, 42, 58, .7); }
.portrait .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5BD69A; box-shadow: 0 0 0 4px rgba(91, 214, 154, .25); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 360px; }
  .portrait .tagcard { left: 12px; }
  .portrait .chip { right: 12px; }
}

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--tint); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.facts div { padding: 22px 20px 22px 0; display: grid; gap: 2px; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { font-size: 17px; }
.facts span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- pinned story ---------- */
.story { background: var(--band); color: var(--band-ink); padding: 0; position: relative; }
.story-pin { padding-block: clamp(56px, 8vw, 96px); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-grid > * { min-width: 0; }
.story-visual { display: grid; gap: 28px; justify-items: center; }
.story-visual svg { width: min(100%, 520px); height: auto; overflow: visible; }
.story-visual .cloud { fill: var(--cloud); }
.story-visual .trace { fill: none; stroke: var(--band); stroke-width: 15; stroke-linejoin: round; stroke-linecap: butt; }
.story-visual .node { fill: var(--cloud); stroke: var(--band); stroke-width: 14; transition: fill .35s; }
.story-visual .node.lit { fill: var(--line-accent-hi); }
.story-visual .glow { fill: var(--line-accent-hi); opacity: 0; transition: opacity .35s; }
.story-visual .glow.lit { opacity: .28; }
.story-steps { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.story-steps li { font-family: var(--font-mark); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); padding: 7px 12px; border: 1px solid var(--band-line); border-radius: 999px; transition: color .3s, border-color .3s, background-color .3s; }
.story-steps li.on { color: var(--navy); background: var(--accent-hi); border-color: var(--accent-hi); }
.beats { display: grid; gap: 48px; }
.beat { display: grid; gap: 16px; align-content: start; }
.beat ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.beat li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--band-ink); }
.beat li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; border: 3px solid var(--accent-hi); }
.beat p { color: var(--band-muted); font-size: 18px; max-width: 46ch; }
.beat p.eyebrow { color: var(--accent-hi); font-size: 12.5px; }
/* scroll-driven mode, switched on by script */
.story.pinned { height: 340vh; }
.story.pinned .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding-block: 72px 32px; }
.story.pinned .beats { display: grid; }
.story.pinned .beat { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .45s; pointer-events: none; }
.story.pinned .beat.on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .story-visual svg { width: min(78%, 340px); }
  .story-visual { gap: 16px; }
  .story.pinned .story-pin { align-items: start; padding-top: 84px; }
  .beat p { font-size: 16.5px; }
  .beat h2 { font-size: 30px; }
  .beat ul { gap: 4px; font-size: 15.5px; }
}

/* ---------- compare ---------- */
.compare-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare > div { border-radius: 16px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.compare .them { background: var(--tint); border: 1px solid var(--line); }
.compare .us { background: var(--navy); color: #EAF2F4; }
.compare .label { font-family: var(--font-mark); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.compare .them .label { color: var(--muted); }
.compare .us .label { color: var(--accent-hi); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 17.5px; line-height: 1.45; }
.compare li::before { font-weight: 800; font-size: 15px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.compare .them li::before { content: "✕"; color: var(--bad); border: 1.5px solid currentColor; font-size: 11px; }
.compare .us li::before { content: "✓"; color: var(--navy); background: var(--accent-hi); font-size: 13px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.founder > * { min-width: 0; }
.founder .zero { display: grid; justify-items: center; text-align: center; gap: 4px; width: 160px; }
.founder .zero b { font-size: 88px; line-height: .9; font-weight: 800; color: var(--accent); letter-spacing: -.04em; }
.founder .zero span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.founder .copy { display: grid; gap: 10px; }
.founder h2 { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder .zero { justify-items: start; text-align: left; width: auto; } }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { color: var(--band-muted); margin-top: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-hero .wrap { display: grid; gap: 18px; }

.tabs { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.tabs > * { min-width: 0; }
.tablist { display: grid; gap: 6px; }
.tab { text-align: left; font: inherit; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 12px; padding: 16px 18px; cursor: pointer; display: grid; gap: 2px; }
.tab b { font-size: 20px; color: var(--ink); }
.tab span { font-size: 14.5px; }
.tab:hover { background: var(--tint); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #9FB8C0; }
.tab[aria-selected="true"] b { color: #fff; }
.panel { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.panel dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.panel dt { font-weight: 700; font-size: 17px; margin-bottom: 3px; }
.panel dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { padding: 12px 14px; }
  .tab b { font-size: 17px; }
  .tab .tab-text > span { display: none; }
}
@media (max-width: 560px) { .panel dl { grid-template-columns: 1fr; } }

.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.tile p { color: var(--muted); font-size: 16px; }
.tile .k { font-family: var(--font-mark); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.band .tile { background: transparent; border-color: var(--band-line); }
.band .tile p { color: var(--band-muted); }
.band .tile .k { color: var(--accent-hi); }
@media (max-width: 960px) { .row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .row3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row4 { grid-template-columns: 1fr; } }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 36px; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split .copy { display: grid; gap: 18px; }
.split .portrait { justify-self: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
form.contact { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-accent-hi); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--line-accent-hi) 30%, transparent); }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; color: var(--ok); }
.side { display: grid; gap: 20px; }
.side .me { display: flex; gap: 14px; align-items: center; }
.side .me img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.side dl { margin: 0; display: grid; gap: 16px; }
.side dt { font-family: var(--font-mark); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.side dd { margin: 0; font-size: 18px; font-weight: 700; word-break: break-word; }
.side dd a { text-decoration: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose h2 { font-size: 24px; margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 52px 36px; font-size: 15px; border-top: 1px solid var(--band-line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .wrap > * { min-width: 0; }
.site-footer h4 { margin: 0 0 12px; font-family: var(--font-mark); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--band-ink); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--band-ink); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid var(--band-line); padding-top: 20px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.preview-flag { background: var(--accent-bg); color: var(--ink); font-size: 13.5px; }
.preview-flag .wrap { padding-block: 7px; }

/* ---------- quote wizard ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard { gap: 22px; }
.step { display: grid; gap: 20px; }
.step-legend { display: grid; gap: 4px; padding: 0; margin-bottom: 4px; }
.step-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.field legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.field legend small { font-weight: 400; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15.5px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.choice input:focus-visible + span { outline: 3px solid var(--line-accent-hi); outline-offset: 2px; }
.row3f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
@media (max-width: 640px) { .row3f { grid-template-columns: 1fr; } }
.wiz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wiz-steps li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz-steps li.on { color: var(--ink); }
.wiz-steps li.done { color: var(--accent); }
@media (max-width: 640px) { .wiz-steps { display: none; } }
.wiz-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 20%; background: var(--line-accent-hi); border-radius: inherit; transition: width .3s; }
.wiz-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.wiz-nav .btn-primary, .wiz-nav .btn-amber { margin-left: auto; }
.wiz-error { color: var(--bad); font-weight: 600; font-size: 15px; }
.wiz-done { display: grid; gap: 10px; padding-block: 12px; }
.wiz-done h2 { font-size: 30px; }
.what-next { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.what-next h3 { font-size: 18px; }
.what-next ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- reviews ---------- */
.stars { color: #F0A33A; letter-spacing: .08em; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); text-decoration: none; width: fit-content; }
.hero-rating b { color: var(--ink); }
.hero-rating:hover { color: var(--ink); }
.reviews-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: 32px; }
.gscore { display: grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: center; text-decoration: none; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; }
.gscore b { font-size: 30px; line-height: 1; grid-row: span 2; order: -1; }
.gscore span:last-child { font-size: 14px; color: var(--muted); }
.gscore:hover { border-color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--surface); }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }
.review figcaption { display: grid; gap: 1px; margin-top: auto; }
.review figcaption span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 1060px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- icons ---------- */
.ico { width: 22px; height: 22px; flex: none; }
.ibox { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--line-accent); background: color-mix(in srgb, var(--line-accent-hi) 16%, transparent); }
.band .ibox { color: var(--line-accent-hi); background: color-mix(in srgb, var(--line-accent-hi) 14%, transparent); }
.panel dl > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.tab { grid-template-columns: 24px 1fr; align-items: center; gap: 12px; }
.tab .ico { color: var(--line-accent); }
.tab[aria-selected="true"] .ico { color: var(--line-accent-hi); }
.tab-text { display: grid; gap: 2px; }
.beat li { grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.beat li::before { content: none; }
.beat li .ico { width: 20px; height: 20px; color: var(--line-accent-hi); margin-top: 3px; }
.facts div { grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; }
.facts .ibox { grid-row: span 2; }
.tile .ibox { margin-bottom: 4px; }
@media (max-width: 860px) { .tab .tab-text > span { display: none; } }

/* ---------- light refresh: service cards, insights, process ---------- */
body { font-size: 17.5px; }
.tinted { background: var(--tint); border-block: 1px solid var(--line); }
.nav-quote { display: none; }
@media (max-width: 900px) { .nav a.nav-quote { display: block; color: var(--accent); } }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card, .art-card { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.svc-card:hover, .art-card:hover { border-color: var(--navy); box-shadow: 0 18px 40px -24px rgba(0, 42, 58, .45); transform: translateY(-2px); }
.svc-card p, .art-card p { color: var(--muted); font-size: 16px; }
.svc-card .k, .art-card .k { font-family: var(--font-mark); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.svc-card .more, .art-card .more { font-weight: 700; font-size: 15px; margin-top: 4px; }
.svc-card .more::after, .art-card .more::after { content: " →"; font-weight: 400; }
.svc-quote { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-quote .k { color: var(--accent-hi); }
.svc-quote h3 { font-size: 22px; }
.svc-quote .more { color: var(--accent-hi); }
.art-top { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.art-card h3 { font-size: 20px; }
.row-head { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.row-head > div { display: grid; gap: 14px; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.process li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.process .k { font-family: var(--font-mark); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.process p { color: var(--muted); font-size: 16px; }
.prose h1.art-h1 { font-size: clamp(34px, 4.6vw, 52px); }
.prose .eyebrow a { text-decoration: none; }
.prose p { font-size: 18px; }
.prose .hero-actions { margin-top: 16px; }
@media (max-width: 960px) { .svc-grid, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid, .process { grid-template-columns: 1fr; } .row-head { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.stat b { font-size: clamp(40px, 4.4vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.stat p { font-size: 16.5px; line-height: 1.45; }
.stat .layer { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14.5px; color: var(--accent); padding-top: 10px; border-top: 1px solid var(--line); margin-top: auto; }
.stat .layer .ico { width: 18px; height: 18px; }
.stat .src { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.header-login { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.header-login:hover { color: var(--ink); border-color: var(--ink); }
.header-login .ico { width: 16px; height: 16px; }
.nav-login { display: none; }
@media (max-width: 1100px) { .header-login span { display: none; } }
@media (max-width: 900px) { .header-login { display: none; } .nav a.nav-login { display: block; } }

/* ---------- mobile polish ---------- */
@media (max-width: 860px) {
  .hero .portrait, .split .portrait { justify-self: center; margin-inline: auto; }
  .facts .wrap { grid-template-columns: 1fr 1fr; gap: 0; padding-inline: 0; }
  .facts .wrap > div { padding: 22px 12px !important; border-left: 0 !important; border-top: 0 !important; display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; }
  .facts .wrap > div:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .facts .wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--line) !important; }
  .facts .ibox { grid-row: auto; margin-bottom: 4px; }
  .facts b { font-size: 16px; line-height: 1.25; }
  .facts span { font-size: 14px; line-height: 1.4; }
}
@media (max-width: 860px) {
  .site-footer { padding-block: 40px 28px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
  .site-footer .wrap > div:nth-child(4) { grid-column: 1 / -1; }
  .site-footer ul { gap: 6px; }
  .site-footer h4 { margin-bottom: 8px; }
  .footer-base { flex-direction: column; gap: 6px; }
}

/* pinned story, tighter: the dark stage is only as tall as its content; the page shows above and below it */
.story.pinned { --pin-h: min(100svh, 600px); background: transparent; height: calc(var(--pin-h) + 180vh); }
.story.pinned .story-pin { background: var(--band); height: var(--pin-h); top: max(0px, calc((100svh - var(--pin-h)) / 2)); padding-block: 40px; }
.story.pinned .story-visual svg { width: min(100%, 480px); }
@media (max-width: 860px) {
  .story.pinned { --pin-h: 100svh; height: calc(var(--pin-h) + 180vh); }
  .story.pinned .story-pin { padding-top: 84px; }
}
.process.path h3 { font-size: 19px; }
.page-hero + .facts { margin-top: 0; }
/* phones: the pinned stage sits under the sticky header and fits short screens (Safari toolbars included) */
@media (max-width: 860px) {
  .story.pinned { --pin-h: calc(100svh - 64px); }
  .story.pinned .story-pin { top: 64px; padding-block: 16px 12px; align-items: start; overflow: hidden; }
  .story.pinned .story-grid { gap: 14px; }
  .story.pinned .story-visual { gap: 10px; }
  .story.pinned .story-visual svg { width: min(56%, 230px); }
  .story.pinned .story-steps li { padding: 5px 10px; font-size: 11px; }
  .story.pinned .beat { gap: 10px; }
  .story.pinned .beat h2 { font-size: clamp(22px, 6.4vw, 28px); }
  .story.pinned .beat p { font-size: 15px; }
  .story.pinned .beat ul { font-size: 14.5px; gap: 2px; }
}
@media (max-width: 860px) and (max-height: 640px) {
  .story.pinned .story-visual svg { width: min(42%, 170px); }
  .story.pinned .beat p:not(.eyebrow) { display: none; }
}
.cta-band .cta-copy { flex: 1 1 360px; }
.cta-stat { display: grid; gap: 4px; padding: 18px 22px; border: 1px solid var(--band-line); border-radius: 14px; color: var(--band-ink); text-decoration: none; min-width: 220px; }
.cta-stat b { font-family: var(--font-mark); font-size: 40px; line-height: 1; color: var(--accent-hi); }
.cta-stat span { font-size: 15px; }
.cta-stat small { font-size: 12px; color: var(--band-muted); text-decoration: underline; text-underline-offset: 3px; }
.cta-stat:hover { border-color: var(--line-accent-hi); }
