/* ==========================================================================
   SILVEROAK ENTERPRISES PRIVATE LIMITED — Corporate Stylesheet
   --------------------------------------------------------------------------
   Design language: "metallic ledger". A sticky navy top bar,
   left-aligned editorial sections with sticky outlined section numbers,
   seamless hairline grids instead of floating cards, and icons set inline in
   front of every title.

   Palette rules: deep navy, sky-silver, vivid raspberry, cool white and pearl
   only. No gradients, no coloured shadows.
   Mobile-first. Breakpoints: 600 · 768 (tablet) · 1024 · 1200 (desktop bar).

   Contents
   01. Tokens              12. Import-export & map
   02. Reset & base        13. Infrastructure
   03. Layout              14. Partnerships (roles)
   04. Buttons             15. Governance
   05. Section heads       16. Sectors
   06. Header / top bar    17. Testimonials
   07. Hero                18. Insights
   08. About & metrics     19. Contact & form
   09. Matrix grids        20. Footer
   10. Ledger lists        21. Back to top
   11. Supply & flow       22. Reveal & motion
   ========================================================================== */

/* ==========================================================================
   01. Tokens
   ========================================================================== */
:root {
  --primary-dark: #0B1F3A;     /* Deep navy */
  --primary-mid: #12294A;      /* Lighter navy */
  --chrome: #A9C7EC;           /* Sky-silver highlight */
  --chrome-soft: #7FA3CF;      /* Deeper sky-silver for borders/strokes */
  --brand: #C81D63;            /* Vivid raspberry — main brand */
  --brand-light: #E0307A;      /* Brighter raspberry for hover */
  --platinum: #F2F6FC;         /* Cool white highlight */
  --platinum-soft: #F4F8FD;
  --bg-pearl: #F3F7FC;         /* Cool pearl background */
  --bg-white: #FFFFFF;
  --text-dark: #0E1B2E;
  --text-muted: #4A5A72;
  --text-light: #D5E2F2;
  --border-soft: #DCE5F0;
  --border-input: #C5D2E2;
  --grid-line: #D3DEEB;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --muted-accent: #FF9EC4;     /* Soft pink — secondary accent on dark */

  --rule-dark: rgba(169, 199, 236, 0.16);
  --rule-dark-strong: rgba(169, 199, 236, 0.32);

  --font-head: "Sora", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1180px;
  --gutter: 16px;
  --section-pad: 4.5rem;
  --header-h: 65px;            /* sticky offset; updated live by JS */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px)  { :root { --gutter: 28px; --section-pad: 5.5rem; } }
@media (min-width: 1024px) { :root { --section-pad: 6.5rem; } }
@media (min-width: 1200px) { :root { --gutter: 40px; --header-h: 77px; } }

/* ==========================================================================
   02. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-pearl);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(200, 29, 99, 0.12);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.25;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--brand); color: var(--platinum); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.sec-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--muted-accent); }

.sec-dark .form-card :focus-visible { outline-color: var(--brand); }

/* Programmatic focus targets (set by smooth-scroll) don't need a ring */
[tabindex="-1"]:focus { outline: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: var(--platinum);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { top: 12px; }

/* ==========================================================================
   03. Layout
   ========================================================================== */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.sec { padding-block: var(--section-pad); position: relative; }

.sec-white    { background: var(--bg-white); }
.sec-pearl    { background: var(--bg-pearl); }
.sec-platinum { background: var(--platinum); }

.sec-dark {
  background: var(--primary-dark);
  color: var(--text-light);
  border-top: 1px solid var(--rule-dark-strong);
}

/* Sticky side column + content column */
.sec-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .sec-grid {
    grid-template-columns: minmax(260px, 0.72fr) 1.6fr;
    gap: 4.5rem;
    align-items: start;
  }

  .sec-aside {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }

  #contact .sec-aside { position: static; }
}

.sec-body,
.sec-aside,
.wide-head > *,
.hero-wrap > * { min-width: 0; }

