/* ==========================================================================
   Global Securities Limited — V2 Design System
   Navy (#0A1F44) + Red (#E31E24) — No stray colors
   Typography: Inter weight-contrast (800/900 headlines, 400/500 body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --navy: #0A1F44;
  --navy-dark: #071633;
  --navy-light: #0F2B5E;
  --red: #E31E24;
  --red-hover: #C8141B;
  --red-light: #FEF2F2;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-50: #F9FAFB;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --text-dark: #0A1F44;
  --text-body: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 68, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 31, 68, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 31, 68, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* --------------------------------------------------------------------------
   2. BASE & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Was 80px (the mock's value). 92px since 2026-09-27: the header grew to
     83px with the larger logo -- see `.navbar-v2 .navbar-brand img` -- and an
     anchor target must clear it with the same 9px margin it had before.
     100px since 2026-09-29: the 60px client logo makes the header 91px
     (measured in Chromium at 1440), and the 9px margin is kept. */
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.65;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 0;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

h4 {
  font-weight: 700;
  font-size: 1.05rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--red);
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Utility: Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */
.navbar-v2 {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  padding: 10px 0;
  transition: var(--transition);
}

.navbar-v2.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-v2 .navbar-brand img {
  /* 2026-09-27, owner instruction: "make the header logo bigger". Was 40px
     (the mock's value) -- a deliberate divergence from the pixel-locked mock.

     WHY 52 AND NOT MORE. 52px is the logo file's own pixel height: every
     logo source this project holds (`logo-dark.png`, `logo-white.png`,
     `logo-dark.webp`) is 192x52, with no vector or larger original. At 52px
     it renders 1:1 on a standard display; any taller and it is upscaled and
     visibly soft. It is already 2x-upscaled on retina at this size, so a
     higher-resolution or SVG logo from the client is the real fix for
     sharpness -- see the CHANGELOG entry for this change.

     WHAT IT COSTS, MEASURED (not estimated -- an earlier draft of this
     comment guessed ~73px and was wrong): the fixed-top header grows from
     71px to 83px at every width (Playwright, /about, 1440 and 390). That
     crossed ONE offset: `html { scroll-padding-top: 80px }`, which is what
     keeps an in-page anchor from landing under the header -- and this site
     redirects to anchors (`#newsletter`, `#message-form`) after every form
     post. Raised to 92px alongside this rule, keeping the 9px of clearance
     the 71px header had. The hero offsets (80px desktop homepage, 95-160px
     elsewhere) were re-measured and still clear visible content: the first
     readable text sits 48-265px below the header on every page checked.

     2026-09-29, owner: "use this logo for header" + "make the header logo a
     bit bigger". The client supplied `docs/global-sec-logo.png`, 373x102 --
     so the 52px cap above no longer applies. 60px: ~15% bigger, and still
     1.7x-sampled on retina (102/60), sharper than the old file ever was at
     52px. Header height and `scroll-padding-top` re-measured with it -- see
     the `html` rule. */
  height: 60px;
  width: auto;
}

.navbar-v2 .nav-link {
  color: var(--gray-600) !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 14px !important;
  letter-spacing: 0.01em;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-v2 .nav-link:hover,
.navbar-v2 .nav-link.active {
  color: var(--navy) !important;
}

.navbar-v2 .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.btn-v2-cta {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-v2-cta:hover {
  background: var(--red-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* --------------------------------------------------------------------------
   4. HERO
   -------------------------------------------------------------------------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 31, 68, 0.93) 0%, rgba(10, 31, 68, 0.72) 50%, rgba(10, 31, 68, 0.85) 100%),
    url('../images/hero-slider-bg.webp') no-repeat center center / cover;
  background-attachment: scroll;
  overflow: hidden;
  padding-top: 80px;
}

/* Inline SVG candlestick background */
.hero-bg-candles {
  display: none;
}

@keyframes candlePulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}

.candle-bar {
  animation: candlePulse 4s ease-in-out infinite;
}

.candle-bar:nth-child(2n) {
  animation-delay: 0.6s;
}

.candle-bar:nth-child(3n) {
  animation-delay: 1.2s;
}

.candle-bar:nth-child(5n) {
  animation-delay: 1.8s;
}

.candle-bar:nth-child(7n) {
  animation-delay: 2.4s;
}

.hero-v2 .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.hero-v2 .hero-label .label-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

.hero-v2 h1 {
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.hero-v2 h1 .accent {
  color: var(--red);
}

.hero-v2 .hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
}

.hero-v2 .hero-credentials .cred-sep {
  color: rgba(255, 255, 255, 0.15);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hero-primary {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: var(--red-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 30, 36, 0.35);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white) !important;
}

/* Hero showcase image */
.hero-showcase {
  position: relative;
  text-align: center;
}

.hero-showcase img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

/* Stats ticker bar */
.hero-stats-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 31, 68, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
  z-index: 5;
}

.stat-item {
  text-align: center;
  padding: 0 8px;
}

.stat-item .stat-icon-wrap {
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  opacity: 0.45;
}

