:root { 
    --ruler: 1.6rem;
    --ruler-sm: 1rem;
    --gutter: 2rem;
    --background: #000000;
    --text: #FFFFFF;
}

body, html {
    background-color: var(--background);
    color: var(--text);
    padding: 0;
    margin:0;
}

body{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, p, ul {
    margin: 0;
    padding: 0;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ruler);
}

.row.items-end {
    align-items: end;
}

/* One shared 4-column grid: headlines, copy, cards and footer all hit the same column lines */
@media (min-width: 768px) {
  .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .w-full    { grid-column: span 4; }
  .w-half,
  .w-third   { grid-column: span 2; }
  .w-quarter { grid-column: span 1; }
}

header {
    display: flex;
    align-items: center;
    padding: var(--ruler) var(--gutter);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    z-index: 100;
}

header h1 {
    margin: 0;
}

header a {
    color: var(--text);
    text-decoration: none;
}

header nav {
    margin-left: auto;
    display: flex;
    gap: var(--ruler);
}

.huge {
    font-size: clamp(3.5rem, 10.5vw, 10rem);
    line-height: 105%;
    margin: 2rem 0 4rem 0;
}

.huge sup {
    font-size: 2rem;
}

.huge-child {
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 200;
    margin-bottom: 2rem;
    max-width: 26em;
}

.huge-number {
    font-size: 5.7rem;
    font-weight: 200;
}

.opt-center {
    display: inline-flex;
    align-items: center;
    gap: var(--ruler-sm);
}

.slug {
    background-color: rgba(60, 60, 60, 0.6);
    backdrop-filter: blur(1rem);
    padding: var(--ruler-sm);
    border-radius: 4rem;
}

.btn {
    font-size: var(--ruler);
    text-decoration: none;
    color: var(--text);
}

a {
    position: relative;
    text-decoration: none;
    color: inherit;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

a:hover::after,
a:focus-visible::after {
    transform: scaleX(1);
}


.hero {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Static fade from video into the black page; kept separate so scroll animations never touch it */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.75) 75%, #000 100%);
}

.hero-build {
    width: 100%;
    box-sizing: border-box;
    padding: var(--ruler) var(--gutter);
}

.hero-build-wrapper {
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
}


.decorative-columns {
    position: fixed; /* or absolute, see below */
    inset: 0;
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
    z-index: 2;
}

.decorative-columns > div {
    box-sizing: border-box;
    width: 1px;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.content-section {
    padding: 8rem var(--gutter);
}

.content-children {
    margin: 9rem 0 7rem;
    row-gap: 6rem;
    column-gap: 2.5rem;
}



.content-child-right {
    margin: 6rem 0;
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.6;
}

h2 {
    font-size: clamp(2.75rem, 6vw, 6rem);
    line-height: 110%;
    font-weight: 400;
}

h3 {
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    font-weight: 400;
    line-height: 110%;
    margin-bottom: 1.5rem;
}


footer {
    padding: 3rem var(--gutter);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}

footer a {
    margin-right: var(--ruler);
}

/* ---------- Motion ---------- */

.word, .w { display: inline-block; }
.mask .w {
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}
.wi { display: inline-block; will-change: transform; }

.marquee-section {
    padding: 4rem 0;
    overflow: hidden;
}

.marquee-row {
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(3.5rem, 10.5vw, 10rem);
    line-height: 120%;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: baseline;
    gap: 0.3em;
    padding-right: 0.3em;
}

.marquee-group i {
    font-style: normal;
    opacity: 0.4;
}

.marquee-row.outline .marquee-group span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .marquee-track { transform: none !important; }
}

::selection {
  background-color: rgb(128, 5, 180);
  color: white;
}

@media (min-width: 768px) {
  .row.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cta { padding-bottom: 6rem; }

/* ---------- Mobile: everything stacks vertically ---------- */
@media (max-width: 767px) {
  :root { --gutter: 1.25rem; --ruler: 1.25rem; }

  header h1 { font-size: 1.5rem; }
  header nav { gap: 1rem; font-size: 0.9rem; }

  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-build-wrapper { min-height: 100vh; min-height: 100svh; padding: 5rem 0 2rem; box-sizing: border-box; }
  .hero-video { width: 100%; height: 100%; }
  .hero-video video { height: 100%; object-fit: cover; }

  .decorative-columns > div:nth-child(n+4) { display: none; }

  .huge { font-size: clamp(3rem, 15vw, 4.5rem); margin: 1.5rem 0 2.5rem; }
  .huge sup { font-size: 1rem; }
  .huge-child { font-size: 1.25rem; max-width: none; margin-bottom: 1.5rem; }
  .btn { font-size: 1.1rem; }
  .slug { font-size: 0.85rem; }

  .content-section { padding: 5rem var(--gutter); }
  .content-children { margin: 3.5rem 0 2rem; row-gap: 3.5rem; }
  .content-child-right { margin: 3rem 0; }

  h2 { font-size: clamp(2.25rem, 11vw, 3rem); }
  h3 { font-size: 1.5rem; margin-bottom: 1rem; }
  .huge-number { font-size: 3.5rem; }
  .lead { max-width: none; }

  .marquee-section { padding: 2rem 0; }
  .marquee-row { font-size: clamp(3rem, 16vw, 5rem); }

  .cta { padding-bottom: 4rem; }
  footer { padding: 2rem var(--gutter); }
  footer a { display: inline-block; margin-bottom: 0.5rem; }
}
