@font-face {
  font-family: "Instrument Serif";
  src: url("/home-assets/fonts/instrument-serif-3.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/home-assets/fonts/instrument-serif-1.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/home-assets/fonts/inter-6.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #f7f6f2;
  --ink: #111212;
  --dark: #202121;
  --panel: #454545;
  --muted: #a5a4a0;
  --line: #5b5b59;
  --yellow: #f0df8a;
  --radius: .375rem;
  --radius-md: calc(var(--radius) * .875);
  --radius-lg: var(--radius);
  font-family: "Inter", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; background: var(--dark); }
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body { margin: 0; overflow-x: hidden; background: var(--dark); color: var(--paper); }
body.menu-open { overflow: hidden; touch-action: none; }
body::after {
  content: "";
  position: fixed;
  inset: -120px;
  z-index: 40;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  pointer-events: none;
  animation: filmGrain 900ms steps(3) infinite;
}
@keyframes filmGrain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-38px, 22px); }
  66% { transform: translate(26px, -30px); }
  100% { transform: translate(0, 0); }
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
img, canvas, iframe { -webkit-user-drag: none; user-select: none; }

.site-header {
  position: fixed;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(24px, 3.5vw, 52px);
  color: var(--paper);
  transition: color 180ms ease;
  pointer-events: none;
}

.site-header { top: 0; height: 112px; background: transparent; }
.site-header.on-hero { color: var(--ink); }
.site-header button { pointer-events: auto; }
.wordmark,
.site-header nav button,
.menu-button,
.x-handle {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: "Instrument Serif", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  text-decoration: none;
}
.wordmark.is-typing::after { content: ""; display: inline-block; width: 1px; height: .78em; margin-left: .08em; background: currentColor; vertical-align: -.06em; animation: wordmarkCaret 600ms steps(1) infinite; }
@keyframes wordmarkCaret { 50% { opacity: 0; } }
.site-header nav { display: flex; gap: clamp(20px, 2.5vw, 36px); pointer-events: auto; }
.site-header nav { transition: gap 180ms ease; }
.site-header nav button[data-scroll-target="values"] { max-width: 140px; overflow: hidden; white-space: nowrap; transition: max-width 220ms ease, opacity 160ms ease, transform 220ms ease; }
.site-header.is-condensed nav { gap: 0; }
.site-header.is-condensed nav button[data-scroll-target="values"] { max-width: 0; opacity: 0; transform: translateY(-8px); pointer-events: none; }
.site-header nav button[data-scroll-target="access"] { padding: 8px 14px 10px; border-radius: 6px; color: var(--ink); background: var(--paper); font-family: "Instrument Serif", serif; font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; line-height: 1; }
.site-header nav button[data-scroll-target="access"]::after { display: none; }
.site-header nav button, .x-handle { position: relative; }
.site-header nav button::after, .x-handle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 160ms ease;
}
.site-header nav button:hover::after, .x-handle:hover::after { transform: scaleX(1); }
.menu-button { display: none; }
.menu-icon { position: absolute; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1); }
.menu-icon-close { opacity: 0; transform: rotate(-45deg) scale(.72); }
.menu-button[aria-expanded="true"] .menu-icon-open { opacity: 0; transform: rotate(45deg) scale(.72); }
.menu-button[aria-expanded="true"] .menu-icon-close { opacity: 1; transform: rotate(0) scale(1); }

.home-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(84px, 10vh, 112px) clamp(34px, 4.2vw, 64px) clamp(64px, 8vh, 88px);
  background: var(--dark);
}
.home-section h2 { width: min(1180px, 100%); margin: 0 auto; text-align: center; font-family: "Instrument Serif", serif; font-size: clamp(52px, 5.8vw, 92px); font-weight: 700; font-synthesis: weight; line-height: .94; letter-spacing: -.025em; }

.hero-scroll-stage { position: relative; height: 125svh; overflow-anchor: none; background: var(--dark); }

