/* ==========================================================================
   AJ Global Connect — Design System
   Mobile-first. Tokens → base → layout → components → pages → utilities
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand (navy + charcoal sampled from the official logo) */
  --navy-950: #0a1628;
  --navy-900: #0e1f38;
  --navy-800: #13294a;
  --navy-700: #163c6d;   /* logo navy */
  --navy-600: #24518a;
  --green-800: #173d2e;
  --green-700: #1f4d3a;  /* forest green */
  --green-600: #2b6a50;
  --gold-700: #7d6638;   /* text-safe gold on light */
  --gold-500: #b89b5e;   /* champagne accent */
  --gold-300: #d8c69d;   /* text-safe gold on dark */
  --ivory-50: #fdfbf7;
  --ivory-100: #faf7f0;
  --ivory-200: #f3eee3;
  --sand-300: #e4ddcd;
  --line: #e2dccf;
  --line-strong: #cbc3b1;
  --charcoal: #23262b;
  --ink: #2c3038;
  --slate: #5a6270;
  --slate-light: #7a8190;
  --logo-grey: #504c4b;
  --white: #ffffff;
  --danger: #a3302c;
  --success: #1f6b47;
  --wa: #25d366;
  --wa-dark: #1da851;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
  --fs-h3: clamp(1.6rem, 1.35rem + 0.9vw, 2.05rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.2rem);
  --fs-h1: clamp(2.35rem, 1.55rem + 3.6vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 2.6rem + 6vw, 8rem);

  --container: 1240px;
  --gutter: 20px;
  --header-h: 64px;
  --radius: 2px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(14, 31, 56, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(14, 31, 56, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(14, 31, 56, 0.32);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 48px; --header-h: 80px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}
::selection { background: var(--navy-700); color: var(--ivory-100); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy-900);
  color: var(--ivory-100);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ivory-100); }

.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;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--ivory { background: var(--ivory-100); }
.section--white { background: var(--ivory-50); }
.section--sand { background: var(--ivory-200); }
.section--dark {
  background: var(--navy-900);
  color: rgba(250, 247, 240, 0.82);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ivory-100); }
.section--dark a:not(.btn) { color: var(--gold-300); }
.section--green { background: var(--green-800); color: rgba(250, 247, 240, 0.85); }
.section--green h2, .section--green h3 { color: var(--ivory-100); }
.section--bordered { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { gap: var(--space-6); }
}

