/* Layout: brand-first. Face reel hero → builds deck (hover-grow) → Build with me → About → statement footer.
 * Display: Big Shoulders Display 800 · Body: Geist · Data: Geist Mono */
@font-face { font-family: "Big Shoulders Display"; src: url("assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --paper: #141210;
  --paper-2: #1C1A17;
  --line: #2E2A25;
  --dash: #4A433B;
  --cream: #FBFAF6;
  --ink: #1C1A17;
  --text: #B8B1A7;
  --accent: #C8401F;
  --accent-hover: #A83416;
  --accent-soft: #F08A6E;
  --warm: #FFF6EE;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Geist", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 3.2vw, 56px);
  --maxw: 1680px;
  /* easing: "settle" (.2,.7,.2,1) arrives fast, lands soft; "cut" (.7,0,.2,1) hard like an edit */
  --settle: cubic-bezier(.2,.7,.2,1);
  --cut: cubic-bezier(.7,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: .86; color: var(--cream); text-wrap: balance; overflow-wrap: anywhere; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--cream); color: var(--ink); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding-inline: 26px; border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--warm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .16s var(--settle), color .16s var(--settle), border-color .16s var(--settle), transform .16s var(--settle); }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding-inline: 18px; font-size: 14px; }
.btn--lg { height: 60px; padding-inline: 32px; font-size: 18px; }
.btn--xl { height: 84px; padding-inline: 48px; font: 800 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: .02em; }
.btn--ghost { background: transparent; border-color: rgba(251,250,246,.35); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--warm); color: var(--accent); }

/* Header: wordmark left, plain mono links centred, two buttons right */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px; background: rgba(20,18,16,.62); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(251,250,246,.12); box-shadow: inset 0 3px 0 var(--accent); transition: background-color .25s var(--settle), padding .25s var(--settle); }
.bar.is-solid { background: rgba(20,18,16,.92); padding-block: 10px; }
.bar__mark { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font: 800 clamp(28px, 2.3vw, 36px)/1 var(--display); letter-spacing: .03em; color: var(--cream); text-decoration: none; white-space: nowrap; }
.bar__links { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(251,250,246,.06); border: 1px solid rgba(251,250,246,.16); }
.bar__links a { font: 500 15px/1 var(--body); letter-spacing: .01em; color: var(--cream); text-decoration: none; padding: 11px 20px; border-radius: 999px; white-space: nowrap; transition: background-color .16s var(--settle), color .16s var(--settle); }
.bar__links a:hover { background: rgba(251,250,246,.1); }
.bar__links a.is-active { background: var(--cream); color: var(--ink); }
.bar__actions { display: flex; gap: 10px; justify-self: end; }
.bar__actions .btn--sm { height: 46px; padding-inline: 22px; font-size: 15px; }
@media (max-width: 900px) { .bar { grid-template-columns: 1fr auto; } .bar__links { display: none; } }
@media (max-width: 420px) { .bar__actions .btn--ghost { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #000; }
.hero__reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.88) 0%, rgba(20,18,16,.5) 45%, rgba(20,18,16,.1) 72%), linear-gradient(180deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,0) 22%, rgba(20,18,16,0) 62%, rgba(20,18,16,.92) 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); gap: 32px clamp(32px, 5vw, 96px); align-items: end; padding: 140px var(--gutter) clamp(72px, 11vh, 128px); }
.hero__copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 9.5rem); }
.hero__pitch { color: var(--cream); font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.4; max-width: 34ch; }
.hero__join { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 20px; padding: 28px 30px; border-radius: 22px; background: var(--accent); color: var(--warm); text-decoration: none; transition: background-color .2s var(--settle), transform .2s var(--settle); }
.hero__join:hover { background: var(--accent-hover); transform: translateY(-3px); }
.hero__join-kicker { grid-column: 1 / -1; opacity: .85; }
.hero__join-title { font: 800 clamp(2.2rem, 3.2vw, 3.4rem)/.9 var(--display); text-transform: uppercase; }
.hero__join-arrow { font: 800 3rem/1 var(--display); transition: transform .2s var(--settle); }
.hero__join:hover .hero__join-arrow { transform: translateX(6px); }
.hero__tc { position: absolute; right: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 86px); display: flex; align-items: center; gap: 10px; color: var(--cream); background: rgba(20,18,16,.6); padding: 7px 12px; border-radius: 999px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .2; } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .hero h1 { font-size: 3.1rem; }
  .hero__shade { background: linear-gradient(180deg, rgba(20,18,16,.35) 0%, rgba(20,18,16,.15) 30%, rgba(20,18,16,.95) 66%); }
}

