/* ==========================================================================
   St. Clair Advisory Group — shared styles
   Theme: set <html data-theme="green"> (default) or data-theme="blue".
   Only the tokens below change between themes; layout is identical.
   Fonts: DM Sans (headings) + Poppins (body). Confirm against Figma styles.
   ========================================================================== */

:root,
[data-theme="green"] {
  --brand-950: #041c0e;          /* footer base */
  --brand-900: #06301a;          /* dark bands, overlays */
  --brand-800: #0b3d21;          /* icon tiles, active card */
  --brand-600: #13843f;
  --accent-a: #139b45;           /* CTA gradient start */
  --accent-b: #a6d13b;           /* CTA gradient end (lime) */
  --accent-text: #9fd13a;        /* breadcrumb current, highlights on dark */
  --accent-ink: #13843f;         /* highlights on light */
  --tint: #f3f7f1;               /* light section / card background */
  --tint-edge: #e9f1d9;          /* soft gradient edge on cards */
  --overlay: linear-gradient(90deg, rgba(6,48,26,.92) 0%, rgba(6,48,26,.72) 45%, rgba(6,48,26,.25) 100%);
}

[data-theme="blue"] {
  --brand-950: #06142d;
  --brand-900: #0a2150;
  --brand-800: #0d2d6b;
  --brand-600: #1856b8;
  --accent-a: #1856c9;
  --accent-b: #4fb0f2;
  --accent-text: #7cc4ff;
  --accent-ink: #1856b8;
  --tint: #f2f6fb;
  --tint-edge: #e1ecf8;
  --overlay: linear-gradient(90deg, rgba(10,33,80,.92) 0%, rgba(10,33,80,.72) 45%, rgba(10,33,80,.25) 100%);
}

:root {
  --ink: #101a14;
  --ink-soft: #3c4a42;
  --muted: #66736b;
  --line: #e6ebe7;
  --white: #fff;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 0 rgba(16,26,20,.04), 0 12px 32px -18px rgba(16,26,20,.25);
  --container: 1180px;
  --font-head: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.center { text-align: center; }
.measure { max-width: 64ch; }
.measure-center { max-width: 760px; margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--accent-b); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Section marker (the small double-arrow + label from Figma) */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 22px; height: 12px; flex: none;
  background: linear-gradient(90deg, var(--accent-a) 0 50%, var(--brand-600) 50% 100%);
  clip-path: polygon(0 0, 50% 50%, 0 100%, 50% 100%, 100% 50%, 50% 0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 22px; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  color: var(--white); font-weight: 600; font-size: .9rem; text-decoration: none;
  border: 0; cursor: pointer; font-family: var(--font-body);
  transition: filter .2s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.28);
}
.btn__icon svg { width: 14px; height: 14px; }
.btn--plain { padding: 12px 24px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: 26px clamp(20px, 3.4vw, 48px) 0;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: 168px; }
.nav-pill {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 6px 10px;
  background: var(--white); border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.35);
}
.nav-pill > li { position: relative; }
.nav-pill a, .nav-pill button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 18px; font-size: .88rem; font-weight: 500; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); border-radius: var(--radius-pill);
}
.nav-pill a:hover, .nav-pill button:hover,
.nav-pill a[aria-current="page"] { background: var(--tint); }
.nav-pill button[aria-current="page"] { background: var(--tint); }
.nav-pill svg { width: 10px; height: 10px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: var(--white); border-radius: var(--radius-md); padding: 8px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); list-style: none; margin: 0;
  display: none;
}
.dropdown a { display: block; border-radius: 10px; padding: 10px 14px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { display: block; }

.header-actions { display: flex; align-items: center; gap: 18px; color: var(--white); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; color: var(--white);
  text-decoration: none; font-size: .88rem; font-weight: 500;
}
.header-phone svg, .header-login svg { width: 18px; height: 18px; }
.header-login {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-left: 1px solid rgba(255,255,255,.3); padding-left: 16px; width: auto;
  color: var(--white); text-decoration: none; gap: 6px; grid-auto-flow: column; font-size: .8rem;
}
.header-cta { padding: 12px 24px; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header-phone span, .header-login span { display: none; }
}
@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .site-nav {
    position: fixed; inset: 0; background: var(--brand-900); padding: 100px 24px 32px;
    display: none; overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .nav-pill { flex-direction: column; background: transparent; box-shadow: none; padding: 0; }
  .nav-pill a, .nav-pill button { color: var(--white); font-size: 1.15rem; padding: 14px 8px; width: 100%; }
  .nav-pill a:hover, .nav-pill button:hover, .nav-pill a[aria-current="page"], .nav-pill button[aria-current="page"] { background: rgba(255,255,255,.08); }
  .dropdown { position: static; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .header-actions .header-cta, .header-phone { display: none; }
  .menu-toggle { position: relative; z-index: 30; }
  .brand { position: relative; z-index: 30; }
  .brand img { width: 138px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  margin: 14px clamp(12px, 1.6vw, 24px) 0;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(360px, 42vw, 520px);
  display: flex; align-items: flex-end;
  background: var(--brand-900);
}
.page-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--overlay); z-index: -1; }
.page-hero__content { padding: 140px clamp(24px, 6vw, 96px) clamp(48px, 7vw, 96px); color: var(--white); }
.page-hero h1 { color: var(--white); max-width: 16ch; margin-bottom: .25em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; opacity: .8; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--accent-text); }

