/* jwal.ai: one stylesheet for every page. Mobile-first; desktop rules are in
   min-width media queries. Design tokens at the top. */

:root {
  --navy:       #0f1523;
  --navy-mid:   #161e30;
  --navy-card:  #1c2540;
  --navy-light: #243050;
  /* Accents sampled from the JWAL logo: azure top #29a0d9, indigo tail #4c3fbd.
     --blue is deepened for AA-contrast white button labels; --blue-bright is the
     lightened text/accent tint per dark-theme practice. */
  --blue:       #2578bd;
  --blue-hover: #2f8ecc;
  --blue-bright:#5fb3ea;
  --indigo:     #5a52c9;
  --white:      #ffffff;
  --text-body:  #bcc5d6;
  --text-muted: #7a889f;
  --border:     rgba(255,255,255,0.07);
  --border-med: rgba(255,255,255,0.12);
  --r:          12px;
  --r-sm:       8px;

  --gutter:     clamp(1.25rem, 5vw, 2.5rem);
  --section-y:  clamp(3.5rem, 8vw, 5.5rem);
  --header-h:   64px;
  --content-w:  1100px;
  --tap:        44px;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

html, body { overflow-x: clip; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--navy);
  color: var(--white);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, picture { max-width: 100%; }
img { height: auto; display: block; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
p, li, a { overflow-wrap: break-word; }

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.site { min-height: 100dvh; }

.sep { margin: 0 0.5rem; color: var(--text-muted); }

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15,21,35,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: var(--header-h);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}

.logo-mark { height: 36px; width: auto; flex-shrink: 0; }
.logo-mark-sm { height: 24px; width: auto; opacity: 0.85; flex-shrink: 0; }

.logo-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }

.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-name span { color: var(--blue-bright); }

.logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
}
@media (max-width: 479px) { .logo-sub { display: none; } }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-btn:hover { background: var(--blue-hover); }
.nav-btn-short { display: none; }
@media (max-width: 599px) {
  .nav-btn-long { display: none; }
  .nav-btn-short { display: inline; }
  .nav-btn { padding: 0 14px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  background: transparent;
  border: 1px solid var(--border-med);
  border-radius: var(--r-sm);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu: hidden until the toggle opens it as a panel under the header. */
.nav-links { display: none; }
.site-header.is-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.25rem var(--gutter) 1rem;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 0.25rem;
  font-size: 17px;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-links li:last-child a { border-bottom: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }

@media (min-width: 1100px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }
  .nav-links a {
    min-height: var(--tap);
    padding: 0 0.1rem;
    font-size: 15px;
    border-bottom: 0;
  }
  .nav-toggle { display: none; }
}

/* ── BOTTOM CTA BAR (phones) ─────────────────────── */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(15,21,35,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.cta-bar.is-visible { transform: none; }
.cta-bar .btn-primary { width: 100%; }
@media (min-width: 768px) { .cta-bar { display: none; } }

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { background: transparent; color: var(--text-body); border-color: var(--border-med); }
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

@media (max-width: 559px) {
  .hero-actions .btn-primary, .hero-actions .btn-outline,
  .cta-actions .btn-primary, .cta-actions .btn-outline,
  .bio-actions .btn-primary, .bio-actions .btn-outline { width: 100%; }
}

/* ── HERO ────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 420px at 12% 18%, rgba(90,82,201,0.22), transparent 70%),
    radial-gradient(700px 520px at 88% 70%, rgba(37,120,189,0.18), transparent 70%),
    var(--navy);
}

.hero-inner {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: rgba(95,179,234,0.1);
  border: 1px solid rgba(95,179,234,0.25);
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-inner h1 {
  font-size: clamp(2.125rem, 1.2rem + 4.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero-inner h1 .accent { display: block; color: var(--blue-bright); }

.hero-sub {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.2rem);
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.hero-sub a { color: var(--blue-bright); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero-sub a:hover { text-decoration: underline; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.25rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  max-width: 640px;
}
.hero-stat .num {
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.7rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-stat .label { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

.hero-visual { display: none; }

@media (min-width: 1024px) {
  .hero-section { min-height: min(88svh, 860px); display: flex; align-items: center; }
  .hero-inner {
    width: 100%;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 4rem;
  }
  .hero-visual { display: block; position: relative; }
  .hero-visual::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(95,179,234,0.35), rgba(90,82,201,0.25), transparent 60%);
  }
  .hero-photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--navy-light);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
  .hero-visual .status-card { position: absolute; left: 1rem; bottom: 1rem; }
}

/* ── STATUS CARD ("Accepting new clients") ───────── */
.status-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-card);
  border: 1px solid var(--border-med);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-body);
  z-index: 2;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }

/* ── SECTION WRAPPER ─────────────────────────────── */
.band { border-top: 1px solid var(--border); }

.section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section-full { padding: var(--section-y) 0; }
.section-inner { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.6rem;
}

.section-h {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 24ch;
  text-wrap: balance;
}

.section-p {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  color: var(--text-body);
  line-height: 1.8;
  max-width: 620px;
}

/* ── PILLARS ─────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; } }

.pillar {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: border-color 0.2s;
}
.pillar:hover { border-color: rgba(95,179,234,0.3); }

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.pillar-icon.ai   { background: rgba(90,82,201,0.18); }
.pillar-icon.arch { background: rgba(37,120,189,0.15); }
.pillar-icon.team { background: rgba(29,158,117,0.15); }
.pillar-icon.dd   { background: rgba(186,117,23,0.15); }

.pillar h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.pillar p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ── ENGAGEMENTS / OFFERS ────────────────────────── */
.services-bg {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offers-flow {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  counter-reset: none;
}
.offer-step { display: flex; flex-direction: column; position: relative; }
/* Connector between stacked steps on small screens. */
.offer-step + .offer-step::before {
  content: '';
  position: absolute;
  top: -1.75rem;
  left: 1.5rem;
  height: 1.75rem;
  border-left: 2px dashed var(--border-med);
}

.offer-step-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.step-num { font-size: 15px; font-weight: 800; color: var(--blue-bright); letter-spacing: 0; }

.svc {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.25rem, 3vw, 1.6rem);
  transition: border-color 0.2s, transform 0.2s;
}
.svc:hover { border-color: rgba(95,179,234,0.35); }
.offer { display: flex; flex-direction: column; flex: 1; }
.offer-featured { border-color: rgba(160,154,240,0.45); box-shadow: 0 0 40px rgba(90,82,201,0.15); }

.svc-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}
.tag-ai   { background: rgba(90,82,201,0.2);  color: #a09af0; }
.tag-cto  { background: rgba(37,120,189,0.18); color: #5fb3ea; }
.tag-iot  { background: rgba(29,158,117,0.18); color: #5cd4a8; }
.tag-gold { background: rgba(224,169,78,0.16); color: #e0a94e; }

.svc h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.svc p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

.svc-price { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.6rem; }
.price-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid var(--border-med);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.price-link:hover { border-color: var(--blue-bright); background: rgba(95,179,234,0.08); }
.svc-price span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted); }

.svc-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: var(--tap);
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
}
.svc-link:hover { text-decoration: underline; }

.offers-note { margin-top: 2rem; font-size: 14.5px; color: var(--text-muted); max-width: 620px; }

@media (min-width: 1024px) {
  .offers-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
  .offer-step + .offer-step::before {
    top: 0.55rem;
    left: -1.25rem;
    height: 0;
    width: 1.25rem;
    border-left: 0;
    border-top: 2px dashed var(--border-med);
  }
}

/* ── RESULTS / CASE STUDY ────────────────────────── */
.case {
  margin-top: 2.5rem;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.case-head h3 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 0.75rem;
}
.case-role { font-size: 13px; color: var(--text-muted); margin-top: 0.4rem; }

.proof-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}
@media (min-width: 900px) { .proof-band { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } }

