/* ============================================
   FOOD FOR THOUGHTS — Global Stylesheet
   foodforthoughts.net
   ============================================ */

/* ── DESIGN TOKENS ── */
:root {
  --cream: #faf6ef;
  --warm-white: #fdf9f4;
  --amber: #e8956d;
  --amber-light: #f5c499;
  --amber-dim: rgba(232,149,109,0.15);
  --sage: #8fa882;
  --sage-dark: #4a6b42;
  --sage-light: #c4d9be;
  --charcoal: #2c2825;
  --warm-gray: #7a7068;
  --ink: #1a1714;
  --cream-border: rgba(44,40,37,0.1);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-height: 72px;
  --section-pad: 7rem 4rem;
  --section-pad-sm: 4rem 1.5rem;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── WORDMARK ── */
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.wordmark-food {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.wordmark-arrow {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--amber);
  margin: 0 0.18em;
  position: relative;
  top: -0.05em;
}
.wordmark-thoughts {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.wordmark-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  margin-left: 3px;
  margin-bottom: 3px;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,149,109,0.12);
}
.nav-wordmark .wordmark-food,
.nav-wordmark .wordmark-thoughts { font-size: 1.2rem; }
nav ul {
  list-style: none;
  display: flex; gap: 2.5rem; align-items: center;
}
nav ul a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul a:hover,
nav ul a.active { color: var(--amber); }
.nav-cta {
  background: var(--charcoal) !important;
  color: var(--cream) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.9rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--amber); transform: translateY(-1px); }
.btn-secondary {
  border: 1.5px solid rgba(44,40,37,0.35);
  color: var(--charcoal);
  padding: 0.9rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; cursor: pointer;
  font-family: var(--font-body);
}
.btn-secondary:hover { background: var(--charcoal); color: var(--cream); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: all 0.25s;
  background: transparent; cursor: pointer;
  font-family: var(--font-body);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.6);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(3rem, 5vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 300; max-width: 680px; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; }
h2 strong, h1 strong { font-weight: 600; }
h2 em, h1 em { font-style: italic; color: var(--amber); }

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--sage);
}

/* ── PREMISE BAND ── */
.premise-band {
  background: var(--amber);
  padding: 4rem;
}
.premise-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex; gap: 4rem; align-items: flex-start;
}
.premise-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.6);
  flex-shrink: 0;
  padding-top: 0.3rem;
}
.premise-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  line-height: 1.55;
  color: var(--warm-white);
}
.premise-quote strong { font-weight: 600; font-style: normal; }

/* ── CLOSING QUOTE ── */
.closing-quote {
  background: var(--ink);
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-quote::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 2rem;
  font-family: var(--font-display);
  font-size: 28rem;
  color: rgba(232,149,109,0.04);
  line-height: 1;
  pointer-events: none;
}
.cq-inner { position: relative; z-index: 1; }
blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: rgba(250,246,239,0.88);
  max-width: 720px;
  margin: 0 auto 1.8rem;
  line-height: 1.55;
}
cite {
  font-size: 0.78rem;
  color: var(--amber-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
}
.cq-sub {
  margin-top: 3.5rem;
  font-size: 0.92rem;
  color: rgba(250,246,239,0.4);
  letter-spacing: 0.04em;
  font-weight: 300;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cq-sub strong { color: rgba(250,246,239,0.65); font-weight: 400; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-wm .wordmark-food,
.footer-wm .wordmark-thoughts { font-size: 1rem; color: rgba(250,246,239,0.55); }
.footer-wm .wordmark-arrow { color: rgba(232,149,109,0.55); }
.footer-wm .wordmark-dot { background: rgba(232,149,109,0.4); }
.footer-links {
  list-style: none;
  display: flex; gap: 2rem;
}
.footer-links a {
  font-size: 0.76rem;
  color: rgba(250,246,239,0.3);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-copy {
  font-size: 0.72rem;
  color: rgba(250,246,239,0.18);
}

/* ── FORMS ── */
.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.4);
  margin-bottom: 0.5rem;
}
.form-input, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream);
  padding: 0.82rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border-radius: 1px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 1.1rem;
}
.form-input:focus, .form-select:focus { border-color: var(--amber); }
.form-select option { background: var(--charcoal); }
.form-input::placeholder { color: rgba(250,246,239,0.2); }
.form-submit {
  width: 100%;
  background: var(--amber);
  color: white;
  border: none;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
  border-radius: 1px;
  transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: #d07850; transform: translateY(-1px); }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s ease forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  nav { padding: 0 1.5rem; }
  nav ul { display: none; }
  .premise-band { padding: 2.5rem 1.5rem; }
  .premise-inner { flex-direction: column; gap: 1.5rem; }
  .closing-quote { padding: 5rem 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  footer .footer-links { flex-wrap: wrap; justify-content: center; }
}
