/* ==========================================================================
   Kulmiye LTD — Design System
   style.css : tokens, base and mobile-first component styles.
   responsive.css : all breakpoint (min-width) overrides + reduced motion.
   Component reference: /docs/components.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, latin subset, variable)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks reduce layout shift while the webfonts load */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 105.72%;
  ascent-override: 91.64%;
  descent-override: 22.82%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  size-adjust: 99.07%;
  ascent-override: 107.61%;
  descent-override: 30.28%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (work.md §3) */
  --c-navy: #102A43;
  --c-blue: #247BA0;
  --c-gold: #F4B942;
  --c-white: #FFFFFF;
  --c-grey: #F4F7FA;
  --c-charcoal: #243447;

  /* Derived tints & shades */
  --c-navy-950: #081A2C;
  --c-navy-900: #0B1F33;
  --c-navy-700: #1D3B5A;
  --c-navy-600: #2A4D70;
  --c-blue-700: #1C6688;   /* AA text colour on white AND light grey (6.35:1) */
  --c-blue-100: #DCEBF3;
  --c-blue-50: #EEF6FA;
  --c-gold-600: #E2A52C;   /* hover for gold buttons */
  --c-gold-700: #8A6100;   /* only gold-family tone allowed as text on white (5.5:1) */
  --c-gold-100: #FCEFD2;
  --c-gold-50: #FEF8EC;
  --c-grey-100: #E9EEF3;
  --c-grey-200: #D9E2EC;
  --c-grey-300: #BCCCDC;
  --c-muted: #52606D;      /* secondary text (6.4:1 on white, 6.0:1 on grey) */
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: #C3D0DC; /* body text on navy (≈9:1) */
  --c-success: #1E7B4F;
  --c-success-bg: #E8F5EE;
  --c-error: #B42318;
  --c-error-bg: #FDECEA;

  /* Semantic aliases */
  --color-text: var(--c-charcoal);
  --color-heading: var(--c-navy);
  --color-link: var(--c-blue-700);
  --color-link-hover: var(--c-navy);
  --color-bg: var(--c-white);
  --color-bg-alt: var(--c-grey);
  --color-border: var(--c-grey-200);
  --color-focus: var(--c-blue);

  /* Typography */
  --font-heading: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;                                         /* 13px */
  --fs-sm: 0.9063rem;                                         /* 14.5px */
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);        /* 16 → 17px */
  --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);          /* 17 → 20px */
  --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.1875rem, 1.08rem + 0.5vw, 1.4375rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-display: clamp(2.375rem, 1.55rem + 3.9vw, 4.5rem);
  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --space-2xl: clamp(3rem, 2.2rem + 3.5vw, 5rem);
  --section-y: clamp(4rem, 2.9rem + 4.8vw, 7.5rem);

  /* Layout */
  --container: 76rem;        /* 1216px content width */
  --container-wide: 86rem;   /* 1376px */
  --container-narrow: 48rem; /* 768px — prose */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 4.5rem;
  /* Reserve space while shared header fetches (components.js) */
  --header-slot-min: var(--header-h);

  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(16, 42, 67, 0.06);
  --shadow-sm: 0 1px 3px rgba(16, 42, 67, 0.08), 0 1px 2px rgba(16, 42, 67, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(16, 42, 67, 0.18), 0 4px 8px -4px rgba(16, 42, 67, 0.06);
  --shadow-lg: 0 28px 56px -18px rgba(16, 42, 67, 0.28);
  --shadow-gold: 0 10px 24px -10px rgba(226, 165, 44, 0.65);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 600ms;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden; /* fallback */
  overflow-x: clip;   /* no horizontal scroll; clip (unlike hidden) keeps position: sticky working */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; font-style: italic; }
picture img { width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-snug); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: var(--lh-snug); letter-spacing: -0.005em; }
p { text-wrap: pretty; }
strong, b { font-weight: 650; color: var(--c-navy); }

a { color: var(--color-link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--color-link-hover); }

::selection { background: var(--c-gold); color: var(--c-navy); }

/* Focus — always visible for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible,
.hero :focus-visible,
.page-banner :focus-visible,
.lightbox :focus-visible { outline-color: var(--c-gold); }
/* Programmatic focus targets (e.g. <main tabindex="-1"> after the skip link) */
[tabindex="-1"]:focus:not(:focus-visible), main:focus { outline: none; }

/* --------------------------------------------------------------------------
   4. Accessibility helpers
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; color: var(--c-white); outline-color: var(--c-gold); }

/* Honeypot (spam trap) — off-screen, never shown to people */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--space-2xl); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--c-navy); color: var(--c-on-dark-muted); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--c-white); }

