/* SRA Reserve - The Long Cellar
 * Old-master paintings hung in near-black rooms, read through a glass
 * interface. Cream serif display type, letterspaced small caps, maroon
 * hairlines. Cream daylight rooms between the cellar rooms.
 */

:root {
  --ink-0: #141416;            /* the cellar wall */
  --ink-1: #1D1D1F;            /* brand ink */
  --ink-2: #1A1A1C;            /* a step between */
  --maroon: #6E1423;
  --maroon-2: #8C2331;
  --cream: #F4EEE6;
  --white: #FFFFFF;
  --cream-70: rgba(244, 238, 230, 0.7);
  --cream-55: rgba(244, 238, 230, 0.55);
  --hairline: rgba(29, 29, 31, 0.12);
  --hairline-cream: rgba(244, 238, 230, 0.18);
  --glass: rgba(20, 20, 22, 0.55);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --max: 1280px;
  --pad-x: 24px;
  --room-pad: clamp(140px, 16vh, 180px);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

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

::selection { background: var(--maroon); color: var(--cream); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Typography ---------- */

h1, h2, h3 { font-weight: 400; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.06;
}

h1.display { font-size: clamp(2.7rem, 7.2vw, 6rem); }
h2.display { font-size: clamp(2rem, 4.4vw, 3.5rem); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-55);
  margin-bottom: 1.6rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 34px;
  height: 1px;
  background: var(--maroon-2);
  margin-right: 16px;
}

.band-center .eyebrow::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 34px;
  height: 1px;
  background: var(--maroon-2);
  margin-left: 16px;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  max-width: 42em;
  color: var(--cream-70);
}

.measure { max-width: 42em; }

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

.small { font-size: 0.85rem; }

/* Light rooms flip the ink */
.room-light, .room-white {
  color: var(--ink-1);
}

.room-light .eyebrow, .room-white .eyebrow { color: var(--maroon); }
.room-light .eyebrow::before, .room-white .eyebrow::before,
.room-light.band-center .eyebrow::after, .room-white.band-center .eyebrow::after { background: var(--maroon); }
.room-light .lede, .room-white .lede { color: rgba(29, 29, 31, 0.75); }
.room-light .muted, .room-white .muted { color: rgba(29, 29, 31, 0.6); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 36px;
  border: 1px solid var(--maroon-2);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.room-light .btn, .room-white .btn { color: var(--maroon); border-color: var(--maroon); }

.btn:hover, .btn:focus-visible {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

.btn-solid {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

.btn-solid:hover, .btn-solid:focus-visible {
  background: var(--maroon-2);
  border-color: var(--maroon-2);
  color: var(--cream);
}

.btn-cream {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-cream:hover, .btn-cream:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--maroon);
}

/* ---------- Header: the top bar ----------
 * Simple and tasteful: the cog crest and wordmark on the left, nav on the
 * right. Transparent over the hero / dark top band. Past ~80px of scroll
 * JS adds .is-condensed and it becomes a near-black glass bar with a
 * maroon hairline beneath, the cog shrinking from 64px to 40px. */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid rgba(110, 20, 35, 0.14);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, min-height 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 100px;
  transition: min-height 0.3s ease;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
}

.brand-cog {
  width: 52px;
  height: 52px;
  transition: width 0.3s ease, height 0.3s ease;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--maroon);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 10px 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease;
}

.site-nav a:hover { color: var(--maroon); }

.site-nav a[aria-current="page"] {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--maroon);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Condensed browsing bar */
.site-header.is-condensed {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(110, 20, 35, 0.14), 0 6px 20px rgba(20, 20, 22, 0.10);
  border-bottom-color: rgba(110, 20, 35, 0.14);
}

.is-condensed .header-inner { min-height: 62px; }
.is-condensed .brand-lockup { gap: 14px; }
.is-condensed .brand-cog { width: 40px; height: 40px; }
.is-condensed .brand-name { font-size: 1rem; letter-spacing: 0.3em; }

