:root {
  --ink: #16140F;
  --ink-2: #221F19;
  --paper: #F3EEE3;
  --paper-2: #E9E2D3;
  --line: rgba(22, 20, 15, .16);
  --line-dark: rgba(243, 238, 227, .18);
  --quiet: #5E584D;
  --quiet-dark: #B8B0A0;
  --hot: #FF5B22;
  --hot-ink: #16140F;
  --hot-deep: #B83A0B;
  --live: #1E7A46;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-text: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-fine: 12px;
  --text-body: 17px;
  --text-lead: clamp(18px, 2vw, 22px);
  --text-title: clamp(48px, 8vw, 112px);
  --text-display: clamp(64px, min(15vw, 16svh), 200px);
  --tracking-caps: .14em;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --struck: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--text-body)/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-weight: 500; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--hot); color: var(--hot-ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.top {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  color: var(--paper);
}
.wordmark {
  font: 900 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none; display: flex; gap: .25em;
}
.wordmark span { color: var(--hot); }
.socials { display: flex; gap: 4px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 20px; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .3s var(--struck);
}
@media (hover: hover) and (pointer: fine) {
  .socials a:hover { background: var(--hot); color: var(--hot-ink); transform: rotate(-8deg); }
}

/* ---------- Type ---------- */
.kicker {
  font: 500 var(--text-fine)/1.2 var(--font-mono);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  display: flex; gap: .9em; align-items: center;
}
.kicker .mono { color: var(--hot); }
.display {
  font: 900 var(--text-display)/.84 var(--font-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.title {
  font: 800 var(--text-title)/.88 var(--font-display);
  text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.line > span { display: inline-block; }
.title .line { display: inline-block; }
.hot { color: var(--hot); }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 36ch; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink); color: var(--paper);
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto auto; gap: clamp(24px, 4vh, 48px);
  padding: 96px var(--gutter) clamp(32px, 6vh, 64px);
}
.hero .kicker { align-self: end; color: var(--quiet-dark); }
.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end;
  border-top: 1px solid var(--line-dark); padding-top: 24px;
}
.hero .lead { color: var(--paper); max-width: 44ch; }
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 32px; }
.index a {
  display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 0;
  font: 800 28px/1 var(--font-display); text-transform: uppercase; text-decoration: none;
  background: linear-gradient(var(--hot), var(--hot)) 0 100% / 0 2px no-repeat;
  transition: background-size .45s var(--struck), color .2s;
}
.index .mono { font-size: 12px; color: var(--hot); }
@media (hover: hover) and (pointer: fine) {
  .index a:hover { background-size: 100% 2px; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--hot); color: var(--hot-ink); overflow: hidden;
  border-block: 1px solid var(--ink);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding: 14px 0;
  font: 900 clamp(28px, 4vw, 48px)/1 var(--font-display); text-transform: uppercase;
  animation: marquee 28s linear infinite;
}
.marquee i {
  width: .42em; height: .42em; background: currentColor; display: block; rotate: 45deg;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 12vw, 160px) var(--gutter);
}
.section__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .kicker { color: var(--quiet); }
.section__head .kicker .mono { color: var(--hot-deep); }
.section--ink .section__head .kicker .mono { color: var(--hot); }
.section--ink {
  max-width: none; background: var(--ink); color: var(--paper);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.section--ink .section__head .kicker { color: var(--quiet-dark); }

/* Rows */
.rows { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--hot);
  transition: width .6s var(--struck);
}
@media (hover: hover) and (pointer: fine) { .row:hover::before { width: 100%; } }
.row__when { font-size: 13px; letter-spacing: .06em; color: var(--quiet); text-transform: uppercase; }
.row h3 { font: 800 clamp(28px, 3.4vw, 44px)/1 var(--font-display); text-transform: uppercase; }
.row p { color: var(--quiet); margin-top: 8px; max-width: 60ch; }

