/* ==========================================================================
   Elegant Group BV — responsive stylesheet
   One design, two layouts: mobile-first base + desktop from 900px up.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #0C2340;
  --navy-deep: #0E2A52;
  --blue: #2B87E3;
  --blue-300: #8FC2F2;
  --blue-200: #C7DEF6;
  --slate: #5A7391;
  --slate-400: #9FB6CE;
  --mist: #F4F8FD;
  --mist-2: #EAF2FB;

  --display: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1280px;
  --pad: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 900px) {
  :root { --pad: 40px; --header-h: 82px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Keyframes ---------- */
@keyframes spinCW  { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }
@keyframes caustics {
  0%   { transform: translate3d(-6%, -4%, 0) scale(1.1) rotate(0deg); opacity: .55; }
  50%  { transform: translate3d(6%, 5%, 0) scale(1.25) rotate(8deg); opacity: .85; }
  100% { transform: translate3d(-6%, -4%, 0) scale(1.1) rotate(0deg); opacity: .55; }
}
@keyframes sheen {
  0%   { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  12%  { opacity: .9; }
  45%  { opacity: 0; }
  100% { transform: translateX(240%) skewX(-18deg); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { transform: scale(.7) rotate(0deg); opacity: .35; }
  50%      { transform: scale(1.15) rotate(45deg); opacity: 1; }
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes riseIn { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .5; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity .85s var(--ease) var(--rd, 0ms),
    transform .95s var(--ease) var(--rd, 0ms);
}
.js [data-reveal="up"]    { transform: translateY(30px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="fade"]  { transform: none; }
.js [data-reveal].is-in   { opacity: 1; transform: none; }

/* ---------- Cursor glow (fine pointers only) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,135,227,.20), rgba(43,135,227,0) 62%);
  pointer-events: none; z-index: 60; opacity: 0;
  transition: opacity .5s ease;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { display: block; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 100px; white-space: nowrap;
  font-size: 16px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s var(--ease);
}
.btn-ico {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue);
  transition: background .35s ease;
}

.btn-primary {
  background: var(--navy); color: #fff;
  padding: 7px 7px 7px 24px;
  box-shadow: 0 14px 34px -10px rgba(12,35,64,.45);
}
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-primary:hover .btn-ico { background: rgba(255,255,255,.2); }

.btn-ghost {
  background: #fff; color: var(--navy);
  border-color: rgba(12,35,64,.14);
  padding: 17px 24px; justify-content: center;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline {
  background: transparent; color: var(--navy);
  border-color: rgba(12,35,64,.14);
  padding: 16px 24px; justify-content: center;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-light { background: #fff; color: var(--navy); padding: 7px 7px 7px 24px; }
.btn-light:hover { background: var(--blue); color: #fff; }
.btn-light:hover .btn-ico { background: rgba(255,255,255,.2); }

.btn-blue {
  background: var(--blue); color: #fff; padding: 7px 7px 7px 24px;
  box-shadow: 0 18px 44px -14px rgba(43,135,227,.7);
}
.btn-blue:hover { background: #fff; color: var(--navy); }
.btn-blue .btn-ico { background: rgba(255,255,255,.2); }
.btn-blue:hover .btn-ico { background: var(--blue); }
.btn-blue:hover .btn-ico svg { stroke: #fff; }

.btn-on-navy {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.3);
  padding: 17px 24px; justify-content: center;
}
.btn-on-navy:hover { border-color: var(--blue-300); color: var(--blue-300); }

.btn-block { display: flex; width: 100%; justify-content: space-between; }
.btn-block.btn-ghost, .btn-block.btn-outline { justify-content: center; }

@media (min-width: 900px) {
  .btn { font-size: 17px; }
  .btn-primary { padding: 8px 8px 8px 30px; box-shadow: 0 16px 40px rgba(12,35,64,.24); }
  .btn-primary .btn-ico { width: 44px; height: 44px; }
  .btn-ghost, .btn-outline, .btn-on-navy { padding: 19px 30px; }
  .btn-light { padding: 8px 8px 8px 28px; }
  .btn-blue { font-size: 19px; padding: 10px 10px 10px 34px; }
  .btn-blue .btn-ico { width: 50px; height: 50px; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 12px 0;
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(12,35,64,.07);
  transition: box-shadow .4s ease, background .4s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -20px rgba(12,35,64,.5); background: rgba(255,255,255,.92); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 9px; }
.brand svg { flex: none; overflow: visible; }
.brand-text { display: flex; flex-direction: column; line-height: .95; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: .10em; color: var(--navy);
}
.brand-sub {
  font-family: var(--display); font-weight: 500; font-size: 9.5px;
  letter-spacing: .38em; color: var(--slate);
}

.nav-desktop { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: transparent; border: 1px solid rgba(12,35,64,.16);
  border-radius: 100px; padding: 8px 11px; cursor: pointer; white-space: nowrap;
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; color: var(--navy);
  transition: border-color .3s ease, color .3s ease;
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.lang-alt { display: none; color: var(--slate); }

.header-call { display: none; }

.menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--navy); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 8px 20px -6px rgba(12,35,64,.5);
}
.menu-toggle span { display: block; width: 17px; height: 2px; border-radius: 2px; background: #fff; }
.menu-toggle span:last-child { width: 11px; background: var(--blue-300); }

@media (min-width: 900px) {
  .site-header { padding: 18px 0; }
  .header-inner { gap: 40px; }
  .brand { gap: 12px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 26px; letter-spacing: .10em; }
  .brand-sub { font-size: 13px; letter-spacing: .42em; }

  .nav-desktop { display: flex; align-items: center; gap: 36px; }
  .nav-desktop a {
    font-size: 15px; font-weight: 500; color: var(--navy);
    position: relative; padding: 4px 0;
  }
  .nav-desktop a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--blue); transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
  }
  .nav-desktop a:hover { color: var(--blue); }
  .nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-desktop a[aria-current="page"] { color: var(--blue); }

  .header-actions { gap: 16px; }
  .lang-toggle { font-size: 14px; letter-spacing: .12em; padding: 7px 12px; }
  .lang-alt { display: inline; }

  .header-call {
    display: flex; align-items: center; gap: 10px;
    background: var(--navy); color: #fff; border-radius: 100px;
    padding: 13px 8px 13px 22px; font-size: 15px; font-weight: 500;
    box-shadow: 0 10px 26px rgba(12,35,64,.22);
    transition: background .35s ease;
  }
  .header-call:hover { background: var(--blue); }
  .header-call .btn-ico { width: 30px; height: 30px; }
  .header-call:hover .btn-ico { background: rgba(255,255,255,.2); }

  .menu-toggle { display: none; }
}

/* ==========================================================================
   Mobile menu overlay
   ========================================================================== */
.menu-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(12,35,64,.97);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: max(20px, env(safe-area-inset-top)) var(--pad) 24px;
  display: none; flex-direction: column;
  animation: sheetIn .32s var(--ease) both;
}
.menu-overlay[data-open="true"] { display: flex; }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.menu-head .brand-name { color: #fff; }
.menu-head .brand-sub { color: var(--blue-300); }
.menu-close {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24); background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.menu-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.menu-links a {
  font-family: var(--display); font-size: clamp(34px, 10.5vw, 46px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -.005em; color: #fff; padding: 6px 0;
}
.menu-links a[aria-current="page"], .menu-links a:hover { color: var(--blue); }
.menu-contact {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
}
.menu-contact a { font-size: 15px; color: rgba(255,255,255,.8); }
@media (min-width: 900px) { .menu-overlay { display: none !important; } }

/* ==========================================================================
   Mobile sticky action bar
   ========================================================================== */
.mobile-bar {
  position: fixed; left: 14px; right: 14px; z-index: 45;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex; gap: 9px; padding: 9px; border-radius: 100px;
  background: rgba(12,35,64,.86);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px -12px rgba(12,35,64,.7);
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border-radius: 100px; color: #fff;
  font-size: 14.5px; font-weight: 500;
}
.mobile-bar .mb-call { background: var(--blue); }
.mobile-bar .mb-wa { background: rgba(255,255,255,.12); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 26px) 0 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
}
.hero-orb {
  position: absolute; top: -140px; right: -120px;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(143,194,242,.34), rgba(143,194,242,0) 68%);
  pointer-events: none;
}
.hero-inner { position: relative; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 9px; border-radius: 100px;
  background: rgba(43,135,227,.09); margin-bottom: 20px;
}
.pill span { font-size: 11.5px; font-weight: 500; color: var(--blue); }
.pill svg { animation: twinkle 3.6s ease-in-out infinite; }

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--display); font-weight: 700;
  font-size: min(10.6vw, 44px); line-height: .94;
  letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; animation: riseIn .95s var(--ease) both; }
.hero h1 .line:nth-child(1) > span { color: var(--navy); }
.hero h1 .line:nth-child(2) > span { color: var(--blue); animation-delay: .13s; }

.hero-lede {
  margin: 0 0 24px; font-size: 15.5px; line-height: 1.58;
  color: var(--slate); text-wrap: pretty;
}
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }

.hero-media-wrap { position: relative; }
.hero-media {
  position: relative; height: 340px; overflow: hidden;
  border-radius: 170px 170px 34px 34px;
  box-shadow: 0 30px 60px -22px rgba(12,35,64,.45);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 40%; }
.fx-caustics {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 30% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
    radial-gradient(45% 35% at 78% 66%, rgba(143,194,242,.75), rgba(143,194,242,0) 72%);
  mix-blend-mode: soft-light;
  opacity: .55;                       /* resting state when the animation is not running */
  animation: caustics 15s ease-in-out infinite;
}
.fx-sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.72), rgba(255,255,255,0));
  /* Resting state: parked off-frame and invisible, so the sheen never freezes
     as a static white slab over the photo if the animation stops. */
  opacity: 0; transform: translateX(-130%) skewX(-18deg);
  animation: sheen 6.5s cubic-bezier(.4, 0, .2, 1) infinite;
}
.fx-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(190deg, rgba(12,35,64,0) 55%, rgba(12,35,64,.34) 100%);
}

.hero-badge {
  position: absolute; bottom: -16px; left: -6px; z-index: 7;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 18px; padding: 13px 18px;
  box-shadow: 0 18px 40px -14px rgba(12,35,64,.42);
  animation: floatY 7s ease-in-out infinite;
}
.hero-badge b {
  display: block; font-family: var(--display); font-size: 28px; font-weight: 700;
  line-height: 1; color: var(--navy);
}
.hero-badge b i { font-style: normal; color: var(--blue); }
.hero-badge span { display: block; font-size: 10.5px; color: var(--slate); margin-top: 2px; }

.spark { position: absolute; animation: twinkle 4.4s ease-in-out infinite; }
.spark-1 { top: 26px; left: -14px; width: 34px; height: 34px; }
.spark-2 { display: none; bottom: 150px; right: -10px; width: 26px; height: 26px; animation-duration: 5.2s; animation-delay: .8s; }