.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-pearl);
  border-left: 2px solid var(--muted-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.note i { color: var(--brand); margin-top: 0.3rem; }

/* Inline icon badges that sit in front of titles */
.ico,
.ico-sm {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--chrome);
  border-radius: var(--radius-sm);
  color: var(--brand);
  outline: 3px solid transparent;
  outline-offset: 2px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, outline-color 0.3s ease;
}

.ico    { width: 40px; height: 40px; font-size: 1rem; }
.ico-sm { width: 32px; height: 32px; font-size: 0.85rem; }

/* ==========================================================================
   04. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn i { font-size: 0.95em; transition: transform 0.25s ease; }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: var(--platinum); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-light); border-color: var(--brand-light); }

.btn-chrome { background: var(--chrome); color: var(--primary-dark); border-color: var(--chrome); }
.btn-chrome:hover { background: #C6DBF5; border-color: #C6DBF5; }

.btn-outline-light { background: transparent; color: var(--text-light); border-color: var(--chrome-soft); }
.btn-outline-light:hover { color: var(--platinum); border-color: var(--chrome); background: rgba(169, 199, 236, 0.08); }

.btn-sm { min-height: 44px; padding: 0.6rem 1rem; font-size: 0.72rem; }
.btn-lg { min-height: 54px; padding: 1rem 1.75rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* Narrow phones: long button labels wrap instead of widening the page */
.btn { max-width: 100%; }

@media (max-width: 479px) {
  .btn { white-space: normal; }
}

/* ==========================================================================
   05. Section heads
   ========================================================================== */
.sec-no {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-size: clamp(3.25rem, 2.4rem + 3vw, 5.25rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--grid-line);
}

.sec-pearl .sec-no,
.sec-platinum .sec-no { color: #CCD8E6; }
.sec-dark .sec-no { color: #24467A; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.sec-dark .kicker { color: var(--muted-accent); }

.sec-title {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--brand);
}

.sec-dark .sec-title { color: var(--platinum); }

.sec-intro {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.sec-intro + .sec-intro { margin-top: 0.75rem; }
.sec-dark .sec-intro { color: var(--text-light); }

.aside-cta { margin-top: 1.75rem; }

/* Full-width head used by alternating sections */
.wide-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--chrome);
}

.sec-dark .wide-head { border-bottom-color: var(--rule-dark-strong); }

.wide-head-side p { color: var(--text-muted); max-width: 56ch; }
.sec-dark .wide-head-side p { color: var(--text-light); }
.wide-head-side .btn { margin-top: 1.5rem; }

@media (min-width: 1024px) {
  .wide-head {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}

/* ==========================================================================
   06. Header / top bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(169, 199, 236, 0.45);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28); }

.rail-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  margin-right: auto;
}

.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--platinum);
}

.bar-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--platinum);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-down panel (mobile / tablet) */
.main-nav {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: var(--primary-mid);
  transition: max-height 0.45s var(--ease), visibility 0s linear 0.45s;
}

.main-nav.is-open {
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  visibility: visible;
  border-top: 1px solid var(--rule-dark);
  transition: max-height 0.45s var(--ease), visibility 0s linear 0s;
}

.nav-list { padding: 0.5rem var(--gutter); }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0 0.75rem;
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(169, 199, 236, 0.08);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover { color: var(--platinum); background: rgba(169, 199, 236, 0.05); }

.nav-link.is-active {
  color: var(--platinum);
  background: rgba(169, 199, 236, 0.07);
  border-left-color: var(--brand-light);
}

.nav-cta {
  display: grid;
  gap: 0.6rem;
  padding: 1rem var(--gutter) 1.5rem;
}

@media (min-width: 768px) {
  .bar-cta { display: inline-flex; }
  .nav-cta { grid-template-columns: 1fr 1fr; }
}

/* Desktop: single-row top bar — brand, inline links, quote button */
@media (min-width: 1200px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 76px;
    padding-inline: var(--gutter);
  }

  .rail-top { display: contents; }

  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 1.1rem; }

  .nav-toggle { display: none; }
  .bar-cta { order: 2; }

  .main-nav,
  .main-nav.is-open {
    order: 1;
    max-height: none;
    overflow: visible;
    visibility: visible;
    background: transparent;
    border: 0;
    transition: none;
  }

  .nav-list {
    display: flex;
    gap: 0.25rem;
    padding: 0;
  }

  .nav-link {
    min-height: 44px;
    padding: 0 0.9rem;
    border: 0;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
  }

  .nav-link:hover { background: transparent; }

  .nav-link.is-active {
    background: transparent;
    border-bottom-color: var(--brand-light);
  }

  .nav-cta { display: none; }
}