/* ---------- Home hero ---------- */
.home-hero {
  margin: 14px clamp(12px, 1.6vw, 24px) 0; border-radius: var(--radius-xl);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(620px, 58vw, 760px); display: flex; align-items: center;
}
.home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: var(--overlay); z-index: -1; }
.home-hero__grid {
  width: 100%; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: end;
  padding: 140px clamp(24px, 6vw, 96px) 72px;
}
.home-hero h1 { color: var(--white); max-width: 13ch; }
.home-hero p { color: rgba(255,255,255,.88); max-width: 46ch; margin-bottom: 28px; }
.glass-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: end; }
.glass-card {
  padding: 22px; border-radius: var(--radius-lg); color: var(--white); text-decoration: none;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.glass-card svg { width: 34px; height: 34px; margin-bottom: 18px; }
.glass-card h3 { color: var(--white); font-size: 1rem; margin-bottom: .35em; }
.glass-card p { font-size: .78rem; line-height: 1.5; margin: 0; color: rgba(255,255,255,.82); }
@media (max-width: 900px) {
  .home-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .glass-cards { grid-template-columns: 1fr; } }

/* ---------- Feature cards (icon tile + faint number) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  position: relative; padding: 30px 30px 34px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  overflow: hidden;
}
.feature-card::after {
  /* corner triangle motif from the logo */
  content: ""; position: absolute; right: 0; bottom: 0; width: 64px; height: 64px;
  background: linear-gradient(135deg, transparent 50%, var(--tint-edge) 50%);
  opacity: .9;
}
.feature-card__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.icon-tile {
  width: 60px; height: 60px; border-radius: 10px 10px 10px 0; flex: none;
  display: grid; place-items: center; background: var(--brand-800); color: var(--accent-b);
}
.icon-tile svg { width: 30px; height: 30px; }
.feature-card__num {
  font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px #dfe5e1;
}
.feature-card h3 { margin-bottom: .45em; }
.feature-card p { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.read-more {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem;
  color: var(--ink); text-decoration: none;
}
.read-more span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tint);
}
.read-more svg { width: 11px; height: 11px; }
@media (max-width: 900px) { .feature-grid, .feature-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Split (image pair + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.image-pair { position: relative; padding: 0 12% 12% 0; }
.image-pair__main { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.image-pair__inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg); border: 8px solid var(--white); box-shadow: var(--shadow-card);
}
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 18px; }
.check-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.check-list svg { width: 36px; height: 36px; color: var(--brand-600); }
.check-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 2px; }
.check-list p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Dark band (mission / take control) ---------- */
.band {
  margin-inline: clamp(12px, 1.6vw, 24px); border-radius: var(--radius-xl);
  background: var(--brand-900); color: rgba(255,255,255,.86); overflow: hidden; position: relative;
}
.band h2, .band h3 { color: var(--white); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.band__media { position: relative; height: 100%; min-height: 420px; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 40%, var(--brand-900) 100%);
}
.band__body { padding: clamp(40px, 6vw, 88px); }
.band__body p { max-width: 52ch; }
.band--light { background: var(--tint); color: var(--ink-soft); }
.band--light h2, .band--light h3 { color: var(--ink); }
.badge-years {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--accent-b); color: var(--brand-900); border: 6px solid var(--white);
  font-family: var(--font-head); line-height: 1.05;
}
.badge-years strong { font-size: 1.9rem; display: block; }
.badge-years span { font-size: .72rem; font-weight: 600; }
@media (max-width: 900px) {
  .band__grid { grid-template-columns: 1fr; }
  .band__media { min-height: 300px; }
  .band__media::after { background: linear-gradient(180deg, transparent 50%, var(--brand-900) 100%); }
}