.stat-item .stat-icon-wrap svg {
  width: 100%;
  height: 100%;
  stroke: var(--white);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3px;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 991.98px) {
  .hero-v2 {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 110px;
    padding-bottom: 0;
  }

  .hero-stats-ticker {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: 40px;
  }

  .hero-showcase {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  .hero-v2 {
    padding-top: 100px;
    text-align: center;
  }

  .hero-v2 .row.gy-5 {
    --bs-gutter-y: 2rem;
  }

  .hero-v2 .hero-label {
    justify-content: center;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
  }

  .hero-v2 h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .hero-v2 .hero-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    margin-bottom: 1.75rem;
  }

  .hero-v2 .hero-credentials span:not(.cred-sep) {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .hero-v2 .hero-credentials .cred-sep {
    display: none;
  }

  .hero-cta-group {
    justify-content: center;
    gap: 10px;
  }

  .hero-showcase {
    max-width: 600px;
    margin-top: 10px;
  }

  .hero-stats-ticker {
    margin-top: 32px;
    padding: 20px 0 24px;
    background: rgba(10, 31, 68, 0.85);
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .stat-item .stat-icon-wrap {
    width: 22px;
    height: 22px;
    margin: 0 auto 4px;
    opacity: 0.6;
  }

  .stat-number {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
  }
}

@media (max-width: 575.98px) {
  .hero-v2 {
    padding-top: 95px;
  }

  .hero-v2 h1 {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .hero-showcase {
    max-width: 300px;
  }
}

/* --------------------------------------------------------------------------
   5. G BINIYOG (navy bg, image-left text-right)
   -------------------------------------------------------------------------- */
.gbiniyog-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 0 85px;
}

.gbiniyog-ambient-glow-left {
  position: absolute;
  top: 10%;
  left: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.10) 0%, rgba(227, 30, 36, 0.02) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 1;
}

.gbiniyog-ambient-glow-right {
  position: absolute;
  top: 20%;
  right: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(26, 68, 140, 0.22) 0%, rgba(10, 31, 68, 0.04) 55%, transparent 75%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 1;
}

.gbiniyog-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Eyebrow with hairline rule */
.gbiniyog-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.gbiniyog-eyebrow .eyebrow-dash {
  width: 28px;
  height: 2px;
  background-color: var(--red);
  display: inline-block;
  border-radius: 1px;
}

.gbiniyog-eyebrow .eyebrow-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.gbiniyog-eyebrow .eyebrow-line {
  flex: 1;
  max-width: 320px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Typography */
.gbiniyog-title {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gbiniyog-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 34px;
}

.gbiniyog-section h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gbiniyog-section h2 .accent {
  color: var(--red);
}

.gbiniyog-section .mockup-wrap img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* Numbered Feature List (01-06) */
.gbiniyog-feature-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
  max-width: 600px;
}

.gbiniyog-feature-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.gbiniyog-feature-item:hover {
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(227, 30, 36, 0.04) 0%, transparent 100%);
}

.gbiniyog-feature-item .feature-num {
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  min-width: 38px;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.gbiniyog-feature-item .feature-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.025rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.gbiniyog-feature-item:hover .feature-text {
  color: var(--white);
}

/* Store Buttons */
.store-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 10px;
  transition: var(--transition);
}

.store-btn-v2:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.store-btn-v2 svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 0.62rem;
  font-weight: 400;
  opacity: 0.65;
  line-height: 1;
}

.store-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Phone Mockup Frame & Screen */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.phone-device-frame {
  width: 100%;
  max-width: 350px;
  border-radius: 42px;
  background: #0e1726;
  padding: 11px;
  border: 2px solid #273448;
  box-shadow: 0 32px 75px -12px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 35px rgba(10, 31, 68, 0.4);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-device-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 85px -12px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 45px rgba(227, 30, 36, 0.15);
}

.phone-screen {
  background: #070e1b;
  border-radius: 34px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

/* Phone Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
}

.status-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.status-app-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.status-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.status-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #64748b;
  display: inline-block;
}

/* Portfolio Header Block */
.phone-portfolio-block {
  padding-top: 4px;
  margin-bottom: 18px;
}

.portfolio-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.portfolio-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.portfolio-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 600;
}

.change-icon {
  font-size: 0.68rem;
}

.change-num {
  font-variant-numeric: tabular-nums;
}

.change-pct {
  font-variant-numeric: tabular-nums;
}

/* Stock Watchlist Table */
.phone-watchlist-table {
  display: flex;
  flex-direction: column;
}

.watchlist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stock-sym {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.stock-price {
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-left: auto;
  margin-right: 22px;
  font-variant-numeric: tabular-nums;
}

.stock-chg {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 60px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stock-chg.positive {
  color: #10b981;
}

.stock-chg.negative {
  color: #ef4444;
}

/* Phone Bottom Dock */
.phone-bottom-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 6px;
}

.nav-tab {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: #334155;
  display: inline-block;
  transition: all 0.2s ease;
}

.nav-tab.active {
  background: var(--red);
  width: 34px;
}

/* Bottom 3-Card Value Pillar Grid */
.gbiniyog-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 16, 32, 0.55);
  backdrop-filter: blur(12px);
  margin-top: 68px;
  border-radius: 4px;
  overflow: hidden;
}