/* ==========================================================================
   07. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  background: var(--primary-dark);
  color: var(--text-light);
  overflow: hidden;
  isolation: isolate;
}

/* Photograph sits at the back, a flat graphite overlay above it, then the
   chrome motif and content. No gradients — the overlay is a single tone. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 31, 58, 0.8);
}

.hero-motif {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

@media (max-width: 1023px) {
  .hero::before { background: rgba(11, 31, 58, 0.86); }
}

.hero-orbit {
  transform-box: view-box;
  transform-origin: 1130px 450px;
  animation: orbit 140s linear infinite;
}

@keyframes orbit { to { transform: rotate(360deg); } }

.hero-wrap {
  position: relative;
  flex: 1;
  display: grid;
  gap: 3rem;
  align-content: center;
  padding-block: 3rem 3.5rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-sm);
  background: var(--primary-mid);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome);
}

.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
}

@media (max-width: 479px) {
  .hero-chip { font-size: 0.6rem; letter-spacing: 0.1em; white-space: nowrap; }
}

.hero-chip-sep {
  width: 14px;
  height: 1px;
  background: var(--chrome-soft);
}

.hero-title {
  max-width: 18ch;
  font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--platinum);
}

.hero-title-accent {
  font-weight: 300;
  color: var(--chrome);
}

.hero-sub {
  max-width: 54ch;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--brand-light);
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-light);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

@media (max-width: 479px) {
  .hero-ctas .btn { width: 100%; }
}

/* Key figures */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule-dark-strong);
}

.hero-stats > div {
  padding: 1rem 1rem 0 0;
}

.hero-stats > div:nth-child(n+3) { padding-top: 1.1rem; }

.hero-stats dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-soft);
}

.hero-stats dd {
  margin-bottom: 0.2rem;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--platinum);
}

.hero-stats > div { display: flex; flex-direction: column; }

@media (min-width: 600px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats > div,
  .hero-stats > div:nth-child(n+3) { padding: 1.1rem 1rem 0 0; }
  .hero-stats > div + div { padding-left: 1rem; border-left: 1px solid var(--rule-dark); }
}

/* Capability panel */
.hero-panel {
  background: var(--primary-mid);
  border: 1px solid var(--rule-dark-strong);
  border-top: 2px solid var(--brand-light);
  border-radius: var(--radius);
}

.hero-panel-head,
.hero-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome);
}

.hero-panel-head { border-bottom: 1px solid var(--rule-dark-strong); }
.hero-panel-head i { margin-right: 0.5rem; color: var(--muted-accent); }

.hero-panel-count {
  font-family: var(--font-head);
  color: var(--chrome-soft);
}

.hero-panel-list li + li { border-top: 1px solid var(--rule-dark); }

.hero-panel-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 52px;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--platinum);
  transition: background-color 0.25s ease, padding-left 0.3s var(--ease);
}

.hp-no {
  width: 1.4rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  color: var(--chrome-soft);
}

.hero-panel-list a > i:not(.hp-arrow) {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--chrome-soft);
  border-radius: var(--radius-sm);
  color: var(--chrome);
  font-size: 0.8rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hp-label { flex: 1; }

.hp-arrow {
  font-size: 0.75rem;
  color: var(--chrome-soft);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-panel-list a:hover {
  background: rgba(169, 199, 236, 0.06);
  padding-left: 1.5rem;
}

.hero-panel-list a:hover > i:not(.hp-arrow) {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--platinum);
}