.grid { display: grid; gap: var(--space-md); }
/* Grid children may shrink below their content width (prevents wide tables/long words widening the page) */
.grid > *, .split > *, .card-grid > *, .feature-grid > *, .values-grid > *, .statement-grid > *,
.legal-layout > *, .contact-preview > *, .cta-band__inner > *, .form__grid > *, .site-footer__top > *,
.highlights > *, .gallery-grid > *, .section-head--split > * { min-width: 0; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
.stack > * + * { margin-top: var(--space-sm); }
.stack-lg > * + * { margin-top: var(--space-md); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--c-muted); }
.muted { color: var(--c-muted); }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
.actions--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Icons (inline SVG, Lucide — ISC licence)
   -------------------------------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  stroke-width: 2;
  vertical-align: middle;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75rem; height: 1.75rem; stroke-width: 1.75; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: var(--c-blue-50);
  color: var(--c-blue-700);
  flex-shrink: 0;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-badge .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; }
.icon-badge--gold { background: var(--c-gold); color: var(--c-navy); }
.icon-badge--navy { background: var(--c-navy); color: var(--c-gold); }
.icon-badge--on-dark { background: rgba(255, 255, 255, 0.08); color: var(--c-gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* --------------------------------------------------------------------------
   7. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-gold);
  --btn-fg: var(--c-navy);
  --btn-bd: var(--c-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-heading);
  font-size: 0.9688rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  white-space: normal;   /* long labels wrap on narrow screens; nowrap from 576px (responsive.css) */
  max-width: 100%;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.125rem; height: 1.125rem; transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--primary:hover { --btn-bg: var(--c-gold-600); --btn-bd: var(--c-gold-600); box-shadow: var(--shadow-gold); }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--c-navy); --btn-bd: var(--c-navy); }
.btn--secondary:hover { --btn-bg: var(--c-navy); --btn-fg: var(--c-white); }

.btn--navy { --btn-bg: var(--c-navy); --btn-fg: var(--c-white); --btn-bd: var(--c-navy); }
.btn--navy:hover { --btn-bg: var(--c-navy-700); --btn-bd: var(--c-navy-700); box-shadow: var(--shadow-md); }

.btn--on-dark { --btn-bg: rgba(255, 255, 255, 0.04); --btn-fg: var(--c-white); --btn-bd: rgba(255, 255, 255, 0.55); }
.btn--on-dark:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-navy); --btn-bd: var(--c-white); }

.btn--lg { min-height: 3.5rem; padding: 0.95rem 1.875rem; font-size: 1.0313rem; }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1.125rem; font-size: 0.9063rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Text link with animated arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9688rem;
  color: var(--c-blue-700);
  text-decoration: none;
}
.link-arrow .icon { width: 1.05rem; height: 1.05rem; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--c-navy); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--on-dark { color: var(--c-gold); }
.link-arrow--on-dark:hover { color: var(--c-white); }

/* --------------------------------------------------------------------------
   8. Eyebrow & section heading
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue-700);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
}
.eyebrow--on-dark { color: var(--c-gold); }
.eyebrow--on-dark::before { background: currentColor; }

.section-head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section-head__title { font-size: var(--fs-h2); }
.section-head__lead { margin-top: var(--space-sm); font-size: var(--fs-lg); line-height: 1.6; color: var(--c-muted); }
.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-md); align-items: end; }
.section--dark .section-head__lead, .on-dark .section-head__lead { color: var(--c-on-dark-muted); }

/* --------------------------------------------------------------------------
   9. Header & navigation (mobile first; desktop in responsive.css)
   -------------------------------------------------------------------------- */
/* Placeholder while /components/header.html is fetched */
[data-component="header"] {
  min-height: var(--header-slot-min, var(--header-h));
}
[data-component="footer"] {
  min-height: 1px;
}
.site-header {
  --hdr-fg: var(--c-navy);
  --hdr-bg: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--hdr-fg);
  transition: color var(--dur) var(--ease);
}
/* Background lives on a pseudo element so the header never becomes a
   containing block for the fixed-position mobile panel. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--c-grey-100);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
  box-shadow: 0 6px 24px -10px rgba(16, 42, 67, 0.25);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}

/* Overlay variant (homepage): fixed & transparent over the hero */
.site-header--overlay {
  position: fixed;
  inset: 0 0 auto 0;
  --hdr-fg: var(--c-white);
  --hdr-bg: transparent;
}
.site-header--overlay::before {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(8, 26, 44, 0.55) 0%, rgba(8, 26, 44, 0) 100%);
}
.site-header--overlay.is-scrolled,
.site-header--overlay.is-menu-open { --hdr-fg: var(--c-navy); }
.site-header--overlay.is-scrolled::before,
.site-header--overlay.is-menu-open::before { background: rgba(255, 255, 255, 0.96); border-color: transparent; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
}

/* Brand / logo */
.site-header__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  text-decoration: none;
}
.logo { width: auto; height: 2.625rem; }
.logo--light { display: none; }
.site-header--overlay .logo--dark { display: none; }
.site-header--overlay .logo--light { display: block; }
.site-header--overlay.is-scrolled .logo--dark,
.site-header--overlay.is-menu-open .logo--dark { display: block; }
.site-header--overlay.is-scrolled .logo--light,
.site-header--overlay.is-menu-open .logo--light { display: none; }

/* Hamburger */
.nav-toggle {
  position: relative;
  z-index: 102;
  display: inline-grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  margin-right: -0.375rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: currentColor;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease), width var(--dur) var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { transform: translateY(-7px); }