.pillar-card {
  padding: 38px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-card:last-child {
  border-right: none;
}

.pillar-card:hover {
  background: rgba(15, 30, 58, 0.65);
}

.pillar-card .pillar-title {
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.pillar-card .pillar-sub {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 991.98px) {
  .phone-mockup-wrapper {
    margin-top: 24px;
  }

  .gbiniyog-pillars-row {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .pillar-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 20px;
  }

  .pillar-card:last-child {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   6. ABOUT / SINCE 1997
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--white);
}

.about-text-col {
  border-left: 3px solid var(--red);
  padding-left: 2rem;
}

.since-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 1.25rem;
}

.about-subtitle {
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-body-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.15rem;
}

.about-body-text.about-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.75;
}

.about-body-text.mb-0 {
  margin-bottom: 0 !important;
}

.btn-learn-more-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0;
  border: none;
  background: none;
  transition: var(--transition);
  margin-top: 1.25rem;
}

.btn-learn-more-v2:hover {
  color: var(--red);
  gap: 12px;
}

/* SVG trend chart component */
.trend-chart-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.trend-chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 800;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.trend-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2.5s ease-out forwards;
}

@keyframes dotPulse {

  0%,
  100% {
    r: 5;
    opacity: 1;
  }

  50% {
    r: 8;
    opacity: 0.7;
  }
}

.trend-dot {
  animation: dotPulse 2s ease-in-out infinite;
}

.trend-chart-label {
  position: absolute;
  bottom: 20px;
  right: 28px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 767.98px) {
  .about-text-col {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--red);
    padding-top: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   7. WHO WE ARE
   -------------------------------------------------------------------------- */
.whoweare-section {
  background: var(--off-white);
}

/* Duotone photo */
.duotone-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}

.duotone-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1);
}

.duotone-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  mix-blend-mode: color;
  opacity: 0.65;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.exp-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
}

.exp-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* Vision/Mission card */
.vision-card-v2 {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vision-card-v2 .vision-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vision-card-v2 .vision-slide.active {
  display: block;
  opacity: 1;
}

.vision-card-v2 .vision-slide h3 {
  color: var(--red);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.vision-card-v2 .vision-slide p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
}

.slide-dots {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.slide-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.slide-dots .dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}

/* Features card */
.features-card-v2 {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.check-item-enhanced {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  transition: var(--transition);
}

.check-item-enhanced:last-of-type {
  border-bottom: none;
}

.check-item-enhanced:hover {
  transform: translateX(4px);
}

.check-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.check-item-enhanced:hover .check-item-icon {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.25);
}

.check-item-content {
  flex-grow: 1;
}

.check-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.check-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.check-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--red);
  stroke-width: 2.5;
  fill: none;
}

.btn-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 8px 8px 18px;
  border-radius: 50px;
  margin-top: 14px;
  transition: var(--transition);
}