.hero-panel-list a:hover .hp-arrow { opacity: 1; transform: none; color: var(--muted-accent); }

.hero-panel-foot {
  justify-content: flex-start;
  gap: 0.5rem;
  border-top: 1px solid var(--rule-dark-strong);
  letter-spacing: 0.1em;
  color: var(--chrome-soft);
}

.hero-panel-foot i { color: var(--chrome); }

@media (min-width: 1024px) {
  .hero-wrap {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
    gap: 3.5rem;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .hero-wrap { gap: 4.5rem; padding-block: 4rem; }
}

/* Trust ticker */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--primary-mid);
  border-top: 1px solid var(--rule-dark-strong);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 45s linear infinite;
}

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

.ticker-list {
  display: flex;
  gap: 3rem;
  padding: 1rem 3rem 1rem 0;
}

.ticker-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.ticker-list i { color: var(--chrome); }

@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   08. About & metrics
   ========================================================================== */
.statement {
  margin-bottom: 2rem;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--text-dark);
}

.statement-sm { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem); color: var(--text-muted); }

.two-col-text { color: var(--text-muted); }

@media (min-width: 768px) {
  .two-col-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .two-col-text p { margin: 0; }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
  border-top: 2px solid var(--text-dark);
}

.metric {
  padding: 1.35rem 1.1rem 1.35rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.metric:nth-child(odd) { border-right: 1px solid var(--border-soft); }
.metric:nth-child(even) { padding-left: 1.1rem; }

.metric dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric dt i { color: var(--brand); font-size: 0.85rem; }

.metric dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.3rem;
  margin-top: 0.6rem;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}

.metric-suffix { font-size: 0.45em; font-weight: 600; color: var(--brand); }

@media (min-width: 768px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric,
  .metric:nth-child(even) { padding: 1.5rem 1.25rem; border-right: 1px solid var(--border-soft); }
  .metric:first-child { padding-left: 0; }
  .metric:last-child { border-right: 0; }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pill-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  background: var(--bg-pearl);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.pill-row i { color: var(--brand); font-size: 0.85rem; }

/* ==========================================================================
   09. Matrix grids — seamless hairline tiles
   ========================================================================== */
.matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--grid-line);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 600px) {
  .matrix-2,
  .matrix-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .matrix-3 { grid-template-columns: repeat(3, 1fr); }
}

.cell {
  position: relative;
  padding: 1.6rem 1.5rem;
  background: var(--bg-white);
  transition: background-color 0.3s ease;
}

/* Magenta edge that grows on hover */
.cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.cell:hover { background: var(--platinum-soft); }
.cell:hover::before { transform: scaleY(1); }

.cell:hover .ico,
.ledger-row:hover .ico-sm,
.programme:hover .ico-sm,
.gov-item:hover .ico-sm {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--platinum);
  outline-color: rgba(255, 158, 196, 0.45);
}

.cell-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.3;
}

.cell p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.cell-compact { padding: 1.35rem 1.25rem; }
.cell-compact .cell-title { font-size: 0.98rem; }

.matrix-lg .cell { padding: 2rem 1.75rem; }

@media (min-width: 600px) {
  .cell p { padding-left: calc(40px + 0.85rem); }
  .cell-compact p { padding-left: 0; }
}

/* ==========================================================================
   10. Ledger lists — rows with hairline dividers
   ========================================================================== */
.ledger { border-top: 2px solid var(--text-dark); }

