@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --font:
    "Glacial Indifference", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 8px;
  --radius-card: 14px;
}

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.25rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--background-element);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 12px;
}

/* Buttons: same shape as src/components/ui/button.tsx */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover {
  opacity: 0.85;
}
.btn-primary {
  background: var(--button);
  color: var(--on-button);
  border-color: var(--primary);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn[hidden] {
  display: none;
}

/* Header */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.wordmark img {
  height: 30px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
}
.nav a:not(.btn):hover {
  text-decoration: underline;
}

/* Hero */
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(40px, 8vw, 96px);
}
.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.5rem, 1.2rem + 5vw, 4.5rem);
  letter-spacing: -0.01em;
}
.hero .lede {
  margin-top: 24px;
  max-width: 34rem;
  color: var(--text-secondary);
  font-size: 1.45rem;
}
.hero .cta {
  margin-top: 32px;
}
.hero-art {
  margin: 0;
}
.hero-art figcaption {
  max-width: 420px;
  margin: 14px auto 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
  text-wrap: balance;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--stage-black);
}
.stage img {
  width: 100%;
  height: auto;
}
.stage-still {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .stage-motion {
    display: none;
  }
  .stage-still {
    display: block;
  }
}

/* Sections */
.section {
  border-top: 1px solid var(--border);
}
.section .container {
  padding-block: clamp(64px, 10vw, 120px);
}
/* Alternate the ground so each section reads as its own band. */
.section.alt,
.ideas {
  background: var(--background-element);
}
.section-title {
  font-size: clamp(1.8rem, 1rem + 2.5vw, 2.6rem);
  text-align: left;
}

/* The title sits in its own column so the three pillars, not an empty space beside the title, are the content. */
.vision .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 24px clamp(32px, 6vw, 88px);
  align-items: start;
}
.vision .section-title {
  position: sticky;
  top: 24px;
}
.pillars {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.pillar {
  display: grid;
  gap: 16px;
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
}
.pillar h3 {
  font-size: clamp(1.9rem, 1rem + 2.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.pillar p {
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.35rem;
}

.cards {
  display: grid;
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  min-width: 0;
  padding: 28px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.card h3 {
  margin-top: 20px;
  font-size: 1.4rem;
}
.card > h3:first-child {
  margin-top: 0;
}
.card p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 1.2rem;
}
.icon {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .accent {
  stroke: var(--primary);
}
.icon .solid {
  fill: var(--secondary);
  stroke: none;
}
.feature .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.75;
}
.feature h3 {
  margin-top: 16px;
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.feature .shot {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 789;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--background-element);
}

/* Beta and ideas bands */
.band p,
.ideas p {
  max-width: 40rem;
  margin-top: 16px;
  color: var(--text-secondary);
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
  margin: 36px 0 0;
}
.options > div {
  padding: 4px clamp(20px, 4vw, 48px);
}
.options > div:first-child {
  padding-left: 0;
}
.options > div + div {
  border-left: 1px solid var(--border);
}
.options dt {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.options dd {
  margin: 6px 0 0;
  max-width: 28ch;
  color: var(--text-secondary);
  font-size: 1.15rem;
}
.band .cta,
.ideas .cta {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.address {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.copy-status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 0.95rem;
}

/* Founder */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--background-element);
}
.bio {
  max-width: 36rem;
  margin: clamp(28px, 4vw, 48px) 0 0;
  font-size: 1.35rem;
}
.bio-close {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-style: italic;
}

/* Legal pages (privacy policy): a readable single column of running text. */
.legal .container {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.legal h2 {
  margin-top: 16px;
  font-size: 1.5rem;
}
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 1.25rem;
}
.legal .legal-updated {
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 32px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.site-footer img {
  height: 24px;
  width: auto;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: var(--text);
}

@media (max-width: 880px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .vision .container {
    grid-template-columns: 1fr;
  }
  .vision .section-title {
    position: static;
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-wrap: wrap;
  }
  .nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .nav-links {
    gap: 16px;
  }
  .options {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .options > div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .feature .shot {
    width: 60%;
    max-width: 240px;
  }
  .options > div {
    padding-inline: 0;
  }
}
