@font-face { font-family: "Syne"; src: url("assets/fonts/syne.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

/* Registered so the reel's border can rotate smoothly. */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #0a0a0c;
  --bg-2: #0d0d11;
  --surface: rgba(26, 26, 36, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --violet: #8000ff;
  --violet-soft: #a44dff;
  --violet-text: #b98aff; /* #8000ff is too dark for small text on this background. */
  --ink: #f5f3f9;
  --muted: #a3a1b0;
  --display: "Syne", "Arial Black", Arial, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  --gap: clamp(14px, 1.6vw, 20px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23b98aff' d='M12 2.6l2.9 6 6.6.9-4.8 4.6 1.2 6.5-5.9-3.2-5.9 3.2 1.2-6.5L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
/* The page colour lives on <html> only: a body background would paint over the ambient light. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  position: relative;
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* The reel's light spill and push-in run past the page edge; clip them here, where it can't create sideways scroll. */
main { overflow-x: clip; }

/* Ambient violet light. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1500px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(44% 420px at 86% 40px, rgba(128, 0, 255, 0.26), transparent 72%),
    radial-gradient(70% 620px at 50% 900px, rgba(128, 0, 255, 0.3), transparent 72%);
}
/* Fine mono grain, behind the content so video stays clean. It also stops the gradients banding. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 -.12'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
i { font-style: normal; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--violet-text); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 5vw, 3.75rem); text-wrap: balance; }

/* Scroll progress, drawn like a playhead running along the top of the page. */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 60;
    background: var(--violet);
    box-shadow: 0 0 14px 1px var(--violet);
    transform-origin: left;
    animation: grow linear both;
    animation-timeline: scroll();
  }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Timeline ruler, the page's recurring divider. */
.ruler {
  display: block;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 60px) 0 0 / 100% 100%,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px) 0 100% / 100% 6px no-repeat;
}
.ruler--light {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 60px) 0 0 / 100% 100%,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 12px) 0 100% / 100% 6px no-repeat;
}

.tc, .no, .nav__tc, .slate { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: -0.01em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 8px 30px rgba(128, 0, 255, 0.4); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24) inset, 0 10px 44px rgba(128, 0, 255, 0.8); }
.btn--ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.07); }
.btn--light { height: 58px; padding: 0 32px; background: #fff; color: #17002e; font-size: 1.0625rem; box-shadow: 0 10px 40px rgba(20, 0, 50, 0.45); }
.btn--light:hover { box-shadow: 0 14px 54px rgba(20, 0, 50, 0.7); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-btn:hover { color: var(--violet-text); border-color: rgba(128, 0, 255, 0.7); box-shadow: 0 0 22px rgba(128, 0, 255, 0.55); transform: translateY(-2px); }

/* Header */
.nav {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 13, 17, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__tc { position: absolute; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 8px; color: var(--ink); }
.nav__tc i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-soft); box-shadow: 0 0 10px 1px var(--violet); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.03em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(128, 0, 255, 0.7), 0 0 16px rgba(128, 0, 255, 0.5); }

/* Hero */
.hero { padding-top: clamp(44px, 7vw, 76px); }
.proof { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.9375rem; line-height: 1.3; }
.proof b { color: var(--ink); font-weight: 600; }
.stack { display: flex; flex: none; }
.stack img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); }
.stack img + img { margin-left: -9px; }

h1 { margin-top: 22px; font-size: clamp(2.5rem, 7.6vw, 6.25rem); text-wrap: balance; }
h1 em { font-style: normal; color: var(--violet-soft); text-shadow: 0 0 60px rgba(128, 0, 255, 0.55); }

