/* ============================================================
   LIFE BY DESIGN COLLECTIVE — global design system
   Dark amber/brown palette, zero border-radius, grain overlay,
   gradient separators. Shared across index.html + presentation.html.
   ============================================================ */

:root {
  --bg-dark: #0d0906;
  --bg-dark-deep: #120d08;
  --bg-dark-panel: #100c08;
  --bg-cream: #f4eadc;
  --bg-cream-warm: #ead8bd;
  --ink-dark: #f5ecdb;
  --ink-dark-soft: rgba(245, 236, 219, 0.72);
  --ink-light: #201509;
  --ink-light-soft: rgba(32, 21, 9, 0.68);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.22);
  --amber-line: rgba(251, 191, 36, 0.22);
  --gold-deep: #b8860b;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: 'Space Mono', 'SF Mono', monospace;
}

* { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--ink-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  position: relative;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: rgba(254, 243, 199, 0.25); color: #fef3c7; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* -------------------- grain overlay -------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
}

/* -------------------- radial-gradient bg helpers -------------------- */
.bg-radial-dark {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(184, 134, 11, 0.18), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(120, 72, 20, 0.16), transparent 45%);
}
.bg-radial-dark-deep {
  background-color: var(--bg-dark-deep);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(184, 134, 11, 0.14), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(120, 72, 20, 0.14), transparent 45%);
}
.bg-radial-panel {
  background-color: var(--bg-dark-panel);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(184, 134, 11, 0.12), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(120, 72, 20, 0.12), transparent 45%);
}
.bg-cream { background-color: var(--bg-cream); color: var(--ink-light); }
.bg-cream-gradient {
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-cream-warm));
  color: var(--ink-light);
}

/* -------------------- section separators -------------------- */
.section-line { position: relative; }
.section-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-line), transparent);
}

/* -------------------- header / nav -------------------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(16, 12, 8, 0.8);
  border-bottom: 1px solid rgba(251, 191, 36, 0.08);
}
.wordmark {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-dark);
  padding: 18px 0;
  display: block;
  text-align: center;
}
.wordmark .diamond { color: var(--amber); margin: 0 6px; font-size: 10px; }

/* -------------------- eyebrow labels -------------------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(245, 236, 219, 0.6); }
.eyebrow--dark { color: rgba(32, 21, 9, 0.55); }
.eyebrow .diamond { color: var(--amber); font-size: 9px; }
.eyebrow--center { justify-content: center; width: 100%; }

/* -------------------- hero -------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
    object-position: right bottom;
  animation: slow-drift 22s ease-in-out infinite alternate;
}
.hero-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to left, transparent 30%, rgba(9, 6, 3, 0.9) 92%);
}
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 6, 3, 0.96) 5%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
}
.hero-content { position: relative; z-index: 2; padding: 48px 0 72px; }
.modern-edge {
  max-width: 620px;
  padding: 32px 32px 32px 28px;
  border-left: 2px solid var(--amber);
  background: rgba(13, 9, 6, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: #fdf6e8;
  margin: 14px 0 18px;
}
.hero .lede { font-size: 18px; color: var(--ink-dark-soft); margin-bottom: 14px; max-width: 54ch; }
.hero .ask { font-family: var(--font-label); font-size: 13px; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 10px; }
.hero .detail { font-size: 15px; color: var(--ink-dark-soft); margin-bottom: 26px; max-width: 56ch; }

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn--gold { background: var(--amber); color: #1a1206; }
.btn--gold:hover { transform: translateY(-2px); }
.btn--gold:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn--dark { background: var(--ink-light); color: var(--bg-cream); }

/* -------------------- curiosity / plain text section -------------------- */
.curiosity { padding: 120px 0; }
.curiosity h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 18ch; margin-bottom: 26px; }
.curiosity p { font-size: 17px; max-width: 62ch; color: var(--ink-light-soft); }

/* -------------------- learn / ritual-style section -------------------- */
.learn { padding: 120px 0; }
.learn .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.learn-image-wrap { position: relative; aspect-ratio: 4/4; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(184, 134, 11, 0.35); }
.learn-image-wrap img { width: 100%; height: 100%; object-fit: cover; animation: slow-drift 18s ease-in-out infinite alternate; }
.learn h2 { font-size: clamp(28px, 3.4vw, 40px); color: #fdf6e8; margin-bottom: 8px; }
.learn-list { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-direction: column; gap: 0; }
.learn-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-top: none;
  font-size: 15.5px;
  color: var(--ink-dark-soft);
}
.learn-list li:first-child { border-top: 1px solid rgba(251, 191, 36, 0.1); }
.learn-list .diamond { color: var(--amber); flex-shrink: 0; margin-top: 3px; font-size: 10px; }
.learn-close { color: var(--ink-dark-soft); font-size: 15px; max-width: 48ch; }