.btn-discover:hover {
  background: var(--red-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-discover .arrow-circle {
  width: 28px;
  height: 28px;
  background: var(--white);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Donut chart */
.donut-wrap {
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.80) 0%, rgba(10, 31, 68, 0.92) 100%),
    url('../images/verified-user-portrait.webp') center top / cover no-repeat;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.donut-header-title {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.donut-chart-box {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-seg {
  transform-origin: center;
  transition: stroke-width 0.3s ease;
  /* Task 12 (Plan 3, CARRY-FORWARD P3-1): the mock hardcoded three
     per-label keyframe blocks (donutGrowEquity/Sukuk/Funds) targeting
     `.seg-equity`/`.seg-sukuk`/`.seg-funds`. `packages/charts` slugifies
     each segment's class from its full label, so the real classes are
     `seg-equity`, `seg-sukuk-fixed-income`, `seg-mutual-funds` -- only
     Equity ever matched, and `animation-fill-mode: forwards` would have
     frozen the other two segments' `stroke-dashoffset` at whatever the
     unmatched keyframes' initial computed value was, overriding the
     generator's own inline attributes. This single generic rule reads the
     `--dash-start`/`--dash-end` custom properties the generator emits
     inline per segment (see packages/charts/src/donut.ts), so it is
     data-driven and correct for any label or percentage split. */
  animation: donutGrow 1.4s ease forwards;
}

@keyframes donutGrow {
  from {
    stroke-dashoffset: var(--dash-start);
  }

  to {
    stroke-dashoffset: var(--dash-end);
  }
}

.donut-center-badge {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.donut-center-badge .center-stat {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.donut-center-badge .center-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.donut-legend {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legend-row {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.75);
}

.legend-row:last-child {
  margin-bottom: 0;
}

.legend-bullet {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

.bullet-equity {
  background: #FFFFFF;
}

.bullet-sukuk {
  background: #E31E24;
}

.bullet-funds {
  background: rgba(255, 255, 255, 0.35);
}

.legend-name {
  flex-grow: 1;
  text-align: left;
}

.legend-pct {
  font-weight: 700;
  color: var(--white);
}

.donut-footer-stat {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.donut-footer-stat .stat-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.donut-footer-stat .stat-text {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   8. PRODUCTS / SERVICES (Solid Navy Cards, Lucide Icons)
   -------------------------------------------------------------------------- */
.services-section {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.services-section h2 {
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.services-section .section-label {
  text-align: center;
  justify-content: center;
}

.anchor-offset {
  display: block;
  position: relative;
  top: -90px;
  visibility: hidden;
}

.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #0A1F44 0%, #071633 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 42px 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 20px rgba(7, 22, 51, 0.35);
}

.service-card:hover {
  background: linear-gradient(150deg, #0F2A5C 0%, #0A1F44 100%);
  border-color: rgba(227, 30, 36, 0.35);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(7, 22, 51, 0.55), 0 0 24px rgba(227, 30, 36, 0.1);
}

.card-icon-circle {
  width: 66px;
  height: 66px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.service-card:hover .card-icon-circle {
  border-color: var(--red);
  background: rgba(227, 30, 36, 0.12);
  transform: scale(1.08);
}

.card-icon-circle svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.card-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.card-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. NEWS (featured layout)
   -------------------------------------------------------------------------- */
.news-section {
  background: var(--white);
}

.news-section h2 {
  text-align: center;
}

.news-section .section-label {
  text-align: center;
  justify-content: center;
}

.news-featured {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  display: block;
}

.news-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-featured:hover img {
  transform: scale(1.04);
}

.news-featured .news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 68, 0.9) 0%, transparent 55%);
}

.news-featured .news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}

.news-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.news-featured .news-title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.news-small {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  height: calc(50% - 12px);
  text-decoration: none;
}

.news-small:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-small img {
  width: 40%;
  object-fit: cover;
  flex-shrink: 0;
}

.news-small .news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-small .news-tag {
  background: transparent;
  color: var(--red);
  padding: 0;
  margin-bottom: 6px;
}

.news-small .news-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 991.98px) {
  .news-featured {
    min-height: 280px;
  }

  .news-small {
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .news-small {
    flex-direction: column;
  }

  .news-small img {
    width: 100%;
    height: 160px;
  }
}

/* --------------------------------------------------------------------------
   9.5 TESTIMONIALS (Social Proof — The Stories Trusted by Thousands)
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: var(--white);
  position: relative;
}

.testimonial-card-wrap {
  background: var(--off-white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: var(--radius-xl);
  padding: 68px 56px;
  position: relative;
  box-shadow: 0 12px 36px rgba(10, 31, 68, 0.035);
}

.testimonial-badge-wrap {
  margin-bottom: 22px;
}

.testimonial-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10, 31, 68, 0.06);
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  border: 1px solid rgba(10, 31, 68, 0.08);
}

.testimonial-heading {
  color: var(--navy);
  font-size: clamp(2.3rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.testimonial-trust-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.trust-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.trust-text span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

/* Right column slider */
.testimonial-slider-container {
  position: relative;
  padding-left: 20px;
}

.testimonial-watermark-quote {
  position: absolute;
  right: 0;
  top: -45px;
  font-size: 10rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(10, 31, 68, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-weight: 900;
}

.testimonial-slides-wrap {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.testimonial-quote {
  color: var(--text-body);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  font-weight: 450;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-divider {
  height: 1px;
  background: rgba(10, 31, 68, 0.08);
  width: 100%;
  margin-bottom: 24px;
}

.testimonial-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.author-info-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.12);
  flex-shrink: 0;
}

.author-details .author-name {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.author-details .author-role {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  display: block;
}

.testimonial-nav-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(10, 31, 68, 0.16);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(10, 31, 68, 0.04);
}

.testimonial-nav-btn:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(227, 30, 36, 0.25);
}

.testimonial-nav-btn:active {
  transform: translateY(0);
}

.testimonial-nav-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Dots indicator */
.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding-left: 2px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(10, 31, 68, 0.16);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.t-dot.active {
  width: 26px;
  background: var(--red);
}

@media (max-width: 991.98px) {
  .testimonial-card-wrap {
    padding: 42px 28px;
  }

  .testimonial-slider-container {
    padding-left: 0;
  }

  .testimonial-watermark-quote {
    font-size: 7rem;
    top: -20px;
  }
}

@media (max-width: 575.98px) {
  .testimonial-card-wrap {
    padding: 32px 20px;
  }

  .testimonial-author-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .testimonial-nav-group {
    align-self: flex-end;
  }
}

/* --------------------------------------------------------------------------
   10. CONTACT
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--off-white);
}

.contact-section h2 {
  text-align: center;
}

.contact-section .section-label {
  text-align: center;
  justify-content: center;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.75rem;
  font-size: 1.25rem;
}

.c-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.c-item .c-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-item .c-icon i {
  color: var(--red);
  font-size: 0.95rem;
}

.c-item strong {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-bottom: 2px;
}

.c-item span,
.c-item a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
}

.c-item a:hover {
  color: var(--red);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.25rem;
  height: 170px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--gray-200);
  height: 100%;
}

.contact-form-card h3 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.contact-form-card .form-control {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-size: 0.88rem;
  transition: var(--transition);
  font-family: inherit;
}

.contact-form-card .form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.08);
}

.contact-form-card .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.btn-submit-v2 {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  width: 100%;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}

.btn-submit-v2:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* --------------------------------------------------------------------------
   11. PARTNERS & AFFILIATIONS (SLIDING LOGO MARQUEE)
   -------------------------------------------------------------------------- */
.concerns-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.concerns-section h2 {
  text-align: center;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.concerns-section .section-label {
  text-align: center;
  justify-content: center;
}

.partners-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0 24px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-slider-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: partnersMarquee 32s linear infinite;
  will-change: transform;
}

.partners-slider-track:hover {
  animation-play-state: paused;
}

@keyframes partnersMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(calc(-100% / 3), 0, 0);
  }
}

.partner-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 88px;
  padding: 16px 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 31, 68, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: rgba(227, 30, 36, 0.35);
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.09);
}

.partner-logo-card img {
  max-width: 165px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: contrast(102%);
}

.partner-logo-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .partners-slider-track {
    gap: 16px;
    animation-duration: 22s;
  }

  .partner-logo-card {
    min-width: 170px;
    height: 76px;
    padding: 12px 20px;
  }

  .partner-logo-card img {
    max-width: 130px;
    max-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-slider-track {
    animation: none;
    overflow-x: auto;
  }
}

/* Fallback legacy concern-card */
.concern-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer-v2 {
  background: var(--navy);
  color: var(--white);
  padding-top: 60px;
}

.footer-top-cta {
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Task 11 (a11y): retargeted from `.footer-top-cta h3` -- the footer CTA
   heading was retagged h3 -> h2 in footer.njk to close an axe-core
   `heading-order` violation on pages with no h2 of their own. No property
   below changed. */
.footer-top-cta h2 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
  max-width: 480px;
  margin: 0;
}

.footer-top-cta img {
  height: 44px;
  width: auto;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 36px;
}

.footer-col-title {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}

.footer-text-muted {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.83rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.83rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.83rem;
  transition: var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--red) !important;
}

/* Newsletter */
.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-form input {
  background: transparent !important;
  border: none !important;
  color: var(--white) !important;
  padding: 11px 14px;
  font-size: 0.83rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

.newsletter-form input:focus {
  box-shadow: none !important;
  outline: none;
}

.newsletter-form button {
  background: var(--navy-light);
  border: none;
  color: var(--white);
  padding: 11px 15px;
  font-size: 0.83rem;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--red);
}

/* Social */
.social-links {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--red);
  color: var(--white);
}

.footer-consent {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.footer-consent .form-check-input {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

/* 2026-09-27 -- a DORMANT DEFECT, exposed rather than introduced. `footer.njk`
   has always had a branch that wraps the consent label in a link to the
   privacy policy, but `newsletter_privacy_href` was seeded NULL until a policy
   existed, so that branch had never once rendered. The moment it did, the
   label vanished: the link picked up the site's global `a` colour, navy
   rgb(10,31,68), on a navy footer of exactly the same value -- measured, not
   eyeballed. `inherit` gives the link the label's own muted white, so the
   footer looks exactly as the mock draws it; the underline is the only thing
   that says "this is a link", and it is the minimum a link must carry. */
.footer-consent label a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-consent label a:hover,
.footer-consent label a:focus-visible {
  color: var(--white);
}

.footer-consent .form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  margin-top: 36px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--red) !important;
  font-weight: 600;
  font-size: 0.78rem;
}

/* 2026-09-28 -- the legal links, moved into the bottom bar from the Company
   column (owner: "divide the footer menu … look good and balanced").
   `.footer-bottom a` above paints EVERY link in the bar red and bold with
   `!important` -- it exists for the "Quant Fintech Ltd." credit -- so these
   need an equally forceful, more specific rule, or the Privacy Policy would
   shout louder than the copyright it sits beside. Muted like the copyright
   text, a step brighter so they read as links, white on hover/focus. */
.footer-bottom .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom .footer-legal-links a {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 400;
  text-decoration: none;
}

.footer-bottom .footer-legal-links a:hover,
.footer-bottom .footer-legal-links a:focus-visible {
  color: var(--white) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767.98px) {
  .footer-top-cta {
    text-align: center;
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   13. BACK TO TOP
   -------------------------------------------------------------------------- */
.back-to-top-v2 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top-v2.show {
  display: flex;
}

.back-to-top-v2:hover {
  background: var(--red);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE FINE-TUNING
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .service-card {
    height: 320px;
  }
}

@media (max-width: 575.98px) {
  .hero-v2 h1 {
    font-size: 1.9rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .service-card {
    height: 280px;
  }

  .service-card .card-content h3 {
    font-size: 0.92rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 22px;
  }

  .vision-card-v2 {
    padding: 22px;
  }

  .footer-top-cta {
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   15. DEDICATED CONTACT PAGE (contact-us.html) STYLES
   -------------------------------------------------------------------------- */
.page-hero-banner {
  background: linear-gradient(135deg, #0A1F44 0%, #0D2759 60%, #06132A 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
}

.page-hero-ambient {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.page-hero-ambient.top-right {
  top: -100px;
  right: -100px;
  background: var(--red);
}

.page-hero-ambient.bottom-left {
  bottom: -150px;
  left: -100px;
  background: #00D4FF;
}

.breadcrumb-v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.breadcrumb-v2 a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-v2 a:hover {
  color: var(--red);
}

.breadcrumb-v2 .sep {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
}

.page-hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Contact Summary Quick Cards */
.contact-summary-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(10, 31, 68, 0.1);
  border-color: rgba(227, 30, 36, 0.3);
}

.contact-summary-card .card-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.contact-summary-card:hover .card-icon-badge {
  background: var(--red);
  color: var(--white);
  transform: scale(1.05);
}

/* Task 11 (a11y): retargeted from `.contact-summary-card h3` -- all three
   card headings were retagged h3 -> h2 in contact-summary.njk to close an
   axe-core `heading-order` violation (this page's only heading before them
   was the hero's h1). No property below changed. */
.contact-summary-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-summary-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.contact-summary-card .card-link {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.contact-summary-card .card-link:hover {
  color: var(--red);
  gap: 12px;
}

/* Branch & Desk Directory */
.branch-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(10, 31, 68, 0.03);
}

.branch-card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.08);
  transform: translateY(-3px);
}

.branch-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.06);
  color: var(--navy);
  margin-bottom: 14px;
}

.branch-badge.hq {
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
}

/* Task 11 (a11y): retargeted from `.branch-card h4` -- the card's per-branch
   name heading was retagged h4 -> h3 in branches-directory.njk to close an
   axe-core `heading-order` violation (the group heading directly above it
   skipped from h2 to h4). No property below changed; this rule still
   applies to the exact same element, addressed by its new tag. */
.branch-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.branch-detail {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.5;
}

.branch-detail i {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Dedicated FAQ Accordion */
.contact-faq-accordion .accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(10, 31, 68, 0.02);
}

.contact-faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  padding: 18px 22px;
  background: var(--white);
  box-shadow: none;
}

.contact-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--red);
  background-color: rgba(10, 31, 68, 0.02);
}

.contact-faq-accordion .accordion-button::after {
  filter: grayscale(1);
  transition: transform 0.2s ease;
}

.contact-faq-accordion .accordion-button:not(.collapsed)::after {
  filter: none;
}

.contact-faq-accordion .accordion-body {
  padding: 18px 22px;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Operating Hours Badge Box */
.hours-info-box {
  background: rgba(10, 31, 68, 0.04);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 20px;
}

.hours-info-box .hours-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.hours-info-box .hours-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Head Office Spotlight & Multi-Branch Styles */
.branch-hq-spotlight {
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.02) 0%, rgba(227, 30, 36, 0.04) 100%);
  border: 1.5px solid rgba(227, 30, 36, 0.25);
  border-radius: var(--radius-xl);
  padding: 34px 38px;
  box-shadow: 0 6px 24px rgba(10, 31, 68, 0.04);
  transition: var(--transition);
}

