/* =========================================
   DRINK INC — SHARED SITE STYLESHEET
   Version: 2026-05-30
   Loaded on every page. Page-specific overrides
   should be kept in a small inline <style> block.
========================================= */

/* ── DESIGN TOKENS ─────────────────────── */
:root {
  --green-deep:  #1C3B2A;
  --green-mid:   #2D5A3D;
  --green-light: #4A7C5F;
  --green-pale:  #EAF2EC;
  --gold:        #B8913A;          /* darkened from #C9A84C for WCAG AA on cream */
  --gold-bright: #C9A84C;          /* original — accent only, never body copy */
  --gold-light:  #E8D49A;
  --ivory:       #F8F4ED;
  --cream:       #FDF9F4;
  --charcoal:    #2C2C2C;
  --gray-mid:    #6B7280;
  --gray-light:  #F3F4F6;
  --white:       #FFFFFF;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --radius:      12px;
  --radius-lg:   24px;
  --transition:  0.3s ease;
  --shadow-sm:   0 2px 8px rgba(28,59,42,.08);
  --shadow-md:   0 8px 32px rgba(28,59,42,.12);
  --shadow-lg:   0 24px 64px rgba(28,59,42,.16);
}

/* ── RESET ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; color: var(--green-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
p  { font-size: 1.05rem; color: var(--charcoal); }
.lead    { font-size: 1.2rem; font-weight: 400; color: #4B5563; line-height: 1.8; }
.eyebrow { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
           letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }

/* ── LAYOUT ────────────────────────────── */
.container         { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px;  margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green-mid); }
.bg-ivory      { background: var(--ivory); }
.bg-cream      { background: var(--cream); }
.bg-green-pale { background: var(--green-pale); }
.bg-green-deep { background: var(--green-deep); }

/* ── BUTTONS ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none;
}
.btn--primary    { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.btn--primary:hover { background: #9F7B2A; border-color: #9F7B2A; transform: translateY(-2px);
                      box-shadow: 0 8px 24px rgba(184,145,58,.35); }
.btn--secondary  { background: transparent; color: var(--white); border-color: var(--white); }
.btn--secondary:hover { background: var(--white); color: var(--green-deep); transform: translateY(-2px); }
.btn--outline-green { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn--outline-green:hover { background: var(--green-deep); color: var(--white); transform: translateY(-2px); }
.btn--dark       { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.btn--dark:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── FADE IN (scroll-triggered) ────────── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── ANNOUNCEMENT BAR ──────────────────── */
.announcement {
  background: var(--gold); color: var(--green-deep);
  text-align: center; padding: 10px 16px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  position: relative; z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
}
.announcement a { text-decoration: underline; color: var(--green-deep); white-space: nowrap; }

/* ── NAV (fixed, ~72px tall) ───────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,244,237,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,59,42,.08);
  transition: all var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between;
              height: 72px; padding: 0 24px; max-width: 1400px; margin: 0 auto; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--charcoal);
                transition: color var(--transition); letter-spacing: 0.01em; }
.nav__links a:hover, .nav__links a.active { color: var(--green-mid); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer;
             padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal);
                  border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--ivory); padding: 24px;
  box-shadow: var(--shadow-md); z-index: 999;
  flex-direction: column; gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--charcoal);
  padding: 8px 0; border-bottom: 1px solid rgba(28,59,42,.08);
}

/* ── FOOTER ────────────────────────────── */
.footer { background: var(--green-deep); color: var(--white); padding: 80px 0 40px; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer__tagline {
  font-size: 0.9rem; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 280px; margin-bottom: 20px;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer__social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer__col h5 {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer__links a:hover { color: var(--gold-light); }
.footer__address {
  font-size: 0.85rem; color: rgba(255,255,255,.55);
  line-height: 1.6; margin-top: 12px; font-style: normal;
}
.footer__newsletter-text {
  font-size: 0.85rem; color: rgba(255,255,255,.6);
  margin-bottom: 12px; line-height: 1.6;
}
.footer__form { display: flex; gap: 8px; }
.footer__input {
  flex: 1; padding: 10px 16px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: var(--white); font-size: 0.875rem; outline: none;
  font-family: inherit;
}
.footer__input::placeholder { color: rgba(255,255,255,.4); }
.footer__submit {
  padding: 10px 18px; border-radius: 50px;
  background: var(--gold); color: var(--green-deep);
  border: none; font-weight: 700; cursor: pointer;
  transition: background var(--transition);
}
.footer__submit:hover { background: var(--gold-light); }
.footer__disclaimer {
  font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.6;
  margin-top: 32px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 32px;
}
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,.4); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer__legal a:hover { color: var(--white); }
.footer__credit { font-size: 0.8rem; color: rgba(255,255,255,.35); }
.footer__credit a { color: var(--gold-light); transition: color var(--transition); }
.footer__credit a:hover { color: var(--white); }

/* ── PAGE-CONTENT TOP PADDING (fixed nav offset) ── */
.page-content { padding-top: 112px; }    /* 72 nav + 40 announcement */
.page-content--no-bar { padding-top: 72px; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ── REDUCED MOTION (a11y) ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ── FOCUS VISIBLE (a11y) ──────────────── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ── PRINT ─────────────────────────────── */
@media print {
  .nav, .announcement, .footer, .mobile-menu, .sticky-cta { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