.proof-stat {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1rem, 2.5vw, 1.4rem) clamp(1rem, 2.5vw, 1.5rem);
}
.proof-stat .num {
  font-size: clamp(1.35rem, 1rem + 1vw, 1.65rem);
  font-weight: 800;
  color: var(--blue-bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.proof-stat .label { font-size: 13px; color: var(--text-body); line-height: 1.5; margin-top: 5px; }

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
@media (min-width: 900px) { .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.case-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.55rem;
}
.case-col p { font-size: 14.5px; color: var(--text-body); line-height: 1.75; }

/* ── CALLOUT ─────────────────────────────────────── */
.callout {
  margin-top: 2.5rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  padding: clamp(1.4rem, 3.5vw, 2rem) clamp(1.25rem, 3.5vw, 2.25rem);
  max-width: 760px;
}
.callout h3 { font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.callout p { font-size: 16px; color: var(--text-body); line-height: 1.8; }
.callout-punch { margin-top: 0.9rem; font-weight: 700; color: var(--blue-bright) !important; }
.ai-native { border-left-color: var(--indigo); }

/* ── LEADERSHIP / ABOUT ──────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 5rem; }
}

.about-photo-wrap { position: relative; max-width: 340px; }
@media (min-width: 900px) { .about-photo-wrap { max-width: none; } }
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(95,179,234,0.3), rgba(90,82,201,0.2), transparent 60%);
  z-index: 0;
}
.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy-light);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-card { position: absolute; bottom: -14px; right: 0; }
@media (min-width: 900px) { .about-card { right: -16px; bottom: -16px; } }

.about-content h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.about-content p { font-size: 16.5px; color: var(--text-body); line-height: 1.85; margin-bottom: 1rem; }
.about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.tag {
  background: var(--navy-light);
  border: 1px solid var(--border-med);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
}

/* ── TESTIMONIALS (hidden until real quotes land) ── */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 3rem; }
@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testi {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testi q { font-size: 15px; color: var(--text-body); line-height: 1.8; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 10px; padding-top: 1rem; border-top: 1px solid var(--border); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 600; color: var(--white); }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ── CTA / CONTACT ───────────────────────────────── */
.cta-bg { background: var(--navy-mid); border-top: 1px solid var(--border); }
.cta-inner { max-width: 680px; margin: 0 auto; padding: var(--section-y) var(--gutter); text-align: center; }
.cta-inner h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.cta-inner p { font-size: 16.5px; color: var(--text-body); line-height: 1.8; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }

.cta-alt { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.cta-alt a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 0.2rem;
  color: var(--blue-bright);
  text-decoration: none;
}
.cta-alt a:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
@media (max-width: 767px) { .site-footer { padding-bottom: 5.5rem; } }

.footer-left { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.footer-brand { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

/* ── BIO PAGE ────────────────────────────────────── */
.bio-section { padding-top: clamp(2.5rem, 6vw, 3.5rem); padding-bottom: 4.5rem; }
.bio-name {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.bio-title { font-size: 15px; font-weight: 600; color: var(--blue-bright); margin-bottom: 1.5rem; line-height: 1.5; }
.bio-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }
.bio-direct { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; }
.bio-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

/* ── LONG-FORM PAGES (/method, stories, privacy) ─── */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 3.5rem) var(--gutter) 4.5rem;
}
.page h1 {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.page h2 {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 2.25rem 0 0.75rem;
}
.page p { color: var(--text-body); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.1rem; }
.page a { color: var(--blue-bright); text-decoration: underline; text-decoration-color: rgba(95,179,234,0.35); text-underline-offset: 3px; }
.page a:hover { text-decoration-color: currentColor; }
.page ul, .page ol { color: var(--text-body); font-size: 1.05rem; margin: 0 0 1.1rem 1.4rem; list-style: disc; }
.page ol { list-style: decimal; }
.page li { margin-bottom: 0.45rem; line-height: 1.7; }
/* A list item that is only a link (the story list on /method) gets a full tap target. */
.page li > a:only-child { display: inline-flex; align-items: center; min-height: 40px; }
.page strong { color: var(--white); }

.page blockquote {
  border-left: 3px solid var(--blue-bright);
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
}
.page blockquote p { color: var(--white); font-size: 1.1rem; margin-bottom: 0; }

.page-figure { margin: 2rem 0; border: 1px solid var(--border-med); border-radius: var(--r); overflow: hidden; }
.page-figure img { width: 100%; height: auto; }

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: -0.75rem 0 1.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.story-meta a { color: var(--text-body); text-decoration: none; }
.story-meta a:hover { text-decoration: underline; }

/* Story list on /stories */
.page .story-list { list-style: none; margin: 1.5rem 0 0; }
.page .story-list li { margin-bottom: 1rem; }
.story-list li {
  border: 1px solid var(--border-med);
  border-radius: var(--r);
  margin-bottom: 1rem;
  background: var(--navy-mid);
  transition: border-color 0.15s;
}
.story-list li:hover { border-color: rgba(95,179,234,0.4); }
.story-list a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.4rem;
  text-decoration: none;
  color: var(--white);
}
.story-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.story-desc { font-size: 0.98rem; color: var(--text-body); line-height: 1.6; }
.story-date { font-size: 0.85rem; color: var(--text-muted); }

/* Cross links at the end of a page */
.page-links {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.page-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--blue-bright);
  text-decoration: none;
}
.page-links a:hover { text-decoration: underline; }

/* ── SERVICE PAGES ───────────────────────────────── */
.svc-hero {
  background:
    radial-gradient(600px 400px at 10% 20%, rgba(90,82,201,0.2), transparent 70%),
    radial-gradient(700px 500px at 90% 80%, rgba(37,120,189,0.16), transparent 70%),
    var(--navy);
}
.svc-hero .section { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--text-muted); margin-bottom: 1.5rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.svc-hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin: 0.5rem 0 1rem;
  max-width: 20ch;
  text-wrap: balance;
}
.svc-hero .lede {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--text-body);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 1.75rem;
}
.svc-hero .hero-actions { margin-bottom: 0; }