.branch-hq-spotlight:hover {
  box-shadow: 0 12px 36px rgba(10, 31, 68, 0.08);
  border-color: rgba(227, 30, 36, 0.45);
}

.branch-hq-spotlight .hq-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}

.branch-badge.branch {
  background: rgba(10, 31, 68, 0.08);
  color: var(--navy);
}

.branch-badge.ext {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.badge-icon-sub {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.bg-navy {
  background-color: var(--navy) !important;
  color: #ffffff !important;
}

.status-indicator-open {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ==========================================================================
   Dedicated Branches Page Styles (our-branches.html)
   ========================================================================== */
.branch-filter-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(10, 31, 68, 0.04);
}

.branch-filter-btn {
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.branch-filter-btn:hover {
  background: rgba(10, 31, 68, 0.05);
  border-color: var(--navy);
  color: var(--navy);
}

.branch-filter-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.branch-filter-btn .count-badge {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
}

.branch-filter-btn:not(.active) .count-badge {
  background: rgba(10, 31, 68, 0.08);
  color: var(--navy);
}

.branch-search-box {
  position: relative;
  min-width: 260px;
}

.branch-search-box input {
  padding-left: 38px;
  border-radius: 999px;
  font-size: 0.86rem;
  border: 1px solid var(--gray-200);
  height: 42px;
  transition: var(--transition);
}

.branch-search-box input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.1);
}

.branch-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.branch-stats-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  transition: var(--transition);
}

