/* ═══════════════════════════════════════════════════════════════
   MOCKTAILS·365 — Mobile-First Stylesheet
   Base = mobile (≤ 767px), then min-width breakpoints up
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --cream:   #fdf5e8;
  --paper:   #f5ead4;
  --forest:  #1a4a35;
  --leaf:    #2d6f58;
  --ink:     #1a2e22;
  --clay:    #c96a42;
  --clay-dk: #a84f2e;
  --gold:    #c8901a;
  --berry:   #5e3a52;
  --line:    rgba(26,46,34,.12);
  --s1:      0 2px 12px rgba(26,46,34,.08);
  --s2:      0 12px 48px rgba(26,46,34,.14);
  --s3:      0 28px 80px rgba(26,46,34,.20);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --r:       10px;
  --max:     1180px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; }

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-300%); transition: transform .2s;
  background: var(--forest); color: #fff;
  padding: 10px 16px; border-radius: 6px; text-decoration: none;
  font-weight: 700; font-size: .9rem;
}
.skip-link:focus { transform: translateY(0); }

/* ── Reveal ──────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.68,0,1.1);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ── Kicker ──────────────────────────────────────────────────── */
.kicker {
  display: block; margin: 0 0 10px;
  color: var(--gold); font-size: .72rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .12em;
}
.kicker-light { color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 8px; font-family: var(--sans);
  font-weight: 900; font-size: .97rem; text-decoration: none;
  transition: background .18s, transform .1s, box-shadow .18s;
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn:active { transform: scale(.975); }

.btn-primary { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--clay-dk); border-color: var(--clay-dk); box-shadow: 0 4px 20px rgba(201,106,66,.35); }

.btn-ghost { color: var(--forest); border-color: rgba(26,74,53,.28); background: rgba(255,255,255,.25); }
.btn-ghost:hover,
.btn-ghost:focus-visible { background: rgba(26,74,53,.07); border-color: rgba(26,74,53,.5); }

.btn-header {
  display: none; /* hidden on mobile */
  min-height: 36px; padding: 0 16px; font-size: .88rem;
  background: var(--forest); color: #fff; border-color: var(--forest);
}
.btn-header:hover { background: var(--leaf); border-color: var(--leaf); }

.btn-large { min-height: 54px; padding: 0 36px; font-size: 1.04rem; }

/* ═══════════════════════════════════════════════════════════════
   FLOATING CTA — mobile only
   ═══════════════════════════════════════════════════════════════ */
