/* Padrino Systems. Hand-written CSS, no build step, no framework.
   Visual direction: light and airy, faded photographic backgrounds, low
   contrast, generous whitespace, dark navy type, restrained blue/violet accent.
   Deliberately not futuristic: no glow, no neon, no circuitry. */

/* ---------- tokens ---------- */
:root {
  --navy:        #0f1b33;   /* headings and primary type */
  --navy-soft:   #1c2c4a;
  --body:        #55637a;   /* body copy */
  --muted:       #7c8798;
  --blue:        #1f7ae8;   /* accent, matches the Padrino mark */
  --blue-deep:   #1a5fd0;
  --violet:      #6b4df0;
  --tint:        #eaf2fd;   /* icon tiles, faint fills */
  --tint-2:      #f5f8fc;
  --line:        #e4eaf2;
  --bg:          #ffffff;
  --bg-soft:     #f7f9fc;

  --wrap: 1200px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15,27,51,.04), 0 4px 16px rgba(15,27,51,.05);
  --shadow-md: 0 2px 6px rgba(15,27,51,.05), 0 14px 40px rgba(15,27,51,.08);
  --shadow-lg: 0 10px 30px rgba(15,27,51,.07), 0 30px 70px rgba(15,27,51,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.034em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
p  { margin: 0; }

a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-deep); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0);
  transition: background .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(15,27,51,.05);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 84px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-mark { width: 158px; height: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav > a {
  color: var(--navy-soft); font-size: .94rem; font-weight: 500;
  position: relative; padding-block: .35rem;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease); border-radius: 2px;
}
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active { color: var(--navy); font-weight: 600; }
.nav-cta { margin-left: .5rem; }
.nav-cta::after { display: none; }

