:root {
  --bg: #f3eee6;
  --bg-warm: #ebe4d6;
  --paper: #faf7f1;
  --ink: #14110e;
  --ink-soft: #3a352f;
  --muted: #6d665d;
  --line: rgba(20, 17, 14, 0.12);
  --line-strong: rgba(20, 17, 14, 0.22);
  --night: #0a0908;
  --night-2: #14110e;
  --bronze: #8b6f3e;
  --bronze-soft: #c4a574;
  --white: #fffcf7;
  --ok-bg: #e7f1ea;
  --ok-line: #b7d0c2;
  --ok-ink: #1f4a3a;
  --err: #8a1f1f;
  --sans: "Figtree", system-ui, sans-serif;
  --serif: "Newsreader", "Times New Roman", serif;
  --shadow: 0 28px 80px rgba(10, 9, 8, 0.22);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 128px; }

html, body { margin: 0; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.02rem;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--night);
  color: var(--white);
  padding: 8px 12px;
  z-index: 80;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap-narrow { width: min(720px, calc(100% - 40px)); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 252, 247, 0.08);
}

.page-story .site-nav,
.page-investors .site-nav {
  background: rgba(10, 9, 8, 0.88);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--white);
}

.brand img { width: 36px; height: 36px; }

.brand strong {
  display: block;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 0.98rem;
}

.brand small {
  display: block;
  color: var(--bronze-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 252, 247, 0.16);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  position: absolute;
  left: 12px;
}

.nav-toggle-bar { top: 21px; }

.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; }

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 252, 247, 0.68);
}

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

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 12px 18px;
  border-radius: var(--radius);
  line-height: 1.2;
}

.nav-cta {
  background: var(--white);
  color: var(--night);
  white-space: nowrap;
}

.btn-light { background: var(--white); color: var(--night); }
.btn-dark { background: var(--night); color: var(--white); }
.btn-ghost,
.btn-line {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 252, 247, 0.28);
}

.section .btn-line,
.band-paper .btn-line,
.page-hero + .section .btn-line {
  color: var(--ink);
  border-color: var(--line-strong);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.story-rail {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 252, 247, 0.06);
}

.story-rail-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.story-rail-inner::-webkit-scrollbar { display: none; }

.story-rail a {
  flex: 0 0 auto;
  text-decoration: none;
  color: rgba(255, 252, 247, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid transparent;
}

.story-rail a span {
  color: var(--bronze-soft);
  margin-right: 6px;
}

.story-rail a:hover {
  color: var(--white);
  border-color: rgba(255, 252, 247, 0.12);
}

.story-hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196, 165, 116, 0.16), transparent 55%),
    var(--night);
  color: var(--white);
  padding: 96px 0 108px;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
}

.hero-kicker,
.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin: 0 0 18px;
}

.section .kicker { color: var(--bronze); }

.band-night .kicker { color: var(--bronze-soft); }

.story-hero h1,
.page-hero h1,
.inv-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 14em;
  margin: 0 0 22px;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 38rem;
  color: rgba(255, 252, 247, 0.72);
  margin: 0;
}

.section .lead { color: var(--ink-soft); }

.sub {
  margin: 28px 0 0;
  color: rgba(255, 252, 247, 0.46);
  font-size: 0.92rem;
}

.section { padding: 88px 0; }

.band-paper { background: var(--paper); }

.band-night {
  background: var(--night);
  color: var(--white);
}

.section-head { max-width: 40rem; margin-bottom: 40px; }

.section-head h2,
.section h2,
.page-hero + .section h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.section-head p { color: var(--muted); margin: 0; }

.intro-line {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
}

.story-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.prose { max-width: 40rem; }
.prose p { color: var(--ink-soft); }
.prose ul { padding-left: 1.15rem; color: var(--ink-soft); }

.company-grid,
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.category-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.company-card,
.category-card,
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px 24px;
}

.company-card h2,
.company-card h3,
.category-card h3,
.partner-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 8px 0 10px;
  font-size: 1.7rem;
}

.company-card p,
.category-card p,
.partner-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.card-links { display: flex; flex-wrap: wrap; gap: 14px; }

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.flow li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 16px;
  min-height: 160px;
}

.flow b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}

.flow span { font-size: 0.92rem; color: var(--ink-soft); }

.flow-note {
  margin-top: 22px;
  color: var(--muted);
  max-width: 40rem;
}

