/* =========================================================
   SUB-SEA 9 GAS — public site stylesheet
   Dangote-inspired design system (shared with ss9)
   Deep indigo navy (#110C5B) / red (#CD0001) / white
   Abhaya Libre (serif display) + Roboto (body)
   ========================================================= */

:root {
  --navy-950: #0a0630;
  --navy-900: #110c5b;
  --navy-800: #1a1480;
  --navy-700: #241d9e;
  --navy-600: #2f27c0;
  --red-600: #cd0001;
  --red-700: #a30001;
  --red-50: #fbeceb;
  --ink: #212121;
  --ink-soft: #63666b;
  --mist: #f4f4f4;
  --line: #e4e4e6;
  --white: #ffffff;

  --font-display: "Abhaya Libre", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(17, 12, 91, 0.06);
  --shadow-md: 0 14px 34px rgba(17, 12, 91, 0.12);
  --shadow-lg: 0 26px 60px rgba(17, 12, 91, 0.18);

  --container: 1180px;
  --header-h: 84px;
  --topbar-h: 40px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; -webkit-text-size-adjust: 100%; }

[id] { scroll-margin-top: 6rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb {
  background: #c9c6f2; border-radius: 6px; border: 3px solid var(--mist);
}
::-webkit-scrollbar-thumb:hover { background: var(--red-600); }
html { scrollbar-color: #c9c6f2 var(--mist); }
a { color: var(--navy-800); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.14;
  color: var(--navy-900);
  margin: 0 0 0.6em;
  letter-spacing: 0;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
h2, h3 { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm); transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons (sharp, uppercase — Dangote style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.84rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.95rem 1.9rem; border-radius: 2px;
  border: 2px solid transparent; transition: all 0.22s ease;
  text-align: center; line-height: 1.2;
}
.btn svg { flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--navy, .btn--primary {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}
.btn--navy:hover, .btn--primary:hover {
  background: var(--red-600); border-color: var(--red-600); color: #fff;
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red-600); color: #fff; border-color: var(--red-600);
}
.btn--red:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: translateY(-2px); }

.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); }

