/* ============================================================
   HILLBLU PREMIUM DESIGN SYSTEM v2.0-launch
   Singapore discipline + Gulf warmth + Institutional trust
   ============================================================ */

:root {
  /* ── Brand palette ─────────────────────────────────────── */
  --logo-navy:  #001774;
  --institutional-navy: #0B1F33;
  --navy:       var(--logo-navy);
  --deep:       var(--institutional-navy);
  --teal:       #0E7C86;
  --sand:       #D8B46A;
  --ivory:      #F7F3EA;
  --slate:      #334155;
  --border:     #E5E7EB;

  /* ── Derived tints ──────────────────────────────────────── */
  --teal-soft:  #E6F4F5;
  --teal-mid:   #0A6670;
  --sand-soft:  #FAF4E6;
  --sand-mid:   #B8944F;
  --navy-mid:   #123A5A;
  --ivory-dark: #EDE9DE;

  /* ── Semantic aliases (backward compat) ─────────────────── */
  --bg:         var(--ivory);
  --surface:    #FFFFFF;
  --surface-2:  #F2EEE5;
  --ink:        var(--logo-navy);
  --muted:      #64748B;
  --line:       var(--border);
  --brand:      var(--logo-navy);
  --brand-2:    var(--institutional-navy);
  --accent:     var(--teal);
  --soft:       var(--teal-soft);

  /* ── Shadows ────────────────────────────────────────────── */
  --shadow:     0 20px 60px rgba(11, 31, 51, 0.11);
  --shadow-sm:  0 4px 18px rgba(11, 31, 51, 0.08);
  --shadow-card:0 2px 12px rgba(11, 31, 51, 0.06), 0 8px 30px rgba(11, 31, 51, 0.07);

  /* ── Layout ─────────────────────────────────────────────── */
  --radius:     18px;
  --radius-sm:  10px;
  --radius-lg:  26px;
  --max:        1200px;

  /* ── Typography ─────────────────────────────────────────── */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body:    Arial, Helvetica, sans-serif;
}

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--ivory);
  line-height: 1.62;
  font-size: 1rem;
}

body.gateway-home {
  position: relative;
  isolation: isolate;
  --gateway-max: 1480px;
  background:
    radial-gradient(circle at top right, rgba(216, 180, 106, 0.08), transparent 24%),
    linear-gradient(180deg, #faf6ee 0%, #f5efe3 100%);
}

body.gateway-home::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 180px),
    radial-gradient(circle at 75% 0%, rgba(11, 31, 51, 0.08), transparent 28%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
p { margin: 0 0 1rem; color: var(--slate); }
img, svg { display: block; max-width: 100%; }

main, header, footer, section, article, div {
  min-width: 0;
}

.gateway-home .gateway-hero,
.gateway-home .gateway-section,
.gateway-home .section-band,
.gateway-home .site-footer,
.gateway-home .site-header {
  max-width: 100%;
}

.gateway-home .gateway-hero *,
.gateway-home .gateway-section *,
.gateway-home .section-band *,
.gateway-home .site-footer *,
.gateway-home .site-header * {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.gateway-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.1rem;
  align-items: stretch;
}

.insights-cta {
  margin-top: 1.35rem;
  display: flex;
  justify-content: flex-start;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1.38rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  align-content: start;
  height: 100%;
}

.insight-card .eyebrow {
  margin-bottom: 0;
}

.insight-card h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  min-height: 2.56em;
}

.insight-card p {
  margin: 0;
  line-height: 1.58;
  flex: 1;
}

.insight-card a {
  color: var(--teal);
  font-weight: 650;
  width: fit-content;
  margin-top: auto;
}

.gateway-home .section,
.gateway-home .site-footer,
.gateway-home .gateway-hero {
  scroll-margin-top: 92px;
}

.gateway-home .site-header {
  width: 100%;
  margin: 0;
  padding-inline: max(1rem, calc((100vw - 1480px) / 2));
}

/* ── Display headings ──────────────────────────────────────── */
.gateway-home main {
  margin-top: -5rem;
  position: relative;
  z-index: 0;
}

h1, h2, h3, h4 { margin: 0; color: var(--navy); }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 900px;
  text-wrap: balance;
  line-height: 0.98;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ── Navigation header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.78rem max(1rem, calc((100vw - 1480px) / 2));
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.82), rgba(247, 243, 234, 0.66));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-block: 1px solid rgba(229, 231, 235, 0.78);
  border-inline: 0;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.05);
}

