/* ==========================================================================
   Gael Talent Bridge, Core stylesheet
   Brand: Atlantic Ink / Bridge Teal / Linen / Cloud
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --ink: #102a35;
  --ink-soft: #1b3b47;
  --ink-deep: #0a1c24;
  --teal: #007b72;
  --teal-hover: #005c55;
  --teal-quiet: #e8f3f1;
  --seaglass: #cdede8;
  --linen: #f7f6f2;
  --linen-warm: #f1efe8;
  --cloud: #ffffff;
  --slate: #1e2a30;
  --stone: #5b686d;
  --stone-light: #7d888c;
  --line: #e2e0d8;
  --line-strong: #cfccc0;

  /* Status */
  --ok: #287a52;
  --ok-bg: #e7f3ec;
  --warn: #a15b00;
  --warn-bg: #fbf1e2;
  --interview: #235a9f;
  --interview-bg: #e9f0f9;
  --danger: #b42318;
  --danger-bg: #fbeae8;

  /* Type */
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --text-hero: clamp(2.6rem, 6.2vw, 4rem);
  --text-page: clamp(2.1rem, 4.6vw, 3rem);
  --text-section: clamp(1.7rem, 3.4vw, 2.25rem);
  --text-sub: clamp(1.25rem, 2.2vw, 1.5rem);
  --text-card: 1.3rem;
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-micro: 0.8125rem;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 53, 0.05), 0 2px 8px rgba(16, 42, 53, 0.04);
  --shadow: 0 2px 6px rgba(16, 42, 53, 0.06), 0 18px 40px -18px rgba(16, 42, 53, 0.18);
  --shadow-lg: 0 30px 70px -30px rgba(16, 42, 53, 0.35);

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--slate);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--ink); }
small { font-size: var(--text-small); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--seaglass); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cloud);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--cloud); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: var(--sp-9) 0; }
.section-sm { padding: var(--sp-8) 0; }
.section-tight { padding: var(--sp-7) 0; }

.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: var(--text-section); }
.section-head p { font-size: 1.125rem; color: var(--stone); margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.plain::before { display: none; }

.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--stone); }
.muted { color: var(--stone); }
.center { text-align: center; }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

@media (max-width: 960px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split.reverse .split-media { order: 0; }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) 0; }
}

/* ---------- Dark chapters ---------- */
.dark {
  background: var(--ink);
  color: #dfe7ea;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cloud); }
.dark .lede, .dark .muted, .dark .section-head p { color: #a9bcc3; }
.dark .eyebrow { color: var(--seaglass); }
.dark a { color: var(--seaglass); }
.dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.dark .card p { color: #a9bcc3; }
.tinted { background: var(--linen-warm); }
.surface { background: var(--cloud); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.8125rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal); color: var(--cloud); }
.btn-primary:hover { background: var(--teal-hover); color: var(--cloud); box-shadow: 0 10px 24px -12px rgba(0, 92, 85, 0.7); }

.btn-ink { background: var(--ink); color: var(--cloud); }
.btn-ink:hover { background: var(--ink-soft); color: var(--cloud); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--cloud); border-color: var(--ink); color: var(--ink); }

.btn-light { background: var(--cloud); color: var(--ink); }
.btn-light:hover { background: var(--seaglass); color: var(--ink); }

.btn-outline-light { background: transparent; color: var(--cloud); border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--cloud); border-color: rgba(255, 255, 255, 0.6); }

.btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-micro); }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--teal);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card h3 { font-size: var(--text-card); }
.card p { color: var(--stone); font-size: var(--text-small); }
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; }

.card-num {
  font-family: var(--font-display);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  display: block;
  margin-bottom: var(--sp-3);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-quiet);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.icon-badge svg { width: 22px; height: 22px; }
.dark .icon-badge { background: rgba(205, 237, 232, 0.14); color: var(--seaglass); }

/* Media card (image + text) */
.media-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.media-card .media-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen-warm); }
.media-card .media-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.media-card:hover .media-card-img img { transform: scale(1.035); }
.media-card-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.media-card-body h3 { font-size: 1.1875rem; margin-bottom: var(--sp-2); }
.media-card-body p { font-size: var(--text-small); color: var(--stone); }
.media-card-body .link-arrow { margin-top: auto; padding-top: var(--sp-4); }

