@font-face { font-family: "Gutica"; src: url("fonts/Gutica-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gutica"; src: url("fonts/Gutica-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gutica"; src: url("fonts/Gutica-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Every desktop measurement is in mock pixels (1920 x 1080) times --u, so the page keeps the mock's proportions at any size. */
:root {
  --u: min(calc(100vw / 1920), calc(100vh / 1080));
  --u: min(calc(100vw / 1920), calc(100svh / 1080));
  --cu: var(--u);
  --mx: calc(100vw * 200 / 1920);
  --violet: #7575F9;
  --cyan: #3CD0D3;
  --coral: #FF8A8A;
  --green: #69CCA2;
  --paper: #F7F7F7;
  --ink: #000;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-sine: cubic-bezier(0.61, 1, 0.88, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: "Gutica", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}
::selection { background: var(--violet); color: #fff; }
img, svg, canvas { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* Header */
.bar {
  position: relative;
  z-index: 3;
  flex: none;
  display: flex;
  align-items: center;
  height: calc(157 * var(--u));
  padding: 0 var(--mx);
  background: #fff;
}
.brand { display: block; flex: none; border-radius: 4px; }
.brand img { width: calc(407 * var(--u)); height: auto; }

.nav { margin-left: calc(175 * var(--u)); transform: translateY(calc(8.5 * var(--u))); }
.nav ul { display: flex; align-items: center; gap: calc(92 * var(--u)); }
.nav li { font-size: max(11.5px, calc(12 * var(--u))); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.nav span { cursor: default; display: inline-flex; align-items: center; }
.nav a[aria-current] { color: var(--violet); }
.chev { width: max(9px, calc(9.5 * var(--u))); height: auto; margin-left: max(7px, calc(9 * var(--u))); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.search { margin-left: auto; flex: none; transform: translateY(calc(4.5 * var(--u))); }
.search input {
  display: block;
  width: calc(296 * var(--u));
  height: calc(50 * var(--u));
  min-height: 30px;
  padding: 0 0 0 calc(26 * var(--u));
  border: 1.3px solid #1b1b1b;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: max(11px, calc(12 * var(--u)));
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}
.search input::placeholder { color: #8d8d8d; opacity: 1; }
.search input:disabled { cursor: default; -webkit-text-fill-color: currentColor; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }

/* Hero */
.hero {
  position: relative;
  flex: 1 0 auto;
  min-height: calc(923 * var(--u));
  overflow: hidden;
  isolation: isolate;
}
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #fff; }
.scene .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 62%;
  user-select: none;
  -webkit-user-drag: none;
}
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.scene.gl canvas { display: block; }
.scene.gl .layer { visibility: hidden; }
.scene.framed .layer { inset: auto; object-fit: fill; will-change: transform; }

.copy { position: absolute; left: var(--mx); top: calc(207.2 * var(--u)); }
h1 {
  font-weight: 500;
  font-size: calc(71.7 * var(--u));
  line-height: 0.976;
  letter-spacing: 0;
}
h1 span { display: block; }
.sub {
  margin-top: calc(62.6 * var(--u));
  font-size: calc(37.9 * var(--u));
  line-height: 1.2;
}

.card {
  position: absolute;
  top: calc(200 * var(--u));
  right: calc(100vw * 180 / 1920);
  width: calc(422 * var(--cu));
  padding: calc(39.3 * var(--cu)) 0 calc(37.85 * var(--cu)) calc(39 * var(--cu));
  border-radius: calc(40 * var(--cu));
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  backdrop-filter: blur(22px) saturate(1.08);
}
.card li + li { margin-top: calc(49.4 * var(--cu)); }
.card img { height: auto; }
.v-health { width: calc(288.4 * var(--cu)); }
.v-method { width: calc(302.8 * var(--cu)); }
.v-experience { width: calc(337.2 * var(--cu)); }

/* The search pill is decorative for now; drop it before it can crowd the menu. */
@media (max-width: 1180px) { .search { display: none; } }

/* Portrait screens: stack the copy and the card, keep the figure on the cliff in view below them. */
@media (max-aspect-ratio: 1/1), (max-width: 700px) {
  :root {
    --mx: clamp(20px, 6vw, 56px);
    --cu: clamp(0.6px, calc(100vw / 540), 0.95px);
  }
  .bar { height: auto; flex-wrap: wrap; row-gap: 16px; padding: 20px var(--mx) 16px; }
  .brand img { width: clamp(168px, 44vw, 260px); }
  .nav { order: 3; width: 100%; margin: 0; transform: none; }
  .nav ul { justify-content: space-between; gap: 12px; }
  .nav li { font-size: 12px; }
  .chev { width: 9px; margin-left: 6px; }
  .search { display: none; }

  .hero { min-height: 0; padding-bottom: clamp(200px, 36svh, 460px); }
  .copy { position: relative; left: auto; top: auto; padding: clamp(30px, 8vw, 72px) var(--mx) 0; }
  h1 { font-size: clamp(28px, 8.3vw, 66px); line-height: 1.02; }
  .sub { margin-top: clamp(12px, 3.4vw, 28px); font-size: clamp(17px, 4.7vw, 34px); }
  .card { position: relative; top: auto; right: auto; margin: clamp(26px, 7vw, 56px) var(--mx) 0; }
  .scene .layer { object-position: 80% 62%; }
}
@media (min-width: 600px) and (max-aspect-ratio: 1/1) {
  .nav { order: 0; width: auto; margin-left: auto; }
  .nav ul { gap: 28px; }
}

/* Entrance: one element after another. Hidden only when JS runs, so the page still reads without it. */
.js .f { opacity: 0; }
.js.ready .f {
  animation: fade 1300ms var(--ease-out-sine) var(--d, 0ms) both;
}
.js.ready .f.rise {
  animation: fade 1300ms var(--ease-out-sine) var(--d, 0ms) both, rise 1300ms var(--ease-out) var(--d, 0ms) both;
}
.js .scene { opacity: 0; transition: opacity 1800ms var(--ease-out-sine); }
.js .scene.in { opacity: 1; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js.ready .f, .js.ready .f.rise { animation: fade 600ms ease calc(var(--d, 0ms) * 0.3) both; }
  .js .scene { transition-duration: 600ms; }
}


/* ---- Everlab-style structure below the hero: nav links, waitlist forms, content sections ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav a { display: inline-block; transition: color 160ms ease; }
.nav a:hover { color: var(--violet); }

.join-btn, .wl button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.5em;
  border: 0; border-radius: 999px;
  background: var(--violet); color: #000;
  font: 500 15px/1 "Gutica", system-ui, sans-serif;
  cursor: pointer; white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}
.join-btn { margin-left: auto; flex: none; transform: translateY(calc(4.5 * var(--u))); height: calc(50 * var(--u)); min-height: 44px; font-size: max(14px, calc(15 * var(--u))); }
.join-btn:hover, .wl button:hover { background: #000; color: #fff; }

.wl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wl input {
  flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 0 1.3em;
  border: 1.3px solid #1b1b1b; border-radius: 999px; background: #fff; color: #000;
  font: 400 15px/1 "Gutica", system-ui, sans-serif;
}
.wl input::placeholder { color: #6f6f6f; }
.wl-status { flex-basis: 100%; min-height: 1.3em; margin: 2px 0 0 4px; font-size: 14px; line-height: 1.3; }
.wl-status[data-state="error"] { color: #b3261e; }

.wl-hero { margin-top: calc(36 * var(--u)); width: max(340px, calc(600 * var(--u))); }
.wl-hero input, .wl-hero button { min-height: max(44px, calc(52 * var(--u))); }

.wrap { padding: 0 var(--mx); }
section.about, section.verticals, section.aim, section.waitlist, section.faq { position: relative; padding: clamp(64px, 9vw, 140px) 0; }
main h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.3vw, 56px); line-height: 1.04; letter-spacing: -0.01em; }
main p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.55; max-width: 34em; }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.about-text h2 { max-width: 14em; }
.about-text p { margin-top: clamp(18px, 2vw, 32px); }
.text-link { display: inline-block; margin-top: clamp(20px, 2.4vw, 36px); font-weight: 500; border-bottom: 2px solid var(--violet); padding-bottom: 3px; }
.text-link:hover { color: var(--violet); }
.about-photo { margin: 0; border-radius: clamp(24px, 2.6vw, 40px); overflow: hidden; background: var(--paper); }
.about-photo img { width: 100%; height: auto; }

.verticals { background: var(--paper); }
.v-list { margin-top: clamp(32px, 4vw, 64px); }
.v-row {
  display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(20px, 4vw, 80px); align-items: center;
  padding: clamp(24px, 2.6vw, 40px) clamp(20px, 2.6vw, 44px);
  background: #fff; border-radius: clamp(20px, 2vw, 32px); border-left: 8px solid var(--c);
}
.v-row + .v-row { margin-top: 14px; }
.v-row img { width: 100%; max-width: 340px; height: auto; }
.v-row p { margin: 0; }
.v-row strong { font-weight: 700; }
.v-health-row { --c: var(--cyan); }
.v-method-row { --c: var(--coral); }
.v-experience-row { --c: var(--green); }

.aim { background: #fff; }
.aim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); }
.aim h2 { font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; letter-spacing: 0; }
.aim-lead { margin: clamp(12px, 1.4vw, 20px) 0 0; font-weight: 500; font-size: clamp(22px, 2.3vw, 38px); line-height: 1.18; max-width: 18em; }

.waitlist { background: var(--violet); color: #000; }
.wl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 120px); align-items: center; }
.waitlist h2 { max-width: 10em; }
.waitlist p { margin: clamp(12px, 1.4vw, 20px) 0 0; }
.waitlist .wl input { border-color: #000; }
.waitlist .wl button { background: #000; color: #fff; }
.waitlist .wl button:hover { background: #fff; color: #000; }
.waitlist :focus-visible { outline-color: #000; }
.wl-note { flex-basis: 100%; margin: 0 0 0 4px !important; font-size: 14px !important; }

.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 120px); align-items: start; }
.faq-list details { border-bottom: 1.3px solid #1b1b1b; }
.faq-list details:first-child { border-top: 1.3px solid #1b1b1b; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: clamp(17px, 1.4vw, 22px); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-list details p { margin: 0 0 24px; }

.foot { background: #fff; border-top: 1.3px solid #1b1b1b; padding: clamp(28px, 3vw, 48px) 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(24px, 4vw, 64px); }
.foot img { width: clamp(150px, 14vw, 220px); height: auto; }
.foot p { margin: 0; font-size: 15px; }
.foot .fine { margin-left: auto; color: #555; }

@media (max-width: 900px) {
  .about-grid, .aim-grid, .wl-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-photo { order: 2; max-width: 520px; }
  .v-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-aspect-ratio: 1/1), (max-width: 700px) {
  .join-btn { transform: none; height: auto; min-height: 44px; font-size: 14px; margin-left: auto; }
  .wl-hero { width: 100%; }
  .wl-hero input, .wl-hero button { min-height: 48px; }
  .foot .fine { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .faq-list summary::after, .join-btn, .wl button, .nav a { transition: none; } }

.waitlist .wl-status { margin: 2px 0 0 4px; }


/* ---- Scroll animation: four dots become the mark, which turns upright and moves left ---- */
.genesis { --conv: 360vh; position: relative; height: calc(440vh + var(--conv)); background: var(--violet); color: #fff; --text-left: 40%; }
.genesis-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.genesis canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.genesis-fallback { display: none; position: absolute; left: var(--mx); top: 50%; height: 62%; width: auto; transform: translateY(-50%); }
.genesis.no-gl canvas, .genesis.no-gl .labels { display: none; }
.genesis.no-gl .headline, .genesis.static .headline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.genesis.no-gl .genesis-fallback { display: block; }

.labels { position: absolute; inset: 0; pointer-events: none; }
.label { position: absolute; left: 0; top: 0; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.01em; font-weight: 400; font-size: 20px; line-height: 1; opacity: 0; will-change: transform, opacity; }

.genesis .caps { position: absolute; left: var(--mx); right: var(--mx); bottom: clamp(28px, 6svh, 72px); height: 2em; font-size: clamp(18px, 2vw, 30px); pointer-events: none; }
.genesis .cap { position: absolute; right: 0; bottom: 0; margin: 0; max-width: 22em; text-align: right; font-weight: 500; line-height: 1.12; opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out-sine), transform 500ms var(--ease-out); }
.genesis .cap.on { opacity: 1; transform: none; }

.genesis .final { position: absolute; top: clamp(56px, 10svh, 110px); left: var(--text-left); right: var(--mx); max-width: 30em; opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out-sine), transform 700ms var(--ease-out); }
.genesis .final.on { opacity: 1; transform: none; }
.genesis .final h2 { font-size: clamp(24px, 3.6vw, 60px); line-height: 1.04; }
.genesis .final p { margin: clamp(10px, 1.4vw, 22px) 0 0; font-size: clamp(15px, 1.35vw, 22px); line-height: 1.45; }

.genesis.no-gl { height: auto; --text-left: calc(var(--mx) + clamp(90px, 14vw, 200px)); }
.genesis.no-gl .genesis-stage { position: relative; min-height: 80svh; padding: 64px var(--mx) 64px var(--text-left); }
.genesis.no-gl .caps { display: none; }
.genesis.no-gl .final { opacity: 1; transform: none; position: static; max-width: none; }
.genesis.static { height: auto; }
.genesis.static .genesis-stage { position: relative; min-height: 80svh; padding: 64px var(--mx) 64px var(--text-left); }
.genesis.static .caps, .genesis.static .labels { display: none; }
.genesis.static .final { opacity: 1; transform: none; position: static; max-width: none; }
@media (max-width: 700px) { .genesis { height: calc(380vh + var(--conv)); } }
@media (prefers-reduced-motion: reduce) { .genesis .cap, .genesis .final { transition: none; } }


/* ---- Editorial section: headline, image panel, small notes around it ---- */
.editorial { background: #fff; padding: clamp(56px, 8vw, 128px) 0; }
.ed { position: relative; container-type: inline-size; width: calc(100% - 2 * var(--mx)); margin: 0 auto; aspect-ratio: 1143 / 640; }
.ed > * { position: absolute; margin: 0; }
.ed-title { left: 3%; top: 14%; width: 26%; font-weight: 400; font-size: clamp(34px, 5vw, 80px); font-size: 5.2cqw; line-height: 0.98; letter-spacing: -0.01em; z-index: 2; }
.ed-title span { display: block; }
.ed-title .dot { font-style: normal; color: var(--violet); }
.ed-img { left: 33%; top: 0; width: 37%; height: 100%; overflow: hidden; background: var(--paper); border-radius: clamp(4px, 0.6cqw, 8px); }
.ed-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.ed .ed-a, .ed .ed-b, .ed .ed-c { font-size: clamp(13px, 1.15cqw, 17px); line-height: 1.38; max-width: none; }
.ed-a { left: 72.5%; top: 17%; width: 24%; }
.ed-b { left: 76.5%; top: 59%; width: 22%; }
.ed-b::before { content: ""; position: absolute; right: calc(100% + 0.5em); top: 0.7em; width: 14cqw; border-top: 1.5px solid var(--violet); }
.ed-b::after { content: ""; position: absolute; right: calc(100% + 0.5em + 14cqw); top: 0.7em; width: 0.8cqw; min-width: 8px; aspect-ratio: 1; border: 1.5px solid var(--violet); border-radius: 50%; background: #fff; transform: translate(50%, -50%); }
.ed-c { right: 71%; top: 83%; width: 18%; text-align: right; }
.ed .ed-d { left: 72.5%; top: 80%; width: 27%; color: var(--violet); font-weight: 500; font-size: clamp(20px, 2.35cqw, 36px); line-height: 1.1; max-width: none; }
@media (max-width: 900px) {
  .ed { aspect-ratio: auto; display: flex; flex-direction: column; gap: clamp(20px, 5vw, 36px); container-type: normal; }
  .ed > * { position: static; width: auto !important; }
  .ed-title { font-size: clamp(40px, 12vw, 72px); }
  .ed-img { height: auto; aspect-ratio: 4 / 5; }
  .ed .ed-a, .ed .ed-b, .ed .ed-c { font-size: 16px; text-align: left; }
  .ed > * { left: auto; top: auto; right: auto; }
  .ed-b { padding-left: 38px; position: relative; }
  .ed-b::before { right: auto; left: 0; top: 0.8em; width: 26px; }
  .ed-b::after { display: none; }
  .ed .ed-d { font-size: clamp(24px, 6.6vw, 36px); }
}

/* One line of text per cell the mark produces */
.genesis .steps { list-style: none; margin: clamp(18px, 2.6svh, 32px) 0 0; padding: 0; display: grid; gap: clamp(10px, 1.8svh, 20px); }
.genesis .steps li { opacity: 0; will-change: opacity, transform; padding-top: clamp(8px, 1.2svh, 14px); border-top: 1.3px solid rgba(255, 255, 255, 0.45); }
.genesis .steps h3 { margin: 0; font-weight: 700; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.15; }
.genesis .steps p { margin: 4px 0 0; font-size: clamp(13px, 1.05vw, 17px); line-height: 1.4; max-width: 34em; }
.genesis .steps .text-link { display: inline; margin: 0; padding: 0; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.genesis.static .steps li, .genesis.no-gl .steps li { opacity: 1; }

/* Headline words sit on the dot lattice, like the labels, and clear as the scroll begins */
.headline { position: absolute; inset: 0; margin: 0; pointer-events: none; font-size: inherit; line-height: 1; letter-spacing: 0.01em; font-weight: 400; text-transform: uppercase; color: #fff; }
.headline .w { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; will-change: transform, opacity; padding: 0.14em 0.4em; margin: -0.14em -0.4em; border-radius: 999px; background: #7575F9; }
