:root {
  --cream: #F5EAD8;
  --cream-soft: #EBDDC5;
  --ink: #201E1D;
  --ink-soft: rgba(32, 30, 29, .68);
  --olive: #56633F;
  --olive-deep: #3D472B;
  --card: #F9F4ED;

  --terracotta: #C67139;
  --terracotta-hover: #B2622D;
  --terracotta-press: #8C491A;
  --terracotta-tint: #FFE1D0;
  --terracotta-ink: #FFF2EB;
  --sage-tint: #E1EECC;

  /* flat elevation — the poster has no glossy depth */
  --sh-1: 0 1px 2px rgba(46, 43, 37, .14);
  --sh-2: 0 3px 10px rgba(46, 43, 37, .16);
  --sh-3: 0 12px 32px rgba(46, 43, 37, .22);

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "kern" 1, "liga" 1; }
a { color: var(--terracotta-press); text-decoration: none; }
a:hover { color: #643312; }
::selection { background: rgba(198, 113, 57, .30); color: var(--ink); }
option { color: var(--ink); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }
h1 { letter-spacing: -.028em; line-height: 1.04; }
h2 { letter-spacing: -.022em; line-height: 1.1; }
h3 { letter-spacing: -.012em; line-height: 1.18; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 48px); }
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 15px 30px; font-family: var(--font-body); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease; }
.btn:active { transform: translateY(0); }
.btn-olive { background: var(--terracotta); color: var(--terracotta-ink); box-shadow: var(--sh-2); }
.btn-olive:hover { transform: translateY(-2px); color: var(--terracotta-ink); background: var(--terracotta-hover); box-shadow: var(--sh-3); }
.btn-olive:active { transform: translateY(0); background: var(--terracotta-press); box-shadow: var(--sh-1); }
.btn-ghost { background: transparent; border: 1.5px solid color-mix(in srgb, var(--olive) 55%, transparent); color: var(--olive); box-shadow: none; }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--olive); color: var(--olive-deep); background: var(--sage-tint); }
.topnav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(32, 30, 29, .09); box-shadow: none; padding: 12px 0; }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.navlinks { display: flex; align-items: center; gap: 6px; }
@media (max-width: 719px) {
  .navlinks { order: 3; width: 100%; justify-content: center; gap: 2px; padding-top: 2px; overflow-x: auto; scrollbar-width: none; }
  .navlinks .navlink { font-size: 13.5px; padding: 6px 9px; white-space: nowrap; }
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-press); margin-bottom: 14px; }
section { padding: clamp(64px, 9vw, 110px) 0; }
/* Anchor targets land below the sticky nav — --nav-h is set from the real nav height in app.js */
section[id] { scroll-margin-top: calc(var(--nav-h, 68px) + 10px); }
.fs { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: var(--card); border: 0; border-radius: 28px; padding: 26px; transition: transform .22s cubic-bezier(.2, .8, .3, 1), box-shadow .22s ease; box-shadow: var(--sh-2); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.step-tile { position: relative; width: 68px; height: 68px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--olive); color: var(--card); border: 0; box-shadow: var(--sh-2); }
.step-badge { position: absolute; top: -7px; right: -9px; font-family: var(--font-heading); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; background: var(--terracotta); color: var(--terracotta-ink); border-radius: 999px; padding: 3px 9px; line-height: 1.5; box-shadow: 0 0 0 3px var(--cream); }
.small-tile { width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--olive); color: var(--card); border: 0; box-shadow: none; }
.accent-tile { width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--terracotta) 22%, transparent); color: #FFC6A5; border: 0; box-shadow: none; }
.darkcard { position: relative; background: rgba(249, 244, 237, .07); border: 1px solid rgba(249, 244, 237, .14); border-radius: 28px; padding: 26px; transition: transform .22s cubic-bezier(.2, .8, .3, 1), border-color .22s ease, background .22s ease; box-shadow: none; }
.darkcard:hover { transform: translateY(-3px); border-color: rgba(246, 160, 107, .45); background: rgba(249, 244, 237, .10); }
.darknum { position: absolute; top: 18px; right: 20px; font-family: var(--font-heading); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: rgba(249, 244, 237, .34); }
.check-badge { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; background: var(--olive); color: var(--card); flex-shrink: 0; box-shadow: none; }
.fade-in { animation: fadeUp .7s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.input { width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(32, 30, 29, .18); background: var(--cream); color: var(--ink); font: inherit; font-size: 15px; outline: none; box-shadow: none; transition: border-color .18s ease, box-shadow .18s ease; }
.input::placeholder { color: rgba(32, 30, 29, .42); }
.input:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--terracotta-tint); }
select.input { padding: 0 44px 0 18px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1.5 1.5 7 7l5.5-5.5' stroke='%23c67139' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; }
select.input:invalid { color: rgba(32, 30, 29, .42); }
select.input option { color: var(--ink); background: var(--cream); }
.flabel { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(32, 30, 29, .62); margin-bottom: 7px; }
.flabel .opt { text-transform: none; letter-spacing: 0; font-weight: 600; color: rgba(32, 30, 29, .40); }
.formcard { background: var(--card); border: 0; border-radius: 28px; padding: 32px; box-shadow: var(--sh-3); }
.err-box { display: none; color: #643312; font-size: 14px; margin: 0; padding: 11px 16px; border-radius: 999px; background: var(--terracotta-tint); border: 0; }
.waitlist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(44px, 6vw, 64px); align-items: center; width: 100%; }
.step-arrow { display: none; }
.steps-row { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; text-align: center; }
@media (min-width: 1000px) {
  .step-arrow { display: block; flex-shrink: 0; color: rgba(32, 30, 29, .30); }
  .steps-row { flex-wrap: nowrap; gap: 10px; }
  .steps-row > div:not(.step-arrow) { min-width: 0 !important; }
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.navlink { font-weight: 600; font-size: 15px; color: var(--ink-soft); text-decoration: none; padding: 7px 12px; border-radius: 999px; transition: color .18s ease, background .18s ease; }
.navlink:hover { color: var(--terracotta-press); background: var(--terracotta-tint); }
details.faq { background: transparent; border-bottom: 1px dashed rgba(32, 30, 29, .26); padding: 0 4px; max-width: 100%; }
details.faq:first-of-type { border-top: 1px dashed rgba(32, 30, 29, .26); }
details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 0; font-weight: 600; font-size: 17px; line-height: 1.4; transition: color .18s ease; }
details.faq summary:hover { color: var(--terracotta-press); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; font-family: var(--font-body); font-weight: 600; font-size: 19px; line-height: 1; color: var(--terracotta-press); background: var(--terracotta-tint); box-shadow: none; transition: transform .35s cubic-bezier(.2,.8,.3,1), background .25s ease, color .25s ease; }
details.faq.is-open summary::after { transform: rotate(135deg); color: var(--terracotta-ink); background: var(--terracotta); box-shadow: none; }
details.faq .faq-body { overflow: hidden; transition: height .35s cubic-bezier(.2,.8,.3,1); }
details.faq p { padding: 0 0 18px; font-size: 15px; color: var(--ink-soft); max-width: 50ch; text-wrap: pretty; }
/* — the location ribbon (replaces the eyebrow in the waitlist section) — */
.ribbon { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--card); background: var(--olive-deep); padding: 8px 18px; border-radius: 999px; margin-bottom: 18px; }
/* — hero divider — */
.sprig { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto 0; width: min(340px, 70%); }
.sprig span { flex: 1; height: 1px; background: rgba(32, 30, 29, .16); }

