:root {
  /* Brand: navy + sky blue from the Ultimate SSG shield */
  --navy-900: #0a1f3c;
  --navy: #0b2a52;
  --navy-700: #15406f;
  --blue: #0ea5e9;
  --blue-deep: #0369a1;
  --blue-light: #7dd3fc;
  --white: #ffffff;
  --mist: #f2f7fc;
  --ice: #e3eff9;
  --line: #d5e3f0;
  --line-dark: rgba(125, 211, 252, 0.22);
  --text: #0f1f33;
  --muted: #4a5b70;
  --text-on-dark: #e6eef7;
  --muted-on-dark: #a9bdd4;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -28px rgba(11, 42, 82, .35);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
h1, h2, h3, h4, .stat strong, .badge-float strong, .service-num, .why-num, .contact-card strong { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 999; background: var(--white);
  display: grid; place-items: center; pointer-events: none;
  animation: preloader-failsafe .6s ease 3s forwards;
}
.preloader-inner { text-align: center; }
.preloader img { width: 78px; height: 78px; margin: 0 auto 20px; object-fit: contain; }
.preloader-name { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); }
.preloader-bar { width: 180px; height: 2px; background: var(--ice); margin: 18px auto 0; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--navy), var(--blue)); transform-origin: left; transform: scaleX(0); animation: preload-bar 1.1s var(--ease) .1s forwards; }
@keyframes preload-bar { to { transform: scaleX(1); } }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.no-js .preloader { display: none; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: linear-gradient(90deg, var(--navy), var(--blue)); transform-origin: left; transform: scaleX(0); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 30px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn:hover::after { left: 140%; }
.btn > * { position: relative; z-index: 1; }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; box-shadow: 0 12px 30px -12px rgba(14,165,233,.6); }
.btn-primary:hover { box-shadow: 0 18px 40px -14px rgba(14,165,233,.8); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.hero .btn-ghost, .section-navy .btn-ghost, .cta-band .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-ghost:hover, .section-navy .btn-ghost:hover, .cta-band .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Top bar */
.topbar { background: var(--navy); color: var(--muted-on-dark); font-size: 12px; letter-spacing: .06em; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: var(--text-on-dark); text-decoration: none; transition: color .3s; }
.topbar a:hover { color: var(--blue-light); }
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a, .topbar > .container > a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--blue-light); flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, .94); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(11,42,82,.3); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; transition: min-height .5s var(--ease); }
.site-header.scrolled .container { min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 18px -8px rgba(11,42,82,.35); }
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.1; }
.brand-tag { display: block; font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--blue-deep); margin-top: 4px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { position: relative; display: block; padding: 12px 16px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); text-decoration: none; white-space: nowrap; transition: color .3s; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--blue-deep); }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 280px; display: block;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--blue); padding: 10px 0; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.main-nav .sub-menu a { font-size: 11px; letter-spacing: .14em; padding: 10px 22px; transition: padding-left .4s var(--ease), background-color .3s, color .3s; }
.main-nav .sub-menu a:hover { background: var(--mist); padding-left: 28px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero (brand navy, not black) */
.hero { position: relative; min-height: calc(100vh - 130px); min-height: calc(100svh - 130px); display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero-media { position: absolute; inset: -8% 0 -8% 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(11,42,82,.94) 0%, rgba(11,42,82,.8) 45%, rgba(3,105,161,.35) 100%); }
.hero::after { content: ""; position: absolute; z-index: 1; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,.35), transparent 65%); pointer-events: none; }
.hero-grain { display: none; }
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 120px; }
.hero-content { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 44px; height: 2px; background: currentColor; }
.hero .eyebrow, .section-navy .eyebrow, .cta-band .eyebrow { color: var(--blue-light); }
.hero h1 { color: #fff; font-size: clamp(46px, 7.4vw, 96px); font-weight: 600; line-height: 1; margin-bottom: 28px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--blue-light); }
.section-title em, .cta-band h2 em { font-style: italic; font-weight: 500; color: var(--blue-deep); }
.section-navy .section-title em { color: var(--blue-light); }
.hero p { font-size: 17px; color: #d6e4f2; max-width: 540px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-on-dark); text-decoration: none; }
.scroll-cue span { width: 1px; height: 54px; background: linear-gradient(var(--blue-light), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.hero-side { position: absolute; z-index: 2; right: 24px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted-on-dark); }

/* Split-text helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* Stats: floating white card over the hero edge */
.stats { position: relative; z-index: 3; margin-top: -70px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.stat { padding: 40px 28px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(40px, 4.6vw, 58px); font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.stat > span { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: 130px 0; position: relative; background: var(--white); }
.section-mist { background: var(--mist); }
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: var(--text-on-dark); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 72px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 44px; height: 2px; background: currentColor; }
.section-title { font-size: clamp(36px, 5vw, 62px); }
.section-head p { font-size: 18px; color: var(--muted); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.split-media { position: relative; }
.img-reveal { position: relative; overflow: hidden; box-shadow: var(--shadow); }
.img-reveal img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.img-frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--ice); border: 1px solid var(--line); z-index: -1; }
.split-media.img-frame { z-index: 0; }
.badge-float { position: absolute; right: -28px; bottom: 48px; z-index: 2; background: var(--navy); color: #fff; padding: 26px 30px; text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.badge-float strong { display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: #fff; font-weight: 600; }
.badge-float > span { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-light); }
.split-text p { color: var(--muted); }
.section-navy .split-text p { color: var(--muted-on-dark); }
.split-text .btn { margin-top: 18px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--blue-deep) !important; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px; padding: 40px 30px 34px; min-height: 270px;
  background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(14,165,233,.14), transparent 60%); opacity: 0; transition: opacity .5s; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--navy), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-num { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--blue-deep); letter-spacing: .1em; position: relative; }