/* ---------- Rooms (sections) ---------- */

.room { padding: var(--room-pad) 0; background: var(--ink-0); }
.room-tight { padding: clamp(72px, 10vh, 110px) 0; }
.room-light { background: var(--cream); padding: var(--room-pad) 0; }
.room-white { background: var(--white); padding: var(--room-pad) 0; }
.room-maroon { background: var(--maroon); color: var(--cream); padding: var(--room-pad) 0; }
.room.room-tight, .room-light.room-tight, .room-white.room-tight { padding: clamp(72px, 10vh, 110px) 0; }

.room-maroon .eyebrow { color: var(--cream-70); }
.room-maroon .eyebrow::before, .room-maroon.band-center .eyebrow::after { background: var(--cream-55); }
.room-maroon .lede { color: rgba(244, 238, 230, 0.85); }

.rule-top { border-top: 1px solid var(--hairline-cream); }
.room-light.rule-top, .room-white.rule-top { border-top: 1px solid var(--hairline); }

.band-center { text-align: center; }
.band-center .lede, .band-center .measure { margin-left: auto; margin-right: auto; }
.band-center .btn { margin-top: 44px; }

.section-head { margin-bottom: clamp(48px, 7vh, 80px); }
.section-head .lede { margin-top: 22px; }

/* Inline text links inside dark rooms */
.room a.inline, .page-art a, .hero-note a {
  border-bottom: 1px solid var(--hairline-cream);
}
.room a.inline:hover { border-bottom-color: var(--cream); }
.room-light a.inline, .room-white a.inline {
  border-bottom: 1px solid rgba(110, 20, 35, 0.4);
  color: var(--maroon);
}
.room-light a.inline:hover, .room-white a.inline:hover { border-bottom-color: var(--maroon); }
.room-maroon a.inline { border-bottom: 1px solid var(--hairline-cream); }

/* ---------- Reveal on scroll ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Hero: the long gallery ---------- */

.hero-cellar {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--ink-0);
  text-align: center;
  padding: 140px 0 120px;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.is-active { opacity: 1; }

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}

html.js .hero-slide.is-active img {
  animation: kenburns 10s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  html.js .hero-slide.is-active img { animation: none; }
}

/* Deep vignette so the cream always reads */
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(20, 20, 22, 0.42) 0%, rgba(20, 20, 22, 0.62) 62%, rgba(20, 20, 22, 0.86) 100%),
    linear-gradient(to bottom, rgba(20, 20, 22, 0.55) 0%, rgba(20, 20, 22, 0.1) 30%, rgba(20, 20, 22, 0.12) 62%, rgba(20, 20, 22, 0.82) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-cellar h1 {
  max-width: 12em;
  margin: 0 auto 26px;
  text-shadow: 0 2px 34px rgba(20, 20, 22, 0.6);
}

.hero-cellar .lede {
  margin: 0 auto 48px;
  max-width: 36em;
  color: rgba(244, 238, 230, 0.88);
  text-shadow: 0 1px 18px rgba(20, 20, 22, 0.7);
}

/* The glass search bar */
.hero-search {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto 26px;
  padding: 8px;
  border: 1px solid rgba(244, 238, 230, 0.28);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 46px;
  appearance: none;
  -webkit-appearance: none;
}

.hero-search input[type="search"]::placeholder { color: var(--cream-55); }

.hero-search input[type="search"]:focus { outline: none; }
.hero-search:focus-within { border-color: rgba(244, 238, 230, 0.55); }

.hero-note {
  font-size: 0.85rem;
  color: var(--cream-55);
  max-width: 42em;
  margin: 0 auto;
  text-shadow: 0 1px 12px rgba(20, 20, 22, 0.8);
}

.hero-credit {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-55);
  text-align: right;
}

/* ---------- Interior page art bands ---------- */

.page-art {
  position: relative;
  overflow: hidden;
  background: var(--ink-0);
  padding: clamp(132px, 18vh, 200px) 0 clamp(80px, 12vh, 130px);
}