body:not(.gateway-home) .site-header {
  width: 100%;
  margin: 0;
}

.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 260px; text-decoration: none; }
.brand-copy { display: grid; gap: 0.08rem; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  box-shadow: 0 10px 18px rgba(11, 31, 51, 0.12);
}
.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand strong { color: var(--navy); font-size: 1.08rem; font-weight: 750; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 0.73rem; font-weight: 400; line-height: 1.2; }

.site-nav { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.nav-link {
  padding: 0.35rem 0.45rem;
  border-radius: 0;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: transparent; color: var(--teal); }
.nav-link.active {
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 0;
}

.nav-link.active::after,
.site-nav a.active::after {
  content: none;
  display: none;
}

.nav-cta, .menu-toggle, .button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  min-height: 2.9rem;
}
.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 0.72rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.22);
}
.nav-cta:hover { background: var(--deep); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(11, 31, 51, 0.28); }

body:not(.gateway-home) .nav-cta {
  display: none;
}

.button.primary {
  background: var(--navy);
  color: #fff;
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.05;
  box-shadow: 0 8px 28px rgba(11, 31, 51, 0.2);
}
.button.primary:hover { background: var(--deep); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(11, 31, 51, 0.28); }

.button.primary.teal {
  background: var(--teal);
  box-shadow: 0 8px 28px rgba(14, 124, 134, 0.25);
}
.button.primary.teal:hover { background: var(--teal-mid); box-shadow: 0 14px 34px rgba(14, 124, 134, 0.32); }

.button.secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--navy);
  padding: 0.88rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.05;
}
.button.secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

.button.ghost {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.88rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.05;
}
.button.ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: #fff; }

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1.5px solid var(--border);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── Layout containers ─────────────────────────────────────── */
.hero, .page-hero, .section, .final-cta, .site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 2.5rem;
  align-items: center;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.hero-copy .lead { max-width: 680px; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--slate); margin-top: 1.4rem; line-height: 1.65; }
.lead-small { font-size: 1.05rem; color: var(--slate); line-height: 1.65; }

.eyebrow, .card-kicker, .panel-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-actions-classic {
  justify-content: center;
}

.hero-actions-classic .button {
  text-align: center;
  white-space: normal;
}

.gateway-hero {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.gateway-hero-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 62vw, 780px);
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 23, 116, 0.14) 0%, rgba(0, 23, 116, 0.06) 28%, rgba(0, 23, 116, 0) 62%),
    linear-gradient(180deg, rgba(7, 18, 38, 0.32) 0%, rgba(7, 18, 38, 0.14) 34%, rgba(7, 18, 38, 0.18) 68%, rgba(7, 18, 38, 0.28) 100%),
    var(--hero-image) center center / cover no-repeat;
  border-top: 1px solid rgba(229, 231, 235, 0.75);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  max-width: 100%;
}

.gateway-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 34, 0.42) 0%, rgba(6, 16, 34, 0.18) 34%, rgba(6, 16, 34, 0.08) 58%, rgba(6, 16, 34, 0.26) 100%);
  pointer-events: none;
}

.gateway-hero-banner::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 20%;
  background: linear-gradient(180deg, rgba(0, 23, 116, 0), rgba(0, 23, 116, 0.18));
}

.gateway-hero-banner-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  color: #fff;
  width: min(980px, calc(100% - 2rem));
  max-width: 980px;
  margin: 0 auto;
  min-width: 0;
}

.gateway-hero-banner-content .eyebrow {
  color: rgba(195, 228, 233, 0.98);
  margin-bottom: 0.35rem;
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  line-height: 1.35;
  letter-spacing: 0.16em;
  max-width: 100%;
}

.gateway-hero-banner-content h1 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(3.4rem, 6.4vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.18);
}

