/* Matches the card: navy gradient, glowing turquoise circles, glass panels. */
:root {
  color-scheme: dark;
  --navy-top: #0d4aa6;
  --navy-mid: #082f73;
  --navy-deep: #041638;
  --ink: #050a18;
  --cyan: #5fe6f5;
  --blue: #3c82ff;
  --text: rgba(255, 255, 255, 0.85);
  --muted: rgba(255, 255, 255, 0.6);
  --rim: rgba(140, 230, 255, 0.3);
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* keep jumped-to and focused content clear of the sticky header */
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Clear keyboard focus ring everywhere. */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #062a5c;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--ink) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
}

/* Inline line icons (see the <symbol>s at the top of index.html). */
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- feature banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 75% 30%, rgba(90, 170, 255, 0.35), transparent 70%),
    linear-gradient(180deg, var(--navy-top) 0%, var(--navy-mid) 55%, #06275f 100%);
  /* hard glowing line between the banner and the page */
  border-bottom: 3px solid var(--cyan);
  box-shadow: 0 0 40px rgba(95, 230, 245, 0.45);
}

/* Big glowing rings, as on the card face. */
.banner::before,
.banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(150, 245, 255, 0.4);
  box-shadow:
    0 0 30px rgba(110, 235, 255, 0.5),
    inset 0 0 90px rgba(70, 210, 255, 0.2);
  pointer-events: none;
}

.banner::before {
  width: 900px;
  height: 900px;
  right: -260px;
  top: -120px;
}

.banner::after {
  width: 520px;
  height: 520px;
  left: -300px;
  top: -200px;
  opacity: 0.7;
}

/* Stays at the top while scrolling so the section links are always in reach. */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 52, 125, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(140, 230, 255, 0.2);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0 0 0 auto;
  padding: 0;
}

.links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.links a:hover {
  color: var(--cyan);
}


.banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 32px;
}

.banner-text {
  padding: 56px 0 88px;
}

.banner-photo {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 10px 40px rgba(0, 10, 40, 0.5));
}

/* ---------- sections ---------- */
section {
  padding-top: 88px;
  padding-bottom: 88px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(95, 230, 245, 0.35), rgba(60, 130, 255, 0.35), transparent) 1;
}

main section:last-child {
  border: 0;
}

/* Two columns on desktop, stacked on phones. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.centred {
  text-align: center;
}

/* ---------- type ---------- */
.label {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 4.4vw, 50px);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0, 10, 40, 0.6);
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 19px;
  color: #fff;
}

.motto {
  margin-top: 28px;
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}

.pull {
  margin: 40px 0 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(90deg, #9af4ff, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.note {
  margin-top: 24px;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
}

/* ---------- glass panel (same treatment as the card's logo cells) ---------- */
.panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--rim);
  border-radius: 20px;
  padding: 28px;
  box-shadow: inset 0 0 24px rgba(70, 210, 255, 0.06);
}

/* Glowing ring for an icon. */
.badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--cyan);
  border: 1.5px solid rgba(95, 230, 245, 0.6);
  background: rgba(95, 230, 245, 0.08);
  box-shadow: 0 0 18px rgba(95, 230, 245, 0.35);
  margin-bottom: 18px;
}

.badge-big {
  width: 72px;
  height: 72px;
}

.badge-big svg {
  width: 34px;
  height: 34px;
}

/* ---------- pill button (matches "Add me to your contacts") ---------- */
.pill {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, #9af4ff, #33b6ee);
  box-shadow: 0 0 32px rgba(90, 230, 255, 0.6);
  color: #062a5c;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 44px rgba(90, 230, 255, 0.85);
}

.pill-small {
  padding: 8px 20px;
  font-size: 14px;
  box-shadow: 0 0 16px rgba(90, 230, 255, 0.5);
}

/* ---------- stats row ---------- */
.stats-row {
  padding-top: 56px;
  padding-bottom: 56px;
}

.stats {
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stats li {
  text-align: center;
  padding: 28px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--rim);
}

.stats strong {
  display: block;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--cyan);
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(95, 230, 245, 0.5);
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 2px solid rgba(95, 230, 245, 0.35);
}

.timeline li {
  position: relative;
  padding-bottom: 36px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(95, 230, 245, 0.9);
}

.timeline li.side::before {
  background: var(--navy-deep);
  border: 2px solid var(--cyan);
}

.years {
  display: block;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.role {
  color: var(--muted);
  margin: 2px 0 10px;
}

/* ---------- brands marquee ---------- */
.marquee {
  margin-top: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scroll 60s linear infinite;
}

/* site.js duplicates the tiles, so sliding by half loops seamlessly. */
@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.marquee:hover .marquee-track,
.marquee.paused .marquee-track {
  animation-play-state: paused;
}

/* Pause / play for anything that moves on its own. */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 16px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(95, 230, 245, 0.6);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: 500 14px var(--font);
  cursor: pointer;
}

