/* =====================================================================
   Go2Group hub - styles
   ---------------------------------------------------------------------
   BRAND COLOURS live in the :root block below (taken from the official
   Go2Group banner). Change a colour here and it updates everywhere.
   The rest of this file is layout: you normally won't need to touch it.
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* ---- Group colours ---- */
  --navy: #021633;          /* main dark background */
  --glow: #013260;          /* lighter navy for glows and strips */
  --navy-card: #06224a;     /* cards on dark backgrounds */
  --footer: #010f24;
  --on-dark: #E8F0FA;       /* text on dark */
  --on-dark-muted: #A5B8D0;
  --dark-line: rgba(160, 190, 230, 0.18);
  --ink: #0F172A;           /* text on light */
  --muted: #475569;
  --surface: #F7F9FC;       /* light section background */
  --mist: #EDF2F8;          /* alternate light background */
  --line: #D6DFEA;
  --white: #FFFFFF;
  --focus: #00B8F8;

  /* ---- Business colours (bright = on dark, deep = text on light) ---- */
  --hr: #10D9A5;     --hr-deep: #0F766E;
  --talent: #0A84F0; --talent-deep: #0659B8;
  --tech: #8B2FE8;   --tech-bright: #B98CFF; --tech-deep: #6D28D9;
  --travel: #F59000; --travel-deep: #B45309;
  --work: #00CDEB;   --work-deep: #0E7490;

  /* ---- The "2" gradient ---- */
  --sig: linear-gradient(135deg, #22E3B0 0%, #00B8F8 50%, #0A6CF0 100%);

  /* ---- Type & shape ---- */
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 16px;
  color-scheme: light;
}