/* Mission split inside light band */
.mission { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 96px); }
.mission h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mission__media { position: relative; }
.mission__media img { border-radius: var(--radius-xl); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; } }

.trusted { padding: 0 clamp(24px, 6vw, 96px) clamp(48px, 6vw, 72px); text-align: center; }
.trusted h3 { font-size: 1rem; margin-bottom: 26px; }
.trusted__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 36px;
}
.logo-slot {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #8b958f;
  padding: 10px 14px; border: 1px dashed #c9d1cc; border-radius: 10px;
}

/* ---------- Image service cards ---------- */
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.photo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  color: var(--white); text-decoration: none; display: flex; align-items: flex-end;
}
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,20,10,.85)); z-index: 1; }
.photo-card__body { position: relative; z-index: 2; padding: 24px; width: 100%; }
.photo-card h3 { color: var(--white); margin-bottom: 14px; max-width: 14ch; }
.photo-card .btn { padding: 5px 5px 5px 16px; font-size: .78rem; }
.photo-card .btn__icon { width: 28px; height: 28px; background: var(--brand-900); }
.photo-card:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .photo-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .photo-card img { transition: none; } }

/* ---------- Booking list ---------- */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.booking__intro { position: sticky; top: 40px; }
.booking-list { display: grid; gap: 18px; }
.booking-item {
  display: grid; grid-template-columns: 132px 1fr auto; gap: 20px; align-items: center;
  padding: 12px 24px 12px 12px; border-radius: var(--radius-md); border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--white) 45%, var(--tint-edge));
}
.booking-item img { width: 132px; height: 112px; object-fit: cover; border-radius: 10px; }
.booking-item h3 { font-size: 1.1rem; margin: 0; }
.booking-item .btn { padding: 5px 5px 5px 16px; font-size: .78rem; }
.booking-item .btn__icon { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .booking { grid-template-columns: 1fr; }
  .booking__intro { position: static; }
}
@media (max-width: 560px) {
  .booking-item { grid-template-columns: 96px 1fr; }
  .booking-item img { width: 96px; height: 88px; }
  .booking-item .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.team-card { text-align: left; }
.team-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg);
  background: var(--tint); margin-bottom: 14px;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card p { font-size: .85rem; color: var(--muted); margin: 0; }
