/* Owl Consultations — "Midnight Shield" theme.
   Layout: one centred container (max 1160px), full-bleed bands alternate white / soft / navy. */
:root {
  --navy: #0b1d48;
  --navy-900: #07122f;
  --navy-700: #13285e;
  --teal-700: #106063;
  --teal: #189b9c;
  --teal-300: #5fc9c9;
  --ink: #16233f;
  --muted: #4a5873;
  --line: #dbe2ec;
  --soft: #f3f6fa;
  --white: #ffffff;
  --on-navy: #c9d3e3;
  --f-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 29, 72, .06), 0 8px 24px rgba(11, 29, 72, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0; max-width: 64ch; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow { max-width: none; font-family: var(--f-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700); }
.lead { font-size: 1.15rem; color: var(--muted); }
.placeholder { background: #fff4d6; color: #6b4b00; border: 1px dashed #c99a2e; border-radius: 4px; padding: 0 4px; font-size: .92em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 600 1rem/1 var(--f-head); text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-head); }
.brand-owl { font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; color: var(--navy); }
.brand-sub { font-weight: 700; font-size: .6rem; letter-spacing: .22em; color: var(--teal-700); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font: 600 .95rem/1 var(--f-head); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }
/* Dropdown lists under the desktop menu: open on hover or keyboard focus */
.dd { position: relative; }
.dd-top { display: inline-flex; align-items: center; gap: 5px; }
.dd-top .chev { transition: transform .15s; }
.dd:hover .chev, .dd:focus-within .chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 12px); left: -18px; z-index: 60; width: 300px; display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(11, 29, 72, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* keeps the list open while the pointer moves down to it */
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu.dd-wide { width: 560px; grid-template-columns: 1fr 1fr; }
.nav .dd-menu a:not(.btn) { display: grid; align-content: start; gap: 4px; padding: 10px 12px; border: 0; border-radius: 8px; font: 400 .85rem/1.35 var(--f-body); color: var(--muted); }
.nav .dd-menu a:not(.btn):hover, .nav .dd-menu a:not(.btn):focus-visible { background: var(--soft); color: var(--muted); }
.dd-menu strong { font: 600 .95rem/1.2 var(--f-head); color: var(--navy); }
.nav .dd-menu a.dd-all:not(.btn) { grid-column: 1 / -1; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0; font: 600 .88rem/1 var(--f-head); color: var(--teal-700); }
.nav .dd-menu a.dd-all:not(.btn):hover { background: none; color: var(--navy); }
/* Services & Products: one wide list, aligned to the header's right edge so it fits laptop widths */
.header-row { position: relative; }
.dd.dd-mega { position: static; }
.dd-mega .dd-menu.mega { left: auto; right: 20px; top: calc(100% - 6px); width: min(860px, calc(100% - 40px)); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; padding: 14px; }
.dd-mega .dd-menu::before { top: -20px; height: 20px; }
.mega-col { display: grid; align-content: start; gap: 2px; }
.mega-side { border-left: 1px solid var(--line); padding-left: 12px; margin-left: 12px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-h { padding: 6px 12px 8px; font: 700 .72rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
@media (prefers-reduced-motion: reduce) { .dd-menu, .dd-top .chev { transition: none; } }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font: 600 .95rem/1 var(--f-head); color: var(--navy); }
.menu summary::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .nav-mobile { position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav-mobile a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { margin-top: 16px; }
}

/* Sections */
.band { padding-block: clamp(64px, 9vw, 104px); }
.band-soft { background: var(--soft); }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--teal-300); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(95,201,201,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(95,201,201,.07) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000 55%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: clamp(64px, 10vw, 120px); }
.hero h1 { color: #fff; margin-top: 16px; }
.hero .eyebrow { color: var(--teal-300); }
.hero .lead { color: var(--on-navy); margin-top: 20px; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding: 0; list-style: none; font-size: .95rem; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--teal-300); flex: none; }
/* "What we watch" status panel */
.watch { position: relative; background: rgba(7, 18, 47, .72); border: 1px solid rgba(95, 201, 201, .28); border-radius: 14px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); backdrop-filter: blur(4px); }
.watch::before, .watch::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--teal-300); border-style: solid; }
.watch::before { top: -9px; left: -9px; border-width: 2px 0 0 2px; }
.watch::after { bottom: -9px; right: -9px; border-width: 0 2px 2px 0; }
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(201, 211, 227, .14); }
.watch-title { font: 700 .95rem/1.2 var(--f-head); color: #fff; }
.watch-live { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-300); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 0 rgba(95, 201, 201, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 201, 201, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(95, 201, 201, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.watch-list { list-style: none; display: grid; }
.watch-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(201, 211, 227, .08); }
.watch-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.watch-icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(95, 201, 201, .12); color: var(--teal-300); }
.watch-text { display: grid; gap: 2px; min-width: 0; }
.watch-text strong { font: 600 .95rem/1.25 var(--f-head); color: #fff; }
.watch-text span { font-size: .85rem; line-height: 1.35; color: var(--on-navy); }
.pill { font: 600 .74rem/1 var(--f-head); letter-spacing: .04em; color: #0b1d48; background: var(--teal-300); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Audience strip */
.strip { border-bottom: 1px solid var(--line); }
.strip-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item svg { color: var(--teal); flex: none; margin-top: 3px; }
.strip-item strong { display: block; font-family: var(--f-head); color: var(--navy); font-size: 1rem; }
.strip-item span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .strip-row { grid-template-columns: 1fr; } .strip-item, .strip-item:first-child { border-left: 0; padding-inline: 0; border-top: 1px solid var(--line); } .strip-item:first-child { border-top: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cards.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.control { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.control h3 { font-size: 1.05rem; margin-bottom: 6px; }
.control p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .controls { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; font: 600 .92rem/1 var(--f-head); color: var(--teal-700); padding-top: 6px; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #e6f3f3; color: var(--teal-700); }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks svg { color: var(--teal); margin-top: 4px; }
.quote { border-left: 3px solid var(--teal); padding: 4px 0 4px 20px; font: 600 1.15rem/1.5 var(--f-head); color: var(--navy); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }

/* OwlRx feature */
.product-video { margin: 0; display: grid; gap: 14px; }
.product-video video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--navy-900); box-shadow: 0 24px 60px rgba(11, 29, 72, .22); }
.video-wrap { position: relative; }
.sound-btn { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(7, 18, 47, .82); color: #fff; font: 600 .9rem/1 var(--f-head); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.sound-btn:hover { background: var(--teal); }
.sound-btn:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 2px; }
.product-video figcaption { font-size: .9rem; color: var(--muted); text-align: center; }
.feature-navy { background: var(--navy); border-radius: 14px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; color: var(--on-navy); }
.feature-navy h2 { color: #fff; }
.feature-navy .eyebrow { color: var(--teal-300); }
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { padding: 14px 16px; border: 1px solid rgba(201,211,227,.22); border-radius: 8px; color: #fff; font-weight: 500; }
@media (max-width: 860px) { .feature-navy { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; display: grid; gap: 10px; padding-top: 18px; border-top: 3px solid var(--teal); }
.steps li::before { content: "0" counter(step); font: 800 .9rem/1 var(--f-head); letter-spacing: .1em; color: var(--teal-700); }
.steps p { color: var(--muted); font-size: .98rem; }

/* Results */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; } }
.result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.result .num { font: 800 2.2rem/1 var(--f-head); color: var(--navy); font-variant-numeric: tabular-nums; }
.result p { color: var(--muted); font-size: .98rem; }
.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h2 { font-size: 1.35rem; margin-top: 22px; }
.prose ul { display: grid; gap: 10px; padding-left: 1.2em; }
.prose p, .prose li { color: var(--ink); line-height: 1.7; }
.results.results-single { grid-template-columns: 1fr; }
.result-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 40px); }
.result-wide .num { display: block; margin-bottom: 12px; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.result-wide .to { color: var(--teal); }
.result-wide p strong { color: var(--navy); }
.score { display: grid; gap: 16px; }
.score-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 52px; gap: 12px; align-items: center; font: 600 .85rem/1 var(--f-head); color: var(--muted); }
.score-row b { color: var(--navy); text-align: right; }
.bar { height: 12px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: #b9c4d6; transform-origin: 0 50%; }
.bar i.good { background: linear-gradient(90deg, var(--teal-700), var(--teal-300)); }
@media (max-width: 760px) { .result-wide { grid-template-columns: 1fr; } }

/* CTA */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: var(--on-navy); margin-top: 12px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-navy); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 110px; }
.footer-brand p { margin-top: 14px; font: 600 .95rem/1.4 var(--f-head); color: var(--teal-300); }
.footer-h { font: 700 .78rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(201,211,227,.15); font-size: .88rem; color: #9fb0c9; }

/* Inner page hero */
.page-hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(95,201,201,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(95,201,201,.07) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.page-hero .container { position: relative; display: grid; gap: 16px; padding-block: clamp(56px, 8vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; }
.page-hero .eyebrow { color: var(--teal-300); }
.page-hero .eyebrow a { color: inherit; }
.page-hero .lead { color: var(--on-navy); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; list-style: none; }
.subnav a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid rgba(201,211,227,.3); border-radius: 999px; color: #fff; text-decoration: none; font: 600 .88rem/1 var(--f-head); }
.subnav a:hover { border-color: var(--teal-300); color: #fff; }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-intro { display: grid; gap: 16px; align-content: start; }
.svc-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-lists > div { background: var(--soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.svc-lists h3 { font-size: 1rem; }
.svc-lists ul { list-style: none; display: grid; gap: 10px; }
.svc-lists li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: .98rem; }
.svc-lists li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--teal); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .svc-lists { grid-template-columns: 1fr; } }

/* People */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; }
@media (max-width: 620px) { .people { grid-template-columns: 1fr; } }
.person { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 1.2rem/1 var(--f-head); flex: none; }
.person strong { display: block; font-family: var(--f-head); color: var(--navy); }
.person span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font: 600 .9rem/1.2 var(--f-head); color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b9c4d4; border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(24,155,156,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); }
.contact-side { display: grid; gap: 16px; }
.contact-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-item strong { display: block; font-family: var(--f-head); color: var(--navy); font-size: .95rem; }
.contact-item a, .contact-item span { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--teal-700); text-decoration: underline; }

/* ---------- Motion ---------- */
/* Header gains depth once the page scrolls (class set by site.js) */
.site-header { transition: box-shadow .25s, background .25s; }
.site-header.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 6px 24px rgba(11, 29, 72, .08); }

/* Small hover touches */
.btn { transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(24, 155, 156, .28); }
.card .icon { transition: background .2s, color .2s, transform .2s; }
a.card:hover .icon { background: var(--teal); color: #fff; transform: scale(1.06); }

@media (prefers-reduced-motion: no-preference) {
  /* Hero and page headers: content rises in on load */
  .hero-grid > div > *, .page-hero .container > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-grid > div > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .08s; }
  .hero-grid > div > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .16s; }
  .hero-grid > div > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: .24s; }
  .hero-grid > div > :nth-child(5), .page-hero .container > :nth-child(5) { animation-delay: .32s; }

  /* The watch panel slides in, checks each row, then keeps scanning */
  .watch { animation: rise-side .8s cubic-bezier(.2, .7, .2, 1) .25s both; }
  .watch-list li { animation: row-in .5s ease both; }
  .watch-list .pill { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; }
  .watch-list li:nth-child(1) { animation-delay: .65s; } .watch-list li:nth-child(1) .pill { animation-delay: .9s; }
  .watch-list li:nth-child(2) { animation-delay: .8s; }  .watch-list li:nth-child(2) .pill { animation-delay: 1.05s; }
  .watch-list li:nth-child(3) { animation-delay: .95s; } .watch-list li:nth-child(3) .pill { animation-delay: 1.2s; }
  .watch-list li:nth-child(4) { animation-delay: 1.1s; } .watch-list li:nth-child(4) .pill { animation-delay: 1.35s; }
  .watch-list li:nth-child(5) { animation-delay: 1.25s; } .watch-list li:nth-child(5) .pill { animation-delay: 1.5s; }
  .watch-list { position: relative; }
  .watch-list::after { content: ""; position: absolute; left: -22px; right: -22px; top: 0; height: 2px; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent, var(--teal-300), transparent); box-shadow: 0 0 14px 2px rgba(95, 201, 201, .45);
    animation: scan 5s ease-in-out 2.2s infinite; }

  /* Background grid drifts slowly */
  .hero::before, .page-hero::before { animation: drift 10s linear infinite; }

  /* Content below the fold glides in as it is reached (site.js adds data-reveal / .in) */
  .motion [data-reveal] { opacity: 0; }
  .motion [data-reveal].in { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 80ms); }

  @keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: none; } }
  @keyframes rise-side { from { opacity: 0; translate: 24px 0; } to { opacity: 1; translate: none; } }
  @keyframes row-in { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: none; } }
  @keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
  @keyframes scan { 0% { top: 0; opacity: 0; } 8%, 46% { opacity: .9; } 54%, 100% { top: 100%; opacity: 0; } }
  @keyframes drift { to { background-position: 32px 32px, 32px 32px; } }
}
@media print { [data-reveal] { opacity: 1 !important; animation: none !important; } }

@media (prefers-reduced-motion: no-preference) {
  /* Secure Score bars fill once the result scrolls into view */
  .motion [data-reveal].in .bar i { animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) .35s both; }
  .motion [data-reveal].in .bar i.good { animation-delay: .6s; }
  @keyframes grow { from { scale: 0 1; } to { scale: 1 1; } }
}
