/* ==========================================================================
   Fanny's Distillery — design system
   Palette: ink black / aged cream / copper, per-product label accents.
   Type: Fraunces (display) + Lato (body), self-hosted.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 76px) + 20px); }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

/* ---------- tokens ---------- */
:root {
  --ink: #0e0c09;
  --coal: #151210;
  --card: #1d1915;
  --cream: #f1e9d7;
  --parchment: #f2ecdf;
  --parchment-deep: #e9e0cd;
  --on-parchment: #241e15;
  --on-parchment-soft: #5c5240;
  --muted: #b7ab94;
  --copper: #c08948;
  --copper-bright: #daa159;
  --copper-deep: #96662f;
  --line: rgba(192, 137, 72, 0.25);
  --line-soft: rgba(192, 137, 72, 0.14);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Lato", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 10px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --header-h: 76px;
}

/* ---------- base ---------- */
html { color-scheme: dark; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--copper); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
p { max-width: 65ch; }
a { color: var(--copper-bright); text-decoration: none; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--copper-bright); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--copper); color: var(--ink); padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- layout helpers ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: clamp(44px, 6vw, 68px); position: relative; }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
.section--coal { background: var(--coal); }
.section--parchment { background: var(--parchment); color: var(--on-parchment); }
.section--parchment h1, .section--parchment h2, .section--parchment h3 { color: var(--on-parchment); }
.section--parchment p { color: var(--on-parchment-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
}
.section--parchment .eyebrow { color: #855a26; }

.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.65; color: var(--muted); }
.section--parchment .lede { color: var(--on-parchment-soft); }

h2.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-bottom: 20px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* ornamental divider */
.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--copper); margin: 26px 0;
}
.divider::before, .divider::after {
  content: ""; height: 1px; flex: 0 0 54px;
  background: linear-gradient(90deg, transparent, var(--copper));
}
.divider::after { background: linear-gradient(90deg, var(--copper), transparent); }
.divider span { font-size: 0.7rem; transform: rotate(45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--copper-bright), var(--copper));
  color: #14100a;
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(255, 235, 200, 0.25);
  box-shadow: 0 14px 34px -14px rgba(192, 137, 72, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); color: #14100a; box-shadow: 0 20px 40px -14px rgba(192, 137, 72, 0.65); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-bright); background: rgba(192, 137, 72, 0.07); filter: none; }
.btn--lg { padding: 18px 38px; font-size: 1rem; }
.btn--amazon svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem;
  color: var(--copper-bright);
}
.link-arrow::after { content: "→"; transition: transform 0.18s ease; }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.85), rgba(10, 8, 6, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(12, 10, 8, 0.92);
  box-shadow: 0 1px 0 var(--line-soft), 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it a containing block and trap the fixed full-screen mobile nav inside it. */
.site-header.is-scrolled::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .container { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--cream); }
.brand img { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.04em;
  line-height: 1.05; text-transform: uppercase;
}
.brand-name small {
  display: block; font-family: var(--font-body); font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.34em; color: var(--copper); margin-top: 3px;
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.site-nav a {
  color: var(--cream); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--copper); transition: right 0.2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--copper-bright); }
.nav-toggle { display: none; }

/* ---------- nav dropdown (Products) ---------- */
.nav-item { position: relative; display: flex; align-items: center; gap: 4px; }
.dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--cream); flex: 0 0 auto; }
.dropdown-toggle svg { width: 10px; height: 7px; transition: transform 0.2s ease; }
.nav-item:hover .dropdown-toggle svg,
.nav-item:focus-within .dropdown-toggle svg,
.nav-item.is-open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 16px; min-width: 190px;
  background: rgba(12, 10, 8, 0.98); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  box-shadow: var(--shadow); z-index: 5;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-menu a {
  display: block; padding: 10px 12px; font-size: 0.8125rem; letter-spacing: 0.06em;
  text-transform: none; color: var(--cream); border-radius: 5px; white-space: nowrap;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: rgba(192, 137, 72, 0.14); color: var(--copper-bright); }
