/* ======================================================
   Demand AI · Locations page
   Tokens
   ====================================================== */
:root {
  --brand:      #056e6e;
  --brand-600:  #045858;
  --brand-700:  #034747;
  --brand-300:  #4fb0b0;
  --brand-100:  #e5f2f2;
  --brand-50:   #f3f9f9;

  --ink:        #0b1a1a;
  --ink-2:      #1f3333;
  --muted:      #556b6b;
  --muted-2:    #7a8f8f;
  --line:       #e6ecec;
  --line-2:     #d6dfdf;
  --bg:         #ffffff;
  --bg-soft:    #f7faf9;

  --night:      #04151a;
  --night-2:    #081f24;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  22px;

  --shadow-sm:  0 1px 2px rgba(8,28,28,.04), 0 1px 3px rgba(8,28,28,.06);
  --shadow:     0 10px 30px rgba(8,28,28,.08), 0 2px 6px rgba(8,28,28,.05);
  --shadow-lg:  0 30px 80px rgba(8,28,28,.14), 0 10px 24px rgba(8,28,28,.08);

  --ease:       cubic-bezier(.2,.7,.2,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);

  --container: 1200px;
}

/* ======================================================
   Reset + base
   ====================================================== */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ======================================================
   Navbar
   ====================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(8,28,28,.03), 0 8px 24px rgba(8,28,28,.05);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.nav__logo { width: 40px; height: 40px; flex: none; }
.nav__wordmark {
  font-weight: 800; letter-spacing: .02em; font-size: 22px;
  color: #0a1a1a;
}

.nav__menu { margin-left: auto; }
.nav__menu ul {
  display: flex; align-items: center; gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  text-decoration: none;
  color: #0a1a1a;
  padding: 10px 14px;
  font-weight: 500; font-size: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link--active { color: var(--brand); font-weight: 500; }
.caret {
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}

.nav__toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  border-radius: 10px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav__menu.is-open { max-height: 70vh; }
  .nav__menu ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; }
  .nav__link { padding: 12px 12px; }
  .nav__link--active::after { display: none; }
}

/* ======================================================
   Hero + Globe
   ====================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(100px, 11vw, 170px);
  background: radial-gradient(1100px 600px at 15% -10%, #eaf5f5 0, rgba(234,245,245,0) 60%),
              radial-gradient(900px 500px at 110% 20%, #dff0ef 0, rgba(223,240,239,0) 55%),
              #fbfdfd;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(5,110,110,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5,110,110,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
  opacity: .6;
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; filter: blur(80px); border-radius: 50%;
  opacity: .35; animation: drift 18s var(--ease) infinite alternate;
}
.hero__glow--a { background: #4fb0b0; top: -140px; left: -120px; }
.hero__glow--b { background: #a8e0dc; bottom: -160px; right: -120px; animation-delay: -6s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0); } }

.hero__container {
  position: relative;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__container { grid-template-columns: 1fr; }
}

/* Eyebrow now uses the shared component — see jadro/dai-components.css (.dai-eyebrow) */

