:root {
  color-scheme: dark;
  --background: #14181b;
  --panel-deep: #171c1f;
  --hairline: #2a3130;
  --text: #e8eae6;
  --paper: #f4f5f2;
  --body-copy: #c6cbc8;
  --muted: #9aa3a8;
  --separator: #4a5254;
  --red: #e4574b;
  --red-deep: #a81b12;
  --red-dark: #8b140c;
  --font-display: "Bodoni Moda", Didot, "Bodoni MT", serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Monaco, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

::selection {
  background: var(--red-deep);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--background);
  font: 600 11px/1 var(--font-mono);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.manifesto-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hairline);
  padding: 22px clamp(20px, 5vw, 44px);
  background: var(--background);
}

.manifesto-brand {
  display: block;
  flex: none;
}

.manifesto-brand img {
  width: auto;
  height: 22px;
}

.manifesto-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.manifesto-nav a,
.manifesto-footer,
.manifesto-eyebrow,
.manifesto-section h2,
.principles,
.manifesto-action,
.signature span,
.team-figure figcaption {
  font-family: var(--font-mono);
}

.manifesto-nav a {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.manifesto-nav a:hover {
  color: var(--red);
}

.manifesto-nav .manifesto-nav__cta {
  border: 1px solid var(--hairline);
  color: var(--text);
  font-weight: 600;
  padding: 10px 16px;
}

.manifesto-nav .manifesto-nav__cta:hover {
  border-color: var(--red);
  color: var(--red);
}

.manifesto-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.manifesto-menu-toggle span,
.manifesto-menu-toggle span::before,
.manifesto-menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.manifesto-menu-toggle span {
  position: relative;
}

.manifesto-menu-toggle span::before,
.manifesto-menu-toggle span::after {
  position: absolute;
  left: 0;
}

.manifesto-menu-toggle span::before {
  top: -5px;
}

.manifesto-menu-toggle span::after {
  top: 5px;
}

.manifesto-menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.manifesto-menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.manifesto-menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.manifesto {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: clamp(72px, 11vh, 120px) clamp(20px, 5vw, 40px) 120px;
}

.manifesto-eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}

.manifesto-eyebrow i,
.signature i,
.team-figure figcaption i,
.manifesto-action i {
  color: var(--red);
  font-style: normal;
}

h1 {
  margin: 26px 0 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 48px;
  align-items: start;
  margin-top: clamp(48px, 8vh, 80px);
}

.founder-letter {
  max-width: 640px;
}

.founder-letter > p {
  margin: 18px 0 0;
  color: var(--body-copy);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.founder-letter > .founder-letter__lead {
  margin-top: 0;
  color: var(--text);
  font-size: 19px;
}

.signature {
  margin-top: 36px;
}

.signature p {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

.signature span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.team-figure {
  min-width: 0;
  margin: 0;
}

.team-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  background: var(--panel-deep);
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: sepia(0.28) hue-rotate(-10deg) saturate(1.3) contrast(1.08) brightness(0.88);
}

.team-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.manifesto-section {
  margin-top: 72px;
}

.manifesto-intro + .manifesto-section {
  margin-top: clamp(64px, 10vh, 96px);
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-rule svg {
  width: 48px;
  height: 14px;
  flex: none;
}

.section-rule path {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
}

.section-rule span {
  height: 1px;
  flex: 1;
  background: var(--hairline);
}

.manifesto-section h2 {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}

.manifesto-section h2 span {
  margin-right: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

.manifesto-section > p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--body-copy);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.manifesto-section blockquote {
  max-width: 680px;
  margin: 44px 0;
  border-left: 2px solid var(--red);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 400;
  line-height: 1.25;
  padding-left: 26px;
  text-wrap: balance;
}

.principles {
  margin: 28px 0 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
  padding: 0;
}

.principles li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}

.principles__number {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

.principles h3 {
  margin: 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.principles p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
}

.manifesto-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: clamp(56px, 9vh, 80px);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  background: var(--red-deep);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 18px 34px;
  text-decoration: none;
}

.button:hover {
  background: var(--red-dark);
  color: var(--paper);
}

.manifesto-action > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.manifesto-footer {
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  padding: 56px clamp(20px, 5vw, 44px) 64px;
}

.manifesto-footer__inner {
  display: flex;
  width: min(100%, 880px);
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 auto;
}

.manifesto-footer img {
  width: auto;
  height: 18px;
}

@media (max-width: 900px) {
  .manifesto-menu-toggle {
    display: grid;
  }

  .manifesto-nav {
    position: absolute;
    z-index: 35;
    top: calc(100% - 1px);
    right: max(20px, env(safe-area-inset-right));
    left: max(20px, env(safe-area-inset-left));
    display: none;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    border: 1px solid var(--hairline);
    background: rgba(20, 24, 27, 0.98);
    box-shadow: 0 24px 60px rgb(0 0 0 / 36%);
    gap: 0;
    padding: 8px;
    backdrop-filter: blur(12px);
  }

  .manifesto-nav[data-open="true"] {
    display: grid;
  }

  .manifesto-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--hairline);
    padding: 0 12px;
  }

  .manifesto-nav .manifesto-nav__cta {
    margin-top: 8px;
    border: 1px solid var(--hairline);
  }
}

@media (max-width: 720px) {
  .manifesto-header {
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: 18px;
    padding-left: max(20px, env(safe-area-inset-left));
  }

  .manifesto-brand img {
    height: 18px;
  }

  .manifesto {
    padding-top: 72px;
    padding-bottom: 96px;
  }

  .founder-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .team-figure {
    width: 100%;
  }

  .manifesto-section {
    margin-top: 64px;
  }

  .manifesto-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 359px) {
  h1 {
    font-size: 40px;
  }

  .manifesto-eyebrow {
    font-size: 9.5px;
  }

  .principles li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .button {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
