/* Attriboots Sphere Company */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-700.woff2") format("woff2"); }

:root {
  --ground: #000;
  --surface: #0a101d;
  --surface-2: #101a2e;
  --navy: #0b2352;
  --navy-deep: #06142f;
  --teal: #33b8b8;
  --teal-deep: #0a7f86;
  --text: #fff;
  --text-2: #b4bbc9;
  --text-3: #8d96a8;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);

  /* Day palette: logo navy and teal, city-light gold, horizon coral */
  --day: #f3f7f7;
  --paper: #fff;
  --ink: #0b2352;
  --ink-2: #43547a;
  --ink-3: #56668a;
  --ink-line: rgba(11, 35, 82, 0.12);
  --navy-hi: #16377a;
  --teal-text: #077a80;
  --gold: #f6b73c;
  --gold-hi: #ffc859;
  --coral: #ff7056;

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.75rem, 1.35rem + 4.1vw, 4.75rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --nav-h: 72px;
  --section-y: clamp(88px, 5vw + 56px, 144px);
  --radius: 12px;
  --radius-sm: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.05;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: #fff; color: #000; font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 28px;
  border: 0; border-radius: var(--radius-sm);
  font: 600 var(--fs-small) / 1 var(--font);
  letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hi); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy-hi); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-sm { min-height: 36px; padding: 0 18px; font-size: 0.875rem; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 12, 30, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 44px;
  height: var(--nav-h);
  padding-inline: clamp(20px, 2.4vw, 36px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: auto; height: 32px; }
.brand-word { width: auto; height: 17px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: var(--fs-small); font-weight: 500; text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  padding-block: 8px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.2s ease, background-size 0.3s var(--ease-out);
}
.nav-links a:hover { color: #fff; background-size: 100% 1px; }
.nav-cta { margin-left: auto; }
.nav.is-open { background: #000; border-bottom-color: var(--line); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  position: relative;
}
.nav-toggle-bar {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.nav-toggle-bar:nth-of-type(2) { top: 18px; }
.nav-toggle-bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: #000;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  padding-block: 14px; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; min-height: 52px; }

/* Hero */
.hero {
  position: relative;
  min-height: max(100svh, 700px);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-globe {
  --g: min(124vh, 1240px, 128vw);
  position: absolute; z-index: -2;
  width: var(--g); aspect-ratio: 1;
  right: calc(var(--g) * -0.25);
  top: 50%;
  transform: translateY(-47%);
}
.globe-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(circle at 49.67% 50.21%, #000 42.2%, transparent 43.4%);
  mask-image: radial-gradient(circle at 49.67% 50.21%, #000 42.2%, transparent 43.4%);
}
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-front { z-index: 1; }
.ring { fill: none; vector-effect: non-scaling-stroke; }
.ring-teal { stroke: var(--teal); stroke-width: 2; }
.ring-faint { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.node-ring { fill: #041018; stroke: var(--teal); stroke-width: 7; }
.node-core { fill: #fff; }
.node-back > circle { opacity: 0.85; }

.hero-fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 30%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 22%);
}

.hero-content { padding-block: calc(var(--nav-h) + 48px) 72px; }
.hero-title { font-size: var(--fs-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.018em; }
.hero-title .line { display: block; }
.hue--gold { color: var(--gold); }
.hue--teal { color: var(--teal); }
.hue--coral { color: var(--coral); }
.hero-sub {
  max-width: 34rem; margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  color: var(--text-2);
}
.hero-figure { margin-top: 28px; }
.hero-figure .label { max-width: 24rem; }
.figure { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; line-height: 1; }
.figure-num { font-size: clamp(3rem, 2.4rem + 1.6vw, 3.75rem); font-weight: 600; letter-spacing: -0.02em; }
.figure-unit { font-size: 1.25rem; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Map pins */
.pin { position: absolute; width: 0; height: 0; }
.pin-dot {
  position: absolute; left: -5px; top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55);
}
.pin-dot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--teal); opacity: 0;
  animation: pin-pulse 2.8s var(--ease-out) infinite;
}
.pin-label {
  position: absolute; left: 18px; top: -9px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; line-height: 1.3;
}
.pin-label span { display: block; font-weight: 500; letter-spacing: 0.04em; color: var(--text-2); }
@keyframes pin-pulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Load choreography: the orbit draws, the planet settles, the headline rises */
@media (prefers-reduced-motion: no-preference) {
  .globe-img { animation: globe-in 1.8s var(--ease-out) both; }
  .ring-teal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring-draw 2.2s 0.3s var(--ease-out) forwards; }
  .node, .pin--hero { animation: fade-in 0.8s 1.6s ease both; }
  .hero-title .line { animation: rise-in 1.1s var(--ease-out) both; }
  .hero-title .line:nth-child(2) { animation-delay: 0.08s; }
  .hero-title .line:nth-child(3) { animation-delay: 0.16s; }
  .hero-sub, .hero-figure, .hero-actions { animation: rise-in 1.1s 0.28s var(--ease-out) both; }
}
@keyframes globe-in { from { opacity: 0; transform: scale(1.05); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { transform: translateY(14px); } to { transform: none; } }

/* Section themes: night bands stay black; the day runs light and colour-blocked */
.section--day { background: var(--day); color: var(--ink); --focus: var(--ink); }
.section--paper { background: var(--paper); color: var(--ink); --focus: var(--ink); }
.section--teal { background: var(--teal); color: var(--ink); --focus: var(--ink); }
.section--navy { background: var(--navy); --focus: var(--gold); }
.section--day .section-head p, .section--paper .section-head p { color: var(--ink-2); }
.section--teal .section-head p { color: var(--ink); }

/* Horizon edges: sunrise where the day begins, dusk where it ends */
.edge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  height: clamp(44px, 7vw, 110px);
  pointer-events: none;
}
.edge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.edge-glow { filter: blur(14px); opacity: 0.9; }
.edge-glow path { fill: none; stroke: var(--coral); stroke-width: 16; vector-effect: non-scaling-stroke; }
.edge-fill { fill: var(--edge-fill); }
.edge-line { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.edge--dawn { --edge-fill: var(--day); }
.edge--dusk { --edge-fill: #000; }

/* Orbit glyph: the logo's sphere, ring and node, redrawn per card */
.glyph { display: block; width: 64px; aspect-ratio: 1; }
.glyph svg { width: 100%; height: 100%; overflow: visible; }
.gl-sphere { fill: var(--gl-sphere); }
.gl-lat { fill: none; stroke: var(--gl-lat); stroke-width: 1.2; }
.gl-ring { fill: none; stroke: var(--gl-ring); stroke-width: 2.2; stroke-linecap: round; }
.gl-node-disc { fill: var(--gl-node); }
.gl-node-core { fill: var(--gl-core); }

/* Section heads */
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 4vw, 64px); }
.section-head p { margin-top: 20px; color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* About / pillars */
.about {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  isolation: isolate;
}
.wire {
  position: absolute; z-index: -1;
  left: 50%; top: 58%;
  width: min(1100px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 400px; padding: 32px;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.pillar .glyph { width: 84px; margin: -14px 0 14px -10px; }
.pillar h3 { font-size: 1.375rem; }
.pillar p { margin-top: 14px; font-size: var(--fs-small); line-height: 1.6; }
.pillar .pillar-line {
  margin-top: auto; padding-top: 40px;
  font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2.125rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance;
}
.pillar--navy {
  background: var(--navy); color: #fff;
  --gl-sphere: var(--navy-hi); --gl-lat: rgba(255, 255, 255, 0.28); --gl-ring: var(--gold); --gl-node: var(--gold); --gl-core: var(--ink);
}
.pillar--navy p { color: rgba(255, 255, 255, 0.8); }
.pillar--navy .pillar-line { color: var(--gold); }
.pillar--teal {
  background: var(--teal); color: var(--ink);
  --gl-sphere: #27a2a2; --gl-lat: rgba(11, 35, 82, 0.3); --gl-ring: var(--ink); --gl-node: var(--ink); --gl-core: #fff;
}
.pillar--gold {
  background: var(--gold); color: var(--ink);
  --gl-sphere: #e9a42a; --gl-lat: rgba(11, 35, 82, 0.3); --gl-ring: var(--ink); --gl-node: var(--coral); --gl-core: #fff;
}
.pillar:hover, .tile:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(11, 35, 82, 0.5); }

/* Region */
.region {
  position: relative;
  min-height: max(100svh, 680px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.region-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.region-frame {
  --W: max(112%, 177.78svh);
  position: absolute; top: 50%;
  width: var(--W); aspect-ratio: 16 / 9;
  left: clamp(calc(100% - var(--W)), calc(46% - 0.4097 * var(--W)), 0px);
  transform: translateY(-50%);
  transform-origin: 40.97% 49.78%;
}
.region-frame img { width: 100%; height: 100%; object-fit: cover; }
.region-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 34%, rgba(0, 0, 0, 0) 62%);
}
.region-content { padding-bottom: clamp(72px, 8vw, 128px); }
.region-content h2 { font-size: var(--fs-h2); }
.region-content p { max-width: 36rem; margin-top: 20px; color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); }
.region-credit {
  position: absolute; right: var(--gutter); bottom: 20px;
  font-size: 0.6875rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.62);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .region-frame {
      animation: region-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    @keyframes region-zoom {
      from { transform: translateY(-50%) scale(1.35); }
      to { transform: translateY(-50%) scale(1); }
    }
  }
}

/* Services carousel */
.services { position: relative; padding-block: var(--section-y); overflow: hidden; isolation: isolate; }
.field-orbits { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.field-orbits ellipse { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(540px, 84vw);
  gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; }
.slide { scroll-snap-align: start; }
.slide-art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 45%, #1b438c 0%, var(--navy) 62%);
  box-shadow: 0 26px 50px -30px rgba(11, 35, 82, 0.65);
  overflow: hidden;
}
.slide-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide p { margin-top: 18px; max-width: 30rem; font-size: var(--fs-small); color: var(--ink); line-height: 1.6; }
.slide strong { font-weight: 700; }
.slide-art svg { transition: transform 1s var(--ease-out); }
.slide:hover .slide-art svg { transform: scale(1.045); }

.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 40px;
}
.carousel-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--navy-hi); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.carousel-count { min-width: 4.5em; text-align: center; font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }

/* Why */
.why { padding-block: var(--section-y); }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.why-head { position: sticky; top: calc(var(--nav-h) + 48px); }
.why-promise { margin-top: 24px; max-width: 26rem; font-size: clamp(1.1875rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.45; color: var(--ink-2); }
.why-promise mark { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 58%, var(--gold) 58%); padding-inline: 0.08em; }
.why-head .btn { margin-top: 36px; }
.why-item {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px;
  padding-block: 32px 36px;
  border-top: 1px solid var(--ink-line);
}
.why-item:last-child { border-bottom: 1px solid var(--ink-line); }
.why-item p { margin-top: 12px; color: var(--ink-2); max-width: 38rem; }
.why-item p + p { margin-top: 12px; }
.node-icon { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--teal); stroke-width: 2.5; }
.node-icon circle:last-child { fill: #fff; stroke: none; }
.why-item .node-icon { stroke: var(--c, var(--teal)); }
.why-item .node-icon circle:last-child { fill: var(--ink); }
.why-item:nth-child(3n+1) { --c: var(--teal); }
.why-item:nth-child(3n+2) { --c: var(--gold); }
.why-item:nth-child(3n) { --c: var(--coral); }

/* Record */
.record { position: relative; padding-block: var(--section-y); isolation: isolate; }
.record-band {
  position: absolute; z-index: -1; inset: 0 0 auto;
  height: clamp(560px, 62vw, 860px);
  overflow: hidden;
}
.record-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.record-band::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(11, 35, 82, 0.3) 18%, rgba(11, 35, 82, 0.45) 55%, var(--navy) 100%),
    radial-gradient(60% 55% at 50% 42%, rgba(6, 20, 47, 0.6) 0%, rgba(6, 20, 47, 0) 100%);
}
.record .section-head { padding-top: clamp(40px, 6vw, 120px); }
.record .section-head p { color: rgba(255, 255, 255, 0.86); }
.tabs {
  display: flex; width: fit-content; margin: 0 auto clamp(40px, 4vw, 56px);
  padding: 4px; gap: 4px;
  border-radius: 8px; background: rgba(255, 255, 255, 0.12);
}
.tab {
  min-height: 38px; padding: 0 20px;
  border: 0; border-radius: var(--radius-sm); background: transparent;
  font: 600 0.875rem / 1 var(--font); color: rgba(255, 255, 255, 0.82); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.tab-panel:focus-visible { outline-offset: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .tab-panel:not([hidden]) { animation: rise-in 0.6s var(--ease-out) both; }
}

.record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.record-grid li {
  position: relative;
  padding-block: 26px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.4; color: rgba(255, 255, 255, 0.78);
}
.record-grid li::before {
  content: ""; position: absolute; left: 0; top: -2px;
  width: 40px; height: 3px; border-radius: 2px; background: var(--c);
}
.record-grid li:nth-child(3n+1), .comp-grid li:nth-child(3n+1) { --c: var(--teal); }
.record-grid li:nth-child(3n+2), .comp-grid li:nth-child(3n+2) { --c: var(--gold); }
.record-grid li:nth-child(3n), .comp-grid li:nth-child(3n) { --c: var(--coral); }
.record-grid strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; }

