/* ============================================================
   N2 Technology — Draft 5  (redesign)
   Palette: Ink-Black · Prussian Blue · Regal Navy · Yellow
   No colour transitions — solid colours throughout
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Primary palette */
  --ink-black:      #000814;
  --prussian-blue:  #001d3d;
  --regal-navy:     #003566;
  --yellow:         #ffc300;
  --gold:           #ffd60a;

  /* Derived tints & utilities */
  --navy-mid:       #002855;          /* between prussian and regal */
  --navy-hover:     #00254e;          /* nav link hover state       */
  --yellow-dark:    #e6a800;          /* yellow on hover            */
  --yellow-pale:    #fff8d6;          /* yellow tint on white bg    */
  --yellow-border:  rgba(255,195,0,0.30);

  /* Page backgrounds */
  --white:          #ffffff;
  --off-white:      #f5f8fc;          /* slight blue-cool tint      */
  --light-section:  #eef3f9;          /* alternating light sections */

  /* Text */
  --text-dark:      #000814;
  --text-body:      #2d3a4a;
  --text-muted:     #5a6e84;
  --text-on-dark:   rgba(255,255,255,0.88);
  --text-on-dark-2: rgba(255,255,255,0.60);

  /* Borders */
  --border:         #dde5ee;
  --border-dark:    rgba(255,255,255,0.12);   /* borders on dark bg */

  /* Shadows */
  --shadow-sm:  0 2px  8px rgba(0,8,20,0.08);
  --shadow-md:  0 4px 20px rgba(0,8,20,0.10);
  --shadow-lg:  0 8px 40px rgba(0,8,20,0.14);
  --shadow-card:0 2px 12px rgba(0,29,61,0.08), 0 1px 3px rgba(0,0,0,0.04);

  /* Radius */
  --r-sm: 5px;
  --r:    10px;
  --r-lg: 16px;
}

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-dark);
  font-family: 'Sora', Arial, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 38px;
  padding: 0 clamp(20px, 6vw, 88px);
  background: var(--ink-black);
  color: var(--text-on-dark-2);
  font-size: 0.83rem;
  font-weight: 600;
}

.topbar div   { display: flex; gap: 20px; }
.topbar a     { color: var(--text-on-dark-2); transition: color 0.15s; }
.topbar a:hover { color: var(--yellow); }

/* ── Site header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 clamp(20px, 6vw, 88px);
  background: var(--prussian-blue);
  border-bottom: 3px solid var(--yellow);
  box-shadow: var(--shadow-lg);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.site-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--text-on-dark);
  font-size: 0.90rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  background: var(--navy-hover);
  color: var(--yellow);
}

/* Header CTA — yellow pill */
.header-cta {
  background: var(--yellow);
  color: var(--ink-black) !important;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: var(--r-sm);
  padding: 9px 20px;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(255,195,0,0.35);
}
.header-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* Nav item (dropdown parent) */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item > a,
.site-nav > a { display: flex; }

/* ── Mega menu ───────────────────────────────────────────── */
.mega-menu {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(200px, 0.65fr) minmax(320px, 1.2fr);
  gap: 0;
  width: min(680px, calc(100vw - 40px));
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 140ms ease, transform 140ms ease;
  overflow: hidden;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu.compact {
  grid-template-columns: 1fr;
  width: min(320px, calc(100vw - 40px));
}

/* Mega intro — prussian blue panel */
.mega-intro {
  padding: 22px 20px;
  background: var(--prussian-blue);
  color: var(--white);
}

.mega-intro strong {
  display: block;
  color: var(--yellow);
  font-family: 'Sora', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.mega-intro p {
  color: var(--text-on-dark);
  line-height: 1.55;
  font-size: 0.88rem;
  margin: 0 0 14px;
}

.mega-intro a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  background: transparent;
  padding: 0;
  transition: color 0.15s;
}
.mega-intro a:hover { color: var(--gold); }

/* Mega links */
.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  padding: 12px;
  background: var(--white);
  align-content: start;
}