.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.section--dark .eyebrow, .section--green .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--gold-300); }
.lead {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--slate);
  max-width: 62ch;
}
.section--dark .lead, .section--green .lead { color: rgba(250, 247, 240, 0.78); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none;
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-8); }
}
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-sm); }
.serif { font-family: var(--font-display); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--ivory-100);
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: var(--ivory-100); --btn-bd: var(--navy-800); }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-950); --btn-bd: var(--gold-500); }
.btn--gold:hover { --btn-bg: var(--gold-300); --btn-bd: var(--gold-300); --btn-fg: var(--navy-950); }
.btn--light { --btn-bg: var(--ivory-100); --btn-fg: var(--navy-900); --btn-bd: var(--ivory-100); }
.btn--light:hover { --btn-bg: var(--white); --btn-bd: var(--white); --btn-fg: var(--navy-900); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory-100); --btn-bd: rgba(250, 247, 240, 0.45); }
.btn--ghost-light:hover { --btn-bg: rgba(250, 247, 240, 0.08); --btn-bd: var(--ivory-100); --btn-fg: var(--ivory-100); }
.btn--wa { --btn-bg: var(--wa-dark); --btn-bd: var(--wa-dark); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #178f45; --btn-bd: #178f45; --btn-fg: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .btn-row--stack-mobile { flex-direction: column; }
  .btn-row--stack-mobile .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-700);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--gold-300); }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(250, 247, 240, 0.9); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 31, 56, 0.35); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-700);
  min-width: 0;
}
.brand__mark { width: 40px; height: 42px; flex: none; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  color: var(--navy-700);
}
@media (max-width: 359px) {
  .brand__word { font-size: 0.95rem; letter-spacing: 0.06em; }
  .brand__mark { width: 36px; height: 38px; }
}
@media (min-width: 1100px) {
  .brand__mark { width: 50px; height: 52px; }
  .brand__word { font-size: 1.25rem; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
}
.nav-toggle svg { width: 26px; height: 26px; }

.primary-nav { display: none; }
.header-cta { display: none; white-space: nowrap; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
  .nav-item { position: relative; }
  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 8px;
    height: 1px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-split > .nav-link::after { transform: scaleX(1); }
  .nav-link:hover { color: var(--navy-900); }
  .nav-split { display: inline-flex; align-items: center; }
  .nav-split .nav-link { padding-right: 2px; }
  .nav-split .nav-link::after { right: 2px; }
  .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
  }
  .dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
  .dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 250px;
    padding: 10px 0;
    list-style: none;
    background: var(--ivory-50);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold-500);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
  @media (hover: hover) and (pointer: fine) {
    .nav-item--has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  }
  .dropdown a {
    display: block;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
  }
  .dropdown a:hover, .dropdown a:focus-visible { background: var(--ivory-200); color: var(--navy-900); }
  .dropdown a[aria-current="page"] { color: var(--navy-700); font-weight: 700; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
}
@media (min-width: 1200px) and (max-width: 1379px) {
  .nav-link { padding: 0 8px; font-size: 0.86rem; }
  .nav-link::after { left: 8px; right: 8px; }
  .header-cta { padding: 0 16px; }
  .site-header .brand__word { font-size: 1.05rem; }
  .site-header .brand__mark { width: 44px; height: 46px; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--ivory-50);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.mobile-nav__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -10px;
  border: 0; background: transparent; color: var(--navy-900);
}
.mobile-nav__close svg { width: 24px; height: 24px; }
.mobile-nav__list { list-style: none; padding: 8px var(--gutter); }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a, .mobile-nav__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
  text-align: left;
}
.mobile-nav__list a[aria-current="page"] { color: var(--navy-600); }
.mobile-nav__row { display: flex; align-items: center; }
.mobile-nav__row > a { flex: 1; }
.mobile-nav__sub-toggle { width: 48px; justify-content: center; flex: none; }
.mobile-nav__sub-toggle svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.mobile-nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; padding: 0 0 12px 14px; border-left: 1px solid var(--gold-500); margin-bottom: 14px; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a {
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-nav__foot { margin-top: auto; padding: 24px var(--gutter) 32px; display: grid; gap: 12px; background: var(--ivory-200); }
.mobile-nav__contact { display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--slate); }
.mobile-nav__contact a { color: var(--navy-800); font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 860px);
  display: flex;
  align-items: center;
  color: var(--ivory-100);
  background: var(--navy-950);
  overflow: hidden;
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__media img { object-position: 60% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.35) 40%, rgba(10, 22, 40, 0.88) 100%);
}
@media (min-width: 960px) {
  .hero::before {
    background: linear-gradient(90deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.72) 42%, rgba(10, 22, 40, 0.18) 100%);
  }
}
.hero__inner { padding-block: clamp(4rem, 3rem + 6vw, 7rem) clamp(5rem, 4rem + 4vw, 7rem); }
.hero__content { max-width: 720px; }
.hero h1 { color: var(--ivory-100); margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-300); }
.hero__lead {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: rgba(250, 247, 240, 0.86);
  max-width: 58ch;
  margin-bottom: var(--space-6);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(250, 247, 240, 0.18);
  font-size: var(--fs-sm);
  color: rgba(250, 247, 240, 0.72);
  list-style: none;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta li::before { content: ""; width: 5px; height: 5px; background: var(--gold-500); transform: rotate(45deg); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.7);
  text-decoration: none;
}
.scroll-cue span.line { width: 1px; height: 42px; background: rgba(250, 247, 240, 0.25); position: relative; overflow: hidden; }
.scroll-cue span.line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--gold-300);
}
@media (min-width: 768px) and (min-height: 700px) { .scroll-cue { display: flex; } }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span.line::after { animation: cue 2.4s var(--ease) infinite; }
}
@keyframes cue { 0% { top: -40%; } 70%, 100% { top: 100%; } }
.scroll-cue:hover { color: var(--ivory-100); }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-900);
  color: rgba(250, 247, 240, 0.82);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
}
.page-hero__media, .page-hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.84) 55%, rgba(10, 22, 40, 0.6) 100%);
}
.page-hero h1 { color: var(--ivory-100); max-width: 18ch; }
.page-hero--wide h1 { max-width: 24ch; }
.page-hero .lead { color: rgba(250, 247, 240, 0.8); }
.page-hero .btn-row { margin-top: var(--space-6); }