.dropdown-menu a[aria-current="page"] { color: var(--copper-bright); }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    color: var(--cream); z-index: 120;
  }
  .nav-toggle svg { width: 26px; height: 26px; }
  .nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(12, 10, 8, 0.97);
    opacity: 0; pointer-events: none; transition: opacity 0.22s ease;
  }
  .nav-open .site-nav { opacity: 1; pointer-events: auto; }
  .site-nav a { font-size: 1.125rem; }
  .nav-open body { overflow: hidden; }
  .nav-item { flex-direction: column; gap: 10px; }
  .dropdown-toggle { width: 36px; height: 36px; }
  .dropdown-toggle svg { width: 13px; height: 9px; }
  .dropdown-menu {
    position: static; margin-top: 0; min-width: 0; background: none; border: none; box-shadow: none;
    padding: 0; display: none; text-align: center; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }
  .nav-item.is-open .dropdown-menu { display: grid; gap: 14px; padding-top: 4px; }
  .dropdown-menu a { font-size: 1rem; padding: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: clamp(460px, 70svh, 700px);
  display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 38%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 12, 9, 0.42) 0%, rgba(14, 12, 9, 0.18) 38%, rgba(14, 12, 9, 0.9) 82%, var(--ink) 100%),
    linear-gradient(100deg, rgba(14, 12, 9, 0.82) 0%, rgba(14, 12, 9, 0.25) 55%, rgba(14, 12, 9, 0.05) 100%);
}
.hero .container { padding-block: clamp(90px, 12vw, 140px); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  max-width: 15ch; margin-bottom: 22px;
}
.hero .lede { max-width: 52ch; color: #d8cdb8; }
.hero .btn-row { margin-top: 34px; }

.hero--page { min-height: clamp(360px, 50svh, 520px); }
.hero--page h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 22ch; }
.hero--compact { min-height: clamp(280px, 38svh, 400px); }
/* Shorter heroes need a lower crop than the homepage's still photo (which is
   tuned at 62%/38%) or they mostly show sky/background instead of the subject. */
.hero--page .hero__bg img, .hero--compact .hero__bg img { object-position: center 38%; }
.hero--compact .breadcrumbs { margin-bottom: 18px; }
.hero--compact .breadcrumbs a, .hero--compact .breadcrumbs span { color: #d8cdb8; }

/* ---------- award marquee (homepage banner) ---------- */
.award-marquee { border-block: 1px solid var(--line-soft); background: var(--coal); overflow: hidden; }
.award-marquee__inner { display: flex; align-items: center; height: clamp(64px, 8vw, 90px); }
.award-marquee__label { flex: 0 0 auto; padding-inline: var(--gutter); }
.award-marquee__label a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.award-marquee__label a:hover { color: var(--copper-bright); }
.award-marquee__viewport {
  flex: 1 1 auto; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, black 48px, black calc(100% - 48px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 48px, black calc(100% - 48px), transparent);
}
.award-marquee { --marquee-gap: clamp(29px, 3.2vw, 42px); }
.award-marquee__track { display: flex; width: max-content; animation: award-marquee 42s linear infinite; }
.award-marquee__set {
  display: flex; align-items: center; list-style: none; padding-left: 0;
  gap: var(--marquee-gap); padding-right: var(--marquee-gap);
}
.award-marquee__set img { height: clamp(38px, 5vw, 52px); width: auto; flex: 0 0 auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); }
@keyframes award-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .award-marquee__track { animation: none; }
  .award-marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--coal); padding: 30px 26px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--copper-bright); font-weight: 600; }
.stat span { font-size: 0.875rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- split sections ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 6vw, 84px); align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; transition: transform 0.6s ease; }
.split__media:hover img { transform: scale(1.03); }
.split__media::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(241, 233, 215, 0.12); border-radius: var(--radius); pointer-events: none;
}
.split__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.split__body p + p { margin-top: 14px; }
.split__body .btn-row, .split__body .link-arrow { margin-top: 26px; }
.split__body .signature { display: block; height: auto; margin-top: 24px; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35)); }
.split__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 14px 18px; font-size: 0.8125rem; font-style: italic; color: #d8cdb8;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.72), transparent);
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

