/* ============================================================
   401Kardboard — luxury fintech × collector culture
   ============================================================ */

:root {
  --bg: #0c0c0e;
  --bg-raise: #121215;
  --surface: #16161a;
  --line: rgba(243, 234, 216, 0.10);
  --line-soft: rgba(243, 234, 216, 0.055);

  --ivory: #f3ead8;
  --ivory-dim: rgba(243, 234, 216, 0.66);
  --ivory-faint: rgba(243, 234, 216, 0.42);

  --gold: #d4af37;
  --gold-soft: #c9a437;
  --gold-deep: #9c7c1f;
  --pink: #ff2d87;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --radius-slab: 16px;
  --radius-inner: 9px;
  --container: 1200px;
  --nav-h: 76px;
}

/* ---------- reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

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

main a:not(.btn):not(.handle) {
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
main a:not(.btn):not(.handle):hover {
  color: var(--pink);
  border-color: rgba(255, 45, 135, 0.5);
}

::selection { background: rgba(255, 45, 135, 0.85); color: #0c0c0e; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-2);
  z-index: 200;
  padding: var(--space-1) var(--space-2);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.875rem;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: var(--space-2); }

/* ---------- layout primitives ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--space-3));
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.container--narrow { max-width: 820px; }

.section { padding-block: var(--space-16); }

section[id] { scroll-margin-top: calc(var(--nav-h) + var(--space-2)); }

.section__head { margin-bottom: var(--space-8); }

.section__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-2);
}
.eyebrow--gold { color: var(--gold); }

.disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ivory-faint);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
              border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(160deg, #e3c45c, var(--gold) 55%, var(--gold-deep));
  color: #141008;
  box-shadow: 0 2px 18px rgba(212, 175, 55, 0.18);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.3);
}

.btn--ghost {
  border-color: rgba(243, 234, 216, 0.28);
  color: var(--ivory);
  background: rgba(12, 12, 14, 0.25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Blur lives on a pseudo-element, NOT the nav itself: backdrop-filter on the nav
   would make it the containing block for the fixed mobile menu panel inside it,
   collapsing the open menu to the nav's height (only first link visible). */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 12, 14, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
}
.nav.is-scrolled::before { opacity: 1; }

.nav__inner {
  max-width: calc(var(--container) + 2 * var(--space-3));
  margin-inline: auto;
  padding-inline: var(--space-3);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo { height: 22px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__links > a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory-dim);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--pink);
  transition: right 0.25s ease;
}
.nav__links > a:not(.btn):hover { color: var(--ivory); }
.nav__links > a:not(.btn):hover::after { right: 0; }

.nav__cta { padding: 10px 20px; font-size: 0.875rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }

/* <picture> wrapper must not become a layout box of its own */
.hero__media picture { display: contents; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__img {
    animation: kenburns 26s ease-out both;
    transform-origin: 60% 35%;
  }
  @keyframes kenburns {
    from { transform: scale(1.1); }
    to   { transform: scale(1.0); }
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 12, 14, 0.62), rgba(12, 12, 14, 0.12) 55%, rgba(12, 12, 14, 0.05)),
    linear-gradient(to top, rgba(12, 12, 14, 0.96) 4%, rgba(12, 12, 14, 0.72) 26%, rgba(12, 12, 14, 0.28) 58%, rgba(12, 12, 14, 0.42));
}

.hero__content {
  padding-block: calc(var(--nav-h) + var(--space-6)) var(--space-12);
  max-width: calc(var(--container) + 2 * var(--space-3));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.55);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.9);
}
@media (prefers-reduced-motion: no-preference) {
  .badge__dot { animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }
}

.hero__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(110deg, var(--gold) 30%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: var(--space-3);
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ivory-dim);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.hero__hint {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: 0.6;
}

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-raise);
  overflow: hidden;
  padding-block: 13px;
}

.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.ticker__group {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  padding-right: 44px;
}
.ticker__group > span { padding-inline: 22px; }
.ticker__group em { font-style: normal; color: var(--gold); }
.ticker__group i {
  font-style: normal;
  font-size: 0.5rem;
  color: var(--pink);
  opacity: 0.8;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 46s linear infinite; }
  @keyframes ticker {
    to { transform: translateX(-50%); }
  }
}

/* ---------- the name strip ---------- */

.namestrip {
  padding-block: var(--space-16);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(212, 175, 55, 0.06), transparent),
    var(--bg);
}

.namestrip .eyebrow { margin-bottom: var(--space-3); }

.namestrip__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.namestrip__x {
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  padding-inline: 0.08em;
}

.namestrip__copy {
  margin: var(--space-4) auto 0;
  max-width: 58ch;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ivory-dim);
}

.namestrip__rule {
  width: 140px;
  height: 2px;
  margin: var(--space-8) auto 0;
  background: linear-gradient(to right, var(--gold), var(--pink));
  border-radius: 2px;
}

/* ---------- slabs (cards) ---------- */