.hero-section {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding-top: 15.5vh;
  isolation: isolate;
  opacity: var(--hero-exit-opacity, 1);
  background: var(--dark);
  color: var(--ink);
  will-change: opacity;
}
.hero-section.is-scroll-past { visibility: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--dark); }
.hero-reality-image,
.hero-reality-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: opacity, transform;
}
.hero-reality-image { opacity: 1; transform: scale(1.045); }
.hero-reality-canvas { opacity: var(--hero-video-opacity, 0); transform: scale(1.4); }
.hero-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(47, 217, 221, .16), transparent 46%, rgba(17, 63, 24, .1)); mix-blend-mode: color; pointer-events: none; }
.hero-fade { position: absolute; inset: 0; z-index: 3; background: var(--dark); opacity: var(--hero-fade-opacity, 0); pointer-events: none; will-change: opacity; }
.hero-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 38%, rgba(0,0,0,.12)), radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,.26)); pointer-events: none; }
.hero-section:not(.is-scroll-past) .hero-reality-image { animation: heroDrift 26s ease-in-out infinite alternate; }
@keyframes heroDrift {
  from { transform: scale(1.045) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.2%, .8%); }
}
.hero-section h1 { position: relative; z-index: 2; margin: 0; max-width: 980px; opacity: var(--hero-headline-opacity, 1); text-align: center; font-family: "Instrument Serif", serif; font-size: clamp(52px, 5.8vw, 92px); font-weight: 700; font-synthesis: weight; line-height: .94; letter-spacing: -.025em; text-shadow: 0 1px 14px rgba(255,255,255,.18); will-change: opacity; }
.hero-credit { position: absolute; right: clamp(24px, 3.5vw, 52px); bottom: 78px; z-index: 2; margin: 0; font-size: 9px; opacity: .7; }