.service-card .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; color: var(--navy); position: relative; transition: transform .7s var(--ease), background-color .5s, color .5s; }
.service-card .ic svg { width: 26px; height: 26px; stroke-width: 1.6; }
.service-card:hover .ic { transform: rotate(-12deg) scale(1.08); background: var(--navy); color: var(--blue-light); }
.service-card h3 { font-size: 26px; margin: 0; position: relative; }
.service-card .more { margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 10px; position: relative; }
.service-card .more svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.service-card:hover .more svg { transform: translateX(6px); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.why-item { padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); display: flex; gap: 22px; align-items: flex-start; transition: background-color .5s; }
.why-item:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.why-num { font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1; color: var(--blue); font-style: italic; min-width: 54px; }
.why-item h3 { font-size: 25px; margin: 6px 0 0; }

/* Patrol (navy band) */
.patrol-media { background: radial-gradient(circle at 50% 50%, rgba(125,211,252,.25), transparent 65%); }
.patrol-media img { object-fit: contain; }
.check-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; }
.check-list li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark); }
.check-list svg { width: 22px; height: 22px; color: var(--blue-light); flex-shrink: 0; stroke-width: 1.6; }

/* Accreditation marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee 38s linear infinite; padding: 10px 0 24px; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
.marquee .logo { width: 190px; height: 120px; background: #fff; display: grid; place-items: center; padding: 18px; flex-shrink: 0; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.marquee .logo:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.marquee img { max-height: 80px; width: auto; object-fit: contain; }
.marquee-controls { display: flex; justify-content: center; margin-top: 20px; }
.marquee-toggle { background: #fff; border: 1px solid var(--line); color: var(--navy); font: 600 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 12px 22px; min-height: 44px; cursor: pointer; }
.marquee-toggle:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Quote */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.quote-wrap > div > p { color: var(--muted); }
.contact-cards { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-card { display: flex; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: padding-left .5s var(--ease); }
a.contact-card:hover { padding-left: 10px; }
.contact-card .ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--blue-deep); display: grid; place-items: center; flex-shrink: 0; transition: background-color .4s, color .4s; }
a.contact-card:hover .ic { background: var(--navy); color: #fff; }
.contact-card .ic svg { width: 20px; height: 20px; stroke-width: 1.6; }
.contact-card small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.contact-card strong { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.form-card { background: #fff; padding: 56px 48px; position: relative; box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.form-card h3 { font-size: 36px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  font: 400 16px var(--sans); color: var(--text); padding: 12px 0; min-height: 48px;
  background: transparent; border: 0; border-bottom: 1px solid #b9cde0; border-radius: 0;
  transition: border-color .4s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field textarea { min-height: 110px; resize: vertical; }
.form-card .btn { margin-top: 36px; }
.form-notice { padding: 14px 16px; margin-bottom: 16px; font-weight: 500; }
.form-notice.ok { background: #dcfce7; color: #14532d; }
.form-notice.err { background: #fee2e2; color: #7f1d1d; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 55%, var(--blue-deep) 100%); color: #fff; text-align: center; padding: 130px 0; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(125,211,252,.25), transparent 60%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(42px, 7vw, 96px); margin-bottom: 36px; }
.cta-band h2 em { color: var(--blue-light); }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: 0 14px 34px -14px rgba(0,0,0,.4); }

/* Inner page banner */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 120px 0 100px;
  background: linear-gradient(100deg, rgba(11,42,82,.95) 0%, rgba(11,42,82,.82) 55%, rgba(3,105,161,.55) 100%), var(--page-hero-img) center/cover no-repeat, var(--navy);
}
.page-hero::after { content: ""; position: absolute; right: -8%; bottom: -60%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,.35), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--blue-light); }
.page-hero h1 { color: #fff; font-size: clamp(44px, 6.4vw, 84px); margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted-on-dark); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-top: 22px; }
.breadcrumbs a { color: var(--blue-light); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.entry-content { max-width: 820px; }
.entry-content p, .entry-content li { color: #334155; font-size: 17px; }

/* Shared content styles */
.lead-para { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; color: var(--navy) !important; font-weight: 500; }
.content-heading { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 16px; padding-left: 20px; border-left: 3px solid var(--blue); }
.check-list.light li { color: var(--text); border-bottom-color: var(--line); align-items: flex-start; }
.check-list.light svg { color: var(--blue-deep); margin-top: 3px; }
.check-list.light { margin: 8px 0 24px; }

/* Service detail */
.section.service-detail { padding-top: 80px; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.service-body > p { color: var(--muted); }
.service-body a { color: var(--blue-deep); }
.service-badge { display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.service-badge .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--blue-light); display: grid; place-items: center; }
.service-badge svg { width: 20px; height: 20px; }
.contact-note { display: flex; gap: 22px; align-items: flex-start; margin-top: 48px; padding: 32px; background: var(--mist); border-left: 3px solid var(--blue); }
.contact-note .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--blue-light); display: grid; place-items: center; flex-shrink: 0; }
.contact-note .ic svg { width: 22px; height: 22px; }
.contact-note p { margin: 0 0 6px; color: var(--text); }
.contact-note a { font-weight: 600; color: var(--blue-deep); }
.service-aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.aside-card { background: #fff; border: 1px solid var(--line); padding: 32px 28px; box-shadow: var(--shadow); }
.aside-title { font-size: 28px; margin-bottom: 16px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .3s, padding-left .4s var(--ease); }
.aside-list svg { width: 14px; height: 14px; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); flex-shrink: 0; }
.aside-list a:hover, .aside-list a[aria-current="page"] { color: var(--blue-deep); padding-left: 8px; }
.aside-list a:hover svg, .aside-list a[aria-current="page"] svg { opacity: 1; transform: none; }
.aside-list a[aria-current="page"] { font-weight: 700; }
.aside-quote { background: linear-gradient(140deg, var(--navy), var(--navy-700)); color: #fff; padding: 36px 28px; position: relative; overflow: hidden; }
.aside-quote::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,.4), transparent 70%); }
.aside-quote .eyebrow { color: var(--blue-light); margin-bottom: 14px; }
.aside-quote-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 600; margin-bottom: 20px; position: relative; }
.aside-line { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 8px 0; font-size: 15px; position: relative; }
.aside-line svg { width: 16px; height: 16px; color: var(--blue-light); }
.aside-quote .btn { margin-top: 18px; width: 100%; }

