/* =========================================================
   LO & BEHOLD — Sparkling Tea (mk 7 brand system)
   ---------------------------------------------------------
   Palette : Midnight · Sage · Gold · Cream · Terracotta
   Display : Cormorant Condensed (wdth=75) · Body: Cormorant Garamond
   Sans    : Montserrat (as Gotham stand-in for caps & accents)
   ========================================================= */

:root {
  /* mk 7 palette */
  --midnight:      #1B2230;
  --midnight-soft: #2A3142;
  --sage:          #5F6347;
  --gold:          #B9924A;
  --gold-soft:     #d6b072;
  --cream:         #F4ECD9;
  --paper:         #FAF4E5;
  --terracotta:    #B26049;
  --ink-soft:      #2a2a2a;

  /* Type stack — Cormorant Condensed (display) + Cormorant Garamond (body) + Montserrat (caps/sans) */
  --serif-display: "Cormorant", Georgia, "Times New Roman", serif;
  --serif-body:    "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans-caps:     "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max:    1140px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease:   cubic-bezier(.2,.6,.2,1);
}

/* -------- reset-ish -------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--midnight);
  font-family: var(--serif-body);
  font-size: clamp(17px, 1vw + 0.7rem, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
a:hover { color: var(--gold); }

::selection {
  background: var(--gold);
  color: var(--cream);
}

/* ---------- TOP BAR ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: rgba(244, 236, 217, 0.88);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(27, 34, 48, 0.08);
}

.monogram {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--midnight);
}
.monogram .amp {
  color: var(--gold);
  font-style: italic;
  padding: 0 .08em;
}

.topnav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  font-size: 0.7rem;
}
.topnav a {
  position: relative;
  padding: .25rem 0;
  color: var(--midnight);
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.topnav a:hover::after { transform: scaleX(1); }

@media (max-width: 640px) {
  .topnav { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  background:
    radial-gradient(1200px 600px at 50% 110%, rgba(185, 146, 74, 0.10), transparent 70%),
    radial-gradient(900px 500px at 50% -10%, rgba(95, 99, 71, 0.10), transparent 70%),
    var(--cream);
  text-align: center;
  overflow: hidden;
}

/* gold hairlines flanking the wordmark */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: clamp(180px, 30vw, 360px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
  opacity: 0.55;
}
.hero::before { top: 38%; left: 0; }
.hero::after  { top: 38%; right: 0; }

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sage);
  margin: 0 0 2.5rem;
}

.wordmark {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--midnight);
}
.wordmark .amp {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  padding: 0 0.04em;
}

.subwordmark {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.55em;
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 500;
  margin: 1.5rem 0 0;
  color: var(--midnight);
  padding-left: 0.55em;
}

.rule {
  border: 0;
  height: 1px;
  width: 88px;
  margin: 2.25rem auto;
  background: var(--gold);
}

.tagline {
  font-family: var(--serif-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--midnight);
  margin: 0 auto;
  max-width: 38ch;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans-caps);
  font-size: 0.9rem;
  color: var(--sage);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(95, 99, 71, 0.4);
  border-radius: 999px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ---------- FEATURE / BOTTLE (dark moody) ---------- */
.feature {
  background: var(--midnight);
  padding: clamp(4rem, 10vh, 7rem) var(--gutter);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
/* subtle gold vignette behind the bottle */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 700px at 50% 50%, rgba(185, 146, 74, 0.08), transparent 60%);
  pointer-events: none;
}
.feature-inner {
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.bottle-frame {
  margin: 0;
  width: min(480px, 88vw);
  position: relative;
}
.bottle-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.5),
    0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--sage  {
  background: linear-gradient(180deg, rgba(95, 99, 71, 0.10) 0%, rgba(95, 99, 71, 0.05) 100%), var(--paper);
}
.section--midnight {
  background: var(--midnight);
  color: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-inner.narrow {
  max-width: 780px;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sage);
  margin: 0 0 1.5rem;
  text-align: center;
}
.section-eyebrow--light { color: var(--gold-soft); }

.section-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0 0 2.5rem;
  text-align: center;
  color: var(--midnight);
}
.section-title--light { color: var(--cream); }

/* ---------- FOUNDER NOTE (At the Table) ---------- */
.founder-note {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}
.founder-note p {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.8;
  color: var(--midnight);
  margin: 0 0 1.75rem;
}
.founder-note footer {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sage);
}

/* ---------- PULL QUOTE (At the Table) ---------- */
.pullquote {
  margin: 0 auto;
  max-width: 580px;
  text-align: center;
}
.pullquote p {
  font-family: var(--serif-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.25;
  color: var(--midnight);
  margin: 0 0 1.5rem;
}
.pullquote footer {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sage);
}

/* ---------- THREE PILLARS ---------- */
.pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

.pillar {
  text-align: center;
  padding: 0 .5rem;
}
.pillar-mark {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.pillar-title {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--midnight);
}
.pillar-body {
  font-family: var(--serif-body);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 30ch;
  margin-inline: auto;
}

/* ---------- CONTACT FORMS ---------- */
.forms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 1rem;
}
@media (max-width: 820px) {
  .forms { grid-template-columns: 1fr; }
}

.card {
  background: rgba(244, 236, 217, 0.04);
  border: 1px solid rgba(244, 236, 217, 0.18);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.card-eyebrow {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
}

.card-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 1rem;
  color: var(--cream);
}

.card-body {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(244, 236, 217, 0.8);
  margin: 0 0 1.75rem;
}

.field {
  display: block;
  margin-bottom: 1.1rem;
}
.field-label {
  display: block;
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.45rem;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 236, 217, 0.3);
  padding: 0.6rem 0;
  color: var(--cream);
  font-family: var(--serif-body);
  font-size: 1.05rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field textarea { min-height: 88px; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.95rem 1.7rem;
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  margin-top: 0.5rem;
  align-self: flex-start;
}
.btn:hover {
  background: var(--gold);
  color: var(--midnight);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: progress;
}

.card-status {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-soft);
}
.card-status[data-state="error"] { color: #d99a8a; }
.card-status[data-state="ok"]    { color: #a8c293; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--paper);
  padding: clamp(3.5rem, 8vh, 6rem) var(--gutter) 2.5rem;
  border-top: 1px solid rgba(27, 34, 48, 0.08);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.seal {
  width: 152px;
  height: 152px;
  margin: 0 auto 1.75rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.15rem;
  font-family: var(--sans-caps);
  text-transform: uppercase;
  color: var(--midnight);
  position: relative;
  padding: 1rem;
}
.seal-top, .seal-mid, .seal-bot {
  display: block;
  text-align: center;
  letter-spacing: 0.24em;
}
.seal-top {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--midnight);
}
.seal-mid { font-size: 0.6rem; font-weight: 500; margin-top: .35rem; color: var(--sage); }
.seal-bot { font-size: 0.56rem; font-weight: 500; margin-top: .4rem; color: var(--gold); }

.footer-meta {
  font-family: var(--sans-caps);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--sage);
  margin: 0 0 2rem;
}
.footer-meta a { border-bottom: 1px solid transparent; }
.footer-meta a:hover { border-bottom-color: var(--gold); color: var(--gold); }
.footer-copy {
  font-family: var(--serif-body);
  font-size: 0.82rem;
  color: rgba(27, 34, 48, 0.55);
  margin: 0;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

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