/* ═══════════════════════════════════════════════
   EatbyLe — eatbyle.com
   "Whisper" minimalist system
   #12110F bg · #F1F0EC ink · #C8A96E gold
   Fraunces (display) + Inter (UI/body)
   ═══════════════════════════════════════════════ */

:root {
  --bg:        #12110F;
  --bg-raise:  #1A1816;
  --ink:       #F1F0EC;
  --ink-soft:  #D8D6CE;
  --ink-mute:  #B8B6AE;
  --ink-faint: #6B6962;
  --gold:      #C8A96E;
  --line:      rgba(241, 240, 236, 0.08);
  --line-soft: rgba(241, 240, 236, 0.06);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --pad:   clamp(24px, 5vw, 56px);
  --max:   720px;
  --max-wide: 1040px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }

/* ════════ ATOMS ════════ */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 5px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost { border: 0.5px solid rgba(241,240,236,0.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ════════ TOP META STRIP ════════ */
.meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--pad);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 0.5px solid var(--line);
}
.meta-strip .center { color: var(--ink-mute); }

/* ════════ NAV ════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
  background: rgba(18, 17, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--line);
}
.wordmark { font-family: var(--serif); font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.wordmark .dot { color: var(--gold); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em;
  transition: color .2s ease; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--gold);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }

/* ════════ HOME / WHISPER ════════ */
.whisper {
  flex: 1;
  display: flex; flex-direction: column;
  min-height: calc(100vh - 52px);
}
.whisper-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px var(--pad);
}
.whisper-top .mark { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.whisper-top .place { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase; }

.whisper-void {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px var(--pad); text-align: center;
}
.whisper-headline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 9vw, 78px);
  line-height: 1.02; letter-spacing: -0.03em; color: var(--ink);
}
.whisper-tag {
  margin-top: 28px; font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-mute); max-width: 32ch;
}

.whisper-nav {
  display: flex; justify-content: center; gap: clamp(24px, 5vw, 44px);
  padding: 36px var(--pad);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 0.5px solid var(--line-soft);
  flex-wrap: wrap;
}
.whisper-nav a { transition: color .2s ease; }
.whisper-nav a:hover { color: var(--ink); }
.whisper-nav a.accent { color: var(--gold); }

/* ════════ SUBPAGE SHELL ════════ */
.page {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 104px) var(--pad) clamp(64px, 10vw, 112px);
}
.page-wide { max-width: var(--max-wide); }

.page-head { margin-bottom: clamp(36px, 6vw, 56px); }
.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1.04; letter-spacing: -0.03em; color: var(--ink);
  margin-top: 16px;
}
.lede {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(18px, 2.6vw, 23px); line-height: 1.55;
  color: var(--ink-soft); margin-top: 24px; max-width: 54ch;
}

.prose { max-width: 60ch; }
.prose p { font-size: 15px; line-height: 1.8; color: var(--ink-mute); margin-bottom: 22px; }
.prose p strong, .prose strong { color: var(--ink); font-weight: 500; }
.prose h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  color: var(--ink); margin: 40px 0 16px; letter-spacing: -0.01em;
}
.prose ul { list-style: none; margin: 0 0 26px; }
.prose li {
  font-size: 15px; line-height: 1.7; color: var(--ink-mute);
  padding: 11px 0 11px 22px; position: relative;
  border-bottom: 0.5px solid var(--line-soft);
}
.prose li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.prose blockquote {
  border-left: 1px solid var(--gold); padding-left: 24px; margin: 0 0 26px;
}
.prose blockquote p {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 19px; line-height: 1.6; color: var(--ink-soft);
}

.gold-rule { width: 56px; height: 1px; background: var(--gold); margin: 36px 0; }

/* ════════ APP SCREENS GALLERY ════════ */
.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 40px 0;
}
.screen {
  aspect-ratio: 9 / 19.5; border-radius: 10px;
  background: linear-gradient(160deg, #1E1C18, #12110F);
  border: 0.5px solid var(--line);
  display: flex; align-items: flex-end; padding: 14px;
}
.screen span { font-size: 10px; color: var(--ink-faint); letter-spacing: 0.1em; }

/* ════════ COMMUNITY GROUPS ════════ */
.group {
  padding: 26px 0;
  border-top: 0.5px solid var(--line);
}
.group:last-of-type { border-bottom: 0.5px solid var(--line); }
.group h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  color: var(--ink); margin-bottom: 10px;
}
.group p { font-size: 14px; line-height: 1.7; color: var(--ink-mute); max-width: 56ch; }

/* ════════ CONTACT FORM ════════ */
.form { max-width: 480px; margin-top: 36px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-raise);
  border: 0.5px solid var(--line); border-radius: 6px;
  color: var(--ink); font-family: var(--sans); font-size: 14px;
  padding: 13px 14px; transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 11px; color: var(--ink-faint); margin-top: 16px; line-height: 1.6; }
.form-status { font-size: 13px; margin-top: 18px; min-height: 20px; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #E0938A; }

/* ════════ BACK LINK ════════ */
.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 40px; transition: color .2s ease;
}
.back:hover { color: var(--gold); }

/* ════════ FOOTER ════════ */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px var(--pad);
  border-top: 0.5px solid var(--line);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint);
}
.footer .mark { font-family: var(--serif); font-size: 12px; letter-spacing: 0.12em; color: var(--ink); }
.footer-socials { display: flex; gap: 18px; }
.footer-socials a { transition: color .2s ease; }
.footer-socials a:hover { color: var(--ink); }

/* ════════ REVEAL ════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 720px) {
  .meta-strip .center { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 0.5px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links a { padding: 16px var(--pad); border-bottom: 0.5px solid var(--line-soft); font-size: 14px; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle.open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}