.rounded-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--linen-warm);
  box-shadow: var(--shadow);
}
.rounded-media img { width: 100%; }

/* ---------- Tags & status ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-quiet);
  color: var(--teal-hover);
  font-size: var(--text-micro);
  font-weight: 600;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-neutral { background: var(--linen-warm); color: var(--stone); }
.dark .tag { background: rgba(205, 237, 232, 0.14); color: var(--seaglass); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: var(--text-micro);
  font-weight: 600;
  line-height: 1.4;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-ok { background: var(--ok-bg); color: var(--ok); }
.status-warn { background: var(--warn-bg); color: var(--warn); }
.status-interview { background: var(--interview-bg); color: var(--interview); }
.status-danger { background: var(--danger-bg); color: var(--danger); }
.status-neutral { background: var(--linen-warm); color: var(--stone); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247, 246, 242, 0.94); }
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav-link {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--slate);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--ink); background: rgba(16, 42, 53, 0.05); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--teal-hover); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: var(--sp-4); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { transform: translateY(-5.5px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-90deg); }

@media (max-width: 1080px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--linen);
  padding: var(--sp-4) 0 var(--sp-6);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { text-decoration: none; color: var(--teal); }
.mobile-nav .btn-row { margin-top: var(--sp-5); }
.mobile-nav .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(84vh, 780px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 28, 36, 0.94) 0%, rgba(10, 28, 36, 0.78) 42%, rgba(10, 28, 36, 0.3) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: var(--sp-9) 0; width: 100%; }
.hero-copy { max-width: 40rem; }
.hero h1 {
  font-size: var(--text-hero);
  color: var(--cloud);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.03em;
}
.hero p {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  color: #c3d3d8;
  max-width: 34rem;
  margin-bottom: var(--sp-6);
}
.hero .eyebrow { color: var(--seaglass); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-meta div { min-width: 8rem; }
.hero-meta dt { font-size: var(--text-micro); color: #8ea6ae; letter-spacing: 0.04em; }
.hero-meta dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cloud);
  font-size: 1.0625rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: #dfe7ea;
  padding: calc(var(--sp-8) + 1rem) 0 var(--sp-8);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle at center, rgba(0, 123, 114, 0.35) 0%, transparent 62%);
  pointer-events: none;
}
.page-hero h1 { color: var(--cloud); font-size: var(--text-page); max-width: 34rem; }
.page-hero p { color: #a9bcc3; font-size: 1.125rem; max-width: 40rem; }
.page-hero .eyebrow { color: var(--seaglass); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .btn-row { margin-top: var(--sp-6); }

.breadcrumb { font-size: var(--text-micro); color: #8ea6ae; margin-bottom: var(--sp-4); }
.breadcrumb a { color: #b6c8ce; }
.breadcrumb span { opacity: 0.5; margin: 0 0.4rem; }

/* ---------- Pathway (two audience) cards ---------- */
.pathway {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  color: var(--cloud);
  background: var(--ink);
}
.pathway img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 0.6s var(--ease); }
.pathway::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 28, 36, 0.95) 8%, rgba(10, 28, 36, 0.55) 55%, rgba(10, 28, 36, 0.15) 100%);
}
.pathway:hover img { transform: scale(1.04); }
.pathway-body { position: relative; z-index: 2; padding: var(--sp-6); }
.pathway-body h3 { color: var(--cloud); font-size: 1.65rem; margin-bottom: var(--sp-3); }
.pathway-body p { color: #c3d3d8; font-size: var(--text-small); margin-bottom: var(--sp-5); max-width: 26rem; }

/* ---------- Journey / steps ---------- */
.journey { display: grid; gap: 0; counter-reset: step; }
.journey-step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--sp-5);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.journey-step:last-child { border-bottom: 1px solid var(--line); }
.journey-step .step-no {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--line-strong);
  line-height: 1;
}
.journey-step h3 { font-size: 1.375rem; margin-bottom: var(--sp-2); }
.journey-step p { color: var(--stone); margin-bottom: 0; max-width: 46rem; }
.dark .journey-step { border-color: rgba(255, 255, 255, 0.14); }
.dark .journey-step .step-no { color: rgba(255, 255, 255, 0.28); }
@media (max-width: 620px) {
  .journey-step { grid-template-columns: 1fr; gap: var(--sp-2); }
  .journey-step .step-no { font-size: 1.5rem; }
}

