/* Internet Surge — site styles
   Palette: ink and navy on paper, a warm stone for alternate bands, hairlines instead of boxes,
   and the surge blue from the logo reserved for the signature line and small marks.
   Type: Instrument Serif (display) + Hanken Grotesk (text). */

:root {
  --paper: #FBFAF7;
  --stone: #F3F1EC;
  --stone-2: #E9E6DF;
  --line: #DCD8CF;
  --line-strong: #B9B4A8;
  --ink: #1C2238;
  --navy-ink: #0F1731;
  --navy: #1B2A56;
  --navy-deep: #121E42;
  --muted: #6B7080;
  --surge: #38A5E4;
  --surge-deep: #1A6CA3;
  --surge-soft: #DCEEF9;
  --ok: #2E9E6B;
  --mist: var(--stone);

  --font-display: "Instrument Serif", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --radius: 2px;
  --shadow-focus: 0 0 0 3px rgba(56, 165, 228, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--surge-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  padding: 10px 14px; background: var(--navy); color: #fff; z-index: 100;
  border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 32px; } }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy-ink);
  margin: 0;
  letter-spacing: -0.012em;
  font-feature-settings: "kern", "liga";
}
h1, h2, h3, .statement-text { text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.8vw, 5.4rem); line-height: 0.98; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.04; }
h3 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); line-height: 1.12; }
h4 { font-size: 1.3rem; line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--navy); }

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

ul.plain { list-style: none; padding: 0; margin: 0; }

.measure { max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-text); font-weight: 500; font-size: 1rem; line-height: 1; letter-spacing: 0.01em;
  padding: 15px 24px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--stone); border-color: var(--stone); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-lg { font-size: 1.05rem; padding: 18px 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-ink); }
.brand-globe { height: 38px; width: 38px; }
.brand-word {
  font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; line-height: 1;
  letter-spacing: 0.005em; color: var(--navy-ink); white-space: nowrap;
}
@media (min-width: 900px) { .header-bar { height: 92px; } .brand-globe { height: 44px; width: 44px; } .brand-word { font-size: 1.85rem; } }
.brand:hover .brand-word { color: var(--navy); }
.btn-client { display: none; }
@media (min-width: 1200px) { .btn-client { display: inline-flex; } }

