/* Prospero Ventures Limited — site styles */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-normal-300-800.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-400.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-normal-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --bg-3: #10131a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --text: #eceef2;
  --muted: #a0a6b1;
  --dim: #737a86;
  --gold: #e2b24c;
  --gold-hi: #fbe08a;
  --gold-lo: #a8741a;
  --grad-gold: linear-gradient(135deg, #fbe08a 0%, #e8b84d 42%, #b8821f 100%);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything, very faint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: rgba(226, 178, 76, 0.35); color: #fff; }

h1, h2, h3 {
  margin: 0 0 0.45em;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }

.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 620px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: #000;
  border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold {
  background: var(--grad-gold);
  color: #17120a;
  box-shadow: 0 10px 40px -12px rgba(226, 178, 76, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(226, 178, 76, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-glass {
  background: var(--glass-2);
  color: var(--text);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 var(--gutter);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled .nav-inner {
  background: rgba(10, 12, 16, 0.82);
  border-color: var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 60px; width: auto; transition: height 0.3s var(--ease); }
.nav.scrolled .brand img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--glass-2);
  color: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: rgba(7, 8, 11, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}
.mobile-menu .btn { margin-top: 32px; font-size: 16px; }

@media (max-width: 1100px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .brand img, .nav.scrolled .brand img { height: 46px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 136px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(226, 178, 76, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(120, 140, 190, 0.08), transparent 70%),
    var(--bg);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.pill .dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero h1 { font-size: clamp(38px, 4.3vw, 62px); margin-bottom: 26px; }
.br-lg { display: none; }
@media (min-width: 961px) { .br-lg { display: inline; } }
.hero h1 .accent { display: inline-block; }
.hero .lead { margin-bottom: 18px; }
.hero-more { max-width: 620px; margin-bottom: 34px; padding-left: 18px; border-left: 1px solid rgba(226, 178, 76, 0.35); }
.hero-more p { color: var(--dim); font-size: 15.5px; line-height: 1.65; margin-bottom: 0.7em; }
.hero-more p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  list-style: none;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-values li { display: flex; align-items: center; }
.hero-values li + li::before { content: "\2726"; margin: 0 16px; font-size: 10px; color: var(--gold); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--dim);
}
.hero-meta strong { color: var(--text); font-weight: 600; }

.globe-wrap { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: end; }
.globe-wrap canvas { width: 100%; height: 100%; }
.globe-wrap::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(226, 178, 76, 0.14), transparent 65%);
  filter: blur(20px);
  z-index: -1;
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(14, 16, 22, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  animation: float 7s ease-in-out infinite;
}
.chip strong { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.chip-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(226, 178, 76, 0.12);
  color: var(--gold);
}
.chip-icon svg { width: 17px; height: 17px; }
.chip-1 { top: 12%; left: -2%; }
.chip-2 { bottom: 16%; right: -2%; animation-delay: -2.5s; }
.chip-3 { bottom: 4%; left: 8%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .globe-wrap { justify-self: center; max-width: 460px; margin-top: 10px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .chip { padding: 8px 11px; font-size: 12px; }
  .chip strong { font-size: 13px; }
  .chip-icon { width: 28px; height: 28px; }
  .chip-1 { left: 0; top: 4%; }
  .chip-2 { right: 0; }
  .chip-3 { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.marquee li:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.marquee li::after { content: "\2726"; font-size: 0.55em; color: var(--gold-lo); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* glass card with a cursor-following gold edge */
.glass {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 200, 105, 0.7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 178, 76, 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.spot:hover::before,
.spot:hover::after { opacity: 1; }

/* About bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento > * { padding: clamp(28px, 3.4vw, 44px); }
.b-intro { grid-column: span 7; }
.b-intro h2 { margin-bottom: 26px; }
.b-intro .big { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: #fff; font-weight: 500; letter-spacing: -0.015em; }
.b-intro p:not(.big) { color: var(--muted); }
.b-intro p:last-child { margin-bottom: 0; }
.b-mark { grid-column: span 5; display: grid; place-items: center; min-height: 380px; }
.mark-orb { position: relative; width: min(280px, 70%); aspect-ratio: 1; display: grid; place-items: center; }
.mark-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 35%, rgba(251, 224, 138, 0.9) 50%, transparent 65% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spin 9s linear infinite;
}
.mark-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 40%, rgba(226, 178, 76, 0.16), transparent 65%);
}
.mark-orb img { position: relative; z-index: 1; width: 52%; filter: drop-shadow(0 18px 40px rgba(226, 178, 76, 0.3)); }
@keyframes spin { to { transform: rotate(360deg); } }
.b-stat { grid-column: span 4; }
.b-stat .num {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #b9bcc4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.b-stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .b-intro, .b-mark { grid-column: 1 / -1; }
  .b-mark { min-height: 300px; }
  .b-stat { grid-column: span 6; }
  .b-stat:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .b-stat, .b-stat:last-child { grid-column: 1 / -1; }
}

/* Activities */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 36px 32px 34px; display: flex; flex-direction: column; min-height: 360px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 178, 76, 0.25);
  background: linear-gradient(160deg, rgba(226, 178, 76, 0.16), rgba(226, 178, 76, 0.02));
}
.card-icon svg { width: 36px; height: 36px; }
.card-num { font-size: 14px; font-weight: 700; color: var(--dim); letter-spacing: 0.1em; }
.card h3 { margin-top: 64px; }
.card p { color: var(--muted); margin: 0; }
.card .card-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-size: 15.5px; }
.draw path, .draw rect, .draw circle, .draw line, .draw polyline {
  stroke-dasharray: 160;
  stroke-dashoffset: 0;
}
.js .draw path, .js .draw rect, .js .draw circle, .js .draw line, .js .draw polyline { stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.js .in .draw path, .js .in .draw rect, .js .in .draw circle, .js .in .draw line, .js .in .draw polyline { stroke-dashoffset: 0; }
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 36px; }
}

/* Investment universe */
.universe { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.universe-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.asset-list { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: a; }
.asset-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: a;
}
.asset-list li:last-child { border-bottom: 1px solid var(--line); }
.asset-list li::before { content: "0" counter(a); font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; }
.asset-list strong { display: block; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.asset-list span { color: var(--muted); font-size: 15px; }
.orbit { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring-a { transform-origin: 300px 300px; animation: spin 60s linear infinite; }
.orbit .ring-b { transform-origin: 300px 300px; animation: spin 90s linear infinite reverse; }
.orbit .node-label { font-family: var(--sans); font-size: 17px; font-weight: 700; fill: #fff; letter-spacing: -0.01em; }
.orbit .node-sub { font-family: var(--sans); font-size: 12.5px; font-weight: 600; fill: var(--muted); letter-spacing: 0.12em; }
.orbit .pulse { transform-box: fill-box; transform-origin: center; animation: node 3s var(--ease) infinite; }
.orbit .pulse.d2 { animation-delay: -0.75s; }
.orbit .pulse.d3 { animation-delay: -1.5s; }
.orbit .pulse.d4 { animation-delay: -2.25s; }
@keyframes node { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.orbit-center { position: absolute; left: 50%; top: 50%; width: 15%; transform: translate(-48%, -50%); }
.orbit-center img { width: 100%; filter: drop-shadow(0 10px 40px rgba(226, 178, 76, 0.35)); }
.regions {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(60% 90% at 100% 50%, rgba(226, 178, 76, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.regions h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.regions p { color: var(--muted); margin: 0; }
.region-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.region-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
@media (max-width: 960px) {
  .universe-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 480px; }
  .regions { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .region-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .orbit .node-label { font-size: 23px; }
  .orbit .node-sub { font-size: 15px; letter-spacing: 0.08em; }
}

/* Approach */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-line {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 32px;
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.steps-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-hi), var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 0.2s;
}
.steps.in .steps-line::after,
.no-js .steps-line::after { transform: scaleX(1); }
.step { position: relative; }
.step-badge {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 178, 76, 0.35);
  background: radial-gradient(circle at 35% 30%, #2a2418, #0e0f13 70%);
  box-shadow: 0 0 0 8px var(--bg), 0 0 30px -6px rgba(226, 178, 76, 0.4);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-hi);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .steps-line { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Six principles: three per row, each badge joined to the next by a gold line */
.steps-6 { grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
.steps-6 .step::before,
.steps-6 .step::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 64px;
  width: calc(100% - 64px + 32px);
  height: 1px;
}
.steps-6 .step::before { background: var(--line-2); }
.steps-6 .step::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-hi), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) 0.3s;
}
.steps-6 .step::after { transition-delay: calc(var(--i, 0) * 120ms + 450ms); }
.steps-6 .step:nth-child(3n)::before,
.steps-6 .step:nth-child(3n)::after { display: none; }
.steps-6.in .step::after,
.no-js .steps-6 .step::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .steps-6 { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .steps-6 .step::before, .steps-6 .step::after { display: none; }
}
@media (max-width: 560px) { .steps-6 { grid-template-columns: 1fr; } }

/* Corporate information */
.corp { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.corp-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.corp-copy p { color: var(--muted); }
.corp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.record { padding: 0; }
.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.record-head .who { display: flex; align-items: center; gap: 14px; }
.record-head img { width: 34px; }
.record-head strong { display: block; color: #fff; font-size: 16px; font-weight: 700; }
.record-head small { color: var(--dim); font-size: 13px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 178, 76, 0.35);
  background: rgba(226, 178, 76, 0.08);
  color: var(--gold-hi);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.facts { margin: 0; position: relative; }
.facts > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 17px 28px;
  border-bottom: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 13.5px; font-weight: 600; color: var(--dim); }
.facts dd { margin: 0; color: var(--text); font-weight: 500; }
.copy-btn {
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font: 600 12px var(--sans);
  cursor: pointer;
  vertical-align: 1px;
}
.copy-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.record-watermark { position: absolute; right: -60px; bottom: -70px; width: 300px; opacity: 0.05; pointer-events: none; }
@media (max-width: 960px) { .corp-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 15px 20px; }
  .record-head { padding: 18px 20px; }
}

/* Contact */
.contact-panel {
  position: relative;
  padding: clamp(40px, 6vw, 80px);
  border-radius: 32px;
  border: 1px solid rgba(226, 178, 76, 0.25);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(226, 178, 76, 0.2), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(226, 178, 76, 0.08), transparent 60%),
    linear-gradient(180deg, #111318, #0b0c10);
  overflow: hidden;
  isolation: isolate;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 60% at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(60% 60% at 80% 20%, #000, transparent 70%);
}
.contact-panel h2 { max-width: 760px; }
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 36px; }
.tile {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}
a.tile:hover { border-color: rgba(226, 178, 76, 0.4); background: rgba(226, 178, 76, 0.06); transform: translateY(-3px); }
.tile .chip-icon { width: 42px; height: 42px; border-radius: 12px; }
.tile .chip-icon svg { width: 20px; height: 20px; }
.tile small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.tile span { color: #fff; font-weight: 600; line-height: 1.45; }
.tile address { font-style: normal; color: #fff; font-weight: 500; font-size: 15px; line-height: 1.5; }
.contact-tiles.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.contact-tiles.two .tile { align-items: flex-start; }
@media (max-width: 960px) { .contact-tiles, .contact-tiles.two { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-tiles .tile { flex-direction: column; gap: 14px; } }

/* Leadership */
.leadership { border-top: 1px solid var(--line); }
.leader { display: grid; grid-template-columns: 0.8fr 1.2fr; }
.leader-id { padding: clamp(30px, 4vw, 48px); border-right: 1px solid var(--line); background: radial-gradient(70% 60% at 25% 15%, rgba(226, 178, 76, 0.12), transparent 70%); }
.monogram { position: relative; width: 116px; height: 116px; margin-bottom: 28px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2a2418, #0e0f13 70%); border: 1px solid rgba(226, 178, 76, 0.35); box-shadow: 0 0 46px -12px rgba(226, 178, 76, 0.5); }
.monogram::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 35%, rgba(251, 224, 138, 0.9) 50%, transparent 65% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); animation: spin 9s linear infinite; }
.monogram span { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.05em; }
.leader-id h3 { font-size: 32px; margin-bottom: 4px; }
.role { color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 30px; }
.leader-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.leader-stats li { padding-top: 16px; border-top: 1px solid var(--line); }
.leader-stats strong { display: block; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.leader-stats span { color: var(--muted); font-size: 14.5px; }
.leader-bio { padding: clamp(30px, 4vw, 48px) clamp(28px, 4vw, 52px); }
.leader-bio .big { color: #fff; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; }
.leader-bio p { color: var(--muted); }
.leader-block { margin-top: 26px; }
.leader-block small { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: 14px; color: var(--text); }
@media (max-width: 900px) { .leader { grid-template-columns: 1fr; } .leader-id { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 66px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--dim); font-size: 14.5px; max-width: 360px; }
.footer-brand .footer-tagline { margin-bottom: 12px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--gold-hi); }
.footer h4 { margin: 6px 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.footer li a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer li a:hover { color: #fff; }
.footer-legal { padding-top: 30px; font-size: 13px; color: var(--dim); line-height: 1.7; }
.footer-legal p { max-width: 920px; }
.footer-legal a { color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal page ---------- */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(44px, 6vw, 78px); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 1.8em 0 0.6em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--gold-hi); }
.updated { color: var(--dim); font-size: 14px; margin-bottom: 40px; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }


/* ---------- Motion and graphics ---------- */

/* reading progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #b8821f, #fbe08a);
  box-shadow: 0 0 12px rgba(251, 224, 138, 0.6);
  pointer-events: none;
}

/* menu: current section */
.nav-links a.active { color: #fff; background: rgba(226, 178, 76, 0.12); box-shadow: inset 0 0 0 1px rgba(226, 178, 76, 0.28); }

/* hero: drifting light */
.hero-aurora { position: absolute; inset: 0; overflow: hidden; }
.hero-aurora span { position: absolute; border-radius: 50%; }
.hero-aurora span:nth-child(1) { width: 640px; height: 640px; right: 4%; top: 2%; background: radial-gradient(circle, rgba(226, 178, 76, 0.16), transparent 62%); animation: drift-a 19s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(2) { width: 560px; height: 560px; left: -8%; bottom: -14%; background: radial-gradient(circle, rgba(120, 140, 200, 0.12), transparent 62%); animation: drift-b 23s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(3) { width: 420px; height: 420px; left: 38%; top: 30%; background: radial-gradient(circle, rgba(251, 224, 138, 0.07), transparent 62%); animation: drift-c 17s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(140px, -90px) scale(1.1); } }
@keyframes drift-c { to { transform: translate(-90px, -60px) scale(1.25); } }

/* hero: mouse parallax (values set by site.js) */
.hero-bg::before { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 10px); transition: translate 1.2s var(--ease); }
.js .globe-wrap[data-reveal] {
  translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), translate 0.9s var(--ease);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
}
.chip { transition: translate 0.7s var(--ease); }
.chip-1 { translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 16px); }
.chip-2 { translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 20px); }
.chip-3 { translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 12px); }

/* hero: headline rises in word by word */
.js .hero h1.split[data-reveal] { opacity: 1; transform: none; }
.split .w { display: inline-block; }
.js .split .w {
  opacity: 0;
  transform: translateY(0.4em) rotate(2deg);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(150ms + var(--i, 0) * 110ms);
}
.js .split.in .w { opacity: 1; transform: none; filter: none; }

/* gold glint on accent words: passes once as a heading appears, and repeats on the hero */
.js .accent {
  background-image: linear-gradient(100deg, #fbe08a 0%, #e8b84d 14%, #b8821f 33%, #b8821f 41%, #fff4cf 50%, #b8821f 59%, #fbe08a 67%, #e8b84d 81%, #b8821f 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
}
.js .in .accent { animation: glint 1.6s var(--ease) 0.45s both; }
.js .in .accent.shimmer { animation: glint-loop 7s ease-in-out 1.3s infinite; }
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes glint-loop { 0%, 72% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* small labels draw their line in */
.js [data-reveal] .kicker::before, .js .kicker[data-reveal]::before,
.js .section-head.center[data-reveal] .kicker::after { width: 0; transition: width 0.9s var(--ease) 0.3s; }
.js .in .kicker::before, .js .kicker.in::before,
.js .section-head.center.in .kicker::after { width: 28px; }

/* gold buttons: light sweep on hover, and every few seconds on the hero button */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
}
.btn-gold:hover::after { left: 130%; }
.hero-actions .btn-gold::after { animation: sweep 6s ease-in-out 2.5s infinite; }
@keyframes sweep { 0%, 82% { left: -70%; } 100% { left: 130%; } }

/* About: orbiting points around the mark */
.orb-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-ring.r1 { inset: -16%; border: 1px dashed rgba(226, 178, 76, 0.22); animation: spin 22s linear infinite; }
.orb-ring.r2 { inset: -34%; border: 1px solid rgba(255, 255, 255, 0.05); animation: spin 38s linear infinite reverse; }
.orb-ring i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 14px 2px rgba(226, 178, 76, 0.7); }
.orb-ring.r2 i { width: 6px; height: 6px; margin-left: -3px; top: -3px; background: #fff3c4; }
.orb-ring.r2 i + i { top: auto; bottom: -3px; background: var(--gold); }

/* What we do: cards tilt toward the cursor (angles set by site.js) */
.cards { perspective: 1300px; }
.js .tilt[data-reveal] {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), rotate 0.35s var(--ease);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
}
.tilt:hover .card-icon { box-shadow: 0 0 34px -6px rgba(226, 178, 76, 0.7); }
.card-icon { transition: box-shadow 0.4s; }

/* Where we invest: travelling pulses and a spotlight that moves through the four asset classes */
.orbit .dot { transform-box: fill-box; transform-origin: center; transition: transform 0.5s var(--ease), fill 0.3s; }
.orbit .node { cursor: pointer; transition: opacity 0.4s; }
.orbit.cycling .node { opacity: 0.5; }
.orbit .node.active { opacity: 1; }
.orbit .node.active .dot { transform: scale(1.6); fill: #fbe08a; filter: drop-shadow(0 0 8px rgba(251, 224, 138, 0.9)); }
.orbit .node-label, .orbit .node-sub { transition: fill 0.3s; }
.orbit .node.active .node-label { fill: var(--gold-hi); }
.orbit .node.active .node-sub { fill: #d9c89a; }
.orbit .spoke { transition: stroke 0.3s, stroke-width 0.3s; }
.orbit .spoke.active { stroke: #fbe08a; stroke-width: 1.8; animation: march 0.9s linear infinite; }
@keyframes march { to { stroke-dashoffset: -20; } }
.orbit.static .packets { display: none; }
.asset-list li { position: relative; transition: background-color 0.4s, padding-left 0.45s var(--ease); }
.asset-list li::after { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--grad-gold); transform: scaleY(0); transition: transform 0.45s var(--ease); }
.asset-list li.active { padding-left: 14px; background: linear-gradient(90deg, rgba(226, 178, 76, 0.08), transparent 75%); }
.asset-list li.active::after { transform: scaleY(1); }
.asset-list li.active::before, .asset-list li.active strong { color: var(--gold-hi); }
.asset-list strong { transition: color 0.3s; }

/* Regions: live clocks */
.clock {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(226, 178, 76, 0.45);
  background: radial-gradient(circle at 35% 30%, #2a2418, #0e0f13 70%);
  box-shadow: 0 0 16px -4px rgba(226, 178, 76, 0.55);
}
.clock i { position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; border-radius: 2px; transform-origin: 50% 100%; }
.clock .hh { height: 9px; background: var(--gold-hi); transform: rotate(var(--hh, 0deg)); }
.clock .mm { height: 13px; width: 1.5px; margin-left: -0.75px; background: #fff; transform: rotate(var(--mm, 0deg)); }
.clock .ss { height: 14px; width: 1px; margin-left: -0.5px; background: var(--gold); transform: rotate(var(--ss, 0deg)); }
.clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--gold-hi); }
.clock.world { overflow: hidden; }
.clock.world::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(251, 224, 138, 0.75); animation: meridian 3.2s linear infinite; }
.clock.world::after { left: 4px; right: 4px; width: auto; height: 1px; margin: 0; border-radius: 0; background: rgba(251, 224, 138, 0.45); }
@keyframes meridian { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.08); } }
.rl { display: flex; flex-direction: column; gap: 2px; }
.rl small { color: var(--muted); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rl small:empty { display: none; }

/* Philosophy: badges pop in one after another, with a turning ring */
.step-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 40%, rgba(251, 224, 138, 0.85) 50%, transparent 60% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spin 7s linear infinite;
}
.step-badge { transition: box-shadow 0.4s; }
.step:hover .step-badge { box-shadow: 0 0 0 8px var(--bg), 0 0 44px -4px rgba(226, 178, 76, 0.85); }
.js .steps-6 .step-badge {
  opacity: 0;
  transform: scale(0.3);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s, box-shadow 0.4s;
  transition-delay: calc(var(--i, 0) * 120ms + 150ms), calc(var(--i, 0) * 120ms + 150ms), 0ms;
}
.js .steps-6 .step h3, .js .steps-6 .step p {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + 320ms);
}
.js .steps-6.in .step-badge, .js .steps-6.in .step h3, .js .steps-6.in .step p { opacity: 1; transform: none; }

/* Contact: a light travels around the panel's edge */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam), transparent 0 72%, rgba(251, 224, 138, 0.95) 86%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beam 7s linear infinite;
  pointer-events: none;
}
@keyframes beam { to { --beam: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .draw path, .js .draw rect, .js .draw circle, .js .draw line, .js .draw polyline { stroke-dashoffset: 0; }
  .steps-line::after, .steps-6 .step::after { transform: scaleX(1); }
}
