/* ============================================================
   The Pearl Compass, Landing Page Styles
   Palette: near-white base with a dark navy accent/dark-section
   colour. Variable names below (--gold*, --ivory, --ink-dark-bg)
   are historical from an earlier warm-toned palette; only the
   values changed, to keep this a contained, low-risk edit.
   ============================================================ */

@font-face {
  font-family: 'HV Muse';
  src: url('../assets/fonts/HVMuse-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #F7F1EC;
  --paper: #FFFFFF;
  --cream-dark: #E9DCD3;
  --ink: #2A211B;
  --ink-soft: #6B5D52;
  --ink-faint: #A69686;

  --gold-light: #D4B48C;
  --gold: #8B5A34;
  --gold-dark: #5C3A1F;
  --line: #E9DCD3;

  --navy: #274e72;
  --sea: #48697A;
  --sea-soft: #7C9CAA;

  --ink-dark-bg: #0A1526;
  --header-h: 124px;

  --font-serif: 'HV Muse', 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow-soft: 0 18px 50px -25px rgba(15, 25, 45, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--header-h); }
/* Regions link lands on the photo grid itself (skipping the heading) so
   the two large top photos are fully in view. */
#regionGrid { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}


img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.18; color: var(--navy); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 1em;
}
.eyebrow-light { color: var(--gold-light); }

.accent { color: var(--gold-dark); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--paper);
  color: var(--gold);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold); color: var(--paper); border-color: var(--gold); transform: translateY(-1px); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.45);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-small { padding: 11px 18px; font-size: 0.68rem; letter-spacing: 0.1em; }
.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
/* Transparent by default so it sits cleanly over the hero photo; picks up a
   solid, blurred background only once scrolled past the hero, where the
   page underneath is no longer a photo and needs a legible surface. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(247, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(15,25,45,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand-mark {
  height: 96px; width: auto; flex-shrink: 0;
  /* The mark's rose-gold gradient is soft by design and reads poorly at
     header scale; brighten/lift it over the dark hero photo, then darken
     and add contrast once the header's own background goes light. */
  filter: brightness(1.4) contrast(1.15) drop-shadow(0 1px 8px rgba(20,16,12,0.45));
  transition: filter 0.3s ease;
}
.site-header.scrolled .brand-mark { filter: brightness(0.6) contrast(1.35); }