/* ---------- range row (homepage compact category cards) ---------- */
.range-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
@media (max-width: 820px) { .range-row { grid-template-columns: 1fr; } }
.range-card {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
}
.range-card__media { position: absolute; inset: 0; z-index: -2; }
.range-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.range-card:hover .range-card__media img { transform: scale(1.06); }
.range-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 12, 9, 0.08) 0%, rgba(14, 12, 9, 0.55) 55%, rgba(14, 12, 9, 0.92) 100%);
}
.range-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.range-card__body h3 { font-size: 1.5rem; color: var(--cream); margin-bottom: 6px; }
.range-card__body p { color: #d8cdb8; font-size: 0.9375rem; margin-bottom: 10px; max-width: 32ch; }
.range-card__body .link-arrow { font-size: 0.75rem; position: relative; z-index: 2; }

/* ---------- flagship product spotlight ---------- */
.flagship {
  position: relative; display: grid; grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(28px, 4.5vw, 56px); align-items: center;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px); overflow: hidden;
}
.flagship__media {
  position: relative; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(ellipse 65% 60% at 50% 45%, color-mix(in srgb, var(--accent, var(--copper)) 30%, transparent) 0%, transparent 72%);
  border-radius: 8px;
}
.flagship__media img { width: min(100%, 240px); filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.5)); }
.flagship__body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.flagship__tasting { color: #d8cdb8; font-size: 1.0625rem; max-width: 56ch; }
.flagship__awards { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 24px; padding: 0; list-style: none; }
.flagship__awards li { display: flex; align-items: center; gap: 9px; font-size: 0.8125rem; color: var(--muted); }
.flagship__awards img { height: 32px; width: 32px; object-fit: contain; flex: 0 0 auto; }
.flagship__buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.flagship__price { font-family: var(--font-display); font-size: 1.875rem; color: var(--copper-bright); }
@media (max-width: 820px) {
  .flagship { grid-template-columns: 1fr; text-align: center; }
  .flagship__media img { max-width: 200px; margin-inline: auto; }
  .flagship__awards, .flagship__buy { justify-content: center; }
}

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 30px); }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.product-card__media {
  position: relative; display: grid; place-items: center;
  padding: 18px 10px 6px; margin-bottom: 18px;
}
.product-card__media::before {
  content: ""; position: absolute; inset: auto; width: 78%; aspect-ratio: 1;
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--copper)) 26%, transparent) 0%, transparent 68%);
  transition: opacity 0.25s ease; opacity: 0.85;
}
.product-card:hover .product-card__media::before { opacity: 1; }
.product-card__media img { position: relative; height: 215px; width: auto; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); transition: transform 0.25s ease; }
.product-card:hover .product-card__media img { transform: translateY(-5px); }
.product-card__range { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-bright, var(--copper)); margin-bottom: 8px; }
.product-card h3 { font-size: 1.375rem; margin-bottom: 6px; }
.product-card h3 a { color: var(--cream); }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card h3 a:hover { color: var(--copper-bright); }
.product-card__spec { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.product-card__note { font-size: 0.9375rem; color: var(--muted); margin-top: 12px; flex-grow: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.product-card__price { font-family: var(--font-display); font-size: 1.375rem; color: var(--copper-bright); }
.product-card__cta { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); position: relative; z-index: 2; }
.product-card__cta:hover { color: var(--copper-bright); }

/* ---------- shop range headers ---------- */
.range-block + .range-block { margin-top: clamp(56px, 8vw, 96px); }
.range-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 30px; }
.range-block__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.range-block__head span { color: var(--muted); font-size: 0.9375rem; }

/* ---------- product page ---------- */
.breadcrumbs { font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 34px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--copper-bright); }
.breadcrumbs span[aria-current] { color: var(--cream); }