.slab {
  position: relative;
  background: linear-gradient(175deg, var(--surface), var(--bg-raise) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius-slab);
  padding: var(--space-4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* inner case line — the graded-slab motif */
.slab::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-inner);
  pointer-events: none;
}

.slab:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.slab__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.slab h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.slab p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.slab--feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  grid-row: span 3;
}

.slab__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-inner);
  overflow: hidden;
  flex: 1;
  min-height: 260px;
}
.slab__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.slab--feature:hover .slab__media img { transform: scale(1.03); }

.slab__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px var(--space-2) 10px;
  background: linear-gradient(to top, rgba(12, 12, 14, 0.88), transparent);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.trade__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-auto-rows: min-content;
  gap: var(--space-3);
}

/* ---------- framed photos (graded-case figure) ---------- */

.slab-img {
  margin: 0;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  position: relative;
}
.slab-img::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  pointer-events: none;
}
.slab-img img {
  width: 100%;
  border-radius: var(--radius-inner);
  object-fit: cover;
}

.slab-img__label {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 12px 6px 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.slab-img__label span:last-child { color: var(--gold); }

.trade__gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-3);
  align-items: stretch;
}
.trade__gallery .slab-img {
  display: flex;
  flex-direction: column;
}
.trade__gallery .slab-img img {
  flex: 1;
  height: 100%;
  min-height: 320px;
  max-height: 560px;
}
.slab-img--wide img { object-position: 50% 38%; }

/* ---------- press feature ---------- */

.press {
  text-align: center;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(212, 175, 55, 0.05), transparent),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}

.press .eyebrow { margin-bottom: var(--space-4); }

.press__quote {
  margin: 0;
  position: relative;
}
.press__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 0.55;
  color: var(--pink);
  margin-bottom: var(--space-2);
}
.press__quote p {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.press__amount { color: var(--gold); }

.press__attrib {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.press__facts {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-8) 0 0;
  padding: 0;
}

.press__fact {
  flex: 1;
  max-width: 220px;
  padding: var(--space-3) var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: rgba(12, 12, 14, 0.4);
}
.press__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--gold);
}
.press__fact em { font-style: italic; font-weight: 300; }
.press__fact span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.press__copy {
  margin: var(--space-6) auto 0;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ivory-dim);
}

/* ---------- thesis ---------- */

.thesis {
  position: relative;
  background: linear-gradient(180deg, var(--bg-raise), var(--bg) 80%);
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
}

.thesis__chart {
  position: absolute;
  inset: auto 0 0 0;
  height: 320px;
  color: rgba(212, 175, 55, 0.1);
  pointer-events: none;
}
.thesis__chart svg { width: 100%; height: 100%; }

.thesis__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-12);
  align-items: start;
}

.thesis__copy p:not(.eyebrow):not(.disclaimer) {
  margin-top: var(--space-3);
  color: var(--ivory-dim);
  line-height: 1.75;
}
.thesis__copy .section__title { margin-bottom: var(--space-1); }
.thesis__copy .disclaimer {
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-soft);
}

.disclaimer--standing {
  position: relative;
  margin-top: var(--space-8);
  max-width: 76ch;
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  color: var(--ivory-dim);
  background: rgba(12, 12, 14, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
}
.disclaimer--standing strong {
  font-weight: 600;
  color: var(--ivory);
}

.thesis__pillars {
  display: flex;
  flex-direction: column;
}

.pillar {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-1);
  border-top: 1px solid var(--line);
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar:hover {
  background: rgba(212, 175, 55, 0.04);
  padding-left: var(--space-2);
}

.pillar__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--gold);
  padding-top: 5px;
  flex-shrink: 0;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.25;
  margin-bottom: var(--space-1);
}

.pillar p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

/* ---------- founder ---------- */

.founder__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-12);
  align-items: center;
}

.founder__photo { max-width: 460px; }

.founder__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--gold);
  margin: var(--space-2) 0 var(--space-3);
}

.founder__copy > p:not(.eyebrow):not(.founder__lede) {
  color: var(--ivory-dim);
  line-height: 1.75;
}

.founder__handles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.handle {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.handle:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
}
.handle__at {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ivory);
}
.handle:hover .handle__at { color: var(--pink); }
.handle__role {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

/* ---------- connect ---------- */

.connect {
  background:
    radial-gradient(ellipse 55% 65% at 50% 0%, rgba(255, 45, 135, 0.05), transparent),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}

.connect__inner { text-align: center; }
.connect__inner .badge { margin-bottom: var(--space-3); }

.connect__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.connect__copy {
  margin: var(--space-3) auto 0;
  max-width: 52ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ivory-dim);
}

.connect__ctas { justify-content: center; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
  padding-block: var(--space-8) var(--space-4);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-bottom: var(--space-6);
}

.footer__logo { height: 72px; width: auto; }

.footer__tag {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  color: var(--ivory-faint);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: flex-end;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--pink); }