@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + 90px) 0 0; }
  .hero-inner {
    display: grid; grid-template-columns: 1.16fr .84fr;
    gap: clamp(32px, 4vw, 56px); align-items: center;
  }
  .hero-copy { padding-bottom: 120px; }
  .pill { padding: 8px 16px 8px 10px; margin-bottom: 28px; }
  .pill span { font-size: 13px; letter-spacing: .02em; }
  .pill svg { width: 15px; height: 15px; }
  .hero h1 { margin: 0 0 26px; font-size: clamp(46px, 5.65vw, 96px); line-height: .92; letter-spacing: -.015em; }
  .hero h1 .line > span { animation-duration: 1s; }
  .hero-lede { margin: 0 0 40px; max-width: 430px; font-size: 19px; line-height: 1.62; }
  .hero-actions { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }
  .hero-actions .btn-block { width: auto; justify-content: flex-start; }
  .hero-actions .btn-ghost { justify-content: center; }
  .hero-media-wrap { height: clamp(470px, 47vw, 660px); }
  .hero-media {
    position: absolute; inset: 0; height: auto;
    border-radius: clamp(180px, 22vw, 300px) clamp(180px, 22vw, 300px) clamp(180px, 22vw, 300px) 40px;
    box-shadow: 0 50px 110px -30px rgba(12,35,64,.42);
  }
  .hero-badge {
    bottom: 34px; left: -40px; border-radius: 22px; padding: 18px 24px;
    box-shadow: 0 24px 54px -18px rgba(12,35,64,.34);
  }
  .hero-badge b { font-size: 38px; }
  .hero-badge span { font-size: 12px; letter-spacing: .02em; margin-top: 4px; }
  .spark-1 { top: 44px; left: -22px; width: 46px; height: 46px; }
  .spark-2 { display: block; }
}

/* ==========================================================================
   Quick links
   ========================================================================== */
.quicklinks {
  position: relative; z-index: 6;
  background: var(--mist); padding: 44px 0 40px;
}
.quicklinks-card {
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 54px -26px rgba(12,35,64,.3);
  display: grid; grid-template-columns: 1fr 1fr;
}
.quicklinks-card a {
  padding: 26px 12px; display: flex; flex-direction: column;
  align-items: center; gap: 11px; text-align: center;
  font-size: 14px; font-weight: 500; color: var(--navy);
  transition: background .35s ease;
}
.quicklinks-card a:hover { background: var(--mist); }
.quicklinks-card a:nth-child(odd) { border-right: 1px solid rgba(12,35,64,.08); }
.quicklinks-card a:nth-child(-n+2) { border-bottom: 1px solid rgba(12,35,64,.08); }
.quicklinks-card svg { width: 32px; height: 32px; }

@media (min-width: 900px) {
  .quicklinks { padding: 0 0 0; }
  .quicklinks .wrap { margin-top: -78px; }
  .quicklinks-card {
    grid-template-columns: repeat(4, 1fr); border-radius: 28px;
    box-shadow: 0 34px 80px -26px rgba(12,35,64,.28);
  }
  .quicklinks-card a { padding: 38px 28px; gap: 16px; font-size: 16px; border-bottom: 0 !important; }
  .quicklinks-card a:nth-child(odd) { border-right: 0; }
  .quicklinks-card a:not(:last-child) { border-right: 1px solid rgba(12,35,64,.08); }
  .quicklinks-card svg { width: 40px; height: 40px; }
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.eyebrow {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: .20em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow-row .eyebrow { margin-bottom: 0; }
.eyebrow-row svg { animation: twinkle 3.2s ease-in-out infinite; }

.h2-soft {
  font-family: var(--body); font-weight: 500;
  font-size: clamp(30px, 8.5vw, 34px); line-height: 1.06;
  letter-spacing: -.025em; color: var(--navy); text-wrap: pretty;
}
.h2-display {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 11vw, 46px); line-height: .94;
  letter-spacing: -.01em; text-transform: uppercase; color: var(--navy);
}
@media (min-width: 900px) {
  .eyebrow { font-size: 17px; margin-bottom: 18px; }
  .eyebrow-row { gap: 10px; margin-bottom: 20px; }
  .eyebrow-row svg { width: 17px; height: 17px; }
  .h2-soft { font-size: clamp(38px, 3.7vw, 52px); }
  .h2-display { font-size: clamp(52px, 5.5vw, 78px); }
}

/* ==========================================================================
   Why us
   ========================================================================== */
.why {
  position: relative; z-index: 1;
  padding: 12px 0 26px;
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%);
}
.why-inner { display: grid; }
.why-head { margin-bottom: 26px; }
.why-head .h2-soft { margin: 0; }