.approach-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 28px 8px 8px;
}

.approach-card em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}

.scale-list,
.direction-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scale-list li,
.direction-list li {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 252, 247, 0.1);
  color: rgba(255, 252, 247, 0.78);
  font-size: 1.12rem;
}

.direction-list li {
  border-top-color: var(--line);
  color: var(--ink-soft);
}

.vision-quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  max-width: 16em;
  margin: 0;
}

.page-hero {
  background: var(--night);
  color: var(--white);
  padding: 88px 0 56px;
}

.page-hero p { color: rgba(255, 252, 247, 0.64); max-width: 38rem; }

.page-hero .muted { color: rgba(255, 252, 247, 0.64); }

.page-hero a { color: inherit; }

.need { background: transparent; }

.home-need {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.need-card {
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.86rem;
}

.need-card.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}

textarea { min-height: 120px; resize: vertical; }

.ok {
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
  color: var(--ok-ink);
  padding: 14px 16px;
  font-weight: 600;
}

.err { color: var(--err); font-size: 0.9rem; font-weight: 700; }

.muted { color: var(--muted); }

.contact-line { margin: 28px 0 0; }

.cta-final {
  background: var(--night);
  color: var(--white);
  text-align: left;
}

.cta-final p {
  color: rgba(255, 252, 247, 0.62);
  max-width: 34rem;
}

.foot {
  background: var(--night-2);
  color: rgba(255, 252, 247, 0.62);
  padding: 64px 0 36px;
  font-size: 0.92rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 36px;
}

.foot-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 0 8px;
}

.foot-tag {
  color: var(--bronze-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.foot-copy { margin: 0; max-width: 28rem; }

.foot-label {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li { margin-bottom: 8px; }

.foot a {
  text-decoration: none;
  color: rgba(255, 252, 247, 0.68);
}

.foot a:hover { color: var(--white); }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 252, 247, 0.08);
  font-size: 0.82rem;
}

.hp { position: absolute; left: -9999px; }

.page-investors { background: var(--bg); }

.inv-hero {
  background: var(--night);
  color: var(--white);
  padding: 96px 0 88px;
}

.inv-hero h1 { max-width: 13em; margin-bottom: 22px; }

.inv-lead {
  font-size: 1.18rem;
  color: rgba(255, 252, 247, 0.7);
  max-width: 36rem;
  margin: 0;
  line-height: 1.55;
}

.inv-quiet {
  margin: 36px 0 0;
  color: rgba(255, 252, 247, 0.46);
  font-size: 0.95rem;
}

.inv-section .wrap-narrow p,
.inv-talk p { color: var(--ink-soft); font-size: 1.08rem; }

.inv-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.inv-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
}

.inv-card-label {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

.inv-card h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 12px; font-weight: 500; }

.inv-card p { color: var(--muted); margin: 0 0 22px; }

.inv-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.inv-why article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.inv-why h3 { font-size: 1.35rem; margin-bottom: 10px; }

.inv-why p { color: var(--muted); margin: 0; }

.inv-approach {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.inv-talk {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.inv-form { margin-top: 28px; }

.gs-aeo {
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--bg-warm);
}

.gs-aeo > .wrap > .kicker { margin-bottom: 10px; }

.gs-aeo h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 28px;
}

.gs-aeo-faq > h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--bronze);
}

.gs-aeo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gs-aeo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 20px 18px;
}

.gs-aeo-card h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.gs-aeo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 68px; }
  .nav-toggle { display: inline-block; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 252, 247, 0.08);
    padding: 12px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .nav-panel.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 14px; }
  .nav-cta { width: 100%; }
  .story-rail { top: 76px; }
  .story-split,
  .company-grid,
  .approach-grid,
  .inv-cards,
  .inv-why,
  .form,
  .gs-aeo-grid { grid-template-columns: 1fr; }
  .category-grid,
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .story-hero { min-height: 0; padding: 72px 0 80px; }
}

@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .section { padding: 56px 0; }
  .page-hero { padding: 56px 0 36px; }
  .inv-hero { padding: 56px 0 52px; }
  .inv-approach { margin-top: 36px; padding-top: 28px; }
  .category-grid,
  .partner-grid,
  .flow,
  .foot-grid { grid-template-columns: 1fr; }
  .nav-inner { min-height: 68px; }
  .nav-panel { top: 68px; }
  .story-rail { top: 68px; }
}
