/* Blue Pixel Media agency site. Shared by every page under agency-site/.
   Same palette and type as the boat dealer page (/boat-dealership-ads/), with light sections mixed in. */

:root {
  --abyss: #050f1c;
  --navy: #08192b;
  --panel: #0f2438;
  --panel2: #132c43;
  --teal: #35d0c0;
  --teal-hi: #5fe6d8;
  --teal-ink: #04222b;
  --teal-deep: #0b7a71;
  --sand: #f4ead9;
  --ink: #eaf2f8;
  --muted: #8fa6b8;
  --hair: rgba(255,255,255,.1);
  --hair2: rgba(255,255,255,.16);

  --paper: #f6f4ef;
  --white: #ffffff;
  --text: #0b1b2b;
  --slate: #4a5d6e;
  --line: rgba(11,27,43,.1);

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--teal); color: var(--teal-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--abyss); color: var(--ink); }
.section--navy { background: var(--navy); color: var(--ink); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--teal); }
.display { font-family: var(--serif); letter-spacing: -.02em; color: var(--text); }
.display em { font-style: italic; color: var(--teal-deep); }
.section--dark .display, .section--navy .display, .hero .display, .page-hero .display { color: var(--sand); }
.section--dark .display em, .section--navy .display em, .hero .display em, .page-hero .display em { color: var(--teal-hi); }
.h-xl { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; }
.h-lg { font-size: clamp(34px, 4.6vw, 58px); }
.h-md { font-size: clamp(26px, 3vw, 38px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); max-width: 640px; }
.section--dark .lead, .section--navy .lead, .hero .lead, .page-hero .lead { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .display { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0; background: var(--teal); color: var(--teal-ink); font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(53,208,192,.8); transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--teal-hi); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(11,27,43,.04); }
.hero .btn-ghost, .section--dark .btn-ghost, .section--navy .btn-ghost, .page-hero .btn-ghost { color: var(--ink); border-color: var(--hair2); }
.hero .btn-ghost:hover, .section--dark .btn-ghost:hover, .section--navy .btn-ghost:hover, .page-hero .btn-ghost:hover { background: rgba(255,255,255,.06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 32px; }
.link { color: var(--teal-deep); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }
.section--dark .link, .section--navy .link { color: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11,27,43,.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; color: var(--slate); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: var(--text); background: rgba(11,27,43,.05); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(11,27,43,.06); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.nav-open .menu-btn .x { display: block; }
.nav-open .menu-btn .bars { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .brand img { width: 148px; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(11,27,43,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav .btn { margin: 10px 0 0; }
}

/* Home hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 85% 0%, rgba(53,208,192,.16), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(19,44,67,.95), transparent 70%), var(--abyss); color: var(--ink); padding: clamp(64px, 9vw, 120px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero .lead { margin-top: 24px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hair2); color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.hero-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.hero .display { margin-top: 0; }

.board { position: relative; display: grid; gap: 14px; }
.metric { border-radius: var(--radius); padding: 22px 24px; background: linear-gradient(180deg, rgba(19,44,67,.95), rgba(15,36,56,.95)); border: 1px solid var(--hair); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; }
.metric .v { font-family: var(--serif); color: var(--sand); font-size: clamp(36px, 4vw, 50px); line-height: 1; }
.metric .v small { font-size: .5em; color: var(--muted); margin-left: 4px; }
.metric .l { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }
.metric .tag { align-self: start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.metric .tag.alt { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid var(--hair2); }
.metric.lift { margin-left: clamp(0px, 4vw, 48px); }
.board .spark { width: 100%; height: 46px; grid-column: 1 / -1; margin-top: 6px; }

.trust { position: relative; margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--hair); padding: 28px 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.trust p { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; }
.trust li { color: var(--sand); font-family: var(--serif); font-size: 20px; opacity: .9; }
.trust img { width: auto; opacity: .9; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(800px 420px at 90% 0%, rgba(53,208,192,.14), transparent 60%), var(--abyss); color: var(--ink); padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); }
.page-hero .wrap { position: relative; }
.page-hero .display { margin-top: 18px; max-width: 900px; }
.page-hero .lead { margin-top: 22px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); border-color: rgba(11,122,113,.35); box-shadow: 0 24px 50px -30px rgba(11,27,43,.35); }
.card h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 26px); color: var(--text); line-height: 1.2; }
.card p { color: var(--slate); font-size: 16px; margin-top: 10px; }
.card .link { margin-top: 14px; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(53,208,192,.18), rgba(53,208,192,.06)); color: var(--teal-deep); margin-bottom: 20px; border: 1px solid rgba(11,122,113,.14); }
.icon svg { width: 26px; height: 26px; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px; }
.card.card--feature { background: var(--navy); border-color: var(--navy); color: var(--ink); }
.card.card--feature h3 { color: var(--sand); }
.card.card--feature p { color: var(--muted); }
.card.card--feature .icon { background: rgba(53,208,192,.12); color: var(--teal); border-color: rgba(53,208,192,.25); }
.card.card--feature .link { color: var(--teal); }
a.card.card--feature:hover { border-color: rgba(53,208,192,.5); }
.card--dashed { background: transparent; border-style: dashed; }

/* Dark cards (results) */
.section--dark .card, .section--navy .card { background: linear-gradient(180deg, rgba(19,44,67,.92), rgba(15,36,56,.92)); border-color: var(--hair); }
.section--dark .card h3, .section--navy .card h3 { color: var(--sand); }
.section--dark .card p, .section--navy .card p { color: var(--muted); }
.result .v { font-family: var(--serif); color: var(--teal-hi); font-size: clamp(42px, 5vw, 60px); line-height: 1; }
.result .who { margin-top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.result p { margin-top: 8px; }
.note { font-size: 13px; color: var(--slate); }
.section--dark .note, .section--navy .note { color: var(--muted); }

/* Steps */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: italic 400 28px/1 var(--serif); color: var(--teal-deep); margin-bottom: 18px; }
.steps h3 { font-family: var(--serif); font-size: 23px; color: var(--text); line-height: 1.2; }
.steps p { color: var(--slate); font-size: 16px; margin-top: 8px; }

/* Split layout */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 40px 80px -50px rgba(11,27,43,.6); }
.media img { width: 100%; }
.media--dark { background: var(--navy); border-color: var(--hair); display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); }
.portrait { width: min(340px, 80%); margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(11,27,43,.25)); }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--teal-deep); }
.ticks b { color: var(--text); }
.quote { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--teal); background: var(--paper); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--text); }