.mega-menu.compact .mega-links { grid-template-columns: 1fr; }

.mega-links a {
  display: block;
  padding: 9px 12px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mega-links a:hover {
  background: var(--yellow-pale);
  color: var(--prussian-blue);
  font-weight: 600;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

/* ── Buttons ─────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-sm);
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}
.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--yellow);
  color: var(--ink-black);
  box-shadow: 0 3px 12px rgba(255,195,0,0.32);
}
.button-primary:hover {
  background: var(--gold);
  box-shadow: 0 5px 20px rgba(255,195,0,0.42);
}

.button-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.button-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
}

/* Text link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--regal-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.text-link::after { content: ' →'; }
.text-link:hover  { color: var(--prussian-blue); }

/* ── Eyebrow label ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prussian-blue);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}

/* ── Hero (home — 2-column) ──────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 88px) 72px;
  background: var(--prussian-blue);
  position: relative;
  overflow: hidden;
}

/* Decorative yellow bar at left edge */
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.06;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

/* ── Hero reference (full-width inner-page hero) ─────────── */
.hero-reference {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(360px, 50vh, 500px);
  place-items: center;
  overflow: hidden;
  padding: clamp(56px, 7vw, 82px) clamp(20px, 6vw, 88px);
  background: var(--prussian-blue);
  border-bottom: 4px solid var(--yellow);
}

.hero-reference__mark {
  position: absolute;
  top: -60px;
  right: max(-100px, -6vw);
  width: min(500px, 46vw);
  height: auto;
  opacity: 0.06;
  filter: grayscale(1) brightness(8);
  pointer-events: none;
}

.hero-reference__content {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  margin-inline: auto;
}

.hero-reference .eyebrow {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.hero-reference__eyebrow {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 0.80rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero.hero-reference h1 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}
.hero.hero-reference h1 strong { font-weight: 800; color: var(--yellow); }

.hero-reference__copy {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 500;
  line-height: 1.65;
}

/* Split CTA button */
.hero-reference__button {
  display: inline-grid;
  grid-template-columns: auto 58px;
  min-height: 52px;
  margin-top: 28px;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s, box-shadow 0.18s;
}
.hero-reference__button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.hero-reference__button span {
  display: grid;
  place-items: center;
  padding: 0 24px;
  background: var(--white);
  color: var(--prussian-blue);
  font-size: 0.93rem;
  font-weight: 700;
}

.hero-reference__button span:last-child {
  padding: 0;
  font-size: 1.35rem;
  background: var(--yellow);
  color: var(--ink-black);
}
.hero-reference__button:hover span:last-child { background: var(--gold); }

/* Hero content + media */
.hero-content { max-width: 720px; }

.hero-media {
  overflow: hidden;
  border: 2px solid rgba(255,195,0,0.35);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* Metrics (hero stats) */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin: 44px 0 0;
}
.metrics div {
  padding-top: 16px;
  border-top: 2px solid rgba(255,195,0,0.45);
}
.metrics dt {
  color: var(--yellow);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}
.metrics dd {
  margin: 5px 0 0;
  color: var(--text-on-dark-2);
  font-size: 0.88rem;
}

/* ── Logo strip ──────────────────────────────────────────── */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--regal-navy);
  border-top: 3px solid var(--yellow);
}

.logo-strip span {
  min-height: 60px;
  display: grid;
  place-items: center;
  color: var(--text-on-dark);
  font-size: 0.86rem;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,0.10);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
  cursor: default;
}
.logo-strip span:last-child { border-right: none; }
.logo-strip span:hover {
  background: var(--prussian-blue);
  color: var(--yellow);
}

/* ── Sections ────────────────────────────────────────────── */
.section,
.split-section,
.case-study,
.cta-band,
.page-hero,
.contact-layout {
  padding-inline: clamp(20px, 6vw, 88px);
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.split-section h2,
.case-study h2,
.cta-band h2,
.page-hero h1,
.contact-copy h1 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.1;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 16px;
  line-height: 1.72;
  color: var(--text-muted);
}

