/* Self-hosted fonts (Fontsource, SIL Open Font License), Latin subset only. */
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url(/fonts/poppins-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --navy: #0b2350;      /* logo lettering */
  --navy-2: #071833;
  --navy-3: #12305f;
  --ink: #0e1a2e;
  --text: #3a4659;
  --muted: #66728a;
  --line: #e2e7ef;
  --bg: #ffffff;
  --tint: #f3f6fa;
  --lime: #7cc943;
  --green: #2bb35a;
  --teal: #2ec4a6;
  --blue: #1f5cff;
  --grad: linear-gradient(100deg, var(--lime) 0%, var(--teal) 50%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,201,67,.14), rgba(46,196,166,.12) 50%, rgba(31,92,255,.12));

  --display: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --shadow: 0 1px 2px rgba(11,35,80,.05), 0 18px 40px -18px rgba(11,35,80,.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 22px; height: 22px; flex: none; }
.i-arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.eyebrow-light { color: #b9c7e0; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); max-width: 34em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-grad { color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 10px 26px -10px rgba(31,92,255,.6); }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(46,196,166,.7); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { color: #fff; background: var(--navy); }
.btn-dark:hover { background: var(--navy-3); box-shadow: var(--shadow); }

/* Header: transparent over the dark hero, solid once scrolled (and on inner pages) */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { position: relative; display: block; }
.brand img { height: 30px; width: auto; transition: opacity .3s; }
.logo-light { position: absolute; inset: 0; }
.logo-dark { opacity: 0; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; font: 500 .96rem/1 var(--body); padding: 8px 0; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px !important; border-radius: 999px; color: #fff !important; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.nav-cta:hover { background: rgba(255,255,255,.2); }
.site-header.is-solid, .page .site-header { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(11,35,80,.4); }
.site-header.is-solid .logo-dark, .page .logo-dark { opacity: 1; }
.site-header.is-solid .logo-light, .page .logo-light { opacity: 0; }
.site-header.is-solid .nav a, .page .nav a { color: var(--text); }
.site-header.is-solid .nav a:hover, .page .nav a:hover { color: var(--navy); }
.site-header.is-solid .nav-cta, .page .nav-cta { background: var(--navy); box-shadow: none; color: #fff !important; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 26px; }
.is-solid .menu-btn, .page .menu-btn { border-color: var(--line); }
.is-solid .menu-btn span, .page .menu-btn span { background: var(--navy); }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-2); color: #c9d4e8; padding: 150px 0 40px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 82% 30%, rgba(46,196,166,.22), transparent 70%),
    radial-gradient(520px 380px at 12% 90%, rgba(31,92,255,.22), transparent 70%),
    radial-gradient(900px 600px at 50% -10%, #12305f, transparent 70%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { color: #c9d4e8; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font: 500 .84rem/1 var(--body); color: #dfe7f5; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(124,201,67,.25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(124,201,67,0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .94rem; color: #dfe7f5; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .i { width: 18px; height: 18px; color: var(--teal); }

/* Hero orb */
.hero-art { display: grid; place-items: center; }
.orb { position: relative; width: min(100%, 480px); aspect-ratio: 1; }
.orb-svg { width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.2; stroke-dasharray: 3 9; transform-origin: 240px 240px; }
.ring-1 { animation: spin 60s linear infinite; }
.ring-2 { stroke: rgba(46,196,166,.35); stroke-dasharray: 60 30 4 30; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.lines path { fill: none; stroke: var(--navy-2); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s var(--ease) forwards; }
.lines path.arc { stroke-width: 6; }
.lines circle { fill: var(--navy-2); opacity: 0; animation: pop .4s var(--ease) forwards; }
.lines path:nth-of-type(2) { animation-delay: .12s; } .lines path:nth-of-type(3) { animation-delay: .24s; } .lines path:nth-of-type(4) { animation-delay: .36s; } .lines path:nth-of-type(5) { animation-delay: .48s; }
.lines path:nth-of-type(6) { animation-delay: .6s; } .lines path:nth-of-type(7) { animation-delay: .72s; }
.lines circle:nth-of-type(1) { animation-delay: 1s; } .lines circle:nth-of-type(2) { animation-delay: 1.1s; } .lines circle:nth-of-type(3) { animation-delay: 1.2s; } .lines circle:nth-of-type(4) { animation-delay: 1.3s; } .lines circle:nth-of-type(5) { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font: 600 .86rem/1 var(--body); color: #fff; white-space: nowrap;
  background: rgba(14,32,66,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 16px 30px -14px rgba(0,0,0,.6); animation: float 7s ease-in-out infinite; }
.chip .i { width: 18px; height: 18px; color: var(--teal); }
.chip-1 { top: 10%; left: -4%; }
.chip-2 { top: 26%; right: -6%; animation-delay: -2s; }
.chip-3 { bottom: 20%; left: -8%; animation-delay: -4s; }
.chip-4 { bottom: 6%; right: 2%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Marquee of services under the hero */
.marquee { position: relative; margin-top: clamp(40px, 6vw, 70px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font: 600 .98rem/1 var(--display); color: #9fb0cf; }
.marquee .i { color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-copy p { font-size: 1.06rem; }

/* Service cards */
.services { background: var(--tint); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; padding: 30px 28px 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease); isolation: isolate; scroll-margin-top: 110px; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(11,35,80,.4); }
.card:hover::before, .card:target::before { opacity: 1; }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); color: var(--navy); margin-bottom: 22px; }
.card-icon .i { width: 26px; height: 26px; }
.card-n { position: absolute; top: 26px; right: 26px; font: 700 .9rem/1 var(--display); color: #c3cbd8; }
.card p { font-size: .97rem; }
.card ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .92rem; }
.card li { display: flex; gap: 8px; align-items: flex-start; }
.card li .i { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }

/* Statement band */
.statement { position: relative; overflow: hidden; background: var(--navy); padding: clamp(80px, 10vw, 120px) 0; }
.statement::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(46,196,166,.25), transparent); }
.statement p { position: relative; margin: 0; max-width: 18em; font: 700 clamp(1.9rem, 4.4vw, 3.4rem)/1.18 var(--display); letter-spacing: -.02em; color: #fff; }

/* Approach */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pillar { padding: 28px 24px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.pillar:hover { border-color: var(--teal); transform: translateY(-4px); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--lime); margin-bottom: 20px; }
.pillar p { margin: 0; font-size: .96rem; }

/* How we work */
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 96px); align-items: start; }
.how-grid .muted { margin-bottom: 28px; max-width: 30em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; font: 700 1.3rem/1 var(--display); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: .96rem; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--navy-2); color: #c9d4e8; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,92,255,.28), transparent); }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--teal); flex: none; }
.contact-list small { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #8597b8; margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-list div { color: #fff; }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.field { display: grid; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > span { font: 600 .82rem/1 var(--body); color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font-size: 16px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--tint); transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background-color: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46,196,166,.18); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot a { color: var(--navy); }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.is-ok { background: #e4f6ea; color: #145c2e; }
.form-status.is-err { background: #fde8e4; color: #8a2a17; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy-2); color: #8597b8; padding: 64px 0 28px; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { max-width: 22em; }
.footer-h { font: 600 .76rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 4px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.site-footer { position: relative; }
.site-footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }

/* Inner pages */
.page-head { padding: 150px 0 50px; background: var(--tint); margin-bottom: 60px; }
.page-404 { min-height: 70vh; display: flex; align-items: center; margin: 0; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--navy); text-underline-offset: 3px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 80px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px; background: var(--navy-2); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a, .is-solid .nav a, .page .nav a { color: #fff; font: 600 1.6rem/1.2 var(--display); padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { margin-top: 26px; justify-content: center; font: 600 1.05rem/1 var(--body) !important; background: var(--grad) !important; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--navy-2); box-shadow: none; }
  body.menu-open .logo-light { opacity: 1; } body.menu-open .logo-dark { opacity: 0; }
  body.menu-open .menu-btn { border-color: rgba(255,255,255,.35); } body.menu-open .menu-btn span { background: #fff; }
  .hero { padding-top: 120px; }
  .hero-grid, .about-grid, .how-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .orb { width: min(78vw, 380px); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 70px; }
  .nav { inset: 70px 0 0 0; }
  .brand img { height: 26px; }
  .hero { padding: 100px 0 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip { font-size: .74rem; padding: 8px 10px; gap: 6px; }
  .chip .i { width: 15px; height: 15px; }
  .chip-1 { left: -2%; } .chip-2 { right: -2%; } .chip-3 { left: -2%; } .chip-4 { right: 0; }
  .cards, .pillars { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 14px; }
  .form { grid-template-columns: 1fr; border-radius: 20px; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-head { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lines path { stroke-dashoffset: 0; } .lines circle { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Phones: bigger tap target on the logo, one-line kicker */
@media (max-width: 600px) {
  .brand { padding: 10px 0; }
  .logo-light { inset: 10px 0 auto 0; }
  .kicker { font-size: .76rem; padding: 7px 12px; }
}
@media (max-width: 380px) { .kicker-area { display: none; } }

/* Open mobile menu: always white text and the light logo on navy, even after the header
   has gone solid on scroll (those rules are more specific than the menu's own). */
@media (max-width: 900px) {
  .site-header .nav a, .site-header.is-solid .nav a, .page .site-header .nav a,
  .site-header.is-solid .nav a:hover, .page .site-header .nav a:hover { color: #fff; }
  body.menu-open .site-header, body.menu-open .site-header.is-solid { background: var(--navy-2); box-shadow: none; }
  body.menu-open .site-header .logo-light { opacity: 1; }
  body.menu-open .site-header .logo-dark { opacity: 0; }
  body.menu-open .site-header .menu-btn { border-color: rgba(255,255,255,.35); }
  body.menu-open .site-header .menu-btn span { background: #fff; }
}