.placeholder { color: #b0621a; font-style: italic; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Empowering (cards + tabs) ---------- */
.empower { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 22px; margin-top: 44px; }
.empower-card img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 18px; }
.empower-card p { font-size: .88rem; color: var(--muted); }
.tabs-panel { background: var(--brand-900); color: rgba(255,255,255,.86); border-radius: var(--radius-lg); padding: 28px; }
.tabs-panel h3 { color: var(--white); }
.tablist { display: inline-flex; background: var(--white); border-radius: var(--radius-pill); padding: 5px; margin-bottom: 26px; }
.tablist button {
  border: 0; background: none; padding: 9px 20px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: .85rem; cursor: pointer; color: var(--ink);
}
.tablist button[aria-selected="true"] { background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); color: var(--white); }
.tick-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: .88rem; }
.tick-list li { display: flex; gap: 10px; align-items: center; }
.tick-list li::before {
  content: "✓"; width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--accent-b); color: var(--brand-900); font-size: .7rem; font-weight: 700;
}
@media (max-width: 1000px) { .empower { grid-template-columns: 1fr 1fr; } .tabs-panel { grid-column: 1 / -1; } }
@media (max-width: 600px) { .empower { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 112px);
  background: radial-gradient(120% 80% at 50% 100%, var(--brand-900), var(--brand-950));
  color: rgba(255,255,255,.82); font-size: .9rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 72px 0 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top img { width: 168px; }
.socials { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white);
}
.socials svg { width: 17px; height: 17px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.2fr; gap: 36px; padding: 48px 0 56px; }
.footer-grid h2 { color: var(--white); font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-chip { display: inline-block; background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 6px; margin-top: 10px; }
.footer-map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; text-align: center; font-size: .82rem; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Review-only theme switch (REMOVE BEFORE LAUNCH) ---------- */
.theme-switch {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: flex; gap: 6px; padding: 6px; border-radius: var(--radius-pill);
  background: var(--white); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); font-size: .78rem;
}
.theme-switch button { border: 0; border-radius: var(--radius-pill); padding: 8px 14px; cursor: pointer; font-family: var(--font-body); background: #eef1ef; }
.theme-switch button[aria-pressed="true"] { color: var(--white); background: var(--brand-800); }

/* ==========================================================================
   Inner-page components
   ========================================================================== */

/* Intro heading (centered statement under hero) */
.statement { font-size: clamp(1.5rem, 2.5vw, 2.1rem); max-width: 30ch; margin-inline: auto; text-align: center; }
.statement em { font-style: normal; color: var(--accent-ink); }

/* Service detail */
.detail-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.detail-head h2 { margin: 0; }
.detail-head p { margin: 0; font-size: 1.05rem; }
.detail-hero-img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: var(--radius-xl); }
.detail-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 80px); margin-top: 64px; align-items: start; }
.prose h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); font-size: 1rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--accent-ink); }
.sidebar { display: grid; gap: 22px; position: sticky; top: 32px; }
.side-card { background: var(--tint); border-radius: var(--radius-lg); padding: 30px; }
.side-card h2 { font-size: 1.35rem; padding-bottom: 12px; margin-bottom: 18px; position: relative; }
.side-card h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--accent-b); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-links a {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.side-links a:hover { color: var(--accent-ink); }
.side-links svg { width: 14px; height: 14px; }
.side-card address { font-style: normal; color: var(--ink-soft); display: grid; gap: 12px; }
.side-card address a { text-decoration: none; }
@media (max-width: 900px) {
  .detail-head, .detail-body { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* Clients cards (numbered — the three are genuinely a sequence of client steps) */
.client-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.client-card {
  position: relative; display: block; padding: 34px 30px 40px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-card);
  text-decoration: none; overflow: hidden;
}
.client-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 64px; height: 64px; background: linear-gradient(135deg, transparent 50%, var(--tint-edge) 50%); }
.client-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.client-card__top svg { width: 58px; height: 58px; color: var(--brand-800); }
.client-card__num { font-family: var(--font-head); font-weight: 700; font-size: 4.4rem; line-height: .9; color: #eef1ef; }
.client-card:first-child .client-card__num, .client-card:hover .client-card__num { color: var(--brand-800); }
.client-card h2 { font-size: 1.5rem; }
.client-card p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .client-cards { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: var(--tint); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: .92rem; color: var(--ink); font-weight: 500; margin-bottom: 8px; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); font: inherit; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-a); outline-offset: 1px; border-color: transparent; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.choice input { width: 18px; height: 18px; accent-color: var(--accent-a); }
.choice-row { display: flex; gap: 24px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  position: relative; text-align: center; padding: 40px 28px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--white); overflow: hidden;
}
.info-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; background: linear-gradient(135deg, transparent 50%, var(--tint-edge) 50%); }
.info-card svg { width: 42px; height: 42px; color: var(--brand-800); margin: 0 auto 18px; }
.info-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.info-card p, .info-card a { margin: 0; color: var(--muted); text-decoration: none; }
.info-card--dark { background: var(--brand-900); border-color: var(--brand-900); }
.info-card--dark svg, .info-card--dark h2 { color: var(--white); }
.info-card--dark p { color: rgba(255,255,255,.85); }
.info-card--dark::after { background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.08) 50%); }
.contact-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hours strong { color: var(--ink); }
@media (max-width: 900px) { .info-cards, .contact-split { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { display: grid; gap: 16px; max-width: 900px; margin: 48px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.faq details[open] { background: #fafbfa; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 64px 24px 28px; position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 28px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--accent-ink); }
.faq__answer { padding: 0 28px 26px; color: var(--muted); font-size: .95rem; }
.faq__answer strong { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Privacy data blocks */
.data-block {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 22px; margin: 10px 0 18px;
  background: linear-gradient(90deg, var(--white) 55%, var(--tint-edge)); max-width: 560px;
}
.data-block strong { display: block; color: var(--ink); font-weight: 500; }
.data-block span { font-size: .88rem; color: var(--muted); }

/* Site map */
.sitemap { display: grid; gap: 28px; max-width: 900px; margin: 0 auto; }
.sitemap-group h2 {
  display: flex; align-items: center; gap: 16px; font-size: 1.25rem; margin: 0 0 12px;
  padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--white) 55%, var(--tint-edge));
}
.sitemap-group h2 img { width: 40px; height: 40px; object-fit: contain; background: var(--white); border-radius: 8px; padding: 4px; }
.sitemap-group ul { list-style: none; padding: 0 0 0 16px; margin: 0; display: grid; gap: 10px; }
.sitemap-group a { color: var(--muted); text-decoration: none; }
.sitemap-group a:hover { color: var(--accent-ink); text-decoration: underline; }

/* Header login on mobile */
@media (max-width: 920px) { .header-login { border-left: 0; padding-left: 0; } }

/* ---------- Grouped services dropdown ---------- */
.dropdown--mega { min-width: 640px; display: none; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; padding: 14px; }
.has-dropdown:hover .dropdown--mega, .has-dropdown:focus-within .dropdown--mega, .has-dropdown.is-open .dropdown--mega { display: grid; }
.dropdown__all { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 6px; }
.dropdown__all a { font-weight: 600; }
.dropdown__label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 14px; }
.dropdown__group ul { list-style: none; margin: 0; padding: 0; }
.dropdown__group a { font-size: .84rem; padding: 8px 14px; }
@media (max-width: 920px) {
  .dropdown--mega { min-width: 0; grid-template-columns: 1fr; padding: 0 0 0 16px; }
  .has-dropdown:hover .dropdown--mega { display: none; }
  .has-dropdown.is-open .dropdown--mega { display: block; }
  .dropdown__label { color: rgba(255,255,255,.6); padding-left: 8px; }
  .dropdown__all { border-color: rgba(255,255,255,.15); }
}

/* ---------- Inline FAQ inside content ---------- */
.faq--inline { margin: 20px 0 0; max-width: none; }
.faq--inline summary { font-size: 1rem; padding: 18px 56px 18px 22px; }
.faq--inline .faq__answer { padding: 0 22px 20px; }

/* ---------- Services index grid ---------- */
.service-group { margin-top: 64px; }
.service-group > h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; background: var(--white); box-shadow: var(--shadow-card); }
.blog-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.blog-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__tag { font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-ink); }
.blog-card h3 { font-size: 1.15rem; margin: 0; }
.blog-card p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.article { max-width: 780px; margin-inline: auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; color: var(--muted); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-meta .placeholder { font-style: italic; }
.answer-box {
  background: var(--tint); border-left: 4px solid var(--accent-a); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px; margin: 0 0 32px;
}
.answer-box strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 6px; font-size: 1.05rem; }
.answer-box p { margin: 0; color: var(--ink-soft); }
.takeaways { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 26px; margin: 32px 0; }
.takeaways h2 { font-size: 1.15rem; margin: 0 0 10px; }
.takeaways ul { margin: 0; }
.cta-box { background: var(--brand-900); color: rgba(255,255,255,.88); border-radius: var(--radius-lg); padding: 32px; margin: 44px 0 0; }
.cta-box h2 { color: var(--white); font-size: 1.4rem; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,.85); }
.disclaimer { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); color: var(--ink); font-family: var(--font-head); }
.table-wrap { overflow-x: auto; }