/* A real control, not three floating hairlines: bare bars over a transparent
   header read as decoration, so people who do not already know the menu is
   there never tap it. The circle gives it an edge on any background the header
   passes over, photo or white. (rounded-full is correct here: a circular icon
   button, not a shape wrapped around a word.) */
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: rgba(255,255,255,.92); cursor: pointer; padding: 13px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15,27,51,.06), 0 6px 18px rgba(15,27,51,.07);
  flex-direction: column; justify-content: space-between; align-items: stretch;
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.nav-toggle:active { transform: scale(.96); }
.nav-toggle:focus-visible { outline: 3px solid rgba(31,122,232,.35); outline-offset: 3px; }
.nav-toggle span {
  display: block; height: 2.5px; background: var(--navy); border-radius: 2px;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.nav-toggle[aria-expanded="true"] { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn-sm  { padding: .6rem 1.1rem; font-size: .88rem; }
.btn-lg  { padding: 1.05rem 2rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(100deg, var(--blue) 0%, #3f6bf5 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(31,122,232,.28);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,122,232,.34); }

.btn-ghost { background: transparent; color: var(--navy); border-color: #cfd9e7; }
.btn-ghost:hover { color: var(--navy); border-color: var(--blue); background: rgba(31,122,232,.05); transform: translateY(-2px); }

.btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-on-dark:hover { color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* ---------- icons ---------- */
.icon    { width: 26px; height: 26px; flex-shrink: 0; }
.icon-sm { width: 17px; height: 17px; flex-shrink: 0; }
.icon-lg { width: 30px; height: 30px; flex-shrink: 0; }

.icon-tile {
  width: 58px; height: 58px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--blue);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
/* ---------- section furniture ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-tint { background: var(--bg-soft); }

.eyebrow {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; color: var(--blue); margin-bottom: 1.1rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { margin-top: 1.25rem; font-size: 1.12rem; line-height: 1.7; color: var(--body); }
.accent { color: var(--blue); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
/* Fades the photograph out beneath the copy so type sits on near-white. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, #fff 0%, #fff 34%, rgba(255,255,255,.92) 46%, rgba(255,255,255,.55) 60%, rgba(255,255,255,.15) 78%, rgba(255,255,255,.05) 100%),
    linear-gradient(to bottom, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 70%, rgba(255,255,255,.85) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6rem); }
.hero-copy { max-width: 680px; }
.hero-eyebrow {
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .3em; color: var(--navy-soft); margin-bottom: 1.4rem;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent {
  background: linear-gradient(94deg, #1f8ae8 0%, #3f6bf5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem); font-weight: 600; line-height: 1.28;
  color: var(--navy); letter-spacing: -.018em; margin-bottom: 1.4rem;
}
.hero-body { font-size: 1.06rem; line-height: 1.68; color: var(--body); max-width: 620px; }

.hero-pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 720px;
}
.hero-pillar { text-align: center; }
.hero-pillar .icon-tile { margin-bottom: .85rem; }
.hero-pillar:hover .icon-tile { transform: translateY(-3px); background: #dfecfc; }
.hero-pillar p {
  font-size: .715rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--navy); line-height: 1.5;
}
.hero-pillars-note {
  margin-top: 1.4rem; font-size: .92rem; color: var(--muted); max-width: 780px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-meta { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.hero-meta a { color: var(--navy-soft); font-weight: 600; }

.scroll-cue {
  display: flex; justify-content: center; padding-bottom: 2.5rem;
  position: relative; z-index: 1;
}
.scroll-cue a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cfd9e7;
  display: inline-flex; align-items: center; justify-content: center; color: var(--navy);
  background: rgba(255,255,255,.6); transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.scroll-cue a:hover { transform: translateY(3px); border-color: var(--blue); }

/* ---------- page hero (interior pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, #fff 0%, rgba(255,255,255,.96) 40%, rgba(255,255,255,.75) 58%, rgba(255,255,255,.35) 80%, rgba(255,255,255,.2) 100%);
}
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 7vw, 6rem); max-width: 760px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 1.25rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* ---------- grid utilities (layout only, no container) ---------- */
.grid   { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* ---------- editorial index rows ----------
   Replaces the card grid for long lists. Reads as a table of contents:
   number in a gutter, title, blurb, and an arrow that appears on hover. */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 58px minmax(0, 290px) 1fr 30px;
  gap: 1.75rem; align-items: start;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line);
  transition: background .22s var(--ease);
}
a.index-row { color: inherit; }
a.index-row:hover { background: linear-gradient(90deg, rgba(31,122,232,.05), rgba(31,122,232,0) 72%); }
.index-num {
  font-size: .76rem; font-weight: 600; color: var(--muted); letter-spacing: .12em;
  padding-top: .42rem; font-variant-numeric: tabular-nums;
}
.index-title {
  font-size: 1.2rem; font-weight: 600; color: var(--navy);
  letter-spacing: -.018em; line-height: 1.32;
  transition: color .2s var(--ease);
}
.index-blurb { font-size: .96rem; line-height: 1.65; color: var(--body); }
.index-arrow {
  color: var(--blue); justify-self: end; padding-top: .4rem;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
a.index-row:hover .index-arrow { opacity: 1; transform: none; }
a.index-row:hover .index-title { color: var(--blue); }

/* ---------- divider matrix ----------
   Grid cells separated by hairlines instead of floating in boxes. */
.matrix { display: grid; border-bottom: 1px solid var(--line); }
.matrix-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.matrix-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.matrix-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.matrix-cell {
  padding: 1.9rem 1.9rem 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.matrix-2 .matrix-cell:nth-child(2n+1),
.matrix-3 .matrix-cell:nth-child(3n+1),
.matrix-4 .matrix-cell:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.matrix-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .65rem; }
.matrix-head svg { color: var(--blue); width: 19px; height: 19px; }
.matrix-cell h3 { font-size: 1.02rem; font-weight: 600; }
.matrix-cell p { font-size: .93rem; line-height: 1.62; }

/* ---------- split (the two engagement levels) ----------
   Two halves divided by a rule. The weighted top border does the work a
   card border used to, without enclosing anything. */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(2rem, 6vw, 5rem); }
.split-col { position: relative; border-top: 3px solid var(--line); padding-top: 1.9rem; display: flex; flex-direction: column; }
.split-col:first-child { border-top-color: var(--navy); }
.split-col:last-child  { border-top-color: var(--blue); }
.split-col + .split-col::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(-1 * clamp(1rem, 3vw, 2.5rem)); width: 1px; background: var(--line);
}
.split-kicker {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: var(--blue); margin-bottom: .9rem;
}
.split-col h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); letter-spacing: -.022em; margin-bottom: 1rem; }
.split-col > p { font-size: 1rem; line-height: 1.7; }
.split-col ul { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .85rem; }
.split-col li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--navy-soft); }
.split-col li svg { color: var(--blue); margin-top: .25rem; }
.split-col .btn { margin-top: 2rem; align-self: flex-start; }

