/* ==========================================================================
   Mavrix Communication
   Palette and type are taken from the logo: deep navy, a confident blue,
   geometric caps with wide tracking, and the check mark as the recurring motif.
   ========================================================================== */

:root {
  --navy-950: #081125;
  --navy-900: #0B1630;
  --navy-800: #0F1D3D;
  --navy-700: #17294F;
  --navy-600: #243A6B;
  --blue-700: #1648B8;
  --blue-600: #1E58DB;
  --blue-500: #2F6BF0;
  --blue-400: #4F8BFF;
  --blue-200: #BFD3FF;
  --blue-100: #E4ECFF;
  --blue-50:  #F1F5FF;
  --green-500: #16B47B;
  --red-500: #E5484D;

  --ink: #0C1222;
  --body: #414B61;
  --muted: #6C7790;
  --line: #DCE1EC;
  --mist: #F4F6FB;
  --paper: #FFFFFF;

  --font-display: 'Jost', 'Century Gothic', 'Futura', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 34, .06), 0 2px 8px rgba(12, 18, 34, .04);
  --shadow: 0 10px 30px -12px rgba(15, 29, 61, .22);
  --shadow-lg: 0 30px 60px -24px rgba(8, 17, 37, .5);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.015em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ── Type helpers ───────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--blue-400); }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.7; color: var(--body); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3125rem; letter-spacing: -.005em; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 88, 219, .7); }