.page-art-short { padding: clamp(116px, 15vh, 160px) 0 clamp(56px, 9vh, 96px); }

.page-art .art-bed {
  position: absolute;
  inset: -8% 0;
}

.page-art .art-bed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-art .art-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(20, 20, 22, 0.92) 0%, rgba(20, 20, 22, 0.72) 46%, rgba(20, 20, 22, 0.4) 100%),
    linear-gradient(to bottom, rgba(20, 20, 22, 0.6) 0%, rgba(20, 20, 22, 0.15) 45%, rgba(20, 20, 22, 0.78) 100%);
}

.page-art .container { position: relative; z-index: 2; }

.page-art h1 { margin-bottom: 24px; max-width: 14em; text-shadow: 0 2px 30px rgba(20, 20, 22, 0.65); }
.page-art .lede { color: rgba(244, 238, 230, 0.85); }

.art-credit {
  position: absolute;
  right: 22px;
  bottom: 14px;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-55);
  text-align: right;
}

/* ---------- Region doors: paintings for doors ---------- */

.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}

.door-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--hairline-cream);
}

.door-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.door-card:hover img, .door-card:focus-visible img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .door-card img { transition: none; }
  .door-card:hover img, .door-card:focus-visible img { transform: none; }
}

.door-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 20, 22, 0.18) 0%, rgba(20, 20, 22, 0) 34%, rgba(20, 20, 22, 0.12) 58%, rgba(20, 20, 22, 0.88) 100%);
  pointer-events: none;
}

.door-face {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 26px 24px;
}

.door-face h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 8px;
}

.door-count {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-70);
}

.door-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 18px 26px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-55);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.door-card:hover .door-caption, .door-card:focus-visible .door-caption { opacity: 1; }

.door-wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 6;
}

/* ---------- Numbers line ---------- */

.numbers-line {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.2vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.numbers-line .sep { color: var(--maroon-2); padding: 0 0.35em; }

/* ---------- Frieze divider (Bacchus band) ---------- */

.frieze {
  position: relative;
  overflow: hidden;
  height: clamp(220px, 38vh, 420px);
  background: var(--ink-0);
}

.frieze img {
  position: absolute;
  left: 0;
  right: 0;
  top: -14%;
  width: 100%;
  height: 128%;
  object-fit: cover;
  will-change: transform;
}

.frieze::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 20, 22, 0.82) 0%, rgba(20, 20, 22, 0.08) 40%, rgba(20, 20, 22, 0.08) 60%, rgba(20, 20, 22, 0.85) 100%);
}

.frieze .art-credit { z-index: 3; }

/* ---------- Bottle portraits: a hang of wine still lifes ---------- */

.bottle-gallery {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vh, 64px);
}

.bottle {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.bottle img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--hairline-cream);
}

.bottle-lead img { aspect-ratio: 16 / 9; }

/* Daylight works sit on a cream mat so they read against the dark room */
.bottle.is-light img {
  background: var(--cream);
  padding: 12px;
  box-shadow: 0 0 0 1px var(--hairline-cream), 0 18px 48px rgba(20, 20, 22, 0.5);
}

.bottle figcaption {
  margin-top: 12px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-55);
}

.bottle-hang {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}

.bottle-hang .bottle img { aspect-ratio: 4 / 5; }

/* ---------- Split rooms: artwork beside prose ---------- */

.strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}

.strip-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 34px;
  box-shadow: 0 1px 0 var(--hairline), 0 0 0 1px var(--hairline);
}

.strip-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-caption {
  display: block;
  margin-top: 12px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.45);
}

.room .strip-caption { color: var(--cream-55); }

.strip h2 { margin-bottom: 18px; }

.strip p { color: rgba(29, 29, 31, 0.75); margin-bottom: 32px; max-width: 36em; }

/* Art beside text, editorial split */
.art-split {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.art-split .split-art {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--hairline);
}

.room .art-split .split-art { box-shadow: 0 0 0 1px var(--hairline-cream); }