/* -------------------- ticker -------------------- */
.ticker-wrap { overflow: hidden; border-top: 1px solid rgba(251, 191, 36, 0.12); border-bottom: 1px solid rgba(251, 191, 36, 0.12); padding: 20px 0; margin-top: 64px; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 28s linear infinite; }
.ticker-track span {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-dark-soft);
  padding: 0 28px;
  white-space: nowrap;
}
.ticker-track span .diamond { color: var(--amber); margin-left: 28px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------- proof / reviews (sticky) -------------------- */
.proof-sticky { padding: 120px 0; }
.proof-sticky .grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.proof-sticky .sticky-col { position: sticky; top: 112px; }
.proof-sticky h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.proof-sticky .sticky-col p { color: var(--ink-dark-soft); font-size: 16px; max-width: 42ch; }

.proof-feature {
  border: 1px solid rgba(251, 191, 36, 0.14);
  padding: 28px;
  margin: 0 0 22px;
  background: rgba(251, 191, 36, 0.03);
}
.proof-feature img { width: 120px; height: 120px; object-fit: cover; margin-bottom: 18px; }
.proof-feature blockquote { margin: 0; font-size: 19px; color: #fdf6e8; font-family: var(--font-display); font-weight: 500; line-height: 1.4; }
.proof-feature cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.06em; color: var(--amber); }

.proof-small { border: 1px solid rgba(251, 191, 36, 0.1); padding: 24px; margin-bottom: 18px; }
.proof-small p { font-size: 15px; color: var(--ink-dark-soft); }
.proof-small cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.06em; color: var(--amber); }

.proof-note { font-size: 12.5px; color: rgba(245, 236, 219, 0.4); margin-top: 8px; }