.branch-stats-card:hover {
  background: var(--white);
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.06);
  border-color: var(--red);
}

.branch-stats-card .stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.branch-stats-card .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 6px;
}

.service-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.service-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
}

.service-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.branch-empty-state {
  text-align: center;
  padding: 60px 20px;
}

/* ==========================================================================
   Directors Page Styles (Directors.html)
   ========================================================================== */
.director-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(10, 31, 68, 0.04);
}

.director-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 16px 36px rgba(10, 31, 68, 0.1);
}

.director-card .director-img-container {
  position: relative;
  width: 100%;
  padding-top: 110%;
  background: #f1f4f9;
  overflow: hidden;
}

.director-card .director-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 2026-09-21 -- DEFECT FIX, not a restyle. Diverges from the mock's own
     `style.css`, which omits this line, because the mock never had to render a
     photograph here: its eight director slots hold square-ish silhouette SVGs
     that a centre crop cannot damage. The client's real portraits are ~1:1.3 to
     1:1.4 tall in a 1:1.1 box, so `object-fit: cover` overflows the height by
     ~27% and the default `50% 50%` takes half of that off the TOP -- roughly
     11% of the card, which lands in the forehead on every one of the eight.
     Anchoring to the top spends the whole overflow on the chest instead, where
     a headshot can afford it. */
  object-position: center top;
  transition: transform 0.4s ease;
}