.nav-toggle__bars::after { transform: translateY(7px); width: 1rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); width: 1.5rem; }

/* Mobile off-canvas panel */
.site-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  width: min(100%, 26rem);
  padding: var(--space-sm) var(--gutter) var(--space-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 380ms var(--ease-out), visibility 0s linear 380ms;
}
.site-nav.is-open {
  visibility: visible;
  transform: none;
  transition: transform 380ms var(--ease-out), visibility 0s;
}
.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(8, 26, 44, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease); }
html.nav-open { overflow: hidden; }

.site-nav__list { display: flex; flex-direction: column; }
.site-nav__item { border-bottom: 1px solid var(--c-grey-100); }
.site-nav__split { display: flex; align-items: center; justify-content: space-between; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 3.5rem;
  padding: 0.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
}
.site-nav__link:hover { color: var(--c-blue-700); }
.site-nav__link[aria-current] { color: var(--c-blue-700); }
.site-nav__link[aria-current]::before {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * -1);
  top: 50%;
  width: 4px;
  height: 1.5rem;
  margin-top: -0.75rem;
  border-radius: 0 3px 3px 0;
  background: var(--c-gold);
}

.site-nav__dropdown-toggle {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-right: -0.5rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
}
.site-nav__dropdown-toggle .icon { width: 1.125rem; height: 1.125rem; transition: transform var(--dur) var(--ease); }
.site-nav__dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Dropdown — accordion on mobile */
.dropdown {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.dropdown__inner { overflow: hidden; min-height: 0; }
.dropdown__list { padding: 0 0 var(--space-xs); }
.has-dropdown.is-open .dropdown {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows var(--dur) var(--ease), visibility 0s;
}
.dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3rem;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--c-charcoal);
  font-size: 0.9688rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.dropdown__link:hover, .dropdown__link[aria-current] { background: var(--c-grey); color: var(--c-navy); }
.dropdown__link[aria-current] { font-weight: 650; }
.dropdown__icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  background: var(--c-blue-50);
  color: var(--c-blue-700);
  flex-shrink: 0;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.dropdown__icon .icon { width: 1.125rem; height: 1.125rem; stroke-width: 1.75; }
.dropdown__link:hover .dropdown__icon, .dropdown__link[aria-current] .dropdown__icon { background: var(--c-navy); color: var(--c-gold); }
.dropdown__link--overview { font-weight: 650; color: var(--c-navy); }

.site-nav__cta { margin-top: var(--space-md); width: 100%; }
.site-nav__meta { margin-top: var(--space-md); font-size: var(--fs-sm); color: var(--c-muted); }

/* --------------------------------------------------------------------------
   10. Homepage hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(36rem, 100svh, 58rem);
  padding: calc(var(--header-h) + var(--space-xl)) 0 calc(var(--space-2xl) + var(--space-lg));
  overflow: hidden;
  background: var(--c-navy-900);
  color: var(--c-white);
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__media img { object-fit: cover; object-position: 65% center; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 26, 44, 0.55) 0%, rgba(8, 26, 44, 0.45) 40%, rgba(8, 26, 44, 0.92) 100%);
}
.hero__content { position: relative; width: 100%; }
.hero__inner { max-width: 44rem; }
.hero__title {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--c-white);
}
.hero__title em { font-style: normal; color: var(--c-gold); }
.hero__text {
  margin-top: var(--space-md);
  max-width: 36rem;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }
.hero__actions .btn { flex: 1 1 100%; }
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-md);
  margin-top: var(--space-lg);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.hero__points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__points .icon { width: 1.125rem; height: 1.125rem; color: var(--c-gold); }

/* Hero entrance — CSS only, transform/opacity, ≤ 700ms total */
@keyframes kl-rise {
  from { opacity: 0.001; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
.hero__inner > * { animation: kl-rise 520ms var(--ease-out) both; }
.hero__inner > :nth-child(2) { animation-delay: 60ms; }
.hero__inner > :nth-child(3) { animation-delay: 120ms; }
.hero__inner > :nth-child(4) { animation-delay: 160ms; }
.hero__inner > :nth-child(n+5) { animation-delay: 180ms; }

/* --------------------------------------------------------------------------
   11. Inner page banner + breadcrumb
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 19rem;
  padding: var(--space-2xl) 0 var(--space-xl);
  overflow: hidden;
  background: var(--c-navy);
  color: var(--c-white);
}
.page-banner__media, .page-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.page-banner__media img { object-fit: cover; }
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 26, 44, 0.94) 0%, rgba(16, 42, 67, 0.82) 50%, rgba(16, 42, 67, 0.55) 100%);
}
/* thin gold rule at the bottom edge */
.page-banner::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(32%, 22rem);
  height: 4px;
  background: var(--c-gold);
}
.page-banner__content { position: relative; width: 100%; }
.page-banner__title { max-width: 48rem; font-size: var(--fs-h1); color: var(--c-white); }
.page-banner__lead { max-width: 40rem; margin-top: var(--space-sm); font-size: var(--fs-lg); line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.page-banner--plain { min-height: 0; padding-top: var(--space-2xl); background: var(--c-navy) linear-gradient(120deg, var(--c-navy-950) 0%, var(--c-navy) 60%, var(--c-navy-700) 100%); }

.breadcrumb { margin-bottom: var(--space-2xs); font-size: var(--fs-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-muted); }
.breadcrumb li + li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--c-blue-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-navy); font-weight: 600; }
.page-banner .breadcrumb li { color: rgba(255, 255, 255, 0.7); }
.page-banner .breadcrumb a { color: rgba(255, 255, 255, 0.88); }
.page-banner .breadcrumb a:hover { color: var(--c-gold); }
.page-banner .breadcrumb [aria-current] { color: var(--c-gold); }

