@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

:root {
  --bg: #f3eee4;
  --ink: #1b1712;
  --muted: #5a5349;
  --line: #d2c8b6;
  --accent: #7c3a24;
  --accent-hover: #5e2b1a;
  --max: 70rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.8rem;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  flex: 1;
}

.hero {
  padding: 5.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  margin: 0.9rem 0 1.8rem;
  border: 0;
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 10vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.lede {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  line-height: 1.45;
  color: var(--muted);
}

.page-hero {
  padding: 4.5rem 0 2.25rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section {
  padding: 0 0 4.5rem;
}

.section-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.split h2,
.prose h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.15;
}

.prose,
.split p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink);
}

.prose p + p {
  margin-top: 1rem;
}

.prose {
  padding-top: 0.25rem;
}

.ventures {
  border-top: 1px solid var(--line);
}

.venture {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1.25rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
}

.venture-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
}

.venture h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
}

.venture p {
  margin: 0;
  max-width: 36rem;
}

.venture .action {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.socials {
  border-top: 1px solid var(--line);
}

.social {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.social:hover {
  color: var(--accent);
}

.social h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
}

.social span {
  font-size: 1rem;
  color: var(--muted);
}

.note {
  margin: 2rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1.6rem;
  padding-bottom: 1.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.not-found {
  padding: 6rem 0 7rem;
}

.not-found h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1.05;
}

.not-found p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 28rem;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3.4rem;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding-top: 0.9rem;
    padding-bottom: 0.35rem;
    min-height: 0;
  }

  .wordmark small {
    display: none;
  }

  .nav {
    margin-left: -0.8rem;
  }

  .split,
  .venture {
    grid-template-columns: 1fr;
  }

  .venture {
    gap: 0.35rem;
  }

  .social {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    backdrop-filter: none;
  }
}