.floating-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  padding: 12px 16px env(safe-area-inset-bottom, 10px);
  background: rgba(253,245,232,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: block;
  opacity: 0; transform: translateY(100%);
  transition: opacity .28s, transform .28s;
}
.floating-cta .btn { width: 100%; }
.floating-cta.show { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 18px;
  background-color: transparent;
  transition: background-color .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background-color: rgba(253,245,232,.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(26,46,34,.08);
  padding-top: 10px; padding-bottom: 10px;
}

.brand {
  font-family: var(--sans); font-weight: 900; font-size: .95rem;
  letter-spacing: -.01em; text-decoration: none;
  color: var(--forest); flex-shrink: 0; white-space: nowrap;
}
.brand-dot { color: var(--clay); }

/* Nav hidden on mobile, shown desktop */
.nav { display: none; gap: 22px; font-size: .9rem; font-weight: 700; }
.nav a { text-decoration: none; transition: color .18s; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible { color: var(--clay); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── Burger (mobile) ─────────────────────────────────────────── */
.burger {
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; display: flex;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 5px; padding: 6px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s, opacity .22s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay ──────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 49;
  background-color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 36px 36px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: block; padding: 16px 0;
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700;
  color: var(--forest); text-decoration: none;
  border-bottom: 1px solid var(--line); transition: color .18s;
}
.mobile-nav a:hover { color: var(--clay); }
.mobile-buy {
  border-bottom: none !important; color: var(--clay) !important;
  font-family: var(--sans) !important; font-size: 1.1rem !important;
  font-weight: 900 !important; margin-top: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO — mobile first: stacked
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background-color: var(--cream);
  padding: 88px 18px 52px;
  display: flex; flex-direction: column; gap: 36px;
  border-bottom: 1px solid var(--line);
}

.hero-text { width: 100%; }

.hero-h1 {
  font-size: clamp(1.75rem, 7.8vw, 5.4rem);
  line-height: 1; white-space: nowrap; color: var(--forest);
}
.h1-dot   { color: var(--clay); font-style: normal; }
.h1-accent { color: var(--clay); font-style: italic; }

.hero-sub {
  margin: 20px 0 0; font-size: 1.05rem; font-weight: 500;
  line-height: 1.55; color: rgba(26,46,34,.78);
}

.hero-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero-btns .btn { width: 100%; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-tags span {
  padding: 5px 14px; border-radius: 100px;
  background: rgba(26,74,53,.08); border: 1px solid rgba(26,74,53,.15);
  font-size: .8rem; font-weight: 700; color: var(--forest);
}

.hero-visual { width: 100%; display: flex; justify-content: center; }
.cover-wrap { width: min(280px, 72vw); position: relative; }
.cover-wrap img {
  width: 100%; border-radius: 12px; box-shadow: var(--s3);
  transform: rotate(4deg); transition: transform .4s ease;
}
.cover-wrap:hover img { transform: rotate(2deg) scale(1.02); }
.cover-wrap::before {
  content: ''; position: absolute; inset: -16px; z-index: -1;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(200,144,26,.12) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════════════════
   STATS — mobile: 2 columns
   ═══════════════════════════════════════════════════════════════ */
.stats {
  background-color: #fffbf2;
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 22px 18px; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-last-child(-n+2) { border-bottom: none; }
.stat:hover { background: rgba(200,144,26,.04); }
.stat strong {
  display: block; font-family: var(--serif);
  font-size: clamp(1.3rem, 3.5vw, 1.85rem); font-weight: 700;
  color: var(--forest); line-height: 1.1;
}
.stat span { display: block; margin-top: 6px; font-size: .84rem; font-weight: 500; color: rgba(26,46,34,.65); }

/* ═══════════════════════════════════════════════════════════════
   SECTION UTILITY
   ═══════════════════════════════════════════════════════════════ */
.section-head { margin-bottom: clamp(24px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.section-sub { margin: 14px 0 0; color: rgba(26,46,34,.68); font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════════
   INTRO — mobile: stacked
   ═══════════════════════════════════════════════════════════════ */
.intro {
  background-color: var(--paper);
  padding: 60px 18px; display: flex;
  flex-direction: column; align-items: center; gap: 32px;
}
.intro-img { width: min(220px, 60vw); }
.intro-img img { border-radius: var(--r); box-shadow: var(--s2); width: 100%; }

.intro-copy { max-width: 600px; }
.intro-copy h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.intro-copy p { margin: 18px 0 0; font-size: 1rem; color: rgba(26,46,34,.80); max-width: 58ch; }

.facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.facts li {
  padding: 11px 14px; border-radius: 8px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  font-size: .92rem; color: rgba(26,46,34,.78);
}
.facts b { color: var(--forest); }

.arrow-link {
  display: inline-flex; margin-top: 22px;
  font-weight: 900; color: var(--forest);
  text-underline-offset: .25em; transition: color .18s;
}
.arrow-link:hover { color: var(--clay); }

/* ═══════════════════════════════════════════════════════════════
   RECIPES — mobile: horizontal scroll
   ═══════════════════════════════════════════════════════════════ */
.recipes {
  background-color: var(--cream);
  padding: 60px 0 60px 18px; /* left pad only, so scroll goes edge-to-edge */
  overflow: hidden;
}
.recipes .section-head { padding-right: 18px; }

.recipe-grid {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-right: 18px; padding-bottom: 12px;
  /* fade right edge */
  -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, black 88%, transparent 100%);
}
.recipe-grid::-webkit-scrollbar { display: none; }

.rcard {
  flex: 0 0 220px; scroll-snap-align: start;
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--s2); }
.rcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; transition: transform .4s; }
.rcard:hover img { transform: scale(1.04); }
.rcard-info { padding: 14px 14px 16px; }
.rcard h3 { font-size: 1.1rem; line-height: 1.2; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tags span {
  padding: 3px 9px; border-radius: 100px;
  background: rgba(26,74,53,.07); border: 1px solid rgba(26,74,53,.13);
  font-size: .74rem; font-weight: 700; color: var(--forest);
}

/* ── Mini CTA (after recipes) ───────────────────────────────── */
.mini-cta {
  background-color: var(--cream);
  border-top: 1px solid var(--line);
  padding: 36px 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.mini-cta p { margin: 0; font-size: 1.05rem; font-weight: 500; color: rgba(26,46,34,.78); }

/* ── Flavors ─────────────────────────────────────────────────────── */
  background-color: var(--paper);
  padding: 60px 18px;
}
.flavor-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fcard {
  background: rgba(255,255,255,.8); border-radius: var(--r);
  border: 1px solid var(--line); padding: 22px 20px;
  transition: transform .22s, box-shadow .22s;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--s1); }
.ficon { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.fcard h3 { font-size: 1.35rem; }
.fcard p  { margin: 8px 0 0; font-size: .9rem; color: rgba(26,46,34,.70); }

/* ═══════════════════════════════════════════════════════════════
   AUDIENCE — mobile: 1 column
   ═══════════════════════════════════════════════════════════════ */
.audience { background-color: var(--cream); padding: 60px 18px; }
.aud-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.acard {
  background: rgba(255,255,255,.75); border-radius: var(--r);
  border: 1px solid var(--line); padding: 24px 20px;
  transition: transform .22s, box-shadow .22s;
}
.acard:hover { transform: translateY(-3px); box-shadow: var(--s1); }
.acard > span { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.acard h3 { font-size: 1.3rem; }
.acard p  { margin: 10px 0 0; font-size: .91rem; color: rgba(26,46,34,.70); }

/* ═══════════════════════════════════════════════════════════════
   CTA BAND — mobile: stacked
   ═══════════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--forest) 0%, #143b46 60%, var(--berry) 100%);
  color: #fff; padding: 60px 18px;
  display: flex; flex-direction: column; gap: 28px;
}
.cta-band h2 { font-size: clamp(1.9rem, 5vw, 3rem); color: #fff; }
.cta-band p  { margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: .98rem; }

/* ═══════════════════════════════════════════════════════════════
   FAQ — mobile
   ═══════════════════════════════════════════════════════════════ */
.faq { background-color: var(--paper); padding: 60px 18px; }
.faq .section-head { max-width: 720px; margin: 0 auto clamp(24px,4vw,48px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-list details {
  background: rgba(255,255,255,.75); border-radius: var(--r);
  border: 1px solid var(--line); transition: box-shadow .22s;
}
.faq-list details[open] { box-shadow: var(--s1); }
.faq-list summary {
  cursor: pointer; list-style: none; user-select: none;
  padding: 18px 22px; font-weight: 800; font-size: .97rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 300;
  color: var(--clay); flex-shrink: 0; margin-left: 12px;
  transition: transform .22s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p {
  margin: 0; padding: 0 22px 20px;
  color: rgba(26,46,34,.75); font-size: .95rem; line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--ink); color: #fff;
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
}
.footer-copy {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .18s; white-space: nowrap;
}
.footer-copy:hover { color: var(--gold); }

.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-size: .82rem; font-weight: 600;
  text-decoration: none; color: rgba(255,255,255,.5);
  transition: color .18s;
}
.footer-legal a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   BREAKPOINT: ≥ 560px — tablet-small
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
  .flavor-grid { grid-template-columns: 1fr 1fr; }
  .aud-grid    { grid-template-columns: 1fr 1fr; }
  .hero-btns   { flex-direction: row; }
  .hero-btns .btn { width: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   BREAKPOINT: ≥ 768px — tablet
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  /* Header */
  .site-header { padding: 14px clamp(20px,4vw,52px); }
  .nav { display: flex; }
  .btn-header { display: inline-flex; }
  .burger { display: none; }
  .floating-cta { display: none; }

  /* Hero */
  .hero {
    flex-direction: row; align-items: center;
    min-height: 90svh; padding: 110px clamp(20px,5vw,70px) 70px;
    gap: clamp(36px,6vw,80px);
  }
  .hero-text { flex: 1 1 400px; max-width: 560px; }
  .hero-sub { font-size: clamp(1.05rem,1.8vw,1.2rem); }
  .hero-visual { flex: 0 0 auto; }
  .cover-wrap { width: clamp(240px, 30vw, 420px); }

  /* Stats */
  .stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .stat { border-right: 1px solid var(--line); border-bottom: none; }
  .stat:last-child { border-right: none; }

  /* Intro */
  .intro { flex-direction: row; align-items: center; justify-content: center; padding: 80px clamp(20px,5vw,70px); }
  .intro-img { width: min(280px,30vw); flex-shrink: 0; }

  /* Recipes: still scroll but bigger cards */
  .rcard { flex: 0 0 260px; }

  /* Flavors / Audience */
  .flavor-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .aud-grid    { grid-template-columns: repeat(3,minmax(0,1fr)); }

  /* CTA */
  .cta-band { flex-direction: row; align-items: center; padding: 72px clamp(20px,5vw,70px); }
  .cta-band > *:first-child { flex: 1; }

  /* FAQ */
  .faq { padding: 80px clamp(20px,5vw,70px); }
  .faq-list { max-width: 840px; margin: 0 auto; }

  /* Mini CTA */
  .mini-cta { flex-direction: row; justify-content: center; gap: 28px; text-align: left; padding: 40px clamp(20px,5vw,70px); }

  /* Flavors / Audience / Recipes padding */
  .flavors  { padding: 80px clamp(20px,5vw,70px); }
  .audience { padding: 80px clamp(20px,5vw,70px); }
  .recipes  { padding: 80px 0 80px clamp(20px,5vw,70px); }

  /* Footer */
  .footer { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px clamp(20px,5vw,70px); }
}

/* ═══════════════════════════════════════════════════════════════
   BREAKPOINT: ≥ 1024px — desktop
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Recipes: grid instead of scroll on large screens */
  .recipes { padding: 88px clamp(20px,5vw,70px); overflow: visible; }
  .recipe-grid {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
    overflow: visible; padding: 0;
    -webkit-mask-image: none; mask-image: none;
    flex: none;
  }
  .rcard { flex: none; }

  /* Intro: larger image */
  .intro-img { width: min(310px,28vw); }
}
