/* Monoceros Security — design tokens & global styles */

:root {
  /* Palette: Trust (default) — navy ink, gold accent, cream paper.
     Sampled from Monoceros' "Ikon blå-guld" mark: a 5-ring gradient
     from navy → slate → olive → antique gold → bright gold. */
  --bg: #F4F1E8;
  --bg-2: #FBF8EF;
  --surface: #E6E7EC;
  --ink: #1D2B56;
  --ink-2: #2A3A6A;
  --ink-muted: #6B6F80;
  --ink-faint: #A2A4AD;
  --brand: #A0843D;
  --brand-deep: #7A6430;
  --brand-soft: rgba(160, 132, 61, 0.10);
  --gold: #CBA135;
  --gold-soft: rgba(203, 161, 53, 0.12);
  --navy: #1D2B56;
  --navy-soft: rgba(29, 43, 86, 0.08);
  --slate: #48484E;
  --olive: #746645;
  --line: rgba(29, 43, 86, 0.12);
  --line-soft: rgba(29, 43, 86, 0.06);
  --on-ink: #F4F1E8;
  --on-ink-muted: rgba(244, 241, 232, 0.65);
  --on-ink-line: rgba(244, 241, 232, 0.14);

  /* The icon's five concentric ring colors, outer → inner */
  --ring-1: #1D2B56;
  --ring-2: #48484E;
  --ring-3: #746645;
  --ring-4: #A0843D;
  --ring-5: #CBA135;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font-sans: "Poppins", "Geist", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "Poppins", "Geist", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

[data-theme="midnight"] {
  --bg: #05111C;
  --bg-2: #0A1A29;
  --surface: #0F2434;
  --ink: #EAF2FA;
  --ink-2: #CFE0EE;
  --ink-muted: #8AA0B4;
  --ink-faint: #4F6678;
  --brand: #CBA135;
  --brand-deep: #A0843D;
  --brand-soft: rgba(203, 161, 53, 0.14);
  --gold: #CBA135;
  --gold-soft: rgba(203, 161, 53, 0.18);
  --navy: #0A1A29;
  --navy-soft: rgba(90, 180, 240, 0.10);
  --slate: #5C7080;
  --olive: #A89968;
  --line: rgba(220, 238, 252, 0.10);
  --line-soft: rgba(220, 238, 252, 0.06);
  --on-ink: #05111C;
  --on-ink-muted: rgba(5, 17, 28, 0.65);
  --on-ink-line: rgba(5, 17, 28, 0.14);

  --ring-1: #16344E;
  --ring-2: #1E5A86;
  --ring-3: #2E84C4;
  --ring-4: #4FA8E4;
  --ring-5: #7FCBFF;
}

[data-theme="paper"] {
  --bg: #FFFFFF;
  --bg-2: #F8F4E8;
  --surface: #FBF8EF;
  --ink: #0A0A0A;
  --ink-2: #1F1F1F;
  --ink-muted: #5A5A5A;
  --ink-faint: #9A9A9A;
  --brand: #A0843D;
  --brand-deep: #1D2B56;
  --brand-soft: rgba(160, 132, 61, 0.08);
  --line: rgba(0, 0, 0, 0.10);
  --line-soft: rgba(0, 0, 0, 0.06);
}

@font-face {
  font-family: "Alex Brush";
  src: url("assets/AlexBrush-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* Type scale */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin: 0;
  text-wrap: balance;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.lead {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 60ch;
  text-wrap: pretty;
}

.body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.muted { color: var(--ink-muted); }

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 200ms ease;
  white-space: nowrap;
}
.btn .btn-arrow {
  display: inline-block;
  width: 16px;
  height: 10px;
  transition: transform 220ms ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-2); }

.btn-brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-brand:hover { background: var(--brand-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--brand-soft); }

.btn-text {
  background: transparent;
  border: none;
  padding: 0;
  height: auto;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-bottom: 4px;
}
.btn-text:hover { border-bottom-color: var(--ink); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #0A1A33 92%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(127,203,255,0.14);
  transition: border-color 200ms ease, background 200ms ease;
}
/* Dark navy top bar — light text on navy */
.nav .nav-logo { color: #EDF4FF; }
.nav .nav-link { color: rgba(206,224,242,0.74); }
.nav .nav-link:hover { color: #fff; background: rgba(127,203,255,0.12); }
.nav .nav-link.active { color: #fff; }
.nav .nav-link .chev { color: rgba(206,224,242,0.6); }
.nav .btn-primary.nav-cta {
  background: var(--gold);
  color: #071828;
  border-color: var(--gold);
}
.nav .btn-primary.nav-cta:hover { background: #E3BC4F; border-color: #E3BC4F; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}
.nav-logo-full {
  height: 40px;
  width: auto;
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: var(--ink);
}
.logo-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 9px;
  color: var(--ink-muted);
  margin-top: 3px;
}
.nav .logo-name { color: #EDF4FF; }
.nav .logo-sub { color: rgba(127,203,255,0.72); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  border-radius: 10px;
  transition: color 150ms, background 150ms;
}
.nav-link:hover { color: var(--ink); background: var(--brand-soft); }
.nav-link.active { color: var(--ink); }
.nav-link.has-menu { padding-right: 28px; }
.nav-link .chev {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.6;
}

.nav-cta { margin-left: 8px; }

/* Mobile nav toggle + dropdown menu */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #EDF4FF;
  flex: none;
}
.nav-toggle:hover { background: rgba(127,203,255,0.12); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0A1A33;
  border-top: 1px solid rgba(127,203,255,0.14);
  border-bottom: 1px solid rgba(127,203,255,0.14);
  padding: 10px var(--gutter) 24px;
  display: grid;
  gap: 2px;
  z-index: 55;
}
.mobile-menu .nav-link {
  color: rgba(206,224,242,0.82);
  padding: 14px 12px;
  font-size: 16px;
  border-radius: 10px;
}
.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active { color: #fff; background: rgba(127,203,255,0.12); }
.mobile-menu .nav-cta-mobile {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

.megamenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 540px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(11,23,48,0.02),
    0 12px 32px rgba(11,23,48,0.08),
    0 32px 64px rgba(11,23,48,0.06);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 60;
}
.nav-group:hover .megamenu,
.megamenu:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group { position: relative; }
/* Invisible bridge so the gap between trigger and menu doesn't drop the hover */
.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: -40px;
  height: 16px;
}

.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.mm-head .mm-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mm-head .mm-see-all {
  font-size: 12.5px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 160ms;
}
.mm-head .mm-see-all:hover { color: var(--ink); }

.mm-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.mm-service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  transition: background 160ms;
  align-items: center;
}
.mm-service:hover { background: var(--brand-soft); }
.mm-service:hover .mm-service-name { color: var(--brand); }
.mm-service .mm-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}
.mm-service-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  transition: color 160ms;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0 clamp(52px, 6vw, 88px);
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { min-height: auto; }
}
.hero > .container { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--brand);
  position: relative;
}
.hero-eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--brand);
  animation: pulse 2.2s infinite ease-out;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(3.4); opacity: 0;   }
}
.hero-lead { margin-top: 32px; max-width: 56ch; }
.hero-cta-row {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-meta-item .eyebrow { display: block; margin-bottom: 6px; }
.hero-meta-item .val {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.hero-dark { background: #02090F; }
.hero-drop-wrap {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.hero-drop-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right,
    #02090F 0%,
    rgba(2,9,15,0.92) 22%,
    rgba(2,9,15,0.55) 44%,
    rgba(2,9,15,0.15) 66%,
    rgba(2,9,15,0.0) 100%
  );
}
.hero-overlay-center {
  background: radial-gradient(ellipse 65% 80% at 50% 50%,
    rgba(2,9,15,0.78) 0%,
    rgba(2,9,15,0.32) 55%,
    transparent 100%
  );
}
.hero-dark h1                          { color: #EDF4FF; }
.hero-dark .eyebrow                    { color: rgba(160,200,255,0.65); }
.hero-dark .hero-lead                  { color: rgba(200,220,255,0.78); }
.hero-dark .hero-meta                  { border-color: rgba(255,255,255,0.10); }
.hero-dark .hero-meta-item .val        { color: #EDF4FF; }
.hero-dark .hero-meta-item .eyebrow    { color: rgba(160,200,255,0.60); }
.hero-dark .btn-primary                { background: var(--gold); color: #071828; border-color: var(--gold); }
.hero-dark .btn-ghost                  { color: rgba(237,244,255,0.85); border-color: rgba(237,244,255,0.22); }
.hero-dark .hero-eyebrow .dot          { background: #58C8FF; }
.hero-dark .hero-eyebrow .dot::after   { background: #58C8FF; }

/* Marquee / strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 18px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 14px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.strip-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.strip-item .sep {
  order: -1;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand);
  display: inline-block;
  flex: none;
}

/* Section */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
/* "What we do" heading is long — give it a touch more room than the lead and
   let it wrap greedily so it holds 3 lines (not 4) without shrinking the lead
   into a narrow right-hand box. */
@media (min-width: 901px) {
  #services .section-head { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  #services .section-head .h1 { text-wrap: normal; }
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-lead {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  letter-spacing: -0.005em;
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  background: linear-gradient(155deg, #0A1830 0%, #020A17 100%);
  border: 1px solid rgba(55, 110, 190, 0.22);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  color: #EDF4FF;
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 220px;
  transition: background 240ms ease;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(80,160,240,0.40);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,30,80,0.45);
}
/* Photo backdrop */
.sc-photo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sc-photo-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  opacity: 0.5;
}
.sc-photo-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg,
    rgba(12,29,54,0.35) 0%,
    rgba(9,22,40,0.85) 55%,
    rgba(7,21,37,0.96) 100%
  );
}
/* Card content */
.sc-name {
  font-size: clamp(15px, 1.3vw, 17px); font-weight: 600;
  color: #EDF4FF; letter-spacing: -0.015em; line-height: 1.25;
  position: relative; z-index: 1;
}
.sc-body {
  font-size: 12.5px; line-height: 1.5;
  color: rgba(180,210,255,0.70); flex: 1;
  position: relative; z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
.sc-foot {
  margin-top: 8px; display: flex; justify-content: flex-end;
  position: relative; z-index: 1;
}
.sc-foot .btn-arrow {
  width: 18px; height: 12px;
  color: var(--gold); stroke: var(--gold); stroke-width: 1.8;
}
/* (ghost rule — replaced by above) */
.service-card-__ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(203, 161, 53, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.service-card-__ghost:hover::before { opacity: 1; }
.service-card-__ghost .service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.service-card-__ghost .service-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--on-ink);
  margin: 0;
}
.service-card-__ghost .service-sub {
  font-size: 14px;
  color: var(--gold);
  font-style: italic;
  letter-spacing: -0.005em;
  margin-top: -8px;
}
.service-card-__ghost .service-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--on-ink-muted);
}
.service-card-__ghost .service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  color: var(--on-ink);
  font-size: 14px;
}
.service-go {
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 220ms ease;
}
.service-card-__ghost .service-rings {
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  opacity: 0.12;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.service-card-__ghost:hover .service-rings { opacity: 0.45; }

/* Approach (numbered steps) */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .approach { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .approach { grid-template-columns: 1fr; }
}
.approach-step {
  padding: 26px 24px;
  border-radius: var(--radius);
  position: relative;
  background: var(--surface);
}
.approach-step .step-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.approach-step .step-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

/* Testimonials — card grid (Lars Silberg pattern, Monoceros tokens) */
.t-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.t-card {
  flex: 1 1 300px;
  max-width: calc((100% - 36px) / 3);
}
@media (max-width: 900px) {
  .t-card { max-width: 100%; flex-basis: 100%; }
}
/* When only one testimonial exists, centre it at a readable width */
.t-grid-single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}
.t-card {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 4px 24px rgba(29,43,86,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.t-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(29,43,86,0.10);
  border-color: rgba(160,132,61,0.30);
}
.t-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.t-star {
  width: 14px; height: 14px;
  fill: var(--gold);
  flex: none;
}
.t-quote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  flex: 1;
  text-wrap: pretty;
}
.t-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.t-avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.t-avatar-logo {
  width: 68px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 0;
}
.t-avatar-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.t-avatar-logo.t-logo-dark {
  background: var(--navy);
  padding: 6px 8px;
  box-sizing: border-box;
}
.t-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.t-name {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.t-role { font-size: 12px; color: var(--ink-muted); }
.t-org {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
  margin-top: 3px;
}

/* About teaser */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.about-photo .about-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* Landscape team photo (About / Our purpose) */
.about-photo-team { aspect-ratio: 7 / 5; }
.about-photo-team .about-photo-img { object-position: center 35%; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stat .val {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.4vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 10px;
  display: block;
}

/* CTA */
.cta {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
}
.cta-right {
  display: grid;
  gap: 18px;
}
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 6px;
  transition: border-color 200ms, background 200ms;
}
.cta-card:hover { border-color: var(--ink); background: var(--surface); }
.cta-card .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.cta-card .val { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; color: var(--ink); }

/* Footer */
.footer {
  background: #0A1A33;
  padding: 40px 0 28px;
  font-size: 14px;
  color: rgba(237,244,255,0.82);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-info p { margin: 0 0 6px; }
.footer-info p:last-child { margin-bottom: 0; }
.footer-info strong { color: #fff; }
.footer-info a { color: rgba(237,244,255,0.82); text-decoration: underline; text-underline-offset: 2px; }
.footer-info a:hover { color: #fff; }
.footer-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: #fff;
  flex: none;
}
.footer-book {
  display: inline-block;
  margin-top: 24px;
  color: rgba(237,244,255,0.82);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-book:hover { color: #fff; }
.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 12.5px;
  color: rgba(237,244,255,0.6);
}
.footer-bottom a { color: rgba(237,244,255,0.85); font-weight: 500; }
.footer-bottom a:hover { color: #fff; }

/* Service detail page */
.svc-hero {
  background: #FFFFFF;
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: 0.5; }
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: end;
}
.svc-hero .h-display { font-size: clamp(38px, 5vw, 72px); }
.svc-hero-sub {
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  margin-top: 16px;
  display: block;
}
.svc-hero-meta {
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
}
.svc-hero-meta .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.svc-hero-meta .row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.svc-hero-meta .row .v { font-size: 14px; color: var(--ink); text-align: right; max-width: 24ch; }

.svc-body {
  background: #FFFFFF;
  padding: clamp(48px, 6vw, 96px) 0;
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
}
.svc-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 4px;
}
.svc-toc .eyebrow { margin-bottom: 14px; }
.svc-toc a {
  font-size: 14.5px;
  color: var(--ink-muted);
  padding: 6px 0;
  border-left: 2px solid var(--line);
  padding-left: 14px;
  transition: color 160ms, border-color 160ms;
}
.svc-toc a:hover, .svc-toc a.active { color: var(--ink); border-left-color: var(--brand); }
@media (max-width: 900px) {
  /* Show the article before the "on this page" / crisis sidebar, so mobile
     readers hit real content first instead of scrolling past nav aids. */
  .svc-toc { position: static; order: 2; margin-top: 40px; }
  .svc-grid > *:not(.svc-toc) { order: 1; }
}

.svc-section { margin-bottom: 64px; }
.svc-section:last-child { margin-bottom: 0; }
.svc-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: 0;
  margin: 0 0 20px;
  color: var(--ink);
}
.svc-section p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 0 16px;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li {
  display: block;
  background: var(--surface);
  padding: 20px 22px;
}

.quick-links { padding: 40px 0; border-bottom: 1px solid var(--line); }
.quick-links-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.quick-links-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.quick-links-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.quick-chip:hover { border-color: var(--brand); color: var(--brand); background: rgba(0,0,0,0.02); }

.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.terms-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.terms-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.terms-body { color: var(--ink); line-height: 1.6; margin: 0; }
@media (max-width: 860px) { .terms-grid { grid-template-columns: 1fr; } }
.svc-list li .t {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}
.svc-list li .d {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}
/* Numbered group heading inside a section, matching the PDF's gold band titles */
.svc-group {
  margin-top: 32px;
}
.svc-group:first-of-type { margin-top: 24px; }
.svc-group-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin: 0;
}
.svc-group .svc-list { margin-top: 12px; }

.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 560px) { .outcome-grid { grid-template-columns: 1fr; } }
.outcome {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
}
.outcome .t {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.outcome .d { font-size: 14px; color: var(--ink); line-height: 1.55; }

.related {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 96px) 0;
}
.related h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 32px;
}
.services-group-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 200ms, box-shadow 200ms;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(29,43,86,0.10); }
.related-card .eyebrow { margin-bottom: 14px; }
.related-card .t {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 500;
}
.related-card .d { font-size: 14px; color: var(--ink); }
.related-card .go {
  margin-top: 24px;
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}

/* ── Our team ─────────────────────────────────────────────────────────── */
.team-photo-band {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.team-photo-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.team-avatar {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.team-meta { margin-top: 18px; }
.team-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.team-role {
  margin: 3px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.team-advisory { margin-top: 16px; }
.team-advisory-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.team-advisory ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-advisory li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.team-advisory li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}
.team-advisory-soon {
  margin: 16px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-muted);
}

/* Fade in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Selection */
::selection { background: var(--brand); color: #fff; }

/* Cursor: subtle for important elements */
.service-card, .cta-card, .related-card, .nav-link, .btn { cursor: pointer; }