.art-split .split-art img {
  width: 100%;
  height: auto;
}

.art-split h2 { margin-bottom: 22px; }
.art-split .lede { margin-bottom: 20px; }
.art-split .btn { margin-top: 20px; }

/* ---------- Two-column editorial ---------- */

.cols {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}

/* ---------- Definition rows ---------- */

.def-list { border-top: 1px solid var(--hairline); }

.room .def-list { border-top-color: var(--hairline-cream); }

.def-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
}

.room .def-row { border-bottom-color: var(--hairline-cream); }

.def-row dt {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
  padding-top: 4px;
}

.room .def-row dt { color: var(--cream-70); }

.def-row dd { color: rgba(29, 29, 31, 0.78); max-width: 46em; }

.room .def-row dd { color: var(--cream-70); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.actions-left { justify-content: flex-start; margin-top: 40px; }

/* ---------- Cellar engine: the glass toolbar ---------- */

.cellar-room { background: var(--ink-0); padding: clamp(48px, 7vh, 72px) 0; }

.cellar-note {
  font-size: 0.88rem;
  color: var(--cream-55);
  margin-bottom: 28px;
  max-width: 46em;
}

.cellar-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--hairline-cream);
  border-radius: 22px;
  background: rgba(244, 238, 230, 0.04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.control-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-55);
}

.cellar-controls input[type="search"],
.cellar-controls input[type="number"],
.cellar-controls select,
.cellar-meta select {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--cream);
  background: rgba(20, 20, 22, 0.4);
  border: 1px solid var(--hairline-cream);
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}

.cellar-controls input::placeholder { color: var(--cream-55); }

.cellar-controls select option, .cellar-meta select option { color: var(--ink-1); background: var(--cream); }

.cellar-controls select,
.cellar-meta select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23F4EEE6' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
}

.cellar-controls input[type="search"] {
  flex: 1 1 240px;
  min-width: 200px;
}

.cellar-controls input[type="number"] {
  width: 110px;
  -moz-appearance: textfield;
}

.cellar-controls input[type="number"]::-webkit-outer-spin-button,
.cellar-controls input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cellar-controls input[type="search"]:focus,
.cellar-controls input[type="number"]:focus,
.cellar-controls select:focus,
.cellar-meta select:focus {
  outline: none;
  border-color: rgba(244, 238, 230, 0.55);
}

.price-buckets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--hairline-cream);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-70);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.chip:hover { border-color: var(--cream-55); color: var(--cream); }

.chip[aria-pressed="true"] {
  border-color: var(--maroon-2);
  background: var(--maroon);
  color: var(--cream);
}

.clear-filters {
  margin-left: auto;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-70);
  border-bottom: 1px solid var(--maroon-2);
  border-radius: 0;
  cursor: pointer;
}

.clear-filters:hover { color: var(--cream); }

.cellar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0 4px;
}

.result-count { font-size: 0.85rem; color: var(--cream-55); }

.cellar-meta-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.view-toggle { display: flex; gap: 8px; }

.view-toggle button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--hairline-cream);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-70);
  cursor: pointer;
  padding: 0 20px;
}

.view-toggle button[aria-pressed="true"] {
  border-color: var(--maroon-2);
  background: var(--maroon);
  color: var(--cream);
}

/* The stacks: cards on cream for readability */
.cellar-stacks {
  background: var(--cream);
  color: var(--ink-1);
  padding: clamp(56px, 8vh, 88px) 0 clamp(80px, 11vh, 120px);
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.wine-grid.is-list { grid-template-columns: 1fr; }

.wine-card {
  background: var(--cream);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.wine-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wine-producer {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
}

.wine-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink-1);
}

.wine-origin { font-size: 0.85rem; color: rgba(29, 29, 31, 0.62); }

.wine-detail { font-size: 0.85rem; color: rgba(29, 29, 31, 0.62); }

.wine-status {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--maroon);
}