.gateway-cn {
  margin: 0.1rem 0 0.2rem;
  color: rgba(255,255,255,0.95);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  max-width: 100%;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.gateway-hero-banner-content .lead {
  max-width: 65ch;
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.62;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.gateway-hero-banner-content .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.gateway-hero-banner-content .button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.gateway-motto {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.hero-actions-classic {
  justify-content: center;
  margin-top: 1.35rem;
}

.gateway-note-light,
.gateway-contact-line-light {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}

.gateway-contact-line-light a {
  color: #fff;
}

.section-band {
  width: min(var(--gateway-max), calc(100% - 2rem));
  margin: 0 auto;
}

.section-band-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
  color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: clamp(3rem, 4.5vw, 4.75rem) clamp(3rem, 5vw, 5rem);
  border-radius: 30px;
  overflow: hidden;
}

.section-band-dark h2 {
  color: #fff;
}

.section-band-dark p {
  color: rgba(255,255,255,0.72);
}

.section-band-dark .eyebrow {
  color: var(--sand);
}

.section-band-dark .section-heading h2 {
  max-width: 620px;
  font-size: clamp(2.25rem, 3.1vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.section-band-dark .section-heading {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  align-items: center;
}

.section-band-dark .section-heading .lead-small {
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.section-band-dark .stat-row-compact {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(1.4rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(255,255,255,0.12);
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-band-dark .stat-item {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.section-band-dark .stat-item .stat-num {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 650;
}

.section-band-dark .stat-item .stat-label {
  color: rgba(255,255,255,0.68);
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  max-width: 26ch;
}

.gateway-section {
  width: min(var(--gateway-max), calc(100% - 1rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 4.5vw, 4.75rem) 0;
  border-top: 1px solid rgba(229, 231, 235, 0.78);
  overflow: hidden;
}

.gateway-home #institutional-statement.section-band-dark {
  box-sizing: border-box;
  padding: clamp(3rem, 4.5vw, 4.75rem) clamp(3rem, 5vw, 5rem);
}

.gateway-section .section-heading {
  margin-bottom: 1.15rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
  margin-bottom: 1.45rem;
}

.section-heading h2 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.section-heading .lead-small {
  max-width: 60ch;
  justify-self: start;
  overflow-wrap: anywhere;
  line-height: 1.6;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  margin-top: 0.2rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.capability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.capability-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f7f9fb;
  filter: saturate(0.92) contrast(1.02) brightness(0.94) hue-rotate(-4deg);
}

.capability-copy {
  padding: 1.25rem 1.28rem 1.34rem;
  display: grid;
  gap: 0.5rem;
  flex: 1;
  align-content: start;
}

.feature-title {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  min-height: 2.55em;
}

.capability-copy p:last-child {
  margin: 0;
  color: var(--slate);
  line-height: 1.58;
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.stakeholder-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 5.1rem;
  line-height: 1.5;
}

.audit-module {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: start;
}

.audit-left {
  display: grid;
  gap: 0.9rem;
  max-width: 620px;
}

.audit-left h2 {
  max-width: 620px;
}

.audit-right {
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 640px;
}

.audit-right .lead-small {
  margin: 0;
  max-width: 60ch;
}

.audit-panel {
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 1.45rem 1.5rem 1.5rem;
  box-shadow: 0 18px 50px rgba(11, 31, 51, 0.16);
}

.audit-panel p,
.audit-panel li {
  color: rgba(255,255,255,0.78);
}

.audit-panel ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.audit-panel .card-kicker {
  color: var(--sand);
}

.operating-standards {
  margin-top: 1.25rem;
  padding: 1.35rem 1.35rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.96), rgba(255,255,255,0.94));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.operating-standards-intro {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  max-width: 60ch;
}

.operating-standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.operating-standard-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(229, 231, 235, 0.96);
  border-radius: 14px;
  padding: 1.05rem 1.08rem 1.12rem;
  box-shadow: none;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 100%;
}

.operating-standard-card h4 {
  margin-bottom: 0.15rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.operating-standard-card p {
  margin: 0;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.62;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem 1.75rem;
  background: linear-gradient(135deg, rgba(0,23,116,0.96), rgba(11,31,51,0.96));
  color: #fff;
  border-radius: 24px;
  padding: 1.65rem 1.75rem;
  box-shadow: 0 22px 60px rgba(11, 31, 51, 0.16);
}

.contact-band-copy {
  display: grid;
  gap: 0.45rem;
  max-width: 56rem;
}

.contact-band .button.primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.contact-band .button.primary:hover {
  background: #f6f8fb;
  color: var(--navy);
}

.contact-band-copy p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.2rem;
  line-height: 1.58;
}

.contact-band-copy a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-rows {
  border-top: 1px solid rgba(229, 231, 235, 0.92);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
}

.feature-title {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-row p:last-child {
  margin: 0;
  color: var(--slate);
}

.client-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(229, 231, 235, 0.92);
}

.client-lines p {
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  color: var(--navy);
  font-size: 1.02rem;
}

.audit-copy {
  display: grid;
  gap: 0.9rem;
  max-width: 65ch;
}

.audit-copy p {
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.7;
}

.audit-disclaimer {
  color: var(--muted) !important;
  font-size: 0.92rem !important;
}

.contact-band-note {
  margin: 0.35rem 0 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 42rem;
}

.gateway-contact-line {
  margin-top: 0.6rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.gateway-contact-line a {
  color: var(--teal-mid);
  font-weight: 700;
}

.contact-slim-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: baseline;
  border-top: 1px solid rgba(229, 231, 235, 0.92);
  padding-top: 1rem;
}

.contact-slim-row p {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.contact-slim-row a {
  color: var(--teal-mid);
  font-weight: 700;
}

.contact-slim-row a:hover {
  color: var(--navy);
}

.contact-email {
  color: var(--navy);
}

.contact-email:hover {
  color: var(--teal);
}

.contact-footnote {
  margin-top: 0.9rem;
  color: var(--slate);
  font-size: 0.92rem;
}

.footer-disclaimer {
  max-width: 760px;
}

/* Hero panel — the dark right-side card */
.hero-panel {
  background: linear-gradient(160deg, var(--navy) 0%, #0A2840 100%);
  color: #fff;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hero-panel p { color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.hero-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.hero-panel li {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.045);
  font-size: 0.92rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.hero-panel li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 0.4em;
}

/* ── Page hero ─────────────────────────────────────────────── */
.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 2rem; }
.page-hero.compact h1 { font-size: clamp(2.2rem, 4.8vw, 4.8rem); }
.page-hero.page-hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 0.72rem;
}
.page-hero.page-hero-inner .lead {
  max-width: 760px;
  margin-top: 0;
}
.page-hero.with-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}
.page-visual img, .page-visual svg {
  width: 100%; aspect-ratio: 16/11; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: clamp(2.5rem, 5.5vw, 5rem) 0; }
.section.narrow { max-width: 860px; }

.section.surface {
  width: 100%;
  max-width: none;
  padding-left:  max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  padding-top:    clamp(2.5rem, 5.5vw, 5rem);
  padding-bottom: clamp(2.5rem, 5.5vw, 5rem);
  background: var(--surface-2);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.dark {
  width: 100%;
  max-width: none;
  padding-left:  max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  padding-top:    clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: var(--navy);
  border-top: 1px solid var(--deep);
  border-bottom: 1px solid var(--deep);
  color: rgba(255,255,255,0.9);
}
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.65); }
.section.dark .eyebrow { color: var(--sand); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
  margin-bottom: 1.45rem;
  min-width: 0;
}

/* ── Card system ───────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }

.card, .platform-card, .service-block, .insight-card, .info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .platform-card:hover {
  box-shadow: 0 6px 24px rgba(11,31,51,0.1), 0 16px 48px rgba(11,31,51,0.09);
  transform: translateY(-2px);
}

/* Sand top-border accent on feature cards */
.card.featured::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -1.5rem -1.5rem 1.25rem;
}

.card.tall { min-height: 240px; display: flex; flex-direction: column; }
.card.tall .text-link { margin-top: auto; padding-top: 1rem; }

.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.platform-card { min-height: 290px; display: flex; flex-direction: column; }
.platform-card.large { min-height: 370px; }
.platform-card .text-link { margin-top: auto; }

/* ── Text links ─────────────────────────────────────────────── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal);
  font-weight: 650;
  font-size: 0.92rem;
  transition: gap 0.15s, color 0.15s;
}
.text-link::after { content: "→"; transition: transform 0.15s; }
.text-link:hover { color: var(--teal-mid); gap: 0.6rem; }
.text-link:hover::after { transform: translateX(2px); }

/* ── Split & stack layouts ─────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); gap: 1.5rem; align-items: start; }
.stacked { display: grid; gap: 1.25rem; }

.service-block { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 2.5rem; }
.service-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ── Lists ──────────────────────────────────────────────────── */
.check-list, .dot-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.check-list li, .dot-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.5;
}
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.dot-list li::before { content: "•"; position: absolute; left: 0.3rem; color: var(--teal); font-weight: 800; }

/* ── Number/step grid ───────────────────────────────────────── */
.number-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.number-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  min-height: 185px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.number-card span {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.number-card h3 { margin-bottom: 0.5rem; }
.number-card p { color: var(--slate); font-size: 0.9rem; margin: 0; }

/* ── Insight cards ─────────────────────────────────────────── */
.insight-card { max-width: 880px; }
.insight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.insight-card.listed {
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.insight-list .insight-card.listed h3 {
  max-width: 22ch;
  text-wrap: balance;
}
.insight-card.listed .button { margin-top: auto; align-self: flex-start; }

/* ── Final CTA strip ────────────────────────────────────────── */
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2.5rem 0;
  margin-inline: auto;
  padding: 2.25rem 2.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
}
.final-cta h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); color: #fff; }
.final-cta p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
.final-cta .hero-actions {
  justify-content: flex-end;
  align-items: center;
}
.final-cta .hero-actions .button {
  min-width: 11rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  justify-content: space-between;
  gap: 2rem 3rem;
  align-items: start;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3.5rem;
  color: var(--muted);
}
.site-footer strong { color: var(--navy); font-weight: 700; display: block; margin-bottom: 0.4rem; }
.site-footer p { max-width: 680px; font-size: 0.88rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: start;
  justify-content: start;
}
.footer-links a {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  white-space: nowrap;
}
.footer-links a:nth-child(8) {
  flex-basis: 100%;
}
.footer-links a:hover { color: var(--teal); }
.footer-small { font-size: 0.78rem !important; opacity: 0.8; margin-top: 0.5rem !important; }
.footer-disclaimer {
  max-width: 680px;
  font-size: 0.76rem !important;
  line-height: 1.45;
  color: var(--muted) !important;
  opacity: 0.82;
}

/* ── Brief / lead widget ────────────────────────────────────── */
.brief-widget {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 31, 51, 0.65);
  z-index: 50;
  backdrop-filter: blur(4px);
}
.brief-widget.open { display: flex; }
.brief-panel {
  width: min(680px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
}
.brief-close {
  position: absolute; right: 1.2rem; top: 1rem;
  border: 0; background: transparent;
  font-size: 1.8rem; cursor: pointer; color: var(--muted);
  line-height: 1;
}
.brief-close:hover { color: var(--navy); }
.brief-question { margin-top: 1.2rem; }
.brief-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.brief-options button, .brief-input button {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--ivory);
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  color: var(--slate);
  transition: border-color 0.15s, background 0.15s;
}
.brief-options button:hover { border-color: var(--teal); background: var(--teal-soft); }
.brief-input { display: grid; gap: 0.7rem; margin-top: 1rem; }
.brief-input input, .brief-input textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  font: inherit;
  color: var(--navy);
  background: var(--surface);
  transition: border-color 0.15s;
}
.brief-input input:focus, .brief-input textarea:focus { outline: none; border-color: var(--teal); }
.brief-input textarea { min-height: 130px; resize: vertical; }
.brief-summary { background: var(--teal-soft); border-radius: 14px; padding: 1rem; white-space: pre-wrap; }

