/* Vitambi Foundation — editorial nature-retreat styling */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&display=swap');

:root {
  --forest-900: #0e1a33;      /* near-black with navy undertone */
  --forest-800: #1b2a4a;      /* logo navy */
  --forest-700: #253a61;
  --forest-600: #304c7a;      /* deep navy accent */
  --forest-500: #425e94;
  --forest-300: #8594b4;
  --forest-100: #d6dde7;

  --cream: #f5efe4;           /* warm off-white bg */
  --cream-soft: #efe7d7;
  --paper: #faf6ee;           /* lighter page bg */
  --ink: #1f1e1a;             /* charcoal text */
  --ink-soft: #4a4842;
  --ink-muted: #7d7a70;

  --terra-700: #8a3d1f;
  --terra-600: #b25434;       /* warm terracotta accent */
  --terra-500: #c96842;
  --terra-300: #e19675;

  --gold: #c99b3a;
  --dusk: #5a4a6b;

  --rule: rgba(31, 30, 26, 0.14);
  --rule-soft: rgba(31, 30, 26, 0.08);

  --serif: 'Lora', 'Iowan Old Style', 'Georgia', serif;
  --serif-display: 'Instrument Serif', 'Lora', Georgia, serif;
  --sans: 'Geist', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* ————— utility type ————— */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--terra-500); margin-right: 8px; vertical-align: 2px;
}

.display {
  font-family: var(--serif-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-feature-settings: 'liga', 'ss01';
}

.serif-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.rule {
  display: block; width: 36px; height: 1px; background: var(--terra-500);
  margin: 18px 0;
}

/* ————— app frame ————— */
.app {
  min-height: 100vh;
  background: var(--paper);
  overflow-x: hidden;
}

/* ————— NAV ————— */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  transition: background 320ms ease, backdrop-filter 320ms ease, padding 320ms ease, border 320ms ease;
}
.nav.is-overlay { color: #f5efe4; }
.nav.is-scrolled {
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--rule-soft);
  padding: 12px 20px;
  color: var(--ink);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; /* allow flex-shrink if button crowds it */
}
.nav-brand .mark {
  width: clamp(40px, 10vw, 52px);
  height: clamp(40px, 10vw, 52px);
  flex: none;
  border-radius: 50%;
}
.nav-brand .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 5.5vw, 26px);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
/* Very narrow screens (legacy iPhone SE etc) — downsize further */
@media (max-width: 360px) {
  .nav-brand .name { font-size: 17px; }
  .nav-brand .mark { width: 36px; height: 36px; }
  .nav-brand { gap: 10px; }
}
.nav-brand .name em { font-style: normal; opacity: 0.6; font-weight: 400; }

.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  flex-shrink: 0; /* button never shrinks — brand ellipses first if tight */
  border: 1px solid var(--ink);
  transition: transform 200ms ease, background 200ms ease;
}
.nav.is-overlay .nav-cta {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.nav-cta:hover { transform: translateY(-1px); }

/* Mobile: hide Join button while hero is visible — the hero already has primary CTAs */
@media (max-width: 819px) {
  .nav.is-overlay .nav-cta { display: none; }
}

/* ————— HERO ————— */
.hero {
  position: relative;
  /* dvh adjusts as the mobile URL bar shows/hides — prevents bottom content
     being clipped on first load when the URL bar is visible */
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 88px 22px 32px;
  color: #f6efdd;
  overflow: hidden;
  background-color: #0a0a0c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.95) 100%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0,0,0,0.55) 0%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-scrim::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0,0,0,0.55) 0%, transparent 70%);
}
.hero h1 {
  text-shadow: 0 2px 40px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
}
.hero-sub, .hero-loc, .hero-meta {
  text-shadow: 0 1px 20px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.6);
}
.hero-loc {
  position: absolute; top: 92px; left: 22px; right: 22px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.85;
}
.hero-loc .tick { width: 22px; height: 1px; background: currentColor; opacity: 0.6; }

.hero h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(52px, 14vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: #f3c9ad; }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(17px, 4.6vw, 20px);
  line-height: 1.5;
  max-width: 34ch;
  margin: 0 0 22px;
  color: rgba(246, 239, 221, 0.9);
}
.hero-ctas { display: flex; flex-direction: column-reverse; gap: 10px; align-items: flex-start; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 2px 18px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.btn-primary .arrow { transition: transform 200ms ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(246, 239, 221, 0.9);
  border-bottom: 1px solid rgba(246, 239, 221, 0.4);
  padding-bottom: 6px;
  border-radius: 0;
}
.btn-ghost:hover { color: #fff; border-color: #fff; }

.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 239, 221, 0.3);
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.85;
}
.hero-meta .big {
  font-family: var(--serif-display);
  font-size: clamp(34px, 9vw, 44px);
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
  color: #f6efdd;
}
.hero-meta span { display: block; }
.hero-meta .meta-ext { display: none; }