.hero__title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 6.2vw, 42px) !important;   /* !important beats jadro mobile h1{25px}; 42px cap keeps "twenty-three cities," on one line in the 981px two-col zone */
  line-height: 1.15 !important;                       /* !important beats jadro mobile h1{line-height:32px}; prevents 3-line overlap */
  letter-spacing: -0.028em;
  margin: 18px 0 18px;
  color: #0a1a1a;
}
.hero__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}
.hero__title-grad {
  font-size: inherit !important;
  background: linear-gradient(100deg, var(--brand) 0%, #0aa0a0 50%, var(--brand-700) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); max-width: 56ch; margin: 0 0 28px;
}

.hero__stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding: 18px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.stat { display: flex; align-items: baseline; gap: 4px; min-width: 80px; }
.stat__num { font-family: "Poppins", sans-serif; font-size: 34px; font-weight: 700; color: #0a1a1a; letter-spacing: -0.02em; }
.stat__suffix { color: var(--muted); font-weight: 600; font-size: 20px; margin-left: 2px; }
.stat__label { margin-left: 12px; color: var(--muted); font-size: 13px; align-self: center; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Globe stage */
.globe-wrap {
  position: relative;
  min-height: 600px;
  /* Push the globe down so city labels above the north pole don't
     run into the site nav, and leave room below for the pause-rotation
     control which is positioned bottom: -84px of .globe-stage. */
  padding: clamp(30px, 5vw, 70px) 0 clamp(60px, 7vw, 95px);
}
.globe-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 800px;
  margin: 0 auto;
}
.globe-stage__halo {
  position: absolute; inset: -12%;
  background:
    radial-gradient(closest-side, rgba(79,176,176,.55), rgba(79,176,176,0) 58%),
    radial-gradient(closest-side, rgba(10,160,160,.22), rgba(10,160,160,0) 72%);
  filter: blur(30px);
  border-radius: 50%;
  animation: pulseHalo 6s var(--ease) infinite alternate;
  z-index: 0;
}
@keyframes pulseHalo {
  0%   { opacity: .75; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.04); }
}
.globe {
  position: absolute; inset: 0;
  z-index: 1;
  filter: drop-shadow(0 26px 44px rgba(2,20,22,.35));
}
.globe canvas { display: block; cursor: grab; }
.globe canvas:active { cursor: grabbing; }

/* ------------------------------------------------------------------
   2D label / leader-line overlay
   — Pins project from 3D, labels live in 2D with collision avoidance,
     SVG leader lines connect each pin to its displaced label.
   ------------------------------------------------------------------ */
.g-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  font-family: inherit;
}
.g-overlay__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.g-overlay__pins,
.g-overlay__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.g-leader {
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1.75;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(79, 176, 176, .6));
  transition: opacity .3s var(--ease), stroke .2s var(--ease), stroke-width .2s var(--ease);
}
.g-leader.is-hover {
  stroke: #fff;
  stroke-width: 2.25;
  filter: drop-shadow(0 0 6px rgba(160, 240, 240, .9));
}

.g-pin {
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #2bd1d1 0%, #0ca5a5 55%, #066868 100%);
  box-shadow:
    0 0 0 2.5px rgba(255, 255, 255, .96),
    0 0 0 4.5px rgba(12, 170, 170, .35),
    0 0 18px rgba(160, 240, 240, .7),
    0 3px 8px rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}
.g-pin.is-hover {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 1),
    0 0 0 6px rgba(79, 176, 176, .5),
    0 0 22px rgba(160, 240, 240, 1),
    0 4px 10px rgba(0, 0, 0, .6);
}