/* ── Lead form ──────────────────────────────────────────────── */
.lead-form {
  display: grid; gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
}
.lead-form label { display: grid; gap: 0.4rem; color: var(--navy); font-weight: 650; font-size: 0.93rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--navy);
  background: var(--surface);
  transition: border-color 0.15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--teal);
}
.lead-form textarea { min-height: 150px; resize: vertical; }
.lead-output {
  white-space: pre-wrap; min-height: 360px; max-height: 620px; overflow: auto;
  background: var(--teal-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem; color: var(--navy);
}
.sticky-box { position: sticky; top: 92px; align-self: start; }

.hillblu-form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.8vw, 2rem);
  box-shadow: var(--shadow-card);
}

.hillblu-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.95rem;
}

.hillblu-form legend {
  padding: 0;
  margin-bottom: 0.1rem;
  color: var(--navy);
  font-weight: 750;
  font-size: 1rem;
}

.hillblu-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.hillblu-form-field {
  display: grid;
  gap: 0.48rem;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.94rem;
  line-height: 1.35;
}

.hillblu-form-field.full {
  grid-column: 1 / -1;
}

.hillblu-form-field input,
.hillblu-form-field select,
.hillblu-form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.86rem 0.98rem;
  font: inherit;
  line-height: 1.35;
  min-height: 3rem;
  color: var(--navy);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hillblu-form-field input:focus-visible,