.motion-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

.motion-toggle:hover {
  background: rgba(95, 230, 245, 0.12);
}

.tile {
  flex: none;
  width: 230px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--rim);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(95, 230, 245, 0.35);
}

.country {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tile img,
.tile .name {
  margin: auto 0;
}

.tile img {
  max-width: 170px;
  max-height: 80px;
  width: auto;
  height: auto;
}

/* Brands without a logo file yet: set as a simple wordmark. */
.tile .name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .motion-toggle {
    display: none;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 12px 32px;
  }
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.pillars .wide {
  grid-column: span 2;
}

.pillars .panel {
  text-align: center;
}

.pillars .wide p {
  max-width: 560px;
  margin: 0 auto;
}

.pillars h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pillars p {
  margin: 0;
  font-size: 16px;
}

.word {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- distributors ---------- */
.distributors {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(95, 230, 245, 0.6);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.chips svg {
  color: var(--cyan);
  width: 20px;
  height: 20px;
}

/* ---------- testimonials carousel ---------- */
.testimonials {
  text-align: center;
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.viewport {
  overflow: hidden;
  border-radius: 24px;
}

/* Native sideways scrolling that snaps one quote at a time, so it follows the finger on phones. */
.track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

.track figure {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
  padding: 24px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.track figure::before {
  content: "“";
  display: block;
  height: 56px;
  font-size: 96px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(95, 230, 245, 0.6);
}

.track blockquote {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #fff;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
}

.track figcaption {
  color: var(--muted);
  font-size: 15px;
}

.track figcaption strong {
  display: block;
  color: var(--cyan);
  font-size: 16px;
}

.nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(95, 230, 245, 0.6);
  background: rgba(95, 230, 245, 0.08);
  color: var(--cyan);
  cursor: pointer;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.nav:hover {
  background: rgba(95, 230, 245, 0.18);
  box-shadow: 0 0 20px rgba(95, 230, 245, 0.5);
}

.carousel-controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.dots {
  display: flex;
  gap: 2px;
}

/* 24px tap area around a small visible dot. */
.dots button {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
}

.dots button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease, background 0.3s ease;
}

.dots button[aria-current="true"] {
  min-width: 36px;
}

.dots button[aria-current="true"]::before {
  width: 28px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(95, 230, 245, 0.8);
}

/* ---------- music: red takes over from blue while this section is in view ---------- */
#music {
  position: relative;
  isolation: isolate;
  --accent: var(--cyan);
}

#music::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -160px;
  bottom: -160px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 72% 50%, rgba(255, 30, 60, 0.26), transparent 70%),
    radial-gradient(ellipse 40% 45% at 18% 70%, rgba(255, 30, 60, 0.12), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(120, 10, 30, 0.25), transparent 75%);
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  opacity: 0;
  transition: opacity 1.4s ease;
}

#music.in-view::before {
  opacity: 1;
}

#music .label,
#music .motto {
  transition: color 1.2s ease, border-color 1.2s ease;
}

#music.in-view .label {
  color: #ff5a6e;
}

#music.in-view .motto {
  border-left-color: #ff4d5e;
}

@media (prefers-reduced-motion: reduce) {
  #music::before,
  #music .label,
  #music .motto {
    transition: none;
  }
}

/* ---------- music: turntable + DJ Kam link ---------- */
.dj {
  --red: #ff2b45;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(420px, 100%);
}

/* Leaves room on the right for the tonearm. */
.deck {
  position: relative;
  width: 86%;
  margin-right: 14%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

/* Red neon ring behind the record, brighter while it plays. */
.neon {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 60, 80, 0.55);
  box-shadow:
    0 0 24px rgba(255, 40, 60, 0.45),
    inset 0 0 40px rgba(255, 40, 60, 0.2);
  transition: box-shadow 0.8s ease, border-color 0.8s ease;
}

.dj.playing .neon {
  border-color: rgba(255, 90, 105, 0.9);
  box-shadow:
    0 0 48px rgba(255, 40, 60, 0.75),
    0 0 120px rgba(255, 40, 60, 0.3),
    inset 0 0 60px rgba(255, 40, 60, 0.3);
}

.platter {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 6px #14161c, 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.platter:focus-visible {
  outline-offset: 10px;
  border-radius: 50%;
}

