/* ==========================================================================
   OMBO Corporate Markets: Design System
   Institutional navy / warm off-white / restrained gold. No gradients.
   ========================================================================== */

:root {
  --navy-deep: #071A2B;
  --navy: #0A2239;
  --white: #FFFFFF;
  --off-white: #F6F4EF;
  --gold: #C8A15A;
  --gold-dim: #9C824A;
  --slate: #7D8792;
  --slate-light: #AEB6BE;
  --line: rgba(7, 26, 43, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-soft: rgba(255, 255, 255, 0.08);

  /* Editorial serif — hero headlines, major page titles and major section headings only. */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', 'Georgia', serif;
  /* Modern sans — navigation, buttons, labels, body copy, data and smaller headings. */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --container-narrow: 860px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;

  --radius: 2px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

/* Sans is the default for every heading level (nav, card titles, data-panel and
   legal-page headings). The editorial serif is opted into below, only for hero
   headlines, page titles (h1) and major section headings (.section-head / .cta-band h2). */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.section-head h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--space-2); color: var(--navy-deep); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section { padding: var(--space-7) 0; }

/* Eyebrow / label style, used for category labels, gold, sparingly */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 640px;
  font-weight: 400;
}

.section-head {
  margin-bottom: var(--space-6);
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head .lede { margin: var(--space-2) auto 0; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover { background: #d9b571; border-color: #d9b571; }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--line);
}
.btn-outline-dark:hover { border-color: var(--navy-deep); }

.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border: none;
  padding: 8px 0;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--navy-deep);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(7, 26, 43, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), padding var(--transition);
  padding: 26px 0;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-dark-soft);
  padding: 16px 0;
}
.site-header.is-open {
  z-index: 650; /* stay above .mobile-panel (600) so the close toggle remains reachable */
}
body.no-hero .site-header {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-dark-soft);
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.logo-img { height: 42px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--slate-light);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-cta .btn { padding: 13px 26px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
}

/* ---- Hero ---- */
.hero {
  background-color: var(--navy-deep);
  color: var(--white);
  padding: 148px 0 var(--space-8);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Photograph layer, tinted by .hero::after below for legibility. Faded on
     the left edge via mask-image so it dissolves into the navy background
     rather than cutting off sharply. */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-home-globe.jpg');
  background-size: cover;
  background-position: center center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 42%, transparent 86%);
  mask-image: linear-gradient(to left, #000 0%, #000 42%, transparent 86%);
}
.hero::after {
  /* Flat solid tint over the photograph, kept legible and institutional.
     A single solid colour, not a gradient. */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 43, 0.58);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-4);
}
.hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.hero h1 {
  color: var(--white);
  max-width: 880px;
  margin-bottom: var(--space-3);
}
.hero .lede {
  color: var(--slate-light);
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: var(--space-5);
}
.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.hero-disclosure {
  max-width: 640px;
  font-size: 0.82rem;
  color: var(--slate);
  border-top: 1px solid var(--line-dark-soft);
  padding-top: var(--space-3);
}

.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 176px 0 var(--space-6);
}

/* Optional photo variant (used on Opportunities, Canadian MSB, For Introducers
   and About). A photograph, tinted by ::after below for legibility and faded
   on the left edge via mask-image so it dissolves into the navy background.
   Each page sets its own image via an inline --hero-photo custom property,
   e.g. style="--hero-photo:url('../img/hero-x.jpg')" — note the path is
   written relative to THIS STYLESHEET (assets/css/), not to the HTML page,
   because that's how the browser resolves a url() carried through a CSS
   variable. Omit --hero-photo to fall back to the Opportunities photo. */
.page-hero--photo {
  position: relative;
  overflow: hidden;
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo, url('../img/hero-opportunities.jpg'));
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 42%, transparent 86%);
  mask-image: linear-gradient(to left, #000 0%, #000 42%, transparent 86%);
}
.page-hero--photo::after {
  /* Flat solid tint for legibility over the visible portion of the photograph,
     matching the homepage hero treatment — a single solid colour, not a gradient. */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 43, 0.55);
}
.page-hero--photo .container { position: relative; z-index: 2; }

/* Full-bleed photo band used to introduce a section mid-page (e.g. the
   Categories intro on the homepage) — same left-fade + navy tint treatment
   as the page photo heroes above, sized for a section intro rather than a
   full page hero. Set --band-photo per use; path is relative to this
   stylesheet, same as --hero-photo. */
.section-photo-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0 64px;
  color: var(--white);
}
.section-photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--band-photo);
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 42%, transparent 86%);
  mask-image: linear-gradient(to left, #000 0%, #000 42%, transparent 86%);
}
.section-photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 43, 0.58);
}
.section-photo-band .container { position: relative; z-index: 2; }
.section-photo-band h2 { color: var(--white); }
.section-photo-band .lede { color: var(--slate-light); }

.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero .lede { color: var(--slate-light); max-width: 640px; }
.page-hero .price-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold);
}
.page-hero .hero-ctas { margin-top: var(--space-4); }