.hillblu-form-field select:focus-visible,
.hillblu-form-field textarea:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.15);
}

.hillblu-form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.hillblu-form-help,
.hillblu-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hillblu-form-note {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(14, 124, 134, 0.16);
  background: var(--teal-soft);
  color: var(--slate);
  font-size: 0.9rem;
}

.hillblu-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hillblu-form-choice-list {
  display: grid;
  gap: 0.56rem;
}

.hillblu-form-choice {
  display: flex;
  gap: 0.68rem;
  align-items: flex-start;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
}

.hillblu-form-choice.full {
  grid-column: 1 / -1;
}

.hillblu-form-choice input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--teal);
}

.hillblu-form .button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Tags & clouds ──────────────────────────────────────────── */
.tag-row, .tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.tag-row span, .tag-cloud span {
  border: 1px solid var(--border);
  background: var(--sand-soft);
  color: var(--slate);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
}

/* ── Case study cards ───────────────────────────────────────── */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
}
.case-card h2 { margin-top: 0.2rem; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.case-grid div { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; background: var(--surface-2); }
.case-grid h3 { margin: 0 0 0.4rem; font-size: 0.95rem; color: var(--navy); }
.case-grid p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ── Article / insight pages ────────────────────────────────── */
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 4.8rem); }
.article-body { max-width: 820px; font-size: 1.05rem; line-height: 1.75; }
.article-body p { color: var(--slate); }
.article-box { margin: 2rem 0; }
.article-cta { border-left: 4px solid var(--teal); padding-left: 1.1rem; font-weight: 650; color: var(--navy); }