/* Horizontal pipeline */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--text-micro);
  font-weight: 600;
}
.pipeline li {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--stone);
}
.pipeline { padding: 0; margin: 0; }
.pipeline li.is-active { background: var(--teal); border-color: var(--teal); color: var(--cloud); }

/* ---------- Feature list ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: var(--sp-3);
  color: var(--stone);
  font-size: var(--text-small);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--teal-quiet);
  border: 1px solid rgba(0, 123, 114, 0.25);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.68rem;
  width: 0.42rem;
  height: 0.22rem;
  border-left: 1.6px solid var(--teal);
  border-bottom: 1.6px solid var(--teal);
  transform: rotate(-45deg);
}
.dark .check-list li { color: #a9bcc3; }
.dark .check-list li::before { background: rgba(205, 237, 232, 0.16); border-color: rgba(205, 237, 232, 0.3); }
.dark .check-list li::after { border-color: var(--seaglass); }

/* ---------- Workspace preview mock ---------- */
.mock {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--linen);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-title { margin-left: 0.6rem; font-size: var(--text-micro); color: var(--stone); font-weight: 600; }
.mock-body { padding: var(--sp-5); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-4); }
.mock-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  background: var(--linen);
}
.mock-stat b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); line-height: 1.1; }
.mock-stat span { font-size: var(--text-micro); color: var(--stone); }
.mock-focus {
  border: 1px solid rgba(0, 123, 114, 0.25);
  background: var(--teal-quiet);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: var(--sp-4);
}
.mock-focus span { font-size: var(--text-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-hover); }
.mock-focus p { margin: 0.25rem 0 0; font-weight: 600; color: var(--ink); font-size: var(--text-small); }
.mock-list { list-style: none; padding: 0; margin: 0; }
.mock-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-small);
}
.mock-list li:last-child { border-bottom: 0; }
.mock-list .mock-role { font-weight: 600; color: var(--ink); }
.mock-list .mock-co { display: block; font-size: var(--text-micro); color: var(--stone); font-weight: 400; }

/* ---------- Stats strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat-strip .stat { padding: var(--sp-2) 0; }
.stat-strip .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.stat-strip .stat span { font-size: var(--text-small); color: var(--stone); }
.dark .stat-strip .stat b { color: var(--cloud); }
.dark .stat-strip .stat span { color: #a9bcc3; }
@media (max-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Map / locations ---------- */
.region-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-6); }
.region-tab {
  border: 1px solid var(--line-strong);
  background: var(--cloud);
  color: var(--slate);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.region-tab:hover { border-color: var(--ink); }
.region-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--cloud); }
.region-panel { display: none; }
.region-panel.is-active { display: block; animation: fade-in 0.35s var(--ease); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details {
  border-bottom: 1px solid var(--line);
}
.accordion summary {
  cursor: pointer;
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 var(--sp-5); color: var(--stone); font-size: var(--text-small); max-width: 52rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field { margin-bottom: var(--sp-5); }
.field label,
.field .field-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field .hint { font-size: var(--text-micro); color: var(--stone); margin: 0 0 0.5rem; font-weight: 400; }
.req { color: var(--danger); font-weight: 600; }
.optional { color: var(--stone-light); font-weight: 400; font-size: var(--text-micro); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], input[type="date"], input[type="month"],
input[type="search"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--slate);
  background: var(--cloud);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235B686D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px;
  padding-right: 2.25rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 123, 114, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--stone-light); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 620px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }

.checkbox, .radio {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  font-size: var(--text-small);
  color: var(--slate);
  cursor: pointer;
}
.checkbox input, .radio input {
  width: 1.15rem; height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--teal);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox span small, .radio span small { display: block; color: var(--stone); font-size: var(--text-micro); margin-top: 0.15rem; }