.btn-primary:hover { background: var(--blue-500); color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { background: var(--blue-100); color: var(--navy-800); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.link, .link-light { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; }
.link .icon, .link-light .icon { transition: transform .2s; }
a:hover .link .icon, .link-light:hover .icon, a.link:hover .icon { transform: translateX(4px); }
.link-light { color: var(--blue-200); }
.link-light:hover { color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 18, 34, .5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav li a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink);
  transition: color .15s, background .15s;
}
.site-nav li a:hover { color: var(--blue-600); background: var(--blue-50); }
.site-nav li a[aria-current="page"] { color: var(--blue-600); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { 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; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(12, 18, 34, .4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.125rem; }
}

/* ── Hero (home) ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(47, 107, 240, .42), transparent 62%),
    radial-gradient(700px 480px at -10% 110%, rgba(30, 88, 219, .22), transparent 60%),
    var(--navy-800);
  color: rgba(255, 255, 255, .78);
  padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 9vw, 128px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.1vw, 4.125rem); line-height: 1.04; letter-spacing: -.025em; }
.hero h1 .hl { color: var(--blue-400); }
.hero-lead { margin-top: 26px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.65; max-width: 34em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9375rem; color: rgba(255, 255, 255, .86); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points .icon { color: var(--blue-400); }
.hero-mark { position: absolute; right: -90px; bottom: -110px; width: 620px; z-index: -1; fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1.2; }

.hero-visual { position: relative; padding-bottom: 72px; }
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 5.2; margin-left: 13%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; }
.rec-chip {
  position: absolute; top: 20px; right: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(8, 17, 37, .72); backdrop-filter: blur(8px);
  color: #fff; font-size: .8125rem; font-weight: 500; padding: 8px 14px; border-radius: 999px;
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.call-card {
  position: absolute; left: 0; bottom: 0; width: min(350px, 86%);
  background: #fff; color: var(--body); border-radius: 20px; padding: 20px 22px 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(12, 18, 34, .04);
}
.call-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.call-state { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.call-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 0 rgba(47, 107, 240, .5); animation: pulse 1.6s infinite; }
.call-card.is-connected .call-pulse { background: var(--green-500); box-shadow: 0 0 0 0 rgba(22, 180, 123, .5); animation-name: pulse-green; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 107, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 107, 240, 0); } }
@keyframes pulse-green { 70% { box-shadow: 0 0 0 9px rgba(22, 180, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 180, 123, 0); } }
.call-timer { font-variant-numeric: tabular-nums; font-size: .875rem; color: var(--muted); font-weight: 500; }
.call-checks { padding: 12px 0 10px; display: grid; gap: 9px; font-size: .9375rem; }
.call-checks li { display: flex; align-items: center; gap: 11px; color: var(--muted); transition: color .3s; }
.call-checks b { color: inherit; font-weight: 600; }
.tick { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: background .3s, border-color .3s, color .3s, transform .3s; }
.tick .icon { width: 13px; height: 13px; }
.call-checks li.is-done { color: var(--ink); }
.call-checks li.is-done .tick { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: scale(1.06); }
.call-handoff { display: flex; align-items: center; gap: 10px; background: var(--mist); border-radius: 12px; padding: 10px 12px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.party { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .3s; }
.party .icon { width: 15px; height: 15px; }
.handoff-line { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.handoff-line i { display: block; height: 100%; width: 0; background: var(--green-500); transition: width 1.1s ease; }
.call-card.is-transferring .handoff-line i, .call-card.is-connected .handoff-line i { width: 100%; }
.call-card.is-transferring .party:first-child { color: var(--ink); }
.call-card.is-connected .party-lo { color: var(--green-500); }
.call-note { margin-top: 10px; font-size: .75rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 520px) {
  .hero-photo { margin-left: 0; aspect-ratio: 1 / 1; }
  .hero-visual { padding-bottom: 0; }
  .call-card { position: relative; width: auto; margin: -64px 14px 0; }
  .party { white-space: normal; }
}

/* ── Program strip ──────────────────────────────────────────────────────── */
.program-strip { border-bottom: 1px solid var(--line); background: #fff; }
.program-inner { display: flex; align-items: center; gap: 12px 36px; flex-wrap: wrap; padding-block: 22px; }
.program-label { font-family: var(--font-display); font-weight: 600; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.program-inner ul { display: flex; flex-wrap: wrap; gap: 8px 30px; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.0625rem; }
.program-inner li { display: inline-flex; align-items: center; gap: 30px; }
.program-inner li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); margin-left: -18px; margin-right: -18px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-navy {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(47, 107, 240, .28), transparent 65%),
    var(--navy-800);
  color: rgba(255, 255, 255, .74);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; max-width: 780px; margin-inline: auto; }
.section-head.narrow { max-width: 640px; }
.section-head.center .lead { margin-top: 18px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; align-items: start; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card h3 { margin: 22px 0 10px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; }
.card-icon .icon { width: 24px; height: 24px; }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.step-num { font-family: var(--font-display); font-size: 3.25rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--blue-400); display: block; margin-bottom: 26px; letter-spacing: 0; }
.steps h3 { font-size: 1.5rem; margin-bottom: 12px; }
.steps p { font-size: 1rem; }
.steps-foot { margin-top: 56px; text-align: center; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .step-num { margin-bottom: 14px; }
}

/* ── Filter builder ─────────────────────────────────────────────────────── */
.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); gap: 28px; align-items: start; }
.builder-options { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); display: grid; gap: 28px; }
.chip-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-group legend { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.0625rem; padding: 0; margin-bottom: 12px; }
.chip-group legend small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8125rem; margin-left: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .9375rem; font-weight: 500; color: var(--body); background: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.chip span::before { content: ''; width: 12px; height: 7px; border-left: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: rotate(-45deg) translateY(-2px); display: none; }
.chip:hover span { border-color: var(--blue-400); }
.chip input:checked + span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chip input:checked + span::before { display: block; }
.chip input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }

.brief { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy-800); color: rgba(255, 255, 255, .78); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.brief-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.brief-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(79, 139, 255, .18); color: var(--blue-400); display: grid; place-items: center; }
.brief-title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.1875rem; line-height: 1.2; }
.brief-sub { font-size: .875rem; }
.brief-list { padding: 18px 0 22px; display: grid; gap: 14px; font-size: .9375rem; min-height: 120px; }
.brief-list li { display: grid; gap: 2px; }
.brief-list .k { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-400); font-weight: 600; }
.brief-list .v { color: #fff; }
.brief-list .empty { color: rgba(255, 255, 255, .55); }
.brief-note { margin-top: 16px; font-size: .8125rem; line-height: 1.55; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .brief { position: static; } }

/* ── Services ───────────────────────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; color: var(--body); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { color: var(--body); transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.service h3 { margin: 20px 0 10px; }
.service p { flex: 1; }
.service .link { margin-top: 22px; color: var(--blue-600); }
.service-feature { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; background: var(--navy-800); border-color: var(--navy-800); color: rgba(255, 255, 255, .78); position: relative; min-height: 460px; justify-content: flex-end; }
.service-feature:hover { color: rgba(255, 255, 255, .78); border-color: var(--navy-800); }
.service-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-feature:hover img { transform: scale(1.04); }
.service-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 48, .05) 20%, rgba(11, 22, 48, .93) 78%); }
.service-body { position: relative; z-index: 1; padding: 36px; max-width: 560px; }
.service-feature h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 16px; }
.service-feature .link { color: #fff; }
.tag { display: inline-block; font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--blue-600); color: #fff; }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } .service-feature { grid-column: auto; min-height: 420px; } }

/* ── Media split ────────────────────────────────────────────────────────── */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.media-split.flip > :first-child { order: 2; }
.media-split h2 + .lead { margin-top: 20px; }
.media-stack { position: relative; padding: 0 0 36px 0; }
.media-main { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3.3; object-fit: cover; box-shadow: var(--shadow); }
.media-badge { position: absolute; right: -12px; bottom: 0; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); font-size: .875rem; line-height: 1.35; }
.media-badge strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.media-badge span { color: var(--muted); }
.badge-check { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-600); color: #fff !important; display: grid; place-items: center; }
.badge-check .icon { width: 22px; height: 22px; }
.check-list { margin: 32px 0 36px; display: grid; gap: 22px; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; }
.check-list > li > .icon { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--blue-100); color: var(--blue-600); margin-top: 2px; }
.check-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--ink); }
.check-list span { font-size: 1rem; }
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split.flip > :first-child { order: 0; }
  .media-badge { right: 12px; }
}

/* ── Phases ─────────────────────────────────────────────────────────────── */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.phase { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; overflow: hidden; }
.phase::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--blue-100); }
.phase:nth-child(1)::after, .phase:nth-child(2)::after, .phase:nth-child(3)::after { content: ''; position: absolute; left: 0; top: 0; height: 4px; background: var(--blue-600); }
.phase:nth-child(1)::after { width: 33%; }
.phase:nth-child(2)::after { width: 66%; }
.phase:nth-child(3)::after { width: 100%; }
.phase-tag { font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); }
.phase h3 { font-size: 1.625rem; margin: 10px 0 12px; }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro .lead { margin: 20px 0 30px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; transition: transform .25s, background .25s, color .25s; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq details p { padding: 0 26px 24px; max-width: 62ch; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 55%, var(--blue-500)); color: rgba(255, 255, 255, .88); padding-block: clamp(64px, 8vw, 104px); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 18px; max-width: 16em; }
.cta-band .eyebrow-light { color: var(--blue-200); }
.cta-band p { max-width: 38em; }
.cta-actions { display: grid; gap: 12px; }
.cta-mark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 520px; z-index: -1; fill: rgba(255, 255, 255, .07); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-items: start; } }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; white-space: normal; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .66); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr .8fr 1.2fr; gap: 48px; padding-block: 72px 56px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-weight: 500; }
.footer-title { font-family: var(--font-display); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 12px; }
.site-footer a { color: rgba(255, 255, 255, .72); transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--blue-400); margin-top: 4px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 26px 34px; display: grid; grid-template-columns: 1fr auto; gap: 10px 32px; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.footer-legal ul { display: flex; gap: 24px; grid-row: 1; grid-column: 2; }
.footer-disclaimer { grid-column: 1 / -1; max-width: 90ch; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } .footer-legal { grid-template-columns: 1fr; } .footer-legal ul { grid-row: auto; grid-column: auto; } }