.why-media { position: relative; margin: 0 0 30px; }
.why-media .spark-float {
  position: absolute; top: -14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; animation: twinkle 5s ease-in-out infinite;
}
.why-shape {
  position: relative; height: 400px; overflow: hidden;
  border-radius: 50% 50% 44% 44% / 56% 56% 44% 44%;
  box-shadow: 0 34px 70px -26px rgba(12,35,64,.5);
}
.why-shape img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 46%; }
.why-shape .fx-caustics {
  background: radial-gradient(55% 40% at 62% 22%, rgba(255,255,255,.7), rgba(255,255,255,0) 72%);
  animation-duration: 18s;
}
.why-shape .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,35,64,0) 46%, rgba(12,35,64,.64) 100%);
}
.play-link {
  position: absolute; left: 0; right: 0; bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; font-size: 15px; font-weight: 500;
}
.play-btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(12,35,64,.4);
  transition: transform .4s var(--ease);
}
.play-btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.65); opacity: .5;
  animation: pulseRing 2.6s ease-out infinite;
}
.play-link:hover { color: #fff; }
.play-link:hover .play-btn { transform: scale(1.08); }

.why-list { display: flex; flex-direction: column; gap: 6px; }
.why-item {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 13px; border-radius: 18px; background: rgba(255,255,255,.6);
  transition: background .35s ease;
}
.why-ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff;
  box-shadow: 0 6px 16px -6px rgba(12,35,64,.24);
  display: flex; align-items: center; justify-content: center;
}
.why-ico svg { width: 21px; height: 21px; }
.why-item b { display: block; font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.why-item span { display: block; font-size: 14px; line-height: 1.5; color: var(--slate); }

@media (min-width: 900px) {
  .why { padding: 150px 0 130px; }
  .why-inner {
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas: "head media" "list media";
    column-gap: 90px; align-items: center; align-content: center;
  }
  .why-head { grid-area: head; margin-bottom: 44px; }
  .why-head .h2-soft { max-width: 420px; }
  .why-list { grid-area: list; gap: 8px; }
  .why-media { grid-area: media; align-self: center; margin: 0; }
  .why-media .spark-float { top: -18px; right: 36px; width: 58px; height: 58px; }
  .why-shape {
    height: auto; aspect-ratio: 1 / 1.32;
    border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%;
    box-shadow: 0 56px 120px -34px rgba(12,35,64,.5);
  }
  .why-item { padding: 18px; gap: 20px; border-radius: 20px; background: transparent; }
  .why-item:hover { background: rgba(255,255,255,.72); }
  .why-ico { width: 56px; height: 56px; box-shadow: 0 8px 20px -8px rgba(12,35,64,.24); }
  .why-ico svg { width: 24px; height: 24px; }
  .why-item b { font-size: 19px; margin-bottom: 6px; }
  .why-item span { font-size: 16px; line-height: 1.55; max-width: 330px; }
  .play-link { bottom: 46px; gap: 16px; font-size: 17px; }
  .play-btn { width: 74px; height: 74px; box-shadow: 0 14px 34px rgba(12,35,64,.4); }
  .play-btn svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   Services (home)
   ========================================================================== */
.services { padding: 34px 0 26px; background: #fff; }
.services-inner { display: grid; grid-template-areas: "head" "grid" "cta"; }
.services-head { grid-area: head; padding-bottom: 22px; }
.services-head .h2-display { margin: 0; }
.services-cta { grid-area: cta; padding-top: 12px; }
.services-cta .btn { width: 100%; }

.service-grid {
  grid-area: grid;
  display: flex; gap: 13px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--pad) * -1);
  padding: 8px var(--pad) 14px;
  scrollbar-width: none;
}
.service-grid::-webkit-scrollbar { height: 0; width: 0; }

.service-card {
  flex: 0 0 232px; scroll-snap-align: start;
  position: relative; height: 300px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 44px -22px rgba(12,35,64,.44);
  transition: transform .6s var(--ease);
}
.service-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.service-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,35,64,.05) 32%, rgba(12,35,64,.84) 100%);
}
.service-card .label { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; }
.service-card .num {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; color: var(--blue-300); margin-bottom: 5px;
}
.service-card .name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.service-card:hover { transform: translateY(-8px); }
.service-card:hover img { transform: scale(1.07); }

@media (min-width: 900px) {
  .services { padding: 130px 0 140px; }
  .services-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "head cta" "grid grid";
    align-items: end; column-gap: 60px;
  }
  .services-head { padding-bottom: 60px; }
  .services-cta { padding: 0 0 60px; }
  .services-cta .btn { width: auto; }
  .service-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin: 0; padding: 0; overflow: visible;
  }
  .service-card {
    height: clamp(330px, 29vw, 400px); border-radius: 26px;
    box-shadow: 0 24px 60px -28px rgba(12,35,64,.4);
  }
  .service-card:hover { transform: translateY(-10px); }
  .service-card .label { left: 26px; right: 26px; bottom: 26px; }
  .service-card .num { font-size: 15px; margin-bottom: 8px; }
  .service-card .name { font-size: clamp(21px, 2vw, 26px); }
}

/* ==========================================================================
   Standards ring
   ========================================================================== */