/* Vinyl: fine grooves, rotated by site.js. */
.record {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, transparent 0 31%, #050507 31% 32.5%, transparent 32.5% 96%, #050507 96%),
    repeating-radial-gradient(circle, #0c0c10 0 1.5px, #17171d 1.5px 3px);
}

.record-label {
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 35%, #ff4a5f, #c4102a 70%, #8e0a1e);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.record-label img {
  width: 58%;
  height: auto;
  margin-top: -4%;
  filter: brightness(0) opacity(0.85);
}

/* Fixed light reflections: they stay still while the record turns, which sells the spin. */
.sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, 0.13) 13%, transparent 19% 50%, rgba(255, 255, 255, 0.1) 63%, transparent 69%);
  -webkit-mask: radial-gradient(circle, transparent 0 19%, #000 19.5%);
  mask: radial-gradient(circle, transparent 0 19%, #000 19.5%);
}

.tonearm {
  position: absolute;
  top: 0;
  right: -2%;
  width: 26%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  transform-origin: 70% 11.25%;
  transform: rotate(-24deg);
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.6));
}

.dj.playing .tonearm {
  transform: rotate(4deg);
}

.arm-base {
  fill: #1a1c24;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2;
}

.arm-pivot {
  fill: #c9ced8;
}

.arm {
  fill: none;
  stroke: #d5dae3;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.headshell {
  fill: #2a2d36;
  stroke: #d5dae3;
  stroke-width: 2;
}

/* Hint and link sit under the record's centre, not the column's (the deck is offset for the arm). */
.dj-hint,
.dj-link {
  width: 86%;
  margin-right: 14%;
  text-align: center;
}

.dj-hint {
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.dj-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0;
  color: #ff4d5e;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.dj-link img {
  width: min(260px, 60vw);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 40, 60, 0.4));
  transition: filter 0.2s ease;
}

.dj-link:hover img {
  filter: drop-shadow(0 0 28px rgba(255, 40, 60, 0.7));
}

.dj-link:hover span {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- why ---------- */
.promises {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promises li {
  position: relative;
  padding: 0 0 22px 34px;
  color: #fff;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
}

.promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px rgba(95, 230, 245, 0.8);
}

/* ---------- CTA ---------- */
.cta {
  padding: 64px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(90, 170, 255, 0.25), transparent 70%),
    rgba(255, 255, 255, 0.05);
}

.cta h2 {
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 28px;
}

.cta-alt {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- contact form dialog ---------- */
.contact-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border-radius: 24px;
  border: 1.5px solid var(--rim);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90, 170, 255, 0.25), transparent 70%),
    var(--navy-deep);
  color: var(--text);
  box-shadow: 0 0 60px rgba(95, 230, 245, 0.25);
}

.contact-dialog::backdrop {
  background: rgba(2, 8, 22, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.contact-form {
  position: relative;
  padding: 40px;
}

.contact-form h2 {
  margin-bottom: 8px;
}

.form-intro {
  color: var(--muted);
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(95, 230, 245, 0.6);
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
}

.close:hover {
  background: rgba(95, 230, 245, 0.12);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.field.wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.field label span {
  color: var(--cyan);
}

.field .optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(140, 230, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 16px/1.5 var(--font);
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--cyan);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: #ff9b9b;
}

.error {
  margin: 6px 0 0;
  color: #ffb3b3;
  font-size: 14px;
}

.trap {
  position: absolute;
  left: -9999px;
}

.form-status:empty {
  display: none;
}

.form-status {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(95, 230, 245, 0.1);
  border: 1.5px solid rgba(95, 230, 245, 0.5);
  color: #fff;
}

.form-status.is-error {
  background: rgba(255, 120, 120, 0.1);
  border-color: #ff9b9b;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.form-actions .pill {
  font-family: var(--font);
  cursor: pointer;
}

.form-actions .pill:disabled {
  opacity: 0.6;
  cursor: wait;
}

.privacy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- footer ---------- */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  padding: 28px 20px 40px;
  border-top: 1px solid rgba(140, 230, 255, 0.15);
  font-size: 15px;
}

footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
}

footer svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

footer a:hover {
  color: #fff;
}

/* ---------- tablets ---------- */
@media (max-width: 1000px) {
  .top-inner {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-bottom: 10px;
  }

  .top-inner .pill {
    margin-left: auto;
  }

  .links {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .links::-webkit-scrollbar {
    display: none;
  }

  html {
    scroll-padding-top: 120px;
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pillars {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Text first, then Kam standing on the banner's bottom line. */
  .banner-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .banner-text {
    padding: 8px 0 24px;
  }

  .banner-photo {
    max-width: 280px;
  }

  .banner::before {
    width: 600px;
    height: 600px;
    right: -360px;
    top: auto;
    bottom: -120px;
  }

  .brand {
    font-size: 16px;
  }

  .stats-row {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .stats {
    gap: 8px;
  }

  .stats li {
    padding: 18px 6px;
  }

  .stats span {
    font-size: 12px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillars .wide {
    grid-column: auto;
  }

  .tile {
    width: 190px;
    height: 140px;
  }

  /* Swipe instead of arrows on small screens. */
  .carousel {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .track figure {
    padding: 16px 8px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .fields {
    grid-template-columns: 1fr;
  }
}