/* About */
.mvv-grid { display: grid; gap: 40px; }
.mvv-text { max-width: 900px; margin: 0 auto; text-align: center; }
.mvv-text .content-heading { display: inline-block; border-left: 0; padding-left: 0; margin-top: 24px; }
.objective-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.objective { background: #fff; border: 1px solid var(--line); padding: 36px 30px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.objective:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.objective p { margin: 18px 0 0; color: var(--text); }
.vision-quote { margin: 20px auto 0; max-width: 900px; text-align: center; padding: 48px 40px; background: linear-gradient(140deg, var(--navy), var(--navy-700)); color: #fff; position: relative; }
.vision-quote .eyebrow { color: var(--blue-light); }
.vision-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.35; margin: 0; }

/* Services page */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 80px; }
.feature-card { background: var(--mist); border: 1px solid var(--line); padding: 44px 40px; position: relative; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .6s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.feature-card .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--blue-light); display: grid; place-items: center; margin-bottom: 22px; }
.feature-card .ic svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 30px; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-note { max-width: 900px; margin: 40px auto 0; text-align: center; font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--navy); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-panel { background: #fff; border: 1px solid var(--line); padding: 44px 34px; text-align: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.contact-panel:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-panel .ic { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--ice); color: var(--navy); display: grid; place-items: center; }
.contact-panel .ic svg { width: 26px; height: 26px; }
.contact-panel h3 { font-size: 30px; }
.contact-panel p { margin: 0 0 8px; color: var(--muted); }
.contact-panel a { color: var(--blue-deep); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-panel.featured { background: linear-gradient(140deg, var(--navy), var(--navy-700)); border-color: transparent; }
.contact-panel.featured h3 { color: #fff; }
.contact-panel.featured p { color: var(--muted-on-dark); }
.contact-panel.featured a { color: var(--blue-light); }
.contact-panel.featured .ic { background: rgba(125,211,252,.15); color: var(--blue-light); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--muted-on-dark); padding: 100px 0 0; font-size: 14px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.post-nav-label { display: block; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 4px; }
.site-footer h4 { font-family: var(--sans); color: var(--blue-light); font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--blue-light); }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.15; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue-light); flex-shrink: 0; margin-top: 5px; }
.footer-big { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 11vw, 168px); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(125,211,252,.3); text-align: center; margin: 80px 0 0; white-space: nowrap; user-select: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-align: center; }