.site-nav { display: none; }
.site-nav > a, .nav-item > a { color: var(--navy-ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 2px; border-bottom: 1px solid transparent; white-space: nowrap; }
.site-nav > a:hover, .nav-item > a:hover { border-bottom-color: var(--line-strong); }
.site-nav > a[aria-current="page"], .nav-item > a[aria-current="page"], .nav-item:has(.nav-menu a[aria-current="page"]) > a { border-bottom-color: var(--navy); }

/* Services drop-down (desktop): opens on hover or keyboard focus, no JS required */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item > a svg { width: 14px; height: 14px; transition: transform 150ms ease; }
.nav-item:hover > a svg, .nav-item:focus-within > a svg { transform: rotate(180deg); }
.nav-menu {
  display: none; position: absolute; top: 100%; left: -16px; min-width: 264px; padding: 10px 0; margin-top: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 18px 40px rgba(15, 23, 49, 0.10); z-index: 60;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { display: block; }
.nav-item.closed .nav-menu { display: none; }
.nav-menu a { display: block; padding: 10px 20px; font-size: 0.95rem; font-weight: 500; color: var(--navy-ink); text-decoration: none; }
.nav-menu a:hover { background: var(--stone); color: var(--navy); }
.nav-menu a[aria-current="page"] { color: var(--surge-deep); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 12px 18px; font-size: 0.95rem; }
.header-actions .btn-call-text { display: none; }
.header-actions .btn-call-icon { padding: 11px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--navy-ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1000px) {
  .site-nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
  .nav-toggle { display: none; }
  .header-actions .btn-call-text { display: inline-flex; }
  .header-actions .btn-call-icon { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  display: none; position: fixed; inset: 76px 0 0 0; z-index: 49; background: var(--paper);
  padding: 20px var(--gutter) 40px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu > a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1; color: var(--navy-ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .menu-sub a { display: block; font-size: 1.05rem; font-weight: 500; color: var(--navy-ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .menu-actions { display: grid; gap: 10px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-mist { background: var(--stone); }
@media (min-width: 900px) { .section { padding: 112px 0; } }

.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { margin-bottom: 0; }
@media (min-width: 900px) {
  .section-head { margin-bottom: 52px; }
  .section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .section-head.split h2 { margin-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; }
@media (min-width: 900px) { .hero { padding: 112px 0 0; } }
.hero-copy { max-width: 880px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }
.hero-note a { color: var(--navy); }

/* The surge line */
.surge-figure { position: relative; margin: 56px 0 0; padding-bottom: 40px; }
@media (min-width: 900px) { .surge-figure { margin-top: 88px; } }
.surge-figure svg { width: 100%; height: 140px; overflow: visible; }
@media (min-width: 900px) { .surge-figure svg { height: 170px; } }
.surge-track { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.surge-path { stroke: var(--surge); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.surge-dot { fill: var(--ok); }
.surge-dot-ring { fill: none; stroke: var(--ok); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; }

.surge-label {
  position: absolute; bottom: 0; font-size: 0.88rem; line-height: 1.35; color: var(--muted);
  white-space: nowrap; opacity: 0; transform: translateY(4px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.surge-label strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--navy-ink); }
.surge-label.is-visible { opacity: 1; transform: none; }
.surge-label.l1 { right: 43.5%; text-align: right; }
.surge-label.l2 { left: 61%; }
.surge-label.l3 { right: 0; text-align: right; }
@media (max-width: 899px) {
  .surge-label { font-size: 0.78rem; }
  .surge-label.l3 { display: none; }
}
@media (max-width: 599px) {
  .surge-label { font-size: 0.72rem; }
  .surge-label strong { font-size: 1rem; }
}

.surge-figure.animate .surge-path {
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: var(--len);
  animation: surge-draw 2.4s cubic-bezier(0.3, 0.7, 0.2, 1) 300ms forwards;
}
.surge-figure.animate .surge-dot { opacity: 0; animation: surge-appear 300ms ease 2.5s forwards; }
.surge-figure.animate .surge-dot-ring { animation: surge-ring 2.4s ease-out 2.8s infinite; }
@keyframes surge-draw { to { stroke-dashoffset: 0; } }
@keyframes surge-appear { to { opacity: 1; } }
@keyframes surge-ring {
  0% { opacity: 0.7; r: 5; }
  70% { opacity: 0; r: 16; }
  100% { opacity: 0; r: 16; }
}
@media (prefers-reduced-motion: reduce) {
  .surge-figure.animate .surge-path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .surge-figure.animate .surge-dot { animation: none; opacity: 1; }
  .surge-figure.animate .surge-dot-ring { animation: none; }
  .surge-label { opacity: 1; transform: none; transition: none; }
}

/* ---------- Reach tiles ---------- */
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (min-width: 900px) { .reach { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.reach a {
  display: block; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--line-strong); padding: 22px 0 8px;
  transition: border-color 140ms ease;
}
.reach a:hover { border-top-color: var(--navy); }
.reach a:hover h3 { color: var(--surge-deep); }
.reach svg { width: 24px; height: 24px; color: var(--navy); margin-bottom: 16px; }
.reach h3 { font-size: 1.7rem; margin-bottom: 8px; transition: color 140ms ease; }
.reach p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (min-width: 900px) { .reach h3 { font-size: 2rem; } }

/* ---------- Ledger (services) ---------- */
.ledger { border-top: 1px solid var(--line); }
.ledger-row { display: grid; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .ledger-row { grid-template-columns: 5fr 7fr; gap: 56px; padding: 44px 0; }
}
.ledger-row h3 { font-size: clamp(1.8rem, 2.7vw, 2.5rem); }
.ledger-row h3 a { color: inherit; text-decoration: none; }
.ledger-row h3 a:hover { color: var(--surge-deep); }
.ledger-row .ledger-tag { display: block; margin-top: 10px; font-family: var(--font-text); font-size: 0.95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.ledger-row p { margin: 0 0 12px; }
.ledger-row p:last-child { margin-bottom: 0; }
.more { font-weight: 500; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color 140ms ease, color 140ms ease; }
.more:hover { color: var(--surge-deep); border-bottom-color: var(--surge-deep); }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 32px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.pillar { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.pillar h3 { font-size: clamp(1.8rem, 2.5vw, 2.3rem); margin-bottom: 12px; }
.pillar p { margin: 0; }

/* ---------- IT as a Service ---------- */
.itaas-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .itaas-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } }
.itaas-title { font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: 0.94; margin-bottom: 24px; }
.itaas .lead { margin-bottom: 30px; }
.itaas-list { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.itaas-list h3 { font-size: 1.5rem; margin-bottom: 16px; }
.itaas-list .checklist { gap: 9px; grid-template-columns: 1fr; }
.itaas-list .checklist li { font-size: 0.97rem; }
@media (min-width: 900px) { .itaas-list { margin-top: 16px; } }

.statement { padding-top: 0; }
.statement-text { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.04; letter-spacing: -0.012em; color: var(--navy-ink); margin: 0 0 28px; max-width: 24ch; }
.statement-text strong { font-weight: 400; font-style: italic; color: var(--navy); }
.list-title { font-size: 1.45rem; margin: 28px 0 14px; }
.list-title:first-child { margin-top: 0; }

/* Numbered steps (only where the content is a real sequence) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 36px; } .steps.compact { grid-template-columns: 1fr; gap: 18px; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line-strong); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--navy); margin-bottom: 12px; }
.steps li strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--navy-ink); margin-bottom: 8px; }
.steps.compact li { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; border-top: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
.steps.compact li::before { font-size: 1.9rem; margin: 0; grid-row: 1 / span 2; }
.steps.compact li strong { font-size: 1.45rem; margin-bottom: 4px; }

/* The usual way vs ours */
.compare { margin: 0; display: grid; border-top: 1px solid var(--line); }
.compare > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .compare > div { grid-template-columns: 1fr 1fr; gap: 32px; align-items: baseline; } }
.compare dt { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 112, 128, 0.5); text-decoration-thickness: 1px; }
.compare dd { margin: 0; font-weight: 500; color: var(--navy-ink); }

/* Plans page: IT as a Service band */
.itaas-band { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 32px 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .itaas-band { grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 40px 0; } }
.itaas-band h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.itaas-band p { margin: 0; max-width: 62ch; }
.itaas-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .itaas-band-actions { flex-direction: column; align-items: stretch; } }
.service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Security layers ---------- */
.layers { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
@media (min-width: 700px) { .layers { grid-template-columns: 1fr 1fr; gap: 32px 44px; } }
@media (min-width: 1000px) { .layers { grid-template-columns: repeat(3, 1fr); } }
.layers li { border-top: 1px solid var(--line-strong); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.97rem; }
.layers li strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--navy-ink); }
.layers .tool { margin-top: auto; padding-top: 8px; font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.section-foot { margin: 40px 0 0; }

/* ---------- AI: chat example ---------- */
.ai-grid { display: grid; gap: 40px; }
.ai-grid h2, .facts h2 { margin-bottom: 16px; }
@media (min-width: 900px) { .ai-grid { grid-template-columns: 6fr 6fr; gap: 72px; align-items: center; } }
.chat { display: grid; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.section-mist .chat { box-shadow: 0 12px 32px rgba(15, 23, 49, 0.06); }
.chat-line { max-width: 88%; display: grid; gap: 4px; }
.chat-line .who { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.chat-line p { margin: 0; padding: 12px 14px; border-radius: 6px; font-size: 0.95rem; line-height: 1.5; }
.chat-line.them { justify-self: end; text-align: right; }
.chat-line.them p { background: var(--navy); color: #fff; border-bottom-right-radius: 2px; text-align: left; }
.chat-line.ai { justify-self: start; }
.chat-line.ai .who { color: var(--surge-deep); }
.chat-line.ai p { background: var(--stone); color: var(--ink); border-bottom-left-radius: 2px; }

/* ---------- Facts ---------- */
.facts { display: grid; gap: 28px; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; align-items: baseline; }
.facts dt { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--navy); letter-spacing: -0.01em; }
.facts dd { margin: 0; color: var(--ink); }

/* ---------- Posts ---------- */
.posts { display: grid; gap: 32px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.post-card { display: block; text-decoration: none; color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; background: var(--stone); }
.post-card h3 { font-size: 1.6rem; margin: 16px 0 6px; line-height: 1.12; transition: color 140ms ease; }
.post-card:hover h3 { color: var(--surge-deep); }
.post-card .meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- Contact band ---------- */
.contact-band { background: var(--navy); color: #fff; }
.contact-band h2, .contact-band h3 { color: #fff; }
.contact-band h2 { margin-bottom: 14px; }
.contact-band a { color: #fff; }
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-lines { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-lines li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-lines svg { width: 20px; height: 20px; color: var(--surge); margin-top: 4px; }
.contact-lines strong { display: block; font-weight: 500; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines .sub { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.contact-phone { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -0.01em; text-decoration: none; display: inline-block; margin: 8px 0 2px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: var(--shadow-focus); }
.contact-band .field input, .contact-band .field textarea, .contact-band .field select { border-color: transparent; }
.contact-band .field label { color: rgba(255,255,255,0.9); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-status { font-size: 0.95rem; }
.form-status.ok { color: #9BE2BE; }
.contact-page .form-status.ok { color: var(--ok); }
.form-status.err { color: #FFB4B4; }
.contact-page .form-status.err { color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); border-top: 1px solid var(--line); padding: 64px 0 100px; font-size: 0.95rem; }
@media (min-width: 900px) { .site-footer { padding: 72px 0 64px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer-grid h4 { font-family: var(--font-text); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; color: var(--navy-ink); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--surge-deep); text-decoration: underline; }
.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-globe { height: 40px; width: 40px; }
.brand-footer .brand-word { font-size: 1.7rem; }
.footer-brand address { font-style: normal; line-height: 1.6; color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 0.88rem; }

/* ---------- Mobile quick bar ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px 10px; background: var(--paper); color: var(--navy-ink); text-decoration: none; font-size: 0.78rem; font-weight: 500; }
.quickbar a svg { width: 22px; height: 22px; color: var(--navy); }
.quickbar a.primary { background: var(--navy); color: #fff; }
.quickbar a.primary svg { color: #fff; }
@media (min-width: 900px) { .quickbar { display: none; } }

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: 64px 0 44px; }
@media (min-width: 900px) { .page-head { padding: 104px 0 64px; } }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: 20px; }
.page-head .lead { margin-bottom: 0; }

/* ---------- Service detail blocks ---------- */
.service-block { padding: 56px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .service-block { padding: 84px 0; } }
.service-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .service-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.service-grid h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); margin-bottom: 14px; }
.service-grid .lead { font-size: 1.12rem; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: ""; display: block; width: 14px; height: 1px; margin-top: 0.8em; background: var(--navy); opacity: 0.75; }
@media (min-width: 700px) { .checklist.two { grid-template-columns: 1fr 1fr; gap: 10px 32px; } }

/* ---------- Plans ---------- */
.tiers { display: grid; gap: 36px; margin-top: 8px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 48px; align-items: stretch; } }
.tier { border-top: 1px solid var(--line-strong); padding-top: 22px; display: flex; flex-direction: column; }
.tier h3 { font-size: 2.2rem; margin-bottom: 8px; }
.tier .for { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.tier .summary { margin-bottom: 18px; }
.tier .checklist { margin: 0 0 26px; }
.tier .checklist li { font-size: 0.97rem; }
.tier .btn { margin-top: auto; align-self: flex-start; }

.addon { margin-top: 56px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 30px 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .addon { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }
.addon h3 { font-size: 1.9rem; margin-bottom: 8px; }
.addon p { margin: 0; max-width: 64ch; }

.fineprint { margin-top: 32px; color: var(--muted); font-size: 0.92rem; max-width: 70ch; }

/* ---------- Support (client help) ---------- */
.help-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.help-item { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .help-item { grid-template-columns: 4fr 8fr; gap: 48px; padding: 36px 0; } }
.help-item h3 { font-size: 1.85rem; }
.help-item p { margin: 0 0 10px; }
.help-item p:last-child { margin: 0; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.help-actions .btn { padding: 11px 16px; font-size: 0.95rem; }

/* ---------- Consulting list ---------- */
.consult-list { display: grid; gap: 24px; }
@media (min-width: 700px) { .consult-list { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }
.consult { border-top: 1px solid var(--line-strong); padding: 22px 0 8px; }
.consult h3 { font-size: 1.85rem; margin-bottom: 10px; }
.consult p { margin: 0 0 14px; }
.consult a.link { font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.consult a.link:hover { color: var(--surge-deep); border-bottom-color: var(--surge-deep); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } }
.about-aside { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.about-aside h3 { font-size: 1.6rem; margin-bottom: 12px; }
.about-aside p { margin: 0 0 12px; }
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 22px; }
.values li strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--navy-ink); line-height: 1.1; margin-bottom: 4px; }

/* ---------- Article ---------- */
.article-head { padding: 56px 0 28px; }
@media (min-width: 900px) { .article-head { padding: 96px 0 40px; } }
.article-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 24ch; margin: 10px 0 18px; }
.article-head .meta { color: var(--muted); font-size: 0.95rem; }
.article-head .meta a { color: var(--muted); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.article-body { max-width: 68ch; padding: 44px 0 24px; font-size: 1.05rem; }
.article-body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.6em 0 0.5em; }
.article-body h3 { font-size: 1.5rem; margin: 1.4em 0 0.4em; }
.article-body p { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.45em; }
.article-body figure { margin: 1.8em 0; }
.article-body figure img { border-radius: 3px; }
.article-body figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.article-foot { padding: 36px 0 72px; border-top: 1px solid var(--line); }
.article-foot h3 { margin-bottom: 24px; }

/* ---------- Legal ---------- */
.legal { max-width: 72ch; padding-bottom: 80px; }
.legal h2 { font-size: 1.9rem; margin: 2em 0 0.5em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.4em; }

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: 10px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }