@font-face {
  font-family: "Formular";
  src: url("static/font/formular/formular-regular.woff") format("woff");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Formular";
  src: url("static/font/formular/formular-medium.woff") format("woff");
  font-display: swap;
  font-weight: 600;
}

:root {
  --ink: #0d0e0e;
  --paper: #f3e9e7;
  --glow: #fff8f2;
  --dim: #a9a19f;
  --line: rgba(243, 233, 231, .22);
  --signal: #f3edc7;
  --shell: 1120px;
  --serif: "Century Schoolbook", "Century Schoolbook L", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --utility: "Formular", "Atlas Typewriter", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  z-index: 10;
  background:
    radial-gradient(circle at 18% 26%, rgba(255,255,255,.035) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 63%, rgba(255,255,255,.025) 0 1px, transparent 1.2px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(13, 14, 14, .54);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  text-decoration: none;
  font: 600 10px/1 var(--utility);
  letter-spacing: .2em;
}
.brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(1) sepia(.1) saturate(.5);
}
nav { display: flex; gap: 27px; align-items: center; }
nav a, .eyebrow, .visual-index, .micro-list, .menu-button, .site-footer {
  font-family: var(--utility);
  text-transform: uppercase;
  letter-spacing: .16em;
}
nav a {
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  padding-block: 8px 5px;
  border-bottom: 1px solid transparent;
}
nav a:hover, nav a.active { border-color: var(--paper); }
.menu-button { display: none; border: 0; background: none; font-size: 10px; padding: 10px 0; }

main { overflow: hidden; }
.hero { padding-top: 42px; padding-bottom: 118px; }
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-visual {
  position: relative;
  width: min(100%, 920px);
  min-height: 570px;
}
.hero-visual .neural-canvas {
  height: 570px;
}
.hero-copy {
  width: min(100%, 910px);
  margin-top: -14px;
  text-align: center;
}
.hero-copy h1 {
  margin-inline: auto;
  max-width: 27ch;
  font-size: clamp(38px, 4.8vw, 40px);
  line-height: 1.08;
}
.hero-copy .text-link {
  margin-top: 34px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(54px, 8vw, 96px);
  align-items: center;
}
.copy { max-width: 500px; }
.eyebrow {
  margin: 0 0 28px;
  color: var(--dim);
  font-size: 9px;
  font-style: normal;
}

h1, h2, .statement-copy, .page-title {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
  background: linear-gradient(105deg, #fff6ef 0%, var(--paper) 52%, #cdbfbc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
h1 { font-size: clamp(36px, 4.5vw, 62px); line-height: 1.08; }
h2 { font-size: clamp(27px, 3vw, 41px); line-height: 1.15; margin-bottom: 28px; }
em { color: var(--signal); font-weight: 400; }
h1 em, h2 em, .statement-copy em { -webkit-text-fill-color: var(--signal); }
.lead { font-size: 18px; line-height: 1.55; margin: 32px 0; max-width: 43ch; color: #ded3d0; }
.copy > p:not(.eyebrow):not(.lead) { color: #cbc1bf; max-width: 48ch; }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--paper);
  text-decoration: none;
  font: 600 10px/1.6 var(--utility);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.text-link:hover { border-color: transparent; color: var(--signal); }
.visual { position: relative; min-height: 430px; }
.neural-canvas { width: 100%; height: 470px; display: block; }
.visual-index {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--dim);
  font-size: 8px;
}
.section { padding-block: 80px; }
.ruled::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 26px;
  background: linear-gradient(90deg, var(--paper), rgba(243, 233, 231, .05));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s ease;
}
.ruled.visible::before { transform: scaleX(1); }
.micro-list { display: flex; gap: 18px; margin-top: 30px; color: var(--dim); font-size: 8px; }
.micro-list span:not(:last-child)::after { content: "·"; margin-left: 18px; color: var(--signal); }
.statement {
  margin-top: 60px;
  margin-bottom: 140px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.statement-copy { max-width: 850px; font-size: clamp(34px, 5.3vw, 35px); line-height: 1.12; }
.statement .text-link { margin-top: 42px; }

.page-hero { padding-top: 165px; padding-bottom: 76px; }
.page-title { font-size: clamp(27px, 3vw, 41px); line-height: .95; }
.page-intro { max-width: 670px; font-size: clamp(20px, 2.4vw, 29px); font-style: italic; color: #e6dbd7; margin: 42px 0 0; }
.page-visual { margin: 26px auto 90px; }
.page-visual .neural-canvas { height: 510px; }
.chapter { padding-block: 72px; border-top: 1px solid var(--line); }
.chapter-number { color: var(--signal); }
.chapter .grid { align-items: start; }
.chapter h2 { max-width: 13ch; }
.chapter-copy { color: #cec3c0; max-width: 560px; }
.chapter-copy p { margin-top: 0; margin-bottom: 20px; }

@keyframes portrait-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 750px;
  margin-top: 66px;
}

.founder figure { margin: 0; }
.portrait-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: .88;
  background: linear-gradient(90deg, #151616 0%, #222424 50%, #151616 100%);
  background-size: 200% 100%;
  animation: portrait-shimmer 2.2s infinite linear;
}
.portrait-wrap.is-loaded {
  animation: none;
  background: #181919;
}
.founder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  opacity: 0;
  transition: opacity .6s cubic-bezier(.16,1,.3,1), filter .45s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.founder img.loaded {
  opacity: 1;
}
.founder:hover img { filter: grayscale(.15); transform: scale(1.025); }
.founder figcaption { padding-top: 16px; border-top: 1px solid var(--line); margin-top: 14px; }
.founder-name { display: block; font-size: 21px; font-style: italic; }
.founder p {
  margin-top: 25px;
  font-size: 15px;
  font-style: normal;
  color: #cbc1bf;}
.founder-role { display: block; margin-top: 5px; color: var(--dim); font: 8px/1.4 var(--utility); letter-spacing: .14em; text-transform: uppercase; }

.contact-grid { align-items: start; }
.contact-card { border-top: 1px solid var(--line); padding-top: 25px; }
.contact-card + .contact-card { margin-top: 56px; }
.contact-card h2 { font-size: 26px; margin-bottom: 16px; }
.contact-card p { color: #cfc5c2; max-width: 46ch; }
.contact-card a { text-underline-offset: 5px; }
.signal-address { font-size: clamp(25px, 3vw, 39px); font-style: italic; }

.site-footer { padding: 32px 0 40px; color: var(--dim); font-size: 8px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; }
.footer-left { max-width: 100%; }
.footer-left p { margin: 0; line-height: 1.6; }
.footer-tagline { display: block; white-space: nowrap; }
.footer-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-top: 14px;
  filter: invert(1) sepia(.1) saturate(.5);
  opacity: .95;
}
.footer-rights { margin: 0; white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .menu-button { display: block; z-index: 2; cursor: pointer; }
  nav {
    position: fixed;
    inset: 0;
    background: rgba(13, 14, 14, .97);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  nav.open { opacity: 1; pointer-events: auto; }
  nav a { font-size: 13px; }
  .brand { z-index: 2; }
  .grid { grid-template-columns: 1fr; gap: 42px; }
  .reverse-mobile .visual { order: 2; }
  .hero { padding-top: 36px; padding-bottom: 76px; }
  .hero-visual { min-height: 390px; width: calc(100% + 20px); }
  .hero-visual .neural-canvas { height: 390px; }
  .hero-copy { margin-top: -8px; }
  .hero-copy h1 { font-size: clamp(33px, 9.6vw, 44px); }
  .lead { font-size: 17px; }
  .visual, .neural-canvas { min-height: 350px; height: 350px; }
  .section { padding-block: 55px; }
  .statement { margin-bottom: 95px; }
  .page-hero { padding-top: 125px; padding-bottom: 48px; }
  .page-visual .neural-canvas { height: 370px; }
  .chapter { padding-block: 52px; }
  .founders { grid-template-columns: 1fr; gap: 45px; max-width: 340px; }
  .portrait-wrap { aspect-ratio: 1; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ruled::before { transform: none; transition: none; }
  .portrait-wrap { animation: none; }
  .founder img { opacity: 1; transition: none; }
}