/* Header search */
.search-toggle { width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .3s, color .3s; }
.search-toggle:hover { border-color: var(--blue); color: var(--blue-deep); }
.search-toggle svg { width: 20px; height: 20px; }
.header-search { border-top: 1px solid var(--line); background: #fff; padding: 18px 0; }
.search-form { display: flex; max-width: 640px; border: 1px solid var(--line); background: #fff; }
.header-search .search-form { margin: 0 auto; }
.search-form input { flex: 1; min-width: 0; font: 400 16px var(--sans); padding: 14px 18px; border: 0; background: transparent; color: var(--text); }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
.search-form button { width: 56px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .3s; }
.search-form button:hover { background: var(--blue-deep); }
.search-form button svg { width: 20px; height: 20px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--ice); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-deep); }
.post-card-title { font-size: 28px; margin: 0; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-title a:hover { color: var(--blue-deep); }
.post-card-body p { color: var(--muted); margin: 0; }
.post-card .more { margin-top: auto; padding-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.post-card .more svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.post-card:hover .more svg { transform: translateX(6px); }
.pagination-wrap { margin-top: 56px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 48px; min-height: 48px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.single-post { max-width: 860px; margin: 0 auto; }
.single-thumb { margin-bottom: 48px; }
.single-thumb img { width: 100%; }
.entry-content { font-size: 17px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content h2 { font-size: 38px; }
.entry-content h3 { font-size: 30px; }
.entry-content img { margin: 24px 0; }
.entry-content a { color: var(--blue-deep); }
.entry-content blockquote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--blue); font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--navy); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.post-taxonomy { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-nav a { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); text-decoration: none; }
.post-nav a:hover { color: var(--blue-deep); }
.post-nav div:last-child { text-align: right; }
.empty-state { max-width: 680px; margin: 0 auto; text-align: center; }
.empty-state p { color: var(--muted); }
.empty-state .search-form { margin: 32px auto; }
.hero-actions.center { justify-content: center; }

/* Comments */
.comments-area { margin-top: 64px; }
.comments-title, .comment-reply-title { font-size: 32px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 48px; }
.comment-list .comment { padding: 24px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; margin: 6px 0 12px; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-form { display: grid; gap: 18px; }
.comment-form label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: 400 16px var(--sans); padding: 12px 14px; border: 1px solid #b9cde0; background: #fff; color: var(--text); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400; }

/* Fallback reveal (used only when GSAP is unavailable) */
.reveal-fallback .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-fallback .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader { display: none; }
  .hero-media img, .scroll-cue span::after { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track .dup, .marquee-controls { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; padding: 16px 24px 28px; max-height: calc(100vh - 88px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-side { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 100px 0; }
  .split, .quote-wrap { grid-template-columns: 1fr; gap: 72px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; gap: 56px; }
  .service-aside { position: static; }
  .objective-grid, .contact-grid, .feature-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 90px 0 70px; }
  .why-item, .why-item:not(:nth-child(3n+1)) { padding: 32px 24px; border-left: 0; }
  .badge-float { right: 16px; }
  .img-frame::before { inset: 16px -12px -16px 16px; }
}
@media (max-width: 640px) {
  .topbar-info .hide-sm { display: none; }
  .section { padding: 80px 0; }
  .hero .container { padding-top: 56px; padding-bottom: 130px; }
  .services-grid, .why-grid, .form-grid, .footer-grid, .post-grid { grid-template-columns: 1fr; }
  .search-toggle { width: 44px; height: 44px; }
  .header-cta { gap: 8px; }
  .post-nav { flex-direction: column; }
  .post-nav div:last-child { text-align: left; }
  .stat { padding: 28px 10px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { width: 32px; height: 32px; }
  .form-card { padding: 40px 24px; }
  .service-card { min-height: 0; }
  .cta-band { padding: 100px 0; }
}

/* 404 – animated security scene */
.e404 { position: relative; overflow: hidden; min-height: calc(100vh - 130px); min-height: calc(100svh - 130px); display: flex; align-items: center; text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%); padding: 100px 0 140px; }
.e404-inner { position: relative; z-index: 3; }
.e404-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.e404-beam { position: absolute; bottom: -10%; width: 34vw; max-width: 460px; height: 120%; transform-origin: 50% 100%; background: linear-gradient(to top, rgba(125,211,252,.28), rgba(125,211,252,0) 85%); clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); filter: blur(2px); }
.e404-beam-left { left: 4%; animation: e404-sweep-left 9s ease-in-out infinite alternate; }
.e404-beam-right { right: 4%; animation: e404-sweep-right 11s ease-in-out infinite alternate; }
@keyframes e404-sweep-left { from { transform: rotate(-28deg); } to { transform: rotate(22deg); } }
@keyframes e404-sweep-right { from { transform: rotate(26deg); } to { transform: rotate(-24deg); } }
.e404-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(224,242,254,.55) 1px, transparent 1.5px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); animation: e404-drift 30s linear infinite; opacity: .5; }
@keyframes e404-drift { to { background-position: 46px 92px; } }
.e404-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 46%; z-index: 2; pointer-events: none; transform: perspective(420px) rotateX(64deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(14,165,233,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,.35) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%); animation: e404-floor 2.6s linear infinite; }
@keyframes e404-floor { to { background-position: 0 60px, 0 0; } }

