/* SAG Ventures — site styles */

:root {
  --ink: #0E0A1A;
  --ink-2: #151024;
  --ink-3: #1E1733;
  --purple: #53388D;
  --purple-600: #46307A;
  --purple-deep: #24163F;
  --lilac: #CBBDF8;
  --lilac-2: #A08BEB;
  --paper: #FBFAF8;
  --sand: #F3F0EA;
  --sand-2: #ECE7DF;
  --text: #15111D;
  --muted: #5C5767;
  --line: #E2DDD5;
  --line-dark: rgba(255, 255, 255, 0.12);
  --on-dark: #F5F2FA;
  --on-dark-muted: #B4ADC5;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(96px, 12vw, 176px);
  --header-h: 84px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--lilac); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Layout primitives ---------- */

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

.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--purple { background: var(--purple); color: var(--on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.on-dark .eyebrow, .hero .eyebrow, .section--ink .eyebrow, .section--purple .eyebrow, .foundation .eyebrow, .contact .eyebrow { color: var(--lilac); }

.h2 {
  font-size: clamp(36px, 4.9vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--muted);
}
.section--ink .lead, .section--purple .lead, .on-dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.section--ink .muted, .on-dark .muted { color: var(--on-dark-muted); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head .lead { max-width: 520px; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --arr-bg: var(--paper);
  --arr-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 8px 8px 8px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn .arr {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--arr-bg);
  color: var(--arr-fg);
  overflow: hidden;
  flex: none;
}
.btn .arr svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.btn:hover .arr svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --arr-bg: var(--purple); --arr-fg: #fff; }
.btn--light:hover { --btn-bg: #fff; }
.btn--purple { --btn-bg: var(--purple); --btn-fg: #fff; --arr-bg: #fff; --arr-fg: var(--purple); }
.btn--purple:hover { --btn-bg: var(--purple-600); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  padding: 8px 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 44px; padding: 6px 6px 6px 20px; font-size: 15px; gap: 12px; }
.btn--sm .arr { width: 32px; height: 32px; }
.btn--sm .arr svg { width: 16px; height: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  color: var(--purple);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--on-dark);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.5s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.45s var(--ease);
}
.site-header.is-scrolled .bar { height: 72px; }
.site-header.is-scrolled {
  background: rgba(14, 10, 26, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-scrolled[data-theme="light"] {
  background: rgba(251, 250, 248, 0.82);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--purple), var(--lilac-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-scrolled .progress { opacity: 1; }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.wordmark .mark {
  display: inline-flex;
  align-items: baseline;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wordmark .mark svg {
  width: 0.66em;
  height: 0.7em;
  margin-inline: 0.04em;
  fill: currentColor;
  transform: translateY(0.01em);
}
.wordmark .sub {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-links { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }

.site-header[data-theme="light"].is-scrolled .btn--light { --btn-bg: var(--ink); --btn-fg: var(--paper); }

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.site-header[data-theme="light"].is-scrolled .menu-toggle { background: rgba(21, 17, 29, 0.06); }
.menu-toggle span {
  position: absolute;
  left: 15px; right: 15px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 20px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-links, .nav .btn { display: none; }
  .menu-toggle { display: block; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--ink);
  color: var(--on-dark);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.45s var(--ease); }
.mobile-menu nav { flex: 1; overflow-y: auto; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.mobile-menu nav a small { font-size: 13px; letter-spacing: 0.1em; color: var(--lilac); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 0.2s; }
.mobile-menu-foot { display: grid; gap: 18px; padding-top: 28px; }
.mobile-menu-foot .btn { justify-content: space-between; }
.mobile-menu-foot a.mail { color: var(--on-dark-muted); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
/* The poster (first frame of the loop) and the video share one grid cell, so the
   video fades in exactly over its own still. The overlays are positioned, so they
   paint above both. */
.hero-media { position: absolute; inset: 0; z-index: -1; display: grid; }
.hero-media > picture,
.hero-media > video { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; }
.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero-video.is-playing { opacity: 1; }
/* Wide screens: enlarge from the left edge so the Michelangelo tower sits right of the headline. */
@media (min-aspect-ratio: 1/1) and (min-width: 1024px) {
  .hero-media img,
  .hero-media video { transform: scale(1.18); transform-origin: 0% 60%; }
}
.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero-media::before {
  background: var(--purple-deep);
  mix-blend-mode: multiply;
  opacity: 0.32;
}
.hero-media::after {
  background:
    linear-gradient(180deg, rgba(14, 10, 26, 0.62) 0%, rgba(14, 10, 26, 0) 24%),
    linear-gradient(90deg, rgba(14, 10, 26, 0.9) 0%, rgba(14, 10, 26, 0.74) 40%, rgba(14, 10, 26, 0.2) 66%, rgba(14, 10, 26, 0) 100%),
    linear-gradient(0deg, rgba(14, 10, 26, 0.94) 0%, rgba(14, 10, 26, 0) 42%);
}
/* Portrait screens use the portrait cut, with the text stacked over the lower half. */
@media (max-aspect-ratio: 1/1) {
  .hero-media::before { opacity: 0.34; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(14, 10, 26, 0.55) 0%, rgba(14, 10, 26, 0) 22%),
      linear-gradient(0deg, rgba(14, 10, 26, 0.96) 0%, rgba(14, 10, 26, 0.72) 52%, rgba(14, 10, 26, 0.15) 80%);
  }
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3vh, 28px);
}
.hero-top .eyebrow { margin: 0; }
.hero-pause {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(14, 10, 26, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--on-dark);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.hero-pause[hidden] { display: none; }
.hero-pause:hover { border-color: var(--lilac); background: rgba(14, 10, 26, 0.5); }
.hero-pause:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
.hero-pause .hp-icon { width: 14px; height: 14px; }
.hero-pause[data-state="playing"] .hp-play,
.hero-pause[data-state="paused"] .hp-pause { display: none; }
/* Phones: a round button in the band under the menu button, so the eyebrow keeps its full width. */
@media (max-width: 560px) {
  .hero-pause { position: absolute; top: calc(var(--header-h) + 2px); right: var(--gutter); width: 38px; padding: 0; justify-content: center; }
  .hero-pause .hp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(28px, 4.5vh, 56px); }
.hero h1 {
  max-width: 14ch;
  font-size: clamp(46px, 7.6vw, 118px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.hero h1 em { font-style: normal; color: var(--lilac); }
.hero .lead { max-width: 580px; margin: clamp(20px, 3.2vh, 32px) 0 0; color: rgba(245, 242, 250, 0.8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vh, 44px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(36px, 6vh, 80px);
  border-top: 1px solid var(--line-dark);
}
.hero-stats > div { padding: 24px 24px 0 0; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-stats .l { margin: 0; font-size: 14px; color: var(--on-dark-muted); line-height: 1.45; max-width: 220px; }
.hero-stats .v { margin: 0 0 8px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.hero-stats .stat { display: flex; flex-direction: column; justify-content: flex-start; }
.hero-stats .stat small { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 8px; }


@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats > div { padding: 18px 10px 0 0; }
  .hero-stats > div + div { padding-left: 12px; }
  .hero-stats .l { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; margin-top: 32px; }
  .hero-stats .stat,
  .hero-stats .stat + .stat {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: end;
    gap: 14px;
    padding: 14px 0;
    border-left: 0;
  }
  .hero-stats .stat + .stat { border-top: 1px solid var(--line-dark); }
  .hero-stats .v { margin: 0; font-size: 30px; }
  .hero-stats .v small { font-size: 10.5px; margin-bottom: 6px; }
  .hero-stats .l { font-size: 13px; max-width: none; }
}

/* ---------- Brand marks (portfolio logos) ---------- */

.brand-mark { display: inline-flex; align-items: center; gap: 12px; }
.brand-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--on-dark);
  white-space: nowrap;
}
.brand-name--solo { font-size: 24px; letter-spacing: -0.035em; }
.app-icon { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* Reach X mark: the dashboard loader's three layers (violet waves, coral X,
   light dot). The X and dot are drawn on squares cropped around the X's
   centre so they turn about it. Plays the loader's intro, then ticks. */
.rx-logo {
  --rx-w: 56px;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--rx-w);
  height: calc(var(--rx-w) * 92 / 120);
  filter: drop-shadow(0 0 14px rgba(124, 58, 237, 0.35));
}
.rx-logo svg { position: absolute; overflow: visible; }
.rx-logo .rx-wave { inset: 0; width: 100%; height: 100%; }
.rx-logo .rx-mark {
  left: calc(var(--rx-w) * 74 / 120);
  top: calc(var(--rx-w) * 30 / 120);
  width: calc(var(--rx-w) * 37 / 120);
  height: calc(var(--rx-w) * 37 / 120);
}
.rx-logo .rx-dot {
  left: calc(var(--rx-w) * 85 / 120);
  top: calc(var(--rx-w) * 41 / 120);
  width: calc(var(--rx-w) * 15 / 120);
  height: calc(var(--rx-w) * 15 / 120);
}
@keyframes rxIntroWave { from { transform: translateX(-14%) scale(0.9); } to { transform: none; } }
@keyframes rxIntroMark { 0% { transform: rotate(-90deg) scale(0.6); } 70% { transform: rotate(6deg) scale(1.04); } 100% { transform: none; } }
@keyframes rxIntroDot { 0% { transform: scale(0.35); } 60% { transform: scale(1.22); } 100% { transform: none; } }
@keyframes rxTickMark {
  0%, 10% { transform: rotate(0deg); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  50%, 100% { transform: rotate(90deg); }
}
@keyframes rxTickDot { 0%, 48% { transform: scale(1); } 56% { transform: scale(1.18); } 66%, 100% { transform: scale(1); } }
@keyframes rxTickWave { 0%, 60%, 100% { opacity: 1; } 30% { opacity: 0.8; } }
@media (prefers-reduced-motion: no-preference) {
  .rx-logo.is-playing .rx-wave { animation: rxIntroWave 0.9s cubic-bezier(0.33, 1, 0.68, 1) both, rxTickWave 2s ease-in-out 1s infinite; }
  .rx-logo.is-playing .rx-mark { animation: rxIntroMark 0.9s cubic-bezier(0.33, 1, 0.68, 1) 0.05s both, rxTickMark 2s linear 1s infinite; }
  .rx-logo.is-playing .rx-dot { animation: rxIntroDot 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.5s both, rxTickDot 2s ease-in-out 1s infinite; }
}

/* ---------- Portfolio band ---------- */

.portfolio-band {
  background: var(--ink);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}
.band {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 4fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(28px, 3.4vw, 44px);
}
.band-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lilac);
  line-height: 1.5;
}
.band-label span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-dark-muted);
}
.band-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.band-logos li { display: flex; }
.band-logos li + li { border-left: 1px solid var(--line-dark); }
.band-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), background 0.4s var(--ease);
}
.band-logos a:hover { opacity: 1; transform: translateY(-2px); background: rgba(255, 255, 255, 0.04); }
.band-logos img.bl-mustard { height: 40px; width: auto; }
.band-logos img.bl-kilomita { height: 22px; width: auto; }
.band-logos .app-icon { width: 34px; height: 34px; border-radius: 9px; }
.band-logos .brand-name { font-size: 18px; }
.band-logos .brand-name--solo { font-size: 22px; }

@media (max-width: 1080px) {
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .band-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .band-logos li + li { border-left: 0; }
  .band-logos li:last-child { grid-column: 1 / -1; }
  .band-logos a { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); opacity: 0.92; }
}

/* ---------- Scroll arrow ---------- */

.scroll-fab {
  position: fixed;
  right: max(20px, calc(env(safe-area-inset-right) + 14px));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 10, 26, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  color: var(--on-dark);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.5s var(--ease-out), opacity 0.4s var(--ease), box-shadow 0.45s var(--ease);
}
.scroll-fab:hover { transform: translateY(-3px); }
.scroll-fab:active { transform: scale(0.96); }
.scroll-fab[data-theme="light"] {
  background: rgba(251, 250, 248, 0.86);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(21, 17, 29, 0.35), inset 0 0 0 1px rgba(21, 17, 29, 0.08);
}
.fab-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab-track, .fab-bar { fill: none; stroke-width: 2; }
.fab-track { stroke: rgba(255, 255, 255, 0.14); }
.fab-bar {
  stroke: var(--lilac);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke 0.45s var(--ease);
}
.scroll-fab[data-theme="light"] .fab-track { stroke: rgba(21, 17, 29, 0.12); }
.scroll-fab[data-theme="light"] .fab-bar { stroke: var(--purple); }
.fab-arrow { width: 22px; height: 22px; transition: transform 0.6s var(--ease-out); }
.scroll-fab[data-dir="up"] .fab-arrow { transform: rotate(180deg); }
.scroll-fab.is-hint .fab-arrow { animation: fab-bob 2.4s var(--ease) infinite; }
@keyframes fab-bob { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 3px; } }
body.menu-open .scroll-fab, .scroll-fab.is-away { opacity: 0; pointer-events: none; transform: translateY(10px); }

@media (max-width: 560px) {
  .scroll-fab { width: 52px; height: 52px; }
  .fab-arrow { width: 20px; height: 20px; }
}

/* ---------- Statement ---------- */

.statement-text {
  max-width: 1120px;
  font-size: clamp(30px, 3.9vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: pretty;
}
.statement-text .w { color: #CEC8D6; transition: color 0.5s var(--ease); }
.statement-text .w.on { color: var(--text); }
.no-js .statement-text .w, .statement-text.static .w { color: var(--text); }

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.statement-grid .punch {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.statement-grid .punch span { color: var(--purple); }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.on-dark .pill, .section--ink .pill, .section--purple .pill {
  color: var(--on-dark);
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}
.on-dark .pill::before, .section--ink .pill::before, .section--purple .pill::before { background: var(--lilac); }

@media (max-width: 800px) {
  .statement-grid { grid-template-columns: 1fr; }
}

/* ---------- Who we are ---------- */

.who {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.who-media { position: sticky; top: 104px; }
.who-media figure { margin: 0; position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
/* The spaza photo's people sit in its lower third, so the caption goes over the dusk sky. */
.who-media img { width: 100%; height: 100%; object-fit: cover; object-position: 67% 50%; }
.who-media figcaption {
  position: absolute;
  left: 16px; right: 16px; top: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(14, 10, 26, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--on-dark);
  font-size: 15.5px;
  line-height: 1.5;
}
.who-body .h2 { margin-bottom: 36px; }
.who-body .lead + p { margin-top: 24px; }
.who-bridge {
  margin: 40px 0;
  font-size: clamp(24px, 2.3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 500;
}
.who-bridge span { color: var(--purple); }

.blend {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  margin: 44px 0;
}
.blend-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.blend-card small { display: block; margin-bottom: 14px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.blend-card strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.blend-card p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.blend-plus {
  display: grid;
  place-items: center;
  width: 44px;
  align-self: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
}

.verbs { margin: 28px 0 40px; border-top: 1px solid var(--line); }
.verbs li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.verbs li span { font-size: 13px; font-weight: 500; color: var(--purple); letter-spacing: 0.06em; }

.outcome {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-size: 18px;
  line-height: 1.5;
}
.outcome svg { flex: none; width: 26px; height: 26px; color: var(--lilac); margin-top: 2px; }

@media (max-width: 960px) {
  .who { grid-template-columns: 1fr; }
  .who-media { position: relative; top: 0; }
  .who-media figure { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .who-media figure { aspect-ratio: 4 / 5; }
  .blend { grid-template-columns: 1fr; }
  .blend-plus { justify-self: center; }
}

/* ---------- What we do (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(300px, auto);
  gap: 16px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--sand);
  overflow: hidden;
  isolation: isolate;
}
.tile--a { grid-column: span 3; grid-row: span 2; color: var(--on-dark); justify-content: flex-end; min-height: 620px; }
.tile--b, .tile--c { grid-column: span 3; }
.tile--d { grid-column: span 3; background: var(--ink); color: var(--on-dark); }
.tile--e { grid-column: span 3; background: var(--purple); color: var(--on-dark); }

.tile--a .tile-bg { position: absolute; inset: 0; z-index: -1; }
.tile--a .tile-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tile--a:hover .tile-bg img { transform: scale(1.04); }
.tile--a .tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(14, 10, 26, 0.94) 0%, rgba(14, 10, 26, 0.55) 45%, rgba(14, 10, 26, 0.1) 75%),
    linear-gradient(0deg, rgba(36, 22, 63, 0.35), rgba(36, 22, 63, 0.35));
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  padding-bottom: 40px;
}
.tile-num { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; opacity: 0.7; }
.tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(83, 56, 141, 0.1);
  color: var(--purple);
}
.tile-icon svg { width: 24px; height: 24px; }
.tile--a .tile-icon, .tile--d .tile-icon, .tile--e .tile-icon { background: rgba(255, 255, 255, 0.1); color: var(--lilac); }
.tile--e .tile-icon { color: #fff; }
.tile--a .tile-top { position: absolute; top: clamp(28px, 3vw, 40px); left: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); }

.tile h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -0.03em; }
.tile .tag { margin: 10px 0 16px; font-weight: 500; color: var(--purple); }
.tile--a .tag, .tile--d .tag { color: var(--lilac); }
.tile--e .tag { color: #E5DCFF; }
.tile p.desc { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.tile--a p.desc, .tile--d p.desc { color: var(--on-dark-muted); }
.tile--e p.desc { color: rgba(245, 242, 250, 0.8); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--a { grid-column: span 2; grid-row: auto; min-height: 520px; }
  .tile--b, .tile--c, .tile--d, .tile--e { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e { grid-column: auto; }
  .tile--a { min-height: 560px; }
  .tile-top { padding-bottom: 28px; }
}

/* ---------- Ventures ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.feature-media { position: relative; min-height: 520px; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-media .badge { position: absolute; top: 20px; left: 20px; }
.feature-body { padding: clamp(32px, 4.5vw, 64px); }
.feature-body h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.035em; }
.feature-body .tag { margin: 22px 0 32px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.025em; color: var(--on-dark); font-weight: 500; }

.lockup { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.lockup .lk-mustard { height: clamp(52px, 5vw, 68px); width: auto; }
.lockup .lk-kilomita { height: 30px; width: auto; }
.lockup .app-icon { width: 46px; height: 46px; border-radius: 12px; }
.lockup .brand-name { font-size: 28px; }
.lockup .brand-name--solo { font-size: 32px; }
.feature-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
  border-block: 1px solid var(--line-dark);
}
.feature-stats div { padding: 22px 20px 22px 0; }
.feature-stats div + div { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.feature-stats strong { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.feature-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.45; }
.feature-body p { color: var(--on-dark-muted); }
.feature-body .pillars { margin-top: 24px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 10, 26, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); }

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.venture {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.venture:hover { border-color: rgba(203, 189, 248, 0.32); }
/* The label sits on the photo's bottom edge, half over the card body, so it never
   covers a face in the middle of a narrow photo. The media isn't clipped so the
   label can overhang; the card's own overflow clips the top and sides of the hover
   zoom, and the body's background (painted above the photo) hides the bottom. */
/* min-height: 0 and an absolutely placed photo keep every card at exactly 16:9.
   Without clipping, a photo of another shape would otherwise stretch its box. */
.venture-media { position: relative; aspect-ratio: 16 / 9; min-height: 0; }
.venture-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease); }
.venture:hover .venture-media img { transform: scale(1.05); filter: saturate(1); }
.venture-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 16, 36, 0.7), rgba(21, 16, 36, 0) 55%); }
.venture-media .badge {
  position: absolute;
  left: clamp(28px, 3vw, 40px);
  bottom: 0;
  z-index: 2;
  transform: translateY(50%);
  /* Lighter than the card and outlined, so the half over the card body still reads as a pill. */
  background: rgba(36, 28, 62, 0.88);
  box-shadow: inset 0 0 0 1px rgba(203, 189, 248, 0.24), 0 8px 24px rgba(8, 5, 18, 0.35);
}
.venture-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: clamp(44px, 4vw, 52px) clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px); background: var(--ink-2); }
.venture-body h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.035em; }
.venture-body .tag { margin: 22px 0 14px; font-weight: 500; color: var(--on-dark); font-size: clamp(20px, 1.7vw, 23px); line-height: 1.25; letter-spacing: -0.02em; }
.venture-body p { color: var(--on-dark-muted); font-size: 16px; }
.venture-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.venture-more > div { overflow: hidden; }
.venture-more > div > p:first-child { margin-top: 1em; }
.venture.is-open .venture-more { grid-template-rows: 1fr; }
.venture-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 24px 0 0;
  border: 0;
  background: none;
  color: var(--on-dark);
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
}
.venture-toggle .pm {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  transition: background 0.3s, border-color 0.3s;
}
.venture-toggle .pm::before, .venture-toggle .pm::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out);
}
.venture-toggle .pm::after { transform: rotate(90deg); }
.venture.is-open .venture-toggle .pm::after { transform: rotate(0deg); }
.venture-toggle:hover .pm { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .venture-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .feature-stats { grid-template-columns: 1fr; }
  .feature-stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- Track record ---------- */

.section--purple { overflow: hidden; isolation: isolate; }
.section--purple::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(203, 189, 248, 0.28), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(14, 10, 26, 0.45), transparent 60%);
}
.section--purple::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 75%);
}
.section--purple .lead { color: rgba(245, 242, 250, 0.82); }