/* Builds: a deck whose cards grow on hover; the editor is big by default */
.builds { max-width: var(--maxw); margin-inline: auto; padding: clamp(88px, 10vw, 150px) var(--gutter) clamp(72px, 9vw, 130px); display: grid; gap: 36px; }
.builds h2 { font-size: clamp(3.4rem, 7.5vw, 8rem); }
.deck { display: flex; gap: 16px; min-height: 620px; }
.card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 16px 16px 28px; border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line); transition: flex-grow 1.2s cubic-bezier(.22,.61,.36,1), border-color .6s var(--settle); overflow: hidden; }
.card.is-big { flex-grow: 2.4; border-color: var(--dash); }
.card__media { position: relative; aspect-ratio: 16/9; height: auto; width: 100%; border-radius: 12px; overflow: hidden; background: #000; flex: none; }
.card__media video, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--slot { display: grid; place-items: center; background: var(--paper); border: 1px dashed var(--dash); color: var(--text); text-align: center; padding: 12px; }
.card__body { display: grid; gap: 14px; justify-items: start; padding-inline: 8px; align-content: start; }
.card h3 { font-size: clamp(2rem, 2.6vw, 3.2rem); transition: font-size 1.2s cubic-bezier(.22,.61,.36,1); }
.card p { transition: font-size 1.2s cubic-bezier(.22,.61,.36,1); }
.card.is-big h3 { font-size: clamp(3rem, 4.8vw, 5.8rem); }
.card.is-big p { font-size: clamp(1.15rem, 1.4vw, 1.45rem); max-width: 36ch; }
.card.is-big .card__body { gap: 20px; }
.card p { max-width: 44ch; font-size: 1.05rem; }
.card:not(.is-big) .card__body .btn { height: 46px; }
@media (max-width: 900px) { .deck { flex-direction: column; min-height: 0; } .card, .card.is-big { flex: none; } }

/* Build with me */
.bwm { max-width: var(--maxw); margin-inline: auto; grid-template-columns: minmax(0, 1fr); padding: clamp(72px, 9vw, 140px) var(--gutter); display: grid; gap: 40px; justify-items: start; border-top: 1px dashed var(--dash); }
.bwm__head { display: grid; gap: 14px; }
.bwm__kicker { color: var(--accent-soft); }
.bwm h2 { font-size: clamp(3.4rem, 8vw, 9rem); line-height: .85; }
.bwm__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.bwm__list { list-style: none; margin: 0; padding: 0; border-top: 2px dashed var(--dash); }
.bwm__list li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 4px 20px; padding-block: 22px; border-bottom: 2px dashed var(--dash); }
.bwm__list .n { grid-row: span 2; font: 800 2.6rem/1 var(--display); color: var(--accent); }
.bwm__list .t { font: 800 clamp(1.8rem, 2.8vw, 2.9rem)/1 var(--display); text-transform: uppercase; color: var(--cream); }
.bwm__list .d { color: var(--text); }
.bwm__example { display: grid; gap: 14px; text-decoration: none; align-self: start; }
.bwm__example { margin: 0; }
.bwm__example video { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; background: #12151c; border: 1px solid var(--line); }
.bwm__cap { display: grid; gap: 6px; }
.bwm__cap .mono { color: var(--accent-soft); }
.bwm__cap b { color: var(--cream); font-weight: 500; font-size: 1.15rem; line-height: 1.35; }
.bwm__cap span { color: var(--text); font-size: 1rem; line-height: 1.5; }
@media (max-width: 900px) { .bwm__grid { grid-template-columns: minmax(0, 1fr); } .bwm__list li { grid-template-columns: 3.4rem minmax(0, 1fr); } .btn--xl { width: 100%; } }

/* About */
.about { max-width: var(--maxw); margin-inline: auto; padding: clamp(72px, 9vw, 140px) var(--gutter); display: grid; gap: clamp(32px, 4vw, 56px); border-top: 1px dashed var(--dash); }
.about__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.about h2 { font-size: clamp(3.4rem, 7.5vw, 8rem); }
.about__top p { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--cream); max-width: 36ch; }
.about__stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 2px dashed var(--dash); }
.about__stats div { display: grid; gap: 6px; padding: clamp(18px, 2.4vw, 32px) clamp(12px, 2vw, 28px); }
.about__stats div + div { border-left: 2px dashed var(--dash); }
.about__stats dt { color: var(--accent-soft); }
.about__stats dd { margin: 0; font: 800 clamp(2.6rem, 6vw, 6.5rem)/.9 var(--display); color: var(--cream); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; }
.about__img { width: 100%; align-self: stretch; min-height: 420px; border-radius: 22px; background: var(--paper-2); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.about__img img { width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; }
.about__img--slot { display: grid; place-items: center; background: var(--paper-2); border: 1px dashed var(--dash); color: var(--text); }
.tl { position: relative; padding-left: 44px; align-self: center; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline__rail { position: absolute; left: 11px; top: 14px; height: calc(100% - 28px); width: 2px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; border-radius: 2px; }
.timeline li { position: relative; display: grid; gap: 6px; padding-block: 0 clamp(26px, 3vw, 40px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -44px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); box-sizing: border-box; }
.timeline li::after { content: ""; position: absolute; left: -37px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline li.is-now::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(200,64,31,.25); animation: nowpulse 2s ease-out infinite; }
.timeline li.is-now::after { background: var(--warm); }
@keyframes nowpulse { 0% { box-shadow: 0 0 0 0 rgba(200,64,31,.55); } 100% { box-shadow: 0 0 0 14px rgba(200,64,31,0); } }
.timeline time { color: var(--accent-soft); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 28px; }
.timeline li.is-now time { color: var(--accent); font-weight: 600; }
.timeline p { font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1.45; margin: 0; }
.timeline b { color: var(--cream); font-weight: 500; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__img { min-height: 0; }
  .about__stats div { padding-inline: 10px; }
}

/* Footer: statement + one row of links + giant wordmark */
.foot { background: var(--accent); color: var(--warm); padding: clamp(48px, 6vw, 88px) var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.foot__top { display: flex; }
.btn--slab { width: 100%; height: auto; min-height: clamp(96px, 11vw, 160px); padding-block: 18px; font-size: clamp(30px, 5.6vw, 96px); border-radius: 24px; white-space: normal; text-align: center; line-height: .95; }
.foot__join { width: 100%; height: clamp(96px, 11vw, 160px); font-size: clamp(32px, 5.6vw, 96px); border-radius: 24px; }
.bwm__join { background: var(--accent); color: var(--warm); }
.bwm__join:hover { background: var(--warm); color: var(--accent); }
.foot__line { font: 800 clamp(2.8rem, 6vw, 6.4rem)/.88 var(--display); text-transform: uppercase; max-width: 12ch; }
.foot .btn { background: var(--warm); color: var(--accent); }
.foot .btn:hover { background: var(--ink); color: var(--warm); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(28px, 3vw, 44px); padding-block: 22px; border-top: 1px dashed rgba(255,246,238,.45); }
.foot__links nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links a { text-decoration: none; font-weight: 500; white-space: nowrap; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__word { font: 800 21.5vw/.74 var(--display); letter-spacing: -.01em; color: rgba(255,246,238,.14); margin: 0 0 -1.5vw; white-space: nowrap; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .hero__reel { display: none; }
  .hero { background: #000 url("assets/clips/reel.jpg") center/cover; }
  .card, .card h3 { transition: none; }
}

/* Mobile polish */
@media (max-width: 900px) {
  .foot__join { height: auto; min-height: 96px; padding-block: 18px; white-space: normal; text-align: center; line-height: .95; font-size: clamp(28px, 9vw, 56px); }
  .foot__links nav { gap: 0 4px; }
  .foot__links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; }
  .foot__links nav a:first-child { padding-left: 0; }
  .card { min-width: 0; max-width: 100%; }
}
@media (max-width: 480px) {
  .about__stats div { padding: 16px 8px; }
  .about__stats dt { font-size: 11px; letter-spacing: 0; }
  .about__stats dd { font-size: clamp(1.9rem, 10vw, 2.6rem); }
  .builds h2 { font-size: clamp(3rem, 15vw, 4rem); }
}
.builds { grid-template-columns: minmax(0, 1fr); }

.btn--soon { cursor: default; opacity: .7; border-style: dashed; }
.btn--soon:hover { background: transparent; color: var(--cream); border-color: rgba(251,250,246,.35); }