/* ---- Positioning / 3-col ---- */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.pos-card {
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
}
.pos-card .eyebrow { color: var(--gold); }
.pos-card .card-icon { margin-bottom: var(--space-2); }
.pos-card p { color: var(--slate); }
.pos-index {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: var(--space-2);
  letter-spacing: 0.05em;
}

/* ---- Category / opportunity cards ---- */
.cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.category-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: var(--space-4) var(--space-3);
  transition: border-color var(--transition), transform var(--transition);
}
.category-card:hover { border-color: var(--gold); }
.category-card .eyebrow { margin-top: var(--space-3); margin-bottom: var(--space-3); }
.category-card .card-icon { margin-bottom: var(--space-2); }
.category-card h3 { margin-bottom: var(--space-2); }
.category-card p { color: var(--slate); font-size: 0.94rem; margin-bottom: 0; }

/* Restrained line icons: Categories + Why OMBO cards. One family, one stroke weight. */
.card-icon {
  width: 30px;
  height: 30px;
  color: var(--navy-deep);
  display: block;
}

.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.opp-card {
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.opp-card:hover { border-color: var(--navy-deep); }
.opp-card-top {
  padding: var(--space-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.opp-jurisdiction {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.opp-flag {
  width: 20px; height: 15px;
  display: inline-block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 1px;
  flex-shrink: 0;
}
.opp-card-body { padding: var(--space-3); flex: 1; display: flex; flex-direction: column; gap: 10px; }
.opp-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.opp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.opp-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--line);
  background: var(--off-white);
  padding: 4px 8px;
}
.opp-globe { flex-shrink: 0; color: var(--navy-deep); }
.opp-card-body h3 { margin-bottom: 4px; }
.opp-card-body p.opp-desc { color: var(--slate); font-size: 0.92rem; margin-bottom: 0; }
.opp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate);
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.opp-ref { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.02em; }
.opp-card-foot {
  padding: var(--space-3);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.opp-price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-deep);
}