.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: 28px; }
.lede { max-width: 33em; color: var(--muted); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.45; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.stage { position: relative; margin-top: clamp(32px, 4.5vw, 48px); transform-origin: 50% 0; }
/* Projector spill behind the reel. */
.stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -14% -18%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(128, 0, 255, 0.5), transparent);
}
.reel { position: relative; padding: 1.5px; border-radius: 20px; overflow: hidden; isolation: isolate; box-shadow: 0 0 26px rgba(128, 0, 255, 0.45); }
.reel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -60%;
  background: conic-gradient(from var(--spin), rgba(128, 0, 255, 0.3), var(--violet-soft) 18%, var(--violet) 32%, rgba(128, 0, 255, 0.3) 55%, #c79bff 78%, rgba(128, 0, 255, 0.3));
  animation: spin 9s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.reel__inner { position: relative; border-radius: 18.5px; overflow: hidden; background: var(--bg-2); }

.slate { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-inline: 2px; white-space: nowrap; }
.slate .ruler { flex: 1; min-width: 0; }
.slate__end { color: var(--ink); }

/* Player: a real link to YouTube until JS upgrades it to an inline embed. */
.player { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.35s; }
.player:hover img { transform: scale(1.04); filter: brightness(1.08) saturate(1.08); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player iframe.is-warming { opacity: 0; pointer-events: none; }
.player iframe.is-ready { opacity: 1; transition: opacity 0.5s; }

/* Small corner chip so the button doesn't sit on the thumbnail's face. */
.player__btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 12, 0.6);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), background-color 0.25s, box-shadow 0.3s var(--ease), border-color 0.25s;
}
.player__btn--lg { left: 50%; top: 50%; bottom: auto; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0 0 0 3px; justify-content: center; border-radius: 50%; }
.player:hover .player__btn, .player:focus-visible .player__btn { background: var(--violet); border-color: transparent; box-shadow: 0 0 34px rgba(128, 0, 255, 0.9); transform: translateY(-2px); }
.player:hover .player__btn--lg, .player:focus-visible .player__btn--lg { transform: scale(1.1); }

.unmute {
  position: absolute;
  left: 50%;
  bottom: clamp(52px, 8vw, 70px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font: 600 0.9375rem var(--body);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(128, 0, 255, 0.75);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.unmute[hidden] { display: none; }
.unmute:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 8px 44px rgba(128, 0, 255, 1); }

/* Sections */
.section { padding-top: clamp(84px, 11vw, 148px); }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 20px; }

/* Creators */
/* Extra vertical padding, cancelled by margins, gives the avatar hover glow room inside the clip. */
.marquee { margin-top: calc(clamp(28px, 4vw, 44px) - 36px); margin-bottom: -36px; padding-block: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.creators { display: flex; justify-content: space-around; min-width: 100vw; flex: none; }
.creators li { display: flex; align-items: center; gap: 14px; padding-inline: clamp(18px, 2.4vw, 32px); white-space: nowrap; }
.creators img { width: 72px; height: 72px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.creators li:hover img { transform: scale(1.06); box-shadow: 0 0 0 2px var(--violet), 0 0 34px rgba(128, 0, 255, 0.75); }
.creators strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 2.3vw, 1.875rem); letter-spacing: -0.04em; line-height: 1.1; }
.creators span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }

/* Work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 4vw, 44px); }
.piece, .tile { position: relative; border: 1px solid var(--line); background: var(--surface); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: border-color 0.3s, box-shadow 0.4s var(--ease); }
.piece { grid-column: span 12; border-radius: 20px; overflow: hidden; }
.piece:hover, .tile:hover { border-color: rgba(128, 0, 255, 0.55); box-shadow: 0 0 60px rgba(128, 0, 255, 0.18); }

/* Soft highlight that follows the pointer (position set in main.js). */
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(128, 0, 255, 0.22), transparent 70%);
  transition: opacity 0.35s;
}
.glow:hover::before { opacity: 1; }
.piece > *, .tile > * { position: relative; }