.svc-body { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); }
.svc-col { min-width: 0; }
.prose-wide p { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1rem); color: var(--text-body); line-height: 1.8; max-width: 680px; margin-bottom: 1rem; }
.prose-wide a { color: var(--blue-bright); text-decoration: underline; text-decoration-color: rgba(95,179,234,0.35); text-underline-offset: 3px; }
.prose-wide a:hover { text-decoration-color: currentColor; }
.prose-wide .price-link { text-decoration: none; margin-top: 0.25rem; }
.svc-h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.9rem;
  max-width: 26ch;
  text-wrap: balance;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.steps li {
  display: flex;
  gap: 1rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.1rem, 3vw, 1.4rem);
}
.steps .step-num { flex-shrink: 0; width: 2ch; padding-top: 0.15rem; }
.steps h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.steps p { font-size: 15px; color: var(--text-body); line-height: 1.65; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; } }

.checklist { display: grid; grid-template-columns: 1fr; gap: 0.75rem; max-width: 760px; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.05rem);
  color: var(--text-body);
  line-height: 1.7;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(95,179,234,0.15);
  border: 1px solid rgba(95,179,234,0.5);
}
.checklist li::after {
  content: '';
  position: absolute;
  left: 0.38rem;
  top: calc(0.55em + 0.22rem);
  width: 0.3rem;
  height: 0.55rem;
  border-right: 2px solid var(--blue-bright);
  border-bottom: 2px solid var(--blue-bright);
  transform: rotate(45deg);
}

.faq { display: grid; grid-template-columns: 1fr; gap: 0.75rem; max-width: 760px; }
.faq-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.1rem, 3vw, 1.4rem) clamp(1.1rem, 3vw, 1.5rem);
}
.faq dt { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.45rem; line-height: 1.4; }
.faq dd { font-size: 15.5px; color: var(--text-body); line-height: 1.7; }

.story-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 680px;
  background: var(--navy-mid);
  border: 1px solid var(--border-med);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.15s;
}
.story-card:hover { border-color: rgba(95,179,234,0.4); }

.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; margin-top: auto; }
.svc-links .svc-link { margin-top: 0; }
.svc-link-muted { color: var(--text-muted); font-weight: 500; }

.local .section-h { max-width: 30ch; }
/* Links inside running text keep normal line height (WCAG inline exception). */
.section-p .text-link, .hero-sub .text-link { display: inline; min-height: 0; }