/* --------------------------------------------------------------------------
   12. Highlights (company highlights strip)
   -------------------------------------------------------------------------- */
.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--c-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-grey-100);
  overflow: hidden;
}
.highlights--overlap { position: relative; z-index: 2; margin-top: calc(var(--space-2xl) * -1); }
.highlight {
  position: relative;
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--c-white);
}
.highlight__title { font-size: var(--fs-h4); margin-bottom: 0.3rem; }
.highlight__text { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.55; }
.highlight:hover .icon-badge { background: var(--c-navy); color: var(--c-gold); }

/* --------------------------------------------------------------------------
   13. Feature grid ("Why choose") & feature blocks
   -------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.feature {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature::after {
  content: "";
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature:hover .icon-badge { background: var(--c-navy); color: var(--c-gold); }
.feature__title { margin-top: var(--space-md); font-size: var(--fs-h3); }
.feature__text { margin-top: var(--space-2xs); color: var(--c-muted); }
.section--alt .feature { border-color: transparent; }
/* Dark variant */
.feature--on-dark, .section--dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section--dark .feature__text { color: var(--c-on-dark-muted); }
.section--dark .feature:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }

/* Simple tick list */
.check-list { display: grid; gap: 0.7rem; margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; line-height: 1.55; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--c-gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.check-list--2col { grid-template-columns: 1fr; }
.section--dark .check-list li::before, .check-list--on-dark li::before { background-color: rgba(244, 185, 66, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4B942' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------------------
   14. Split: media + text
   -------------------------------------------------------------------------- */
.split { display: grid; gap: var(--space-xl); align-items: center; }
.split__media { position: relative; }
.split__media picture, .split__media > img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
/* decorative gold frame offset behind the photo */
.split__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 1.25rem;
  left: 1.25rem;
  right: -0.75rem;
  bottom: -0.75rem;
  border: 2px solid var(--c-gold);
  border-radius: var(--radius-lg);
}
.split__media--plain::before { display: none; }
.split__badge {
  position: absolute;
  z-index: 2;
  left: var(--space-sm);
  bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  max-width: calc(100% - 2rem);
  padding: 0.875rem 1.125rem;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.split__badge .icon { color: var(--c-gold); width: 1.5rem; height: 1.5rem; }
.split__content > .eyebrow + h2 { margin-top: 0; }
.split__content h2 { font-size: var(--fs-h2); }
.split__content p { margin-top: var(--space-sm); }
.split__content .lead { margin-top: var(--space-md); }
.split__content .actions { margin-top: var(--space-lg); }

/* --------------------------------------------------------------------------
   15. Service cards
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover, .service-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-grey-100); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0) 55%, rgba(16, 42, 67, 0.35) 100%);
}
.service-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.25rem var(--space-md) var(--space-md);
}
.service-card__icon {
  position: absolute;
  top: 0;
  left: var(--space-md);
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: var(--c-gold);
  color: var(--c-navy);
  box-shadow: 0 8px 20px -8px rgba(16, 42, 67, 0.45);
}
.service-card:hover .service-card__icon { background: var(--c-navy); color: var(--c-gold); }
.service-card__title { font-size: var(--fs-h3); }
.service-card__text { margin-top: var(--space-2xs); color: var(--c-muted); font-size: 0.9688rem; }
.service-card__list { margin-top: var(--space-sm); padding: 0; list-style: none; display: grid; gap: 0.35rem; font-size: var(--fs-sm); color: var(--c-charcoal); }
.service-card__list li { position: relative; padding-left: 1.125rem; }
.service-card__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 2px; background: var(--c-gold); }
.service-card__link { margin-top: auto; padding-top: var(--space-sm); align-self: flex-start; }
/* Whole card is clickable via the "Learn more" link */
.service-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__link:focus-visible { outline: none; }
.service-card:has(.service-card__link:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.service-card:hover .service-card__link .icon { transform: translateX(4px); }

/* Compact related-service card (no image) */
.mini-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius);
  color: var(--c-navy);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mini-card:hover { color: var(--c-navy); transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.mini-card:hover .icon-badge { background: var(--c-navy); color: var(--c-gold); }
.mini-card__arrow { margin-left: auto; color: var(--c-blue-700); transition: transform var(--dur) var(--ease); }
.mini-card:hover .mini-card__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   16. Gallery grid, filters
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  gap: var(--space-2xs);
  margin: 0 calc(var(--gutter) * -1) var(--space-lg);
  padding: 0.25rem var(--gutter) 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  /* intentional horizontal scroller on mobile: fade the right edge as a "more" affordance */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
}
.gallery-filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  min-height: 2.75rem;
  padding: 0.5rem 1.125rem;
  border: 1.5px solid var(--c-grey-200);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-navy);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--c-navy); }