.breadcrumbs { margin-bottom: var(--space-5); font-size: var(--fs-sm); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; color: rgba(250, 247, 240, 0.65); }
.breadcrumbs li + li::before { content: "/"; color: rgba(250, 247, 240, 0.35); }
.breadcrumbs a { color: rgba(250, 247, 240, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-300); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--gold-300); }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card__body { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.7rem); margin-bottom: 0.4em; }
.card p { color: var(--slate); }
.card__foot { margin-top: auto; padding-top: var(--space-4); }

.service-card .card__index {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-700);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
  display: flex; align-items: center; gap: 12px;
}
.service-card .card__index::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service-card .icon { width: 34px; height: 34px; color: var(--navy-700); margin-bottom: var(--space-4); }
.card-link-overlay { position: absolute; inset: 0; z-index: 1; }
.card-link-overlay:focus-visible { outline-offset: -3px; }

/* Image tile (categories, industries) */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory-100);
  text-decoration: none;
  background: var(--navy-900);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
.tile--wide { aspect-ratio: 16 / 11; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.8s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 30%, rgba(10, 22, 40, 0.88) 100%);
}
.tile:hover img { transform: scale(1.04); }
.tile__content { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.tile__content h3 { color: var(--ivory-100); margin-bottom: 0.3em; }
.tile__content p { color: rgba(250, 247, 240, 0.82); font-size: 0.9375rem; margin-bottom: var(--space-3); }
.tile__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--gold-300); }
.tile__cta svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.tile:hover .tile__cta svg { transform: translateX(4px); }
.tile:hover { color: var(--ivory-100); }

/* Product card */
.product-card { overflow: hidden; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-200); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__tag {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 10px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(250, 247, 240, 0.94); color: var(--navy-800);
}
.product-card h3 { font-size: 1.55rem; margin-bottom: 0.25em; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--navy-700); }
.product-card .aka { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; margin-bottom: var(--space-3); }
.product-card p { font-size: 0.9375rem; }
.product-card__actions { margin-top: auto; padding-top: var(--space-5); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-card__actions .btn { padding: 0 12px; }

/* Who-we-work-with list */
.audience-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .audience { padding: var(--space-6) var(--space-6) var(--space-6) 0; }
  .audience:nth-child(odd) { padding-right: var(--space-6); }
}
.audience h3 { font-size: 1.55rem; display: flex; align-items: baseline; gap: 14px; }
.audience h3 span { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--gold-700); letter-spacing: 0.1em; }
.audience p { color: var(--slate); margin: 0; }
.section--dark .audience-grid, .section--dark .audience { border-color: rgba(250, 247, 240, 0.14); }
.section--dark .audience p { color: rgba(250, 247, 240, 0.72); }
.section--dark .audience h3 span { color: var(--gold-300); }