/* ==========================================================================
   V2: closer match to the Figma (sample for review)
   ========================================================================== */
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(/assets/fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(/assets/fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format("woff2"); }

:root { --container: 1100px; }
body { font-size: .95rem; }
h2 { font-size: clamp(1.7rem, 2.55vw, 2.35rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.section { padding-block: clamp(56px, 7vw, 92px); }
p { color: var(--muted); }

/* Hero: 3-line headline with the lime underline swash from the Figma */
.home-hero { min-height: clamp(560px, 50vw, 700px); }
.home-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 4.3vw, 3.9rem); }
.home-hero p { color: rgba(255,255,255,.85); }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C 50 2, 120 2, 198 8' fill='none' stroke='%23a6d13b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
/* Inner heroes: shorter, title centered, photo desaturated like the Figma */
.page-hero { min-height: clamp(300px, 33vw, 440px); align-items: center; }
.page-hero__content { padding: 110px clamp(24px, 6vw, 96px) 48px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.page-hero__img { filter: grayscale(.65) contrast(1.04); }

/* Feature cards: icon tile breaks out of the card edge, faint outline number, tri-colour corner */
.feature-grid { gap: 26px; }
.feature-card { overflow: visible; padding: 28px 28px 32px; border-radius: 12px; box-shadow: 0 12px 30px -22px rgba(16,26,20,.35); }
.feature-card .icon-tile { margin-left: -44px; position: relative; border-radius: 8px 8px 8px 0; width: 58px; height: 58px; }
.feature-card .icon-tile::after { content: ""; position: absolute; left: 0; bottom: -10px; border-top: 10px solid #03200f; border-left: 12px solid transparent; }
.feature-card__num { font-size: 3.2rem; -webkit-text-stroke: 1.2px #e1e7e3; }
.feature-card::after {
  width: 58px; height: 58px; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpolygon points='30,2 50,34 10,34' fill='%2313843f' opacity='.16'/%3E%3Cpolygon points='10,38 50,38 30,58' fill='%23a6d13b' opacity='.22'/%3E%3Cpolygon points='52,30 60,44 60,60 44,60' fill='%231856b8' opacity='.18'/%3E%3C/svg%3E") no-repeat right bottom / contain;
}
[data-theme="blue"] .feature-card .icon-tile::after { border-top-color: #06142d; }

/* Big faint watermark words behind sections (ST.CLAIR, GROUP) */
.wm { position: relative; isolation: isolate; }
.wm::before {
  content: attr(data-wm); position: absolute; z-index: -1; pointer-events: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 11vw, 10rem); line-height: 1; color: #f2f4f3; letter-spacing: -0.04em;
}
.wm--tr::before { top: -30px; right: -12%; }
.wm--bl::before { bottom: -60px; left: -18%; }

/* Home mission: two arched photo halves with the badge between, squiggle + triangle outlines */
.mission { position: relative; }
.mission__arches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 440px; }
.mission__arches img { width: 100%; height: 100%; object-fit: cover; }
.mission__arches img:first-child { object-position: 30% 50%; -webkit-mask: radial-gradient(ellipse 60% 52% at 100% 50%, transparent 98%, #000 100%); mask: radial-gradient(ellipse 60% 52% at 100% 50%, transparent 98%, #000 100%); border-radius: 0 0 0 0; }
.mission__arches img:last-child { object-position: 80% 50%; -webkit-mask: radial-gradient(ellipse 60% 52% at 0% 50%, transparent 98%, #000 100%); mask: radial-gradient(ellipse 60% 52% at 0% 50%, transparent 98%, #000 100%); }
.mission__arches .badge-years { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.deco-squiggle, .deco-triangles { position: absolute; pointer-events: none; color: #cfd8d2; }
.deco-squiggle { left: 2%; top: 42%; width: 90px; }
.deco-triangles { right: 2%; top: 8%; width: 130px; }
@media (max-width: 900px) { .mission__arches { height: 320px; } .deco-squiggle, .deco-triangles { display: none; } }

/* Photo service cards: white frame, image on top, Read More tab below, progress bar (Figma carousel) */
.photo-cards { gap: 26px; }
.photo-card--framed { aspect-ratio: auto; display: block; padding: 10px 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: var(--shadow-card); }
.photo-card--framed::before { display: none; }
.photo-card--framed .photo-card__img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 2.9; }
.photo-card--framed .photo-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.photo-card--framed .photo-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,10,.15) 20%, color-mix(in srgb, var(--brand-900) 88%, transparent)); }
.photo-card--framed h3 { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: var(--white); margin: 0; max-width: 14ch; }
.photo-card--framed .btn { margin: -18px 0 0 14px; position: relative; z-index: 3; }
.carousel-bar { height: 4px; width: 300px; max-width: 60%; margin: 36px auto 0; background: #e6ebe7; border-radius: 4px; position: relative; }
.carousel-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 24%; background: var(--brand-800); border-radius: 4px; }

/* Take Control band: wireframe globe on the right edge */
.band--globe { isolation: isolate; }
.band--globe::after {
  content: ""; position: absolute; right: -90px; top: 50%; width: 300px; height: 300px; transform: translateY(-50%); z-index: 0; opacity: .5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23a6d13b' stroke-width='.8'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Cellipse cx='100' cy='100' rx='40' ry='96'/%3E%3Cellipse cx='100' cy='100' rx='70' ry='96'/%3E%3Cpath d='M4 100h192M14 60h172M14 140h172M38 28h124M38 172h124'/%3E%3C/svg%3E") no-repeat center / contain;
}
.band__body { position: relative; z-index: 1; }

/* About mission: organic blob photo with a lime ring */
.band__media--blob { min-height: 460px; display: grid; place-items: center; padding: 40px; }
.band__media--blob::after { display: none; }
.band__media--blob img { position: relative; inset: auto; width: 88%; height: 380px; object-fit: cover; border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; box-shadow: 0 0 0 10px rgba(255,255,255,.06); }
.band__media--blob .badge-years { left: 8%; bottom: 12%; }
.band__media--blob .deco-squiggle { color: rgba(166,209,59,.35); left: 4%; top: 8%; }

/* Footer: wireframe shape behind the columns */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%) rotate(-12deg); z-index: -1; opacity: .18; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23a6d13b' stroke-width='.5'%3E%3Cpath d='M40 60 Q100 10 160 60 T170 140 Q100 190 40 140 T40 60Z'/%3E%3Cpath d='M50 66 Q100 24 150 66 T158 136 Q100 176 50 136 T50 66Z'/%3E%3Cpath d='M60 72 Q100 38 140 72 T146 132 Q100 162 60 132 T60 72Z'/%3E%3Cpath d='M70 78 Q100 52 130 78 T134 128 Q100 148 70 128 T70 78Z'/%3E%3Cpath d='M100 14v172M60 22v156M140 22v156M30 60v80M170 60v80'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* V2 round 2 */
p { color: inherit; }
.section p, .feature-card p, .split p, .booking p { color: var(--muted); }
.band p, .home-hero p, .page-hero p { color: rgba(255,255,255,.82); }
.band h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.band__media img { filter: grayscale(.55) contrast(1.05); }
.kicker::before {
  width: 18px; mask: none; -webkit-mask: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 0l7 5-7 5z' fill='%2313843f'/%3E%3Cpath d='M8 0l7 5-7 5z' fill='%231a6ea8'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Arches: two D shapes whose curved sides face each other, badge on the outer left edge (Figma) */
.mission__arches { max-width: 430px; height: 480px; margin-inline: auto; gap: 10px; }
.mission__arches img:first-child, .mission__arches img:last-child { -webkit-mask: none; mask: none; }
.mission__arches img:first-child { border-radius: 0 999px 999px 0 / 0 50% 50% 0; }
.mission__arches img:last-child { border-radius: 999px 0 0 999px / 50% 0 0 50%; }
.mission__arches .badge-years { left: 0; top: 50%; transform: translate(-45%, -50%); }
/* V2 round 3 */
.kicker { color: var(--muted) !important; }
.band .kicker, .page-hero .kicker { color: rgba(255,255,255,.8) !important; }
.kicker::before { clip-path: none; }
.mission h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.22; }
.arch { background: url(/assets/img/v2-office-plant-wall.jpg) no-repeat; background-size: auto 100%; }
.arch--l { background-position: -250px 0; border-radius: 0 100% 100% 0 / 0 50% 50% 0; }
.arch--r { background-position: -470px 0; border-radius: 100% 0 0 100% / 50% 0 0 50%; }
@media (max-width: 900px) { .arch--l { background-position: -160px 0; } .arch--r { background-position: -330px 0; } }
.band--light .kicker { color: var(--muted) !important; }
.band--light p { color: var(--muted); }
.mission__arches { width: 100%; }
.arch--l { background-position: -60px 0; }
.arch--r { background-position: -290px 0; }
.mission .deco-squiggle { left: -6px; top: auto; bottom: 8%; width: 60px; opacity: .6; }
.band__media--blob { isolation: isolate; }
.band__media--blob img { width: 70%; height: 420px; object-position: 35% 15%; border-radius: 46% 54% 50% 50% / 38% 42% 58% 62%; }
.band__media--blob::before { content: ""; position: absolute; width: 74%; height: 440px; left: 12%; top: 50%; transform: translateY(-50%) rotate(-8deg); z-index: -1; background: rgba(255,255,255,.08); border-radius: 60% 40% 45% 55% / 50% 55% 45% 50%; }
html, body { overflow-x: clip; }
@media (max-width: 900px) {
  .wm::before { display: none; }
  .feature-card .icon-tile { margin-left: -36px; }
  .band--globe::after { display: none; }
}
@media (max-width: 900px) { .mission__arches .badge-years { left: 8px; transform: translateY(-50%); } }
/* V2 round 4: image choices */
.arch { background-image: url(/assets/img/v2-world-map.jpg); }
.arch--l { background-position: -170px 0; }
.arch--r { background-position: -390px 0; }
@media (max-width: 900px) { .arch--l { background-position: -120px 0; } .arch--r { background-position: -290px 0; } }
.image-pair__main { object-position: 50% 30%; }
.tabs-panel p, .tabs-panel li { color: rgba(255,255,255,.84); }
.band__media--blob img { object-position: 50% 48%; }
/* V2 round 5: heroes read as real photos. Dark behind the headline, the photo stays visible on the right. */
.page-hero::before, .home-hero::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand-900) 92%, transparent) 0%, color-mix(in srgb, var(--brand-900) 72%, transparent) 38%, color-mix(in srgb, var(--brand-900) 22%, transparent) 78%, color-mix(in srgb, var(--brand-900) 12%, transparent) 100%);
}
.page-hero__img, .home-hero__img { filter: saturate(.75) contrast(1.03) brightness(1.02); }
@media (max-width: 700px) { .page-hero::before, .home-hero::before { background: color-mix(in srgb, var(--brand-900) 74%, transparent); } }