/* Status pills */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid currentColor;
}
.status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-new { color: var(--navy); }
.status-available { color: #4B6E52; }
.status-enquire { color: var(--gold-dim); }
.status-underoffer { color: #9C6B2E; }
.status-confidential { color: var(--slate); }
.status-sold { color: #9A3B3B; }

/* ---- Why OMBO ---- */
.cols-4.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-card { padding-right: var(--space-2); }
.why-card .card-icon { margin-bottom: var(--space-3); }
.why-card .eyebrow { color: var(--gold); }
.why-card p { color: var(--slate); font-size: 0.94rem; }

/* ---- Bespoke Requirements band (white, deliberate break before the dark footer) ---- */
.cta-band {
  background: var(--white);
  color: var(--navy-deep);
  padding: var(--space-8) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { color: var(--navy-deep); max-width: 700px; margin: 0 auto var(--space-2); }
.cta-band p { color: var(--slate); max-width: 620px; margin: 0 auto var(--space-4); }

/* Optional photo variant of the (white) Bespoke Requirements band — a plain
   full-bleed photo (no side fade) with a WHITE tint instead of navy, since
   this section is deliberately kept light. Set --cta-photo per page; path is
   relative to this stylesheet, same as --hero-photo. */
.cta-band--photo {
  position: relative;
  overflow: hidden;
}
.cta-band--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--cta-photo);
  background-size: cover;
  background-position: center;
}
.cta-band--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
}
.cta-band--photo .container { position: relative; z-index: 2; }

/* ---- Process steps ---- */
.process-list { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { color: var(--slate); margin-bottom: 0; max-width: 560px; }

/* ---- Data panels (institutional tables) ---- */
.data-panel {
  border: 1px solid var(--line);
  background: var(--off-white);
}
.data-panel-head {
  padding: var(--space-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.data-panel-head h3 { margin-bottom: 0; }
.data-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  padding: 14px var(--space-3);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.data-row:last-child { border-bottom: none; }
.data-row dt {
  color: var(--slate);
  font-weight: 500;
}
.data-row dd { margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.78rem;
  border: 1px solid var(--line);
  padding: 5px 10px;
  color: var(--navy-deep);
}
.notice-panel {
  border-left: 2px solid var(--gold);
  background: var(--off-white);
  padding: var(--space-3) var(--space-3);
  font-size: 0.9rem;
  color: var(--slate);
}
.notice-panel strong { color: var(--navy-deep); }

/* ---- Forms ---- */
.form-panel {
  border: 1px solid var(--line);
  background: var(--off-white);
  padding: var(--space-5);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-3); }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.form-field .req { color: var(--gold-dim); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--navy-deep);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.check-group, .pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-option {
  border: 1px solid var(--line);
  padding: 9px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--white);
  transition: border-color var(--transition), background var(--transition);
}
.pill-option input { display: none; }
.pill-option.is-checked {
  border-color: var(--gold);
  background: rgba(200, 161, 90, 0.12);
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--slate);
  margin: var(--space-3) 0;
}
.consent-row input { margin-top: 4px; }
.form-confirm {
  display: none;
  text-align: center;
  padding: var(--space-6) var(--space-3);
}
.form-confirm .eyebrow { justify-content: center; }
.form-confirm.is-visible { display: block; }
.form-panel.is-submitted .form-body { display: none; }

/* ---- Search + category pills (opportunities page) ---- */
.opp-search { margin-bottom: var(--space-3); }
.opp-search input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy-deep);
  appearance: none;
  -webkit-appearance: none;
}
.opp-search input[type="search"]:focus { outline: none; border-color: var(--gold); }
.category-pills { margin-bottom: var(--space-3); }
.category-pills .pill-option {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* ---- Filters bar (opportunities page) ---- */
.filters-bar {
  border: 1px solid var(--line);
  background: var(--off-white);
  padding: var(--space-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: var(--space-2);
  align-items: end;
  margin-bottom: var(--space-5);
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.filter-field select {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 11px 12px;
  font-size: 0.86rem;
  color: var(--navy-deep);
}
.results-count { font-size: 0.85rem; color: var(--slate); margin-bottom: var(--space-3); }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-deep);
  color: var(--slate-light);
  padding: var(--space-7) 0 var(--space-4);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line-dark-soft);
}
.footer-brand .logo { margin-bottom: var(--space-3); }
.footer-brand p { color: var(--slate); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--slate-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-contact { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-icon { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.social-row { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }
.footer-disclosure {
  padding-top: var(--space-4);
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 980px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  font-size: 0.8rem;
  color: var(--slate);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer-bottom ul { list-style: none; display: flex; gap: var(--space-3); margin: 0; padding: 0; }
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  max-width: 620px;
  margin: 0 auto;
  background: var(--navy-deep);
  color: var(--slate-light);
  border: 1px solid var(--line-dark);
  padding: var(--space-3) var(--space-3);
  z-index: 900;
  display: none;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { color: var(--slate-light); font-size: 0.85rem; margin: 0; flex: 1; min-width: 220px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.7rem; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0 !important; }
.text-slate { color: var(--slate); }
.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: var(--space-6) 0;
}
.divider--dark { background: var(--line-dark-soft); }
.badge-ref {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gold-dim);
  letter-spacing: 0.03em;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.stat-box {
  border: 1px solid var(--line);
  padding: var(--space-3);
}
.stat-box .eyebrow { margin-bottom: 8px; }
.breadcrumb {
  font-size: 0.78rem;
  color: var(--slate);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: var(--space-3);
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--gold); }
.insight-card {
  border: 1px solid var(--line);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.insight-card .eyebrow { color: var(--gold); }
.coming-soon-panel {
  border: 1px dashed var(--line);
  padding: var(--space-6);
  text-align: center;
  color: var(--slate);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .cols-4, .cols-4.why-grid { grid-template-columns: repeat(2, 1fr); }
  .opp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: var(--space-5); }
  .filters-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .cols-3 { grid-template-columns: 1fr; gap: var(--space-4); }
  .two-col { grid-template-columns: 1fr; gap: var(--space-4); }
  .nav-links, .nav-cta .btn-outline-light { display: none; }
  .nav-toggle { display: flex; }
  .site-header .nav-cta .btn-primary { display: none; }

  .mobile-panel {
    display: block;
    position: fixed;
    top: 0; right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: var(--navy-deep);
    border-left: 1px solid var(--line-dark);
    z-index: 600;
    padding: 100px var(--space-4) var(--space-4);
    transition: right var(--transition);
    overflow-y: auto;
    box-shadow: -24px 0 48px rgba(0,0,0,0.35);
  }
  .mobile-panel.is-open { right: 0; }
  .mobile-panel ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
  .mobile-panel a {
    color: var(--white);
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
  }
  .mobile-panel a.is-active { color: var(--gold); }
  .mobile-scrim {
    display: none;
    position: fixed; inset: 0;
    background: rgba(2, 9, 16, 0.88);
    backdrop-filter: blur(2px);
    z-index: 550;
    opacity: 0;
    transition: opacity var(--transition);
  }
  .mobile-scrim.is-visible { display: block; opacity: 1; }
}

@media (max-width: 480px) {
  .mobile-panel { width: 100%; max-width: none; border-left: none; }
}

@media (max-width: 720px) {
  section { padding: var(--space-6) 0; }
  .hero { padding: 128px 0 var(--space-7); }
  .hero::before { background-position: center 88%; }
  .page-hero { padding: 140px 0 var(--space-5); }
  .cols-4, .cols-4.why-grid { grid-template-columns: 1fr; }
  .opp-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .filters-bar { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: 1fr; gap: 4px; }
  .process-step { grid-template-columns: 1fr; gap: var(--space-1); }
  .cta-band, .hero, .page-hero { text-align: left; }
  .cta-band { text-align: center; }
  .stat-row { grid-template-columns: 1fr; }
  .container, .container--narrow { padding: 0 var(--space-3); }
}