/* Process */
.process { list-style: none; display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 720px) { .process--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .process--4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}
.process__step { position: relative; padding-top: var(--space-6); border-top: 1px solid rgba(250, 247, 240, 0.2); }
.section:not(.section--dark) .process__step { border-top-color: var(--line-strong); }
.process__step::before {
  content: ""; position: absolute; top: -4px; left: 0;
  width: 7px; height: 7px; background: var(--gold-500); transform: rotate(45deg);
}
.process__step .process__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold-300); font-weight: 500; margin-bottom: var(--space-4); }
.section:not(.section--dark) .process__step .process__num { color: var(--gold-700); }
.process__step h3 { font-size: 1.5rem; }
.process__step p { font-size: 0.9375rem; margin: 0; }

/* Vertical steps (How it works page) */
.steps { list-style: none; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
@media (min-width: 768px) { .step { grid-template-columns: 120px 1fr 1fr; gap: var(--space-6); padding: var(--space-7) 0; } }
.steps--compact .step { grid-template-columns: 64px 1fr; gap: var(--space-4); padding: var(--space-5) 0; }
.steps--compact .step__num { font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem); }
.step__num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 2vw, 3.6rem); line-height: 1; color: var(--gold-700); font-weight: 500; }
.step h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: 0.3em; }
.step__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 6px; }
.step p { color: var(--slate); margin-bottom: 0.6em; }
.step ul { list-style: none; display: grid; gap: 6px; }
.step__detail { grid-column: 2; }
@media (min-width: 768px) { .step__detail { grid-column: auto; } }

/* Feature list (why us) */
.features { display: grid; gap: 0; list-style: none; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-7); } }
@media (min-width: 960px) and (max-width: 1299px) { .split .features { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.feature h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; color: var(--navy-900); letter-spacing: 0; margin-bottom: 0.4em; display: flex; gap: 12px; align-items: center; }
.feature h3 svg { width: 20px; height: 20px; color: var(--gold-700); flex: none; }
.feature p { color: var(--slate); font-size: 0.9375rem; margin: 0; }
.section--dark .feature { border-color: rgba(250, 247, 240, 0.14); }
.section--dark .feature h3 { color: var(--ivory-100); }
.section--dark .feature h3 svg { color: var(--gold-300); }
.section--dark .feature p { color: rgba(250, 247, 240, 0.72); }

/* Check list */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--green-600); }
.section--dark .checklist li svg, .section--green .checklist li svg { color: var(--gold-300); }
.checklist--2 { }
@media (min-width: 720px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }

/* Pathway cards (buyer/supplier) */
.pathways { display: grid; gap: 1px; background: rgba(250, 247, 240, 0.14); border: 1px solid rgba(250, 247, 240, 0.14); }
@media (min-width: 900px) { .pathways { grid-template-columns: 1fr 1fr; } }
.pathway { background: var(--navy-900); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: flex; flex-direction: column; }
.pathway--alt { background: var(--green-800); }
.pathway h3 { color: var(--ivory-100); font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.5rem); }
.pathway p { color: rgba(250, 247, 240, 0.78); margin-bottom: var(--space-6); max-width: 46ch; }
.pathway .btn { align-self: flex-start; margin-top: auto; }

/* Split media */
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.media-frame--land img { aspect-ratio: 4 / 3; }
.media-frame::after {
  content: ""; position: absolute; z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-500);
  opacity: 0.55;
  border-radius: var(--radius);
}
@media (max-width: 599px) { .media-frame::after { inset: 12px -10px -12px 10px; } }
.media-frame { isolation: isolate; }

/* Statement band */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.9vw, 2.9rem);
  line-height: 1.22;
  font-weight: 500;
  color: var(--navy-900);
  max-width: 28ch;
  margin: 0;
}
.statement em { color: var(--gold-700); font-style: italic; }
.section--dark .statement { color: var(--ivory-100); }
.section--dark .statement em { color: var(--gold-300); }

/* Notice / disclaimer */
.notice {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: var(--space-5);
  background: var(--ivory-200);
  border-left: 2px solid var(--gold-500);
  font-size: 0.9375rem;
  color: var(--ink);
}
.notice svg { width: 20px; height: 20px; color: var(--gold-700); margin-top: 3px; }
.notice strong { color: var(--navy-900); }
.notice p { margin: 0; color: var(--slate); }

/* CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(250, 247, 240, 0.8);
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}
.cta-band__media, .cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 40, 0.95), rgba(10, 22, 40, 0.78)); }
.cta-band h2 { color: var(--ivory-100); max-width: 20ch; }
.cta-band p:not(.eyebrow) { max-width: 58ch; font-size: var(--fs-lg); color: rgba(250, 247, 240, 0.8); }
.cta-band .btn-row { margin-top: var(--space-6); }
.cta-band__inner { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .cta-band__inner .btn-row { justify-content: flex-end; margin-top: 0; }
}

/* Filter tabs */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: var(--space-6);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.filter-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--ivory-100); }
.filter-btn:hover:not([aria-pressed="true"]) { border-color: var(--navy-700); color: var(--navy-800); }
.filter-bar[hidden] { display: none; }

.category-block + .category-block { margin-top: clamp(4rem, 3rem + 4vw, 6rem); }
.category-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.category-block__head h2 { margin: 0; }

/* ---------- 10. Product detail ---------- */
.product-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 5rem); background: var(--ivory-100); }
.product-hero .breadcrumbs li { color: var(--slate-light); }
.product-hero .breadcrumbs li + li::before { color: var(--line-strong); }
.product-hero .breadcrumbs a { color: var(--slate); }
.product-hero .breadcrumbs a:hover { color: var(--navy-700); }
.product-hero .breadcrumbs [aria-current="page"] { color: var(--navy-800); font-weight: 600; }
.product-layout { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .product-layout { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 5vw, 5.5rem); align-items: start; } }
.product-gallery { position: relative; }
.product-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) { .product-gallery { position: sticky; top: calc(var(--header-h) + 24px); } }
.product-summary h1 { font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4rem); margin-bottom: 0.15em; }
.product-summary .aka { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); margin-bottom: var(--space-5); }
.product-summary .lead { margin-bottom: var(--space-6); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-bottom: var(--space-4); }
.spec-table caption { text-align: left; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-900); padding-bottom: var(--space-3); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--navy-900); padding-right: 16px; }
.spec-table td { color: var(--slate); }
.spec-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600; color: var(--gold-700);
}
.spec-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.info-columns { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .info-columns { grid-template-columns: 1fr 1fr; } }
.info-columns h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); }

/* ---------- 11. Forms ---------- */
.form-shell {
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 0.8rem + 2.5vw, 3rem);
}
.form-shell--flush { border: 0; padding: 0; background: transparent; }
.form-intro { margin-bottom: var(--space-6); }
.form-intro h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: 0.3em; }
.form-intro p { color: var(--slate); }
fieldset { border: 0; padding: 0; margin: 0 0 var(--space-6); min-width: 0; }
legend {
  width: 100%;
  padding: 0 0 var(--space-3);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-900);
}
legend .legend-num { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-700); margin-right: 10px; vertical-align: 3px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; gap: 20px 22px; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field[hidden] { display: none; }
.field label, .field .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { font-weight: 500; color: var(--slate-light); }
.field .hint { font-size: 0.8125rem; color: var(--slate); margin: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1rem; /* 16px prevents iOS zoom */
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 130px; resize: vertical; }
.select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163c6d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate-light); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(22, 60, 109, 0.14);
}
.input[readonly] { background: var(--ivory-200); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); }
.field.is-invalid .input:focus, .field.is-invalid .select:focus, .field.is-invalid .textarea:focus { box-shadow: 0 0 0 3px rgba(163, 48, 44, 0.14); }
.field-error { display: none; font-size: 0.8125rem; font-weight: 600; color: var(--danger); }
.field.is-invalid .field-error { display: block; }
.input-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }

.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.875rem; color: var(--slate); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy-700); }
.consent label { font-weight: 500; color: var(--slate); }
.consent .field-error { grid-column: 2; }