/* Accent system: each business sets its colours; light/dark areas pick the readable shade */
.acc-hr     { --acc: var(--hr);     --acc-deep: var(--hr-deep);     --acc-bright: var(--hr); }
.acc-talent { --acc: var(--talent); --acc-deep: var(--talent-deep); --acc-bright: #3BA2FF; }
.acc-tech   { --acc: var(--tech);   --acc-deep: var(--tech-deep);   --acc-bright: var(--tech-bright); }
.acc-travel { --acc: var(--travel); --acc-deep: var(--travel-deep); --acc-bright: var(--travel); }
.acc-work   { --acc: var(--work);   --acc-deep: var(--work-deep);   --acc-bright: var(--work); }
[class*="acc-"] { --acc-text: var(--acc-deep); }
.dark [class*="acc-"], .site-header [class*="acc-"], .drawer [class*="acc-"], .footer [class*="acc-"], .contact-left [class*="acc-"], .structure .st-top [class*="acc-"] { --acc-text: var(--acc-bright); }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.grad-hr { stroke: url(#g-hr); } svg.i.grad-talent { stroke: url(#g-talent); } svg.i.grad-tech { stroke: url(#g-tech); }
svg.i.grad-travel { stroke: url(#g-travel); } svg.i.grad-work { stroke: url(#g-work); } svg.i.grad-sig { stroke: url(#g-sig); }
svg.i.sm { width: 16px; height: 16px; }
svg.i.lg { width: 30px; height: 30px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.sel { user-select: all; }

.wrap {
  width: 100%; max-width: 1264px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1200px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.band { position: relative; overflow: hidden; }
.band > .wrap { padding-block: clamp(56px, 8vw, 112px); position: relative; z-index: 1; }
.dark { background: var(--navy); color: var(--on-dark); }
.dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(60% 70% at 50% 40%, rgba(1, 50, 96, 0.85), transparent 70%); }
.dark h1, .dark h2 { color: var(--white); }
.light { background: var(--surface); color: var(--ink); }
.mist { background: var(--mist); color: var(--ink); }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.dark .eyebrow, .footer .eyebrow, .drawer .eyebrow, .contact-left .eyebrow { color: var(--on-dark-muted); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.dark .lede, .contact-left .lede { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head.centered { margin-inline: auto; text-align: center; justify-items: center; }
.ph { background: rgba(245, 144, 0, 0.16); color: var(--travel-deep); border-radius: 4px; padding: 0 4px; font-weight: 600; font-size: 0.92em; }
.dark .ph, .footer .ph, .contact-left .ph, .proof .ph { color: #FFC36B; }

/* ---------- Wordmarks ---------- */
.wm { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.wm .two { display: inline-block; font-size: 1.12em; line-height: 0.9; }
.wm .two.sig { background: var(--sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm .two.acc-two { color: var(--acc-text); }
.uline { display: block; width: 32px; height: 2px; border-radius: 2px; margin-top: 6px; background: var(--acc); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--white); color: var(--navy); }
.light .btn-primary, .mist .btn-primary, .form-card .btn-primary { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--on-dark); border-color: rgba(232, 240, 250, 0.4); }
.btn-outline:hover { border-color: var(--on-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-ghost:hover { border-color: var(--acc, var(--navy)); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--talent-deep); min-height: 44px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(2, 22, 51, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-line); color: var(--on-dark);
}
.site-header > .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { font-size: 1.6rem; text-decoration: none; color: var(--white); display: inline-flex; align-items: center; }
.logo-img { height: 38px; width: auto; }
.nav { display: none; gap: 4px; align-items: center; margin-left: auto; }
.nav a, .nav button {
  background: none; border: 0; color: var(--on-dark); font: 500 15px var(--body);
  padding: 10px 14px; border-radius: 999px; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}
.nav a:hover, .nav button:hover, .nav button[aria-expanded="true"] { background: rgba(255, 255, 255, 0.08); }
.nav .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-cta { display: none; }
.menu-btn { margin-left: auto; background: none; border: 1px solid var(--dark-line); color: var(--on-dark); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 1024px) { .nav { display: flex; } .header-cta { display: inline-flex; } .site-header .menu-btn { display: none; } }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--dark-line); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.mega .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 24px; }
.mega a { display: grid; gap: 6px; padding: 18px 20px; text-decoration: none; color: var(--on-dark); border-left: 1px solid var(--dark-line); transition: background-color .15s; }
.mega a:first-child { border-left: 0; }
.mega a:hover { background: rgba(255, 255, 255, 0.05); }
.mega .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mega .wm { font-size: 1.35rem; }
.mega .tag { font-size: 13px; color: var(--on-dark-muted); }
.mega code { font-size: 12px; color: var(--on-dark-muted); font-family: var(--mono); overflow-wrap: anywhere; }

.drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--navy); color: var(--on-dark);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.drawer[hidden] { display: none; }
.drawer-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer nav { display: grid; gap: 2px; }
.drawer nav a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.drawer nav a:hover { background: rgba(255, 255, 255, 0.06); }
.drawer-label { margin: 18px 12px 6px; }
.drawer-cta { margin-top: 28px; width: 100%; }

/* ---------- Hero ---------- */
.ribbons { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.rib { position: absolute; width: min(70vw, 760px); height: auto; opacity: 0.55; }
.rib.tl { top: -40px; left: -80px; }
.rib.br { bottom: -60px; right: -100px; transform: rotate(180deg); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero.has-bg::after { background: linear-gradient(100deg, rgba(2, 22, 51, 0.96) 0%, rgba(2, 22, 51, 0.82) 55%, rgba(2, 22, 51, 0.7) 100%); z-index: 0; }
.hero > .wrap { display: grid; gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 88px); z-index: 2; }
@media (min-width: 1024px) { .hero > .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: clamp(2.6rem, 4.2vw + 1rem, 4.6rem); font-weight: 800; line-height: 1.02; margin: 18px 0 22px; }
.grad { background: var(--sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; display: none; }
@media (min-width: 640px) { .orbit { display: block; } }
.ring { position: absolute; inset: 10%; border-radius: 50%; border: 1px dashed rgba(165, 184, 208, 0.35); animation: spin 60s linear infinite; }
.ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--focus); box-shadow: 0 0 18px var(--focus); }
.ring2 { inset: 28%; border-style: solid; border-color: rgba(165, 184, 208, 0.12); animation-direction: reverse; animation-duration: 90s; }
.ring2::before { background: var(--hr); box-shadow: 0 0 14px var(--hr); width: 7px; height: 7px; top: -4px; margin-left: -3.5px; }
.orbit:hover .ring, .orbit:focus-within .ring { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #0b3d78, var(--navy) 70%);
  border: 1px solid rgba(0, 184, 248, 0.35); box-shadow: 0 0 60px rgba(0, 184, 248, 0.25), inset 0 0 30px rgba(0, 184, 248, 0.15);
}
.core .wm { font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: var(--white); }
.node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--on-dark); font-size: 13px; font-weight: 600; }
.node .dot { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(6, 34, 74, 0.92); border: 1px solid var(--dark-line); transition: transform .2s, border-color .2s; }
.node .dot svg.i { width: 28px; height: 28px; }
.node:hover .dot, .node:focus-visible .dot { transform: scale(1.08); border-color: rgba(255, 255, 255, 0.4); }
.n1 { left: 50%; top: 10%; } .n2 { left: 88%; top: 37.6%; } .n3 { left: 73.5%; top: 82.4%; } .n4 { left: 26.5%; top: 82.4%; } .n5 { left: 12%; top: 37.6%; }
.pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .hero .pills { display: none; } }
.pills a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--dark-line); background: rgba(6, 34, 74, 0.75); text-decoration: none; font-weight: 600; font-size: 14px; min-height: 48px; color: var(--on-dark); }
.pills a:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }

/* ---------- World map with connections from South Africa ---------- */
.worldmap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; container-type: size; }
.worldmap-inner { position: absolute; --mw: 250cqw; width: var(--mw); aspect-ratio: 3600 / 1340; left: calc(50cqw - 0.578 * var(--mw)); bottom: 0; }
@media (min-width: 640px) { .worldmap-inner { --mw: 165cqw; left: calc(55cqw - 0.578 * var(--mw)); } }
@media (min-width: 1024px) { .worldmap-inner { --mw: 98cqw; left: calc(63cqw - 0.578 * var(--mw)); top: 50%; bottom: auto; transform: translateY(-46%); } }
.worldmap img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; }
.worldmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc { fill: none; stroke: #22D3EE; stroke-opacity: 0.55; stroke-width: 4; }
.pulse { fill: none; stroke: #9BF6FF; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 6 100; stroke-dashoffset: 6; filter: url(#glow); animation: travel 4.2s linear infinite; }
.pulse.p1 { animation-delay: .7s; } .pulse.p2 { animation-delay: 1.4s; } .pulse.p3 { animation-delay: 2.1s; } .pulse.p4 { animation-delay: 2.8s; } .pulse.p5 { animation-delay: 3.5s; }
@keyframes travel { from { stroke-dashoffset: 6; } to { stroke-dashoffset: -100; } }
.city { fill: #B8FBFF; }
.city-glow { fill: #00CDEB; opacity: 0.22; }
.origin { fill: var(--hr); }
.origin-ring { fill: none; stroke: var(--hr); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.origin-ring.r2 { animation-delay: 1.3s; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse, .origin-ring { display: none; } }
/* Keep the heading readable over the map */
.hero.has-map::after { background: linear-gradient(180deg, rgba(2, 22, 51, 0.92) 0%, rgba(2, 22, 51, 0.75) 45%, rgba(2, 22, 51, 0.15) 100%); }
@media (min-width: 1024px) { .hero.has-map::after { background: linear-gradient(90deg, rgba(2, 22, 51, 0.95) 0%, rgba(2, 22, 51, 0.7) 38%, rgba(2, 22, 51, 0) 62%), radial-gradient(70% 60% at 65% 50%, rgba(1, 50, 96, 0.35), transparent 70%); } }
/* Without the orbit, the business shortcuts show on phones and tablets */
@media (min-width: 640px) and (max-width: 1023px) { .hero.no-orbit .pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero.no-orbit .pills a:last-child:nth-child(odd) { grid-column: auto; justify-content: flex-start; } }
@media (max-width: 1023px) { .hero.has-map > .wrap { padding-bottom: clamp(230px, 50vw, 400px); gap: 32px; } }
@media (min-width: 1024px) { .hero.has-map.no-orbit > .wrap { min-height: clamp(520px, 44vw, 640px); } }

.proof { background: var(--glow); color: var(--on-dark); border-top: 1px solid var(--dark-line); position: relative; z-index: 1; }
.proof ul { list-style: none; margin: 0; padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.proof li { padding: 4px 22px; font-size: 14.5px; font-weight: 500; border-left: 1px solid var(--dark-line); }
.proof li:first-child { border-left: 0; }
@media (max-width: 639px) { .proof li { border-left: 0; width: 100%; text-align: center; padding: 2px 0; } }

/* ---------- Solutions ---------- */
.sol-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sol-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sol-grid > * { grid-column: span 2; }
  .sol-grid.count-5 > :nth-child(4), .sol-grid.count-5 > :nth-child(5) { grid-column: span 3; }
  .sol-grid.count-4 > * { grid-column: span 3; }
}
.sol { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
@media (hover: hover) { .sol:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(2, 22, 51, 0.35); border-color: #c2cfdf; } }
.sol-img { aspect-ratio: 16 / 9; background: var(--mist); }
.sol-img img { width: 100%; height: 100%; object-fit: cover; }
.sol-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sol-head { display: flex; align-items: center; gap: 14px; }
.tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); flex: none; }
.tile svg.i { width: 26px; height: 26px; }
.sol .wm { font-size: 1.55rem; color: var(--ink); line-height: 1; }
.sol .eyebrow { margin-top: 4px; font-size: 11.5px; }
.desc { color: var(--muted); }
.sol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sol li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.tick { width: 18px !important; height: 18px !important; margin-top: 3px; stroke-width: 2.4 !important; color: var(--acc-deep); }
.sol-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.visit { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--acc-deep); }
.visit:hover { text-decoration: underline; text-underline-offset: 4px; }
.badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); white-space: nowrap; }

/* ---------- Audience router ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--dark-line); margin-bottom: 32px; max-width: 100%; }
.tabs button { background: none; border: 0; color: var(--on-dark-muted); font: 600 15px var(--body); padding: 12px 20px; border-radius: 999px; cursor: pointer; min-height: 46px; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); }
@media (max-width: 639px) { .tabs { display: grid; width: 100%; border-radius: 18px; } .tabs button { border-radius: 12px; } }
.route-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .route-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .route-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.route { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: rgba(6, 34, 74, 0.8); border: 1px solid var(--dark-line); text-decoration: none; color: var(--on-dark); transition: border-color .2s, transform .2s; }
.route:hover { border-color: rgba(255, 255, 255, 0.35); transform: translateY(-2px); }
.route .wm { font-size: 1.3rem; }
.route p { color: var(--on-dark-muted); font-size: 15px; }
.route .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--acc-text, var(--on-dark)); }
.route.featured { grid-column: 1 / -1; padding: 32px; background: linear-gradient(135deg, rgba(0, 205, 235, 0.16), rgba(6, 34, 74, 0.85) 60%); }
.route.featured .wm { font-size: 1.8rem; }
.panel-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--on-dark-muted); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- How we work ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--sig); border-radius: 2px; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--acc, var(--navy)); color: var(--acc-text, var(--navy)); display: grid; place-items: center; font: 800 15px var(--display); position: relative; z-index: 1; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step .tag { display: inline-flex; margin-top: 10px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--acc-text, var(--ink)); }
@media (min-width: 1024px) {
  .timeline.count-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .timeline.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .timeline.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .timeline.count-5::before, .timeline.count-4::before, .timeline.count-3::before { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .timeline.count-5 .step, .timeline.count-4 .step, .timeline.count-3 .step { grid-template-columns: 1fr; }
}
.benefits { display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefits h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefits p { color: var(--muted); font-size: 15px; }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video { margin: 0; display: grid; gap: 12px; }
.facade, .video iframe { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--dark-line); overflow: hidden; background: var(--navy-card); padding: 0; cursor: pointer; display: block; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.facade-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: var(--white); background: radial-gradient(circle at 30% 30%, #0b3d78, var(--navy) 70%); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform .2s; }
.play svg.i { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.facade:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video figcaption { display: grid; gap: 4px; }
.video figcaption strong { font-family: var(--display); font-size: 1.1rem; color: var(--white); }
.video figcaption span { color: var(--on-dark-muted); font-size: 14.5px; }
.video-note { margin-top: 24px; font-size: 13px; color: var(--on-dark-muted); }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .values > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .values.count-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .values.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .values.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values > :last-child:nth-child(odd) { grid-column: auto; }
}
.value { padding: 28px 24px; display: grid; justify-items: center; align-content: start; text-align: center; gap: 12px; border-top: 1px solid var(--dark-line); }
@media (min-width: 1024px) { .value { border-top: 0; border-left: 1px solid var(--dark-line); } .value:first-child { border-left: 0; } }
.val-icon { width: 44px !important; height: 44px !important; stroke-width: 1.5 !important; color: var(--acc-bright); }
.value h3 { font: 600 14px var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.value .bar { width: 40px; height: 3px; border-radius: 3px; background: var(--acc); }
.value p { color: var(--on-dark-muted); font-size: 14.5px; max-width: 28ch; }

/* ---------- Promo banner ---------- */
.promo { position: relative; overflow: hidden; background: var(--glow); color: var(--on-dark); }
.promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 22, 51, 0.94), rgba(2, 22, 51, 0.6)); }
.promo .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 96px); }
.promo-inner { max-width: 640px; display: grid; gap: 16px; justify-items: start; }
.promo h2 { color: var(--white); }
.promo p { color: var(--on-dark-muted); font-size: 1.1rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } .about-grid.single { grid-template-columns: 1fr; } }
.about-text { display: grid; gap: 18px; }
.about-text p { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.about-text strong { color: var(--ink); }
.about-side { display: grid; gap: 20px; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.founder { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.who { display: flex; gap: 16px; align-items: center; }
.avatar, .avatar-img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.avatar { background: var(--navy); color: var(--white); display: grid; place-items: center; font: 800 1.4rem var(--display); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--focus); }
.avatar-img { object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--focus); }
.role { color: var(--muted); font-size: 14px; }
.founder > p { color: var(--muted); font-size: 15px; }

.structure { margin-top: clamp(48px, 6vw, 72px); }
.st-top { display: flex; justify-content: center; }
.boxn { padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); display: grid; justify-items: center; gap: 2px; text-decoration: none; min-width: 0; color: var(--ink); }
.st-top .boxn { background: var(--navy); color: var(--white); border-color: var(--navy); }
.boxn .wm { font-size: 1.25rem; }
.boxn code { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.st-top .boxn code { color: var(--on-dark-muted); }
.stem { width: 2px; height: 28px; background: var(--line); margin: 0 auto; }
.children { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; position: relative; }
.children .boxn { border-top: 3px solid var(--acc); }
.children .boxn:hover { border-color: var(--acc); }
@media (min-width: 900px) {
  .children.count-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 28px; }
  .children.count-5::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--line); }
  .children.count-5 .boxn { position: relative; }
  .children.count-5 .boxn::before { content: ""; position: absolute; top: -31px; left: 50%; width: 2px; height: 28px; background: var(--line); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { transition: transform .2s; color: var(--muted); }
.faq details[open] summary svg.i { transform: rotate(180deg); }
.ans { padding: 0 22px 20px; color: var(--muted); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { display: grid; scroll-margin-top: 72px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 0.9fr 1.1fr; } }
.contact-left { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.contact-left::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 20% 30%, rgba(1, 50, 96, 0.9), transparent 70%); pointer-events: none; }
.contact-right { background: var(--surface); }
.contact .inner {
  position: relative; z-index: 1; padding-block: clamp(56px, 7vw, 104px);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { .contact .inner { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1024px) {
  .contact-left .inner { max-width: 560px; margin-left: auto; padding-right: 56px; position: sticky; top: 72px; }
  .contact-right .inner { max-width: 700px; padding-left: 56px; }
}
.contact-left h2 { margin: 14px 0 16px; color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
.contact-list svg.i { color: var(--work); }
.contact-list .k { font-size: 12.5px; color: var(--on-dark-muted); display: block; }
.contact-list .v { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a.v:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); box-shadow: 0 30px 60px -40px rgba(2, 22, 51, 0.35); }
.zoho-wrap { position: relative; }
.zoho-wrap iframe { display: block; width: 100%; border: 0; border-radius: 12px; position: relative; z-index: 1; background: transparent; }
.zoho-skeleton { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(90deg, var(--mist) 25%, #f6f9fc 50%, var(--mist) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.zoho-wrap.loaded .zoho-skeleton { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.form-soon { display: grid; gap: 16px; justify-items: start; padding: 12px 4px; color: var(--muted); }
.form-soon svg.i { color: var(--talent-deep); }
.form-fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-fine a { color: var(--talent-deep); font-weight: 600; }
.careers { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .careers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .careers > :only-child { grid-column: 1 / -1; } }
.career { display: grid; gap: 6px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.career:hover { border-color: #b8c7da; }
.career strong { font-family: var(--display); font-size: 1.05rem; }
.career span { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--on-dark-muted); }
.footer .wrap { padding-block: 64px calc(32px + env(safe-area-inset-bottom, 0px)); }
.fcols { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .fcols { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } }
.fbrand { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 360px; align-content: start; }
@media (min-width: 900px) { .fbrand { grid-column: auto; } }
.fbrand .logo { font-size: 1.8rem; }
.fbrand p:last-child { font-size: 14.5px; }
.fhead { font: 600 12.5px var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.fcols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.fcols li { min-width: 0; overflow-wrap: anywhere; }
.fcols a { text-decoration: none; }
.fcols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.fbottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
.totop { color: var(--on-dark); text-decoration: none; }

/* ---------- Legal pages ---------- */
.legal > .wrap { padding-block: clamp(40px, 6vw, 80px); }
.legal-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; } }
.legal-main { min-width: 0; }
.legal h1 { font-size: clamp(2.1rem, 2.6vw + 1rem, 3.1rem); font-weight: 800; margin: 12px 0 8px; }
.updated { color: var(--muted); font-size: 14px; }
.draft-banner { margin: 24px 0 8px; padding: 14px 18px; border-radius: 12px; background: #FFF4E0; color: #6B3A00; border: 1px solid #F5D49A; font-size: 15px; }
.prose { margin-top: 24px; font-size: 1.02rem; max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.prose h4 { font: 600 1rem var(--body); margin: 1.4em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; color: #1e293b; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--talent-deep); font-weight: 500; }
.prose .note { margin: 0 0 1em; padding: 14px 18px; border-left: 3px solid var(--focus); background: var(--mist); border-radius: 0 10px 10px 0; color: var(--muted); }
.toc { position: sticky; top: 96px; align-self: start; display: none; }
@media (min-width: 1024px) { .toc { display: block; } }
.toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 14px; border-left: 2px solid var(--line); }
.toc a { display: block; padding-left: 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); border-left-color: var(--focus); }

/* ---------- 404 ---------- */
.notfound > .wrap { padding-block: clamp(80px, 12vw, 160px); z-index: 2; }
.notfound h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); font-weight: 800; margin: 14px 0 18px; }
.nf-pills { margin-top: 40px; max-width: 640px; }
@media (min-width: 640px) { .nf-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nf-pills a:last-child:nth-child(odd) { grid-column: auto; justify-content: flex-start; } }