/* ── Inner page hero ────────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(800px 460px at 92% -20%, rgba(47, 107, 240, .4), transparent 62%), var(--navy-800); color: rgba(255, 255, 255, .78); padding-block: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.022em; max-width: 17em; }
.page-hero .lead { color: rgba(255, 255, 255, .78); margin-top: 22px; max-width: 40em; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 10px; font-size: .875rem; margin-bottom: 22px; color: rgba(255, 255, 255, .55); }
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }
.page-hero .hero-mark { width: 480px; right: -60px; bottom: -120px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ── Detail blocks used on inner pages ──────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.profile-grid > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.profile-grid > div:last-child { border-right: 0; }
.profile-grid dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--blue-600); margin-bottom: 10px; font-family: var(--font-display); }
.profile-grid dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.25; }
.profile-grid p { margin-top: 8px; font-size: .9375rem; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr 1fr; } .profile-grid > div:nth-child(2) { border-right: 0; } .profile-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .profile-grid { grid-template-columns: 1fr; } .profile-grid > div { border-right: 0; border-bottom: 1px solid var(--line); } .profile-grid > div:last-child { border-bottom: 0; } }

.program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.program h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.program h3 .icon { color: var(--blue-600); width: 22px; height: 22px; }
.program ul, .bullet { margin-top: 16px; display: grid; gap: 9px; font-size: .9688rem; }
.program li, .bullet li { position: relative; padding-left: 26px; }
.program li::before, .bullet li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2.4px solid var(--blue-600); border-bottom: 2.4px solid var(--blue-600); transform: rotate(-45deg); }

.payload { background: var(--navy-800); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow); font-size: .9375rem; }
.payload-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.125rem; }
.payload-head span { font-family: var(--font-body); font-size: .75rem; font-weight: 500; color: var(--green-500); display: inline-flex; align-items: center; gap: 8px; }
.payload-head span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.payload dl { margin: 0; }
.payload dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.payload dl > div:last-child { border-bottom: 0; }
.payload dt { color: rgba(255, 255, 255, .55); }
.payload dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }
.payload-note { margin-top: 14px; font-size: .75rem; color: rgba(255, 255, 255, .5); }

.timeline { display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.timeline > li { display: grid; grid-template-columns: 64px 1fr; gap: 28px; position: relative; padding-bottom: 44px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ''; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.timeline > li:last-child::before { display: none; }
.timeline-num { width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--blue-600); }
.timeline h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.timeline .bullet { margin-top: 14px; }
@media (max-width: 560px) { .timeline > li { grid-template-columns: 48px 1fr; gap: 18px; } .timeline-num { width: 48px; height: 48px; border-radius: 14px; font-size: 1.125rem; } .timeline > li::before { left: 23px; top: 48px; } }

.service-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .card-icon { width: 64px; height: 64px; border-radius: 18px; }
.service-row .card-icon .icon { width: 28px; height: 28px; }
.service-row h3 { font-size: 1.625rem; margin-bottom: 12px; }
.service-row .link { margin-top: 18px; }
.service-row .bullet { margin-top: 6px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; } }

.photo-band { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.photo-band img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .photo-band { grid-template-columns: 1fr 1fr; } .photo-band img { height: 220px; } .photo-band img:first-child { grid-column: 1 / -1; } }

.value { padding: 30px 0 0; border-top: 2px solid var(--ink); }
.value h3 { font-size: 1.4375rem; margin-bottom: 10px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.625rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.prose .updated { font-size: .9375rem; color: var(--muted); margin-bottom: 36px; }

.feature { padding: 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .035); transition: background .25s, border-color .25s; }
.feature:hover { background: rgba(255, 255, 255, .07); border-color: rgba(79, 139, 255, .5); }
.feature > .icon { width: 30px; height: 30px; color: var(--blue-400); }
.feature h3 { margin: 20px 0 10px; }
.feature p { font-size: 1rem; }
.fineprint { margin-top: 40px; font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .5); max-width: 100ch; }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.75rem; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1rem; }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(30, 88, 219, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red-500); }
.field .error { font-size: .8125rem; color: var(--red-500); display: none; }
.field.is-invalid .error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.55; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue-600); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: .9375rem; }
.form-status.ok { color: var(--green-500); font-weight: 500; }
.form-status.err { color: var(--red-500); font-weight: 500; }
.brief-attached { display: none; grid-column: 1 / -1; background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9375rem; color: var(--ink); }
.brief-attached.is-on { display: block; }
.brief-attached strong { font-family: var(--font-display); }
.brief-attached button { background: none; border: 0; color: var(--blue-600); cursor: pointer; padding: 0; margin-left: 8px; text-decoration: underline; font-size: .875rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.side-card { background: var(--mist); border-radius: var(--radius-lg); padding: 30px; }
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { margin-bottom: 18px; }
.side-list { display: grid; gap: 16px; }
.side-list li { display: flex; gap: 14px; align-items: flex-start; overflow-wrap: anywhere; }
.side-list .icon { color: var(--blue-600); width: 20px; height: 20px; margin-top: 4px; }
.side-list small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.next-steps { counter-reset: n; display: grid; gap: 18px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 14px; font-size: .9688rem; }
.next-steps li::before { content: counter(n); width: 34px; height: 34px; border-radius: 10px; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.next-steps strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }

/* ── Motion ─────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
