/* MSA website — brand navy + green from the MSA logo.
   Layout idea: crisp white pages, navy bands for emphasis, a thin green rule as the recurring brand stroke. */
:root {
  --navy: #2c3151;
  --navy-deep: #1d2140;
  --green: #2f9e3a;
  --green-soft: #e7f4e8;
  --paper: #ffffff;
  --mist: #f3f4f8;
  --line: #dfe2ea;
  --ink: #1c2033;
  --muted: #5a6078;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.25; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 68ch; display: grid; gap: 14px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #cfd3e6; font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); color: var(--navy); font-size: 1rem; font-weight: 400; }
.brand-text span { color: var(--muted); font-size: 0.78rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .drop > button {
  font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: none; border: 0; padding: 10px 12px; border-radius: 6px; cursor: pointer;
}
.nav > a:hover, .nav .drop > button:hover, .nav a[aria-current="page"] { color: var(--green); }
.drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(29,33,64,0.12);
  padding: 8px; display: none;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: grid; }
.drop-menu a { padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.drop-menu a:hover { background: var(--mist); color: var(--green); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 0.97rem; text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: 8px; border: 2px solid transparent; transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #27862f; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; border-radius: 50%;
  border: 2px solid rgba(47,158,58,0.35); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: #d6d9ea; font-size: 1.15rem; max-width: 56ch; margin-top: 18px; }
.hero .eyebrow { color: #7fd389; }
.hero .eyebrow::before { background: #7fd389; }
.hero .btn-row { margin-top: 28px; }
.hero-tag { margin-top: 26px; font-style: italic; color: #aeb3cf; font-family: var(--font-display); }

.page-hero { background: var(--navy); color: #fff; }
.page-hero .wrap { padding-top: 54px; padding-bottom: 54px; display: grid; gap: 16px; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { color: #d6d9ea; font-size: 1.12rem; max-width: 62ch; }
.page-hero .eyebrow { color: #7fd389; }
.page-hero .eyebrow::before { background: #7fd389; }
.crumbs { font-size: 0.85rem; color: #aeb3cf; }
.crumbs a { color: #fff; }

/* Deadline panel (hero) */
.deadlines { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.deadlines h2 { font-size: 1.1rem; }
.deadlines p.note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.deadlines ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.deadlines li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.deadlines li strong { display: block; color: var(--navy); }
.deadlines li span.when { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--green); white-space: nowrap; align-self: center; }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--mist); }
section.block.dark { background: var(--navy); color: #fff; }
section.block.dark h2, section.block.dark h3 { color: #fff; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
a.card { text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
a.card:hover { border-color: var(--green); transform: translateY(-2px); }
.card .more { color: var(--green); font-weight: 700; font-size: 0.92rem; margin-top: 4px; }
.icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center;
}
.icon svg { width: 24px; height: 24px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat { padding: 24px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--font-display); font-size: 1.85rem; color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.stats-band { margin-top: -46px; position: relative; z-index: 2; }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}
.dark .ticks li::before { border-color: #7fd389; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700;
  color: var(--green); font-size: 1.3rem; border-top: 2px solid var(--green); padding-top: 6px;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); }
.dark .steps p { color: #c9cde0; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.badge small { color: var(--muted); font-weight: 400; margin-left: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 620px; background: var(--paper); font-size: 0.96rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Callouts */
.callout { border-left: 4px solid var(--green); background: var(--green-soft); padding: 20px 22px; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: 8px; }
.callout.warn { border-color: #b3261e; background: #fbeceb; }
.callout h3 { font-size: 1.05rem; }
.figure-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.figure { border-top: 3px solid var(--green); padding-top: 12px; display: grid; gap: 4px; }
.figure b { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.dark .figure b { color: #fff; }
.figure span { color: var(--muted); font-size: 0.93rem; }
.dark .figure span { color: #c9cde0; }

/* Country cards */
.country { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.country header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--green); padding-bottom: 10px; }
.country header span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.country .best { font-size: 0.92rem; color: var(--navy); background: var(--mist); padding: 10px 12px; border-radius: 8px; }

/* Founder */
.founder-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 14px; }
.monogram { width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; }
.quote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--navy); border-left: 4px solid var(--green); padding-left: 22px; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
details + details { margin-top: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details .answer { padding: 0 22px 20px; color: var(--muted); max-width: 75ch; }

/* Logos grid placeholder */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.logo-slot { aspect-ratio: 3 / 2; border: 1px dashed #b9bfd0; border-radius: 8px; display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; text-align: center; padding: 8px; background: var(--paper); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 16px; padding: 40px; display: grid; grid-template-columns: 1.6fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6d9ea; margin-top: 8px; }

/* Contact */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 600; font-size: 0.92rem; color: var(--navy); display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: 11px 13px; border: 1px solid #c8ccd9; border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
textarea { min-height: 130px; resize: vertical; }
.form-result { display: none; }
.form-result.show { display: grid; }
.contact-list { display: grid; gap: 18px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list b { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3c7da; font-size: 0.93rem; margin-top: 0; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #e6e8f2; text-decoration: none; }
.site-footer a:hover { color: #7fd389; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-logo { background: #fff; border-radius: 10px; padding: 12px 16px; display: inline-block; }
.foot-logo img { height: 64px; width: auto; }
.disclaimer { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px; display: grid; gap: 8px; font-size: 0.82rem; color: #9ea3bd; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25a244; color: #fff; text-decoration: none;
  border-radius: 999px; padding: 12px 18px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.wa-float svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(29,33,64,0.1); }
  .nav.open { display: flex; }
  .drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; display: grid; }
  .nav .drop > button { width: 100%; text-align: left; }
  .site-header .wrap { position: relative; }
  .brand-text { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .figure-row, .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  section.block { padding: 52px 0; }
  .cta-band { padding: 28px 22px; }
  .wa-float span { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Header CTA: keep button styling inside the nav */
.nav > a.btn-primary { background: var(--green); color: #fff; padding: 10px 18px; }
.nav > a.btn-primary:hover { background: #27862f; color: #fff; }

.foot-logo-img { width: 220px; height: auto; }

/* ---------- Graphic components (v2) ---------- */
.hero-graphic { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.hg-tile {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px;
  padding: 16px 10px; display: grid; justify-items: center; gap: 8px; text-align: center;
  color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none;
}
.hg-tile small { color: #b9bdd6; font-weight: 400; font-size: 0.76rem; line-height: 1.3; }
.hg-tile .icon { background: rgba(127,211,137,0.16); color: #7fd389; }
a.hg-tile:hover { border-color: #7fd389; }
.hg-center { background: #fff; border-color: #fff; align-content: center; }
.hg-center img { width: 82%; height: auto; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0,1fr)); gap: 0; counter-reset: fl; }
.flow li { counter-increment: fl; position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 8px; }
.flow li::after { content: ""; position: absolute; top: 27px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 11px); }
.flow li:last-child::after { display: none; }
.flow .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; position: relative; }
.flow .dot svg { width: 26px; height: 26px; }
.flow .dot::before { content: counter(fl); position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.flow b { color: var(--navy); font-size: 0.98rem; }
.flow span { color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.dark .flow .dot { background: #fff; color: var(--navy); }
.dark .flow b { color: #fff; }
.dark .flow span { color: #c9cde0; }

.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
a.tile:hover { border-color: var(--green); }
.tile h3 { font-size: 1.02rem; }
.tile p { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--mist); color: var(--navy); border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; font-weight: 600; }
.tile .icon { width: 52px; height: 52px; }

.country-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.country-tile .code { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: 0.04em; border: 3px solid var(--green-soft); }
.country-tile h3 { font-size: 1.15rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 0.92rem; }
.facts li span { color: var(--muted); }
.facts li b { color: var(--navy); text-align: right; }

.big-num { display: grid; grid-template-columns: repeat(var(--n,4), minmax(0,1fr)); gap: 16px; }
.big-num div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 20px; display: grid; gap: 4px; }
.big-num b { font-family: var(--font-display); font-size: 1.8rem; color: #fff; font-variant-numeric: tabular-nums; }
.big-num span { color: #c9cde0; font-size: 0.9rem; }

.who { display: grid; grid-template-columns: repeat(var(--n,5), minmax(0,1fr)); gap: 14px; }
.who div { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 18px 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.who b { color: var(--navy); font-size: 0.95rem; }
.who span { color: var(--muted); font-size: 0.84rem; }

@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 28px; }
  .flow li:nth-child(3n)::after { display: none; }
  .big-num, .who { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flow li::after { display: none; }
  .hero-graphic { gap: 8px; }
  .hg-tile small { display: none; }
}

/* Spotlight services */
.spotlight { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.spot {
  position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; text-decoration: none;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff;
  border-radius: 16px; padding: 26px 20px 22px; min-height: 250px; transition: transform 0.15s;
}
.spot::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; border: 2px solid rgba(127,211,137,0.35); }
.spot:hover { transform: translateY(-4px); }
.spot-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--green); display: grid; place-items: center; margin-bottom: 8px; }
.spot-icon svg { width: 30px; height: 30px; color: #fff; }
.spot small { color: #7fd389; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.spot h3 { color: #fff; font-size: 1.15rem; }
.spot p { color: #c9cde0; font-size: 0.9rem; line-height: 1.45; }
.spot-go { color: #7fd389; font-weight: 700; font-size: 0.9rem; margin-top: auto; padding-top: 6px; }
@media (max-width: 980px) { .spotlight { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .spotlight { grid-template-columns: 1fr; } .spot { min-height: 0; } }
.spot > * { position: relative; z-index: 1; }
.spot::after { right: -60px; bottom: -60px; z-index: 0; border-color: rgba(127,211,137,0.22); }

/* Footer without contact column */
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }

/* Disclaimer popup */
.disclaimer-modal { position: fixed; inset: 0; z-index: 100; background: rgba(20, 23, 45, 0.72); display: grid; place-items: center; padding: 16px; }
.disclaimer-modal[hidden] { display: none; }
.dm-box { background: var(--paper); border-radius: 14px; max-width: 860px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 32px; display: grid; gap: 12px; border-top: 5px solid var(--green); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.dm-box h2 { font-size: 1.45rem; }
.dm-box p, .dm-box li { font-size: 0.95rem; color: var(--ink); line-height: 1.6; }
.dm-box ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.dm-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
body.dm-open { overflow: hidden; }
@media (max-width: 600px) { .dm-box { padding: 22px 18px; } }

/* Social links */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.92rem; background: var(--paper); }
.social a:hover { border-color: var(--green); color: var(--green); }

/* ---------- Spacing pass ---------- */
section.block { padding: 80px 0; }
/* two plain white sections in a row: don't double the gap */
section.block:not(.alt):not(.dark) + section.block:not(.alt):not(.dark) { padding-top: 0; }
/* the page hero is followed by content; give it the same rhythm */
.page-hero + section.block { padding-top: 72px; }
/* stats strip overlaps the hero; leave clear space below it */
.stats-band + section.block { padding-top: 64px; }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-top: 2px; }
.btn-row[style*="margin-top:26px"] { margin-top: 32px !important; }
/* last section before the footer */
main > section.block:last-child { padding-bottom: 96px; }
/* dark band moved to light when it ends a page */
.last-light .eyebrow { color: var(--green) !important; }
.last-light .eyebrow::before { background: var(--green) !important; }
.last-light h2, .last-light h3 { color: var(--navy) !important; }
.last-light p { color: var(--muted) !important; }
.last-light p strong { color: var(--navy) !important; }
.last-light .big-num div { background: var(--paper); border-color: var(--line); }
.last-light .big-num b { color: var(--navy); }
.last-light .big-num span { color: var(--muted); }
.last-light .ticks li::before { border-color: var(--green); }
.last-light .flow .dot { background: var(--navy); color: #fff; }
.last-light .flow b { color: var(--navy); }
.last-light .flow span { color: var(--muted); }
.last-light .steps p { color: var(--muted); }
/* cards: equal inner spacing */
.tile, .card { padding: 24px 22px; }
.grid { gap: 20px; }
@media (max-width: 600px) {
  section.block { padding: 56px 0; }
  main > section.block:last-child { padding-bottom: 64px; }
  .stats-band + section.block { padding-top: 48px; }
  .section-head { margin-bottom: 28px; }
}

section.block.alt + section.block.alt { padding-top: 0; }

/* ================= Animations =================
   fade   – section headings
   fly in – cards and tiles (staggered), spotlight cards fly in from the sides
   float in – hero text on load, numbers strip
   wipe   – page titles and the step flow draw in left to right
   reveal – founder card, number boxes, badges, tables open up
   morph  – hero ring slowly changes shape; icons and buttons morph on hover
   All of it is skipped for visitors who ask for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* page transition */
  main { animation: pageIn 0.55s ease both; }
  @keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

  /* float in: hero on load (pure CSS, always ends visible) */
  .hero .eyebrow, .hero h1, .hero .lead, .hero .btn-row, .hero .hero-tag,
  .page-hero .eyebrow, .page-hero p, .page-hero .btn-row {
    animation: floatIn 0.9s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero h1 { animation-delay: 0.12s; }
  .hero .lead, .page-hero p { animation-delay: 0.26s; }
  .hero .btn-row, .page-hero .btn-row { animation-delay: 0.4s; }
  .hero .hero-tag { animation-delay: 0.55s; }
  @keyframes floatIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  /* morph: hero ring */
  .hero::after, .page-hero .wrap::after { animation: morph 14s ease-in-out infinite alternate; }
  @keyframes morph {
    0%   { border-radius: 50%; transform: rotate(0deg) scale(1); }
    33%  { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(40deg) scale(1.05); }
    66%  { border-radius: 63% 37% 39% 61% / 55% 62% 38% 45%; transform: rotate(90deg) scale(0.97); }
    100% { border-radius: 38% 62% 51% 49% / 64% 36% 64% 36%; transform: rotate(140deg) scale(1.03); }
  }
  .page-hero { position: relative; overflow: hidden; }
  .page-hero .wrap { position: relative; }
  .page-hero .wrap::after {
    content: ""; position: absolute; right: -60px; top: -40px; width: 300px; height: 300px;
    border: 2px solid rgba(47,158,58,0.3); border-radius: 50%; pointer-events: none;
  }
  /* morph on hover */
  .icon, .spot-icon, .btn { transition: border-radius 0.35s ease, background 0.15s, color 0.15s, transform 0.2s; }
  .tile:hover .icon, .card:hover .icon, .spot:hover .spot-icon { border-radius: 50%; }
  .btn:hover { border-radius: 22px; }

  /* scroll-triggered states (only when JS marked the page) */
  html.anim .section-head,
  html.anim .tile, html.anim .card, html.anim .country-tile, html.anim .svc-cat,
  html.anim .who > div, html.anim details, html.anim .spot, html.anim .stats,
  html.anim .page-hero h1, html.anim .flow, html.anim .founder-card,
  html.anim .big-num > div, html.anim .badges, html.anim .callout, html.anim .table-wrap,
  html.anim .prose, html.anim .quote {
    transition: opacity 0.75s cubic-bezier(.2,.7,.2,1), transform 0.75s cubic-bezier(.2,.7,.2,1), clip-path 1s cubic-bezier(.6,.05,.2,1);
    transition-delay: var(--d, 0ms);
  }
  /* fade */
  html.anim .section-head:not(.in), html.anim .prose:not(.in), html.anim .quote:not(.in) { opacity: 0; transform: translateY(16px); }
  /* fly in */
  html.anim :is(.tile, .card, .country-tile, .svc-cat, .who > div, details):not(.in) { opacity: 0; transform: translateY(44px) scale(0.97); }
  html.anim .spot:not(.in) { opacity: 0; transform: translateX(var(--fx, -70px)) rotate(var(--fr, -3deg)); }
  /* float in */
  html.anim .stats:not(.in) { opacity: 0; transform: translateY(34px); }
  /* wipe */
  html.anim :is(.page-hero h1, .flow):not(.in) { clip-path: inset(0 100% 0 0); }
  html.anim :is(.page-hero h1, .flow).in { clip-path: inset(0 0 0 0); }
  /* reveal */
  html.anim :is(.founder-card, .callout, .table-wrap):not(.in) { clip-path: circle(0% at 50% 50%); opacity: 0.4; }
  html.anim :is(.founder-card, .callout, .table-wrap).in { clip-path: circle(150% at 50% 50%); }
  html.anim :is(.big-num > div, .badges):not(.in) { clip-path: inset(100% 0 0 0); }
  html.anim :is(.big-num > div, .badges).in { clip-path: inset(0 0 0 0); }

  /* gentle float on spotlight icons once shown */
  .spot.in .spot-icon { animation: bob 4s ease-in-out 1s infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
}

/* Wide services menu */
.drop-wide .drop-menu { min-width: 520px; grid-template-columns: 1fr 1fr; column-gap: 6px; left: 50%; transform: translateX(-50%); }
.drop-wide:hover .drop-menu, .drop-wide:focus-within .drop-menu, .drop-wide.open .drop-menu { display: grid; }
.drop-wide .drop-menu a:first-child { grid-column: 1 / -1; font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; margin-bottom: 4px; }
@media (max-width: 980px) {
  .drop-wide .drop-menu { min-width: 0; grid-template-columns: 1fr; transform: none; }
}

/* Wipe on the step flow: leave room so the number badges are not cut */
@media (prefers-reduced-motion: no-preference) {
  html.anim .flow:not(.in) { clip-path: inset(-24px 100% -24px -24px); }
  html.anim .flow.in { clip-path: inset(-24px -24px -24px -24px); }
}
.flow { padding-top: 8px; }

/* Founder photo */
.founder-photo { width: 100%; height: auto; aspect-ratio: 10 / 11; object-fit: cover; object-position: center top; border-radius: 12px; border-bottom: 4px solid var(--green); background: var(--mist); }
.founder-card { padding: 18px 18px 24px; }
.founder-card h2 { margin-top: 6px; }

/* Associate partners */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; }
.team-photo { width: 150px; height: auto; aspect-ratio: 10 / 11; object-fit: cover; border-radius: 10px; border-bottom: 3px solid var(--green); background: var(--mist); }
.team-body { display: grid; gap: 10px; }
.team-body h3 { font-size: 1.2rem; }
.team-role { color: var(--green); font-weight: 700; font-size: 0.92rem; }
.team-bio { display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.team-areas li { font-size: 0.92rem; }
@media (max-width: 980px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .team-card { grid-template-columns: 1fr; } .team-photo { width: 160px; } }
@media (prefers-reduced-motion: no-preference) {
  html.anim .team-card { transition: opacity 0.75s cubic-bezier(.2,.7,.2,1), transform 0.75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  html.anim .team-card:not(.in) { opacity: 0; transform: translateY(44px) scale(0.97); }
}

/* Founder facts */
.founder-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.founder-facts > div { background: var(--mist); border-radius: 12px; padding: 18px 18px 16px; display: grid; gap: 10px; align-content: start; }
.founder-facts h3 { font-size: 1rem; }
.founder-facts .ticks li { font-size: 0.93rem; }
.prose .eyebrow { margin-bottom: -4px; }
@media (max-width: 600px) { .founder-facts { grid-template-columns: 1fr; } }

.alt .founder-facts > div { background: var(--paper); border: 1px solid var(--line); }

.founder-facts.one { grid-template-columns: 1fr; }

/* ICSI motto */
.motto-sa { font-family: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", FreeSerif, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); line-height: 1.4; margin-top: 4px; }
.motto-head h2 { margin-top: 0; }
.foot-motto { color: #e6e8f2; font-style: italic; }
.foot-motto span { font-family: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", FreeSerif, serif; font-style: normal; color: #7fd389; margin-right: 6px; }

/* Services-at-a-glance (5-page option) */
.svc-grid { columns: 3 320px; column-gap: 22px; }
.svc-cat { break-inside: avoid; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; display: grid; gap: 12px; scroll-margin-top: 100px; }
.svc-cat h2 { font-size: 1.2rem; }
.svc-names { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.svc-names li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); position: relative; font-size: 0.96rem; color: var(--ink); }
.svc-names li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--green); transform: translateY(-50%); }
.svc-grid { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: start; }
.svc-cat { margin-bottom: 0; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-grid { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: start; }
.svc-cat { margin-bottom: 0; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-more { color: var(--green); font-weight: 700; font-size: 0.92rem; text-decoration: none; margin-top: 2px; }
.svc-more:hover { text-decoration: underline; }

/* ---------- Preloader: "CS" in a spinning ring ---------- */
.preloader { display: none; }
html.anim .preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--navy-deep);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
html.anim .preloader.done { opacity: 0; visibility: hidden; }
.pl-ring { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; }
.pl-ring::before, .pl-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.pl-ring::before { border: 3px solid rgba(255,255,255,0.12); }
.pl-ring::after { border: 3px solid transparent; border-top-color: #7fd389; border-right-color: #7fd389; animation: plSpin 1s linear infinite; }
.pl-cs { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: #fff; letter-spacing: 0.04em; animation: plPulse 1.6s ease-in-out infinite; }
.pl-name { color: #aeb3cf; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.06em; }
@keyframes plSpin { to { transform: rotate(360deg); } }
@keyframes plPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ---------- Hero globe ---------- */
.globe-wrap { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1; justify-self: center; }
.globe-canvas { position: absolute; inset: 9%; width: 82%; height: 82%; }
.globe-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring-line { fill: none; stroke: rgba(127,211,137,0.28); stroke-width: 1; stroke-dasharray: 3 6; }
.ring-text { fill: #cfd3e6; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; letter-spacing: 0.18em; }
.globe-caption { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #d6d9ea; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; }
.globe-caption b { color: #7fd389; }
.hero::after { display: none; } /* the globe replaces the decorative ring */
@media (prefers-reduced-motion: no-preference) {
  .globe-ring { animation: ringSpin 40s linear infinite; }
  @keyframes ringSpin { to { transform: rotate(360deg); } }
  .globe-wrap { animation: floatIn 1s cubic-bezier(.2,.7,.2,1) 0.3s both; }
}
@media (max-width: 980px) { .globe-wrap { width: min(86%, 380px); margin-top: 8px; } }
@media (max-width: 600px) { .ring-text { font-size: 15px; } .globe-caption { font-size: 0.74rem; } }
.globe-canvas { inset: 4%; width: 92%; height: 92%; }
.globe-wrap { margin-bottom: 34px; }
.globe-caption { bottom: -34px; }
.pl-ring { width: 132px; height: 132px; }
.pl-cs { font-size: 2.7rem; }

/* ---------- Hero orbit (replaces the wireframe globe) ---------- */
.orbit-wrap { position: relative; width: min(100%, 470px); aspect-ratio: 1 / 1; justify-self: center; margin: -10px 0 30px; }
.orbit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.orbit-items { position: absolute; inset: 0; }
.o-item {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform;
  padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  background: rgba(29,33,64,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); backdrop-filter: blur(4px);
}
.o-item.loc { border-color: rgba(127,211,137,0.6); }
.o-item.loc::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7fd389; margin-right: 7px; vertical-align: 1px; }
.o-item.hq { background: var(--green); border-color: var(--green); }
.o-item.hq::before { background: #fff; }
.orbit-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none; }
.orbit-center img { width: clamp(70px, 18%, 96px); height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35)); }
.orbit-center span { color: #d6d9ea; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) { .orbit-wrap { animation: floatIn 1s cubic-bezier(.2,.7,.2,1) 0.3s both; } }
@media (max-width: 980px) { .orbit-wrap { width: min(92%, 400px); margin: 10px auto 0; } }
@media (max-width: 600px) { .o-item { font-size: 0.7rem; padding: 5px 10px; } .orbit-center span { font-size: 0.62rem; } }

/* Loader with the MSA logo */
.pl-logo { width: 74px; height: auto; animation: plPulse 1.6s ease-in-out infinite; }
.pl-ring { width: 140px; height: 140px; }
.orbit-text { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.orbit-text text { fill: #cfd3e6; font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; }
@media (prefers-reduced-motion: no-preference) { .orbit-text { animation: ringSpin 60s linear infinite; } }
@media (max-width: 600px) { .orbit-text text { font-size: 14px; } }

/* ---------- Hero message slider ---------- */
.hero-copy { min-width: 0; }
.h-slider { overflow: hidden; margin-top: 14px; }
.h-track { display: flex; transition: transform 0.8s cubic-bezier(.65,.05,.25,1); }
.h-slide { flex: 0 0 100%; min-width: 0; display: grid; gap: 18px; align-content: start; padding-right: 8px; }
.h-slide .h-title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.2; text-wrap: balance; }
.h-slide .lead { margin-top: 0; }
.h-slide .btn-row { margin-top: 8px; }
.h-dots { display: flex; gap: 10px; margin-top: 34px; }
.h-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,0.35); cursor: pointer; transition: width 0.35s ease, background 0.35s ease; }
.h-dot.on { width: 34px; background: #7fd389; }
.h-dot:hover { background: rgba(255,255,255,0.7); }
@media (prefers-reduced-motion: reduce) { .h-track { transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .h-slide.anim-in .h-title, .h-slide .h-title { animation: none; }
}

/* ---------- Hero swirl ---------- */
.swirl-wrap { position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1; justify-self: center; margin: -20px 0 20px; }
.swirl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) { .swirl-wrap { animation: floatIn 1.1s cubic-bezier(.2,.7,.2,1) 0.3s both; } }
@media (max-width: 980px) { .swirl-wrap { width: min(92%, 400px); margin: 0 auto; } }
.h-slide { transition: opacity 0.6s ease; }
.h-slide[aria-hidden="true"] { opacity: 0; }

/* ---------- Hero service dial ---------- */
.dial-wrap { justify-self: center; width: min(100%, 420px); padding: 20px 0; }
.dial { position: relative; width: 100%; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; overflow: visible; display: block; }
.dial .seg { fill: rgba(255,255,255,0.05); stroke: rgba(255,255,255,0.18); stroke-width: 1; transition: fill 0.5s ease, stroke 0.5s ease; }
.dial .seg.on { fill: rgba(127,211,137,0.22); stroke: #7fd389; }
.dial .lbl { fill: #cfd3e6; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-anchor: middle; transition: fill 0.5s ease; }
.dial .lbl.on { fill: #fff; }
.dial-core { position: absolute; left: 50%; top: 50%; width: 39.5%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3c4685, #1d2140); border: 2px solid rgba(127,211,137,0.6); display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; box-shadow: 0 0 40px rgba(127,211,137,0.15); }
.dial-core img { width: 45%; min-width: 50px; }
.dial-name { color: #fff; font-weight: 700; font-size: 0.85rem; min-height: 2.4em; line-height: 1.2; max-width: 120px; transition: opacity 0.3s ease; }
.dial .sweep { transform-origin: 190px 190px; animation: dialspin 16s linear infinite; }
.dial-link { cursor: pointer; outline: none; }
.dial-link:hover .seg, .dial-link:focus-visible .seg { fill: rgba(127,211,137,0.3); stroke: #7fd389; }
.dial-link:focus-visible .seg { stroke-width: 2.5; }
.dial-link:hover .lbl, .dial-link:focus-visible .lbl { fill: #fff; }
.dial .seg, .dial .lbl { pointer-events: auto; }
.dial-core { pointer-events: none; }
.dial-hint { color: #7fd389; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
@keyframes dialspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dial .sweep { animation: none; } .dial .seg, .dial .lbl, .dial-name { transition: none; } }
@media (max-width: 980px) { .dial-wrap { width: min(88%, 380px); margin: 10px auto 0; } }
@media (max-width: 420px) { .dial .lbl { font-size: 12px; } .dial-name { font-size: 0.75rem; } }

/* ---------- Footer profile link ---------- */
.foot-dl { display: inline-flex; align-items: center; gap: 8px; color: #7fd389; font-weight: 700; font-size: 0.92rem; text-decoration: none; justify-self: start; }
.foot-dl::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 11l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 11l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat; }
.foot-dl:hover { text-decoration: underline; }

/* ---------- Contact map ---------- */
.map-card { display: grid; grid-template-columns: 1fr 1.5fr; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px rgba(29,33,64,0.10); border: 1px solid #e3e6ef; }
.map-info { padding: 36px; display: grid; gap: 12px; align-content: center; }
.map-info h2 { font-size: 1.5rem; }
.map-frame { position: relative; min-height: 340px; background: linear-gradient(135deg, #e9ecf3, #dfe3ee); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .map-card { grid-template-columns: 1fr; } .map-info { padding: 26px; } .map-frame { min-height: 280px; } }
@media print { .map-frame iframe { display: none; } }

/* ---------- Map illustration + live map on demand ---------- */
.map-static { position: absolute; inset: 0; display: block; }
.map-art { width: 100%; height: 100%; display: block; }
.map-static .map-art { transition: transform 0.6s ease; }
.map-static:hover .map-art { transform: scale(1.03); }
.map-live { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: #fff; color: var(--navy); border: 1px solid #d7dbe6; border-radius: 999px; padding: 8px 16px; font: 700 0.85rem var(--font-body); cursor: pointer; box-shadow: 0 6px 18px rgba(29,33,64,0.15); }
.map-live:hover { background: var(--navy); color: #fff; }
.map-frame.live .map-static, .map-frame.live .map-live { display: none; }
.map-frame { overflow: hidden; }
/* third associate card centred under the first two */
.team-grid > .team-card:nth-child(odd):last-child { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
@media (max-width: 980px) { .team-grid > .team-card:nth-child(odd):last-child { width: auto; } }
@media (max-width: 760px) { .tb-mail2 { display: none; } }
.wa-float:hover { background: #1e8a39; } .wa-float { transition: background 0.2s; } @media (max-width: 980px) { .wa-float { padding: 14px; } .wa-float svg { width: 26px; height: 26px; } }
.social a img { width: 22px; height: 22px; border-radius: 5px; display: block; }

/* ---------- Justified body text ---------- */
@media (min-width: 640px) {
  main p, main li, .team-bio p, .disclaimer-modal p, .disclaimer-modal li {
    text-align: justify; text-justify: inter-word; hyphens: manual;
  }
  main .h-slide p, main .stat span, main .btn-row, main .chips, main .dial-name,
  main .who div, main .flow li, main .logo-slot, main .eyebrow, main .team-role,
  main .founder-card p, main .map-info p:last-child, main .ticks li,
  main .page-hero p, main .hero p, main .section-head p, main .tile p, main .stat p { text-align: left; }
}

/* ---------- Enquiry form: direct send ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { background: #e8f5ea; color: #1f6b28; border: 1px solid #b9dfbf; border-radius: 10px; padding: 12px 16px; font-weight: 600; margin: 0; text-align: left !important; }
#f-submit[disabled] { opacity: 0.7; cursor: wait; }