.choice-group { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-group { grid-template-columns: 1fr 1fr; } }
.choice {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice input { width: 18px; height: 18px; accent-color: var(--navy-700); flex: none; margin: 0; }
.choice:hover { border-color: var(--navy-700); }
.choice:has(input:checked) { border-color: var(--navy-700); background: rgba(22, 60, 109, 0.05); box-shadow: inset 0 0 0 1px var(--navy-700); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-6); }
@media (min-width: 640px) { .form-actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.form-actions .or { font-size: var(--fs-sm); color: var(--slate); text-align: center; }
.form-note { font-size: 0.8125rem; color: var(--slate); margin-top: var(--space-4); }

.form-status { margin-top: var(--space-5); padding: var(--space-5); border-radius: var(--radius); font-size: 0.9375rem; }
.form-status[hidden] { display: none; }
.form-status--error { background: #f8ecea; border-left: 2px solid var(--danger); color: #5e1b18; }
.form-status--error a { color: #5e1b18; font-weight: 700; }
.form-status--info { background: var(--ivory-200); border-left: 2px solid var(--navy-700); }

.form-success {
  text-align: left;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green-600);
  background: var(--ivory-50);
}
.form-success[hidden] { display: none; }
.form-success svg { width: 40px; height: 40px; color: var(--green-600); margin-bottom: var(--space-4); }
.form-success h3 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem); }
.form-success p { color: var(--slate); }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; display: none; }
.is-loading .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sidebar */
.with-sidebar { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(3rem, 4vw, 4.5rem); align-items: start; } }
.sidebar { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-card { padding: var(--space-6); background: var(--navy-900); color: rgba(250, 247, 240, 0.8); border-radius: var(--radius); }
.side-card h2, .side-card h3 { color: var(--ivory-100); font-size: 1.6rem; }
.side-card--light { background: var(--ivory-50); border: 1px solid var(--line); color: var(--ink); }
.side-card--light h2, .side-card--light h3 { color: var(--navy-900); }
.side-steps { list-style: none; display: grid; gap: 16px; counter-reset: s; font-size: 0.9375rem; }
.side-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; counter-increment: s; }
.side-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--gold-300); line-height: 1.5; }
.side-card--light .side-steps li::before { color: var(--gold-700); }

/* Contact list */
.contact-list { list-style: none; display: grid; gap: 0; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: var(--space-5) 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--navy-700); }
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 2px; }
.contact-item__value { font-family: var(--font-display); font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem); font-weight: 600; color: var(--navy-900); line-height: 1.3; overflow-wrap: anywhere; }
.contact-item__value a { color: inherit; text-decoration: none; }
.contact-item__value a:hover { color: var(--navy-600); text-decoration: underline; }
.contact-item address { font-style: normal; }
.side-card .contact-list .contact-item { border-color: rgba(250, 247, 240, 0.14); grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
.side-card .contact-item__icon { display: none; }
.side-card .contact-item__label { color: rgba(250, 247, 240, 0.55); }
.side-card .contact-item__value { color: var(--ivory-100); font-size: 1.2rem; }
.side-card--light .contact-list .contact-item { border-color: var(--line); }
.side-card--light .contact-item__label { color: var(--slate-light); }
.side-card--light .contact-item__value { color: var(--navy-900); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 0;
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); font-weight: 600; color: var(--navy-900);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1.5px solid var(--gold-700); border-bottom: 1.5px solid var(--gold-700);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 22px; color: var(--slate); max-width: 72ch; }

/* Related links */
.related-links { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .related-links { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-6); } }
@media (min-width: 1100px) { .related-links { grid-template-columns: repeat(3, 1fr); } }
.related-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 72px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--navy-900); text-decoration: none;
}
.related-links a svg { width: 18px; height: 18px; color: var(--gold-700); flex: none; transition: transform 0.25s var(--ease); }
.related-links a:hover svg { transform: translateX(4px); }
.related-links a:hover { color: var(--navy-600); }