/* Section links. White over the hero photo, navy once the header bar
   turns light; the link for the section in view gets an underline. */
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}
.main-nav a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  padding: 6px 0;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.is-current::after { transform: scaleX(1); }
.site-header.scrolled .main-nav a { color: var(--navy); text-shadow: none; }
.site-header.scrolled .main-nav a:hover { color: var(--gold-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.lang-switch { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  /* Near-white while the header sits transparently over the dark hero
     photo — dark navy here would be nearly invisible against it. Once
     scrolled onto the near-white header bar, it switches to navy. */
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.3s ease;
}
.lang-toggle svg { width: 19px; height: 19px; }
.lang-toggle:hover { color: #fff; border-color: #fff; }
.site-header.scrolled .lang-toggle { color: var(--gold); border-color: var(--line); }
.site-header.scrolled .lang-toggle:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.lang-switch.open .lang-toggle { background: var(--gold); color: #fff; border-color: var(--gold); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 84px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-btn {
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { background: var(--ivory); color: var(--ink); }
.lang-btn.active { background: var(--gold); color: #fff; }
.lang-btn.active:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    /* Black fade rising from the bottom edge, so the intro text and
       buttons read clearly over the photo. */
    linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 25%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(20,13,8,0.18) 0%, rgba(20,13,8,0.08) 35%, rgba(20,13,8,0.3) 100%);
}
.hero-compass {
  position: absolute;
  right: -14%;
  bottom: -22%;
  z-index: 1;
  width: min(60vw, 900px);
  min-width: 480px;
  height: auto;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: hero-compass-spin 120s linear infinite;
}
@keyframes hero-compass-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-content {
  /* No max-width override here on purpose: .hero-content shares the
     .container class, so leaving container's max-width in place keeps
     its left edge aligned with the header/logo above it. Individual
     children (hero-sub) constrain their own line length instead.
     width:100% matters here because .hero-content is a flex item (child
     of .hero) — flex items shrink-to-fit by default instead of filling
     the row the way a plain block-level .container does, which without
     this would center the shrunk content instead of aligning it left. */
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 80px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
}
.hero-text { flex: 1; min-width: 0; max-width: 640px; }
.hero-content h1 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 10px 30px rgba(0,0,0,0.5); }
.hero-content h1 .accent { color: #fff; }
.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.45);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-ctas .btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Desktop only: nudge the intro text and buttons down together so the
   subheader starts just below the sea horizon in the hero photo. A
   relative offset keeps the headline exactly where it is (margin would
   re-centre the whole block and lift the headline). */
@media (min-width: 981px) {
  .hero-sub, .hero-ctas { position: relative; top: 28px; }
  /* Lift the headline and team photo together by the same amount so
     their tops stay aligned. */
  .hero-content h1, .hero-photo { position: relative; top: -8px; }
}

/* Team photo card on the right of the hero text (where the video used
   to sit). */
.hero-photo {
  flex-shrink: 0;
  width: min(46vw, 520px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(5,10,20,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  /* Small offset so the photo top lines up with the headline's cap
     height rather than its line box. */
  margin-top: 6px;
}
.hero-photo img { display: block; width: 100%; height: auto; }

/* ============================================================
   GENERIC SECTIONS
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--cream-dark); }
#process { background: var(--paper); }
.section-dark {
  background: var(--cream-dark);
  color: var(--ink-soft);
}
.section-dark .eyebrow-light { color: var(--navy); }
.section-dark .on-dark { color: var(--navy); }
.on-dark { color: #fff; }

/* Centred video card above the "Before you commit" heading. */
.section-video {
  position: relative;
  width: min(100%, 860px);
  aspect-ratio: 16/9;
  /* Centred with left/transform rather than auto margins so JS can widen
     it past the container edges, up to the full viewport, on scroll. */
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 72px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream-dark);
  /* Very soft layered lift: a hairline contact shadow plus a wide,
     faint ambient one, so the video sits just above the page. */
  box-shadow:
    0 1px 3px rgba(15,25,45,0.07),
    0 12px 28px -12px rgba(15,25,45,0.15),
    0 40px 80px -36px rgba(15,25,45,0.24);
}
.section-video { cursor: pointer; }
/* Sound toggle in the bottom-right corner of the video. */
.video-sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10,20,35,0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.video-sound svg { width: 20px; height: 20px; }
.video-sound:hover { background: var(--navy); border-color: var(--navy); transform: scale(1.06); }
.video-sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; background: var(--navy); }
.video-sound[aria-pressed="false"] .icon-on,
.video-sound[aria-pressed="true"] .icon-off { display: none; }
.section-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-intro {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* Reveal animation, progressive enhancement only: content is visible by
   default so it never depends on JS/IntersectionObserver to be seen. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   RISK GRID
   ============================================================ */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 48px;
}
.risk-item {
  background: var(--paper);
  padding: 40px 34px;
}
.risk-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.risk-item h3 { margin-bottom: 0.4em; }
.risk-item p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

.risk-closing {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}
.region-grid + .risk-closing { margin-top: 48px; }

/* ============================================================
   PROCESS
   ============================================================ */
/* Zigzag timeline: a centred rail with steps alternating left/right of it.
   Three grid columns — left content, a narrow centre gutter for the rail,
   right content — with each .process-item explicitly placed in column 1
   or 3 (see process-item-left/-right) and its row number pinned via an
   inline style so items stack in order regardless of which side they're on. */
.process-list {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  column-gap: 28px;
  row-gap: 24px;
}
/* Each step is a rounded card. Inactive cards sit back (faded, flat);
   the active one lifts forward — see .is-active below. */
.process-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 0 0 rgba(15,25,45,0);
  opacity: 0.4;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.45s ease;
}
.process-item-left {
  grid-column: 1;
  flex-direction: row-reverse;
  text-align: right;
}
.process-item-right {
  grid-column: 3;
  text-align: left;
}
.process-num {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--navy);
  flex-shrink: 0;
  display: inline-block;
  transition: color 0.35s ease, transform 0.35s ease, text-shadow 0.35s ease;
}
.process-item h3 { margin-bottom: 0.35em; color: var(--navy); transition: color 0.35s ease, font-size 0.35s ease; }
.process-item p { color: var(--ink-faint); margin: 0; transition: color 0.35s ease; }

/* Highlights whichever step the sticky rail icon currently sits level
   with (toggled from JS). Inactive steps fade out almost entirely via
   opacity on the whole item — a strong, unmistakable signal — on top of
   the active step's own number/title getting richer color and weight. */
.process-item.is-active {
  opacity: 1;
  background: var(--paper);
  border-color: var(--gold-light);
  box-shadow: 0 22px 48px -22px rgba(92,58,31,0.45);
}
/* The pop: specificity beats .js .reveal.in-view, which otherwise pins
   transform back to translateY(0) once the step has scrolled into view. */