.piece__body { padding: clamp(14px, 1.7vw, 20px); display: flex; flex-direction: column; gap: 12px; }
.piece h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.1875rem, 1.75vw, 1.4375rem); letter-spacing: -0.035em; line-height: 1.15; text-wrap: pretty; }
.by { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.by img { width: 32px; height: 32px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong); }
.by b { font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.no { margin-left: auto; }
.badge { padding: 1px 8px; border-radius: 999px; background: rgba(128, 0, 255, 0.22); color: #d6bdff; font-size: 0.75rem; font-weight: 500; line-height: 1.6; white-space: nowrap; }

.stars { display: block; width: 90px; height: 18px; background: var(--star) 0 0 / 18px 18px repeat-x; }
.pull { padding-top: 13px; border-top: 1px solid var(--line); }
.pull p { margin-top: 6px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.32; }
.pull--lg { border-top: 0; padding-top: 0; }
.pull--lg p { margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.04em; line-height: 1.12; }

/* Testimonials */
.bento { display: grid; gap: var(--gap); margin-top: clamp(28px, 4vw, 44px); }
.tile { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: 20px; }
.tile--accent { background: linear-gradient(140deg, rgba(128, 0, 255, 0.42), rgba(26, 26, 36, 0.5) 72%); border-color: rgba(128, 0, 255, 0.4); }
.tile blockquote { margin: 18px 0 34px; font-family: var(--display); font-weight: 700; font-size: clamp(1.625rem, 3.2vw, 2.625rem); letter-spacing: -0.045em; line-height: 1.08; text-wrap: pretty; }
.tile figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; color: var(--muted); font-family: var(--mono); font-size: 0.8125rem; line-height: 1.3; }
.tile figcaption img { width: 44px; height: 44px; border-radius: 50%; }
.tile figcaption b { display: block; color: var(--ink); font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; }

/* Closing banner */
.closer {
  position: relative;
  overflow: hidden;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 8vw, 100px);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(214, 180, 255, 0.55), transparent 70%),
    linear-gradient(180deg, #8000ff 0%, #5a00b8 100%);
  box-shadow: 0 0 120px rgba(128, 0, 255, 0.42);
}
.closer .ruler { margin-inline: calc(-1 * clamp(20px, 5vw, 64px)); margin-bottom: clamp(52px, 8vw, 96px); }
.closer h2 { font-size: clamp(2.5rem, 8vw, 6rem); color: #fff; }
.closer p { max-width: 30em; margin: 18px auto 32px; color: rgba(255, 255, 255, 0.92); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); line-height: 1.4; text-wrap: balance; }

/* Footer */
.footer { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; }
.footer__icons { display: flex; gap: 8px; }
.footer__legal { width: 100%; color: var(--muted); font-size: 0.875rem; }
.wordmark {
  margin-top: 36px;
  margin-bottom: -0.2em;
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(min(1200px, 100vw - 2 * var(--gutter)) / 8.75);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(164, 77, 255, 0.55), rgba(128, 0, 255, 0.04) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

/* Scroll reveal: only hidden once JS has confirmed it can show it again. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease); }

@media (min-width: 640px) {
  .piece--wide .by { flex-wrap: wrap; }
}

@media (min-width: 760px) {
  .nav__tc { display: inline-flex; }
  .s7 { grid-column: span 7; }
  .s5 { grid-column: span 5; }
  .piece--end { align-self: end; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { grid-column: span 2; }
  .tile--wide { grid-column: span 4; }
}

@media (min-width: 900px) {
  .line { display: block; animation: rise 0.95s var(--ease) both; }
  .line--2 { animation-delay: 0.09s; }
  /* Negative end insets keep the headline glow and descenders from being cut off. */
  @keyframes rise {
    from { clip-path: inset(-10% -5% 110% -5%); transform: translateY(32%); }
    to { clip-path: inset(-40% -5% -40% -5%); transform: none; }
  }
  .piece--wide { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .piece--wide .piece__body { justify-content: space-between; padding: 24px; }
  .footer__legal { width: auto; }
}

/* The reel pushes out toward the screen edges as you scroll. */
@supports (animation-timeline: scroll()) {
  @keyframes reel-push { to { transform: scale(var(--push)); } }
  @media (min-width: 1300px) { .stage { --push: 1.06; animation: reel-push linear both; animation-timeline: scroll(root); animation-range: 0 520px; } }
  @media (min-width: 1440px) { .stage { --push: 1.16; } }
}

@media (max-width: 759px) {
  .slate .ruler { display: none; }
  .slate { justify-content: space-between; }
  .creators img { width: 60px; height: 60px; }
}

@media (max-width: 430px) {
  .nav { padding-left: 8px; }
  .brand { gap: 8px; font-size: 1rem; }
  .btn--sm { padding: 0 14px; font-size: 0.875rem; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
}

@media (max-width: 350px) {
  .brand { font-size: 0.875rem; gap: 6px; }
  .brand img { width: 32px; height: 32px; }
  .nav__end { gap: 4px; }
  .nav .icon-btn { width: 36px; height: 36px; }
  .btn--sm { padding: 0 11px; font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .progress { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; }
  .creators { flex-wrap: wrap; justify-content: center; gap: 20px 0; min-width: 0; width: 100%; }
  .creators--copy { display: none; }
}