.wine-card-foot {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wine-price { display: flex; flex-direction: column; gap: 2px; }

.price-tag {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.55);
}

.price-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-1);
}

.btn-enquire {
  min-height: 40px;
  padding: 6px 24px;
  font-size: 0.7rem;
  color: var(--maroon);
  border-color: var(--maroon);
}

/* List view */
.wine-grid.is-list .wine-card {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 24px 32px;
}

.wine-grid.is-list .wine-card-body {
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
}

.wine-grid.is-list .wine-name { font-size: 1.1rem; }

.wine-grid.is-list .wine-status { margin-top: 0; }

.wine-grid.is-list .wine-card-foot {
  border-top: 0;
  padding-top: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.cellar-empty {
  text-align: center;
  padding: 110px 24px;
  border: 1px solid var(--hairline);
}

.cellar-empty h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--ink-1);
}

.cellar-empty p { max-width: 34em; margin: 0 auto 36px; color: rgba(29, 29, 31, 0.65); }

.cellar-empty .btn { color: var(--maroon); border-color: var(--maroon); }
.cellar-empty .btn:hover, .cellar-empty .btn:focus-visible { color: var(--cream); }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 44px 0 0;
}

.pagination button {
  min-height: 44px;
  padding: 8px 26px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-1);
  cursor: pointer;
}

.pagination button:not(:disabled):hover { border-color: var(--maroon); color: var(--maroon); }

.pagination button:disabled { opacity: 0.35; cursor: default; }

.page-label { font-size: 0.85rem; color: rgba(29, 29, 31, 0.62); }

/* ---------- Contact ---------- */

.contact-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.contact-path { background: var(--cream); padding: 64px 48px; }

.contact-path h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-path p { color: rgba(29, 29, 31, 0.72); margin-bottom: 30px; }

.enquiry-form { max-width: 640px; }

.form-field { margin-bottom: 28px; }

.form-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-1);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  border-radius: 0;
  min-height: 44px;
}

.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--maroon);
}

.form-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- Legal pages ---------- */

.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 56px 0 18px;
}

.legal-body p, .legal-body li { color: rgba(29, 29, 31, 0.78); margin-bottom: 14px; max-width: 46em; }

.legal-body ul { padding-left: 22px; margin-bottom: 18px; }

.legal-body a { border-bottom: 1px solid rgba(110, 20, 35, 0.4); color: var(--maroon); }

/* ---------- Region landing pages (static, crawlable) ---------- */

.region-head {
  background: var(--ink-0);
  padding: clamp(120px, 16vh, 180px) 0 clamp(40px, 6vh, 64px);
}

.region-head h1 { margin-bottom: 22px; }

.region-note {
  font-size: 0.88rem;
  color: var(--cream-55);
  margin-top: 22px;
  max-width: 46em;
}

.region-stacks {
  background: var(--cream);
  color: var(--ink-1);
  padding: clamp(48px, 7vh, 80px) 0 clamp(80px, 11vh, 120px);
}

.region-allbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.region-allbar .count { font-size: 0.85rem; color: rgba(29, 29, 31, 0.6); }

.region-viewall {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  border-bottom: 1px solid var(--maroon);
  padding-bottom: 2px;
}

.region-viewall:hover, .region-viewall:focus-visible { color: var(--maroon-2); }

.region-list { border: 1px solid var(--hairline); }

.region-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-1);
  transition: background-color 0.2s ease;
}

.region-row:first-child { border-top: 0; }

.region-row:hover, .region-row:focus-visible {
  background: rgba(110, 20, 35, 0.04);
  outline: none;
}

.region-row-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.region-row-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink-1);
}

.region-row-origin { font-size: 0.82rem; color: rgba(29, 29, 31, 0.6); }

.region-row-price { text-align: right; white-space: nowrap; flex-shrink: 0; }

.region-row-price .price-tag { display: block; }
.region-row-price .price-value { display: block; }

@media (max-width: 640px) {
  .region-row { flex-direction: column; gap: 8px; }
  .region-row-price { text-align: left; }
}