.btn--outline-white { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--outline-white:hover { background: #fff; border-color: #fff; color: var(--navy-900); transform: translateY(-2px); }

.btn--light {
  background: #fff; color: var(--navy-900); box-shadow: var(--shadow-md);
}
.btn--light:hover { background: var(--red-600); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }

/* Branded focus ring (keyboard users) */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(205, 0, 1, 0.55);
  outline-offset: 2px;
  border-radius: 2px;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }

::selection { background: var(--red-600); color: #fff; }

/* ---------- Shared layout ---------- */
.section { padding: 5.5rem 0; }
.section--mist { background: var(--mist); }
.section--navy {
  color: #d8d5f5;
  background:
    radial-gradient(1000px 460px at 90% -10%, rgba(47, 39, 192, 0.35), transparent 62%),
    radial-gradient(800px 400px at 5% 110%, rgba(205, 0, 1, 0.14), transparent 60%),
    var(--navy-900);
}
.section--navy h2, .section--navy h3 { color: #fff; }

.section__head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red-600);
  margin-bottom: 1rem;
}
.section--navy .eyebrow { color: #ffd0cf; }

.section__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0.6rem; }
.section__lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0; }
.section--navy .section__lead { color: #b4b0ec; }

.section-head {
  max-width: 720px; margin: 0 auto 2.75rem; text-align: center;
}
.section-head .section__lead { max-width: 56ch; margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 0.9rem; }

/* ---------- Header: top bar + main ---------- */
.site-header { position: relative; }
.topbar {
  background: var(--navy-900); color: #c9c6f2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__inner {
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.topbar__contact { display: flex; align-items: center; gap: 1.4rem; }
.topbar__contact a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: #c9c6f2; font-size: 0.8rem; font-weight: 400;
}
.topbar__contact a:hover { color: #fff; }
.topbar__contact svg { color: var(--red-600); }
.topbar__meta { display: flex; align-items: center; gap: 1.4rem; }
.topbar__offices {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; color: #c9c6f2;
}
.topbar__offices svg { color: var(--red-600); }
.topbar__socials { display: flex; gap: 0.4rem; }
.topbar__socials a {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #c9c6f2; border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s;
}
.topbar__socials a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }

.site-header__main {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header__main.is-scrolled { box-shadow: 0 10px 30px rgba(10, 6, 48, 0.12); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-size: 1.42rem; font-weight: 800; letter-spacing: 0.01em; }
.brand__text small {
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red-600); font-weight: 700; margin-top: 2px;
}
.brand--footer { color: #fff; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 4px; background: transparent; color: var(--navy-900);
}

.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav__list { display: flex; align-items: center; gap: 0.2rem; }

.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--navy-900); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.55rem 0.85rem; border-radius: 2px;
  background: none; border: none;
  transition: color 0.18s;
  position: relative;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav__link:hover { color: var(--red-600); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__item.is-active > .site-nav__link { color: var(--red-600); font-weight: 700; }
.site-nav__item.is-active > .site-nav__link::after { transform: scaleX(1); }

.site-nav__sub {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 258px;
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--line); border-top: 3px solid var(--red-600);
  box-shadow: var(--shadow-lg); padding: 0.45rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; z-index: 120;
}
.site-nav__sub::before {
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.site-nav__item.has-children:hover .site-nav__sub,
.site-nav__item.has-children:focus-within .site-nav__sub,
.site-nav__item.has-children.is-open .site-nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav__sub .site-nav__link { color: var(--ink); display: block; width: 100%; padding: 0.65rem 0.8rem; border-radius: var(--radius-sm); text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.site-nav__sub .site-nav__link::after { display: none; }
.site-nav__sub .site-nav__link:hover { background: var(--mist); color: var(--red-600); }
.site-nav__sub .site-nav__link.is-active { color: var(--red-600); font-weight: 700; background: var(--red-50); }

.site-nav__cta { padding: 0.7rem 1.5rem; margin-left: 0.4rem; }
.site-nav__form { display: inline; margin-left: 0.4rem; }
.site-nav__form .site-nav__cta { margin-left: 0; }

/* ---------- Hero slider (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: #fff;
}
.hero__slides {
  position: relative;
  min-height: clamp(540px, 84vh, 760px);
}
.hero__slide {
  position: absolute; inset: 0;
  background-position: center 45%; background-size: cover; background-repeat: no-repeat;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease;
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 6, 48, 0.78) 0%, rgba(17, 12, 91, 0.55) 50%, rgba(10, 6, 48, 0.85) 100%);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__inner { position: relative; z-index: 1; max-width: 820px; text-align: center; margin-inline: auto; }
.hero__overline {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: #ffd0cf; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero__overline::before, .hero__overline::after {
  content: ""; width: 34px; height: 1px; background: var(--red-600);
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800;
  color: #fff; margin: 0 0 1.2rem;
  letter-spacing: 0.02em; text-transform: uppercase;
  line-height: 1.08;
}
.hero__title span { color: #ffd0cf; }
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d8d5f5;
  max-width: 620px; margin: 0 auto 2.4rem; font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
  transition: all 0.22s ease;
}
.hero__arrow:hover { background: var(--red-600); border-color: var(--red-600); }
.hero__arrow svg { width: 26px; height: 26px; }
.hero__arrow--prev { left: clamp(0.75rem, 3vw, 2.5rem); }
.hero__arrow--next { right: clamp(0.75rem, 3vw, 2.5rem); }

.hero__dots {
  position: absolute; left: 0; right: 0; bottom: clamp(6rem, 12vw, 8rem); z-index: 10;
  display: flex; justify-content: center; gap: 0.6rem;
}
.hero__dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent; transition: all 0.25s ease;
}
.hero__dot.is-active { background: #fff; border-color: #fff; width: 30px; border-radius: var(--radius-pill); }
.hero__dot:hover { background: rgba(255, 255, 255, 0.5); }

.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0;
  pointer-events: none; z-index: 5;
}
.hero__wave svg { width: 100%; height: clamp(60px, 8vw, 110px); }

/* ---------- Stat band (under hero) ---------- */
.stat-band { background: var(--navy-900); color: #d8d5f5; }
.stat-band__inner {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  padding: 2.6rem 0;
}
.stat-band__item { text-align: center; padding: 0.6rem 1rem; }
.stat-band__item strong {
  font-family: var(--font-display); font-size: clamp(2.1rem, 8vw, 2.9rem); font-weight: 800;
  color: #fff; display: flex; align-items: baseline; justify-content: center; gap: 0.15rem; line-height: 1;
}
.stat-band__item strong em { font-style: normal; color: var(--red-600); font-size: clamp(1.35rem, 4.6vw, 1.9rem); }
.stat-band__item span {
  display: block; margin-top: 0.6rem; color: #b4b0ec;
  font-size: clamp(0.68rem, 3vw, 0.78rem); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background-color: var(--navy-900);
  background-position: center 40%;
  background-size: cover;
  color: #fff; padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(47, 39, 192, 0.35), transparent 60%),
    linear-gradient(100deg, rgba(10, 6, 48, 0.92) 0%, rgba(17, 12, 91, 0.78) 55%, rgba(10, 6, 48, 0.88) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #ffd0cf; }
.page-hero__title {
  color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  margin: 0 0 0.9rem;
}
.page-hero__lead { color: #d8d5f5; font-size: 1.12rem; max-width: 640px; margin: 0; font-weight: 300; }

/* ---------- Cards ---------- */
.cards-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.cards-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(205, 0, 1, 0.35); }

.card__icon {
  width: 56px; height: 56px; border-radius: 4px;
  display: grid; place-items: center; margin-bottom: 1.3rem;
  color: #fff;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; margin-bottom: 1.1rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.84rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red-600);
}
.card__link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card__link:hover svg { transform: translateX(4px); }

/* Image-led cards (home services) */
.card--media { padding: 0; overflow: hidden; }
.card--media .card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 0 1.8rem 2rem;
  position: relative;
}
.card--media .card__icon {
  margin-top: -30px; margin-bottom: 1.2rem;
  border: 3px solid #fff; box-shadow: var(--shadow-md);
}
.card--media .card__icon:hover { transform: translateY(-3px); }
.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--navy-800);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.card--media:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 48, 0.45));
  pointer-events: none;
}
.card__icon { transition: transform 0.25s ease; }

