:root {
  --ink: #111111;
  --cream: #F7F4EE;
  --gold: #D4A15A;
  --coral: #FF6B6B;
  --teal: #4FC0B5;
  --muted: #aaa79f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: #090909;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.loading-mark { position: fixed; inset: 0; display: grid; place-items: center; background: var(--ink); font: 900 clamp(54px, 10vw, 110px)/1 "Barlow Condensed", sans-serif; letter-spacing: -.04em; }
.loading-mark span { color: var(--gold); font-style: italic; }
#blazor-error-ui { display: none; position: fixed; z-index: 1000; inset: auto 20px 20px; padding: 14px 18px; color: var(--ink); background: var(--coral); box-shadow: 6px 6px 0 var(--gold); }
#blazor-error-ui .dismiss { float: right; margin-left: 20px; cursor: pointer; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
a { color: inherit; }
.site-shell { overflow: hidden; background: var(--ink); }
.nav-wrap {
  height: 96px;
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(247,244,238,.1);
  position: relative;
  z-index: 10;
}
.brand-logo { position: absolute; left: clamp(24px, 5vw, 76px); width: clamp(210px, 20vw, 290px); max-width: calc(42% - clamp(24px, 5vw, 76px)); height: 94px; display: block; object-fit: contain; object-position: left center; }
.desktop-nav { grid-column: 2; display: flex; gap: clamp(26px, 3vw, 50px); }
.desktop-nav a { text-decoration: none; text-transform: uppercase; font: 700 12px/1 "DM Sans"; letter-spacing: .14em; color: #c8c4bc; transition: color .2s; }
.desktop-nav a:hover { color: var(--gold); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px;
  min-height: 58px; padding: 0 28px;
  color: var(--ink); background: var(--gold); text-decoration: none;
  text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800;
  border: 1px solid var(--gold); transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-3px); background: var(--cream); }
.button-small { grid-column: 3; justify-self: end; min-height: 48px; padding: 0 20px; gap: 16px; }
.menu-button { display: none; background: none; border: 0; padding: 10px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--cream); }
.mobile-menu { position: fixed; inset: 80px 0 auto; z-index: 15; padding: 28px; background: var(--ink); border-bottom: 1px solid #333; }
.mobile-menu a { display: block; padding: 14px 0; text-decoration: none; text-transform: uppercase; font-weight: 800; }

.hero {
  min-height: min(840px, calc(100vh - 96px));
  max-width: 1440px;
  margin: auto;
  padding: 58px clamp(24px, 5vw, 76px) 70px;
  display: grid;
  grid-template-columns: minmax(470px, .95fr) minmax(470px, 1.05fr);
  align-items: center;
  position: relative;
}
.hero::before { content: ""; position: absolute; top: -20%; left: 42%; width: 62%; height: 110%; background: radial-gradient(circle, rgba(212,161,90,.12), transparent 65%); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 15px; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--coral); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; }
.eyebrow span { width: 31px; height: 2px; background: currentColor; }
h1, h2, h3, blockquote { font-family: "Barlow Condensed", Impact, sans-serif; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(78px, 8.5vw, 136px); line-height: .78; letter-spacing: -.045em; margin: 31px 0 34px; }
h1 em, h2 em, blockquote em { color: var(--gold); font-style: italic; font-weight: 800; }
.hero-lede { max-width: 510px; color: #bdb9b1; line-height: 1.7; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 34px; }
.text-link { text-underline-offset: 6px; text-decoration-color: rgba(247,244,238,.35); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 800; }
.text-link span { margin-left: 10px; color: var(--teal); }
.proof-strip { display: flex; align-items: center; gap: 22px; margin-top: 60px; }
.proof-strip div { display: flex; flex-direction: column; gap: 3px; }
.proof-strip strong { color: var(--teal); font: 800 31px/1 "Barlow Condensed"; }
.proof-strip span { color: var(--cream); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }
.proof-strip i { width: 1px; height: 35px; background: #353535; }

.hero-visual { min-height: 650px; align-self: stretch; position: relative; }
.character-glow { position: absolute; width: 70%; height: 70%; left: 15%; top: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(212,161,90,.18), rgba(79,192,181,.06) 44%, transparent 70%); filter: blur(4px); }
.character { position: absolute; z-index: 2; bottom: 0; left: 50%; width: min(620px, 100%); height: 100%; transform: translateX(-50%); object-fit: cover; object-position: 50% 48%; mix-blend-mode: screen; filter: contrast(1.08); }
.orbit { position: absolute; border: 1px solid rgba(79,192,181,.24); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 20px var(--teal); }
.orbit-one { width: 560px; height: 560px; top: 50px; left: 50%; transform: translateX(-50%) rotate(-12deg); }
.orbit-one::after { top: 45px; right: 90px; }
.orbit-two { width: 420px; height: 420px; top: 126px; left: 50%; border-color: rgba(255,107,107,.2); transform: translateX(-50%) rotate(36deg); }
.orbit-two::after { bottom: 31px; left: 78px; background: var(--coral); box-shadow: 0 0 20px var(--coral); }
.formula { position: absolute; z-index: 3; font: 700 11px/1 "DM Sans"; letter-spacing: .12em; color: rgba(247,244,238,.48); }
.formula-one { top: 105px; left: 4%; transform: rotate(-8deg); }
.formula-two { right: 0; top: 28%; transform: rotate(8deg); }
.spark { position: absolute; z-index: 3; color: var(--gold); font-size: 28px; }
.spark-one { left: 7%; top: 36%; }
.spark-two { right: 4%; bottom: 25%; color: var(--coral); font-size: 18px; }
.id-card { position: absolute; z-index: 4; right: 1%; bottom: 60px; width: 190px; padding: 16px 18px; color: var(--ink); background: var(--cream); transform: rotate(-4deg); box-shadow: 8px 8px 0 var(--teal); }
.id-card span { display: block; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.id-card strong { display: block; font: 900 25px/1.1 "Barlow Condensed"; margin: 5px 0; }
.id-card b { color: var(--coral); font-size: 9px; letter-spacing: .12em; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; transform: translateX(-50%); }
.scroll-cue span { color: #716e69; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .17em; font-size: 8px; }
.scroll-cue b { color: var(--gold); }

.ticker { overflow: hidden; padding: 18px 0; color: var(--ink); background: var(--gold); transform: rotate(-1deg) scale(1.02); }
.ticker div { width: max-content; font: 900 20px/1 "Barlow Condensed"; letter-spacing: .08em; white-space: nowrap; animation: ticker 26s linear infinite; }
.ticker span { margin: 0 30px; color: var(--cream); }
@keyframes ticker { to { transform: translateX(-50%); } }

.experiments { max-width: 1320px; margin: auto; padding: 150px clamp(24px, 5vw, 76px); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 64px; }
h2 { font-size: clamp(64px, 7vw, 104px); line-height: .82; letter-spacing: -.04em; }
.section-heading > p { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.experiment-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.experiment-card { min-height: 500px; padding: 25px; position: relative; display: flex; flex-direction: column; color: var(--ink); overflow: hidden; transition: transform .3s; }
.experiment-card { grid-column: span 2; }
.experiment-card:hover { transform: translateY(-8px); }
.experiment-card.coral { background: var(--coral); }
.experiment-card.gold { background: var(--gold); }
.experiment-card.teal { background: var(--teal); }
.experiment-card.cream { background: var(--cream); }
.experiment-card.dark { color: var(--cream); background: var(--ink); border: 1px solid var(--teal); }
.experiment-card.pending { color: var(--ink); background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 28%, var(--cream) 50%, var(--teal) 72%, var(--ink) 100%); border: 1px solid var(--cream); }
.experiment-label { align-self: flex-start; border: 1px solid currentColor; padding: 7px 10px; text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.experiment-number { height: 178px; display: flex; align-items: center; justify-content: flex-start; color: transparent; -webkit-text-stroke: 2px var(--ink); opacity: .28; font: 900 clamp(78px, 9vw, 132px)/1 "Barlow Condensed", Impact, sans-serif; letter-spacing: 0; }
.experiment-card.dark .experiment-number { -webkit-text-stroke-color: var(--cream); }
.experiment-card h3 { font-size: 58px; line-height: .79; letter-spacing: -.02em; }
.experiment-card p { max-width: 260px; margin: 18px 0; font-size: 13px; line-height: 1.5; }
.experiment-card a { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(17,17,17,.35); text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .1em; display: flex; justify-content: space-between; }
.lab-note { padding: 140px 24px; text-align: center; background: var(--cream); color: var(--ink); }
.lab-note > p { color: var(--coral); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; }
blockquote { font-size: clamp(52px, 6.3vw, 94px); line-height: .9; letter-spacing: -.03em; margin: 32px auto; }
.lab-note > span { text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; }
footer { min-height: 220px; max-width: 1320px; margin: auto; padding: 50px clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; }
footer img { width: 150px; height: 86px; object-fit: contain; object-position: center; }
footer p { color: var(--muted); }
footer a { text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }

@media (max-width: 900px) {
  .nav-wrap { height: 80px; grid-template-columns: 1fr auto; }
  .desktop-nav, .button-small { display: none; }
  .brand-logo { width: 210px; max-width: calc(100% - 100px); height: 78px; }
  .menu-button { display: block; grid-column: 2; justify-self: end; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { min-height: 650px; margin-top: 25px; }
  .scroll-cue { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .experiment-grid { grid-template-columns: 1fr 1fr; }
  .experiment-card { grid-column: auto; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(68px, 21vw, 96px); }
  .hero { padding-top: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 24px; }
  .text-link { text-align: center; }
  .proof-strip { gap: 13px; justify-content: space-between; }
  .hero-visual { min-height: 500px; margin-left: -38px; margin-right: -38px; }
  .character { width: 115%; }
  .orbit-one { width: 440px; height: 440px; }
  .orbit-two { width: 330px; height: 330px; }
  .id-card { right: 10%; bottom: 34px; transform: scale(.78) rotate(-4deg); transform-origin: right bottom; }
  .ticker div { font-size: 17px; }
  .experiments { padding-top: 110px; padding-bottom: 90px; }
  .section-heading { margin-bottom: 40px; }
  .experiment-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  * { transition-duration: 0s !important; }
}