.consent-box {
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}
.consent-box h4 { font-size: 1rem; margin-bottom: var(--sp-2); }
.consent-box > p { font-size: var(--text-micro); color: var(--stone); }

.file-drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: var(--sp-6);
  text-align: center;
  background: var(--linen);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  display: block;
}
.file-drop:hover, .file-drop.is-over { border-color: var(--teal); background: var(--teal-quiet); }
.file-drop strong { display: block; color: var(--ink); margin-bottom: 0.25rem; }
.file-drop span { font-size: var(--text-micro); color: var(--stone); }
.file-drop input { display: none; }

.form-note { font-size: var(--text-micro); color: var(--stone); }
.form-success {
  display: none;
  background: var(--ok-bg);
  border: 1px solid rgba(40, 122, 82, 0.3);
  color: #1c5a3c;
  border-radius: var(--radius);
  padding: var(--sp-5);
  font-size: var(--text-small);
}
.form-success.show { display: block; animation: fade-in 0.4s var(--ease); }
.form-success h3 { color: #1c5a3c; font-size: 1.1875rem; }
.field-error { color: var(--danger); font-size: var(--text-micro); margin-top: 0.3rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.progress-steps { display: flex; gap: 0.5rem; margin-bottom: var(--sp-6); flex-wrap: wrap; }
.progress-steps li {
  list-style: none;
  margin: 0;
  font-size: var(--text-micro);
  font-weight: 600;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.progress-steps li::after { content: "›"; margin-left: 0.4rem; color: var(--line-strong); }
.progress-steps li:last-child::after { display: none; }
.progress-steps li.is-active { color: var(--teal-hover); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cloud); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--text-small); min-width: 40rem; }
table.data th, table.data td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th {
  font-family: var(--font-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--stone);
  background: var(--linen);
  font-weight: 700;
  white-space: nowrap;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--linen); }