/* ===== OUR STORY PAGE ===== */
.navlink.is-current { color: var(--terracotta-press); background: var(--terracotta-tint); }
/* Draft copy that still needs the founders' real details. Remove class="fill" once replaced. */
.fill { background: var(--terracotta-tint); box-shadow: inset 0 -1.5px 0 var(--terracotta); border-radius: 3px; padding: 0 2px; }
.letter { max-width: 680px; margin: 0 auto; background: var(--card); border-radius: 28px; padding: clamp(28px, 6vw, 60px); box-shadow: var(--sh-2); }
.letter p { font-size: clamp(16.5px, 1.8vw, 18px); line-height: 1.75; color: var(--ink); text-wrap: pretty; }
.letter p + p { margin-top: 20px; }
.letter .pull, .story .pull { font-family: var(--font-heading); font-weight: 500; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; letter-spacing: -.01em; }
.signoff { margin-top: 34px; padding-top: 24px; border-top: 1px dashed rgba(32, 30, 29, .26); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.signoff .sig { font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: -.01em; }
.founders { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 460px)); justify-content: center; margin-top: 44px; }
.founder { display: flex; flex-direction: column; gap: 22px; padding: 16px 16px 26px; }
.founder > div:last-child { padding: 0 10px; }
.photo { width: 100%; height: 428px; border-radius: 20px; overflow: hidden; background: var(--olive); color: var(--card); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 600; font-size: 72px; letter-spacing: -.02em; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.founder .role { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-press); margin-top: 4px; }
.founder .bio { font-size: 15px; color: var(--ink-soft); margin-top: 12px; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--sage-tint); color: var(--olive-deep); }
.aside { margin-top: 14px; font-size: 14.5px; font-style: italic; color: var(--ink); border-left: 2px solid var(--terracotta); padding-left: 12px; }
.story { margin-top: 22px; padding-top: 22px; border-top: 1px dashed rgba(32, 30, 29, .26); }
.story p { font-size: 15.5px; line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.story p + p { margin-top: 14px; }
.story .pull { font-size: 19px; line-height: 1.4; }
