/*
Theme Name: Valley Vodka
Theme URI: https://www.valleyvodka.com.au
Author: Valley Vodka
Author URI: https://www.valleyvodka.com.au
Description: A clean, minimal single-page WordPress theme for Valley Vodka — premium Tasmanian vodka. Matches the bottle label aesthetic with dusty-blue palette, elegant serif typography and the real vector brand art (V emblem, Tasmania, trio icons, sprig, valley).
Version: 1.2.6
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valley-vodka
Tags: one-page, custom-colors, custom-logo, full-width-template, minimal
*/

/* =========================
   Brand variables
   ========================= */
:root {
  --vv-paper: #fbfcfa;        /* main background — matches the valley illustration panel so the hero art blends (was #ffffff) */
  --vv-paper-2: #f6f7f8;      /* alt sections — whisper of cool grey to keep section rhythm (was cream #efece5) */
  --vv-ink: #1c2230;
  --vv-ink-soft: #3a4250;
  --vv-blue: #5a7a95;
  --vv-blue-dark: #3e5a73;
  --vv-blue-soft: #8aa4b8;
  --vv-line: rgba(90, 122, 149, 0.35);
  --vv-rule: rgba(28, 34, 48, 0.12);

  --vv-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --vv-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --vv-max: 1200px;
  --vv-gutter: clamp(20px, 4vw, 56px);
}

/* =========================
   Reset
   ========================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--vv-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--vv-ink);
  background: var(--vv-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--vv-blue-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--vv-ink); }

/* =========================
   Layout
   ========================= */
.vv-container {
  max-width: var(--vv-max);
  margin: 0 auto;
  padding: 0 var(--vv-gutter);
}
.vv-section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.vv-section--alt { background: var(--vv-paper-2); }

/* =========================
   Header / Nav
   ========================= */
.vv-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--vv-rule);
}
.vv-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.vv-brand { display: flex; align-items: center; gap: 12px; font-family: var(--vv-serif); font-size: 20px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vv-ink); }
.vv-brand__mark { width: 26px; height: auto; display: block; }
.vv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.vv-nav a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--vv-ink-soft); font-weight: 500; }
.vv-nav a:hover { color: var(--vv-blue-dark); }
@media (max-width: 720px) { .vv-nav { display: none; } }

/* =========================
   Hero
   ========================= */
.vv-hero { text-align: center; padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); }
.vv-hero__emblem { width: 64px; height: auto; margin: 0 auto 18px; display: block; }
.vv-hero__valley { width: min(880px, 92%); height: auto; margin: 0 auto 28px; display: block; }
.vv-hero h1 {
  font-family: var(--vv-serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.95;
  margin: 0 0 8px;
  color: var(--vv-ink);
}
.vv-hero h1 span { display: block; }
.vv-hero__rule { width: 28px; height: 1px; background: var(--vv-blue); margin: 28px auto 22px; }
.vv-hero__sub { font-family: var(--vv-sans); font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--vv-blue-dark); margin: 0 0 28px; }
.vv-hero__lede { max-width: 460px; margin: 0 auto; font-size: 15.5px; line-height: 1.7; color: var(--vv-ink-soft); }
.vv-hero__pillars {
  margin-top: 36px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vv-blue-dark);
}
.vv-hero__pillars .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--vv-blue-soft); display: inline-block; }

/* =========================
   Story / Two column
   ========================= */