/* ---------- Quote ---------- */
.quote {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
.quote blockquote { margin: 0 0 var(--sp-4); font-size: 1.125rem; color: var(--ink); font-family: var(--font-display); line-height: 1.5; }
.quote cite { font-style: normal; font-size: var(--text-micro); color: var(--stone); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #14424a 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--cloud);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -60%;
  width: 42%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 123, 114, 0.45), transparent 65%);
}
.cta-band-inner { position: relative; z-index: 2; max-width: 40rem; }
.cta-band h2 { color: var(--cloud); font-size: var(--text-section); }
.cta-band p { color: #b6c8ce; margin-bottom: var(--sp-6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #93a8b0; padding: var(--sp-8) 0 var(--sp-5); font-size: var(--text-small); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer-brand .brand-name { color: var(--cloud); }
.footer-brand .brand-sub { color: #6d848c; }
.footer-brand p { margin-top: var(--sp-4); max-width: 20rem; font-size: var(--text-small); color: #7f959d; }
.footer-col h4 {
  font-size: var(--text-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cloud);
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #93a8b0; font-size: var(--text-small); }
.footer-col a:hover { color: var(--seaglass); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--text-micro);
  color: #6d848c;
}
.footer-bottom a { color: #93a8b0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Footer practice directory ---------- */
.footer-sectors{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:var(--sp-8);
  padding-top:var(--sp-6);
}
.footer-sectors h4{
  font-size:0.75rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--seaglass);
  margin:0 0 var(--sp-4);
}
.footer-sectors ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:var(--sp-2) var(--sp-6);
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
}
.footer-sectors a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
  font-size:0.9375rem;
  line-height:1.5;
  display:inline-block;
  transition:color .18s ease;
}
.footer-sectors a:hover,.footer-sectors a:focus-visible{color:#fff;}

/* ---------- Nav link wrapping ---------- */
.nav-link{white-space:nowrap;}
.hero-meta dd{letter-spacing:.005em;}

/* ---------- Form aside ---------- */
@media (min-width:900px){
  .form-aside{position:sticky;top:104px;align-self:start;}
}
.aside-card{background:var(--seaglass);border-radius:var(--radius-lg);padding:28px 28px 30px;}
.aside-card h3{font-size:1.25rem;margin:0 0 8px;}
.aside-card p{margin:0;color:var(--slate);}
.num-list{list-style:none;counter-reset:n;margin:0;padding:0;display:grid;gap:18px;}
.num-list li{counter-increment:n;position:relative;padding-left:42px;color:var(--stone);line-height:1.6;}
.num-list li strong{color:var(--ink);display:block;font-weight:600;}
.num-list li::before{content:counter(n,decimal-leading-zero);position:absolute;left:0;top:1px;font-family:var(--font-display);font-size:.8125rem;letter-spacing:.06em;color:var(--teal);font-weight:600;}
.mini-steps .eyebrow{color:var(--teal);}

/* ---------- Contrast corrections (QA pass) ---------- */
/* Dark surfaces: bold labels inside lists and prose must not inherit ink */
.dark .check-list li strong,
.pathway .check-list li strong,
.page-hero .check-list li strong,
.dark li strong,
.dark p strong,
.dark dd strong { color: #ffffff; }

/* Eyebrows over dark or photographic surfaces */
.dark .eyebrow,
.pathway .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--seaglass); }
.dark .eyebrow::before,
.pathway .eyebrow::before,
.page-hero .eyebrow::before,
.cta-band .eyebrow::before { background: var(--seaglass); }

/* Step numerals: keep quiet but reach 3:1 on light surfaces */
.journey-step .step-no { color: #8b8578; }
.dark .journey-step .step-no { color: rgba(205, 237, 232, 0.62); }

/* Optional-field hints */
.optional { color: var(--stone); }

/* Footer secondary text */
.footer-brand .brand-sub { color: #8ea6ad; }
.site-footer .footer-legal,
.site-footer .footer-legal p { color: #8ea6ad; }

/* Mobile drawer primary action */
.mobile-nav .btn-primary { color: #ffffff; }
.mobile-nav .btn-primary:hover { color: #ffffff; }
.footer-bottom { color: #8ea6ad; }
.footer-bottom a { color: #a9bcc3; }

/* ============================================================
   OUR STORY, long-form prose, journey slideshow, world map
   ============================================================ */

.story > .eyebrow { display: block; margin-bottom: .75rem; }
.story h2 { max-width: 22ch; }
.story p { max-width: 68ch; }
.story p + p { margin-top: 1.15rem; }

.pull-quote {
  margin: 2.75rem 0 0;
  padding: 1.75rem 0 .25rem 1.6rem;
  border-left: 3px solid var(--teal);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.28;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
  max-width: 30ch;
}
.pull-quote cite {
  display: block;
  margin-top: .9rem;
  font-style: normal;
  font-size: var(--text-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Journey slideshow ---------- */

.jr { margin-top: 2.5rem; }

.jr-stage {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  border-radius: 0;
}
@media (min-width: 900px) {
  .jr-stage { border-radius: var(--radius-lg); margin: 0 auto; max-width: 1400px; width: calc(100% - 3rem); }
}

.jr-track { list-style: none; margin: 0; padding: 0; }

.jr-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s cubic-bezier(.4, 0, .2, 1), visibility .9s;
}
.jr-slide:first-child { position: relative; }
.jr-slide.is-active { opacity: 1; visibility: visible; }

.jr-media { margin: 0; height: 100%; }
.jr-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(76vh, 720px);
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transform: scale(1.04);
  transition: transform 9s linear;
}
.jr-slide.is-active .jr-media img { transform: scale(1.12); }

.jr-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 28, 36, .94) 0%, rgba(10, 28, 36, .72) 34%, rgba(10, 28, 36, .12) 68%, rgba(10, 28, 36, .04) 100%);
}
@media (min-width: 900px) {
  .jr-slide::after {
    background:
      linear-gradient(to right, rgba(10, 28, 36, .95) 0%, rgba(10, 28, 36, .86) 34%, rgba(10, 28, 36, .3) 68%, rgba(10, 28, 36, .04) 100%);
  }
}

.jr-copy {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.6rem;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity .7s ease .22s, transform .7s cubic-bezier(.2, .7, .2, 1) .22s;
}
.jr-slide.is-active .jr-copy { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .jr-copy {
    left: clamp(2rem, 5vw, 4.5rem);
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(calc(-50% + 14px));
    max-width: 34rem;
  }
  .jr-slide.is-active .jr-copy { transform: translateY(-50%); }
}

.jr-step {
  display: inline-block;
  font-size: var(--text-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--seaglass);
  margin-bottom: .7rem;
}
.jr-copy h3 {
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 .7rem;
}
.jr-copy p {
  color: #d7e4e6;
  font-size: clamp(.95rem, 1.4vw, 1.06rem);
  line-height: 1.62;
  margin: 0;
  max-width: 46ch;
}

.jr-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.jr-rail { display: flex; gap: .5rem; flex: 1 1 12rem; min-width: 10rem; }
.jr-tab {
  flex: 1 1 0;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  appearance: none;
}
.jr-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--teal);
}
.jr-tab.is-done::after { transform: scaleX(1); }
.jr-tab.is-on::after { animation: jrfill var(--jr-dur, 7s) linear forwards; }
.jr-tab.is-on.is-paused::after { animation-play-state: paused; }
.jr-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
@keyframes jrfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.jr-buttons { display: flex; gap: .5rem; }
.jr-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--cloud);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.jr-btn:hover { background: var(--teal-quiet); border-color: var(--teal); }
.jr-btn:active { transform: scale(.94); }
.jr-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.jr-btn svg { width: 18px; height: 18px; }
.jr-ico-play { display: none; }
.jr-btn[aria-pressed="false"] .jr-ico-pause { display: none; }
.jr-btn[aria-pressed="false"] .jr-ico-play { display: block; }

@media (prefers-reduced-motion: reduce) {
  .jr-media img,
  .jr-slide,
  .jr-copy { transition: none; transform: none; }
  .jr-slide.is-active .jr-media img { transform: none; }
  .jr-tab.is-on::after { animation: none; transform: scaleX(1); }
}

/* ---------- Interactive world map ---------- */

.gm { margin-top: 2.5rem; }

.gm-panel {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(16, 42, 53, .04), 0 18px 40px -28px rgba(16, 42, 53, .28);
}

.gm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.gm-brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); }
.gm-brand svg { width: 34px; height: 34px; flex: none; }
.gm-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.gm-brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.gm-brand-sub {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: .2rem;
}