.filter-btn[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }
.filter-btn[aria-pressed="true"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--c-gold);
  vertical-align: middle;
  transform: translateY(-1px);
}

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.gallery-item { position: relative; }
.gallery-item.is-entering { animation: kl-fade-in 360ms var(--ease-out) both; }
@keyframes kl-fade-in { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.gallery-item__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-grey-100);
  color: var(--c-white);
  text-decoration: none;
}
.gallery-item__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.gallery-item__link:hover img, .gallery-item__link:focus-visible img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: var(--space-md);
  background: linear-gradient(180deg, rgba(8, 26, 44, 0) 35%, rgba(8, 26, 44, 0.88) 100%);
  transition: background-color var(--dur) var(--ease);
}
.gallery-item__tag {
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--c-gold);
  color: var(--c-navy);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gallery-item__caption { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.gallery-item__zoom {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-navy);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-item__link:hover .gallery-item__zoom, .gallery-item__link:focus-visible .gallery-item__zoom { opacity: 1; transform: none; }
.gallery-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.gallery-note .icon { color: var(--c-blue-700); margin-top: 0.15em; width: 1.1rem; height: 1.1rem; }
.gallery-empty { padding: var(--space-xl) 0; text-align: center; color: var(--c-muted); }

/* --------------------------------------------------------------------------
   17. Process timeline (vertical mobile, horizontal desktop)
   -------------------------------------------------------------------------- */
.process { position: relative; display: grid; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process__step { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 var(--space-md); align-content: start; }
.process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.75rem - 1px);
  top: 3.75rem;
  bottom: calc(var(--space-lg) * -1 + 0.25rem);
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--c-grey-300) 0 6px, transparent 6px 12px);
}
.process__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-gold);
  color: var(--c-navy);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px var(--c-white);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.section--alt .process__num { box-shadow: 0 0 0 6px var(--c-grey); }
.process__step:hover .process__num { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-gold); }
.process__title { align-self: end; font-size: var(--fs-h3); padding-top: 0.35rem; }
.process__text { margin-top: 0.35rem; color: var(--c-muted); }

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-2xl);
  background: var(--c-navy) linear-gradient(115deg, var(--c-navy-950) 0%, var(--c-navy) 55%, var(--c-navy-700) 100%);
  color: var(--c-on-dark-muted);
}
/* roofline motif */
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4rem;
  top: 50%;
  width: 34rem;
  height: 34rem;
  transform: translateY(-50%);
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F4B942' stroke-width='6'%3E%3Cpath d='M10 100 100 25l90 75'/%3E%3Cpath d='M30 130 100 72l70 58'/%3E%3Cpath d='M50 160 100 119l50 41'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cta-band__inner { display: grid; gap: var(--space-lg); align-items: center; }
.cta-band__title { font-size: var(--fs-h2); color: var(--c-white); max-width: 40rem; }
.cta-band__text { margin-top: var(--space-sm); max-width: 40rem; font-size: var(--fs-lg); line-height: 1.6; color: var(--c-on-dark-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.cta-band__actions .btn { flex: 1 1 100%; }
/* Gold variant */
.cta-band--gold { background: var(--c-gold); color: var(--c-navy); }
.cta-band--gold::before { opacity: 0.18; filter: brightness(0); }
.cta-band--gold .cta-band__title, .cta-band--gold .cta-band__text { color: var(--c-navy); }
/* Contained (rounded card) variant */
.cta-band--card { border-radius: var(--radius-xl); padding-inline: var(--space-md); }

/* --------------------------------------------------------------------------
   19. Contact preview, info list, info card
   -------------------------------------------------------------------------- */
.contact-preview { display: grid; gap: var(--space-xl); align-items: start; }
.info-list { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.info-list__item { display: flex; gap: var(--space-sm); align-items: flex-start; }
.info-list__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--c-navy);
  color: var(--c-gold);
  flex-shrink: 0;
}
.info-list__icon .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.75; }
.info-list__label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.info-list__value { color: var(--c-navy); font-weight: 500; line-height: 1.55; }
.info-list__value a { color: inherit; text-decoration: none; }
.info-list__value a:hover { color: var(--c-blue-700); text-decoration: underline; }
.is-placeholder { color: var(--c-muted); font-style: italic; font-weight: 400; }

.info-card {
  padding: var(--space-lg) var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.info-card--dark { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-on-dark-muted); }