.process-item.is-active,
.js .process-item.reveal.in-view.is-active {
  transform: translateY(-6px) scale(1.03);
}
.js .process-item.reveal {
  transition: opacity 0.7s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.45s ease;
}
@media (prefers-reduced-motion: reduce) {
  .process-item.is-active,
  .js .process-item.reveal.in-view.is-active { transform: none; }
}
.process-item.is-active .process-num {
  color: var(--navy);
  transform: scale(1.25);
  text-shadow: 0 0 18px rgba(39,78,114,0.3);
}
.process-item.is-active h3 { color: var(--navy); font-size: calc(clamp(1.2rem, 2vw, 1.5rem) + 1px); }
.process-item.is-active p { color: var(--ink-soft); }

/* Scroll-driven progress rail: runs centred between the two columns.
   Grey track is always visible; gold fill grows as the section scrolls
   past. Position/height of .process-line itself are set from JS so it
   lines up exactly with the first/last number regardless of font metrics.
   The brand-mark icon uses position:sticky (pinned at the viewport's
   vertical centre) so it reads as holding still while the page scrolls
   and the fill grows up to meet it, rather than the icon travelling. */
.process-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--line);
  z-index: 0;
}
.process-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--gold);
}
.process-line-icon-wrap {
  position: sticky;
  top: 50vh;
  height: 0;
}
.process-line-icon {
  position: absolute;
  left: 50%;
  top: 0;
  /* .process-line-icon's containing block is .process-line-icon-wrap,
     which is only 2px wide — without this, the global img{max-width:100%}
     rule resolves against that and squashes the icon to a sliver instead
     of a circle. */
  max-width: none;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(15,25,45,0.28);
  padding: 9px;
  object-fit: contain;
  animation: process-icon-spin 15s linear infinite;
}
@keyframes process-icon-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   ABOUT
   ============================================================ */
/* Brand seal half-tucked into the top-left corner, turning slowly like
   the compass in the hero. */
#about { overflow: hidden; }
#about > .container { position: relative; z-index: 1; }
.team-emblem {
  position: absolute;
  top: -50px;
  left: -230px;
  width: 560px;
  height: 560px;
  opacity: 0.55;
  pointer-events: none;
  animation: hero-compass-spin 130s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .team-emblem { animation: none; }
}

/* Intro copy, left-aligned and kept to the same width as the profile
   cards below so their left edges line up. */
.about-grid {
  max-width: 980px;
  margin: 0 auto;
}
.about-copy { max-width: 760px; }
/* Desktop: nudge the copy right so it clears the seal. The seal is
   pinned to the viewport edge while this column is centred, so on
   narrower screens the copy needs a larger shift: keep its left edge at
   least ~360px from the viewport edge (seal reaches ~330px). */
@media (min-width: 981px) {
  .about-copy { margin-left: max(120px, calc(328px - (100vw - 980px) / 2)); }
}
.about-copy p { color: var(--ink-soft); }
.about-copy p:empty { display: none; margin: 0; }
.about-copy blockquote {
  margin: 2em 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.about-copy blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0;
}

/* ---------- Second team member row: short teaser + expandable bio ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 980px;
  margin: 56px auto 0;
}
/* Profile cards: same rounded-card language as the How We Work steps. */
.team-member {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 34px;
  box-shadow: 0 22px 48px -30px rgba(92,58,31,0.35);
}
.team-member-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.team-member-photo {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--gold-light), 0 8px 20px -8px rgba(92,58,31,0.45);
}
.team-member h3 { margin-bottom: 0.25em; }
.team-member-role {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.team-member p { color: var(--ink-soft); }
.team-member-more { margin-top: 0.6em; }
.team-member-more p { margin-top: 1em; }
.team-member-more summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  list-style: none;
}
.team-member-more summary::-webkit-details-marker { display: none; }
.team-member-more summary::after {
  content: "+";
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.4s ease;
}
/* The "+" spins half a turn and becomes "−" when open. */
.team-member-more[open] summary::after { content: "\2212"; transform: rotate(180deg); }

/* ============================================================
   REGIONS
   ============================================================ */