@media (min-width: 768px) {
  .ledger-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

.ledger-row {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.ledger-title,
.programme-title,
.gov-title,
.role-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.ledger-row p,
.gov-item p {
  margin-top: 0.35rem;
  padding-left: calc(32px + 0.75rem);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ledger-row:hover .ledger-title { color: var(--brand); }

/* ==========================================================================
   11. Supply programmes & flow diagram
   ========================================================================== */
.programmes { border-top: 2px solid var(--text-dark); }

@media (min-width: 768px) {
  .programmes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

.programme {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.programme-no {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--chrome);
}

.programme p {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.flow {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.flow-cap { font-size: 0.93rem; color: var(--text-muted); }

.flow-cap-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.flow-svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}

.flow-t {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-anchor: middle;
  fill: var(--text-dark);
}

.flow-s {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-anchor: middle;
  fill: var(--text-muted);
}

.flow-lines path {
  stroke-dasharray: 6 6;
  animation: flow-dash 1.4s linear infinite;
}

@keyframes flow-dash { to { stroke-dashoffset: -24; } }

/* ==========================================================================
   12. Import-export & world map
   ========================================================================== */
.cap-strip {
  display: grid;
  margin-top: 1.5rem;
}

@media (min-width: 600px)  { .cap-strip { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 1024px) { .cap-strip { grid-template-columns: repeat(3, 1fr); } }

.cap-strip li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-dark);
  font-weight: 500;
  color: var(--platinum);
}

.cap-strip i { color: var(--chrome); }

/* Photography: brand-graded (graphite + magenta), responsive WebP with JPEG fallback */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--primary-mid);
}

.photo-dark { border-color: var(--rule-dark-strong); }

.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.photo:hover img { transform: scale(1.03); }

.photo figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  background: var(--primary-dark);
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--platinum);
}

.photo figcaption i { color: var(--muted-accent); }

/* Full-width banner (Import-Export) */
.photo-banner img { aspect-ratio: 2 / 1; }

@media (min-width: 1024px) {
  .photo-banner img { aspect-ratio: 21 / 9; }
  .photo-banner figcaption { left: 1.5rem; bottom: 1.5rem; }
}

/* ==========================================================================
   13. Infrastructure
   ========================================================================== */
.hub {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--primary-dark);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.9rem;
}

.hub-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome);
}

.hub-title i { color: var(--muted-accent); }

.hub-city {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--platinum);
}

.spec-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--grid-line);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-bar > div { padding: 1.1rem 1.25rem; background: var(--bg-pearl); }

.spec-bar dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-bar dt i { color: var(--brand); }

.spec-bar dd {
  margin-top: 0.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   14. Partnerships — role ledger on graphite
   ========================================================================== */
.roles { border-top: 1px solid var(--chrome-soft); }

.role {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-dark-strong);
  transition: background-color 0.3s ease, padding-left 0.3s var(--ease);
}

.role:hover { background: rgba(169, 199, 236, 0.04); padding-left: 0.75rem; }

.role-no {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--chrome-soft);
}

.role-title { color: var(--platinum); }

.role .ico-sm {
  background: transparent;
  border-color: var(--chrome-soft);
  color: var(--chrome);
}

.role:hover .ico-sm {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--platinum);
}

.role p {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.85;
}

@media (min-width: 768px) {
  .role {
    grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
  }
}

/* ==========================================================================
   15. Governance
   ========================================================================== */
.doc {
  border: 1px solid var(--chrome);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
}

.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  background: var(--primary-dark);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--platinum);
}

.doc-head i { color: var(--chrome); margin-right: 0.4rem; }

.doc-stamp {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--muted-accent);
  border-radius: var(--radius-sm);
  font-size: 0.66rem;
  color: var(--muted-accent);
  transform: rotate(-4deg);
}

.doc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.doc-table th,
.doc-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}

.doc-table tr:last-child th,
.doc-table tr:last-child td { border-bottom: 0; }

.doc-table th {
  width: 30%;
  background: var(--bg-pearl);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.doc-table td { font-weight: 500; }

.gov-list { margin-top: 1.75rem; border-top: 2px solid var(--text-dark); }

@media (min-width: 768px) {
  .gov-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

.gov-item { padding: 1.2rem 0; border-bottom: 1px solid var(--border-soft); }

/* ==========================================================================
   16. Sectors
   ========================================================================== */
.sectors {
  display: grid;
  gap: 2rem 2.5rem;
}

@media (min-width: 600px)  { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sectors { grid-template-columns: repeat(3, 1fr); } }

.sector {
  position: relative;
  padding-top: 1.35rem;
  border-top: 1px solid var(--chrome-soft);
}

.sector::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--brand);
  transition: width 0.45s var(--ease);
}