.e404-code { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 28px); margin-bottom: 28px; }
.e404-digit { font-family: var(--serif); font-weight: 600; font-size: clamp(120px, 22vw, 260px); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--blue-light); background: linear-gradient(180deg, #fff 0%, var(--blue-light) 60%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; display: inline-block; animation: e404-float 5s ease-in-out infinite; text-shadow: 0 0 40px rgba(14,165,233,.35); }
.e404-digit:last-child { animation-delay: -2.5s; }
@keyframes e404-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.e404-shield { position: relative; width: clamp(110px, 18vw, 210px); flex-shrink: 0; }
.e404-shield svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 18px 40px rgba(14,165,233,.45)); }
.e404-radar { transform-origin: 100px 112px; animation: e404-radar 3.2s linear infinite; }
@keyframes e404-radar { to { transform: rotate(360deg); } }
.e404-blip { opacity: 0; animation: e404-blip 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.e404-blip-1 { animation-delay: .35s; }
.e404-blip-2 { animation-delay: 2.1s; }
.e404-blip-3 { animation-delay: 1.5s; }
@keyframes e404-blip { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.5); } 60% { opacity: .2; transform: scale(1); } 100% { opacity: 0; } }
.e404-outline { stroke-dasharray: 700; stroke-dashoffset: 700; animation: e404-draw 2.2s var(--ease) .2s forwards; }
@keyframes e404-draw { to { stroke-dashoffset: 0; } }
.e404-pulse { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(125,211,252,.5); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: e404-pulse 3.2s ease-out infinite; pointer-events: none; }
.e404-pulse-2 { animation-delay: 1.6s; }
@keyframes e404-pulse { 0% { opacity: .7; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
.e404-title { color: #fff; font-size: clamp(36px, 5vw, 60px); margin-bottom: 14px; }
.e404-text { max-width: 560px; margin: 0 auto 36px; color: var(--muted-on-dark); font-size: 18px; }
.e404 .btn-primary { box-shadow: 0 16px 40px -14px rgba(14,165,233,.9); }

@media (prefers-reduced-motion: reduce) {
  .e404-beam, .e404-dots, .e404-floor, .e404-digit, .e404-radar, .e404-blip, .e404-pulse { animation: none !important; }
  .e404-outline { stroke-dashoffset: 0; animation: none; }
  .e404-blip { opacity: 1; }
}
@media (max-width: 640px) {
  .e404 { padding: 70px 0 110px; }
  .e404-beam { width: 60vw; }
}