.standards { padding: 6px 0 14px; background: #fff; overflow: hidden; }
.ring-stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: min(700px, 96vw);
}
.ring-outer {
  position: absolute; width: min(620px, 88vw); height: min(620px, 88vw);
  animation: spinCW 44s linear infinite;
}
.ring-outer text {
  /* 34px (as designed) overruns the 1621u path by 31% and the two repeats
     collide; 25px fills the ring exactly at the same .20em tracking. */
  font-family: var(--display); font-size: 25px; font-weight: 600;
  letter-spacing: .20em; fill: var(--blue);
}
.ring-inner {
  position: absolute; width: min(460px, 65vw); height: min(460px, 65vw);
  animation: spinCCW 34s linear infinite;
}
.ring-inner text {
  font-family: var(--display); font-size: 23px; font-weight: 500;
  letter-spacing: .36em; fill: var(--slate-400);
}
.ring-halo {
  position: absolute; width: min(330px, 48vw); height: min(330px, 48vw); border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(143,194,242,.35), rgba(244,248,253,0) 70%);
}
.ring-core {
  position: relative; width: min(300px, 45vw); height: min(300px, 45vw);
  border-radius: 50%; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 40px 90px -30px rgba(12,35,64,.6);
  padding: 10px;
}
.ring-core > svg { animation: twinkle 3.4s ease-in-out infinite; }
.ring-core .title {
  font-family: var(--display); font-size: clamp(20px, 5.4vw, 32px); font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; color: #fff;
  text-align: center; line-height: 1.05; max-width: 200px;
}
.ring-core .phone {
  display: none; margin-top: 6px; align-items: center;
  background: var(--blue); color: #fff; border-radius: 100px;
  padding: 13px 24px; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background .35s ease, color .35s ease;
}
.ring-core .phone:hover { background: #fff; color: var(--navy); }
@media (min-width: 600px) { .ring-core .phone { display: flex; } }
@media (min-width: 900px) { .standards { padding: 0 0 90px; } .ring-stage { padding: 20px 0; } }

/* ---------- SNA certificate ---------- */
.cert {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 28px 22px 30px; border-radius: 26px;
  background: linear-gradient(160deg, var(--mist) 0%, var(--mist-2) 100%);
  border: 1px solid rgba(12,35,64,.07);
  text-align: center;
}
.cert-seal {
  flex: none; width: 124px; aspect-ratio: 1;
  display: grid; place-items: center; padding: 16px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 18px 34px -20px rgba(12,35,64,.45), 0 0 0 1px rgba(12,35,64,.05);
}
.cert-seal img { width: 100%; height: auto; display: block; }
.cert-copy { min-width: 0; }
.cert-copy .eyebrow { margin-bottom: 8px; }
.cert-copy h3 {
  margin: 0 0 10px; font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 6.4vw, 30px); line-height: 1;
  letter-spacing: .01em; text-transform: uppercase; color: var(--navy);
}
.cert-copy p {
  margin: 0; font-size: 15px; line-height: 1.62; color: var(--slate); text-wrap: pretty;
}
.cert-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 16px;
}
.cert-tags span {
  padding: 6px 13px; border-radius: 100px;
  background: rgba(255,255,255,.75); border: 1px solid rgba(12,35,64,.07);
  font-size: 12.5px; color: var(--navy);
}

@media (min-width: 760px) {
  .cert {
    flex-direction: row; align-items: center; gap: 34px;
    padding: 32px 38px; text-align: left;
  }
  .cert-seal { width: 150px; padding: 19px; }
  .cert-tags { justify-content: flex-start; }
}
@media (min-width: 900px) {
  .standards .cert { margin-top: -20px; }
  .cert { gap: 46px; padding: 40px 48px; border-radius: 32px; }
  .cert-seal { width: 176px; padding: 23px; }
  .cert-copy p { font-size: 16px; max-width: 720px; }
}