/* story rows (page 2 stories) */
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 36px; border: 1px solid rgba(251, 191, 36, 0.1); padding: 24px; }
.story-media { aspect-ratio: 16/9; overflow: hidden; background: #000; }
.story-media--embed iframe, .story-media img, .story-media--video video { width: 100%; height: 100%; object-fit: cover; border: none; }
.story-copy .kicker { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 10px; display:block; }
.story-copy blockquote { margin: 0 0 14px; font-size: 17px; color: #fdf6e8; font-family: var(--font-display); font-weight: 500; line-height: 1.4; }
.story-copy cite { font-style: normal; font-family: var(--font-label); font-size: 12px; color: rgba(245,236,219,0.6); }

/* -------------------- apply / contact split -------------------- */
.apply-split { padding: 120px 0; }
.apply-split .grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: stretch; }
.apply-card { background: #fffaf0; border: 1px solid rgba(32,21,9,0.08); padding: 44px; }
.apply-card h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink-light); margin-bottom: 10px; }
.apply-card .sub { color: var(--ink-light-soft); margin-bottom: 30px; font-size: 15px; }
.apply-image-wrap { position: relative; overflow: hidden; min-height: 340px; }
.apply-image-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.apply-stat {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: rgba(13, 9, 6, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 20px 22px;
  color: #fdf6e8;
}
.apply-stat .eyebrow { margin-bottom: 6px; }
.apply-stat strong { font-family: var(--font-display); font-size: 20px; display: block; }

/* -------------------- forms -------------------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink-light); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(32, 21, 9, 0.18);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-light);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.consent-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-light-soft); margin-top: 18px; }
.consent-checkbox input { margin-top: 3px; }
.form-error { background: #fee; color: #b00020; padding: 12px 16px; font-size: 14px; margin: 0 0 18px; border: 1px solid #f3b8b8; }

/* choice pills for radios (application) */
.choice-group { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.choice {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(32, 21, 9, 0.14);
  padding: 14px 16px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice:has(input:checked) { border-color: var(--amber); background: rgba(251, 191, 36, 0.08); }
.choice input { accent-color: var(--gold-deep); }
.hint { font-size: 13.5px; color: var(--ink-light-soft); margin: -6px 0 16px; font-style: italic; }

/* -------------------- application card shell (page 2) -------------------- */
.apply-shell {
  max-width: 720px;
  margin: 0 auto;
  background: #fffaf0;
  border: 1px solid rgba(32, 21, 9, 0.08);
  padding: 48px;
  box-shadow: 0 40px 90px -40px rgba(184, 134, 11, 0.28);
}
#step-progress {
  display: block;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.apply-shell h3 { font-size: 22px; color: var(--ink-light); margin-bottom: 20px; max-width: 34ch; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.step-back { background: none; border: none; font-family: var(--font-label); font-size: 13px; color: var(--ink-light-soft); cursor: pointer; padding: 10px 0; }
.step-back:hover { color: var(--ink-light); }

/* -------------------- welcome / video / post-video (page 2) -------------------- */
.welcome { padding: 168px 0 100px; text-align: center; }
.welcome h1 { font-size: clamp(30px, 4.6vw, 46px); color: #fdf6e8; margin: 16px 0 20px; }
.welcome p { color: var(--ink-dark-soft); font-size: 17px; max-width: 56ch; margin: 0 auto; }

.video-section { padding: 40px 0 120px; }
.video-frame {
  max-width: 900px; margin: 0 auto;
  aspect-ratio: 16/9;
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: 0 50px 100px -30px rgba(184, 134, 11, 0.35);
  overflow: hidden;
  animation: slow-drift 26s ease-in-out infinite alternate;
}
.video-frame iframe { width: 100%; height: 100%; border: none; }

.post-video { background: #1a1206; padding: 80px 0; text-align: center; }
.post-video h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fdf6e8; margin-bottom: 16px; }
.post-video p { color: var(--ink-dark-soft); max-width: 56ch; margin: 0 auto 30px; font-size: 16px; }

/* -------------------- founders (about-style, dark) -------------------- */
.founders { padding: 120px 0; }
.founders .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.founders img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(184, 134, 11, 0.3); }
.founders h2 { font-size: clamp(26px, 3.2vw, 38px); color: #fdf6e8; margin-bottom: 20px; max-width: 18ch; }
.founders p { color: var(--ink-dark-soft); font-size: 16px; margin-bottom: 16px; max-width: 56ch; }
.founders .final-line { color: var(--amber); font-style: italic; }

/* -------------------- apply intro (page 2) -------------------- */
.apply-intro { padding: 100px 0 40px; text-align: center; }
.apply-intro h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--ink-light); margin-bottom: 18px; }
.apply-intro p { color: var(--ink-light-soft); max-width: 60ch; margin: 0 auto 12px; font-size: 15.5px; }

.apply-form-section { padding: 40px 0 120px; }

#calendly-container { display: none; max-width: 900px; margin: 40px auto 0; min-height: 900px; }
#review-message { display: none; max-width: 640px; margin: 40px auto 0; text-align: center; background: #fffaf0; border: 1px solid rgba(32,21,9,0.08); padding: 48px; }
#review-message h3 { font-size: 24px; color: var(--ink-light); margin-bottom: 14px; }
#review-message p { color: var(--ink-light-soft); }

/* -------------------- footer -------------------- */
footer { background: #090603; padding: 56px 0 40px; }
footer .wrap { max-width: 760px; text-align: center; }
footer p { font-size: 12.5px; color: rgba(245, 236, 219, 0.42); margin-bottom: 14px; line-height: 1.7; }
footer p:first-child { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.06em; color: rgba(245, 236, 219, 0.7); margin-bottom: 24px; }
footer a:hover { color: var(--amber); }

/* -------------------- legal modals -------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9, 6, 3, 0.82);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #fffaf0;
  color: var(--ink-light);
  max-width: 760px;
  width: 100%;
  padding: 48px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-box h2 { font-size: 24px; margin-bottom: 20px; }
.modal-box h3 { font-size: 16px; margin: 26px 0 10px; }
.modal-box p { font-size: 14.5px; color: var(--ink-light-soft); margin-bottom: 12px; line-height: 1.7; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid rgba(32,21,9,0.2);
  font-size: 20px; line-height: 1; cursor: pointer;
}
body.no-scroll { overflow: hidden; }

/* -------------------- animations -------------------- */
@keyframes slow-drift {
  0% { transform: scale(1.03) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, 1.5%); }
}

/* -------------------- responsive -------------------- */
@media (max-width: 900px) {
  .learn .grid, .proof-sticky .grid, .apply-split .grid, .founders .grid, .story-row { grid-template-columns: 1fr; }
  .proof-sticky .sticky-col { position: static; }
  .field-row { grid-template-columns: 1fr; }
  .apply-shell { padding: 28px; }
  .modern-edge { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .learn-image-wrap img, .video-frame, .ticker-track { animation: none !important; }
}