/* ---------- timeline (project to partnership) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.timeline-step { position: relative; padding-top: 2.4rem; }
.timeline-step::after {
  content: ""; position: absolute; top: 0; left: 0;
  right: calc(-1 * clamp(1.5rem, 4vw, 3rem)); height: 1px; background: var(--line);
}
.timeline-step:last-child::after { right: 0; }
.timeline-step::before {
  content: ""; position: absolute; top: -4px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--blue);
}
.timeline-step h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.timeline-step p { font-size: .95rem; line-height: 1.65; }
.timeline-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: var(--muted); margin-bottom: .7rem;
}

/* ---------- colset (columns opened by a weighted rule) ---------- */
.colset { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.colset-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.colset-item { border-top: 3px solid var(--line); padding-top: 1.6rem; }
.colset-item h3 { font-size: 1.18rem; margin-bottom: .75rem; }
.colset-item p { font-size: .96rem; line-height: 1.65; }
.colset-item .colset-icon { color: var(--blue); margin-bottom: 1rem; display: block; }

/* ---------- deflist (two-column editorial rows) ---------- */
.deflist { border-top: 1px solid var(--line); }
.def-row {
  display: grid; grid-template-columns: minmax(0, 320px) 1fr;
  gap: clamp(1.25rem, 4vw, 3rem); padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.def-row h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.def-row p { font-size: .98rem; line-height: 1.68; }

/* Dark-band variants: hairlines have to lift off the navy, not disappear. */
.band .index-list, .band .matrix { border-color: rgba(255,255,255,.14); }
.band .index-row, .band .matrix-cell { border-color: rgba(255,255,255,.14); }
.band .index-title, .band .matrix-cell h3, .band .colset-item h3 { color: #fff; }
.band .index-blurb, .band .matrix-cell p, .band .colset-item p { color: rgba(255,255,255,.72); }
.band .index-num, .band .timeline-label { color: rgba(255,255,255,.45); }
.band .colset-item { border-top-color: rgba(255,255,255,.22); }
.band .colset-item .colset-icon, .band .matrix-head svg { color: #8cc2f7; }

/* ---------- problem quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem 2.5rem; }
.quote {
  border-left: 2px solid var(--tint); padding: .4rem 0 .4rem 1.5rem;
  transition: border-color .22s var(--ease);
}
.quote:hover { border-left-color: var(--blue); }
.quote p {
  font-size: 1.12rem; font-weight: 500; line-height: 1.5; color: var(--navy);
  letter-spacing: -.012em;
}
.quotes-note { margin-top: 3rem; font-size: 1.05rem; color: var(--body); max-width: 640px; }


/* ---------- options list (the "sometimes it is..." set) ----------
   Plain lines opened by a rule, so the closer can be given weight without a
   tinted callout box. */
.options { list-style: none; margin: clamp(2.5rem,5vw,3.5rem) 0 0; padding: 0; max-width: 820px; }
.options li {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem); font-weight: 500; color: var(--navy-soft);
  letter-spacing: -.012em; line-height: 1.45;
  padding: 1.05rem 0 1.05rem 1.75rem; border-top: 1px solid var(--line); position: relative;
}
.options li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 7px; height: 1px; background: var(--muted);
}
.options li:last-child { border-bottom: 1px solid var(--line); }
.options-closer { color: var(--navy) !important; font-weight: 600 !important; }
.options-closer::before { background: var(--blue) !important; width: 14px !important; }

/* ---------- dark band ---------- */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #101c35 0%, #16263f 55%, #1b2f52 100%);
  color: rgba(255,255,255,.78);
  padding-block: clamp(4.5rem, 9vw, 7rem);
}
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #6fb0f5; }
.band .lede { color: rgba(255,255,255,.76); }
.band-bg { position: absolute; inset: 0; z-index: 0; opacity: .16; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band .wrap { position: relative; z-index: 1; }
.band-item h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.band-item p { font-size: .97rem; line-height: 1.65; }
.band-item { border-top: 3px solid rgba(255,255,255,.22); padding-top: 1.6rem; }
.band-item svg { color: #8cc2f7; margin-bottom: 1rem; }

.band-cta { text-align: center; }
.cta-inner { max-width: 720px; margin-inline: auto; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }
.cta-note { margin-top: 1.5rem; font-size: .88rem; color: rgba(255,255,255,.55); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1.25rem; }
.process-step { position: relative; padding-top: 2.25rem; }
.process-step::before {
  content: ""; position: absolute; top: 1.1rem; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--line), var(--line));
}
.process-step:first-child::before { left: 50%; }
.process-step:last-child::before  { right: 50%; }
.process-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: var(--blue); letter-spacing: .02em;
}
.process-step { text-align: center; }
.process-step h3 { font-size: 1.05rem; margin: .9rem 0 .55rem; }
.process-step p { font-size: .9rem; line-height: 1.6; }