.product-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.product-hero__media {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 62% 52% at 50% 44%, color-mix(in srgb, var(--accent, var(--copper)) 30%, transparent) 0%, transparent 70%),
    var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(30px, 4vw, 56px);
}
@media (max-width: 900px) { .product-hero__media { position: static; } }
.product-hero__media img { width: min(100%, 420px); filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.55)); }
.product-hero__body h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 10px 0 16px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.spec-chips li {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.product-hero__body .tasting { font-size: 1.125rem; line-height: 1.75; color: #d8cdb8; }
.buy-box {
  margin-top: 30px; padding: 26px;
  background: var(--coal); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.buy-box__price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.buy-box__price { font-family: var(--font-display); font-size: 2rem; color: var(--copper-bright); }
.buy-box__size { color: var(--muted); font-size: 0.9375rem; }
.buy-box .btn { width: 100%; }
.buy-box__meta { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.buy-box__meta a { color: var(--copper-bright); }

.award-list { margin-top: 30px; display: grid; gap: 14px; }
.award-list li { display: flex; align-items: center; gap: 16px; }
.award-list img { height: 58px; width: 58px; object-fit: contain; }
.award-list strong { display: block; font-size: 0.9375rem; letter-spacing: 0.02em; }
.award-list span { font-size: 0.8125rem; color: var(--muted); }

.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 30px); }
@media (max-width: 700px) { .product-gallery { grid-template-columns: 1fr; } }
.product-gallery figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- timeline (about) ---------- */
.timeline { position: relative; display: grid; gap: clamp(30px, 4vw, 44px); padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--copper), var(--line-soft)); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 8px; width: 17px; height: 17px;
  border-radius: 50%; border: 2px solid var(--copper); background: var(--ink);
}
.timeline time { font-family: var(--font-display); font-size: 1.5rem; color: var(--copper-bright); display: block; margin-bottom: 6px; }
.timeline h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline p { color: var(--muted); }

/* ---------- process cards ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  background: #fbf7ee; border: 1px solid rgba(150, 102, 47, 0.22); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: 0 18px 40px -28px rgba(60, 40, 15, 0.35);
}
.process-card .num { font-family: var(--font-display); font-size: 0.9375rem; color: var(--copper-deep); letter-spacing: 0.2em; }
.process-card h3 { font-size: 1.5rem; margin: 10px 0 10px; color: var(--on-parchment); }
.process-card p { color: var(--on-parchment-soft); font-size: 0.96875rem; }

/* ---------- quote ---------- */
.quote {
  border-left: 3px solid var(--copper); padding-left: 26px;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.5; font-weight: 400;
  color: var(--cream); font-style: italic;
}
.quote cite { display: block; margin-top: 14px; font-family: var(--font-body); font-style: normal; font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }
.section--parchment .quote { color: var(--on-parchment); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid button { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-soft); display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s ease, opacity 0.3s ease; }
.gallery-grid button:hover img { transform: scale(1.05); opacity: 0.85; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; display: none;
  place-items: center; padding: 4vmin;
  background: rgba(8, 6, 4, 0.93);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; color: var(--cream);
  font-size: 2rem; line-height: 1; padding: 8px;
}
.lightbox__close:hover { color: var(--copper-bright); }

/* ---------- CTA band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px); text-align: center;
}
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 9, 6, 0.72); }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.band p { margin-inline: auto; color: #d8cdb8; }
.band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- feature grid (mobile bar) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 26px;
}
.feature svg { width: 30px; height: 30px; color: var(--copper); margin-bottom: 16px; }
.feature h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.feature p { font-size: 0.9375rem; color: var(--muted); }

/* ---------- newsletter ---------- */
.newsletter { border-top: 1px solid var(--line-soft); background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(192, 137, 72, 0.09), transparent 65%), var(--coal); }
.newsletter .container { max-width: 720px; text-align: center; }
.newsletter form { display: flex; gap: 12px; margin-top: 30px; }
@media (max-width: 580px) { .newsletter form { flex-direction: column; } }
.newsletter input[type="email"] {
  flex: 1; padding: 15px 20px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 6px;
  color: var(--cream);
}
.newsletter input[type="email"]::placeholder { color: #948a72; }
.newsletter input[type="email"]:focus { border-color: var(--copper); outline: none; }
.form-msg { margin-top: 16px; font-size: 0.9375rem; min-height: 1.4em; }
.form-msg.is-ok { color: #8fc98a; }
.form-msg.is-err { color: #e08f7c; }
.form-note { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-hero {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--card);
}
.contact-hero__photo { position: relative; margin: 0; min-height: 420px; }
.contact-hero__photo picture, .contact-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-hero__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px;
  font-size: 0.8125rem; font-style: italic; color: #d8cdb8;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.78), transparent);
}
.contact-hero__body { padding: clamp(30px, 4.5vw, 56px); }
.contact-hero__details { display: grid; margin: 28px 0 34px; }
.contact-block { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-block:last-child { border-bottom: 1px solid var(--line); }
.contact-block h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); font-family: var(--font-body); margin-bottom: 6px; }
.contact-block a { color: var(--cream); font-size: 1.0625rem; }
.contact-block a:hover { color: var(--copper-bright); }
.contact-block address { font-style: normal; color: var(--muted); }
@media (max-width: 900px) {
  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero__photo { min-height: 260px; aspect-ratio: 16 / 9; }
}

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 580px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  padding: 14px 16px; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: 6px; color: var(--cream);
  font-size: 1rem; letter-spacing: normal; font-weight: 400;
}
.form input:focus, .form textarea:focus { border-color: var(--copper); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }

/* ---------- awards wall ---------- */
.awards-wall { display: grid; gap: clamp(40px, 6vw, 64px); }
.awards-year h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--copper-bright);
  margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.awards-comp { margin-bottom: 28px; }
.awards-comp:last-child { margin-bottom: 0; }
.awards-comp h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.award-card {
  display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: 8px; padding: 14px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.award-card:hover { border-color: var(--line); transform: translateY(-3px); }
.award-card img { height: 46px; width: 46px; object-fit: contain; flex: 0 0 auto; }
.award-card strong { display: block; font-size: 0.9375rem; color: var(--cream); }
.award-card span span { font-size: 0.8125rem; color: var(--muted); }

/* ---------- latest news ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 30px); }
@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--line); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 8px; display: block; }
.post-card h2 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.3; }
.post-card h2 a { color: var(--cream); position: relative; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:hover { color: var(--copper-bright); }
.post-card p { color: var(--muted); font-size: 0.9375rem; flex: 1; }
.post-card .link-arrow { margin-top: 14px; }

/* ---------- legal / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.625rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose ul { padding-left: 22px; margin-bottom: 14px; color: var(--muted); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--cream); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: #0a0806; }
.site-footer .container { padding-block: clamp(50px, 7vw, 80px) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(30px, 4vw, 60px); padding-bottom: 46px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9375rem; color: var(--muted); max-width: 34ch; }
.memberships { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 24px; }
.membership { display: inline-flex; align-items: center; opacity: 0.88; transition: opacity 0.2s ease; }
.membership:hover { opacity: 1; }
.membership__logo { height: 40px; width: auto; max-width: 200px; filter: brightness(1.05); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--cream); }
.footer-contact { display: grid; gap: 8px; font-size: 0.9375rem; color: var(--muted); font-style: normal; }
.footer-contact a { color: var(--cream); }
.footer-contact a:hover { color: var(--copper-bright); }
.footer-legal {
  border-top: 1px solid rgba(241, 233, 215, 0.08);
  padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between;
  font-size: 0.8125rem; color: #8d8371;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #8d8371; }
.footer-legal a:hover { color: var(--cream); }
.footer-age { flex-basis: 100%; font-size: 0.8125rem; color: #8d8371; }
.footer-age a { color: #a99e88; text-decoration: underline; }

/* ---------- reveal animations ---------- */
/* Reveal animation only arms itself when JS has run (html.js), so content
   is never hidden for no-JS visitors or if the script fails to load. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal[data-delay="1"] { transition-delay: 0.12s; }
  .js .reveal[data-delay="2"] { transition-delay: 0.24s; }
  .js .reveal[data-delay="3"] { transition-delay: 0.36s; }
}

/* ---------- 404 ---------- */
.error-page { min-height: 70svh; display: grid; place-items: center; text-align: center; padding-block: 120px; }
.error-page h1 { font-size: clamp(3rem, 9vw, 6rem); color: var(--copper-bright); }
.error-page p { margin: 14px auto 30px; }

/* ---------- misc ---------- */
.note-strip { background: var(--coal); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; }
.note-strip p { color: var(--muted); font-size: 0.9375rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