/* ── Tables ─────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.package-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.package-table th, .package-table td {
  padding: 1rem 1.2rem; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.package-table th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface-2);
  font-weight: 700;
}
.package-table tr:last-child td { border-bottom: 0; }
.table-note { color: var(--muted); font-size: 0.88rem; margin-top: 0.8rem; }
.center { text-align: center; }

/* ── Visual asset helpers ───────────────────────────────────── */
.hero-side { display: grid; gap: 1rem; align-self: stretch; }
.hero-visual, .card-visual, .content-visual { margin: 0; }
.hero-visual img, .page-visual img, .card-visual img, .content-visual img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); background: var(--surface);
}
.hero-visual img { aspect-ratio: 16/10; object-fit: cover; }
.hero-visual figcaption, .content-visual figcaption {
  margin-top: 0.55rem; color: var(--muted); font-size: 0.8rem;
}
.card-visual { margin: -0.5rem -0.5rem 1.2rem; }
.card-visual img {
  aspect-ratio: 16/10; object-fit: cover;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
  box-shadow: none; border-bottom: 1px solid var(--border);
}
.compact-card { min-height: 220px; }

/* ── Code ───────────────────────────────────────────────────── */
code {
  background: var(--teal-soft);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  font-size: 0.9em;
  color: var(--teal);
}

/* ── Divider ────────────────────────────────────────────────── */
.sand-rule {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sand), transparent);
  border: none;
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
  width: 80px;
}