.region-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}
.region-card:nth-child(1), .region-card:nth-child(2) { grid-column: span 3; }
.region-card:nth-child(3), .region-card:nth-child(4), .region-card:nth-child(5) { grid-column: span 2; }
.region-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
}
.region-card:nth-child(1), .region-card:nth-child(2) { aspect-ratio: 16/10; }
.region-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.region-card:hover img { transform: scale(1.06); }
.region-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(20,13,8,0) 0%, rgba(20,13,8,0.85) 75%);
  color: #fff;
}
.region-copy h3 { color: #fff; margin-bottom: 0.3em; font-size: 1.3rem; }
.region-copy p { font-size: 0.92rem; color: rgba(255,255,255,0.85); margin: 0; max-width: 34em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: max-content;
  animation: testimonial-scroll 96s linear infinite;
}
.testimonial-carousel:hover .testimonial-track { animation-play-state: paused; }
@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; }
  html { scroll-behavior: auto; }
}
.testimonial-card {
  flex: 0 0 auto;
  width: min(420px, 82vw);
  min-height: 260px;
  margin: 0;
  padding: 44px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.testimonial-card blockquote {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.t-name { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--gold-dark); text-transform: uppercase; }
.t-loc { font-size: 0.8rem; color: var(--ink-faint); }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-section { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.contact-copy { position: sticky; top: 120px; }
.slogan { font-style: italic; }
.contact-alt { margin-top: 1.6em; font-size: 0.95rem; }
.contact-alt a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-light); }

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 44px;
  border-radius: var(--radius);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 4px 0 26px;
  cursor: pointer;
}
.consent input { margin-top: 3px; }
.consent + .consent { margin-top: -14px; }

.form-success { text-align: center; padding: 30px 10px; }
.form-success h3 { color: var(--gold-dark); }

.form-error {
  color: #9B2C2C;
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 14px;
}
.contact-form button[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Two-step form ---------- */
.form-progress { margin-bottom: 28px; }
.form-progress-bar {
  display: block;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.form-progress-fill {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--navy);
  transition: width 0.45s ease;
}
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step:not([hidden]) { animation: form-step-in 0.4s ease; }
@keyframes form-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.form-step-head { display: block; width: 100%; padding: 0; margin-bottom: 24px; }
.form-step-count {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-step-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
}
#formNext {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
#formNext:hover { background: #1d3c59; border-color: #1d3c59; color: #fff; }
.form-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .form-step:not([hidden]) { animation: none; }
  .form-progress-fill { transition: none; }
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 14px 0 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 70px 0 0;
}
/* Faint brand emblem tucked into the bottom-right corner, half cropped
   by the footer edge. Purely decorative. */
.footer-emblem {
  position: absolute;
  right: -90px;
  bottom: -190px;
  width: 300px;
  height: auto;
  opacity: 0.09;
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  position: relative;
}
/* Divider stops short of the right edge so it doesn't run into the
   emblem in the bottom-right corner. */
.footer-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 200px;
  bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-mark { height: 110px; width: auto; margin: 10px 0 26px; }
.footer-brand p { font-size: 0.9rem; max-width: 26em; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; margin-bottom: 10px; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--gold-light); }
.social-icons { display: flex; gap: 14px; }
.social-icons a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.78); }
.social-icons svg { width: 16px; height: 16px; }
.social-icons a:hover { border-color: var(--gold-light); color: var(--gold-light); }

.footer-bottom { padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  /* Text isn't shifted clear of the seal here, so it sits behind the
     copy; fade it right back. */
  .team-emblem { opacity: 0.2; }

  .hero-content { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-text { max-width: none; }
  /* Stacked layout: photo above the headline. */
  .hero-photo { order: -1; width: 100%; margin-top: 0; }

  /* No room for section links next to logo + CTA; hide them. */
  .main-nav { display: none; }

  /* Zigzag timeline needs real width either side of the rail; below this,
     collapse back to a single column with the rail running down the left. */
  .process-list {
    grid-template-columns: 1fr;
    padding-left: 56px;
  }
  .process-item-left, .process-item-right {
    grid-column: 1;
    flex-direction: row;
    text-align: left;
  }
  .process-line { left: 20px; transform: none; }

  .risk-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .region-card:nth-child(1), .region-card:nth-child(2),
  .region-card:nth-child(3), .region-card:nth-child(4), .region-card:nth-child(5) { grid-column: span 1; }
  .testimonial-card { width: min(360px, 82vw); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-copy { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }

  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .team-emblem { width: 260px; height: 260px; top: -25px; left: -110px; }
  .footer-inner::after { right: 140px; }
  .footer-emblem { width: 220px; right: -70px; bottom: -140px; }
  .team-member { padding: 26px 22px; }
  .team-member-photo { width: 76px; height: 76px; }
  .container { padding: 0 20px; }
  :root { --header-h: 100px; }
  .brand-mark { height: 60px; }
  .header-actions { gap: 6px; }
  .btn-small { padding: 8px 10px; font-size: 0.56rem; letter-spacing: 0.04em; }
  .lang-toggle { width: 34px; height: 34px; }
  .lang-toggle svg { width: 17px; height: 17px; }
  .lang-btn { padding: 9px 12px; font-size: 0.7rem; }
  .hero-content { padding-top: 130px; padding-bottom: 130px; }
  .field-row { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
  .risk-item { padding: 32px 24px; }
}