.gm-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.gm-chip {
  font: inherit;
  font-size: .82rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gm-chip:hover { border-color: var(--teal); color: var(--teal); }
.gm-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gm-chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.gm-stage {
  position: relative;
  margin: 1.25rem 0 0;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 50% 0%, #f1f7f6 0%, var(--linen) 62%, var(--linen-warm) 100%);
  overflow: hidden;
}

.gm-svg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.gm-svg.is-animating { transition: none; }

.gm-c {
  fill: #dedbd1;
  stroke: var(--linen);
  stroke-width: .4;
  vector-effect: non-scaling-stroke;
  transition: fill .3s ease;
}
.gm-market { fill: #a9c9c4; }
.gm-origin { fill: #6fa8a1; }
.gm-base { fill: var(--teal); }
.gm-c[data-name] { cursor: pointer; }
.gm-c[data-name]:hover, .gm-c[data-name]:focus-visible { fill: var(--teal-hover); outline: none; }

.gm-arc {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: .32;
  stroke-linecap: round;
  stroke-dasharray: 3 5;
  animation: gmdash 4.5s linear infinite;
}
@keyframes gmdash { to { stroke-dashoffset: -32; } }

.gm-pin { cursor: pointer; }
.gm-pin:focus-visible { outline: none; }
.gm-halo { fill: var(--teal); opacity: .1; transform-box: fill-box; transform-origin: center; }
.gm-ring { fill: #fff; stroke: var(--teal); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.gm-dot { fill: var(--teal); }

.gm-pin-base .gm-ring { stroke: var(--ink); stroke-width: 2; }
.gm-pin-base .gm-dot { fill: var(--ink); }
.gm-pin-base .gm-halo { fill: var(--ink); opacity: .1; animation: gmpulse 3s ease-out infinite; }
.gm-pin-origin .gm-ring { stroke: #b4552c; stroke-width: 1.8; }
.gm-pin-origin .gm-dot { fill: #b4552c; }
.gm-pin-origin .gm-halo { fill: #b4552c; animation: gmpulse 3s ease-out infinite .9s; }

@keyframes gmpulse {
  0% { transform: scale(.35); opacity: .34; }
  70% { transform: scale(1); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.gm-pin:hover .gm-ring,
.gm-pin.is-on .gm-ring { stroke-width: 2.6; }
.gm-pin:hover .gm-halo,
.gm-pin:focus-visible .gm-halo,
.gm-pin.is-on .gm-halo { opacity: .22; }

.gm-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 19rem;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  box-shadow: 0 12px 30px -18px rgba(16, 42, 53, .4);
}
.gm-card-kind {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .3rem;
}
.gm-card-title { font-family: var(--font-display); font-weight: 700; margin: 0 0 .25rem; color: var(--ink); }
.gm-card-note { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--stone); }

.gm-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  font-size: var(--text-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}
@media (max-width: 599px) { .gm-hint { display: none; } .gm-card { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; } }

.gm-foot {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.gm-legend {
  list-style: none;
  margin: 0 0 .85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.gm-legend li { display: flex; align-items: center; gap: .5rem; }
.gm-key { width: 10px; height: 10px; border-radius: 999px; flex: none; }
.gm-key-origin { background: #b4552c; }
.gm-key-base { background: var(--ink); }
.gm-key-market { background: var(--teal); }
.gm-note { margin: 0; font-size: var(--text-micro); line-height: 1.6; color: var(--stone); max-width: 74ch; }

@media (prefers-reduced-motion: reduce) {
  .gm-arc, .gm-halo { animation: none; }
}

/* Journey and map: small-screen refinements */
@media (max-width: 899px) {
  .jr-slide::after {
    background:
      linear-gradient(to bottom, rgba(10, 28, 36, .55) 0%, rgba(10, 28, 36, .78) 55%, rgba(10, 28, 36, .92) 100%);
  }
  .gm-stage {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .gm-svg { width: 720px; max-width: none; }
  .gm-card { position: sticky; left: .75rem; }
}

/* Public form failure message */
.form-problem {
  margin: var(--sp-3) 0 0; padding: var(--sp-3);
  background: var(--danger-bg); color: var(--danger);
  border-radius: var(--radius-sm); font-size: var(--text-small); font-weight: 500;
}
.form-problem a { color: inherit; }

/* ============================================
   Industry ticker (India homepage)
   One-line rotating specialisms, replaces the
   twelve-tile sectors preview above the fold.
   ============================================ */
.industry-ticker{
  background: var(--surface-muted, #F4F1EA);
  border-top: 1px solid var(--border, rgba(16,42,53,0.08));
  border-bottom: 1px solid var(--border, rgba(16,42,53,0.08));
  padding: var(--sp-4, 14px) 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}
.ticker-wrap{
  display: flex;
  align-items: center;
  gap: var(--sp-4, 14px);
  min-height: 44px;
}
.ticker-label{
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--ink, #102A35);
  font-size: 15px;
  letter-spacing: 0.01em;
}
.ticker-slot{
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 26px;
  overflow: hidden;
  display: block;
}
.ticker-item{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: var(--ink-2, #223640);
  font-size: 15px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.ticker-item.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ticker-link{
  flex: 0 0 auto;
  color: var(--teal, #007B72);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.ticker-link:hover{ text-decoration: underline; }

@media (max-width: 640px){
  .ticker-wrap{ flex-wrap: wrap; }
  .ticker-slot{ height: 44px; }
  .ticker-item{ white-space: normal; }
  .ticker-link{ margin-left: auto; }
}

/* Reduced motion: no cross-fade, still cycles */
@media (prefers-reduced-motion: reduce){
  .ticker-item{ transition: none; }
}