/* ── Stat row ───────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.stat-item { }
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-item .stat-label { font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }

/* ── Sand strip (decorative) ────────────────────────────────── */
.sand-strip {
  display: flex; align-items: center; gap: 1.5rem;
  background: linear-gradient(135deg, var(--sand-soft), #FFF8EC);
  border: 1px solid rgba(216,180,106,0.3);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  color: var(--slate);
}
.sand-strip::before {
  content: '';
  width: 4px; height: 48px; flex-shrink: 0;
  background: var(--sand);
  border-radius: 2px;
}

/* ── Form box ───────────────────────────────────────────────── */
.form-box { padding: 0; overflow: hidden; }
.form-box h2 { padding: 1.4rem 1.4rem 0; }
.form-embed { width: 100%; border: 0; display: block; background: var(--surface); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0.75rem;
    right: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem;
    box-shadow: var(--shadow);
    z-index: 30;
  }
  .site-nav.open { display: flex; }
  .nav-cta { display: none; }
  .hero, .split, .service-block, .section-heading { grid-template-columns: 1fr; }
  .card-grid, .platform-grid, .service-lists { grid-template-columns: 1fr; }
  .gateway-home .site-header {
    width: 100%;
    padding-inline: max(1rem, calc((100vw - 1400px) / 2));
  }
  body:not(.gateway-home) .site-header {
    width: 100%;
    padding-inline: max(1rem, calc((100vw - 1400px) / 2));
  }
  .gateway-hero { width: 100%; }
  .gateway-section { width: min(var(--gateway-max), calc(100% - 1rem)); }
  .section-band { width: min(var(--gateway-max), calc(100% - 1rem)); }
  .section-band-dark {
    padding: 2.4rem 1.95rem 2.2rem;
  }

  .gateway-home #institutional-statement.section-band-dark {
    padding: 2rem 1.25rem;
  }

  .section-band-dark .section-heading {
    gap: 1.2rem;
    margin-bottom: 1.1rem;
  }
  .capability-grid,
  .stakeholder-grid,
  .audit-module {
    grid-template-columns: 1fr;
  }
  .contact-band {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .feature-row,
  .client-lines { grid-template-columns: 1fr; }
  .final-cta {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.8rem 1.5rem;
  }
  .final-cta .hero-actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }
  .final-cta .hero-actions .button {
    width: 100%;
    min-width: 0;
  }
  .site-footer { grid-template-columns: 1fr; }
  .page-hero.with-visual { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gateway-home .site-header {
    width: 100%;
    margin-top: 0;
    padding-inline: 0.72rem;
  }
  body:not(.gateway-home) .site-header {
    width: 100%;
    margin-top: 0;
    padding-inline: 0.72rem;
  }

  .gateway-home .gateway-hero,
  .gateway-home .gateway-section,
  .gateway-home .section-band,
  .gateway-home .site-footer {
    width: calc(100% - 0.9rem);
  }

  .gateway-hero {
    padding-top: 0;
    padding-bottom: 1.6rem;
  }

  .gateway-hero-banner {
    min-height: 520px;
  }

  .gateway-hero-banner-content {
    width: min(100%, calc(100% - 1.8rem));
    padding: 2.35rem 0.95rem 2.1rem;
    gap: 0.35rem;
  }

  .gateway-hero-banner-content .eyebrow {
    font-size: 0.68rem;
  }

  .gateway-hero-banner-content h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 13vw, 3.3rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .gateway-hero-banner-content .lead {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 60ch;
  }

  .gateway-hero-banner-content .gateway-note-light {
    max-width: 100%;
  }

  .hero-actions-classic {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .hero-actions-classic .button {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .section-heading h2,
  .section-band-dark .section-heading h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.12;
  }

  .section-heading .lead-small,
  .section-band-dark .section-heading .lead-small {
    max-width: 100%;
  }

  .section-band-dark {
    padding: 2rem 1.25rem;
  }

  .gateway-home #institutional-statement.section-band-dark {
    padding: 2rem 1.25rem;
  }

  .section-band-dark .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .section-band-dark .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .stat-row,
  .section-band-dark .stat-row-compact,
  .gateway-insights-grid,
  .capability-grid,
  .stakeholder-grid,
  .operating-standards-grid {
    grid-template-columns: 1fr;
  }

  .stat-row,
  .section-band-dark .stat-row-compact {
    gap: 1.25rem;
    padding-top: 1.25rem;
  }

  .stat-item .stat-num {
    font-size: clamp(1.8rem, 12vw, 2.65rem);
  }

  .gateway-insights-grid {
    gap: 1rem;
  }

  .capability-card,
  .insight-card,
  .operating-standard-card {
    min-width: 0;
  }

  .feature-title {
    min-height: 0;
  }

  .capability-copy {
    padding: 1.08rem 1.08rem 1.16rem;
  }

  .stakeholder-card {
    min-height: auto;
    padding: 1rem 1rem 1.05rem;
  }

  .audit-module {
    gap: 1rem;
  }

  .audit-left {
    gap: 0.75rem;
  }

  .audit-panel {
    padding: 1.1rem 1.1rem 1.15rem;
  }

  .insight-card {
    padding: 1rem 1rem 1.05rem;
    gap: 0.38rem;
  }

  .insight-card a {
    margin-top: 0.12rem;
  }

  .operating-standards {
    padding: 1rem 1rem 1.05rem;
  }

  .operating-standards-grid {
    gap: 0.9rem;
  }

  .operating-standard-card {
    padding: 0.98rem 0.98rem 1rem;
  }

  .contact-band {
    padding: 1.1rem;
  }

  .contact-band .button.primary {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .contact-band-copy,
  .contact-band-copy p,
  .contact-band-copy a,
  .contact-band-note {
    max-width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header { width: 100%; padding: 0.72rem 0.9rem; }
  .brand small {
    display: block;
    font-size: 0.69rem;
    line-height: 1.15;
  }
  .brand { min-width: auto; }
  .hero { padding-top: 2.5rem; }
  .number-grid, .insight-list { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .gateway-insights-grid { grid-template-columns: 1fr; }
  .brief-options { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .sticky-box { position: static; }
  .card-visual { margin: 0 0 1.2rem; }
  .gateway-hero { width: 100%; }
  .section-band-dark .stat-row-compact { grid-template-columns: 1fr; }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.95rem;
  }
  .footer-links a:nth-child(8) {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.6rem 0.72rem;
  }
  .brand {
    flex: 1 1 100%;
    min-width: 0;
  }
  .brand strong {
    font-size: 0.95rem;
  }
  .brand small {
    font-size: 0.72rem;
  }
  .menu-toggle {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.42rem 0.5rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .number-grid, .insight-list, .stat-row { grid-template-columns: 1fr; }
  .gateway-hero {
    padding-top: 0;
  }
  .gateway-hero-banner {
    min-height: 500px;
  }
  .gateway-hero-banner-content {
    gap: 0.32rem;
    width: min(100%, calc(100% - 1.5rem));
    padding: 2.2rem 0.75rem 2rem;
  }
  .gateway-hero-banner-content h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 13vw, 3.05rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }
  .gateway-cn {
    font-size: 0.86rem;
  }
  .section-heading h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    line-height: 1.12;
  }
  .section-band-dark .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1.08;
  }
  .section-band-dark .stat-row-compact {
    gap: 1.25rem;
    padding-top: 1.25rem;
  }

  .section-band-dark .stat-num {
    margin-top: 0;
  }

  .contact-slim-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hillblu-form-grid {
    grid-template-columns: 1fr;
  }
  .gateway-home .site-header {
    width: 100%;
    margin-top: 0;
    padding-inline: 0.72rem;
  }
  body:not(.gateway-home) .site-header {
    width: 100%;
    margin-top: 0;
    padding-inline: 0.72rem;
  }
  .contact-band {
    padding: 1.1rem;
  }

  .page-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .page-hero.page-hero-inner {
    gap: 0.6rem;
  }

  .page-hero.page-hero-inner .lead {
    margin-top: 0;
  }

  .insight-card {
    padding: 1rem 1rem 1.05rem;
    gap: 0.38rem;
  }

  .insight-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    min-height: 0;
  }

  .insight-card a {
    margin-top: 0.12rem;
  }

  .case-card {
    padding: 1.05rem 0.95rem 1.1rem;
  }

  .case-card h2 {
    font-size: clamp(1.45rem, 6vw, 1.8rem);
    line-height: 1.16;
  }

  .case-grid {
    gap: 0.8rem;
    margin-top: 0.95rem;
  }

  .case-grid div {
    padding: 0.88rem 0.85rem 0.92rem;
  }

  .case-grid h3 {
    font-size: 0.9rem;
  }

  .case-grid p {
    line-height: 1.48;
  }

  .tag-row, .tag-cloud {
    gap: 0.4rem;
    margin-top: 1rem;
  }
}

@media (max-width: 400px) {
  .gateway-hero-banner {
    min-height: 480px;
  }

  .gateway-hero-banner-content {
    padding: 1.85rem 0.72rem 1.7rem;
    gap: 0.26rem;
  }

  .hero-actions-classic {
    margin-top: 1.05rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    color: transparent;
    position: relative;
  }

  .menu-toggle::before {
    content: '';
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: 0 -5px 0 var(--navy), 0 5px 0 var(--navy);
  }
}