.sector:hover::before { width: 100%; }

.sector-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.sector-title i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--chrome);
  border-radius: var(--radius-sm);
  color: var(--brand);
  font-size: 1.05rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.sector:hover .sector-title i { background: var(--brand); color: var(--platinum); border-color: var(--brand); }

.sector p {
  margin-top: 0.5rem;
  padding-left: calc(44px + 0.85rem);
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   17. Testimonials — editorial quote carousel
   ========================================================================== */
.carousel { min-width: 0; }

.quote-mark {
  display: block;
  width: 58px;
  height: auto;
  margin-bottom: 1.75rem;
}

.carousel-viewport { overflow: hidden; }

.carousel-track { display: grid; gap: 2.5rem; }

.js .carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.65s var(--ease);
  will-change: transform;
}

.js .carousel-slide { flex: 0 0 100%; padding-right: 1px; }

.quote blockquote p {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 0.95rem + 1.25vw, 1.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-dark);
}

.quote figcaption {
  display: grid;
  gap: 0.2rem;
  margin-top: 2rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
  color: var(--brand);
  font-size: 0.9rem;
}

.q-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.q-role { font-size: 0.9rem; color: var(--text-muted); }

.carousel-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--chrome);
}

.js .carousel-controls { display: flex; }

.carousel-count {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.carousel-count [data-carousel-current] { color: var(--brand); }

.carousel-dots { display: flex; }

.carousel-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--chrome);
  transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.carousel-dot[aria-current="true"]::before { width: 24px; background: var(--brand); }

.carousel-arrows { display: flex; gap: 0.5rem; }

.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--chrome);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--platinum); }

@media (max-width: 479px) {
  .carousel-count { display: none; }
}

/* ==========================================================================
   18. Insights
   ========================================================================== */
.insights {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) { .insights { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.insight {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 1px solid var(--chrome-soft);
}

.insight::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.45s var(--ease);
}

.insight:hover::before { width: 100%; }

.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.insight-meta span { color: var(--text-muted); font-weight: 500; letter-spacing: 0.06em; }

.insight-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.32;
}

.insight > p:not(.insight-meta) { font-size: 0.95rem; color: var(--text-muted); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  transition: gap 0.25s ease, color 0.2s ease;
}

.read-more:hover { gap: 0.8rem; color: var(--brand-light); }

/* ==========================================================================
   19. Contact & enquiry form
   ========================================================================== */
.contact-list { margin-top: 2rem; }

.contact-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule-dark-strong);
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome);
}

.contact-label i { color: var(--muted-accent); }

.contact-list a,
.footer-address a { color: inherit; word-break: break-word; transition: color 0.2s ease; }

.contact-list a:hover { color: var(--chrome); }
.footer-address a:hover { color: var(--platinum); }

.contact-list address,
.contact-list li > p:not(.contact-label) {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--platinum);
}

.map-embed {
  margin-top: 0.5rem;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--primary-mid);
}

/* Greyscale + inverted keeps the map inside the graphite palette */
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

.form-card {
  padding: clamp(1.35rem, 1rem + 2vw, 2.5rem);
  background: var(--bg-white);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  color: var(--text-dark);
}

.form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-soft);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.form-title i { color: var(--brand); font-size: 1.05rem; }

.form-hint { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

.req { color: var(--brand); }

.form-grid { display: grid; gap: 1.25rem; }

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

.field { min-width: 0; }

.field label,
.check-group legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  background: var(--bg-pearl);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem; /* ≥16px avoids iOS zoom on focus */
  color: var(--text-dark);
  outline: 3px solid transparent;
  outline-offset: 0;
  transition: border-color 0.2s ease, outline-color 0.2s ease, background-color 0.2s ease;
}

.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }

.field input::placeholder,
.field textarea::placeholder { color: #6E86A8; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--chrome-soft); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--bg-white);
  border-color: var(--brand);
  outline-color: rgba(200, 29, 99, 0.14);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355565A' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  cursor: pointer;
}