.tag {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 7px 12px;
}
.tag--live { color: var(--live); }
.tag--live::before, .tag--soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--live::before { animation: pulse 2s var(--ease) infinite; }
.tag--soon { color: #A8420F; }
@keyframes pulse { 50% { opacity: .25; } }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.textlink svg { font-size: 18px; transition: transform .35s var(--struck); }
@media (hover: hover) and (pointer: fine) {
  .textlink:hover { text-decoration-color: var(--hot); }
  .textlink:hover svg { transform: translate(3px, -3px); }
}

/* Products */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px);
  align-items: center;
  background: var(--paper-2); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 64px); overflow: hidden;
}
.feature__copy { display: grid; gap: 20px; }
.feature__copy > p:not(.meta) { max-width: 52ch; }
.feature__name { font: 900 clamp(44px, 6vw, 88px)/.9 var(--font-display); text-transform: uppercase; }
.feature__shot { margin: 0; justify-self: center; width: min(100%, 300px); }
.feature__shot img {
  border-radius: 36px; border: 6px solid var(--ink);
  transform: rotate(3deg);
  transition: transform .8s var(--struck);
}
@media (hover: hover) and (pointer: fine) { .feature:hover .feature__shot img { transform: rotate(0deg) translateY(-6px); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid currentColor;
  font-weight: 600; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .3s var(--struck);
}
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn--solid:hover { background: var(--hot); color: var(--hot-ink); border-color: var(--hot); }
}
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.card {
  display: grid; align-content: start; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px);
}
.card__name { font: 900 clamp(36px, 4vw, 56px)/.92 var(--font-display); text-transform: uppercase; }
.card p:not(.meta):not(.card__stat) { color: var(--quiet); max-width: 48ch; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card__stat {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 16px;
  font-weight: 500;
}
.card__num { font: 900 clamp(44px, 5vw, 64px)/.85 var(--font-display); color: var(--hot-deep); }

/* Content */
.section--ink .lead { margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat {
  display: grid; gap: 12px; text-decoration: none;
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.stat__label { display: flex; align-items: center; gap: 10px; font: 500 var(--text-fine)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet-dark); }
.stat__label svg { font-size: 18px; color: var(--paper); }
.stat__num { font: 900 clamp(96px, 16vw, 220px)/.8 var(--font-display); color: var(--hot); }
.stat__sub { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.stat__sub svg { transition: transform .35s var(--struck); }
@media (hover: hover) and (pointer: fine) {
  .stat:hover { border-color: var(--hot); background: var(--ink-2); }
  .stat:hover .stat__sub svg { transform: translate(3px, -3px); }
}
.topics { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li {
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 10px 18px;
  font: 500 13px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
}

/* Investing */
.invest { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.invest__fact { display: grid; gap: 12px; }
.invest__fact .kicker { color: var(--quiet); }
.invest__big { font: 900 clamp(56px, 7vw, 104px)/.86 var(--font-display); text-transform: uppercase; }
.invest__big--sm { font-size: clamp(36px, 3.6vw, 52px); line-height: .92; }
.invest__copy { display: grid; gap: 24px; justify-items: start; max-width: 44ch; justify-self: end; }

/* Footer */
.foot {
  background: var(--ink); color: var(--paper);
  padding: clamp(72px, 10vw, 128px) var(--gutter) 24px;
  display: grid; gap: 24px;
}
.foot .kicker { color: var(--quiet-dark); }
.foot__mail {
  font: 900 clamp(44px, 10.5vw, 168px)/.9 var(--font-display); text-transform: uppercase;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--hot), var(--hot)) 0 100% / 0 .06em no-repeat;
  transition: background-size .6s var(--struck), color .2s;
  justify-self: start;
}
@media (hover: hover) and (pointer: fine) { .foot__mail:hover { background-size: 100% .06em; color: var(--hot); } }
.foot__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-top: 16px; margin-top: clamp(24px, 6vw, 64px);
}
.socials--foot { margin-left: -12px; }
.fine { font-size: var(--text-fine); color: var(--quiet-dark); letter-spacing: .06em; }

/* ---------- Motion ---------- */
.js .line > span { transform: translateY(105%); }
.js .is-in .line > span, .js .line.is-in > span { transform: none; transition: transform 1s var(--struck); }
.js .hero .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero .line:nth-child(3) > span { transition-delay: .16s; }
.js .hero .line:nth-child(4) > span { transition-delay: .24s; }
.js .title .line:nth-child(2) > span { transition-delay: .07s; }

.js .typeon { clip-path: inset(0 100% 0 0); }
.js .typeon.is-in { clip-path: inset(0 0 0 0); transition: clip-path .9s steps(24, end); }

.js .rise, .js .reveal { opacity: 0; transform: translateY(24px); }
.js .rise.is-in, .js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--struck); }
.js .hero .rise.is-in { transition-delay: .45s; }
.js .hero .rise.is-in + .rise.is-in { transition-delay: .55s; }
.js .reveal.is-in:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in:nth-child(3) { transition-delay: .16s; }
.js .reveal.is-in:nth-child(4) { transition-delay: .24s; }

.js .stat.is-in .stat__num { animation: stamp .7s var(--struck) both .15s; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-6deg) scale(1.5); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .tag--live::before { animation: none; }
  .js .line > span, .js .rise, .js .reveal { transform: none !important; opacity: 1 !important; transition: none !important; }
  .js .typeon { clip-path: none !important; }
  .js .stat.is-in .stat__num { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .invest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invest__copy { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  :root { --text-display: min(21vw, 11svh); }
  .hero__foot { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature__shot { width: min(70%, 240px); }
  .cards, .stats { grid-template-columns: 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row__when { grid-column: 1 / -1; }
  .row .tag { align-self: start; }
  .wordmark { font-size: 22px; }
  .socials a { width: 40px; height: 44px; font-size: 18px; }
}
@media (max-width: 420px) {
  .wordmark span { display: none; }
  .invest { grid-template-columns: 1fr; }
  .index { gap: 0 24px; }
  .index a { font-size: 24px; }
}