.api-section { display: block; min-height: auto; }
.api-copy { width: min(1280px, 100%); margin: 0 auto; }
.editorial-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #090a0a; }
.editorial-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 1; background: #090a0a; transition: opacity 220ms ease; }
.editorial-video iframe.is-switching { opacity: 0; }
.editorial-video::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.video-title-card {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: opacity 550ms ease, transform 1.2s cubic-bezier(.16, 1, .3, 1), background 550ms ease;
}
.video-title-card.is-visible { opacity: 1; transform: scale(1); }
.video-title-text { font-family: "Instrument Serif", serif; font-size: clamp(48px, 6.5vw, 104px); font-style: italic; letter-spacing: -.055em; line-height: .86; opacity: 0; transform: translateY(18px) scale(.97); filter: blur(12px); }
.video-title-card.is-visible .video-title-text { animation: chapterTitleIn 1.45s cubic-bezier(.16, 1, .3, 1) 120ms forwards; }
@keyframes chapterTitleIn { 0% { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(12px); letter-spacing: .02em; } 58% { opacity: .94; } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); letter-spacing: -.055em; } }
.video-selector { position: absolute; left: 50%; bottom: clamp(18px, 3vw, 34px); z-index: 3; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 18px); width: max-content; max-width: calc(100% - 32px); transform: translateX(-50%); }
.video-selector button { position: relative; overflow: hidden; border: 0; padding: 10px clamp(16px, 2vw, 26px); border-radius: 6px; color: rgba(255, 255, 255, .58); background: rgba(0, 0, 0, .34); backdrop-filter: blur(7px); font-family: "Inter", sans-serif; font-size: clamp(14px, 1.2vw, 18px); font-weight: 400; white-space: nowrap; cursor: pointer; transition: color 160ms ease, opacity 160ms ease; }
.video-selector button::before { content: ""; position: absolute; inset: 0; width: calc(var(--pill-progress, 0) * 100%); background: rgba(255, 255, 255, .24); pointer-events: none; }
.video-selector button:hover,
.video-selector button.is-active { color: #fff; }
.video-selector button[aria-disabled="true"] { opacity: .48; }
.api-copy h2 { margin: 0 auto clamp(28px, 4vh, 44px); text-align: center; }
.api-body { max-width: 940px; margin: 0 auto clamp(48px, 7vh, 88px); text-align: center; }
.api-body p { margin: 0; color: #c9c8c4; font-size: clamp(19px, 1.8vw, 29px); line-height: 1.32; text-align: center; }
.api-body p + p { margin-top: clamp(16px, 2.4vh, 26px); }
.text-link { border: 0; padding: 0 0 7px; border-bottom: 1px solid var(--paper); background: transparent; cursor: pointer; font-size: 17px; }
.text-link span { display: inline-block; margin-left: 16px; }

.values-stage { position: relative; z-index: 1; min-height: auto; overflow-anchor: none; background: var(--dark); }
.values-section { z-index: 1; display: flex; align-items: flex-start; justify-content: center; overflow-anchor: none; min-height: auto; padding-top: 15.5vh; padding-bottom: clamp(96px, 12vh, 160px); }
.founder-note { width: min(1180px, 100%); text-align: center; }
.founder-note > * { opacity: 1; transform: none; }
.founder-note h2 { max-width: 920px; margin-bottom: clamp(44px, 6vh, 68px); font-size: clamp(50px, 5.2vw, 80px); }
.founder-note > p { max-width: 860px; margin: 0 auto; color: #d5d4cf; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.38; letter-spacing: -.018em; text-align: center; }
.founder-note p strong { color: #fff; font-weight: 700; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 clamp(42px, 6vh, 68px); text-align: left; }
.value-card { position: relative; isolation: isolate; min-height: 180px; padding: 20px; overflow: hidden; border: 0; border-radius: 14px; }
.value-card > :not(.value-mark) { position: relative; z-index: 1; }
.value-card h3 { margin: 0 0 12px; font-family: "Instrument Serif", serif; font-size: clamp(36px, 3vw, 46px); font-weight: 400; line-height: .9; letter-spacing: -.035em; }
.value-card p { max-width: 30ch; margin: 0; font-size: 14px; line-height: 1.35; }
.value-mark { position: absolute; z-index: 0; pointer-events: none; }
.value-truth { color: #d7efff; background: #163a55; }
.value-truth h3 { color: #d7efff; }
.value-truth p { color: rgba(215, 239, 255, .84); }
.value-truth .value-mark { top: -32px; right: -24px; width: 180px; height: 142px; border: 24px solid #5eb9e8; border-radius: 48% 52% 48% 52%; transform: rotate(-18deg); }
.value-truth .value-mark::after { content: ""; position: absolute; inset: 24px -55px; border-top: 2px solid #5eb9e8; border-bottom: 2px solid #5eb9e8; transform: rotate(18deg); }
.value-dignity { color: #ffe0c5; background: #733d26; }
.value-dignity h3 { color: #ffe0c5; }
.value-dignity p { color: rgba(255, 224, 197, .85); }
.value-dignity .value-mark { top: -52px; right: -28px; width: 172px; height: 172px; border-radius: 42% 58% 46% 54%; background: #dd7448; transform: rotate(16deg); }
.value-dignity .value-mark::after { content: ""; position: absolute; inset: 30px; border: 2px solid #733d26; border-radius: 48% 52% 40% 60%; }
.value-wonder { color: #fff2a9; background: #6d591a; }
.value-wonder h3 { color: #fff2a9; }
.value-wonder p { color: rgba(255, 242, 169, .87); }
.value-wonder .value-mark { top: -58px; right: -38px; width: 184px; height: 184px; border: 22px solid #e5c749; border-radius: 50%; }
.value-wonder .value-mark::after { content: ""; position: absolute; inset: 32px -42px; border: 3px solid #e5c749; border-radius: 50%; transform: rotate(-32deg); }
.signature { display: block; width: min(190px, 58vw); height: auto; margin: 50px auto 0; filter: invert(1); transform: rotate(-5deg); transform-origin: center; }

.join-section { display: flex; flex-direction: column; justify-content: center; }
.values-section, .api-section, .join-section { min-height: auto; padding-top: clamp(112px, 12vw, 180px); padding-bottom: clamp(112px, 12vw, 180px); }
.section-heading { margin: 0 auto clamp(42px, 6vh, 68px); width: min(1170px, 100%); }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; width: min(1170px, 100%); margin: 0 auto; }
.general-inquiries { width: min(1170px, 100%); margin: clamp(28px, 4vh, 44px) auto 0; color: rgba(255, 255, 255, .52); font-size: 14px; text-align: center; }
.general-inquiries a { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, .52); color: var(--paper); text-decoration: none; }
.general-inquiries a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.opportunity-card { min-height: min(54vh, 480px); padding: 22px; border: 1px solid #5d5d5b; border-radius: 18px; color: #a5a5a1; background-color: var(--panel); background-position: center; background-size: cover; text-align: left; overflow: hidden; }
.opportunity-card:nth-child(1) { background-image: linear-gradient(180deg, rgba(25, 25, 25, .58), rgba(5, 5, 5, .88)), url("/assets/careers.png"); }
.opportunity-card:nth-child(2) { background-image: linear-gradient(180deg, rgba(25, 25, 25, .58), rgba(5, 5, 5, .88)), url("/assets/contributor.png"); }
.opportunity-card:nth-child(3) { background-image: linear-gradient(180deg, rgba(25, 25, 25, .58), rgba(5, 5, 5, .88)), url("/assets/partner.png"); }
.opportunity-card > summary { min-height: calc(min(54vh, 480px) - 44px); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0; list-style: none; cursor: pointer; }
.opportunity-card > summary::-webkit-details-marker { display: none; }
.opportunity-card[open] { display: flex; flex-direction: column; }
.opportunity-card[open] > summary { min-height: auto; align-items: flex-start; padding-bottom: 30px; }
.opportunity-card[open] .card-body small { display: none; }
.card-body { display: contents; }
.card-title {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 14px;
  color: #c9c8c4;
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 3.4vw, 58px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
  transform: rotate(-4deg);
  transform-origin: left top;
  transition: color 180ms ease, transform 320ms ease;
}
.opportunity-card:nth-child(2) .card-title { transform: rotate(2.5deg); }
.opportunity-card:nth-child(3) .card-title { transform: rotate(-3deg); }
.opportunity-card[open] .card-title { transform: rotate(0); font-size: clamp(28px, 2.3vw, 38px); margin-top: 0; }
.card-title svg { width: .5em; height: .5em; flex: none; align-self: center; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.opportunity-card:hover .card-title svg { transform: translateX(6px); }
.card-body small { max-width: 100%; color: #c6c5c1; font-size: 18px; line-height: 1.35; }
.card-body small strong { color: var(--paper); font-weight: 600; }
.opportunity-card:hover .card-title { color: #fff; }
.card-detail { color: #f7f6f2; font-size: 17px; line-height: 1.5; text-align: left; }
.opportunity-card[open] .card-detail { display: flex; flex: 1; flex-direction: column; }
.card-detail ul { margin: 0 0 32px; padding-left: 20px; list-style: disc; text-align: left; }
.card-detail li { padding: 5px 0; }
.card-detail p { margin: 0 0 16px; }
.card-detail a { color: #fff; text-underline-offset: 4px; }
.card-detail a:hover { color: var(--yellow); }
.card-email-form { display: flex; align-items: center; width: 100%; margin-top: auto; border-bottom: 1px solid rgba(255, 255, 255, .58); }
.card-email-input { min-width: 0; flex: 1; padding: 14px 0 10px; border: 0; border-radius: 0; color: var(--paper); background: transparent; font-size: 17px; }
.card-email-input::placeholder { color: rgba(255, 255, 255, .58); }
.card-email-submit { display: grid; place-items: center; width: 44px; height: 46px; padding: 0; border: 0; color: var(--paper); background: transparent; cursor: pointer; }
.card-email-submit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: color 180ms ease, transform 180ms ease; }
.card-email-submit:hover svg { color: var(--yellow); transform: translateX(4px); }
.partnership-pilot-button { align-self: flex-start; margin-top: auto; padding: 11px 15px; border: 0; border-radius: 6px; color: var(--ink); background: var(--paper); cursor: pointer; font-size: 14px; font-weight: 600; }
.partnership-pilot-button:hover { background: #fff; }

.access-section { display: grid; place-items: center; }
.access-wrap { width: min(820px, 72vw); text-align: center; }
.npm-kicker { margin: 18px 0 0; color: #aaa9a4; font-size: clamp(14px, 1.2vw, 18px); }
.npm-mark { display: inline-flex; width: 54px; margin-top: 14px; }
.npm-mark svg { display: block; width: 100%; height: auto; }
.access-wrap form { margin-top: clamp(48px, 8vh, 92px); }
.email-row { display: grid; grid-template-columns: 1fr 58px; border: 1px solid #666764; border-radius: var(--radius-lg); }
.email-row input { min-width: 0; height: 76px; border: 0; color: var(--paper); background: transparent; font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; }
.email-row input::placeholder { color: #666764; }
.email-row button { border: 0; background: transparent; cursor: pointer; font-size: 46px; font-weight: 300; }
.email-row { grid-template-columns: 1fr; }
.email-row button { display: none; }
.email-row { grid-template-columns: 1fr auto; border: 0; border-bottom: 1px solid #666764; border-radius: 0; }
.email-row button:not(.email-submit) { display: none; }
.email-row .email-submit { display: grid; place-items: center; width: 58px; padding: 0; color: var(--paper); background: transparent; }
.email-submit svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease, color 180ms ease; }
.email-submit:hover svg { color: var(--yellow); transform: translateX(5px); }
.form-status { margin: 15px 0 0; color: #7f807d; font-size: 12px; text-align: center; }
.form-status.is-error { color: #ff8b8b; }
.form-status.is-success { color: var(--paper); }
.access-footer { position: absolute; left: clamp(24px, 3.5vw, 52px); right: clamp(24px, 3.5vw, 52px); bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.access-footer-left { display: flex; min-width: 0; align-items: center; gap: 28px; }
.access-footer-links { display: flex; align-items: center; gap: 28px; }
.access-footer button, .access-footer .x-handle { border: 0; padding: 0; color: var(--paper); background: transparent; font-family: "Instrument Serif", serif; font-size: 17px; font-weight: 400; cursor: pointer; }
.x-logo { display: none; width: 19px; height: 19px; fill: currentColor; }

.mobile-menu { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 1fr min(86vw, 390px); visibility: hidden; opacity: 0; background: rgba(0,0,0,.34); backdrop-filter: blur(18px) saturate(.7); -webkit-backdrop-filter: blur(18px) saturate(.7); transition: visibility 280ms, opacity 220ms ease; }
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu-backdrop { border: 0; background: rgba(0,0,0,.2); cursor: default; }
.mobile-menu-panel { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 10px; padding: 112px 28px 34px; background: rgba(13,14,14,.84); box-shadow: -20px 0 70px rgba(0,0,0,.32); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transform: translateX(100%); transition: transform 280ms cubic-bezier(.22,1,.36,1); }
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel button { min-height: 54px; border: 0; padding: 4px 0; background: transparent; text-align: left; font-family: "Instrument Serif", serif; font-size: clamp(38px, 11vw, 48px); line-height: 1; cursor: pointer; }
.mobile-menu-panel button[data-scroll-target="access"] { align-self: stretch; display: grid; min-height: 58px; place-items: center; margin-top: 12px; padding: 9px 16px 11px; border-radius: 8px; color: var(--ink); background: var(--paper); font-size: clamp(30px, 8.5vw, 38px); font-weight: 400; text-align: center; }
.mobile-menu-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: auto; padding-bottom: 54px; text-align: center; }
.mobile-menu-links button, .mobile-menu-links a { min-height: 0; padding: 0; color: rgba(255,255,255,.66); font-family: "Instrument Serif", serif; font-size: 17px; line-height: 1.2; text-decoration: none; }
.mobile-menu-links .mobile-x-link { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: grid; width: 44px; height: 44px; place-items: center; margin: 0; color: var(--paper); transform: translateX(-50%); }
.mobile-x-link .x-logo { display: block; width: 21px; height: 21px; }
.info-dialog { width: min(760px, calc(100vw - 36px)); max-height: min(82svh, 900px); padding: 48px; overflow: auto; border: 1px solid #61615e; border-radius: var(--radius-lg); color: var(--paper); background: var(--dark); }
.info-dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog-close { position: absolute; top: 16px; right: 16px; display: inline-grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 6px; color: #aaa9a4; background: transparent; cursor: pointer; transition: color 140ms ease, background 140ms ease; }
.dialog-close:hover { color: var(--paper); background: rgba(255,255,255,.08); }
.dialog-close:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.info-dialog h2 { margin: 0 0 22px; padding-right: 36px; font-family: "Instrument Serif", serif; font-size: 54px; font-weight: 400; }
.info-dialog p { color: #c2c1bd; line-height: 1.6; }
.legal-copy { font-size: 14px; }
.legal-copy p { margin: 0 0 16px; }
.legal-copy .legal-date { margin-top: -12px; color: var(--muted); font-size: 12px; }
.legal-copy h3 { margin: 24px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.legal-copy a { color: var(--paper); text-underline-offset: 4px; }
.legal-table-wrap { margin: 16px 0 24px; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; color: #c2c1bd; text-align: left; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid #4d4d4a; vertical-align: top; }
.legal-table th { color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cookie-consent { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: min(470px, calc(100vw - 48px)); padding: 24px; border: 1px solid #656560; border-radius: 10px; color: var(--paper); background: #242525; box-shadow: 0 18px 70px rgba(0,0,0,.38); }
.cookie-consent[hidden] { display: none; }
.cookie-consent span { color: var(--muted); font-size: 10px; letter-spacing: .13em; }
.cookie-consent h2 { margin: 10px 0 8px; font-family: "Instrument Serif", serif; font-size: 34px; font-weight: 400; }
.cookie-consent p { margin: 0; color: #c2c1bd; font-size: 13px; line-height: 1.5; }
.cookie-consent-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.cookie-consent-actions button { min-width: 76px; border: 1px solid #656560; border-radius: 6px; padding: 9px 16px; color: var(--paper); background: transparent; cursor: pointer; }
.cookie-consent-actions button.is-primary { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.cookie-settings-button { min-height: 42px; margin-top: 8px; border: 1px solid #656560; border-radius: 6px; padding: 9px 14px; color: var(--paper); background: transparent; cursor: pointer; }
.home-toast { position: fixed; left: 50%; bottom: 92px; z-index: 50; padding: 10px 14px; border-radius: var(--radius-md); transform: translate(-50%, 14px); opacity: 0; color: var(--ink); background: var(--yellow); font-size: 12px; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.home-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .site-header { height: 76px; padding-inline: 20px; }
  body.menu-open .site-header { z-index: 70; }
  body.menu-open .wordmark { opacity: 0; pointer-events: none; }
  .site-header nav { display: none; }
  .wordmark { display: block; max-width: calc(100vw - 88px); overflow: hidden; font-size: clamp(20px, 5.4vw, 23px); line-height: 1.1; text-overflow: clip; white-space: nowrap; transition: font-size 180ms ease; }
  .site-header.is-condensed .wordmark { font-size: 27px; }
  .menu-button { position: relative; display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 0; border-radius: 8px; color: var(--paper); background: transparent; }
  .site-header.on-hero .menu-button { color: var(--ink); background: transparent; }
  body.menu-open .site-header .menu-button[aria-expanded="true"] { color: var(--paper); background: rgba(255,255,255,.06); }
  .home-section { min-height: 100svh; padding: 88px 20px 72px; }
  .home-section h2 { font-size: clamp(46px, 12.5vw, 68px); line-height: .94; }
  .hero-scroll-stage { height: 100svh; }
  .hero-section { padding-top: max(118px, 14svh); }
  .hero-reality-image, .hero-reality-canvas { object-position: center center; }
  .hero-section h1 { max-width: 7em; padding-inline: 12px; font-size: clamp(54px, 15vw, 82px); }
  .hero-credit { right: 20px; bottom: 38px; }
  .api-section { display: block; }
  .editorial-video { width: 100%; margin-inline: auto; border-radius: 12px; }
  .video-selector { bottom: 12px; gap: 6px; max-width: calc(100% - 20px); }
  .video-selector button { min-height: 44px; padding: 9px clamp(13px, 4vw, 20px); font-size: 13px; backdrop-filter: blur(10px); }
  .api-copy h2 { margin-bottom: 28px; }
  .api-body { margin-bottom: 42px; }
  .api-body p { font-size: clamp(18px, 5vw, 22px); line-height: 1.4; }
  .values-section { align-items: flex-start; }
  .founder-note { width: 100%; }
  .founder-note > p { font-size: 17px; line-height: 1.52; }
  .values-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 38px; }
  .value-card { min-height: 156px; padding: 20px; border-radius: 12px; }
  .value-card h3 { font-size: 40px; }
  .value-card p { max-width: 34ch; font-size: 15px; line-height: 1.42; }
  .signature { margin-top: 34px; }
  .section-heading { margin-bottom: 28px; }
  .opportunity-grid { grid-template-columns: 1fr; gap: 12px; }
  .opportunity-card { min-height: 186px; padding: 20px; border-radius: 12px; }
  .opportunity-card > summary { min-height: 146px; }
  .card-title { font-size: 34px; }
  .card-body small { font-size: 17px; }
  .card-detail { font-size: 16px; }
  .card-email-input { font-size: 16px; }
  .opportunity-card[open] > summary { min-height: auto; }
  .values-section, .api-section, .join-section { min-height: auto; padding: 96px 20px; }
  .join-section { justify-content: flex-start; height: auto; }
  .access-section { min-height: 100svh; overflow: visible; padding: 108px 20px 32px; }
  .access-wrap { width: 100%; }
  .access-wrap form { margin-top: 58px; }
  .email-row input { height: 64px; font-size: 21px; }
  .access-footer { position: static; display: flex; width: 100%; flex-direction: column; margin-top: 72px; }
  .access-footer-left { display: none; }
  .access-footer button, .access-footer .x-handle { font-size: 14px; }
  .access-footer > .x-handle { display: grid; width: 44px; height: 44px; place-items: center; align-self: center; }
  .x-handle span { display: none; }
  .x-handle .x-logo { display: block; width: 21px; height: 21px; }
  .email-row { grid-template-columns: 1fr 48px; }
  .info-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
}

@media (max-width: 560px) {
  .home-section h2 { text-wrap: balance; }
  .hero-section h1 { font-size: clamp(52px, 16vw, 72px); }
  .editorial-video { aspect-ratio: 4 / 3; }
  .editorial-video iframe { left: 50%; width: 178%; transform: translateX(-50%); }
  .video-selector { width: calc(100% - 20px); }
  .video-selector button { flex: 1; padding-inline: 8px; }
  .general-inquiries { font-size: 13px; line-height: 1.6; }
  .info-dialog { padding: 48px 20px 26px; border-radius: 10px; }
  .info-dialog h2 { font-size: 42px; }
  .legal-copy { font-size: 13px; }
  .cookie-consent { right: 0; bottom: 0; width: 100%; padding: 22px 20px max(20px, env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 12px 12px 0 0; }
  .cookie-consent-actions button { min-height: 44px; flex: 1; }
  .access-footer { align-items: center; gap: 18px; }
  .access-footer-links { flex-wrap: wrap; row-gap: 8px; }
  .home-toast { bottom: max(24px, env(safe-area-inset-bottom)); width: calc(100vw - 40px); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  body::after { display: none; }
}