.director-card:hover .director-img {
  transform: scale(1.04);
}

.director-card .director-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.director-card .director-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.director-card .director-designation {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}

.director-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.06);
  color: var(--navy);
}

.director-badge-pill.chairman {
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
}

.director-badge-pill.md {
  background: var(--navy);
  color: #ffffff;
}

/* Executive Spotlight Card for Chairman & Managing Director */
.executive-spotlight-card {
  background: var(--white);
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 31, 68, 0.05);
  transition: var(--transition);
  height: 100%;
}

.executive-spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 18px 45px rgba(10, 31, 68, 0.12);
}

.executive-spotlight-card .spotlight-img-wrap {
  position: relative;
  width: 100%;
  /* 2026-09-21 -- was a FIXED `height: 340px`, which is what made these read as
     passport crops once real photographs went in. A fixed height in a fluid
     column means the crop RATIO moves with the viewport: the wider the card
     gets, the taller the scaled portrait runs behind an unchanged 340px window,
     so proportionally more of the subject is thrown away. At the 523px column
     of a 1440 viewport that kept only ~46% of a 1:1.4 portrait -- head alone,
     clipped at the collar, no shoulders.

     A ratio box instead of a pixel height makes the framing width-INDEPENDENT:
     1:1 keeps ~71% of the source at every breakpoint, which is head, shoulders
     and upper chest -- and it lines the spotlight up with the grid card's own
     `padding-top: 110%`, which is ratio-based already and is exactly why those
     cards framed correctly while these did not.

     `height: auto` is kept ahead of it deliberately: a browser without
     `aspect-ratio` falls back to an uncropped image at natural proportions
     rather than a collapsed zero-height box. */
  height: auto;
  aspect-ratio: 1 / 1;
  background: #f1f4f9;
  overflow: hidden;
}

.executive-spotlight-card .spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Same 2026-09-21 fix as `.director-card .director-img`. Applies to both
     consumers of this card, `/directors`' chairman spotlight and `/about`'s two.

     ~~And worse here: this wrap is a FIXED 340px tall in a ~530px column, so a
     portrait scaled to width runs ~740px and a centre crop discards ~27% off the
     top -- well past the hairline.~~ STRUCK later the same day: the wrap stopped
     being 340px in the very commit that wrote this, when the fixed height became
     `aspect-ratio: 1 / 1` (see the rule above). The RULE is unchanged and still
     load-bearing; only the arithmetic behind it moved. At 1:1 on a ~1.40 portrait
     `cover` overflows the height by 40%, and a centre crop would take 20% of that
     off the top -- less brutal than the 27% this once described, still into the
     hairline. */
  object-position: center top;
  transition: transform 0.4s ease;
}

.executive-spotlight-card:hover .spotlight-img {
  transform: scale(1.03);
}

.executive-spotlight-card .spotlight-content {
  padding: 30px 28px;
}

.governance-pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  height: 100%;
  transition: var(--transition);
  border-top: 3px solid var(--navy);
}

.governance-pillar-card:hover {
  border-top-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 31, 68, 0.06);
}

/* ==========================================================================
   About Us Page Styles (abouts-us.html)
   ========================================================================== */
.about-milestone-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.about-milestone-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 10px 28px rgba(10, 31, 68, 0.08);
}

.milestone-year-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red);
  background: rgba(227, 30, 36, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.about-accreditation-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: var(--transition);
}

.about-accreditation-pill:hover {
  border-color: var(--navy);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.05);
}

.about-accreditation-pill .pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(10, 31, 68, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   16. DEDICATED NEWS & MEDIA PAGE (news.html) STYLES
   ========================================================================== */
.news-hero-search-wrap {
  max-width: 580px;
  position: relative;
  margin-top: 1.75rem;
}

.news-hero-search-input {
  width: 100%;
  height: 56px;
  padding: 12px 130px 12px 50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.news-hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.news-hero-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.25);
  color: var(--white);
}

.news-hero-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  pointer-events: none;
}

.news-hero-search-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--red);
  color: var(--white);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.news-hero-search-btn:hover {
  background: var(--red-hover);
  color: var(--white);
}

/* Category Filter Navigation */
.news-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(10, 31, 68, 0.03);
}

.news-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.news-filter-pills::-webkit-scrollbar {
  display: none;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.news-filter-btn:hover {
  color: var(--navy);
  background: var(--gray-200);
  border-color: var(--gray-300);
}

.news-filter-btn.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.news-filter-btn .filter-count {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.news-filter-btn.active .filter-count {
  background: var(--red);
  color: var(--white);
}

/* Featured Lead Spotlight Card */
.news-spotlight-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 31, 68, 0.15);
}