.info-card--dark h2, .info-card--dark h3 { color: var(--c-white); }
.info-card__title { font-size: var(--fs-h3); }
.info-card__text { margin-top: var(--space-2xs); color: var(--c-muted); }
.info-card--dark .info-card__text { color: var(--c-on-dark-muted); }
.info-card .actions { margin-top: var(--space-md); }
.info-card--dark .info-list__label { color: var(--c-on-dark-muted); }
.info-card--dark .info-list__value { color: var(--c-white); }
.info-card--dark .info-list__icon { background: rgba(255, 255, 255, 0.08); }
.info-card--dark .is-placeholder { color: var(--c-on-dark-muted); }

/* Map embed (click-to-load Google Maps iframe) */
.map-embed {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-grey-100);
}
@media (min-width: 48em) { .map-embed { aspect-ratio: 3 / 2; } }

/* --------------------------------------------------------------------------
   20. Company information card (registered details, SIC codes)
   -------------------------------------------------------------------------- */
.company-card {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.company-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--c-navy);
  color: var(--c-white);
}
.company-card__header .icon-badge { background: rgba(255, 255, 255, 0.08); color: var(--c-gold); }
.company-card__title { font-size: var(--fs-h4); color: var(--c-white); }
.company-card__subtitle { font-size: var(--fs-sm); color: var(--c-on-dark-muted); }
.company-card__list { margin: 0; padding: var(--space-2xs) var(--space-md) var(--space-md); }
.company-card__row { display: grid; gap: 0.25rem; padding: var(--space-sm) 0; border-bottom: 1px solid var(--c-grey-100); }
.company-card__row:last-child { border-bottom: 0; }
.company-card__row dt {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.company-card__row dd { margin: 0; color: var(--c-navy); font-weight: 500; }
.sic-list { display: grid; gap: 0.6rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.sic-list li { display: flex; gap: 0.75rem; align-items: baseline; }
.sic-code {
  flex-shrink: 0;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--c-gold-100);
  color: var(--c-navy);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   21. Values grid & statements (mission / vision)
   -------------------------------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--c-grey-200); border: 1px solid var(--c-grey-200); border-radius: var(--radius-lg); overflow: hidden; }
.value { position: relative; padding: var(--space-lg) var(--space-md); background: var(--c-white); transition: background-color var(--dur) var(--ease); }
.value:hover { background: var(--c-gold-50); }
.value__num { display: block; font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 800; color: var(--c-gold-700); letter-spacing: 0.08em; }
.value__title { margin-top: var(--space-2xs); font-size: var(--fs-h3); }
.value__text { margin-top: var(--space-2xs); color: var(--c-muted); font-size: 0.9688rem; }
.value .icon-badge { margin-bottom: var(--space-sm); }

.statement-grid { display: grid; gap: var(--space-md); }
.statement {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  box-shadow: var(--shadow-sm);
}
.statement--dark { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-on-dark-muted); }
.statement--dark .statement__title { color: var(--c-white); }
.statement__label { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-blue-700); }
.statement--dark .statement__label { color: var(--c-gold); }
.statement__title { margin-top: var(--space-xs); font-size: var(--fs-h3); }
.statement__text { margin-top: var(--space-xs); font-size: var(--fs-lg); line-height: 1.6; }

/* --------------------------------------------------------------------------
   22. Prose (legal pages, long-form content) & notices
   -------------------------------------------------------------------------- */
.prose { max-width: 46rem; font-size: var(--fs-base); line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.875rem); } /* anchor offset comes from html { scroll-padding-top } only */
.prose h3 { margin-top: 1.8em; font-size: var(--fs-h3); }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--c-gold-700); }
.prose ol li::marker { color: var(--c-blue-700); font-weight: 700; }
.prose a { color: var(--c-blue-700); text-decoration: underline; }
.prose a:hover { color: var(--c-navy); }
.prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--c-grey-200); }
.prose { overflow-wrap: break-word; }
.prose table { width: 100%; max-width: 100%; font-size: var(--fs-sm); display: block; overflow-x: auto; }
/* Preferred: wrap tables so they scroll inside their own box on small screens */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-grey-200);
  border-radius: var(--radius-sm);
}
.table-wrap table { display: table; width: 100%; min-width: 32rem; margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose th, .prose td { padding: 0.75rem; border-bottom: 1px solid var(--c-grey-200); text-align: left; vertical-align: top; }
.prose th { font-family: var(--font-heading); color: var(--c-navy); background: var(--c-grey); }
.prose .updated { font-size: var(--fs-sm); color: var(--c-muted); }

.notice {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--c-blue-100);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--radius);
  background: var(--c-blue-50);
  color: var(--c-charcoal);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.notice > .icon { margin-top: 0.15em; color: var(--c-blue-700); width: 1.25rem; height: 1.25rem; }
.notice__title { display: block; margin-bottom: 0.15rem; font-family: var(--font-heading); font-weight: 800; color: var(--c-navy); font-size: var(--fs-base); }
.notice p + p { margin-top: 0.5em; }
.notice--legal { border-color: #F2D9A0; border-left-color: var(--c-gold); background: var(--c-gold-50); }
.notice--legal > .icon { color: var(--c-gold-700); }
.prose .notice { margin-block: 1.5em; }

/* Legal page layout with sticky table of contents */
.legal-layout { display: grid; gap: var(--space-xl); }
.toc { padding: var(--space-md); border: 1px solid var(--c-grey-200); border-radius: var(--radius); background: var(--c-grey); font-size: var(--fs-sm); }
.toc__title { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: var(--space-2xs); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.6rem; padding: 0.45rem 0; color: var(--c-navy); text-decoration: none; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--c-gold-700); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--c-blue-700); }