/* Alt section — very light blue-gray */
.alt-section { background: var(--off-white); }

/* ── Service cards ───────────────────────────────────────── */
.service-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.service-grid-wide { grid-template-columns: repeat(3, minmax(0,1fr)); }

.service-card,
.values-grid article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.20s, transform 0.20s, border-color 0.20s;
  position: relative;
  overflow: hidden;
}

/* Yellow accent bar on top, revealed on hover */
.service-card::before,
.values-grid article::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.20s;
}

.service-card:hover,
.values-grid article:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(0,53,102,0.20);
}
.service-card:hover::before,
.values-grid article:hover::before { opacity: 1; }

.service-card {
  min-height: 220px;
  padding: 28px;
}

/* Card icon */
.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  font-weight: 900;
  border-radius: var(--r-sm);
  background: var(--regal-navy);
  color: var(--yellow);
  font-size: 1.1rem;
}

.service-card h3,
.values-grid h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--text-dark); }

.service-card p,
.values-grid p,
.content-stack p,
.case-study p,
.page-hero p,
.contact-copy p {
  line-height: 1.72;
  color: var(--text-body);
  margin: 0;
}

/* ── Values grid ─────────────────────────────────────────── */
.values-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.values-grid article { padding: 28px; }

/* ── Split section ───────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding-top: 88px;
  padding-bottom: 88px;
  background: var(--white);
}

.split-section > div:first-child p:not(.eyebrow) {
  max-width: 620px;
  line-height: 1.75;
  color: var(--text-body);
}

/* Proof list */
.proof-list { display: grid; gap: 12px; }

.proof-list div {
  padding: 18px 20px 18px 20px;
  border-left: 4px solid var(--regal-navy);
  background: var(--off-white);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: border-color 0.15s, background 0.15s;
}
.proof-list div:hover {
  border-left-color: var(--yellow);
  background: var(--yellow-pale);
}

.proof-list strong,
.proof-list span,
.contact-details strong,
.contact-details span,
.contact-details a { display: block; }

.proof-list strong { color: var(--text-dark); font-size: 0.96rem; margin-bottom: 4px; font-weight: 700; }
.proof-list span   { color: var(--text-muted); font-size: 0.91rem; line-height: 1.65; }

/* ── Case study (featured dark section) ──────────────────── */
.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding-top: 88px;
  padding-bottom: 88px;
  background: var(--regal-navy);
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}

.case-study .eyebrow {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.case-study h2 { color: var(--white); }

.case-study p {
  margin: 0;
  color: var(--text-on-dark);
  font-size: 1.03rem;
  line-height: 1.72;
}

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--prussian-blue);
  border-top: 4px solid var(--yellow);
}

.cta-band h2 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.cta-band .eyebrow {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding-top: 72px;
  padding-bottom: 64px;
  background: var(--prussian-blue);
  border-bottom: 4px solid var(--yellow);
}

.page-hero h1 { color: var(--white); }

.page-hero .eyebrow {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--text-on-dark);
  font-size: 1.08rem;
  line-height: 1.72;
}

/* ── Article body ────────────────────────────────────────── */
.article-body {
  max-width: 880px;
  background: var(--white);
  border-radius: var(--r);
  padding: 40px 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  border-top: 4px solid var(--regal-navy);
}

.article-body h2 {
  margin-top: 32px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; }

.article-body p {
  line-height: 1.78;
  color: var(--text-body);
  margin: 14px 0;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  color: var(--text-body);
  line-height: 1.72;
}
.article-body li { margin-bottom: 6px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  padding-top: 86px;
  padding-bottom: 88px;
  background: var(--white);
}

.contact-copy p {
  max-width: 620px;
  font-size: 1.03rem;
  color: var(--text-body);
}