/* Compact seal + label, for the navy footer */
.cert-chip { display: inline-flex; align-items: center; gap: 12px; }
.cert-chip-seal {
  flex: none; width: 46px; height: 46px; padding: 6px;
  display: grid; place-items: center; border-radius: 50%; background: #fff;
  box-shadow: 0 10px 20px -12px rgba(0,0,0,.6);
}
.cert-chip-seal img { width: 100%; height: auto; display: block; }
.cert-chip-text { display: flex; flex-direction: column; gap: 2px; }
.cert-chip b {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1;
}
.cert-chip i {
  font-style: normal; font-size: 12px; line-height: 1.2; color: rgba(255,255,255,.5);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: 0 0 54px; background: #fff; }
.process-grid { display: flex; flex-direction: column; }
.process-step {
  position: relative;
  padding: 0 0 24px 22px; margin-left: 8px;
  border-left: 1px solid rgba(12,35,64,.14);
}
.process-step:last-child { padding-bottom: 0; border-left-color: transparent; }
.step-dot {
  position: absolute; left: -6.5px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue-200); border: 2px solid #fff;
}
.process-step:last-child .step-dot { background: var(--blue); }
.step-num {
  display: block; font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: .2em; line-height: 1; color: var(--blue-200); margin-bottom: 4px;
}
.process-step:last-child .step-num { color: var(--blue); }
.step-title { display: block; font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.step-text { display: block; font-size: 14.5px; line-height: 1.55; color: var(--slate); }

@media (min-width: 900px) {
  .process { padding: 0 0 140px; }
  .process-head { margin-bottom: 64px; }
  .process-head .h2-soft { max-width: 560px; }
  .process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(12,35,64,.12);
  }
  .process-step {
    margin-left: 0; padding: 34px 30px; border-left: 0;
    border-right: 1px solid rgba(12,35,64,.12);
  }
  .process-step:first-child { padding-left: 0; }
  .process-step:last-child { padding: 34px 0 34px 30px; border-right: 0; }
  .step-dot { display: none; }
  .step-num { font-size: 64px; font-weight: 700; letter-spacing: 0; margin-bottom: 18px; }
  .step-title { font-size: 21px; margin-bottom: 10px; }
  .step-text { font-size: 16px; line-height: 1.58; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  padding: 44px 0 52px;
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%);
}
.testimonials-head { padding-bottom: 20px; }
.testimonials-head .h2-soft { margin: 0; }
.testimonials-note { display: none; }
.quote-row {
  display: flex; gap: 13px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 14px;
  scrollbar-width: none;
}
.quote-row::-webkit-scrollbar { height: 0; width: 0; }
.quote {
  flex: 0 0 268px; scroll-snap-align: start;
  background: #fff; border-radius: 22px; padding: 26px 24px;
  box-shadow: 0 20px 48px -28px rgba(12,35,64,.36);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .5s var(--ease);
}
.quote p { font-size: 15.5px; line-height: 1.55; color: var(--navy); text-wrap: pretty; }
.quote cite { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.quote cite b { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.quote cite span { font-size: 12.5px; color: var(--slate); }
.quote--navy {
  background: var(--navy); position: relative; overflow: hidden;
  box-shadow: 0 20px 48px -24px rgba(12,35,64,.5);
}
.quote--navy .glow {
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 82% 8%, rgba(43,135,227,.55), rgba(43,135,227,0) 70%);
}
.quote--navy > svg, .quote--navy p, .quote--navy cite { position: relative; }
.quote--navy p { color: #fff; }
.quote--navy cite b { color: #fff; }
.quote--navy cite span { color: var(--blue-300); }

@media (min-width: 900px) {
  .testimonials { padding: 120px 0 130px; }
  .testimonials-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 60px; padding-bottom: 56px;
  }
  .testimonials-head .h2-soft { max-width: 520px; }
  .testimonials-note {
    display: block; flex: none; font-size: 15px; color: var(--slate); padding-bottom: 8px;
  }
  .quote-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin: 0; padding: 0; overflow: visible;
  }
  .quote { border-radius: 26px; padding: 38px 34px; gap: 26px; box-shadow: 0 26px 60px -34px rgba(12,35,64,.34); }
  .quote:hover { transform: translateY(-8px); }
  .quote p { font-size: 19px; line-height: 1.56; }
  .quote cite b { font-size: 15px; }
  .quote cite span { font-size: 14px; }
  .quote svg { width: 24px; height: 24px; }
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.cta-section { background: var(--mist-2); }
.cta-panel {
  background: var(--navy); border-radius: 38px 38px 0 0;
  padding: 48px var(--pad) 46px; position: relative; overflow: hidden;
}
.cta-orb {
  position: absolute; top: -140px; left: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,135,227,.44), rgba(43,135,227,0) 66%);
}
.cta-inner { position: relative; display: grid; max-width: var(--wrap); margin: 0 auto; }
.cta-spark { margin-bottom: 18px; animation: twinkle 4s ease-in-out infinite; }
.cta-title {
  margin: 0 0 16px; font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 9.5vw, 40px); line-height: 1;
  letter-spacing: -.005em; text-transform: uppercase;
}
.cta-title span { display: block; }
.cta-title .t-blue { color: var(--blue); }
.cta-title .t-white { color: #fff; }
.cta-lede {
  margin: 0 0 26px; font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,.74); text-wrap: pretty;
}
.cta-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin-bottom: 28px; }
.cta-media figure { margin: 0; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media .m1 { border-radius: 16px 16px 16px 4px; height: 150px; }
.cta-media .m2 { border-radius: 16px; height: 194px; }
.cta-media .m3 { border-radius: 16px 16px 4px 16px; height: 134px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-actions .btn { flex: 1 1 auto; }
.cta-actions .btn-on-navy { display: none; }
.cta-contact {
  display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 2px;
  margin: 26px 0 0; font-size: 13.5px; line-height: 1.9;
  color: rgba(255,255,255,.6);
}
.cta-contact a { color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.28); transition: color .3s ease, border-color .3s ease; }
.cta-contact a:hover { color: #fff; border-color: #fff; }
.cta-contact > a, .cta-contact > span { white-space: nowrap; }

@media (min-width: 700px) {
  .cta-actions .btn-on-navy { display: inline-flex; }
  .cta-actions .btn { flex: 0 0 auto; }
  .cta-actions .btn-block { width: auto; justify-content: flex-start; }
}
@media (min-width: 900px) {
  .cta-panel { border-radius: 56px 56px 0 0; padding: 104px 0 96px; }
  .cta-orb { top: -180px; left: -120px; width: 700px; height: 700px; }
  .cta-inner {
    padding: 0 var(--pad);
    grid-template-columns: 1fr 1.08fr;
    grid-template-areas: "spark media" "title media" "lede media" "actions media" "contact media";
    grid-template-rows: auto auto auto auto auto;
    align-content: center; column-gap: 70px;
  }
  .cta-spark { grid-area: spark; margin-bottom: 26px; width: 34px; height: 34px; }
  .cta-title { grid-area: title; margin: 0 0 26px; font-size: clamp(44px, 4.7vw, 66px); line-height: .98; }
  .cta-lede { grid-area: lede; margin: 0 0 40px; max-width: 400px; font-size: 18px; line-height: 1.62; }
  .cta-actions { grid-area: actions; align-self: start; }
  .cta-contact { grid-area: contact; align-self: start; font-size: 14px; }
  .cta-media {
    grid-area: media; align-self: center; gap: 18px; margin-bottom: 0;
  }
  .cta-media figure { box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); }
  .cta-media .m1 { border-radius: 22px 22px 22px 6px; height: 280px; }
  .cta-media .m2 { border-radius: 22px; height: 360px; }
  .cta-media .m3 { border-radius: 22px 22px 6px 22px; height: 250px; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--navy); overflow: hidden; }
/* Four identical groups sized by their content: -50% lands exactly two groups
   along, so the loop is seamless and the track always outruns the viewport. */
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.marquee-group {
  display: flex; align-items: center; gap: 26px;
  padding: 16px 26px 16px 0; flex: none;
}
.marquee-group span {
  font-family: var(--display); font-size: 17px; font-weight: 600;
  letter-spacing: .16em; color: rgba(255,255,255,.5); white-space: nowrap;
}
.marquee-group svg { flex: none; width: 11px; height: 11px; }
@media (min-width: 900px) {
  .marquee-track { animation-duration: 34s; }
  .marquee-group { gap: 46px; padding: 26px 46px 26px 0; }
  .marquee-group span { font-size: 26px; }
  .marquee-group svg { width: 15px; height: 15px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  padding: 38px 0 calc(96px + env(safe-area-inset-bottom));
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; font-size: 21px; }
.footer-brand .brand-sub { color: var(--blue-300); font-size: 10.5px; letter-spacing: .4em; }
.footer-lede { margin: 0 0 26px; max-width: 290px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.56); }
.footer-top .cert-chip { margin: 0 0 26px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-bottom: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h2 {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue-300);
}
.footer-col a { font-size: 14px; color: rgba(255,255,255,.72); transition: color .3s ease; }
.footer-col a:hover { color: #fff; }
.footer-col span { font-size: 14px; color: rgba(255,255,255,.4); }
.footer-address {
  font-style: normal; font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,.55);
}
.footer-address span { font-size: inherit; color: inherit; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.footer-bottom span { font-size: 12.5px; color: rgba(255,255,255,.4); }

@media (min-width: 900px) {
  .site-footer { padding: 76px 0 40px; }
  .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 56px; }
  .footer-brand { gap: 12px; margin-bottom: 22px; }
  .footer-brand svg { width: 34px; height: 34px; }
  .footer-brand .brand-name { font-size: 26px; }
  .footer-brand .brand-sub { font-size: 13px; letter-spacing: .42em; }
  .footer-lede { font-size: 15px; margin-bottom: 0; }
  .footer-top .cert-chip { margin: 22px 0 0; }
  .footer-cols { display: contents; }
  .footer-col { gap: 14px; }
  .footer-col h2 { font-size: 14px; margin-bottom: 4px; }
  .footer-col a, .footer-col span { font-size: 15px; }
  .footer-address { font-size: 15px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; padding-top: 26px; }
  .footer-bottom span { font-size: 14px; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 30px) 0 34px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
}
.page-hero .hero-orb { top: -200px; right: -160px; width: 720px; height: 720px; }
.crumbs { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { color: var(--blue-200); }
.crumbs .here { color: var(--blue); }
.page-hero h1 {
  position: relative; margin: 0 0 18px;
  font-family: var(--display); font-weight: 700;
  font-size: min(10.5vw, 44px); line-height: .94;
  letter-spacing: -.01em; text-transform: uppercase;
}
.page-hero h1 .line { display: block; overflow: hidden; }
.page-hero h1 .line > span { display: block; animation: riseIn .9s var(--ease) both; }
.page-hero h1 .line:nth-child(1) > span { color: var(--navy); }
.page-hero h1 .line:nth-child(2) > span { color: var(--blue); animation-delay: .12s; }
.page-hero p {
  position: relative; margin: 0; font-size: 15.5px; line-height: 1.6;
  color: var(--slate); text-wrap: pretty;
}
.br-mobile { display: inline; }
@media (min-width: 900px) {
  .page-hero { padding: calc(var(--header-h) + 88px) 0 90px; }
  .crumbs { margin-bottom: 22px; font-size: 14px; gap: 10px; }
  .page-hero h1 { margin: 0 0 26px; font-size: clamp(56px, 6.7vw, 96px); line-height: .92; letter-spacing: -.015em; max-width: 900px; }
  .page-hero p { max-width: 560px; font-size: 19px; line-height: 1.62; }
  .br-mobile { display: none; }
}

.svc-list {
  padding: 0 0 46px; background: var(--mist);
}
.svc-list .wrap { display: flex; flex-direction: column; gap: 16px; }
.svc-list .cert { margin-top: 8px; background: #fff; border-color: rgba(12,35,64,.06); }

.svc-card {
  display: grid; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 22px 54px -30px rgba(12,35,64,.34);
}
.svc-media { position: relative; overflow: hidden; height: 190px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media .fade { position: absolute; inset: 0; display: none; }
.svc-body { padding: 26px 22px 28px; position: relative; }
.svc-num {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; color: var(--blue); margin-bottom: 10px;
}
.svc-card h3 {
  margin: 0 0 10px; font-size: clamp(22px, 6.4vw, 25px); font-weight: 600;
  letter-spacing: -.02em; color: var(--navy);
}
.svc-card > .svc-body > p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.svc-card--compact > .svc-body > p { margin: 0; }
.svc-points { display: flex; flex-direction: column; gap: 9px; }
.svc-points div { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--navy); }
.svc-points svg { flex: none; margin-top: 3px; width: 15px; height: 15px; }

.svc-card--navy { background: var(--navy); box-shadow: 0 22px 54px -26px rgba(12,35,64,.5); }
.svc-card--navy .svc-num { color: var(--blue-300); }
.svc-card--navy h3 { color: #fff; }
.svc-card--navy > .svc-body > p { color: rgba(255,255,255,.74); }
.svc-card--navy .svc-points div { color: #fff; }
.svc-card--navy .svc-glow {
  position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 12% 0%, rgba(43,135,227,.45), rgba(43,135,227,0) 70%);
}
.svc-card--navy .svc-body > *:not(.svc-glow) { position: relative; }

.svc-trio { display: flex; flex-direction: column; gap: 16px; }

@media (min-width: 900px) {
  .svc-list { padding: 20px 0 130px; }
  .svc-list .wrap { gap: 20px; }

  .svc-card { border-radius: 30px; box-shadow: 0 28px 70px -34px rgba(12,35,64,.32); }
  .svc-card--split { grid-template-columns: 1fr 1.15fr; }
  .svc-card--split .svc-media { grid-column: 1; grid-row: 1; height: auto; min-height: 400px; }
  .svc-card--split .svc-body { grid-column: 2; grid-row: 1; }
  .svc-card--split .svc-media .fade {
    display: block;
    background: linear-gradient(270deg, rgba(255,255,255,.5), rgba(255,255,255,0) 34%);
  }
  .svc-card--split.svc-card--rev { grid-template-columns: 1.15fr 1fr; }
  .svc-card--split.svc-card--rev .svc-media { grid-column: 2; }
  .svc-card--split.svc-card--rev .svc-body { grid-column: 1; }
  .svc-card--split.svc-card--rev .svc-media .fade {
    background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,0) 34%);
  }
  .svc-card--navy.svc-card--rev .svc-media .fade {
    background: linear-gradient(90deg, rgba(12,35,64,.6), rgba(12,35,64,0) 40%);
  }

  .svc-body { padding: clamp(36px, 3.9vw, 56px) clamp(34px, 3.8vw, 54px); }
  .svc-num { font-size: 15px; margin-bottom: 14px; }
  .svc-card h3 { margin: 0 0 16px; font-size: clamp(28px, 2.7vw, 38px); }
  .svc-card > .svc-body > p { margin: 0 0 30px; font-size: 17px; line-height: 1.6; max-width: 420px; }
  .svc-points { gap: 12px; }
  .svc-points div { align-items: center; font-size: 16px; }
  .svc-points svg { margin-top: 0; width: 17px; height: 17px; }

  .svc-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .svc-trio .svc-card { display: flex; flex-direction: column; }
  .svc-trio .svc-media { height: 250px; }
  .svc-trio .svc-body { padding: 34px 32px 38px; }
  .svc-trio h3 { font-size: 28px; letter-spacing: -.015em; margin-bottom: 12px; }
  .svc-trio .svc-body > p { font-size: 16px; line-height: 1.58; margin: 0; }
}

/* Services page closing band */
.svc-cta { background: var(--mist); }
.svc-cta .cta-panel { padding: 44px var(--pad) 46px; }
.svc-cta .cta-orb { top: auto; bottom: -160px; left: auto; right: -90px; width: 380px; height: 380px; }
.svc-cta h2 {
  position: relative; margin: 0 0 14px; font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 8.8vw, 34px); line-height: 1; text-transform: uppercase; color: #fff;
}
.svc-cta p {
  position: relative; margin: 0 0 24px; font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,.72);
}
.svc-cta .cta-inner { display: block; }
.svc-cta .cta-contact { margin: 0 0 24px; font-size: 13.5px; line-height: 1.9; }
@media (min-width: 900px) {
  .svc-cta .cta-panel { padding: 96px 0; }
  .svc-cta .cta-orb { bottom: -220px; right: -120px; width: 640px; height: 640px; }
  .svc-cta .cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 60px; padding: 0 var(--pad);
  }
  .svc-cta h2 { font-size: clamp(40px, 4.3vw, 60px); line-height: .98; max-width: 620px; margin-bottom: 16px; }
  .svc-cta p { font-size: 18px; max-width: 460px; margin: 0; }
  .svc-cta .cta-contact { font-size: 14px; max-width: 620px; margin: 18px 0 0; }
  .svc-cta .btn { flex: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cursor-glow { display: none !important; }
  /* Decorative light effects have no meaningful still frame - hide them outright. */
  .fx-sheen { display: none !important; }
  .fx-caustics { animation: none !important; opacity: .5 !important; transform: none !important; }
}