.vv-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 820px) { .vv-two { grid-template-columns: 1fr; } }
.vv-eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--vv-blue-dark); margin: 0 0 18px; }
.vv-h2 {
  font-family: var(--vv-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  color: var(--vv-ink);
}
.vv-prose p { margin: 0 0 18px; color: var(--vv-ink-soft); font-size: 16.5px; line-height: 1.75; }
.vv-illus { width: 100%; height: auto; display: block; }
.vv-illus--tall { width: 100%; max-width: 560px; margin: 0 auto; }
.vv-tasmania { width: 110px; height: auto; margin: 0 auto; display: block; }

/* =========================
   Provenance trio
   ========================= */
.vv-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); text-align: center; margin-top: 56px; }
@media (max-width: 720px) { .vv-trio { grid-template-columns: 1fr; gap: 36px; } }
.vv-trio__icon { width: 66px; height: 66px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.vv-trio__icon svg, .vv-trio__icon img { width: 66px; height: 66px; display: block; }
.vv-trio h3 { font-family: var(--vv-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--vv-ink); margin: 0 0 10px; }
.vv-trio p { font-size: 14.5px; color: var(--vv-ink-soft); margin: 0; line-height: 1.65; }

/* =========================
   Tasting notes
   ========================= */
.vv-tasting { text-align: center; max-width: 720px; margin: 0 auto; }
.vv-tasting__motif { width: 84px; margin: 0 auto 28px; }
.vv-tasting__motif img { width: 100%; height: auto; display: block; }
.vv-tasting blockquote {
  font-family: var(--vv-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  line-height: 1.45;
  color: var(--vv-ink);
  margin: 0 0 28px;
}

/* =========================
   Contact
   ========================= */
.vv-contact { text-align: center; max-width: 560px; margin: 0 auto; }
.vv-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--vv-blue-dark);
  color: var(--vv-blue-dark);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all .25s ease;
  margin-top: 18px;
  background: transparent;
  cursor: pointer;
  font-family: var(--vv-sans);
  -webkit-appearance: none;
  appearance: none;
}
.vv-btn:hover, .vv-btn:focus { background: var(--vv-blue-dark); color: var(--vv-paper); }

/* =========================
   Footer
   ========================= */
.vv-footer { background: var(--vv-ink); color: rgba(245, 243, 238, 0.7); padding: 56px 0 28px; font-size: 13px; }
.vv-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.vv-footer__brand { font-family: var(--vv-serif); font-size: 22px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vv-paper); }
.vv-footer__brand small { display: block; font-family: var(--vv-sans); font-size: 11px; letter-spacing: 0.32em; color: var(--vv-blue-soft); margin-top: 6px; }
.vv-footer a { color: var(--vv-blue-soft); }
.vv-footer a:hover { color: var(--vv-paper); }
.vv-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; letter-spacing: 0.05em; color: rgba(245, 243, 238, 0.45); }
.vv-footer__warn { text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; color: rgba(245, 243, 238, 0.55); }

/* =========================
   Age gate
   ========================= */
.vv-agegate { position: fixed; inset: 0; background: var(--vv-paper); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.vv-agegate.is-hidden { display: none !important; }
.vv-agegate__card { max-width: 460px; text-align: center; }
.vv-agegate__emblem { width: 52px; height: auto; margin: 0 auto 18px; display: block; }
.vv-agegate h2 { font-family: var(--vv-serif); font-weight: 500; font-size: 36px; letter-spacing: 0.04em; margin: 0 0 8px; }
.vv-agegate p { font-size: 13px; letter-spacing: 0.04em; color: var(--vv-ink-soft); margin: 0 0 28px; }
.vv-agegate__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vv-agegate .vv-btn { margin-top: 0; }
.vv-agegate .vv-btn--ghost { border-color: var(--vv-rule); color: var(--vv-ink-soft); }
.vv-agegate .vv-btn--ghost:hover, .vv-agegate .vv-btn--ghost:focus { background: transparent; color: var(--vv-ink); border-color: var(--vv-ink); }

/* =========================
   Mobile patches (1.1.3)
   ========================= */
@media (max-width: 600px) {
  .vv-hero { padding: 64px 0 40px; }
  .vv-hero h1 { font-size: 56px; line-height: 0.95; }
  .vv-hero__valley { width: 100%; }
  .vv-section { padding: 56px 0; }
  .vv-h2 { font-size: 32px; line-height: 1.1; }
  .vv-hero__pillars { font-size: 11px; letter-spacing: 0.22em; gap: 10px; }
  .vv-tasting blockquote { font-size: 22px; }
  .vv-footer__top { flex-direction: column; gap: 16px; }
  .vv-agegate h2 { font-size: 28px; }
  .vv-brand { font-size: 16px; }
}

/* =========================
   Footer license (1.1.5)
   ========================= */
.vv-footer__license {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.45);
  margin: 18px 0 0;
  max-width: 100%;
}

/* =========================
   Bottle in Story section (1.2.1)
   ========================= */
.vv-bottle__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.vv-bottle {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 26px rgba(28, 34, 48, 0.10)) drop-shadow(0 4px 8px rgba(28, 34, 48, 0.06));
  transition: transform .6s ease;
}
.vv-bottle:hover { transform: translateY(-3px); }

@media (min-width: 1024px) {
  .vv-bottle { max-width: 260px; }
}
@media (max-width: 600px) {
  .vv-bottle__wrap { padding: 24px 0 4px; }
  .vv-bottle { max-width: 180px; }
}
