/* RIM Accounting Group — static stylesheet (hand-authored, no framework runtime) */

:root {
  --ink: #121a23;
  --graphite: #1d2630;
  --slate-deep: #263441;
  --blue: #0868f5;
  --blue-bright: #18aef5;
  --paper: #f5f7f9;
  --line: #dce3e9;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1280px;
  /* electric cyan-blue "plasma" — matches the glowing swoosh in the hero video */
  --plasma-core: #38bdf8;
  --plasma: #2f9bff;
  --plasma-deep: #1e6fff;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(8, 104, 245, .22); color: #08111d; }
.icon { display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }
.relative { position: relative; }
main { display: block; }

.skip-link {
  position: fixed; left: 1rem; top: .75rem; z-index: 200;
  transform: translateY(-150%); border-radius: .75rem; background: #fff;
  padding: .75rem 1rem; color: #075ddc; font-weight: 700;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .2); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- typography ---------- */
.eyebrow { color: #075ddc; font-size: .73rem; font-weight: 800; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow.dark { color: #93c5fd; }
.section-title { max-width: 18ch; color: var(--ink); font-size: clamp(2.15rem, 4.1vw, 4.4rem); font-weight: 620; letter-spacing: -.055em; line-height: .99; }
.section-title.dark { color: #fff; }
.section-head { max-width: 48rem; }
.section-head .lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1rem; line-height: 1.75; color: #475569; }
@media (min-width: 640px) { .section-head .lead { font-size: 1.125rem; } }
.section-head.dark .lead { color: #cbd5e1; }
.section-title-mt { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; cursor: pointer; align-items: center; justify-content: center; gap: .55rem;
  border-radius: .8rem; border: 1px solid transparent; font-weight: 750; letter-spacing: -.01em;
  height: 3.25rem; padding: 0 1.25rem; font-size: .94rem;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #1687ff; outline-offset: 3px; }
.btn[disabled] { cursor: not-allowed; opacity: .6; transform: none; }
.btn.sm { height: 2.75rem; padding: 0 1rem; font-size: .875rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(8, 104, 245, .24); }
.btn-primary:hover { background: #0758d8; box-shadow: 0 13px 34px rgba(8, 104, 245, .3); color: #fff; }
.btn-secondary { border-color: #cfd9e2; background: #fff; color: var(--ink); }
.btn-secondary:hover { border-color: #a8c9ef; background: #f1f7ff; color: #0758d8; }
.btn-on-dark { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; }
.btn-on-dark:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; }
.btn-white { background: #fff; color: #1e40af; border-color: #fff; }
.btn-white:hover { background: #fff; color: #1e40af; }
.link-arrow { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: #1d4ed8; }
.link-arrow:hover { color: #1e3a8a; }

/* ---------- header ---------- */
/* Full-width glass header, flush to the top. Transparent over the (dark) hero;
   becomes a frosted white bar with a thin cyan underline once scrolled. */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; }
.header-bar {
  position: relative; margin: 0 auto; display: flex; height: 74px; max-width: var(--wrap); align-items: center; justify-content: space-between;
  padding: 0 20px; background: transparent; border: 0;
  transition: background-color .35s ease, box-shadow .35s ease, height .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease;
}
@media (min-width: 640px) { .header-bar { padding: 0 32px; } }
@media (min-width: 1024px) { .header-bar { padding: 0 40px; height: 82px; } }
/* animated cyan hairline along the bottom edge (revealed on scroll) */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform: scaleX(0); transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--plasma-core) 20%, var(--plasma) 50%, var(--plasma-core) 80%, transparent);
  box-shadow: 0 0 12px rgba(56,189,248,.6); opacity: 0; transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease; }
.site-header.scrolled, .site-header.header-solid { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: rgba(255,255,255,.82); box-shadow: 0 8px 30px rgba(9,18,28,.1); }
.site-header.scrolled::after, .site-header.header-solid::after { transform: scaleX(1); opacity: 1; }

.brand { position: relative; display: block; flex-shrink: 0; width: 132px; height: 40px; }
@media (min-width: 640px) { .brand { width: 148px; } }
.brand img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; object-position: left center; transition: opacity .35s ease; }
.brand .logo-light { opacity: 1; } /* white logo over the dark hero */
.brand .logo-dark { opacity: 0; }
.site-header.scrolled .brand .logo-light, .site-header.header-solid .brand .logo-light { opacity: 0; }
.site-header.scrolled .brand .logo-dark, .site-header.header-solid .brand .logo-dark { opacity: 1; }

.nav-desktop { display: none; align-items: center; gap: .15rem; }
.header-actions { display: none; align-items: center; gap: .5rem; }
@media (min-width: 1024px) { .nav-desktop, .header-actions { display: flex; } }

.nav-link {
  position: relative; display: flex; min-height: 42px; align-items: center; border-radius: .6rem;
  padding: 0 .85rem; color: rgba(255,255,255,.82); font-size: .84rem; font-weight: 650;
  transition: color .25s ease, background-color .25s ease;
}
.nav-link::after {
  position: absolute; right: .85rem; bottom: .35rem; left: .85rem; height: 2px; transform: scaleX(0);
  border-radius: 2px; background: linear-gradient(90deg, var(--plasma), var(--plasma-core)); box-shadow: 0 0 8px rgba(56,189,248,.7);
  content: ""; transition: transform .3s cubic-bezier(.22,1,.36,1); transform-origin: left;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
/* scrolled / solid: dark text on the frosted bar */
.site-header.scrolled .nav-link, .site-header.header-solid .nav-link { color: #3b4957; }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active,
.site-header.header-solid .nav-link:hover, .site-header.header-solid .nav-link.active { color: #075ddc; background: rgba(8,104,245,.06); }

/* header buttons adapt to the transparent-over-hero vs scrolled states */
.icon-btn { display: flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: .7rem; border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.08); cursor: pointer; transition: color .25s, background-color .25s, border-color .25s; }
.icon-btn:hover { border-color: rgba(56,189,248,.6); background: rgba(56,189,248,.14); color: #fff; }
.site-header.scrolled .icon-btn, .site-header.header-solid .icon-btn { border-color: #e2e8f0; color: #334155; background: #fff; }
.site-header.scrolled .icon-btn:hover, .site-header.header-solid .icon-btn:hover { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.lang-btn { display: inline-flex; height: 2.6rem; align-items: center; justify-content: center; gap: .5rem; border-radius: .7rem; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); padding: 0 .875rem; font-size: .75rem; font-weight: 700; color: #fff; cursor: pointer; transition: color .25s, background-color .25s, border-color .25s; }
.lang-btn:hover { border-color: rgba(56,189,248,.6); background: rgba(56,189,248,.14); }
.site-header.scrolled .lang-btn, .site-header.header-solid .lang-btn { border-color: #e2e8f0; color: #1e293b; background: rgba(255,255,255,.9); }
.site-header.scrolled .lang-btn:hover, .site-header.header-solid .lang-btn:hover { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.menu-toggle { display: flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.lang-btn-wrap { display: block; margin-right: .25rem; }
@media (min-width: 1024px) { .lang-btn-wrap.mobile { display: none; } }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; top: 94px; z-index: 45; padding: 0 .75rem; opacity: 0; pointer-events: none; transition: opacity .24s ease; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-panel { display: flex; height: calc(100dvh - 106px); flex-direction: column; border-radius: 1.5rem; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.96); padding: 1.25rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transform: translateY(-.75rem); transition: transform .3s ease; }
.mobile-menu.open .mobile-panel { transform: translateY(0); }
.mobile-nav { margin-top: .5rem; display: flex; flex-direction: column; }
.mobile-nav a { display: flex; min-height: 4rem; align-items: center; justify-content: space-between; border-bottom: 1px solid #f1f5f9; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; color: #0f172a; }
.mobile-nav a.active { color: #1d4ed8; }
.mobile-nav .num { margin-right: 1rem; font-size: .75rem; font-weight: 700; color: #94a3b8; }
.mobile-cta { margin-top: auto; border-radius: 1rem; background: #020617; padding: 1.25rem; color: #fff; }
.mobile-cta p { font-size: .875rem; line-height: 1.5; color: #cbd5e1; }
.mobile-cta .btn { margin-top: 1.25rem; width: 100%; }

/* ---------- language modal ---------- */
.lang-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; padding: .75rem; background: rgba(2,6,23,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lang-modal.open { display: flex; }
@media (min-width: 640px) { .lang-modal { align-items: center; padding: 1.5rem; } }
.lang-sheet { position: relative; width: 100%; max-width: 32rem; max-height: calc(100dvh - 1.5rem); overflow: auto; border-radius: 2rem; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.78); padding: .5rem; box-shadow: 0 35px 100px rgba(2,12,27,.35); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); scrollbar-width: thin; }
.lang-sheet::after { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(128deg, rgba(255,255,255,.58), transparent 35%, rgba(25,181,255,.07) 70%, rgba(255,255,255,.36)); content: ""; pointer-events: none; }
.lang-glow { position: absolute; width: 16rem; height: 16rem; border-radius: 9999px; filter: blur(48px); pointer-events: none; }
.lang-glow.a { right: -5rem; top: -6rem; background: rgba(59,130,246,.2); }
.lang-glow.b { bottom: -7rem; left: -5rem; background: rgba(103,232,249,.2); }
.lang-inner { position: relative; border-radius: 1.55rem; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.58); padding: 1.25rem; }
@media (min-width: 640px) { .lang-inner { padding: 1.75rem; } }
.lang-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; }
.lang-badge { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 1rem; border: 1px solid #fff; background: rgba(255,255,255,.8); color: #1d4ed8; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lang-close { display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid #fff; background: rgba(255,255,255,.7); color: #334155; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: background-color .2s; }
.lang-close:hover { background: #fff; }
.lang-kicker { margin-top: 1.75rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: #1d4ed8; }
.lang-title { margin-top: .5rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -.04em; color: #020617; }
.lang-sub { margin-top: .5rem; font-size: .875rem; line-height: 1.5; color: #475569; }
.lang-options { margin-top: 1.75rem; display: grid; gap: .75rem; }
.lang-option { display: flex; min-height: 4.75rem; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid #fff; background: rgba(255,255,255,.66); padding: .875rem; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lang-option:hover { border-color: #dbeafe; background: #fff; }
.lang-option.active { border-color: #bfdbfe; background: rgba(239,246,255,.85); }
.lang-code { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: .75rem; background: #020617; color: #fff; font-size: .875rem; font-weight: 800; letter-spacing: .08em; }
.lang-option.active .lang-code { background: #2563eb; }
.lang-meta { min-width: 0; flex: 1; }
.lang-meta strong { display: block; font-size: 1rem; color: #020617; }
.lang-meta span { margin-top: .125rem; display: block; font-size: .75rem; color: #64748b; }
.lang-tick { display: flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid #e2e8f0; background: rgba(255,255,255,.6); color: transparent; }
.lang-option.active .lang-tick { border-color: #bfdbfe; background: #fff; color: #1d4ed8; }

/* ---------- decorative backgrounds ---------- */
.technical-grid { background-image: linear-gradient(rgba(122,141,159,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(122,141,159,.1) 1px, transparent 1px); background-size: 56px 56px; }
.dot-grid { background-image: radial-gradient(rgba(126,151,177,.28) 1px, transparent 1px); background-size: 18px 18px; }
.blue-orb { background: radial-gradient(circle, rgba(22,140,255,.36) 0, rgba(22,140,255,.06) 45%, transparent 72%); }
.bg-abs { position: absolute; inset: 0; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #0f1822; color: #fff; padding: 7rem 0 2.5rem; }
@media (min-width: 640px) { .hero { padding-top: 8rem; } }
@media (min-width: 1024px) { .hero { min-height: 900px; padding: 10rem 0 5rem; } }
.hero-grid { position: relative; display: grid; align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 2.5rem; } }
@media (min-width: 1280px) { .hero-grid { gap: 4rem; } }
.hero-copy { position: relative; z-index: 10; max-width: 42rem; padding: 2rem 0; }
@media (min-width: 1024px) { .hero-copy { padding: 3.5rem 0; } }
.hero-eyebrow { display: flex; align-items: center; gap: .75rem; }
.hero-eyebrow .rule { height: 1px; width: 2.5rem; background: #60a5fa; }
.hero-eyebrow p { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: #93c5fd; }
.hero h1 { margin-top: 2rem; font-size: clamp(3.25rem,6.1vw,6.5rem); font-weight: 600; line-height: .9; letter-spacing: -.072em; }
.hero h1 .accent { color: #60a5fa; }
.hero-text { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; line-height: 2rem; color: #cbd5e1; }
@media (min-width: 640px) { .hero-text { font-size: 1.25rem; } }
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-credit { margin-top: 1.75rem; display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: #94a3b8; }
.hero-credit .icon { color: #60a5fa; }
.hero-media { position: relative; min-height: 470px; }
@media (min-width: 1024px) { .hero-media { min-height: 650px; } }
.hero-photo-wrap { position: absolute; inset: 0; isolation: isolate; overflow: hidden; border-radius: 1.6rem; background: #142232; box-shadow: 0 35px 100px rgba(2,12,27,.36); -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%); mask-image: linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%); }
@media (min-width: 1024px) { .hero-photo-wrap { right: -7rem; } }
.hero-photo-wrap::after { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(10,20,31,.6) 0%, rgba(10,20,31,.08) 48%, transparent 76%), linear-gradient(0deg, rgba(10,19,29,.5), transparent 38%); content: ""; pointer-events: none; }
.scroll-zoom { width: 100%; height: 100%; overflow: hidden; }
.scroll-zoom-inner { width: 100%; height: 100%; will-change: transform; transform: scale(var(--sz-scale, 1.1)) translateY(var(--sz-y, -2%)); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; transform: scale(1.02); will-change: transform; }
.hero-sheen { position: absolute; top: -2.5rem; bottom: -2.5rem; left: 42%; z-index: 3; width: 6rem; transform: rotate(18deg); background: linear-gradient(to right, transparent, rgba(147,197,253,.1), transparent); filter: blur(6px); animation: sheen 2.2s cubic-bezier(.22,1,.36,1) .45s both; }
@keyframes sheen { 0% { transform: translateX(-35%) rotate(18deg); opacity: 0; } 35% { opacity: .42; } 100% { transform: translateX(70%) rotate(18deg); opacity: 0; } }
.hero-map { position: absolute; bottom: 3rem; left: 1rem; z-index: 10; display: flex; max-width: 280px; align-items: center; gap: .75rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.2); background: rgba(17,27,38,.8); padding: 1rem; color: #fff; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: border-color .2s, background-color .2s; }
.hero-map:hover { border-color: rgba(96,165,250,.4); background: rgba(21,35,53,.9); }
@media (min-width: 640px) { .hero-map { left: 2rem; } }
@media (min-width: 1024px) { .hero-map { bottom: 4rem; left: 2.5rem; } }
.hero-map .pin { display: flex; width: 2.75rem; height: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(59,130,246,.15); color: #93c5fd; }
.hero-map strong { display: block; font-size: .875rem; }
.hero-map .note { margin-top: .125rem; display: block; font-size: .75rem; color: #94a3b8; }
.hero-map .out { margin-left: auto; color: #94a3b8; }

/* ---------- hero (full-width autoplay video backdrop) ---------- */
.hero-full { overflow: clip; padding: 0; min-height: 0; background: #07111b; }
.hero-video-sticky { position: relative; height: 100svh; min-height: 34rem; max-height: 56rem; overflow: hidden; background: #07111b; }
.scroll-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #07111b; }
/* Legibility scrim: darker at the left where the headline sits. */
.hero-video-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg,rgba(4,11,19,.9) 0%,rgba(4,11,19,.62) 38%,rgba(4,11,19,.18) 68%,transparent 90%),linear-gradient(0deg,rgba(4,11,19,.86) 0%,rgba(4,11,19,.2) 34%,transparent 60%),linear-gradient(180deg,rgba(4,11,19,.6),transparent 22%); }

/* full-width inner: headline vertically centred */
.hero-full-inner { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; justify-content: center; padding-top: 5rem; pointer-events: none; }
.hero-headline { max-width: 40rem; pointer-events: auto; }
.hero-eyebrow { display: flex; align-items: center; gap: .75rem; }
.hero-eyebrow .rule { height: 1px; width: 2.5rem; background: #60a5fa; }
.hero-eyebrow p { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: #93c5fd; }
.hero-slogan { margin-top: 1.75rem; color: #fff; font-size: clamp(3rem,7vw,6.75rem); font-weight: 600; line-height: .9; letter-spacing: -.072em; text-shadow: 0 2px 40px rgba(4,11,19,.55); }
.hero-slogan .accent { color: #60a5fa; }
.hero-sub { margin-top: 1.5rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.7; color: #dbe4ef; text-shadow: 0 1px 20px rgba(4,11,19,.6); }
@media (min-width: 640px) { .hero-sub { font-size: 1.2rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-video-map { position: absolute; z-index: 7; top: auto; right: clamp(1.25rem,5vw,2.5rem); bottom: clamp(2.5rem,7vh,5rem); left: auto; max-width: 260px; padding: .75rem; }
.hero-video-map .pin { width: 2.5rem; height: 2.5rem; }
@media (max-width: 1023px) { .hero-video-map { display: none; } }

/* --- Phone hero: stop overlaying text on the video. Give the video its own
   visible stage at the top, then let headline/sub/buttons flow beneath it in
   normal document order so nothing covers the footage. --- */
@media (max-width: 767px) {
  .hero-full { background: #07111b; }
  /* container collapses to auto height = video stage + flowed copy below */
  .hero-video-sticky { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  /* video becomes a real block occupying the top of the hero (16:10-ish stage) */
  .scroll-video { position: relative; inset: auto; width: 100%; height: 58svh; min-height: 20rem; max-height: 30rem; }
  /* scrim only tints the video for its title-safe area, not the copy below */
  .hero-video-shade { bottom: auto; height: 58svh; min-height: 20rem; max-height: 30rem; background: linear-gradient(180deg,rgba(4,11,19,.55) 0%,rgba(4,11,19,.12) 30%,transparent 55%,rgba(4,11,19,.35) 100%); }
  /* content flows below the video instead of being absolutely centred over it */
  .hero-full-inner { position: relative; inset: auto; z-index: 6; padding: 1.75rem 0 2.5rem; justify-content: flex-start; }
  .hero-headline { max-width: none; }
  .hero-slogan { margin-top: 1rem; font-size: clamp(2.75rem,13vw,3.75rem); }
  .hero-sub { margin-top: 1rem; font-size: 1.02rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-actions .btn { justify-content: center; }
}

/* ---------- growth-chart motif (priorities section background) ---------- */
/* Fully scroll-driven and reversible: --gm (0..1) is set by JS from scroll
   progress. Scroll down builds the chart (bars grow, line draws, tip appears);
   scroll up reverses it. There are 6 bars, so each bar i fills over the window
   [i/6 .. i/6 + 0.5] of --gm for a left-to-right stagger that also unwinds. */
.growth-motif { --gm: 0; position: absolute; z-index: 0; right: -2rem; top: 50%; transform: translateY(-50%); width: min(46rem, 60%); max-width: 640px; opacity: .5; pointer-events: none; }
@media (max-width: 1023px) { .growth-motif { right: -6rem; top: 8%; transform: none; width: 34rem; opacity: .28; } }
.growth-motif svg { width: 100%; height: auto; overflow: visible; }
/* per-bar local progress: clamp((gm - i/6) / 0.5, 0, 1) */
.growth-motif .gm-bar {
  transform-origin: 50% 100%; transform-box: fill-box;
  --gm-b: clamp(0, calc((var(--gm) - var(--i) * 0.1666) / 0.5), 1);
  transform: scaleY(var(--gm-b));
  transition: transform .12s linear;
}
/* trend line: stroke-dashoffset from full length (620) down to 0 as --gm -> 1 */
.growth-motif .gm-line { stroke-dasharray: 620; stroke-dashoffset: calc(620 - var(--gm) * 620); filter: drop-shadow(0 0 6px rgba(56,189,248,.6)); transition: stroke-dashoffset .12s linear; }
/* tip appears only once the line is essentially complete, then pulses */
.growth-motif .gm-tip { opacity: clamp(0, calc((var(--gm) - 0.85) / 0.1), 1); filter: drop-shadow(0 0 8px rgba(56,189,248,.9)); transition: opacity .2s linear; }
.growth-motif.gm-full .gm-tip { animation: gmTipPulse 2.4s ease-in-out infinite; }
@keyframes gmTipPulse { 0%,100% { r: 7; } 50% { r: 9; } }
/* gentle continuous grid shimmer (independent of scroll) */
.growth-motif .gm-grid { animation: gmShimmer 6s ease-in-out infinite; }
@keyframes gmShimmer { 0%,100% { opacity: .12; } 50% { opacity: .24; } }
@media (prefers-reduced-motion: reduce) {
  .growth-motif .gm-bar { transform: scaleY(1); }
  .growth-motif .gm-line { stroke-dashoffset: 0; }
  .growth-motif .gm-tip { opacity: 1; }
  .growth-motif .gm-grid { animation: none; }
  .growth-motif.gm-full .gm-tip { animation: none; }
}

/* ---------- trust strip (separate liquid cards) ---------- */
.trust-section { position: relative; z-index: 10; margin-top: 0; padding-top: 3rem; padding-bottom: 1.5rem; background: var(--paper); }
@media (min-width: 1024px) { .trust-section { padding-top: 3.5rem; padding-bottom: 2rem; } }
.trust-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4,1fr); gap: 1.25rem; } }
.trust-item { position: relative; display: flex; min-height: 7rem; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid #e6ebf1; background: #fff; padding: 1.25rem 1.4rem; box-shadow: 0 12px 40px rgba(15,23,42,.06); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.trust-item:hover { transform: translateY(-3px); box-shadow: 0 20px 55px rgba(15,60,140,.12); }
.trust-item .ic { position: relative; z-index: 2; display: flex; width: 2.75rem; height: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .8rem; background: #eff6ff; color: #1d4ed8; transition: background-color .3s ease, color .3s ease; }
.trust-item:hover .ic { background: linear-gradient(135deg, var(--plasma), var(--plasma-deep)); color: #fff; }
.trust-item span.txt { position: relative; z-index: 2; font-size: .9rem; font-weight: 700; line-height: 1.25rem; color: #1e293b; }

/* Liquid circulating border: a conic electric-blue light travels around each card
   continuously (staggered), masked to a thin ring. Brighter on hover. */
.liquid-card { isolation: isolate; }
.liquid-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--lc-angle, 0deg),
    transparent 0deg, transparent 205deg,
    rgba(47,155,255,.25) 250deg, var(--plasma-core) 305deg, var(--plasma) 335deg, rgba(47,155,255,.25) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .8; pointer-events: none;
  animation: liquidCircle 5s linear infinite; animation-delay: calc(var(--lc-i, 0) * -1.25s);
}
.liquid-card:hover::before { opacity: 1; animation-duration: 2.4s; }
/* soft glow that rides with the light */
.liquid-card::after {
  content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; opacity: 0;
  box-shadow: 0 0 26px -4px rgba(56,189,248,.55); transition: opacity .3s ease; pointer-events: none;
}
.liquid-card:hover::after { opacity: 1; }
@property --lc-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes liquidCircle { to { --lc-angle: 360deg; } }
/* Fallback without @property: a static soft cyan edge. */
@supports not (background: conic-gradient(from 0deg, #000 0deg, #000 360deg)) {
  .liquid-card::before { background: linear-gradient(135deg, rgba(56,189,248,.5), rgba(47,155,255,.2)); animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .liquid-card::before { animation: none; opacity: .5; }
  .trust-item:hover { transform: none; }
}

/* ---------- generic sections ---------- */
.section { padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }
@media (min-width: 1024px) { .section { padding: 9rem 0; } }
/* services section follows the trust cards directly — tighten the top gap */
.section-services { padding-top: 2.5rem; }
@media (min-width: 640px) { .section-services { padding-top: 3rem; } }
@media (min-width: 1024px) { .section-services { padding-top: 3.5rem; } }
.section.tight { padding: 5rem 0; }
@media (min-width: 640px) { .section.tight { padding: 7rem 0; } }
/* priorities section: a touch shorter than the default 9rem so it feels tighter */
@media (min-width: 1024px) { .section.priorities-section { padding: 7rem 0; } }
.section-white { background: #fff; }
.section-mist { background: #edf2f6; }
.section-dark { position: relative; overflow: hidden; background: #121b25; color: #fff; }
.section-ink { background: #111a24; color: #fff; }
.section-blue { position: relative; overflow: hidden; background: #1d4ed8; color: #fff; }

.head-row { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 1024px) { .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.grid-services { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .grid-services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(3,1fr); gap: 1.25rem; } }
@media (min-width: 1280px) { .grid-services { grid-template-columns: repeat(4,1fr); } }

/* service card */
.service-card { position: relative; display: flex; min-height: 315px; flex-direction: column; overflow: hidden; border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.5rem; box-shadow: 0 12px 45px rgba(15,23,42,.045); transition: transform .3s, border-color .3s, box-shadow .3s; }
@media (min-width: 640px) { .service-card { padding: 1.75rem; } }
.service-card:hover { transform: translateY(-.25rem); border-color: #bfdbfe; box-shadow: 0 22px 65px rgba(15,80,170,.11); }
.service-card .glow { position: absolute; right: -4rem; top: -4rem; width: 10rem; height: 10rem; border-radius: 9999px; background: rgba(219,234,254,.6); opacity: 0; filter: blur(32px); transition: opacity .3s; pointer-events: none; }
.service-card:hover .glow { opacity: 1; }
.service-card .top { display: flex; align-items: center; justify-content: space-between; }
.service-card .badge { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 1rem; border: 1px solid #dbeafe; background: #eff6ff; color: #1d4ed8; transition: background-color .2s, color .2s; }
.service-card:hover .badge { background: #2563eb; color: #fff; }
.service-card .num { font-size: .75rem; font-weight: 700; letter-spacing: .18em; color: #cbd5e1; }
.service-card h3 { margin-top: 2.5rem; font-size: 1.38rem; font-weight: 600; letter-spacing: -.035em; color: #020617; }
.service-card p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: #475569; }
.service-card .more { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding-top: 1.75rem; font-size: .875rem; font-weight: 700; color: #1d4ed8; }

/* ---------- problem solver accordion (dark) ---------- */
.problem-solver { border-top: 1px solid rgba(255,255,255,.1); }
.problem-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.problem-btn { display: flex; min-height: 4.75rem; width: 100%; cursor: pointer; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 0; text-align: left; background: none; border: 0; }
.problem-btn .q { font-size: 1rem; font-weight: 600; color: #94a3b8; transition: color .2s; }
@media (min-width: 640px) { .problem-btn .q { font-size: 1.125rem; } }
.problem-btn:hover .q { color: #e2e8f0; }
.problem-item.open .problem-btn .q { color: #fff; }
.problem-btn .mk { display: flex; width: 2.25rem; height: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid rgba(255,255,255,.1); color: #64748b; transition: border-color .2s, background-color .2s, color .2s; }
.problem-item.open .problem-btn .mk { border-color: rgba(96,165,250,.4); background: rgba(59,130,246,.15); color: #93c5fd; }
.problem-btn .mk .icon { transition: transform .2s; }
.problem-item.open .problem-btn .mk .icon { transform: rotate(45deg); }
.problem-panel { display: none; padding: 0 2.5rem 1.5rem 0; }
.problem-item.open .problem-panel { display: block; }
.problem-panel p { max-width: 36rem; font-size: .875rem; line-height: 1.5rem; color: #cbd5e1; }
@media (min-width: 640px) { .problem-panel p { font-size: 1rem; line-height: 1.75rem; } }
.problem-panel a { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: #93c5fd; }
.problem-panel a:hover { color: #bfdbfe; }

/* ---------- process steps ---------- */
.process { --flow: 0; position: relative; margin-top: 4rem; display: grid; gap: 1rem; }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4,1fr); gap: 0; } }
/* base grey rail + liquid fill overlay. Horizontal on desktop, vertical on mobile. */
.process .rail { position: absolute; left: 0; right: 0; top: 23px; display: none; height: 2px; border-radius: 2px; background: #e2e8f0; }
@media (min-width: 1024px) { .process .rail { display: block; } }
.rail-fill { position: absolute; z-index: 1; overflow: visible; pointer-events: none; }
/* mobile: vertical liquid down the left border line */
.rail-fill { left: 0; top: 1.5rem; bottom: 1.5rem; width: 2px; }
.rail-flow { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--flow) * 100%); border-radius: 3px;
  background: linear-gradient(180deg, var(--plasma-deep), var(--plasma) 40%, var(--plasma-core));
  box-shadow: 0 0 10px 1px rgba(47,155,255,.75), 0 0 22px 3px rgba(56,189,248,.45);
  transition: height .18s linear; }
.rail-tip { position: absolute; left: 50%; top: calc(var(--flow) * 100%); width: 12px; height: 12px; transform: translate(-50%,-50%); border-radius: 9999px;
  background: radial-gradient(circle, #eaf7ff 0%, var(--plasma-core) 35%, var(--plasma) 60%, transparent 72%);
  box-shadow: 0 0 14px 4px rgba(56,189,248,.8); opacity: 0; transition: top .18s linear, opacity .25s ease; }
.process[data-lit] .rail-tip { opacity: 1; }
@media (min-width: 1024px) {
  /* desktop: horizontal liquid along the top rail */
  .rail-fill { left: 0; right: 0; top: 23px; bottom: auto; width: auto; height: 2px; }
  .rail-flow { left: 0; top: 0; width: calc(var(--flow) * 100%); height: 100%;
    background: linear-gradient(90deg, var(--plasma-deep), var(--plasma) 40%, var(--plasma-core));
    box-shadow: 0 0 10px 1px rgba(47,155,255,.75), 0 0 22px 3px rgba(56,189,248,.45);
    transition: width .18s linear; }
  .rail-tip { left: calc(var(--flow) * 100%); top: 50%; }
}
/* liquid wobble: a soft animated highlight travelling along the fill */
.rail-flow::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(234,247,255,.7), transparent);
  background-size: 220% 100%; mix-blend-mode: screen; animation: liquidWobble 2.6s ease-in-out infinite; }
@keyframes liquidWobble { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }

.process-step { position: relative; border-left: 2px solid #e2e8f0; padding: .5rem 0 .5rem 1.5rem; }
@media (min-width: 1024px) { .process-step { border-left: 0; padding: 0 1.25rem; } .process-step:first-child { padding-left: 0; } .process-step:last-child { padding-right: 0; } }
.process-step .dot { position: relative; z-index: 10; display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid #bfdbfe; background: #fff; box-shadow: 0 0 0 8px #fff; transition: border-color .35s ease, box-shadow .35s ease; }
.process-step .dot-num { position: relative; z-index: 2; font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: #1d4ed8; transition: color .35s ease; }
.process-step .dot-glow { position: absolute; inset: -2px; z-index: 1; border-radius: 9999px; opacity: 0;
  background: radial-gradient(circle, rgba(56,189,248,.35), rgba(47,155,255,.12) 60%, transparent 72%);
  transition: opacity .4s ease; }
/* When a step is lit, its dot glows electric blue. Intensity escalates via --lit
   (0..1) set per step by JS so step 4 is the brightest final glow. */
.process-step.is-lit .dot {
  border-color: var(--plasma);
  box-shadow: 0 0 0 8px #fff,
    0 0 calc(8px + var(--lit,0) * 18px) calc(var(--lit,0) * 3px) rgba(47,155,255,calc(.35 + var(--lit,0) * .55)),
    0 0 calc(16px + var(--lit,0) * 34px) calc(var(--lit,0) * 6px) rgba(56,189,248,calc(.2 + var(--lit,0) * .45));
}
.process-step.is-lit .dot-num { color: var(--plasma-deep); }
.process-step.is-lit .dot-glow { opacity: calc(.4 + var(--lit,0) * .6); }
.process-step h3 { margin-top: 1.75rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.035em; color: #020617; }
.process-step p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: #475569; }
@media (prefers-reduced-motion: reduce) { .rail-flow::after { animation: none; } }

/* ---------- about band ---------- */
.split { display: grid; align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.04fr .96fr; gap: 5rem; } }
.about-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 1.5rem; background: #e2e8f0; box-shadow: 0 30px 80px rgba(15,23,42,.16); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-tag { position: absolute; bottom: -1.25rem; right: -.5rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.9); padding: 1rem 1.25rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (min-width: 640px) { .about-tag { right: -1.25rem; } }
.about-tag .k { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: #1d4ed8; }
.about-tag .v { margin-top: .25rem; font-size: .875rem; font-weight: 600; color: #1e293b; }

/* ---------- audience ---------- */
.audience-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-item { position: relative; display: flex; min-height: 5rem; align-items: center; justify-content: space-between; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); padding: 0 1.25rem 0 1.5rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: default; transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
/* left accent bar that grows in on hover */
.audience-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; transform: scaleY(0); transform-origin: bottom; background: linear-gradient(180deg, var(--plasma-core), var(--plasma)); box-shadow: 0 0 12px rgba(56,189,248,.7); transition: transform .35s cubic-bezier(.22,1,.36,1); }
/* diagonal sheen sweep on hover */
.audience-item::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); opacity: 0; pointer-events: none; }
.audience-item:hover { transform: translateY(-3px); border-color: rgba(147,197,253,.5); background: rgba(255,255,255,.12); box-shadow: 0 14px 34px rgba(4,20,48,.35), 0 0 24px -6px rgba(56,189,248,.45); }
.audience-item:hover::before { transform: scaleY(1); }
.audience-item:hover::after { opacity: 1; animation: audienceSheen .7s ease-out; }
@keyframes audienceSheen { from { left: -60%; } to { left: 130%; } }
.audience-item span.name { font-weight: 600; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.audience-item:hover span.name { transform: translateX(4px); }
.audience-item span.n { font-size: .75rem; font-weight: 700; color: #bfdbfe; transition: color .3s ease, transform .3s ease; }
.audience-item:hover span.n { color: #eaf7ff; transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .audience-item, .audience-item span.name, .audience-item span.n { transition: none; }
  .audience-item:hover { transform: none; }
  .audience-item:hover::after { animation: none; }
}
.grid-2col { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .grid-2col { grid-template-columns: .75fr 1.25fr; gap: 5rem; } }

/* ---------- insights cards ---------- */
.grid-insights { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-insights { grid-template-columns: repeat(3,1fr); } }
.article-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; transition: transform .3s, border-color .3s, box-shadow .3s; }
.article-card:hover { transform: translateY(-.25rem); border-color: #bfdbfe; box-shadow: 0 24px 70px rgba(15,68,140,.1); }
.article-card .media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: #f1f5f9; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.article-card:hover .media img { transform: scale(1.035); }
.article-card .cat { position: absolute; left: 1rem; top: 1rem; border-radius: .5rem; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.85); padding: .375rem .75rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #1e293b; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.article-card .body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
@media (min-width: 640px) { .article-card .body { padding: 1.5rem; } }
.article-card .rt { display: flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 600; color: #94a3b8; }
.article-card h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; line-height: 1.22; letter-spacing: -.035em; color: #020617; }
.article-card p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: #475569; }
.article-card .more { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding-top: 1.5rem; font-size: .875rem; font-weight: 700; color: #1d4ed8; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid #e2e8f0; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-btn { display: flex; min-height: 4.5rem; width: 100%; cursor: pointer; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; font-size: 1rem; font-weight: 600; color: #0f172a; background: none; border: 0; transition: color .2s; }
@media (min-width: 640px) { .faq-btn { font-size: 1.125rem; } }
.faq-btn:hover { color: #1d4ed8; }
.faq-btn .mk { display: flex; width: 2.25rem; height: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid #e2e8f0; background: #fff; color: #1d4ed8; transition: border-color .2s, background-color .2s; }
.faq-btn:hover .mk { border-color: #bfdbfe; background: #eff6ff; }
.faq-btn .mk .icon { transition: transform .2s; }
.faq-item.open .faq-btn .mk .icon { transform: rotate(45deg); }
.faq-panel { display: none; padding: 0 3rem 1.5rem 0; font-size: .97rem; line-height: 1.75rem; color: #475569; }
.faq-item.open .faq-panel { display: block; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .75fr 1.25fr; gap: 4rem; } }
.form-card { border-radius: 1.5rem; background: #fff; padding: 1.25rem; color: #020617; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
@media (min-width: 1024px) { .form-card { padding: 2.5rem; } }
.form-card h3 { margin-bottom: 1.75rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em; }
.form { display: grid; gap: 1.25rem; }
.form .row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { font-size: .875rem; font-weight: 600; color: #1e293b; }
.field { margin-top: .5rem; height: 3.25rem; width: 100%; border-radius: .75rem; border: 1px solid #e2e8f0; background: #fff; padding: 0 1rem; font-size: 1rem; color: #020617; outline: none; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #94a3b8; }
.field:hover { border-color: #cbd5e1; }
.field:focus { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,.1); }
textarea.field { height: auto; min-height: 8rem; padding: .875rem 1rem; resize: vertical; }
.field-error { margin-top: .375rem; font-size: .875rem; color: #b91c1c; display: none; }
.field.invalid { border-color: #ef4444; }
.consent { display: flex; cursor: pointer; align-items: flex-start; gap: .75rem; font-size: .875rem; line-height: 1.5rem; color: #475569; }
.consent input { margin-top: .25rem; width: 1rem; height: 1rem; accent-color: #2563eb; }
.form-note { font-size: .75rem; line-height: 1.25rem; color: #64748b; }
.form-success { display: none; min-height: 470px; flex-direction: column; align-items: center; justify-content: center; border-radius: 1.5rem; border: 1px solid #dbeafe; background: rgba(239,246,255,.6); padding: 2rem; text-align: center; }
.form-success .ok { display: flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 9999px; background: #fff; color: #1d4ed8; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.form-success h3 { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: #020617; }
.form-success p { margin-top: .75rem; max-width: 28rem; line-height: 1.75rem; color: #475569; }

/* contact card */
.contact-card { border-radius: 1.5rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.25rem; color: #020617; box-shadow: 0 20px 60px rgba(15,23,42,.07); }
@media (min-width: 640px) { .contact-card { padding: 1.75rem; } }
.contact-card.dark { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #fff; box-shadow: none; }
.contact-card .status { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; }
.contact-card .status .live { width: .5rem; height: .5rem; border-radius: 9999px; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.12); }
.cc-item { display: flex; gap: 1rem; border-bottom: 1px solid #e2e8f0; padding: 1.25rem 0; }
.contact-card.dark .cc-item { border-color: rgba(255,255,255,.1); }
.cc-item:last-child { border-bottom: 0; }
.cc-item .ic { margin-top: .125rem; display: flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: #eff6ff; color: #1d4ed8; }
.contact-card.dark .cc-item .ic { background: rgba(59,130,246,.1); color: #93c5fd; }
.cc-item .k { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #64748b; }
.contact-card.dark .cc-item .k { color: #94a3b8; }
.cc-item .val { margin-top: .25rem; display: block; font-weight: 600; }
.cc-item a.val:hover { color: #3b82f6; }
.cc-item .sub { margin-top: .25rem; font-size: .75rem; color: #64748b; }
.contact-card.dark .cc-item .sub { color: #94a3b8; }
.cc-hours { margin-top: .5rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.cc-hours .d { color: #64748b; }
.contact-card.dark .cc-hours .d { color: #94a3b8; }
.cc-directions { margin-top: 1rem; display: flex; min-height: 3.25rem; width: 100%; align-items: center; justify-content: center; gap: .5rem; border-radius: .75rem; border: 1px solid #e2e8f0; background: #f8fafc; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s; }
.cc-directions:hover { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.contact-card.dark .cc-directions { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: #fff; }
.contact-card.dark .cc-directions:hover { background: rgba(255,255,255,.1); }

/* map placeholder */
.map-box { overflow: hidden; border-radius: 1.5rem; border: 1px solid #e2e8f0; background: #14202c; padding: 1.5rem; color: #fff; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
@media (min-width: 640px) { .map-box { padding: 2.5rem; } }
.map-box .top { display: grid; align-items: flex-end; gap: 2.5rem; }
@media (min-width: 1024px) { .map-box .top { grid-template-columns: 1fr .6fr; } }
.map-box h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -.045em; }
@media (min-width: 640px) { .map-box h2 { font-size: 3rem; } }
.map-box p { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.75rem; color: #cbd5e1; }
.map-box .go { display: flex; min-height: 3.5rem; align-items: center; justify-content: center; border-radius: .75rem; background: #2563eb; padding: 0 1.25rem; font-weight: 700; color: #fff; transition: background-color .2s; }
.map-box .go:hover { background: #3b82f6; }
.map-canvas { margin-top: 2.5rem; height: 16rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: #1a2938; opacity: .8; display: flex; align-items: center; justify-content: center; }
.map-canvas span { border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.2); padding: .75rem 1rem; font-size: .875rem; font-weight: 600; color: #cbd5e1; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: #f5f7f9; padding: 9rem 0 5rem; }
@media (min-width: 640px) { .page-hero { padding: 10rem 0 6rem; } }
@media (min-width: 1024px) { .page-hero { padding: 11rem 0 7rem; } }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; font-size: .875rem; color: #64748b; }
.breadcrumbs .sep { display: inline-flex; }
.breadcrumbs a:hover { color: #1d4ed8; }
.breadcrumbs .current { color: #334155; }
.page-hero-grid { margin-top: 3rem; display: grid; align-items: flex-end; gap: 2.5rem; }
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: 1fr .42fr; } }
.page-hero h1 { margin-top: 1.25rem; max-width: 950px; font-size: clamp(3rem,7.4vw,7.4rem); font-weight: 600; line-height: .88; letter-spacing: -.072em; color: #020617; }
.page-hero .desc { margin-top: 1.75rem; max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: #475569; }
@media (min-width: 640px) { .page-hero .desc { font-size: 1.25rem; } }
.page-hero-cta { }
@media (min-width: 1024px) { .page-hero-cta { justify-self: end; } }

/* ---------- service detail bits ---------- */
.deliverables { display: grid; gap: 1rem; }
@media (min-width: 640px) { .deliverables { grid-template-columns: 1fr 1fr; } }
.deliverable { min-height: 10rem; border-radius: 1rem; border: 1px solid #e2e8f0; background: #f8fafc; padding: 1.5rem; }
.deliverable .ic { display: flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: 9999px; background: #eff6ff; color: #1d4ed8; }
.deliverable p { margin-top: 1.5rem; font-weight: 600; line-height: 1.75rem; color: #0f172a; }
.detail-sticky { }
@media (min-width: 1024px) { .detail-sticky { position: sticky; top: 8rem; align-self: flex-start; } }
.detail-icon { display: flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 1rem; background: #2563eb; color: #fff; box-shadow: 0 16px 35px rgba(8,104,245,.22); }
.situations { display: grid; gap: 1rem; }
.situation { display: flex; align-items: flex-start; gap: 1.25rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); padding: 1.25rem; }
.situation .n { font-size: .75rem; font-weight: 800; letter-spacing: .15em; color: #93c5fd; }
.situation p { font-size: 1rem; font-weight: 600; line-height: 1.75rem; color: #f1f5f9; }
.pgrid3 { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .pgrid3 { grid-template-columns: repeat(3,1fr); } }
.pstep { position: relative; min-height: 14rem; border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.5rem; }
.pstep .top { display: flex; align-items: center; justify-content: space-between; }
.pstep .n { font-size: .75rem; font-weight: 800; letter-spacing: .17em; color: #1d4ed8; }
.pstep .arrow { display: none; color: #cbd5e1; }
@media (min-width: 1024px) { .pstep .arrow { display: block; } }
.pstep h3 { margin-top: 2.5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.035em; }
.pstep p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: #475569; }

/* CTA band */
.cta-band { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 640px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band h2 { max-width: 48rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -.04em; }
@media (min-width: 640px) { .cta-band h2 { font-size: 2.25rem; } }
.cta-band .k { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; color: #bfdbfe; }
.cta-band .k + h2 { margin-top: .75rem; }

/* value cards (about) */
.values-grid { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4,1fr); } }
.value-card { min-height: 16rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); padding: 1.5rem; }
.value-card .ic { display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(59,130,246,.1); color: #93c5fd; }
.value-card h3 { margin-top: 2.25rem; font-size: 1.25rem; font-weight: 600; }
.value-card p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: #94a3b8; }
.method-list { display: grid; gap: .75rem; }
.method-row { display: grid; gap: .75rem; border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.25rem; }
@media (min-width: 640px) { .method-row { grid-template-columns: 64px 160px 1fr; align-items: center; } }
.method-row .n { font-size: .75rem; font-weight: 800; letter-spacing: .17em; color: #1d4ed8; }
.method-row strong { font-size: 1.125rem; letter-spacing: -.025em; }
.method-row p { font-size: .875rem; line-height: 1.5rem; color: #475569; }
.team-grid { margin-top: 3rem; display: grid; max-width: 48rem; gap: 1.25rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card { overflow: hidden; border-radius: 1rem; border: 1px solid #e2e8f0; background: #f7f9fb; }
.team-card .ph { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#e7edf2,#f8fafc); }
.team-card .ph span { display: flex; width: 5rem; height: 5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid #e2e8f0; background: #fff; font-size: 1.5rem; font-weight: 600; color: #cbd5e1; }
.team-card .info { padding: 1.25rem; }
.team-card .info h3 { font-weight: 600; color: #0f172a; }
.team-card .info p { margin-top: .25rem; font-size: .875rem; color: #64748b; }
.about-quote { margin-top: 2rem; border-left: 2px solid #2563eb; padding-left: 1.25rem; }
.about-quote p { font-size: 1rem; font-weight: 600; line-height: 1.75rem; color: #1e293b; }

/* checklist (services overview) */
.checklist { display: grid; gap: 1rem; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.check-item { display: flex; min-height: 6rem; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.25rem; }
.check-item .icon { flex-shrink: 0; color: #1d4ed8; }
.check-item span { font-weight: 600; color: #1e293b; }

/* insights filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { border-radius: .75rem; border: 1px solid #e2e8f0; background: #fff; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; color: #475569; }
.filter.active { border-color: #2563eb; background: #2563eb; color: #fff; }
.insights-note { margin-top: 2.5rem; max-width: 48rem; font-size: .875rem; line-height: 1.5rem; color: #64748b; }

/* article page */
.article { background: #fff; padding: 9rem 0 6rem; }
@media (min-width: 640px) { .article { padding-top: 10rem; } }
.article-head { margin: 3rem auto 0; max-width: 56rem; text-align: center; }
.article-head h1 { margin-top: 1.25rem; font-size: clamp(2.7rem,6vw,5.8rem); font-weight: 600; line-height: .95; letter-spacing: -.065em; color: #020617; }
.article-head .ex { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: #475569; }
.article-head .rt { margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: #94a3b8; }
.article-hero-img { position: relative; margin: 3rem auto 0; aspect-ratio: 16/8.5; max-width: 72rem; overflow: hidden; border-radius: 1.5rem; background: #f1f5f9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { margin: 3.5rem auto 0; max-width: 48rem; }
.article-body .disclaimer { margin-bottom: 2.5rem; border-radius: 1rem; border: 1px solid #dbeafe; background: #eff6ff; padding: 1.25rem; font-size: .875rem; line-height: 1.5rem; color: #172554; }
.article-body h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; color: #020617; }
@media (min-width: 640px) { .article-body h2 { font-size: 1.875rem; } }
.article-body section { margin-bottom: 2.75rem; }
.article-body p { margin-top: 1.25rem; font-size: 1rem; line-height: 2rem; color: #475569; }
.article-back { margin-top: 1rem; display: inline-flex; min-height: 2.75rem; align-items: center; gap: .5rem; font-weight: 700; color: #1d4ed8; }
.article-back:hover { color: #1e3a8a; }

/* legal */
.legal-card { max-width: 56rem; margin: 0 auto; }
.legal-inner { border-radius: 1.5rem; border: 1px solid #e2e8f0; padding: 1.5rem; }
@media (min-width: 640px) { .legal-inner { padding: 2.5rem; } }
.legal-inner section { border-bottom: 1px solid #e2e8f0; padding: 2rem 0; }
.legal-inner section:first-child { padding-top: 0; }
.legal-inner section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-inner h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; color: #020617; }
.legal-inner p { margin-top: 1rem; font-size: 1rem; line-height: 2rem; color: #475569; }

/* 404 */
.notfound { display: flex; min-height: 70vh; flex-direction: column; align-items: center; justify-content: center; padding: 10rem 1.5rem 6rem; text-align: center; }
.notfound .code { font-size: clamp(5rem,15vw,10rem); font-weight: 700; letter-spacing: -.06em; color: #cbd5e1; line-height: 1; }
.notfound h1 { margin-top: 1rem; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; color: #0f172a; }
.notfound p { margin-top: 1rem; max-width: 32rem; color: #475569; }
.notfound .btn { margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: #111820; padding: 4rem 0 7rem; color: #fff; }
@media (min-width: 1024px) { .site-footer { padding: 5rem 0 2rem; } }
.footer-top { display: grid; gap: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.1fr 1.6fr; gap: 5rem; } }
.footer-logo-link { display: block; width: fit-content; border-radius: .25rem; opacity: .94; transition: opacity .2s ease; }
.footer-logo-link:hover { opacity: 1; }
.footer-logo-link:focus-visible { outline: 2px solid #60a5fa; outline-offset: 4px; }
.footer-logo { display: block; width: 220px; max-width: 100%; height: auto; aspect-ratio: 1052 / 520; object-fit: contain; }
.footer-brand p { margin-top: 1.5rem; max-width: 24rem; font-size: .875rem; line-height: 1.75rem; color: #94a3b8; }
.socials { margin-top: 1.75rem; display: flex; gap: .5rem; }
.socials a { display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); color: #cbd5e1; transition: border-color .2s, background-color .2s, color .2s; }
.socials a:hover { border-color: rgba(96,165,250,.4); background: rgba(59,130,246,.1); color: #fff; }
.footer-cols { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3,1fr); } }
.footer-heading { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-list { margin-top: 1.25rem; display: grid; gap: .75rem; }
.footer-link { color: #9ba9b8; font-size: .87rem; line-height: 1.5; transition: color .2s ease; }
.footer-link:hover { color: #fff; }
.footer-contact { margin-top: 1.25rem; display: grid; gap: 1rem; font-size: .875rem; line-height: 1.5rem; color: #94a3b8; }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact .icon { margin-top: .125rem; flex-shrink: 0; color: #60a5fa; width: 1rem; height: 1rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 1.75rem; font-size: .75rem; color: #64748b; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-legal a:hover { color: #cbd5e1; }

/* ---------- mobile quick actions ---------- */
.quick-actions { position: fixed; inset-inline: .75rem; bottom: .75rem; z-index: 40; display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.94); padding: .375rem; box-shadow: 0 16px 50px rgba(15,23,42,.22); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (min-width: 1024px) { .quick-actions { display: none; } }
.quick-action { display: flex; min-height: 54px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; border-radius: .8rem; color: #344252; font-size: .68rem; font-weight: 750; transition: background-color .2s, color .2s; }
.quick-action:hover { background: #eef5ff; color: #075ddc; }
.quick-action.primary { background: #2563eb; color: #fff; }
.quick-action.primary:hover { background: #1d4ed8; color: #fff; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- utilities ---------- */
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.hidden { display: none; }

/* ---------- refined blue "lightning" glow on interactive cards ---------- */
/* A hover-activated glowing gradient border + soft halo. The border is drawn by
   a ::before overlay masked to a 1.5px ring, so it works even with overflow:hidden.
   The halo escapes the card via box-shadow on the card itself. */
.glow-card { position: relative; isolation: isolate; }
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--glow-angle, 0deg),
    rgba(47,155,255,0) 0deg,
    rgba(47,155,255,.2) 55deg,
    var(--plasma-deep) 110deg,
    #eaf7ff 155deg,
    var(--plasma-core) 175deg,
    var(--plasma) 205deg,
    var(--plasma-deep) 245deg,
    rgba(47,155,255,.2) 305deg,
    rgba(47,155,255,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.glow-card:hover, .glow-card:focus-within { border-color: transparent; }
.glow-card:hover::before, .glow-card:focus-within::before {
  opacity: 1;
  animation: glowSpin 4s linear infinite;
}
.glow-card:hover, .glow-card:focus-within { box-shadow: 0 18px 55px rgba(15,80,170,.18), 0 0 0 1px rgba(47,155,255,.3), 0 0 36px -5px rgba(56,189,248,.6); }
/* dark cards get a slightly brighter halo on the dark background */
.glow-card.on-dark:hover, .glow-card.on-dark:focus-within { box-shadow: 0 0 0 1px rgba(47,155,255,.4), 0 0 44px -3px rgba(56,189,248,.65); }
@property --glow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes glowSpin { to { --glow-angle: 360deg; } }
/* Fallback for browsers without @property: cross-fade a static bright ring. */
@supports not (background: conic-gradient(from 0deg, #000 0deg, #000 360deg)) {
  .glow-card::before { background: linear-gradient(135deg, var(--plasma-core), var(--plasma-deep)); }
  .glow-card:hover::before { animation: none; }
}

/* ---------- responsive typography tweaks ---------- */
@media (max-width: 767px) {
  .section-title { font-size: clamp(2rem, 10vw, 3.25rem); }
  .hero-photo-wrap { -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 86%,transparent 100%); mask-image: linear-gradient(to bottom,#000 0%,#000 86%,transparent 100%); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-zoom-inner { transform: scale(1.02) !important; }
  .hero-video-track { height: auto; }
  .hero-video-sticky { position: relative; top: auto; }
  .glow-card:hover::before, .glow-card:focus-within::before { animation: none !important; }
}