.footer__legal {
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer__legal .disclaimer { max-width: 62ch; }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ivory-faint);
  white-space: nowrap;
}

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .slab:hover, .btn:hover, .handle:hover { transform: none; }
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 960px) {
  .section { padding-block: var(--space-12); }

  .trade__grid { grid-template-columns: 1fr 1fr; }
  .slab--feature { grid-column: 1 / -1; grid-row: auto; }

  .thesis__inner,
  .founder__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .founder__photo { max-width: 520px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* --- nav: hamburger, safe-area, larger logo --- */

  .nav { padding-top: env(safe-area-inset-top); }

  .nav__toggle { display: flex; }

  /* wide wordmark: 36px box, scales down inside it instead of colliding
     with the hamburger on narrow phones */
  .nav__brand { flex-shrink: 1; min-width: 0; }
  .nav__logo {
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .nav__links {
    position: fixed;
    inset: calc(var(--nav-h) + env(safe-area-inset-top)) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-3) var(--space-6);
    background: var(--bg);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links > a:not(.btn) {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ivory);
    padding-block: var(--space-1);
  }
  .nav__cta { margin-top: var(--space-2); }

  .nav.is-open {
    background: var(--bg);
    border-bottom-color: var(--line-soft);
  }

  /* --- hero: portrait crop, bottom-anchored, strong bottom scrim --- */

  .hero {
    align-items: flex-end;
    min-height: 100svh;
  }
  .hero__img {
    /* original 9:14 portrait cut of file_92 — face upper-right, slab wall left */
    object-position: center 30%;
    animation: none;
    transform: none;
  }
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(12, 12, 14, 0.45), rgba(12, 12, 14, 0.05) 28%, rgba(12, 12, 14, 0) 42%),
      linear-gradient(to top, rgba(12, 12, 14, 0.97) 6%, rgba(12, 12, 14, 0.86) 24%, rgba(12, 12, 14, 0.42) 54%, rgba(12, 12, 14, 0.06) 78%);
  }
  .hero__content {
    padding-block: calc(var(--nav-h) + env(safe-area-inset-top) + var(--space-4))
                   calc(var(--space-6) + env(safe-area-inset-bottom));
  }
  .badge {
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    padding: 7px 14px;
    margin-bottom: var(--space-3);
  }
  .hero__title {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 1.04;
    max-width: none;
  }
  .hero__sub {
    margin-top: var(--space-2);
    font-size: 1rem;
    line-height: 1.65;
  }
  .hero__ctas {
    flex-direction: column;
    gap: 12px;
    margin-top: var(--space-4);
  }
  .hero__ctas .btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
  }
  .hero__hint { display: none; }

  /* --- ticker --- */

  .ticker { padding-block: 11px; }
  .ticker__group {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    padding-right: 32px;
  }
  .ticker__group > span { padding-inline: 16px; }

  /* --- section rhythm & type --- */

  .section { padding-block: var(--space-8); }
  .section__head { margin-bottom: var(--space-6); }

  .namestrip { padding-block: var(--space-8); }
  .namestrip__title { font-size: clamp(2rem, 9.5vw, 2.75rem); }
  .namestrip__copy { font-size: 1.0625rem; }
  .namestrip__rule { margin-top: var(--space-6); }

  /* --- what we trade --- */

  .trade__grid,
  .trade__gallery { grid-template-columns: 1fr; }

  .slab { padding: var(--space-3); }

  .slab__media {
    flex: none;
    min-height: 0;
  }
  .slab__media img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    /* flat-lay: keep the burger backpack + start of the card spill in frame */
    object-position: 50% 12%;
  }
  .trade__gallery .slab-img img {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
    max-height: none;
    object-position: 50% 18%;
  }
  /* portrait sources: keep heads in frame on tall mobile windows */
  .slab-img--wide img { object-position: 50% 0%; }

  /* --- press feature --- */

  .press__quote::before { font-size: 3.5rem; }
  .press__quote p { font-size: clamp(1.625rem, 7.5vw, 2.25rem); }

  .press__facts {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    margin-top: var(--space-6);
  }
  .press__fact {
    max-width: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    text-align: left;
  }
  .press__fact strong { font-size: 1.625rem; }
  .press__fact span { margin-top: 0; text-align: right; }

  .press__copy { font-size: 1rem; }

  /* --- thesis --- */

  .thesis__inner { gap: var(--space-6); }
  .pillar { padding: var(--space-3) 0; }
  .pillar:hover { padding-left: 0; }

  /* --- founder: portrait 4:5, face safe --- */

  .founder__inner { gap: var(--space-6); }
  .founder__photo { max-width: none; }
  .founder__photo img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top;
    height: auto;
  }

  /* --- connect & footer --- */

  .connect__title { font-size: clamp(2.125rem, 9vw, 3rem); }

  .footer__inner { gap: var(--space-4); }
  .footer__links { align-items: flex-start; }
  .footer__logo { height: 48px; }
  .footer__legal {
    flex-direction: column;
    gap: var(--space-2);
  }
}