/* --------------------------------------------------------------------------
   23. Forms & alerts
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-md); }
.form__grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
.field { display: grid; align-content: start; gap: 0.45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700; color: var(--c-navy); padding: 0; }
.field__req { color: var(--c-error); margin-left: 0.15em; }
.field__optional { font-family: var(--font-body); font-weight: 400; color: var(--c-muted); font-size: var(--fs-xs); margin-left: 0.25em; }
.field__hint { font-size: var(--fs-xs); color: var(--c-muted); }
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-grey-300);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: 1rem; /* ≥16px prevents iOS zoom */
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field__textarea { min-height: 9rem; resize: vertical; }
.field__select {
  padding-right: 2.75rem;
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat;
  cursor: pointer;
}
.field__input::placeholder, .field__textarea::placeholder { color: #75828F; }
.field__input:hover, .field__select:hover, .field__textarea:hover { border-color: var(--c-navy-600); }
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(36, 123, 160, 0.18);
}
/* Error state */
.field.is-invalid .field__input,
.field.is-invalid .field__select,
.field.is-invalid .field__textarea,
[aria-invalid="true"].field__input,
[aria-invalid="true"].field__select,
[aria-invalid="true"].field__textarea { border-color: var(--c-error); background-color: #FFFBFA; }
.field.is-invalid .field__input:focus,
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15); }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-error);
}
.field__error::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Radio / checkbox choices (pill style) */
.choice-group { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.choice { position: relative; display: inline-flex; }
.choice__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.875rem;
  padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  border: 1.5px solid var(--c-grey-300);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-charcoal);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.choice__label::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  border: 1.5px solid var(--c-grey-300);
  border-radius: 50%;
  background: var(--c-white);
  transition: border var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.choice__input[type="checkbox"] + .choice__label::before { border-radius: 4px; }
.choice__label:hover { border-color: var(--c-navy-600); }
.choice__input:checked + .choice__label { border-color: var(--c-navy); background: var(--c-blue-50); color: var(--c-navy); font-weight: 600; }
.choice__input:checked + .choice__label::before { border: 5px solid var(--c-navy); }
.choice__input[type="checkbox"]:checked + .choice__label::before { border: 0; background: var(--c-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4B942' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat; }
.choice__input:focus-visible + .choice__label { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.field.is-invalid .choice__label { border-color: var(--c-error); }

/* Consent checkbox (inline, text-heavy) */
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.55; }
.consent input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; flex-shrink: 0; accent-color: var(--c-navy); }

.form__footer { display: flex; flex-direction: column; gap: var(--space-sm); align-items: stretch; }
.form__note { font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.55; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2.5px solid var(--c-navy);
  border-right-color: transparent;
  border-radius: 50%;
  animation: kl-spin 700ms linear infinite;
}
@keyframes kl-spin { to { transform: rotate(360deg); } }

/* Alerts (form result, status) */
.alert {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  border: 1px solid;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.alert > .icon { margin-top: 0.1em; width: 1.25rem; height: 1.25rem; }
.alert__title { display: block; font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-base); }
.alert--success { background: var(--c-success-bg); border-color: #B5DEC8; color: #14532F; }
.alert--success .alert__title, .alert--success > .icon { color: var(--c-success); }
.alert--error { background: var(--c-error-bg); border-color: #F5C2BC; color: #7A1A12; }
.alert--error .alert__title, .alert--error > .icon { color: var(--c-error); }
.alert--info { background: var(--c-blue-50); border-color: var(--c-blue-100); color: var(--c-charcoal); }
.alert--info .alert__title, .alert--info > .icon { color: var(--c-blue-700); }

/* --------------------------------------------------------------------------
   24. Lightbox (markup created by main.js)
   -------------------------------------------------------------------------- */
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 4rem 0.75rem 1rem;
  background: rgba(6, 18, 31, 0.94);
  color: var(--c-white);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.lightbox.is-visible { opacity: 1; }
.lightbox__stage { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lightbox__figure { display: grid; justify-items: center; gap: var(--space-sm); max-width: 100%; max-height: 100%; margin: 0; }
.lightbox__img {
  max-width: min(100%, 1400px);
  max-height: calc(100svh - 10rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.04);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lightbox__img.is-loading { opacity: 0.2; transform: scale(0.985); }
.lightbox__caption { max-width: 48rem; text-align: center; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.86); line-height: 1.5; padding-inline: 0.5rem; }
.lightbox__counter { position: absolute; top: 1.15rem; left: 1rem; font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.8); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.lightbox__btn:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-navy); }
.lightbox__btn .icon { width: 1.375rem; height: 1.375rem; }
.lightbox__close { position: absolute; top: 0.6rem; right: 0.75rem; }
.lightbox__nav { display: flex; gap: var(--space-sm); justify-content: center; padding-top: var(--space-sm); }
.lightbox--single .lightbox__nav, .lightbox--single .lightbox__counter { display: none; }

/* --------------------------------------------------------------------------
   25. Back to top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-gold);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur), background-color var(--dur-fast) var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease); }
.back-to-top:hover { background: var(--c-gold); color: var(--c-navy); }
.back-to-top .icon { width: 1.25rem; height: 1.25rem; }

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--c-navy-900);
  color: var(--c-on-dark-muted);
  font-size: var(--fs-sm);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-gold) 0 22%, var(--c-blue) 22% 100%);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl) var(--space-lg);
  padding-block: var(--space-2xl) var(--space-xl);
}
.site-footer__logo { display: inline-block; }
.site-footer__logo img { height: 2.75rem; width: auto; }
.site-footer__intro { margin-top: var(--space-md); max-width: 24rem; line-height: 1.7; }
.site-footer__heading {
  margin-bottom: var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white);
}
.site-footer__heading::after { content: ""; display: block; width: 1.75rem; height: 2px; margin-top: 0.75rem; background: var(--c-gold); }
.footer-links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--c-on-dark-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: var(--c-gold); transform: translateX(3px); }
.footer-links a[aria-current] { color: var(--c-white); }
.site-footer .info-list { gap: var(--space-sm); }
.site-footer .info-list__icon { width: 2.25rem; height: 2.25rem; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.site-footer .info-list__icon .icon { width: 1.05rem; height: 1.05rem; }
.site-footer .info-list__label { color: rgba(255, 255, 255, 0.6); font-size: 0.6875rem; }
.site-footer .info-list__value { color: var(--c-white); font-weight: 400; font-size: var(--fs-sm); }
.site-footer .is-placeholder { color: var(--c-on-dark-muted); }

/* "Follow us" — only render when real profile URLs exist */
.social { margin-top: var(--space-lg); }
.social__title { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-white); margin-bottom: var(--space-xs); }
.social-links { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.social-links a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-white);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.social-links a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-navy); }
.social-links .icon { width: 1.1rem; height: 1.1rem; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-block: var(--space-md);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.72);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-md); margin: 0; padding: 0; list-style: none; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-legal a:hover { color: var(--c-gold); text-decoration: underline; }