/* ---------- Split / feature rows ---------- */
.split {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr 1fr;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }

.photo-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: var(--mist);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-frame:hover img { transform: scale(1.05); }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(17, 12, 91, 0.08);
}
.photo-frame__badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 1rem; border-radius: 2px;
  background: rgba(10, 6, 48, 0.82);
  color: #ffd0cf; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.photo-frame__badge svg { width: 15px; height: 15px; }
.photo-frame--portrait { aspect-ratio: 4 / 5; }

.split__kicker {
  color: var(--red-600); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.split__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.split__text { color: var(--ink-soft); }

.checklist { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 0.1rem;
  background: var(--navy-900); color: #fff;
}
.checklist .tick svg { width: 13px; height: 13px; }

/* ---------- Stats strip (navy band) ---------- */
.stats-strip { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat {
  text-align: center; padding: 1.7rem 1rem; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat strong {
  font-family: var(--font-display); font-size: 2.7rem; font-weight: 800;
  color: #fff; display: block; line-height: 1;
}
.stat strong em { font-style: normal; color: var(--red-600); }
.stat span {
  display: block; margin-top: 0.6rem; color: #b4b0ec;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Team ---------- */
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem;
}
.team-card {
  width: calc((100% - 84px) / 4);
  background: #fff;
  border: 1px solid rgba(17, 12, 91, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 12, 91, 0.04), 0 12px 32px -12px rgba(17, 12, 91, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 4px rgba(17, 12, 91, 0.05), 0 24px 48px -16px rgba(17, 12, 91, 0.25);
  border-color: rgba(205, 0, 1, 0.35);
}
.team-card__avatar {
  height: 150px; display: grid; place-items: center;
  background:
    radial-gradient(300px 220px at 30% 15%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(140deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.team-card__avatar svg { width: 74px; height: 74px; opacity: 0.9; }
.team-card__initials {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  letter-spacing: 0.05em; color: #fff;
}
.team-card__avatar--tall { height: 260px; padding: 0; overflow: hidden; position: relative; }
.team-card__avatar--tall img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.team-card__avatar--tall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 12, 91, 0) 58%, rgba(17, 12, 91, 0.18));
}
.team-card:hover .team-card__avatar--tall img { transform: scale(1.07); }
.team-card__body { padding: 1.5rem 1.5rem 1.75rem; }
.team-card__body h3 {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 800;
  color: var(--navy-900); margin-bottom: 0.35rem; min-height: 2.4em; letter-spacing: -0.01em;
}
.team-card__body p { color: var(--red-600); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.team-card__bio-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  text-decoration: none; cursor: pointer;
  font-family: inherit; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red-600);
  border: 1px solid rgba(205, 0, 1, 0.4); border-radius: 999px;
  padding: 0.5rem 1.15rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card__bio-toggle .icon { transition: transform 0.25s ease; }
.team-card__bio-toggle:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.team-card__bio-toggle:hover .icon { transform: translateX(3px); }
.team-card__bio-toggle:focus-visible { outline: 2px solid var(--red-600); outline-offset: 3px; }

/* Inline bios (alternate to profile page) */
.team-card details { margin-top: 1rem; text-align: left; }
.team-card details summary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  list-style: none; cursor: pointer;
  font-family: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red-600);
  border: 1px solid rgba(205, 0, 1, 0.4); border-radius: 999px;
  padding: 0.45rem 1rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.team-card details summary::-webkit-details-marker { display: none; }
.team-card details summary:hover { background: var(--red-600); color: #fff; border-color: var(--red-600); }
.team-card details[open] summary { background: var(--red-600); color: #fff; border-color: var(--red-600); }
.team-card details .team-card__bio { margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.7; }

/* ---------- Partner strip ---------- */
.partner-strip {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem;
}
.partner-strip--center { justify-content: center; align-items: center; margin-top: 2.75rem; }
.partner-strip__label {
  flex-basis: 100%; text-align: center;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.25rem;
}
.partner-strip__item {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.1rem; border: 1px solid var(--line);
  border-radius: 999px; background: #f6f7fb;
  font-weight: 600; font-size: 0.9rem; color: var(--navy-800);
}

/* Team preview strip (home page, on navy) */
.team-strip {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.team-strip__card {
  text-align: center; padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.team-strip__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(205, 0, 1, 0.55);
}
.team-strip__avatar {
  width: 72px; height: 72px; margin: 0 auto 1.1rem;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800));
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 22px rgba(10, 6, 48, 0.35);
}
.team-strip__card h3 { color: #fff; font-size: 1.14rem; margin-bottom: 0.3rem; }
.team-strip__card p {
  color: #ffd0cf; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0;
}
.team-strip__cta { text-align: center; margin-top: 2.75rem; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 3rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(205, 0, 1, 0.28), transparent 60%),
    linear-gradient(120deg, rgba(10, 6, 48, 0.94), rgba(26, 20, 128, 0.86)),
    url("cta.jpg") center 55% / cover no-repeat;
  color: #d8d5f5; box-shadow: var(--shadow-lg);
}
.service-detail .cta-band { margin-top: 4.5rem; }
.cta-band__body h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 0.4rem; }
.cta-band__body p { margin: 0; color: #c9c6f2; }

/* ---------- Value props row ---------- */
.props { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.prop { text-align: center; padding: 1.5rem 1rem; }
.prop__icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 4px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  box-shadow: 0 12px 26px rgba(17, 12, 91, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}
.prop:hover .prop__icon {
  transform: translateY(-6px);
  background: linear-gradient(140deg, var(--red-700), var(--red-600));
}
.prop h3 { font-size: 1.18rem; }
.prop p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* ---------- Service detail ---------- */
.service-detail__grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.service-point h3 { font-size: 1.2rem; }
.service-point p { margin-bottom: 0; }
.service-point__icon {
  width: 48px; height: 48px; border-radius: 4px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--red-50); color: var(--red-600); border: 1px solid rgba(205, 0, 1, 0.18);
}
.service-point__icon svg { width: 24px; height: 24px; }

/* Service intro lead */
.service-lead { max-width: 760px; margin: 0 auto 3rem; text-align: center; color: var(--ink-soft); font-size: 1.08rem; }
.section--navy .service-lead { color: #b4b0ec; }

/* Tighter section variant (e.g. prev/next service navigation after a CTA) */
.section--split { padding: 1rem 0 4.5rem; }

/* Prev / next navigation between service pages */
.service-nav {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
}
.service-nav__link {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--mist); color: var(--navy-900);
  transition: all 0.2s ease;
}
.service-nav__link:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.service-nav__link--next { justify-content: flex-end; text-align: right; }
.service-nav__link small {
  display: block; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem;
}
.service-nav__link strong { font-size: 1rem; line-height: 1.3; }
.service-nav__link:hover small { color: #b4b0ec; }
.service-nav__link svg { flex: none; }

/* ---------- Content blocks ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }

.pillars { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 1fr; align-items: start; }
.office-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem;
  border-left: 4px solid var(--navy-900);
}
.office-card__icon {
  flex: none; width: 46px; height: 46px; border-radius: 4px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
}
.office-card__icon svg { width: 22px; height: 22px; }
.office-card h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.office-card p { margin: 0 0 0.35rem; color: var(--ink-soft); font-size: 0.96rem; }
.office-card p svg { display: inline-block; vertical-align: -2px; margin-right: 0.3rem; }
.office-card a { font-weight: 700; font-size: 0.95rem; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 2rem 2.2rem; box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 0.4rem; color: var(--navy-900); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line);
  border-radius: 2px; font: inherit; color: var(--ink);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(17, 12, 91, 0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }

.form-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.8rem; }
.notice {
  margin: 0 0 1.2rem; padding: 0.9rem 1.1rem;
  border-radius: 2px; font-weight: 600;
  background: #fdeaea; color: #a12b2b;
  border: 1px solid #f0b4b4;
}
.notice.ok { background: #e8f5ec; color: #0d5c2f; border-color: #b7e7c8; }

/* Anti-spam honeypot — off-screen, never shown to humans */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Prevent background scroll while the mobile menu is open */
.no-scroll { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); color: #a9a6d8;
  border-top: 4px solid var(--red-600);
}
.site-footer__grid {
  display: grid; gap: 2.5rem; padding: 4rem 0 3rem;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
}
.site-footer h4 {
  color: #fff; font-size: 0.92rem; margin-bottom: 1.1rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.site-footer__about p { font-size: 0.95rem; max-width: 34ch; color: #a9a6d8; }
.site-footer__col ul { display: grid; gap: 0.55rem; }
.site-footer__col a { color: #a9a6d8; font-size: 0.95rem; transition: color 0.18s, padding-left 0.18s; }
.site-footer__col a:hover { color: #ff9b9a; padding-left: 4px; }

.site-footer__contact address { display: grid; gap: 0.15rem; margin-bottom: 1.1rem; }
.site-footer__contact address strong { color: #e6e4fb; font-size: 0.95rem; }
.site-footer__contact address span { font-size: 0.9rem; color: #a9a6d8; }
.site-footer__contact a { color: #ffb3b2; font-size: 0.95rem; font-weight: 600; }
.site-footer__mail { font-size: 0.95rem; font-weight: 600; }

.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 4px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); color: #c9c6f2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s;
}
.socials a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; transform: translateY(-3px); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.3rem 0; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; font-size: 0.86rem; color: #7e7ab0; }
.site-footer__tagline { color: #7e7ab0; }
.install-app {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: #d8d5f5; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  padding: 0.45rem 1rem; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.install-app svg { width: 15px; height: 15px; }
.install-app:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.install-app[hidden] { display: none; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 4px; border: none;
  display: grid; place-items: center;
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-600); transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-in { opacity: 1; transform: translateY(0); transition-delay: var(--reveal-delay, 0s); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
  .card:hover, .team-card:hover, .team-strip__card:hover,
  .btn:hover, .back-to-top:hover, .card--media .card__icon:hover,
  .photo-frame:hover img, .card--media:hover .card__media img, .prop:hover .prop__icon { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header__main, .hero, .hero__wave, .stat-band,
  .back-to-top, .site-nav__cta, .cta-band, .site-footer,
  .service-nav, .form-note, .skip-link, .hero__dots, .hero__arrow { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: inherit; text-decoration: underline; }
  .section { padding: 1rem 0; }
  .card, .photo-frame, .team-card, .office-card, .contact-form { box-shadow: none; border-color: #ccc; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split--reverse .split__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-card { width: calc((100% - 56px) / 3); }
}

@media (max-width: 720px) {
  .team-card { width: calc((100% - 28px) / 2); }
}

@media (max-width: 480px) {
  .team-card { width: 100%; }
}

@media (max-width: 992px) {
  .section { padding: 4rem 0; }

  .topbar__contact a:nth-child(2),
  .topbar__offices { display: none; }

  .nav-toggle { display: inline-flex; position: relative; z-index: 160; }
  .site-nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950);
    padding: 1.2rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all 0.22s ease;
    z-index: 150;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav__link { color: #d8d5f5; padding: 0.85rem 0.5rem; }
  .site-nav__link::after { display: none; }
  .site-nav__item.is-active > .site-nav__link { color: #ffd0cf; }
  .site-nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255, 255, 255, 0.06);
    border: none; border-radius: var(--radius-sm); margin: 0.25rem 0 0.5rem;
    min-width: 0; display: none; padding: 0.35rem;
  }
  .site-nav__item.is-open .site-nav__sub { display: block; }
  .site-nav__sub .site-nav__link { color: #c9c6f2; }
  .site-nav__sub .site-nav__link:hover { background: transparent; color: #fff; }
  .site-nav__sub .site-nav__link.is-active { color: #ffd0cf; background: transparent; }
  .site-nav__cta { margin: 1rem 0 0; justify-content: center; }
}

@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem; }
  .hero__slides { min-height: 600px; }
  .hero__arrow { display: none; }
  .service-nav { grid-template-columns: 1fr; }

  .stat-band__inner { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; padding: 2.2rem 0; }
  .stat-band__item { padding: 0.4rem 0.25rem; }
  .stat-band__item span { letter-spacing: 0.09em; }
}

/* Splash / loading screen */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  transition: opacity 0.5s ease;
}
.splash.is-done { opacity: 0; pointer-events: none; }
.splash__inner { text-align: center; }
.splash__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  animation: splash-breathe 1.8s ease-in-out infinite;
}
@keyframes splash-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .splash__logo { animation: none; }
}