/* ---------- <picture> wrappers behave like the image they hold ---------- */
picture { display: block; width: 100%; height: 100%; }

/* Services-page closing band: button hugs its content from 900px up */
@media (min-width: 900px) {
  .svc-cta .cta-actions, .svc-cta .btn-block { width: auto; }
}

/* ==========================================================================
   Tablet band (600–899px)
   The source design defines a phone layout and a desktop layout only. Between
   them the phone layout is kept, but the elements that would otherwise stretch
   across a tablet are given back their intended proportions.
   ========================================================================== */
@media (min-width: 600px) and (max-width: 899.98px) {
  /* Hero: buttons sit side by side, copy keeps a readable measure */
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px; }
  .hero-actions .btn-block { width: auto; justify-content: flex-start; }
  .hero-actions .btn-ghost { justify-content: center; }
  .hero-lede { max-width: 560px; }
  .hero-media { height: auto; aspect-ratio: 16 / 10; }

  /* Quick links open out to a single row */
  .quicklinks-card { grid-template-columns: repeat(4, 1fr); }
  .quicklinks-card a { padding: 30px 16px; border-bottom: 0 !important; }
  .quicklinks-card a:nth-child(odd) { border-right: 0; }
  .quicklinks-card a:not(:last-child) { border-right: 1px solid rgba(12,35,64,.08); }

  /* The oval keeps its portrait proportion instead of spanning the screen */
  .why-media { max-width: 460px; margin-left: auto; margin-right: auto; }
  .why-item span { max-width: 60ch; }

  /* Process reads as two columns rather than one long timeline */
  .process-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }

  /* Contact collage grows with the panel */
  .cta-media .m1 { height: 210px; }
  .cta-media .m2 { height: 280px; }
  .cta-media .m3 { height: 190px; }
  .cta-lede { max-width: 560px; }

  /* Services page: taller card imagery, trio pairs up */
  .svc-media { height: 260px; }
  .svc-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .page-hero p { max-width: 560px; }
  .svc-card > .svc-body > p { max-width: 60ch; }
}