/* ---------- outcomes ---------- */
.outcome {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.outcome:first-of-type { border-top: 0; padding-top: 0; }
.outcome:nth-child(even) .outcome-media { order: -1; }
.outcome-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.outcome-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: var(--blue); margin-bottom: .9rem;
}
.outcome h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.5rem; letter-spacing: -.02em; }
.ba { display: grid; gap: 1.1rem; }
.ba-row { display: grid; grid-template-columns: 116px 1fr; gap: 1.25rem; align-items: start; }
.ba-label {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  padding-top: .3rem;
}
.ba-row .ba-label { color: var(--muted); }
.ba-found .ba-label { color: var(--navy-soft); }
.ba-after .ba-label { color: var(--blue); }
.ba-row p { font-size: .97rem; line-height: 1.65; }
.ba-after p { color: var(--navy-soft); }
.outcome-built { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.outcome-built strong { color: var(--navy-soft); font-weight: 600; }

/* ---------- capability list (services page) ---------- */
.cap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.cap:first-of-type { border-top: 0; }
.cap-aside .icon-tile { margin-bottom: 1.1rem; }
.cap-aside h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.cap-body > p { font-size: 1.03rem; line-height: 1.7; }
.cap-examples { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem 1.5rem; }
.cap-examples li { display: flex; gap: .65rem; align-items: flex-start; font-size: .94rem; color: var(--navy-soft); }
.cap-examples li svg { color: var(--blue); margin-top: .28rem; width: 15px; height: 15px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; text-align: left;
  font-family: inherit; font-size: 1.06rem; font-weight: 600; color: var(--navy);
  letter-spacing: -.01em;
}
.faq-q svg { color: var(--blue); transition: transform .25s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 1.5rem; max-width: 700px; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { font-size: .99rem; line-height: 1.7; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.field { display: grid; gap: .45rem; margin-bottom: 1.4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); letter-spacing: -.005em; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  background: #fff; border: 1px solid #d8e0ec; border-radius: 10px;
  padding: .85rem 1rem; width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,122,232,.13);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field-error input, .field-error textarea { border-color: #d1495b; }
.err { font-size: .85rem; color: #b9394a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .87rem; color: var(--muted); margin-top: 1.25rem; }
.notice-ok    { font-size: 1rem; color: #17794a; font-weight: 500; margin-bottom: 1.5rem; }
.notice-error { font-size: .95rem; color: #b9394a; font-weight: 500; margin-bottom: 1.5rem; }

.contact-aside { border-top: 3px solid var(--navy); padding-top: 1.75rem; }
.contact-aside h3 { font-size: 1.1rem; margin-bottom: 1.25rem; }
.contact-line { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-line svg { color: var(--blue); margin-top: .2rem; width: 19px; height: 19px; }
.contact-line .l { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.contact-line .v { font-size: 1rem; color: var(--navy); font-weight: 600; }
.contact-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.contact-aside li { display: flex; gap: .6rem; font-size: .93rem; align-items: flex-start; }
.contact-aside li svg { color: var(--blue); margin-top: .3rem; width: 15px; height: 15px; }

/* ---------- about ---------- */
.founder { max-width: 760px; }
.founder-role { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--blue); font-weight: 700; margin-bottom: .7rem; }
.founder h3 { font-size: 1.6rem; margin-bottom: 1rem; letter-spacing: -.02em; }
.founder p + p { margin-top: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: #0d1728; color: rgba(255,255,255,.62); padding-block: 4.5rem 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-mark { width: 38px; height: 38px; margin-bottom: 1rem; }
.footer-name { color: #fff; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.footer-tag { margin-top: .4rem; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-head { color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a { color: rgba(255,255,255,.62); }
.footer-list a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.75rem; font-size: .85rem; color: rgba(255,255,255,.4); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* Without JS nothing should ever stay invisible. */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .module:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .process { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem 1.25rem; }
  .process-step::before { display: none; }
  .quotes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .matrix-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .matrix-4 .matrix-cell:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: 1.9rem; }
  .matrix-4 .matrix-cell:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .index-row { grid-template-columns: 48px minmax(0,240px) 1fr 24px; gap: 1.25rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: .5rem 24px 1.75rem;
    max-height: calc(100dvh - 84px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > a::after { display: none; }
  .nav-cta { margin: 1.25rem 0 0; align-self: flex-start; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }

  .hero-bg img { object-position: 68% center; }
  .hero-bg::after {
    background:
      linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.7) 70%, rgba(255,255,255,.9) 100%);
  }
  .hero-pillars { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.75rem 1rem; }
  .hero-actions .btn { flex: 1 1 auto; }

  .grid-2, .grid-3, .split, .colset-3, .timeline, .matrix-2, .matrix-3, .matrix-4 { grid-template-columns: 1fr; }
  .matrix-cell { border-left: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .split-col + .split-col::before { display: none; }
  .split-col + .split-col { margin-top: 1rem; }
  .timeline-step::after { right: 0; }
  .index-row { grid-template-columns: 40px 1fr 24px; gap: .35rem 1rem; padding: 1.35rem 0; }
  .index-num { grid-row: 1; }
  .index-title { grid-column: 2; }
  .index-blurb { grid-column: 2; grid-row: 2; }
  .index-arrow { display: none; }
  .def-row { grid-template-columns: 1fr; gap: .5rem; }
  .outcome { grid-template-columns: 1fr; gap: 2rem; }
  .outcome:nth-child(even) .outcome-media { order: 0; }
  .cap { grid-template-columns: 1fr; gap: 1.25rem; }
  .cap-examples { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wrap { padding-inline: 20px; }
  .hero-pillars { max-width: none; }
  .ba-row { grid-template-columns: 1fr; gap: .3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}