.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.numbers > div { padding: 36px 32px 8px 0; }
.numbers > div + div { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.numbers small { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); min-height: 18px; }
.numbers .value {
  display: block;
  margin: 10px 0 22px;
  font-size: clamp(54px, 6.1vw, 96px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}
.numbers strong { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.numbers p { margin-top: 8px; font-size: 15.5px; color: rgba(245, 242, 250, 0.74); max-width: 340px; }

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: rgba(14, 10, 26, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.access small { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); }
.access h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.access p { margin-top: 12px; color: rgba(245, 242, 250, 0.78); font-size: 16px; }
.access .pillars { margin: 0; }

.ambition {
  max-width: 980px;
  margin: clamp(64px, 8vw, 120px) 0 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.ambition span { color: var(--lilac); }

@media (max-width: 860px) {
  .numbers { grid-template-columns: 1fr; }
  .numbers > div, .numbers > div + div { padding: 28px 0; border-left: 0; }
  .numbers > div + div { border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .access { grid-template-columns: 1fr; }
}

/* ---------- Ecosystem ---------- */

.eco {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.eco-head { position: sticky; top: 112px; }
.eco-head .h2 { margin-bottom: 28px; }
.eco-list { border-top: 1px solid var(--line); }
.eco-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.eco-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * clamp(12px, 2vw, 28px));
  border-radius: var(--radius);
  background: var(--sand);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
  z-index: -1;
}
.eco-row:hover::before { opacity: 1; transform: none; }
.eco-list li { position: relative; isolation: isolate; }
.eco-row h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.eco-row .sector { align-self: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); font-weight: 500; }
.eco-row p { grid-column: 1 / -1; color: var(--muted); max-width: 620px; font-size: 16.5px; }
.eco-close { margin-top: 40px; font-size: 19px; line-height: 1.55; font-weight: 500; letter-spacing: -0.01em; max-width: 640px; }

@media (max-width: 960px) {
  .eco { grid-template-columns: 1fr; }
  .eco-head { position: static; }
}
@media (max-width: 520px) {
  .eco-row { grid-template-columns: 1fr; }
  .eco-row .sector { order: -1; }
}

/* ---------- How we build ---------- */

.steps-wrap { position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
  padding-top: 56px;
}
.steps-track {
  position: absolute;
  left: 0; right: 0; top: 11px;
  height: 1px;
  background: var(--line-dark);
}
.steps-track span {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--purple), var(--lilac));
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.step::after {
  content: "";
  position: absolute;
  top: -49px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lilac);
  transform: scale(0);
  transition: transform 0.5s var(--ease-out);
}
.step.is-active::before { box-shadow: inset 0 0 0 1px var(--lilac), 0 0 0 6px rgba(203, 189, 248, 0.12); }
.step.is-active::after { transform: scale(1); }
.step .num { display: block; font-size: 14px; font-weight: 500; color: var(--lilac); letter-spacing: 0.06em; }
.step h3 { margin: 10px 0 14px; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.035em; line-height: 1; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--on-dark-muted); }
.beyond {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.beyond .loop {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
}
.beyond .loop svg { width: 26px; height: 26px; color: #fff; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 48px; }
  .steps-track { left: 11px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps-track span { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { padding-bottom: 40px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 0; left: -48px; }
  .step::after { top: 7px; left: -41px; }
  .step h3 { margin-top: 6px; }
}
@media (max-width: 560px) {
  .beyond { grid-template-columns: 1fr; }
}

/* ---------- People ---------- */

.people {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.people .h2 { margin-bottom: 32px; }
.people-media { margin: 0; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
.people-media img { width: 100%; height: 100%; object-fit: cover; }
.caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.caps li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 16px;
}
.caps svg { flex: none; width: 18px; height: 18px; color: var(--purple); }

.marquee {
  margin-top: clamp(72px, 9vw, 128px);
  padding-block: clamp(20px, 2.4vw, 32px);
  border-block: 1px solid var(--line);
  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 {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding-right: clamp(24px, 3vw, 48px);
  font-size: clamp(36px, 5.4vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--text); }
.marquee-track span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.belief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(72px, 9vw, 128px);
}
.belief blockquote {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.belief blockquote span { color: var(--purple); }

@media (max-width: 960px) {
  .people { grid-template-columns: 1fr; }
  .people-media { aspect-ratio: 16 / 10; order: -1; }
  .belief { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .caps { grid-template-columns: 1fr; }
  .people-media { aspect-ratio: 4 / 3; }
}

/* ---------- Foundation ---------- */

.foundation { background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.foundation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(83, 56, 141, 0.55), transparent 70%),
    radial-gradient(50% 40% at 0% 60%, rgba(83, 56, 141, 0.25), transparent 70%);
}
.fd-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 28px;
  margin-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line-dark);
}
.fd-lockup .name { display: inline-flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.fd-lockup .name i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple);
  font-style: normal;
}
.fd-lockup .name i svg { width: 22px; height: 22px; color: #fff; }
.fd-lockup .pillars-text { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); }

.fd-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.fd-intro p { color: var(--on-dark-muted); }
.fd-intro p.strong { color: var(--on-dark); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }

.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(72px, 9vw, 128px);
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(83, 56, 141, 0.45), rgba(83, 56, 141, 0.12));
  border: 1px solid rgba(203, 189, 248, 0.18);
}
.philosophy small { display: block; margin-bottom: 20px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); }
.philosophy blockquote {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.philosophy p { color: rgba(245, 242, 250, 0.78); }
.philosophy p.start { color: var(--on-dark); font-weight: 500; font-size: 18px; margin-top: 24px; }

.horizon { margin-top: clamp(72px, 9vw, 128px); }
.horizon-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: 40px;
}
.horizon-head h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.horizon-head p { color: var(--on-dark-muted); }
.horizon-bar { position: relative; height: 72px; }
.horizon-bar .rail { position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line-dark); }
.horizon-bar .band {
  position: absolute;
  top: 18px;
  height: 34px;
  left: 66.6%;
  right: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(83, 56, 141, 0.9), rgba(203, 189, 248, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  transform-origin: 0 50%;
}
.horizon-bar .tick { position: absolute; top: 28px; width: 1px; height: 12px; background: rgba(255, 255, 255, 0.35); }
.horizon-bar .tick span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--on-dark-muted); white-space: nowrap; }
.horizon-bar .tick.t0 span { left: 0; transform: none; }
.horizon-bar .tick.t4 span { left: auto; right: 0; transform: none; }

.areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 64px;
}
.area {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.area:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(203, 189, 248, 0.3); }
.area span { display: block; margin-bottom: 30px; font-size: 13px; color: var(--lilac); font-weight: 500; letter-spacing: 0.06em; }
.area strong { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }

.paths { margin-top: clamp(72px, 9vw, 128px); }
.paths-head { max-width: 760px; margin-bottom: 48px; }
.paths-head h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 20px; }
.paths-head p { color: var(--on-dark-muted); }
.paths-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px 0;
  align-items: stretch;
}
.path-source {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
}
.path-source small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); font-weight: 500; }
.path-source strong { display: block; margin: 12px 0; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.path-source p { color: var(--muted); font-size: 15.5px; }
.path-link { grid-row: span 2; position: relative; }
.path-link svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.path-link path { fill: none; stroke: var(--lilac); stroke-width: 1.5; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.path-out {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}
.path-out small { display: block; line-height: 1.5; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); font-weight: 500; }
.path-out strong { display: block; margin: 10px 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.path-out p { color: var(--on-dark-muted); font-size: 15.5px; }
.measure {
  margin-top: clamp(48px, 6vw, 80px);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 960px;
}
.measure span { color: var(--lilac); }

@media (max-width: 960px) {
  .fd-intro, .philosophy, .horizon-head { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths-grid { grid-template-columns: 1fr; }
  .path-source, .path-link { grid-row: auto; }
  .path-link { height: 44px; }
  .path-link svg { display: none; }
  .path-link::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 4px;
    bottom: 4px;
    border-left: 1.5px dashed var(--lilac);
    opacity: 0.8;
  }
}
@media (max-width: 560px) {
  .areas { grid-template-columns: 1fr; }
  .horizon-bar .band { left: 50%; }
  .horizon-bar .tick.t2 span, .horizon-bar .tick.t3 span { display: none; }
}

/* ---------- Who we work with ---------- */

.audience {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}
.tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease), padding 0.45s var(--ease-out);
}
.tab .n { font-size: 13px; color: var(--purple); letter-spacing: 0.06em; }
.tab svg { width: 20px; height: 20px; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.45s var(--ease-out); color: var(--purple); }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); padding-left: 12px; }
.tab[aria-selected="true"] svg { opacity: 1; transform: none; }

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.panel[hidden] { display: none; }
.panel::before {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 56, 141, 0.8), transparent 65%);
  z-index: -1;
}
.panel .icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lilac);
  margin-bottom: auto;
}
.panel .icon svg { width: 28px; height: 28px; }
.panel h3 { margin-top: 48px; font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -0.035em; max-width: 520px; }
.panel p { margin: 18px 0 32px; color: var(--on-dark-muted); font-size: 18px; max-width: 540px; }
.panel .btn { align-self: flex-start; }
.panel.is-entering { animation: panel-in 0.6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .audience { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
}

/* ---------- Partnership ---------- */

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(16px, 2vw, 24px);
}
.flow-col small { display: block; margin-bottom: 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-chips .pill { background: var(--paper); }
.flow-arrow { position: relative; height: 2px; margin: 0 12px; background: linear-gradient(90deg, var(--line), var(--purple)); }
.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
  transform: rotate(45deg);
}
.flow-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1;
  max-width: 260px;
  width: 100%;
  margin-inline: auto;
  padding: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 14px rgba(83, 56, 141, 0.12), 0 0 0 28px rgba(83, 56, 141, 0.06);
}
.flow-core .wordmark .mark { font-size: 30px; }
.flow-core p { margin-top: 12px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.86); }
.flow-out {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
}
.flow-out small { color: var(--lilac); }
.flow-out strong { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(64px, 8vw, 112px);
}
.principle {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.principle span { display: block; margin-bottom: 40px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--purple); }
.principle strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }

@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { width: 2px; height: 48px; margin: 16px auto; background: linear-gradient(180deg, var(--line), var(--purple)); }
  .flow-arrow::after { right: -5px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .flow-core { max-width: 240px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .principles { grid-template-columns: 1fr; }
  .principle span { margin-bottom: 20px; }
}

/* ---------- Contact ---------- */

.contact { position: relative; color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 10, 26, 0.96) 0%, rgba(14, 10, 26, 0.8) 50%, rgba(36, 22, 63, 0.7) 100%),
    linear-gradient(0deg, rgba(14, 10, 26, 0.9), rgba(14, 10, 26, 0) 40%);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-copy .h2 { margin-bottom: 32px; }
.contact-copy p { color: var(--on-dark-muted); max-width: 520px; }
.contact-details { display: grid; gap: 14px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact-details a, .contact-details span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.contact-details svg { width: 20px; height: 20px; color: var(--lilac); }
.contact-details a:hover { color: var(--lilac); }

.form-card {
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.6);
}
.form-card h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.form-card .intro { margin: 10px 0 28px; color: var(--muted); font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--text); padding: 0; }
.field label .opt, .field legend .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353388D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9C96A6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC8BE; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(83, 56, 141, 0.14);
}
.field [aria-invalid="true"] { border-color: #B42318; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12); }
.field .error { display: none; align-items: center; gap: 6px; font-size: 13.5px; color: #B42318; }
.field .error svg { width: 15px; height: 15px; flex: none; }
.field.has-error .error { display: flex; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.choice label:hover { border-color: #CFC8BE; }
.choice input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + label { outline: 2px solid var(--lilac-2); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot .note { font-size: 13.5px; color: var(--muted); max-width: 300px; line-height: 1.5; }
.form-summary {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FEF3F2;
  color: #912018;
  font-size: 14.5px;
  font-weight: 500;
}
.form-summary.is-visible { display: block; }

.form-done { display: none; text-align: left; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: block; animation: panel-in 0.6s var(--ease-out); }
.form-done .tick {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(83, 56, 141, 0.1);
  color: var(--purple);
  margin-bottom: 28px;
}
.form-done .tick svg { width: 30px; height: 30px; }
.form-done p { color: var(--muted); margin: 12px 0 0; }
.form-done .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-plain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.btn-plain:hover { border-color: #CFC8BE; background: var(--sand); }
.btn-plain svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(72px, 9vw, 120px); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.footer-brand .wordmark .mark { font-size: 36px; }
.footer-brand .wordmark .sub { font-size: 17px; }
.footer-brand p { margin-top: 24px; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; max-width: 360px; }
.footer-brand p span { color: var(--lilac); }
.footer-col h4 { margin-bottom: 20px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { text-decoration: none; opacity: 0.88; transition: opacity 0.3s, color 0.3s; }
.footer-col a:hover { opacity: 1; color: var(--lilac); }
.footer-col address { font-style: normal; color: var(--on-dark-muted); line-height: 1.6; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--on-dark-muted);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); }
.footer-credits { flex-basis: 100%; margin: 0; font-size: 12.5px; opacity: 0.8; }
.footer-credits a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.footer-mega {
  font-size: clamp(56px, 13.2vw, 220px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  user-select: none;
  overflow: hidden;
  padding-top: 12px;
  margin-bottom: -0.08em;
  text-align: center;
}

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .statement-text .w { color: var(--text); }
}