.g-label {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 17px 10px 17px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(5, 110, 110, .2);
  border-radius: 13px;
  font-family: inherit;
  text-align: left;
  white-space: nowrap;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .45),
    0 5px 12px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(5, 110, 110, .04);
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  overflow: hidden;
  transition: opacity .3s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .18s var(--ease);
  will-change: transform, opacity;
}
.g-label::before {
  /* Brand accent bar on left edge */
  content: "";
  position: absolute;
  left: 0; top: 9px; bottom: 9px;
  width: 3.5px;
  background: linear-gradient(180deg, #0caaaa 0%, var(--brand) 100%);
  border-radius: 0 2px 2px 0;
}
.g-label__title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0a1a1a;
  letter-spacing: -.008em;
  line-height: 1.15;
}
.g-label__meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
  opacity: .85;
}
.g-label:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.g-label:hover,
.g-label.is-hover {
  background: linear-gradient(180deg, #056e6e 0%, #034747 100%);
  border-color: rgba(79, 176, 176, .6);
  box-shadow:
    0 18px 36px rgba(5, 110, 110, .55),
    0 4px 12px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  z-index: 6;
}
.g-label:hover .g-label__title,
.g-label.is-hover .g-label__title { color: #ffffff; }
.g-label:hover .g-label__meta,
.g-label.is-hover .g-label__meta { color: rgba(200, 245, 245, .95); opacity: 1; }
.g-label:hover::before,
.g-label.is-hover::before { background: #ffffff; }

@media (max-width: 560px) {
  .g-label { padding: clamp(4px, 1.4vw, 7px) clamp(8px, 2.6vw, 13px); border-radius: 9px; gap: 1px; }
  .g-label__title { font-size: clamp(10px, 3vw, 13px) !important; line-height: 1.12 !important; }
  .g-label__meta  { font-size: clamp(7.5px, 2.2vw, 9.5px) !important; letter-spacing: .1em; }
  .g-label::before { left: 0; top: 5px; bottom: 5px; width: 2px; }
  .g-pin { width: clamp(9px, 3vw, 13px); height: clamp(9px, 3vw, 13px); }
}

/* Region chips — allow a 4-chip wrap on narrow viewports */
.globe-region-switch { flex-wrap: wrap; justify-content: center; row-gap: 4px; }

.globe-controls {
  position: absolute;
  left: 50%; bottom: -84px;
  transform: translateX(-50%);
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  z-index: 2;
}
.globe-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.globe-btn:hover { transform: translateY(-1px); border-color: var(--brand-300); box-shadow: var(--shadow-lg); }
.globe-btn svg { width: 16px; height: 16px; fill: var(--brand); }
.globe-btn .icon-play { display: none; }
.globe-btn[aria-pressed="false"] .icon-pause { display: none; }
.globe-btn[aria-pressed="false"] .icon-play { display: block; }

.globe-region-switch {
  display: inline-flex; gap: 4px;
  background: #fff;
  padding: 4px; border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.chip {
  padding: 8px 14px;
  font-weight: 600; font-size: 13px; letter-spacing: .05em;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { color: var(--brand); }
.chip.is-active { background: var(--brand); color: #fff; }

.globe-hint {
  position: absolute;
  left: 50%; bottom: -72px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  margin: 0;
  opacity: .75;
}

@media (max-width: 600px) {
  .globe-hint { white-space: normal; text-align: center; width: 90%; }
}

/* ======================================================
   Locations section
   ====================================================== */
.locations { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 16px 0 12px;
  color: #0a1a1a;
}
.section-sub { color: var(--muted); font-size: 17px; margin: 0; }

.regions { display: flex; flex-direction: column; gap: 56px; }
.region {
  scroll-margin-top: 100px;
}
.region__head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.region__code {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.02em;
  color: #0a1a1a;
}
.region__name { color: var(--muted); font-size: 15px; }
.region__count {
  margin-left: auto;
  background: var(--brand-50);
  color: var(--brand);
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

/* Location card as <details> */
.loc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  overflow: hidden;
  position: relative;
  scroll-margin-top: 100px;
}
.loc::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px 100px at 20% 0%, rgba(5,110,110,.08), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.loc:hover { border-color: #cfe0df; box-shadow: var(--shadow); }
.loc:hover::before { opacity: 1; }
.loc[open] {
  border-color: var(--brand-300);
  box-shadow: 0 18px 40px rgba(5,110,110,.12), 0 6px 14px rgba(8,28,28,.06);
  grid-column: 1 / -1;
}
.loc[open]::before { opacity: 1; }

.loc__summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}
.loc__summary::-webkit-details-marker { display: none; }

.loc__pin {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(5,110,110,.25), inset 0 1px 0 rgba(255,255,255,.2);
  flex: none;
}
.loc__pin svg { width: 18px; height: 18px; }

.loc__title {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.loc__city { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.loc__sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.loc__chev {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--brand);
  transition: transform .35s var(--ease-out), background .2s var(--ease);
}
.loc[open] .loc__chev { transform: rotate(180deg); background: var(--brand-100); }
.loc__chev svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }

.loc__body {
  padding: 4px 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
}
@media (max-width: 780px) {
  .loc__body { grid-template-columns: 1fr; gap: 20px; }
}

.loc__info h4 {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin: 14px 0 6px;
}
.loc__address { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0; flex: 1 1 auto; }
.loc__address-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.loc__map-btn { flex: 0 0 auto; white-space: nowrap; }
.loc__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px; padding: 6px 10px; border-radius: 999px;
}
.meta-pill svg { width: 12px; height: 12px; color: var(--brand); }
.loc__links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-weight: 600; font-size: 14px;
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.link-btn:hover { border-bottom-color: var(--brand); }
.link-btn svg { width: 14px; height: 14px; }

.team h4 {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin: 14px 0 10px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.team__count { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 0; text-transform: none; }
.team__view-all {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-weight: 600; font-size: 13px;
  text-decoration: none; letter-spacing: 0; text-transform: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.team__view-all:hover { border-bottom-color: var(--brand); transform: translateX(2px); }
.team__view-all svg { width: 13px; height: 13px; }
.team__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.member {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.member:hover { transform: translateY(-1px); border-color: var(--brand-300); background: #fff; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  font-size: 14px; letter-spacing: .02em;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.member__meta { min-width: 0; }
.member__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.member__role { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* details animation */
.loc[open] .loc__body { animation: expand .35s var(--ease-out) both; }
@keyframes expand {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   Connect section
   ====================================================== */
.connect {
  padding: clamp(80px, 10vw, 140px) 0;
  color: #e9f6f5;
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(79,176,176,.22), transparent 60%),
    radial-gradient(700px 500px at 110% 100%, rgba(4,88,88,.4), transparent 55%),
    linear-gradient(180deg, #02181a 0%, #051f21 100%);
}
.connect::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.connect__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .connect__grid { grid-template-columns: 1fr; gap: 40px; } }

.connect__title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.028em;
  margin: 14px 0 12px;
  color: #fff;
}
.connect__sub { color: #bfd8d6; max-width: 46ch; margin: 0 0 24px; font-size: 17px; }
.connect__meta {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  max-width: 340px;
}
.connect__meta li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  border-radius: 14px; backdrop-filter: blur(10px);
}
.connect__meta strong { color: #fff; font-size: 14px; }
.connect__meta span { color: var(--brand-300); font-size: 14px; font-weight: 500; }

.connect__form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 28px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field span {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #bfd8d6;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-300);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(79,176,176,.2);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23bfd8d6' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* ======================================================
   Footer
   ====================================================== */
.foot { background: #fbfdfd; border-top: 1px solid var(--line); padding: 26px 0; }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.foot__brand strong { color: var(--ink); letter-spacing: .14em; font-weight: 800; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--brand); }

/* ======================================================
   Small touches
   ====================================================== */
@media (max-width: 600px) {
  .hero__stats { gap: 18px; }
  .stat__num { font-size: 28px; }
  .nav__wordmark { font-size: 17px; }

  /* Phone-accurate location card text sizes.
     !important is required to override the jadro theme's blanket mobile
     rules (h1-h5 -> 25px, span/div/p -> 14px) at @media (max-width:768px). */
  .loc__city { font-size: 15px !important; line-height: 1.25 !important; }
  .loc__sub { font-size: 12px !important; line-height: 1.4 !important; }
  .loc__info h4, .team h4 { font-size: 11px !important; line-height: 1.4 !important; }
  .loc__address { font-size: 13.5px !important; line-height: 1.5 !important; }
  .meta-pill { font-size: 12px !important; }
  .team__count, .team__view-all { font-size: 12px !important; }
  .member__name { font-size: 13px !important; line-height: 1.3 !important; }
  .member__role { font-size: 11.5px !important; line-height: 1.3 !important; }
  .avatar { width: 34px; height: 34px; font-size: 13px !important; }
}

/* ======================================================
   WP-theme integration: kill the gap between the site nav
   and the hero, and ensure header / main have no extra spacing.
   ====================================================== */
.wp-site-blocks > header.wp-block-template-part { margin-bottom: 0 !important; }
.wp-site-blocks > main#main,
body main#main { margin: 0 !important; padding: 0 !important; }
.hero { padding-top: 0; }
.hero .dai-eyebrow { margin-top: clamp(44px, 8vw, 56px); }

/* ======================================================
   Mobile-only hero tweaks (phones)
   - Trim the dead space below the globe's pause control
     (min-height:600px + bottom paddings left a big gap).
   ====================================================== */
@media (max-width: 600px) {
  .globe-wrap { min-height: 0; padding-bottom: 100px; }
  .hero { padding-bottom: 28px; }
}

/* ======================================================
   Stacked hero (globe drops below the copy at <=980px)
   - Centre the whole hero block (eyebrow, heading, lede,
     stats and CTAs).
   - Let the heading grow a little now that it has the full
     page width (kept under the no-wrap limit so it stays 3
     lines). Capped back to 42px above 980px where the copy
     shares a narrow two-column track.
   ====================================================== */
@media (max-width: 980px) {
  .hero__copy { text-align: center; }
  .hero__copy .dai-eyebrow { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
  .hero__title { text-align: center; font-size: clamp(40px, 6.4vw, 52px) !important; }
  .hero__lede { text-align: center; margin-left: auto; margin-right: auto; }
  .hero__stats { justify-content: center; }
  .hero__cta { justify-content: center; }
}