.scroll-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.7;
}
.scroll-hint .line {
  width: 1px; height: 28px; background: currentColor;
  animation: scrollPulse 2.2s ease infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

/* ————— sections ————— */
.section {
  padding: 80px 22px;
  position: relative;
}
.section-head { margin-bottom: 32px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(36px, 9vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.section-head h2 em { color: var(--terra-600); font-style: italic; }

/* Story */
.section.story { padding-top: 0; }
.story-photo {
  position: relative;
  margin: 0 -22px 40px;
}
.story-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.story-photo .caption {
  position: absolute; bottom: 16px; left: 22px; right: 22px;
  color: #fff;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.story-photo .caption .tick { width: 20px; height: 1px; background: currentColor; }

.story-body p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.story-body p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 64px;
  line-height: 0.85;
  float: left;
  padding: 4px 10px 0 0;
  color: var(--forest-600);
  font-weight: 400;
}
.pullquote {
  margin: 36px 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--terra-500);
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.2;
  color: var(--forest-700);
  letter-spacing: -0.01em;
}

/* Mission/Vision */
.mission {
  background: linear-gradient(180deg, #eadfc9 0%, #e4d6b9 100%);
  color: var(--forest-900);
  padding-top: 90px; padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(178, 84, 52, 0.08), transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(48, 76, 122, 0.1), transparent 45%);
  pointer-events: none;
}
.mission-frame {
  position: relative; z-index: 1;
  border: 1px solid rgba(31, 30, 26, 0.18);
  padding: 28px 22px;
  border-radius: 2px;
}
.mission-frame .label {
  position: absolute; top: -9px; left: 22px;
  background: #e8dcc2; padding: 0 10px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--forest-600);
}
.mission-frame p {
  font-family: var(--serif-display);
  font-size: clamp(22px, 5.4vw, 32px);
  line-height: 1.24;
  margin: 0;
  color: var(--forest-800);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.mission-frame p em { color: var(--terra-700); font-style: italic; }

.mission-commitments {
  position: relative; z-index: 1;
  margin: 32px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--forest-700);
  text-wrap: balance;
}

.vision-text {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  color: var(--forest-800);
}
.vision-text p { margin: 0 0 16px; }
.vision-text p:first-child::first-letter {
  font-family: var(--serif-display);
  font-size: 56px; line-height: 0.85;
  float: left; padding: 4px 10px 0 0;
  color: var(--terra-700);
}

/* Pillars */
.pillars { background: var(--forest-900); color: #e8ebe0; padding-top: 90px; padding-bottom: 90px; }
.pillars .eyebrow { color: rgba(232, 235, 224, 0.55); }
.pillars .eyebrow .dot { background: var(--terra-500); }
.pillars .section-head h2 { color: #f3f0e3; }
.pillars .section-head h2 em { color: #e19675; }
.pillar-intro {
  font-family: var(--serif);
  font-size: 16px; line-height: 1.65;
  color: rgba(232, 235, 224, 0.72);
  margin: 0 0 40px;
  max-width: 38ch;
}
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(232, 235, 224, 0.12);
}
.pillar {
  padding: 28px 0;
  border-bottom: 1px solid rgba(232, 235, 224, 0.12);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}
.pillar .glyph {
  width: 44px; height: 44px; border: 1px solid rgba(232, 235, 224, 0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #e19675;
}
.pillar-content { min-width: 0; }
.pillar .num {
  font-family: var(--serif-display);
  font-size: 11px; letter-spacing: 0.12em;
  color: rgba(232, 235, 224, 0.45);
  margin-bottom: 6px;
  display: block;
}
.pillar h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.08;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  color: #f3f0e3;
}
.pillar p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(232, 235, 224, 0.72);
  margin: 0;
}

/* Values */
.values { padding-top: 90px; padding-bottom: 90px; }
.values .section-head h2 em { color: var(--forest-600); }
.values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}
.value-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 300ms ease, background 300ms ease;
}
.value-row .idx {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  padding-top: 8px;
}
.value-row .content h3 {
  font-family: var(--serif-display);
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
  line-height: 1;
}
.value-row .content p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height 400ms ease, margin 400ms ease;
}
.value-row.open .content p { max-height: 240px; margin: 10px 0 4px; }
.value-row:hover { padding-left: 6px; }

/* Who We Serve */
.serve {
  position: relative;
  padding: 0;
  color: #f3efe2;
  isolation: isolate;
}
.serve-img {
  position: relative;
  aspect-ratio: 4/5;
}
.serve-img img { width: 100%; height: 100%; object-fit: cover; }
.serve-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
}
.serve-body {
  background: var(--forest-800);
  color: #f3efe2;
  padding: 60px 22px 80px;
}
.serve-body .eyebrow { color: rgba(243, 239, 226, 0.6); }
.serve-body h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.serve-body h2 em { color: #e19675; font-style: italic; }
.serve-body p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.68;
  color: rgba(243, 239, 226, 0.78);
  margin: 0 0 14px;
}

/* Founders Circle */
.founders {
  background: var(--paper);
  padding-top: 90px; padding-bottom: 90px;
}
.founders .section-head h2 em { color: var(--terra-600); }
.founders-lede {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.founders-note {
  font-family: var(--sans);
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  margin: 24px 0 0;
  padding: 20px 22px;
  background: var(--cream-soft);
  border: 1px solid var(--terra-500);
  line-height: 1.6;
}

/* Form */
.form {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.form-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.form-section:last-of-type { border-bottom: 0; }
.form-section-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 22px;
}
.form-section-head .num {
  font-family: var(--serif-display);
  font-size: 32px;
  color: var(--terra-600);
  font-style: italic;
  line-height: 1;
}
.form-section-head h3 {
  font-family: var(--serif-display);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  line-height: 1;
}
.form-section-head p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 6px 0 0;
  line-height: 1.45;
}
.field {
  display: flex; flex-direction: column;
  margin-bottom: 22px;
}
.field label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.field label .req { color: var(--terra-600); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--serif);
  font-size: 18px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-soft);
  background: transparent;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 200ms ease, padding 200ms ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--terra-600);
  padding-bottom: 11px;
}
.field textarea { resize: vertical; min-height: 120px; font-size: 16px; line-height: 1.55; padding-top: 6px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4842' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; background-size: 12px; padding-right: 24px; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr; gap: 0; }

/* Narrow mobile: collapse paired fields so long placeholders (email) don't clip */
@media (max-width: 440px) {
  .row-2 { grid-template-columns: 1fr; gap: 0; }
}

/* Radio & Checkbox groups */
.choice-group {
  display: flex; flex-direction: column; gap: 10px;
}
.choice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  transition: border 200ms ease, background 200ms ease;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.choice:hover { border-color: var(--terra-500); background: rgba(201, 104, 66, 0.04); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .dot {
  width: 18px; height: 18px; border: 1.5px solid var(--ink-soft);
  flex: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: border-color 200ms ease;
}
.choice .dot::after {
  content: ''; width: 8px; height: 8px; background: var(--terra-600);
  border-radius: 50%; transform: scale(0); transition: transform 160ms ease;
}
.choice.square .dot { border-radius: 3px; }
.choice.square .dot::after { border-radius: 1px; width: 10px; height: 10px; }
.choice.checked { border-color: var(--terra-500); background: rgba(201, 104, 66, 0.06); color: var(--ink); }
.choice.checked .dot { border-color: var(--terra-600); }
.choice.checked .dot::after { transform: scale(1); }
.choice strong { font-weight: 500; color: var(--ink); display: block; margin-bottom: 2px; font-family: var(--serif); font-size: 17px; letter-spacing: -0.005em; line-height: 1.2; }
.choice span { font-family: var(--sans); font-size: 12px; color: var(--ink-muted); letter-spacing: 0.02em; line-height: 1.4; display: block; margin-top: 3px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--sans); font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 180ms ease;
  background: transparent;
}
.chip:hover { border-color: var(--terra-500); color: var(--ink); }
.chip.checked { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.submit-row {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 14px;
  align-items: stretch;
}
.btn-submit {
  width: 100%;
  padding: 20px 24px;
  background: var(--forest-800);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: all 200ms ease;
}
.btn-submit:hover { background: var(--forest-900); transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(14,26,51,0.5); }
.btn-submit .arrow { transition: transform 200ms ease; }
.btn-submit:hover .arrow { transform: translateX(4px); }
.submit-fine {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}
.submit-error {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--terra-700);
  text-align: center;
  margin: 0;
  padding: 10px 14px;
  background: rgba(178, 84, 52, 0.08);
  border: 1px solid rgba(178, 84, 52, 0.25);
  border-radius: 6px;
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit:disabled:hover { transform: none; box-shadow: none; background: var(--forest-800); }

/* Thank-you state */
.thanks {
  padding: 60px 22px;
  text-align: center;
  background: var(--forest-900);
  color: #f3efe2;
  border-radius: 2px;
  margin-top: 40px;
}
.thanks .seal {
  width: 64px; height: 64px;
  border: 1px solid rgba(243, 239, 226, 0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: #e19675;
}
.thanks h3 { font-family: var(--serif-display); font-size: 36px; margin: 0 0 12px; font-weight: 400; letter-spacing: -0.01em; }
.thanks p { font-family: var(--serif); font-size: 16px; line-height: 1.6; color: rgba(243, 239, 226, 0.75); margin: 0 auto; max-width: 36ch; }

/* Closing */
.closing {
  position: relative;
  min-height: 90svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 22px;
  color: #f6efdd;
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.closing::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.closing > * { position: relative; z-index: 1; }
.closing h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(44px, 11vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.closing h2 em { font-style: italic; color: #f3c9ad; }
.closing p {
  font-family: var(--serif);
  font-size: 16px;
  margin: 0 0 32px;
  color: rgba(246, 239, 221, 0.85);
}
.closing .signature {
  margin-top: 40px;
  font-family: var(--serif-display); font-style: italic;
  font-size: clamp(22px, 5.2vw, 28px);
  color: rgba(246, 239, 221, 0.85);
  letter-spacing: 0.01em;
}

/* Footer */
.footer {
  background: var(--forest-900);
  color: rgba(232, 235, 224, 0.75);
  padding: 60px 22px 30px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}
.footer a:hover { color: #f3c9ad; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(232, 235, 224, 0.14);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img {
  width: clamp(40px, 10vw, 52px);
  height: clamp(40px, 10vw, 52px);
  border-radius: 50%;
  flex: none;
}
.footer-brand .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 5vw, 26px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #f3f0e3;
}
.footer-brand .name em { font-style: normal; opacity: 0.6; font-weight: 400; }
.footer-brand-block p {
  font-family: var(--serif);
  font-size: 14px;
  color: rgba(232, 235, 224, 0.6);
  margin: 0;
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(232, 235, 224, 0.5);
  margin: 0 0 14px; font-weight: 500;
}
.footer-col p, .footer-col a {
  display: block;
  font-family: var(--serif); font-size: 15px;
  margin-bottom: 6px;
  color: rgba(232, 235, 224, 0.82);
}
.footer-bottom {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 24px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(232, 235, 224, 0.45);
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border: 1px solid rgba(232, 235, 224, 0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all 200ms ease;
}
.footer-socials a:hover { border-color: #e19675; color: #e19675; }

/* ————— rainbow moment (subtle, one place) ————— */
.rainbow-strip {
  height: 3px;
  background: linear-gradient(
    90deg,
    oklch(0.58 0.16 28) 0%,
    oklch(0.72 0.14 60) 20%,
    oklch(0.78 0.13 95) 40%,
    oklch(0.58 0.1 155) 60%,
    oklch(0.5 0.12 250) 80%,
    oklch(0.48 0.14 310) 100%
  );
  opacity: 0.8;
}

/* ————— Responsive: desktop ————— */
@media (min-width: 820px) {
  .nav { padding: 22px 40px; }
  .nav.is-scrolled { padding: 14px 40px; }
  /* clamp() on .nav-brand handles responsive scaling; no desktop override needed */

  .hero { padding: 140px 64px 56px; }
  .hero-loc { top: 120px; left: 64px; right: 64px; }
  .hero h1 { font-size: clamp(84px, 11vw, 168px); max-width: 14ch; }
  .hero-sub { max-width: 40ch; font-size: 20px; }
  .hero-ctas { flex-direction: row; align-items: center; gap: 20px; }
  .hero-meta .meta-ext { display: inline; }
  .hero-meta { padding-right: 4%; }

  .section { padding: 120px 64px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }

  .story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px; margin: 0 auto;
  }
  .section.story { padding-top: 120px; }
  .story-photo { margin: 0; position: sticky; top: 120px; }
  .story-photo img { aspect-ratio: 3/4; border-radius: 2px; }

  .mission { padding: 140px 64px; }
  .mission-inner { max-width: 960px; margin: 0 auto; }
  .mission-frame { padding: 48px 56px; }
  .mission-frame p { font-size: 34px; }
  .vision-text { font-size: 19px; columns: 2; column-gap: 48px; }
  .vision-text p { break-inside: avoid; }

  .pillars-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
    align-items: start;
  }
  .pillar-grid { grid-column: 2; }
  .pillar {
    grid-template-columns: 64px 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  .pillar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: start;
  }
  .pillar-content p { margin: 0; }
  .pillar .glyph { width: 56px; height: 56px; }
  .pillar h3 { font-size: 32px; }
  .pillar p { font-size: 16px; }

  .values-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
  .values-list { grid-column: 2; }
  .value-row { grid-template-columns: 64px 1fr; padding: 28px 0; }
  .value-row .content h3 { font-size: 40px; }
  .value-row .content p { font-size: 17px; }

  .serve { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
  .serve-img { aspect-ratio: auto; }
  .serve-body { padding: 100px 64px; display: flex; flex-direction: column; justify-content: center; }
  .serve-body h2 { font-size: 56px; }

  .founders-inner { max-width: 1100px; margin: 0 auto; }
  .founders-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 40px; }
  .row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .row-2 { gap: 24px; }

  .closing { padding: 160px 64px; }

  .footer { padding: 80px 64px 40px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 180px; }
}