/* Industry rows */
.industry { display: grid; gap: var(--space-6); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); align-items: center; }
.industry:first-child { padding-top: 0; }
@media (min-width: 900px) {
  .industry { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .industry:nth-child(even) > .industry__media { order: 2; }
}
.industry__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.industry__num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; color: var(--gold-700); text-transform: uppercase; margin-bottom: var(--space-3); }
.industry h2 { font-size: clamp(1.8rem, 1.5rem + 1.3vw, 2.6rem); }
.industry .checklist { margin-top: var(--space-5); }

/* Values */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .values { grid-template-columns: 1fr 1fr; } }
.value { background: var(--ivory-50); padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); }
.value h3 { font-size: 1.6rem; }
.value p { color: var(--slate); margin: 0; }

/* Mission / vision quote */
.mv { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .mv { grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(250, 247, 240, 0.14); } }
.mv__item { padding: clamp(1.75rem, 1.2rem + 2vw, 3.5rem); background: var(--navy-900); border: 1px solid rgba(250, 247, 240, 0.14); }
@media (min-width: 900px) { .mv__item { border: 0; } }
.mv__item blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.95rem); line-height: 1.32; color: var(--ivory-100); font-weight: 500; }

/* Legal */
.legal { background: var(--ivory-50); }
.legal .prose h2 { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.legal .prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0.6em; }
.legal-meta { font-size: var(--fs-sm); color: var(--slate); margin-bottom: var(--space-6); }

/* 404 */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--gold-500); font-weight: 500; margin-bottom: var(--space-4); }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(250, 247, 240, 0.72); font-size: 0.9375rem; }
.footer-top { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: var(--space-7); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.5fr 0.9fr 1.1fr 0.9fr 1.3fr; gap: var(--space-6); } }
.footer-brand .brand { color: var(--ivory-100); margin-bottom: var(--space-5); }
.footer-brand .brand__mark {
  width: 58px; height: 58px; padding: 6px;
  background: var(--ivory-100); border-radius: 50%;
}
.footer-brand .brand__word { color: var(--ivory-100); font-size: 1.2rem; }
.footer-brand p { max-width: 38ch; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold-300); margin-top: var(--space-4); }
.footer-col h2 {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(250, 247, 240, 0.78); text-decoration: none; }
.footer-col a:hover { color: var(--ivory-100); text-decoration: underline; }
.footer-contact li { display: grid; gap: 0; margin-bottom: 10px; }
.footer-contact .k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 247, 240, 0.45); }
.footer-contact a, .footer-contact address { color: var(--ivory-100); font-style: normal; overflow-wrap: anywhere; }
.footer-contact a { min-height: 32px; }
.footer-social { display: flex; gap: 8px; margin-top: var(--space-4); }
.footer-social[hidden] { display: none; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(250, 247, 240, 0.25); border-radius: 50%; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  margin-inline: 0;
  padding-block: var(--space-5) calc(var(--space-5) + 70px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: var(--fs-sm); color: rgba(250, 247, 240, 0.55);
}
@media (min-width: 768px) { .footer-bottom { padding-bottom: var(--space-5); } }
@media (min-width: 768px) and (max-width: 1499px) { .footer-bottom ul { margin-right: 72px; } }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom a { color: rgba(250, 247, 240, 0.7); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-bottom a:hover { color: var(--ivory-100); text-decoration: underline; }

/* ---------- 13. Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; }
@media (min-width: 1100px) { .wa-float { right: 28px; bottom: 28px; width: 60px; height: 60px; } }
body.keyboard-open .wa-float, body.nav-open .wa-float, body.form-in-view .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 767px) {
  /* keep the last controls on a page clear of the floating button */
  main { padding-bottom: 8px; }
  .form-actions { padding-right: 0; }
}

/* ---------- 14. Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.text-center { text-align: center; }
.rule-gold { width: 56px; height: 2px; background: var(--gold-500); border: 0; margin: 0 0 var(--space-5); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

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

@media print {
  .site-header, .site-footer, .wa-float, .mobile-nav, .cta-band, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .hero { background: #fff !important; color: #000 !important; }
  .page-hero h1, .hero h1 { color: #000 !important; }
}