/* Case studies */
.case { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.case + .case { margin-top: 22px; }
.case > * { min-width: 0; }
.case h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); color: var(--text); }
.case .kind { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.case p { color: var(--slate); margin-top: 14px; }
.case dl { margin: 24px 0 0; display: grid; gap: 14px; }
.case dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.case dd { margin: 4px 0 0; color: var(--slate); }
.kpi { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--navy); color: var(--ink); }
.kpi b { font-family: var(--serif); font-weight: 400; color: var(--teal-hi); font-size: 34px; line-height: 1; }
.kpi span { color: var(--muted); font-size: 14px; }
.kpis { display: flex; flex-wrap: wrap; gap: 12px; }
.case .media { box-shadow: none; }
.logo-tile { display: grid; place-items: center; min-height: 240px; background: var(--navy); border-radius: var(--radius); padding: 40px; }
.logo-tile img { width: min(320px, 80%); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); background: radial-gradient(700px 360px at 100% 0%, rgba(53,208,192,.2), transparent 60%), var(--navy); color: var(--ink); display: grid; gap: 28px; align-items: center; }
.cta .display { color: var(--sand); }
.cta .display em { color: var(--teal-hi); }
.cta p { color: var(--muted); margin-top: 14px; max-width: 560px; }

/* Contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(11,27,43,.6); }
.form-card h2 { font-family: var(--serif); font-size: 28px; }
.form-card > p { color: var(--slate); margin: 8px 0 20px; }
.form-intro { color: var(--slate); margin: 8px 0 22px; }
.fields { display: grid; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(11,27,43,.18); background: var(--white); font: inherit; font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(53,208,192,.22); }
.field [aria-invalid="true"] { border-color: #c4320a; }
.err { color: #b42318; font-size: 13px; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { margin-top: 16px; }
.btn-block { width: 100%; margin-top: 20px; }
.form-error { color: #b42318; font-size: 14px; margin-top: 12px; }
.form-error:empty { display: none; }
.form-card .note { margin-top: 14px; }
.form-card .note a, .form-done a { color: var(--teal-deep); text-underline-offset: 3px; }
.form-done { text-align: center; padding: 28px 8px; outline: none; }
.form-done .done-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(53,208,192,.16); color: var(--teal-deep); margin-bottom: 18px; }
.form-done .done-mark svg { width: 30px; height: 30px; }
.form-done p { color: var(--slate); margin-top: 10px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.contact-list { list-style: none; display: grid; gap: 16px; margin-top: 32px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-list b { display: block; color: var(--sand); font-weight: 600; }
.contact-list span, .contact-list a { color: var(--muted); }

/* Blog */
.post-card { display: grid; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(11,27,43,.35); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }
.post-card div { padding: 24px; }
.post-card time { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.post-card h2 { font-family: var(--serif); font-size: 25px; margin-top: 8px; color: var(--text); }
.post-card p { color: var(--slate); font-size: 16px; margin-top: 10px; }

/* FAQ */
.faq-grid { display: grid; gap: clamp(8px, 3vw, 48px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s ease, box-shadow .3s ease; }
.faq-list details[open] { border-color: rgba(11,122,113,.35); box-shadow: 0 10px 30px rgba(11,27,43,.06); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 650; line-height: 1.35; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; font-weight: 400; line-height: 1; color: var(--teal-deep); transition: transform .3s var(--ease), background .3s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: rgba(53,208,192,.12); }
.faq-list .a { padding: 0 22px 20px; color: var(--slate); }
.faq-list .a a { color: var(--teal-deep); font-weight: 600; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 5fr 7fr; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; } }

/* Long form text: blog posts and legal pages */
.prose { max-width: 740px; margin: 0 auto; font-size: 18px; color: #22344a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); color: var(--text); margin-top: 1.8em; }
.prose h3 { font-family: var(--serif); font-size: 23px; color: var(--text); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--teal-deep); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose strong { color: var(--text); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--panel); }
.byline b { color: var(--ink); font-weight: 600; display: block; }
.post-hero-img { max-width: 900px; margin: -48px auto 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11,27,43,.6); }
.post-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Footer */
.site-footer { background: var(--abyss); color: var(--muted); padding: clamp(56px, 8vw, 88px) 0 32px; font-size: 15px; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand img { width: 168px; filter: brightness(0) invert(1); opacity: .92; }
.foot-brand p { margin-top: 16px; max-width: 320px; }
.site-footer h2 { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.foot-base ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip > :first-child { order: 2; }
  .case { grid-template-columns: 1.05fr .95fr; }
  .case.flip > :first-child { order: 2; }
  .cta { grid-template-columns: 1fr auto; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.page-hero .icon, .section--dark .icon, .section--navy .icon { background: rgba(53,208,192,.12); color: var(--teal); border-color: rgba(53,208,192,.25); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--ink); text-decoration: underline; }