.contact-details {
  display: grid;
  gap: 18px;
  max-width: 480px;
  margin-top: 34px;
}

.contact-details div {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.contact-details strong {
  margin-bottom: 5px;
  color: var(--prussian-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--regal-navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.contact-details a:hover { color: var(--prussian-blue); }

/* Contact form card */
.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-top: 4px solid var(--regal-navy);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--text-dark);
  font: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--regal-navy);
  box-shadow: 0 0 0 3px rgba(0,53,102,0.12);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(140px, 1fr));
  gap: 36px;
  padding: 56px clamp(20px, 6vw, 88px) 0;
  background: var(--ink-black);
  color: var(--text-on-dark-2);
  border-top: 4px solid var(--yellow);
}

.site-footer p {
  margin: 0;
  line-height: 1.68;
  font-size: 0.9rem;
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer a {
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--yellow); }

.site-footer h4 {
  margin: 0 0 6px;
  color: var(--yellow);
  font-family: 'Sora', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 12px;
}

.footer-brand { max-width: 320px; }
.footer-brand p { color: rgba(255,255,255,0.48); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px !important;
  padding: 22px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.32);
}
.footer-bottom a { color: rgba(255,255,255,0.32); font-size: 0.82rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ── 404 page ────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--prussian-blue);
}
.error-page__inner { max-width: 520px; }
.error-page__code  {
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  font-family: 'Sora', Arial, sans-serif;
  margin-bottom: 16px;
}
.error-page h1 { font-size: 1.8rem; color: var(--white); margin-bottom: 14px; }
.error-page p  { font-size: 1.02rem; color: var(--text-on-dark); margin-bottom: 28px; line-height: 1.7; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .topbar { display: none; }

  .nav-toggle { display: inline-grid; }

  .site-nav,
  .header-cta { display: none; }

  .site-header.nav-open .site-nav {
    position: absolute;
    inset: 72px 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding: 12px 16px;
    background: var(--prussian-blue);
    border-top: 2px solid var(--yellow);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 80px);
    overflow: auto;
    z-index: 200;
  }

  .site-header.nav-open .site-nav a { border-radius: var(--r-sm); }

  .site-header.nav-open .nav-item,
  .site-header.nav-open .site-nav > a { display: grid; }

  .site-header.nav-open .mega-menu {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-radius: 0;
  }

  .site-header.nav-open .mega-intro { display: none; }
  .site-header.nav-open .mega-links { grid-template-columns: 1fr; padding: 0; }
  .site-header.nav-open .mega-links a { color: var(--text-on-dark-2); background: transparent; }
  .site-header.nav-open .mega-links a:hover { background: var(--navy-hover); color: var(--yellow); }

  .hero,
  .split-section,
  .case-study,
  .contact-layout { grid-template-columns: 1fr; }

  .hero { padding-top: 56px; }
  .hero::before { width: 100%; height: 4px; left: 0; top: 0; bottom: auto; }

  .hero-reference { min-height: 420px; padding-top: 60px; padding-bottom: 56px; }
  .hero-reference__mark { top: -30px; right: -120px; width: 460px; }

  .hero-media img { min-height: 300px; }

  .service-grid,
  .service-grid-wide,
  .values-grid,
  .logo-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .site-footer { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .hero { padding-top: 44px; }

  .hero.hero-reference { min-height: 440px; padding-top: 52px; padding-bottom: 44px; }
  .hero.hero-reference h1 { font-size: clamp(1.8rem, 8.5vw, 2.5rem); }
  .hero-reference__copy { font-size: 0.98rem; margin-top: 16px; }
  .hero-reference__mark { right: -150px; width: 380px; }

  .hero-actions,
  .cta-band { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }

  .metrics,
  .service-grid,
  .service-grid-wide,
  .values-grid,
  .logo-strip { grid-template-columns: 1fr; }

  .site-footer { grid-template-columns: 1fr; padding-bottom: 32px; }

  .article-body { padding: 24px 20px; }
}