/* ---------- Footer: the last room ---------- */

.site-footer {
  background: var(--ink-0);
  color: var(--cream);
  padding: 96px 0 56px;
  border-top: 1px solid var(--maroon);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline-cream);
}

.footer-mark img { width: 76px; height: 76px; margin-bottom: 28px; }

.footer-statement { max-width: 30em; font-size: 0.95rem; line-height: 1.7; color: var(--cream-70); }

.footer-statement a { border-bottom: 1px solid var(--hairline-cream); }
.footer-statement a:hover { border-bottom-color: var(--cream); }

.footer-nav ul { list-style: none; display: grid; gap: 14px; }

.footer-nav a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-70);
  display: inline-block;
  padding: 4px 0;
}

.footer-nav a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--cream-55);
}

.footer-bottom a { border-bottom: 1px solid var(--hairline-cream); }
.footer-bottom a:hover { color: var(--cream); border-bottom-color: var(--cream); }

.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-credits {
  flex-basis: 100%;
  font-size: 0.74rem;
  color: rgba(244, 238, 230, 0.42);
}

/* ---------- Utility ---------- */

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .doors { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .strips { grid-template-columns: 1fr; gap: 64px; }
  .cols { grid-template-columns: 1fr; gap: 48px; }
  .art-split { grid-template-columns: 1fr; gap: 44px; }
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --room-pad: clamp(72px, 11vh, 110px); }

  .hero-cellar { padding: 120px 0 96px; }
  .hero-cellar h1 { max-width: 9em; }
  .hero-credit { right: 16px; bottom: 14px; }

  .page-art { padding: 96px 0 64px; }
  .page-art-short { padding: 82px 0 48px; }

  /* Mobile is always the compact cream bar */
  .site-header, .site-header.is-condensed {
    background: var(--cream);
    box-shadow: 0 1px 0 rgba(110, 20, 35, 0.14);
    border-bottom-color: rgba(110, 20, 35, 0.14);
  }

  .header-inner, .is-condensed .header-inner {
    gap: 16px;
    min-height: 60px;
  }

  .brand-lockup, .is-condensed .brand-lockup { gap: 12px; }

  .brand-cog, .is-condensed .brand-cog { width: 40px; height: 40px; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(110, 20, 35, 0.14);
    box-shadow: 0 10px 24px rgba(20, 20, 22, 0.12);
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
  }

  .site-nav a {
    display: block;
    padding: 14px var(--pad-x);
    min-height: 44px;
    border-bottom: 0;
  }

  .site-nav a[aria-current="page"] { border-bottom: 0; }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .doors { grid-template-columns: 1fr; }
  .door-card { aspect-ratio: 4 / 5; }
  .door-wide { aspect-ratio: 16 / 9; }
  .door-caption { opacity: 1; }

  .hero-search { flex-direction: column; padding: 12px; border-radius: 28px; }
  .hero-search input[type="search"] { text-align: center; }

  .def-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .contact-paths { grid-template-columns: 1fr; }
  .contact-path { padding: 44px 28px; }

  .wine-grid { grid-template-columns: 1fr; }
  .wine-grid.is-list .wine-card { flex-direction: column; align-items: stretch; gap: 12px; }
  .wine-grid.is-list .wine-card-body { flex-direction: column; gap: 6px; }
  .wine-grid.is-list .wine-card-foot {
    border-top: 1px solid var(--hairline);
    padding-top: 16px;
    flex-wrap: wrap;
    white-space: normal;
  }
  .wine-grid.is-list .wine-status { white-space: normal; }
  .clear-filters { margin-left: 0; }
  .cellar-meta { flex-direction: column; align-items: flex-start; }
  .cellar-controls { border-radius: 18px; padding: 16px; }

  .brand-name, .is-condensed .brand-name { font-size: 0.95rem; letter-spacing: 0.22em; }

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

  .frieze { height: clamp(160px, 28vh, 260px); }
}