.comp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.comp-grid li {
  display: flex; align-items: center; gap: 14px;
  padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.0625rem; font-weight: 500;
}
.comp-grid li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  border: 2.5px solid var(--c);
}

/* Values */
.values { padding-block: var(--section-y); }
.values h2 { margin-bottom: clamp(40px, 4vw, 64px); max-width: 30rem; }
.values-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tile {
  display: flex; flex-direction: column;
  min-height: 300px; padding: 24px;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.tile .glyph { width: 92px; margin: -8px 0 auto -8px; }
.tile h3 { margin-top: 48px; font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem); }
.tile p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.5; }
.tile--gold { background: var(--gold); color: var(--ink); --gl-sphere: #e9a42a; --gl-lat: rgba(11, 35, 82, 0.3); --gl-ring: var(--ink); --gl-node: var(--coral); --gl-core: #fff; }
.tile--coral { background: var(--coral); color: var(--ink); --gl-sphere: #f2573c; --gl-lat: rgba(11, 35, 82, 0.3); --gl-ring: var(--ink); --gl-node: var(--gold); --gl-core: var(--ink); }
.tile--navy { background: var(--navy); color: #fff; --gl-sphere: var(--navy-hi); --gl-lat: rgba(255, 255, 255, 0.28); --gl-ring: var(--teal); --gl-node: var(--gold); --gl-core: var(--ink); }
.tile--teal { background: var(--teal); color: var(--ink); --gl-sphere: #27a2a2; --gl-lat: rgba(11, 35, 82, 0.3); --gl-ring: var(--ink); --gl-node: #fff; --gl-core: var(--ink); }
.tile--deep { background: var(--teal-text); color: #fff; --gl-sphere: #06686d; --gl-lat: rgba(255, 255, 255, 0.28); --gl-ring: var(--gold); --gl-node: var(--coral); --gl-core: #fff; }
@media (min-width: 1101px) {
  .tile:nth-child(even) { margin-top: 56px; }
}

/* Team */
.team { position: relative; padding-top: var(--section-y); padding-bottom: calc(var(--section-y) + clamp(44px, 7vw, 110px)); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.member-photo {
  position: relative;
  max-width: 520px;
  aspect-ratio: 20 / 19;
  border-radius: var(--radius);
  overflow: hidden;
}
.member-photo--teal { background: radial-gradient(85% 75% at 50% 38%, #74d8d6 0%, var(--teal) 45%, #1f979a 100%); }
.member-photo--sunrise { background: radial-gradient(85% 75% at 50% 38%, #ffd98a 0%, var(--gold) 42%, var(--coral) 100%); }
.member-photo img {
  position: absolute; left: 50%; bottom: 0;
  height: 86%; width: auto; max-width: none;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 16%);
  mask-image: linear-gradient(0deg, transparent 0%, #000 16%);
}
.member-orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.member-orbit ellipse, .member-orbit path { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.member-orbit--front path { stroke: #fff; stroke-width: 2.25; }
.member-node { fill: var(--ink); stroke: #fff; stroke-width: 4; }
.member-node-core { fill: var(--gold); }
.member-body { padding-top: 28px; max-width: 34rem; }
.member-body h3 { font-size: clamp(1.625rem, 1.4rem + 0.6vw, 2rem); }
.post-nominals { font-size: 0.55em; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-3); vertical-align: 0.2em; }
.member-meta { margin-top: 10px; color: var(--teal-text); }
.member-body p:not(.label) { margin-top: 16px; color: var(--ink-2); }

/* Contact */
.contact {
  position: relative;
  --horizon-w: max(100vw, 1100px);
  display: flex; align-items: flex-start;
  padding-top: var(--section-y);
  padding-bottom: calc(var(--horizon-w) / 2.727 * 0.7 + 56px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.contact-horizon {
  position: absolute; z-index: -1;
  left: 50%; bottom: 0;
  width: var(--horizon-w); max-width: none; height: auto;
  transform: translateX(-50%);
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.375rem, 1.5rem + 3vw, 4.25rem); max-width: 14ch; }
.contact-inner > p { max-width: 30rem; margin-top: 20px; color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.contact-details {
  display: grid; grid-template-columns: repeat(3, auto); gap: 16px 56px;
  margin-top: 56px;
  text-align: left;
}
.contact-details dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.contact-details dd { margin-top: 6px; font-size: 1.0625rem; font-weight: 500; }

/* Footer */
.footer { padding-block: 48px 36px; border-top: 1px solid var(--line); background: #000; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .brand-mark { height: 28px; }
.footer .brand-word { height: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { font-size: 0.875rem; color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-meta {
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 0.8125rem; color: var(--text-3);
}


/* Responsive */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record-grid, .comp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .team-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .brand-mark { height: 28px; }
  .brand-word { height: 15px; }

  .hero { align-items: flex-start; min-height: max(100svh, 840px); }
  /* Phones: the text spans the width, so the planet rises beneath it as a horizon */
  .hero-globe {
    --g: 170vw;
    right: auto; left: 50%; top: auto;
    bottom: calc(var(--g) * -0.455);
    transform: translateX(-50%);
  }
  .ring-faint { display: none; }
  .hero-fade { background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 64%); }
  .hero-content { padding-top: calc(var(--nav-h) + 36px); }
  .hero-sub { margin-top: 18px; }
  .hero-figure { margin-top: 22px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .pin--hero { display: none; }

  .pillar { padding: 26px 24px; }
  .record-grid, .comp-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .values-grid li:last-child { grid-column: 1 / -1; }
  .tile { min-height: 240px; padding: 20px; }
  .tile h3 { margin-top: 32px; }
  .pillar .glyph { width: 72px; }
  .contact-details { grid-template-columns: 1fr; text-align: center; margin-top: 44px; }
  .contact-actions .btn { flex: 1 1 140px; }
  .footer-top, .footer-meta { flex-direction: column; align-items: flex-start; }
  .region-credit { left: var(--gutter); right: auto; }
}

@media (max-width: 420px) {
  .values-grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile .glyph { margin-bottom: 8px; }
  .tile h3 { margin-top: 0; }
}

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