.news-spotlight-img-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.news-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-spotlight-card:hover .news-spotlight-img {
  transform: scale(1.05);
}

.news-spotlight-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 991.98px) {
  .news-spotlight-content {
    padding: 28px 24px;
  }
  .news-spotlight-img-wrap {
    min-height: 260px;
  }
}

/* Standard Article Cards */
.news-article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.news-article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 31, 68, 0.15);
}

.news-article-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.news-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-article-card:hover .news-article-img {
  transform: scale(1.06);
}

.news-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.88);
  color: var(--white);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.news-article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.news-meta-row i {
  color: var(--red);
}

.news-article-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 12px;
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article-card:hover .news-article-title {
  color: var(--red);
}

.news-article-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.news-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.news-author-desk {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-read-more-btn {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.news-read-more-btn:hover {
  color: var(--red-hover);
  transform: translateX(3px);
}

/* Regulatory Circulars Table */
.circulars-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.circular-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.circular-badge-bsec {
  background: rgba(10, 31, 68, 0.08);
  color: var(--navy);
  border: 1px solid rgba(10, 31, 68, 0.2);
}

.circular-badge-dse {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.circular-badge-ccbl {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.circular-badge-cdbl {
  background: rgba(6, 182, 212, 0.12);
  color: #0e7490;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.circular-badge-gsl {
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  border: 1px solid rgba(227, 30, 36, 0.2);
}

.circular-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  transition: var(--transition);
}

.circular-download-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Press Kit Box */
.press-kit-box {
  background: linear-gradient(135deg, #0A1F44 0%, #0F2B5E 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.press-kit-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: var(--red);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.press-asset-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}

.press-asset-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(3px);
}

/* Article Modal */
.news-modal-header {
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 30px;
}

.news-modal-body {
  padding: 30px;
}

.news-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.news-modal-lead {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 20px;
  border-left: 4px solid var(--red);
  padding-left: 16px;
}

/* ==========================================================================
   17. DEDICATED NOTICE PAGE (notice.html) STYLES
   ========================================================================== */
.notice-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.notice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 31, 68, 0.15);
}

.notice-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.notice-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.notice-card:hover .notice-card-img {
  transform: scale(1.06);
}

.notice-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-badge-bsec {
  background: #0A1F44;
  color: var(--white);
}

.notice-badge-dse {
  background: #B45309;
  color: var(--white);
}

.notice-badge-ccbl {
  background: #047857;
  color: var(--white);
}

.notice-badge-cdbl {
  background: #0E7490;
  color: var(--white);
}

.notice-badge-gsl {
  background: var(--red);
  color: var(--white);
}

.notice-date-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.85);
  color: var(--white);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notice-date-badge i {
  color: #FF6B6B;
}

.notice-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.notice-ref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.notice-ref-no {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(227, 30, 36, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.notice-priority-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray-500);
}

.notice-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 12px;
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card:hover .notice-card-title {
  color: var(--red);
}

.notice-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.notice-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.notice-view-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.notice-view-btn:hover {
  color: var(--red);
  transform: translateX(2px);
}

.notice-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 5px 12px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.notice-pdf-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Notice Filter Tabs */
.notice-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

.notice-filter-pills::-webkit-scrollbar {
  display: none;
}

.notice-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.notice-filter-btn:hover {
  color: var(--navy);
  background: var(--gray-200);
}

.notice-filter-btn.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.notice-filter-btn .filter-count {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.notice-filter-btn.active .filter-count {
  background: var(--red);
  color: var(--white);
}
/* --------------------------------------------------------------------------
   LEGAL PAGES (2026-09-27) -- /privacy-policy, /terms-and-conditions
   --------------------------------------------------------------------------
   The only rules added for these pages, and scoped to `.legal-body` so they
   cannot reach anything the pixel-locked mock covers (the mock has no legal
   pages -- see `views/pages/legal.njk`).

   WHY ANY RULE AT ALL, when `news-detail.njk` managed with none: its body is
   short prose, but a legal document is mostly section headings. Those are
   authored as <h2> -- the correct level under the page's <h1>, and the level
   `test:a11y`'s heading-order check expects -- and the site's global `h2` is a
   SECTION HEADLINE, clamp(1.75rem .. 2.75rem). At that size nine subsection
   titles read as nine separate pages. The alternative, authoring them as <h3>
   to borrow a smaller size, would trade correct document structure for
   styling. The sanitizer strips `class` from rich text, so the size cannot be
   set per-heading either; a scoped rule is the honest fix. */
.legal-body {
  color: var(--gray-600);
  line-height: 1.75;
}

.legal-body h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

/* Defensive: neither seeded body opens with a heading today (both start with
   a <p>), so this matches nothing yet. It keeps an editor-reordered body from
   opening with a 2.25rem gap under the hero. */
.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-body li {
  margin-bottom: 0.35rem;
}

.legal-body a {
  color: var(--red);
  word-break: break-word;
}