/* --------------------------------------------------------------------------
   27. 404 / error page
   -------------------------------------------------------------------------- */
.error-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-2xl);
  text-align: center;
}
.error-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 46rem;
  height: 46rem;
  transform: translate(-50%, -30%);
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23102A43' stroke-width='5'%3E%3Cpath d='M10 100 100 25l90 75'/%3E%3Cpath d='M30 130 100 72l70 58'/%3E%3C/svg%3E") center / contain no-repeat;
}
.error-page__code {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 3rem + 12vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--c-navy);
}
.error-page__code span { color: var(--c-gold); }
.error-page__title { margin-top: var(--space-sm); font-size: var(--fs-h2); }
.error-page__text { max-width: 34rem; margin: var(--space-sm) auto 0; color: var(--c-muted); font-size: var(--fs-lg); }
.error-page .actions { justify-content: center; margin-top: var(--space-lg); }
.error-page__heading,
.error-page .eyebrow {
  justify-content: center;
  margin: var(--space-xl) 0 0;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue-700);
}
.error-page__heading + .error-page__links,
.error-page .eyebrow + .error-page__links { margin-top: var(--space-sm); }
.error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xs); margin: var(--space-xl) auto 0; padding: 0; list-style: none; max-width: 44rem; }
.error-page__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--c-grey-200);
  border-radius: var(--radius-pill);
  color: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.error-page__links a:hover { border-color: var(--c-navy); background: var(--c-grey); }

/* --------------------------------------------------------------------------
   28. Scroll reveal
   main.js adds .reveal-pending ONLY to [data-reveal] elements that start
   below the fold, so nothing is ever hidden without JavaScript and no
   above-the-fold content flashes.
   -------------------------------------------------------------------------- */
.reveal-pending {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-pending[data-reveal="fade"] { transform: none; }
/* left/right use a vertical offset on small screens; horizontal offsets start at 960px (responsive.css) */
.reveal-pending[data-reveal="left"],
.reveal-pending[data-reveal="right"] { transform: translate3d(0, 28px, 0); }
.reveal-pending[data-reveal="zoom"] { transform: scale(0.96); }
/* higher specificity than any [data-reveal=…] offset, including responsive.css overrides */
.reveal-pending.is-revealed,
.reveal-pending.is-revealed[data-reveal] { opacity: 1; transform: none; }
[data-reveal-delay="1"] { --reveal-delay: 80ms; }
[data-reveal-delay="2"] { --reveal-delay: 160ms; }
[data-reveal-delay="3"] { --reveal-delay: 240ms; }
[data-reveal-delay="4"] { --reveal-delay: 320ms; }
[data-reveal-delay="5"] { --reveal-delay: 400ms; }