/* Blue theme: recolor the Figma decorations that are drawn as inline SVG */
[data-theme="blue"] .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C 50 2, 120 2, 198 8' fill='none' stroke='%234fb0f2' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
[data-theme="blue"] .feature-card::after {
  /* corner triangle motif from the logo */
  content: ""; position: absolute; right: 0; bottom: 0; width: 64px; height: 64px;
  background: linear-gradient(135deg, transparent 50%, var(--tint-edge) 50%);
  opacity: .9;
}
[data-theme="blue"] .kicker::before {
  width: 18px; mask: none; -webkit-mask: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 0l7 5-7 5z' fill='%231856b8'/%3E%3Cpath d='M8 0l7 5-7 5z' fill='%234fb0f2'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-theme="blue"] .band--globe::after {
  content: ""; position: absolute; right: -90px; top: 50%; width: 300px; height: 300px; transform: translateY(-50%); z-index: 0; opacity: .5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%234fb0f2' stroke-width='.8'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Cellipse cx='100' cy='100' rx='40' ry='96'/%3E%3Cellipse cx='100' cy='100' rx='70' ry='96'/%3E%3Cpath d='M4 100h192M14 60h172M14 140h172M38 28h124M38 172h124'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-theme="blue"] .site-footer::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%) rotate(-12deg); z-index: -1; opacity: .18; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%234fb0f2' stroke-width='.5'%3E%3Cpath d='M40 60 Q100 10 160 60 T170 140 Q100 190 40 140 T40 60Z'/%3E%3Cpath d='M50 66 Q100 24 150 66 T158 136 Q100 176 50 136 T50 66Z'/%3E%3Cpath d='M60 72 Q100 38 140 72 T146 132 Q100 162 60 132 T60 72Z'/%3E%3Cpath d='M70 78 Q100 52 130 78 T134 128 Q100 148 70 128 T70 78Z'/%3E%3Cpath d='M100 14v172M60 22v156M140 22v156M30 60v80M170 60v80'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-theme="blue"] .band__media--blob .deco-squiggle { color: rgba(79,176,242,.4); }
/* Team grouped by location */
.team-office { font-size: 1.05rem; margin: 40px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--brand-800); }
.team-office + .team-grid { margin-top: 22px; }
.has-dropdown {
  position: relative;
}

.has-dropdown > .dropdown-menu {
  display: none;
}

.has-dropdown.is-open > .dropdown-menu,
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
  display: block;
}