/* =========================================================
   Parker Estate — cellar-door storefront
   Palette drawn from the bottle: ink engraving, silver plate,
   warm paper, botanical green.
   ========================================================= */

:root {
  /* Clean white base — no warm cream “AI” fill */
  --paper: #ffffff;
  --paper-2: #f6f6f4;
  --paper-3: #eeeeea;
  --ink: #111111;
  --ink-soft: #333333;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.18);
  --silver: #a8acb2;
  --silver-deep: #7a8088;
  --green: #1f3d28;
  --green-soft: #3d5c42;
  --blush: #b8928c;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --radius: 0;
  --max: 1180px;
  --header-h: 72px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.cart-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

h1,
h2,
h3,
.display {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38ch;
  font-weight: 400;
}

.muted {
  color: var(--muted);
}

.price {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---------- layout ---------- */
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-tight {
  padding: clamp(48px, 7vw, 80px) 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-soft {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-soft:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn-block {
  width: 100%;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: #f3f3f1;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.cart-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.menu-toggle {
  display: none;
}

/* ---------- hero (cinematic video) ---------- */
.hero-cinema {
  position: relative;
  min-height: min(92svh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}

.hero-cinema-media {
  position: absolute;
  inset: 0;
}

.hero-cinema-video,
.hero-cinema-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-cinema-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-cinema-video {
  position: relative;
  z-index: 1;
}

.hero-cinema-video.is-failed {
  opacity: 0;
  pointer-events: none;
}

.hero-cinema-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.hero-cinema-copy {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  max-width: 640px;
}

.hero-cinema-eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.hero-cinema h1 {
  color: #fff;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.hero-cinema-lead {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-cinema-btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.hero-cinema-btn:hover {
  background: transparent;
  color: #fff;
}

.hero-cinema-btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.hero-cinema-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* legacy two-col hero kept if used elsewhere */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 420px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-meta dd {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.hero-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 720px);
  margin-inline: auto;
  width: min(100%, 520px);
  background: #0a0a0a;
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-stage .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ---------- three temperatures ---------- */
.temp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.temp-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.temp-card:hover {
  border-color: var(--ink);
}

.temp-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #111;
  overflow: hidden;
}

.temp-card-still,
.temp-card-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.55s ease;
}

.temp-card-portrait {
  opacity: 0;
  object-position: center top;
}

/* Hover swap only when device can hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .temp-card:hover {
    transform: translateY(-2px);
  }
  .temp-card:hover .temp-card-still {
    opacity: 0;
    transform: scale(1.04);
  }
  .temp-card:hover .temp-card-portrait {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Touch: still + portrait inset so both read without hover */
@media (hover: none), (pointer: coarse) {
  .temp-card-still {
    opacity: 1;
  }
  .temp-card-portrait {
    opacity: 1;
    inset: auto 12px 12px auto;
    width: 38%;
    height: auto;
    aspect-ratio: 3 / 4;
    border: 2px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    object-position: center top;
  }
}

.temp-card-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.temp-card-temp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.temp-card h3 {
  font-size: 1.35rem;
}

.temp-card-line {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 4px;
}

.temp-card-cta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* botanical plate band */
.plate {
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 22px 0;
  overflow: hidden;
}

.plate-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.plate-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.plate-track span::before {
  content: "·";
  margin-right: 48px;
  color: var(--silver-deep);
  font-style: normal;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- split feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.feature-visual {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-visual.contain img {
  object-fit: contain;
  padding: 8% 10%;
  background: #fff;
}

.feature-visual.wide {
  aspect-ratio: 16 / 10;
}

.full-bleed {
  width: 100%;
  max-height: min(52vh, 520px);
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.full-bleed img {
  width: 100%;
  height: 100%;
  max-height: min(52vh, 520px);
  object-fit: cover;
  display: block;
}

.story-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.story-band .story-media {
  min-height: 320px;
  overflow: hidden;
  background: #fff;
}

.story-band .story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-band .story-copy {
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.story-band .story-copy h2 {
  margin: 12px 0 16px;
}

.quote-block {
  border-left: 2px solid var(--ink);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
}

.quote-block p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  font-weight: 450;
}

.quote-block cite {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.team-card {
  border: 1px solid var(--line);
  padding: 22px;
  background: #fff;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.team-card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.visit-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  font-size: 15px;
}

.visit-list li span:first-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.mosaic figure {
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0;
  background: #fff;
  min-height: 180px;
}

.mosaic figure:first-child {
  grid-row: 1 / 3;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .story-band,
  .visit-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic figure:first-child {
    grid-row: auto;
    min-height: 240px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.feature-copy .eyebrow {
  margin-bottom: 16px;
}

.feature-copy h2 {
  margin-bottom: 18px;
}

.feature-copy p + p {
  margin-top: 14px;
}

.feature-copy .actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.botanical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin-top: 28px;
}

.botanical-grid li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.botanical-grid li span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--green);
}

/* ---------- product cards ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head p {
  max-width: 36ch;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}

.product-card:hover {
  border-color: var(--ink);
}

.product-card-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  background: var(--paper-2);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.45s ease, transform 0.55s var(--ease);
}

.product-card-img--primary {
  object-fit: contain;
  padding: 8% 10% 6%;
  opacity: 1;
  z-index: 1;
}

.product-card-img--hover {
  object-fit: cover;
  opacity: 0;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .product-card-media.has-hover:hover .product-card-img--primary {
    opacity: 0;
    transform: scale(1.04);
  }
  .product-card-media.has-hover:hover .product-card-img--hover {
    opacity: 1;
    transform: scale(1.03);
  }
  .product-card:hover .product-card-media:not(.has-hover) .product-card-img--primary {
    transform: scale(1.03);
  }
}

.product-card-media:not(.has-hover) .product-card-img--primary {
  position: relative;
}

.product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 10px;
  color: var(--ink-soft);
}

.product-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card-body h3 {
  font-size: 1.35rem;
}

.product-card-body .meta {
  font-size: 13px;
  color: var(--muted);
}

.product-card-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-foot .price {
  font-size: 1.35rem;
}

.product-card-foot .compare {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* ---------- serve strip ---------- */
.serve {
  background: var(--ink);
  color: var(--paper);
}

.serve .eyebrow {
  color: var(--silver);
}

.serve-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.serve-list {
  border-top: 1px solid rgba(247, 243, 234, 0.14);
}

.serve-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
  font-size: 15px;
}

.serve-list li b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.serve .note {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(247, 243, 234, 0.72);
}

/* ---------- page hero (inner) ---------- */
.page-hero {
  padding: clamp(48px, 8vw, 88px) 0 36px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 14px 0 12px;
  max-width: 14ch;
}

/* ---------- shop filters ---------- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: 0.2s ease;
}

.chip.is-active,
.chip:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(36px, 5vw, 64px) 0;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.pdp-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: crosshair;
}

.pdp-stage:not(.pdp-stage--tilt) {
  cursor: default;
}

.pdp-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition: transform 0.12s ease-out, opacity 0.15s ease;
  will-change: transform, opacity;
}

.pdp-layer--tilt {
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.pdp-layer--base {
  z-index: 1;
}

/* lifestyle / editorial gallery frames fill the stage */
.pdp-stage img[src*="official"],
.pdp-stage img[src*="lifestyle"],
.pdp-stage img[src*="detail"],
.pdp-stage img[src*="three-gins"],
.pdp-stage img[src*="stills"],
.pdp-stage img[src*="characters"],
.pdp-stage img[src*="campaign"] {
  object-fit: cover;
}

.pdp-stage img[src*="packshot"] {
  object-fit: contain;
}

.pdp-tilt-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  white-space: nowrap;
}

.pdp-mood {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.pdp-mood img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0;
  background: #eee;
}

.pdp-mood-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 2px 0 4px;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.pdp-thumbs button {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  overflow: hidden;
  opacity: 0.7;
}

.pdp-thumbs button.is-active,
.pdp-thumbs button:hover {
  opacity: 1;
  border-color: var(--ink);
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.pdp-info .eyebrow {
  margin-bottom: 12px;
}

.pdp-info h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 10px;
}

.pdp-info .tagline {
  color: var(--muted);
  margin-bottom: 22px;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pdp-price-row .price {
  font-size: 2rem;
}

.pdp-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.pdp-facts div {
  border: 1px solid var(--line);
  padding: 14px 12px;
  background: #fff;
}

.pdp-facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.pdp-facts dd {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.pdp-desc {
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 48ch;
}

.pdp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  min-height: 48px;
}

.qty-picker button {
  width: 44px;
  height: 48px;
  font-size: 18px;
  color: var(--ink-soft);
}

.qty-picker span {
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pdp-note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- cart drawer ---------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 18, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  border-left: 1px solid var(--line);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 1.4rem;
}

.cart-body {
  flex: 1;
  overflow: auto;
  padding: 8px 22px 22px;
}

.cart-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

.cart-empty .btn {
  margin-top: 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-line-img {
  aspect-ratio: 1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.cart-line-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.cart-line-meta h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-line-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.cart-line .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.cart-line .qty button {
  width: 30px;
  height: 30px;
  color: var(--muted);
}

.cart-line .qty span {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
}

.cart-line-price {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.cart-remove {
  font-size: 20px;
  color: var(--muted);
  line-height: 1;
  padding: 4px;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px 24px;
  background: #fff;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.cart-total-row .price {
  font-size: 1.5rem;
}

.cart-foot .btn + .btn {
  margin-top: 10px;
}

.cart-fine {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------- checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 40px 0 80px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}

.panel h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 14px;
}

.field textarea {
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-lines {
  margin-bottom: 18px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.order-sum {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.success-box {
  text-align: center;
  padding: 64px 24px;
  max-width: 520px;
  margin: 48px auto 80px;
  border: 1px solid var(--line);
  background: #fff;
}

.success-box h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 12px 0 14px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer .brand {
  margin-bottom: 14px;
  display: inline-block;
}

.site-footer p {
  color: var(--muted);
  max-width: 32ch;
  font-size: 14px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--ease);
  z-index: 80;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Prefer reduced motion: never leave content invisible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- mobile ---------- */
@media (max-width: 960px) {
  .hero,
  .feature,
  .serve-grid,
  .pdp,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pdp-gallery {
    position: static;
  }

  .hero-stage {
    order: -1;
    max-height: 56vh;
    aspect-ratio: 1;
  }

  .hero-meta {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    z-index: 39;
  }

  .nav.is-open a {
    padding: 14px 0;
    font-size: 14px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header .inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-row,
  .pdp-facts,
  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta > :last-child {
    grid-column: 1 / -1;
  }

  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }
}

/* =========================================================
   Serve / recipes page
   ========================================================= */
.serve-hero {
  background: #111;
  color: #fff;
  padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px);
}

.serve-hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.serve-hero h1 {
  color: #fff;
  margin: 14px 0 18px;
  max-width: 14ch;
}

.serve-hero .lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 42ch;
}

.serve-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 56px);
}

.serve-hero-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff;
  margin-bottom: 16px;
}

.serve-hero-copy p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 36ch;
  margin-bottom: 22px;
}

.serve-hero-photo {
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  max-width: 420px;
}

.serve-hero-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.serve-ing {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 8px;
}

.serve-ing li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
}

.serve-ing li b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.serve-ing li span {
  color: rgba(255, 255, 255, 0.92);
}

.serve-note {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 40ch;
}

.gin-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 8px;
}

.gin-profile {
  border: 1px solid var(--line);
  padding: 22px;
  background: #fff;
}

.gin-profile .abv {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.gin-profile h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.gin-profile p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recipe-card {
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-align: left;
  cursor: pointer;
  color: inherit;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.recipe-card:hover,
.recipe-card.is-active {
  border-color: var(--ink);
}

.recipe-card:hover .recipe-card-media img {
  transform: scale(1.04);
}

.recipe-card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1a1a;
}

.recipe-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.recipe-card-media--empty {
  background: linear-gradient(145deg, #1f3d28 0%, #111 70%);
}

.recipe-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.recipe-card .gin-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.recipe-card h3 {
  font-size: 1.25rem;
}

.recipe-card .tagline {
  font-size: 13px;
  color: var(--muted);
}

.recipe-card-meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.recipe-detail {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.recipe-detail.is-open {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.recipe-detail-media {
  background: #111;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
}

.recipe-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
}

.recipe-detail-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 320px;
  padding: 32px;
}

.recipe-detail-body {
  padding: clamp(28px, 4vw, 40px);
}

.recipe-detail-body .eyebrow {
  margin-bottom: 10px;
}

.recipe-detail-body h2 {
  margin-bottom: 8px;
}

.recipe-detail-body .intro {
  color: var(--muted);
  margin: 14px 0 22px;
  max-width: 48ch;
}

.recipe-detail .ing-list {
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}

.recipe-detail .ing-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.recipe-detail .ing-list li b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.recipe-detail .steps {
  list-style: decimal;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 15px;
}

.recipe-detail .steps li {
  padding: 6px 0;
  line-height: 1.5;
}

.recipe-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-serve-teaser {
  background: #111;
  color: #fff;
}

.home-serve-teaser .serve-grid {
  align-items: center;
}

.home-serve-teaser h2 {
  color: #fff;
}

@media (max-width: 960px) {
  .serve-hero-grid,
  .recipe-detail.is-open,
  .gin-profiles {
    grid-template-columns: 1fr;
  }
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .serve-hero-photo {
    max-width: none;
  }
  .temp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-cinema {
    min-height: min(85svh, 720px);
  }
  .hero-cinema-copy {
    padding-top: clamp(80px, 14vw, 120px);
    padding-bottom: clamp(28px, 6vw, 48px);
    max-width: none;
  }
  .hero-cinema h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
  .hero-cinema-lead {
    font-size: 15px;
    max-width: none;
  }
  .hero-cinema-veil {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.82) 100%);
  }
  .hero-cinema-video,
  .hero-cinema-fallback {
    object-position: center 30%;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    min-height: 48px;
    text-align: center;
    justify-content: center;
  }
  .pdp-stage {
    aspect-ratio: 4 / 5;
    max-height: min(70vh, 520px);
  }
  .pdp-thumbs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .pdp-thumbs button {
    flex: 0 0 64px;
  }
  .pdp-actions {
    flex-wrap: wrap;
  }
  .pdp-actions .btn {
    flex: 1 1 auto;
    min-height: 48px;
  }
  .section-head {
    margin-bottom: 28px;
  }
}

@media (max-width: 720px) {
  .recipe-grid {
    grid-template-columns: 1fr;
  }
  :root {
    --header-h: 64px;
  }
  .hero-cinema {
    min-height: min(78svh, 640px);
  }
  .hero-cinema-copy {
    width: min(var(--max), calc(100% - 32px));
  }
  .temp-card-media {
    aspect-ratio: 4 / 5;
  }
  .temp-card-body {
    padding: 16px;
  }
  .pdp-mood {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .pdp-mood img {
    width: 64px;
    height: 64px;
  }
  .pdp-tilt-hint {
    bottom: 10px;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
  }
  .product-card-media {
    aspect-ratio: 1;
  }
  /* Prefer still full-bleed on small cards for readability */
  .product-card-img--primary {
    padding: 6% 8% 4%;
  }
}

/* Desktop/tablet wide: three temperature columns */
@media (min-width: 900px) {
  .temp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Phablet: two columns for temperature if space */
@media (min-width: 560px) and (max-width: 899px) {
  .temp-grid {
    grid-template-columns: 1fr;
  }
}