/* Neutralise browser autofill tint */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-dark);
  -webkit-box-shadow: 0 0 0 1000px var(--platinum-soft) inset;
  box-shadow: 0 0 0 1000px var(--platinum-soft) inset;
}

.field-error {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
}

.field-error::before {
  content: "\f06a"; /* circle-exclamation */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
}

.field.has-error .field-error { display: flex; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--brand);
  background: #FDF5F9;
}

/* Checkbox chips */
.check-group { margin: 0; padding: 0; border: 0; }
.check-group legend { padding: 0; margin-bottom: 0.6rem; }

.check-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.check { position: relative; display: inline-flex; }

.check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.check span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  background: var(--bg-white);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  pointer-events: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.check span::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--chrome-soft);
  border-radius: 3px;
  background: var(--bg-white) no-repeat center / 10px 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.check:hover span { border-color: var(--chrome-soft); }

.check input:checked + span {
  border-color: var(--brand);
  background: rgba(200, 29, 99, 0.06);
  color: var(--brand);
}

.check input:checked + span::before {
  background-color: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23E9E7E4' stroke-width='1.8'/%3E%3C/svg%3E");
}

.check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.75rem;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-privacy i { color: var(--chrome-soft); }

@media (max-width: 479px) {
  .form-actions .btn { width: 100%; }
}

.form-status:empty { display: none; }

.form-status {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-pearl);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
}

.form-status strong { font-family: var(--font-head); color: var(--brand); }
.form-status p { margin: 0.35rem 0 0; color: var(--text-muted); }

/* ==========================================================================
   20. Footer
   ========================================================================== */
.site-footer {
  padding-top: 3.5rem;
  background: var(--primary-dark);
  border-top: 1px solid var(--chrome);
  color: var(--text-light);
  font-size: 0.925rem;
  overflow: hidden;
}

/* Oversized outlined wordmark — the metallic signature */
.footer-wordmark {
  margin: 0 0 3rem;
  font-family: var(--font-head);
  font-size: clamp(3rem, 10.5vw, 10.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #1A3560;
  user-select: none;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule-dark-strong);
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 1.25fr 1fr 1.1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

.footer-brand > p {
  max-width: 42ch;
  margin: 1.25rem 0 1.5rem;
  opacity: 0.85;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chrome);
}

.footer-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.6rem;
  vertical-align: middle;
  background: var(--brand-light);
}

.footer-links { display: grid; }

.footer-links-2 { grid-template-columns: 1fr 1fr; column-gap: 1rem; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover { color: var(--platinum); opacity: 1; }

@media (min-width: 1024px) {
  .footer-links a { min-height: 32px; }
}

/* Non-link lists (divisions, partner roles) */
.footer-list-plain { gap: 0.55rem; padding-block: 0.4rem; }
.footer-list-plain li { line-height: 1.45; opacity: 0.85; }

.footer-address {
  display: flex;
  gap: 0.6rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-address i { margin-top: 0.3rem; width: 1rem; color: var(--chrome); }

.footer-cta { margin-top: 0.75rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.8rem;
  color: var(--chrome-soft);
}

.footer-bottom p { margin: 0; }

/* Narrow phones: keep the top bar on one line */
@media (max-width: 399px) {
  .brand-name { font-size: 0.9rem; letter-spacing: 0.16em; }
}

/* ==========================================================================
   21. Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--brand);
  border: 1px solid rgba(242, 246, 252, 0.25);
  border-radius: var(--radius-sm);
  color: var(--platinum);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s, background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0s, background-color 0.2s ease;
}

.back-to-top:hover { background: var(--brand-light); }

/* ==========================================================================
   22. Reveal & motion
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* Once the entrance finishes, JS removes .reveal so each component's own
   hover transitions take over again. */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .ticker-track { animation: none; width: auto; }
  .ticker-list { flex-wrap: wrap; gap: 0.75rem 2rem; padding: 1rem var(--gutter); }
  .ticker-list[aria-hidden="true"],
  .ticker-list li:nth-child(n+5) { display: none; }

  .js .reveal { opacity: 1; transform: none; }
}
