/* ==========================================================================
   Cellar & Vine — fictional winery template
   Design tokens: deep plum-black ground, bone-cream type, Fraunces display
   ========================================================================== */

:root {
  --ink: #140b10;
  --ink-soft: #1b1016;
  --ink-deep: #0b0609;
  --cream: #efeae1;
  --cream-78: rgba(239, 234, 225, 0.78);
  --cream-60: rgba(239, 234, 225, 0.6);
  --cream-45: rgba(239, 234, 225, 0.45);
  --line: rgba(239, 234, 225, 0.16);
  --line-soft: rgba(239, 234, 225, 0.09);
  --sand: #efe3c8;
  --wine: #7a2b34;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --pad: clamp(20px, 3.6vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

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

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

button { font: inherit; color: inherit; }

::selection { background: var(--sand); color: #1a0f12; }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--sand);
  color: #1a0f12;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* --------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 132px);
}

.section--soft { background: var(--ink-soft); }

.section--line { border-top: 1px solid var(--line-soft); }

/* --------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--plain::before { display: none; }

.h1,
.h2,
.h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.h1 { font-size: clamp(48px, 7.6vw, 96px); }

.h2 { font-size: clamp(34px, 4.6vw, 62px); }

.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.14; }

.h1 em,
.h2 em,
.h3 em { font-style: italic; letter-spacing: -0.015em; }

.lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.56;
  color: var(--cream-78);
}

.lead--wide { max-width: 62ch; }

.meta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-arrow span[aria-hidden] { transition: transform 0.3s var(--ease); }

.link-arrow:hover { color: var(--sand); border-color: var(--sand); }

.link-arrow:hover span[aria-hidden] { transform: translateX(5px); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.btn--sand { background: var(--sand); color: #1a0f12; }
.btn--sand:hover { background: #f7eedb; }

.btn--ghost {
  border-color: var(--line);
  color: var(--cream);
  background: rgba(239, 234, 225, 0.02);
}
.btn--ghost:hover { border-color: rgba(239, 234, 225, 0.5); color: var(--sand); }

.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(14, 8, 11, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-est {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-45);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.nav a {
  position: relative;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-78);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.header-actions .btn { padding: 11px 20px; font-size: 10px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}

.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }

.menu-toggle__bars i {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

/* Mobile drawer — closed by default via [hidden] */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink-deep);
  padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-nav__links { display: flex; flex-direction: column; gap: 2px; }

.mobile-nav__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 44px);
  letter-spacing: -0.02em;
}

.mobile-nav__links a small {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--cream-45);
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.mobile-nav__foot .btn { align-self: flex-start; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--ink-deep);
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(8, 4, 6, 0.72) 0%,
      rgba(8, 4, 6, 0.24) 34%,
      rgba(8, 4, 6, 0.55) 68%,
      rgba(8, 4, 6, 0.95) 100%
    ),
    radial-gradient(120% 90% at 20% 40%, rgba(8, 4, 6, 0.55), transparent 62%);
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--pad) clamp(48px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 34px);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 12.4vw, 152px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero__title span { display: block; }

.hero__title em {
  font-style: italic;
  letter-spacing: -0.02em;
  color: #f3eee6;
}

.hero__lead {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
  color: var(--cream-78);
}

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(18px, 4vw, 54px);
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-60);
  white-space: nowrap;
}

.hero__cue::before {
  content: "";
  width: 62px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero__stat {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
}

/* --------------------------------------------------------------- ticker */
.ticker {
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  padding-block: 16px;
  background: var(--ink);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-60);
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wine);
  opacity: 0.9;
}

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

/* --------------------------------------------------------------- section head */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4.4vw, 62px);
}

.section-head__text { max-width: 62ch; }

.section-head .lead { margin-top: 18px; }

/* --------------------------------------------------------------- wine cards */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.wine-card { display: flex; flex-direction: column; }

.wine-card__media {
  position: relative;
  overflow: hidden;
  background: #0e080c;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-soft);
}

.wine-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
  opacity: 0.94;
}

.wine-card:hover .wine-card__media img { transform: scale(1.045); opacity: 1; }

.wine-card__type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(10, 5, 8, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-78);
}

.wine-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}

.wine-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.wine-card__name { font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -0.02em; line-height: 1.16; }

.wine-card__varietal {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.wine-card__note {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--cream-60);
}

.wine-card .link-arrow { align-self: flex-start; margin-top: 6px; }

/* --------------------------------------------------------------- split blocks */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}

.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  overflow: hidden;
  background: #0e080c;
  border: 1px solid var(--line-soft);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

.split--tall .split__media img { aspect-ratio: 4 / 5; }

.split__body { display: flex; flex-direction: column; gap: 20px; }

.split__body .h2 { max-width: 18ch; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 10px;
}

.fact {
  background: var(--ink);
  padding: 20px;
}

.section--soft .fact { background: var(--ink-soft); }

.fact dt {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
  margin-bottom: 8px;
}

.fact dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------- visit band */
.visit-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
}

.visit-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.visit-band__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 5, 7, 0.94) 0%, rgba(9, 5, 7, 0.72) 48%, rgba(9, 5, 7, 0.42) 100%);
}

.visit-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-block: clamp(72px, 11vw, 150px);
}

.visit-band__body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.visit-band__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--cream-60);
}

.visit-band__aside strong { color: var(--cream); font-weight: 500; }

/* --------------------------------------------------------------- journal cards */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 42px);
}

.post-card { display: flex; flex-direction: column; gap: 16px; }

.post-card__media {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0e080c;
  aspect-ratio: 4 / 3;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}

.post-card:hover .post-card__media img { transform: scale(1.04); opacity: 1; }

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.post-card__title { font-size: clamp(21px, 1.8vw, 25px); letter-spacing: -0.02em; line-height: 1.2; }

.post-card__excerpt { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--cream-60); }

/* --------------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(40px, 6vw, 78px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero--image {
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  border-bottom: 0;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 4, 6, 0.78) 0%, rgba(8, 4, 6, 0.42) 40%, rgba(8, 4, 6, 0.96) 100%);
}

.page-hero__inner { display: flex; flex-direction: column; gap: 20px; }

.page-hero__title { max-width: 22ch; }

.page-hero__lead { max-width: 54ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
}

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

/* --------------------------------------------------------------- prose */
.prose {
  max-width: 68ch;
  font-size: clamp(17px, 1.25vw, 19.5px);
  line-height: 1.72;
  color: var(--cream-78);
  white-space: pre-line;
}

.prose--tight { max-width: 56ch; }

.prose p { margin: 0 0 1.1em; }

.article-body {
  max-width: 68ch;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.76;
  color: var(--cream-78);
  white-space: pre-line;
}

.article-body__first {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.58;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.rule { height: 1px; background: var(--line-soft); border: 0; margin: clamp(32px, 4vw, 56px) 0; }

.numbered {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.numbered li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
}

.numbered { margin: 0; padding: 0; }

.numbered .year {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cream-45);
}

.numbered .what { font-size: 21px; letter-spacing: -0.015em; }

.numbered .how { font-size: 15.5px; color: var(--cream-60); }

/* --------------------------------------------------------------- cards / chips */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 3vw, 44px);
}

.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-60);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.chip:hover { color: var(--cream); border-color: rgba(239, 234, 225, 0.42); }

.chip.is-active { background: var(--sand); border-color: var(--sand); color: #1a0f12; }

.filter-count {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
}

/* --------------------------------------------------------------- wine detail */
.wine-detail { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 80px); }

.wine-detail__media {
  position: relative;
  border: 1px solid var(--line-soft);
  background: #0e080c;
  overflow: hidden;
  align-self: start;
}

.wine-detail__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.wine-detail__body { display: flex; flex-direction: column; gap: 26px; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 0;
}

.spec-list > div { background: var(--ink); padding: 18px 20px; }

.spec-list dt {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
  margin-bottom: 6px;
}

.spec-list dd { margin: 0; font-size: 17px; letter-spacing: -0.01em; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
}

.note h4 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.note p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--cream-78); }

.disclaimer {
  padding: 16px 20px;
  border: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream-60);
}

/* --------------------------------------------------------------- form */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}

.form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line-soft);
  background: rgba(239, 234, 225, 0.018);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(10, 5, 8, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.field select { appearance: none; background-image: none; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(239, 234, 225, 0.32); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(239, 234, 225, 0.55);
  background: rgba(10, 5, 8, 0.78);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cream-60);
}

.checkbox input { width: 15px; height: 15px; margin-top: 2px; accent-color: #b9a07a; }

.form__note { font-family: var(--sans); font-size: 11.5px; line-height: 1.65; color: var(--cream-45); }

.form__feedback {
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}

.form__feedback--ok { border-color: rgba(180, 205, 160, 0.5); color: #d9e6cd; }

.form__feedback--err { border-color: rgba(226, 140, 140, 0.55); color: #f0c9c9; }

.info-list { display: grid; gap: 22px; margin: 0; }

.info-list > div { border-top: 1px solid var(--line-soft); padding-top: 16px; }

.info-list dt {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-45);
  margin-bottom: 8px;
}

.info-list dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--cream-78); }

/* --------------------------------------------------------------- not found */
.notfound {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-block: clamp(64px, 10vw, 140px);
}

.notfound .h1 { max-width: 24ch; }

/* --------------------------------------------------------------- footer */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(48px, 7vw, 96px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 34ch; }

.footer__wordmark { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; }

.footer__blurb { margin: 0; font-size: 15px; line-height: 1.65; color: var(--cream-45); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.footer__col h3 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer__col a,
.footer__col li { font-size: 15px; color: var(--cream-78); }

.footer__col a:hover { color: var(--sand); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-45);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .wine-grid,
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wine-detail { grid-template-columns: minmax(0, 1fr); }
  .wine-detail__media { max-width: 520px; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .header-actions .btn--sand { display: none; }
  .menu-toggle { display: inline-flex; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .visit-band__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero { min-height: 92svh; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero__stat { flex-wrap: wrap; gap: 16px 28px; }
  .numbered li { grid-template-columns: 64px minmax(0, 1fr); }
  .numbered .how { grid-column: 2; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wine-grid,
  .journal-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .notes-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .fact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cue::before { width: 36px; }
  .filter-count { margin-left: 0; width: 100%; }
  .page-hero--image { min-height: 54vh; }
}

@media (max-width: 460px) {
  .brand-est { display: none; }
  .hero__title { font-size: clamp(54px, 16vw, 76px); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .numbered { display: block; }
  .numbered li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .numbered .how { grid-column: 1; }
}

/* --------------------------------------------------------------- article / detail */
.section--first { padding-top: calc(var(--header-h) + clamp(36px, 5vw, 76px)); }

.article-head { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }

.article-hero {
  margin-top: clamp(26px, 3.4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0e080c;
}

.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.article-wrap {
  max-width: 760px;
  margin: clamp(32px, 4.4vw, 58px) auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  margin-top: 10px;
}

.article-foot__note {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-45);
}

@media (max-width: 720px) {
  .article-hero img { aspect-ratio: 16 / 10; }
}

/* Native select keeps its own arrow: reserve a text-safe area on the end side. */
.field select {
  padding-inline-end: 42px;
  background-image: none;
  background-color: transparent;
}

/* Utility modifiers used by the detail and estate layouts. */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line-soft);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__body { order: 1; }

.split--tall { align-items: stretch; }
.split--tall .split__media img { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .split--reverse .split__media,
  .split--reverse .split__body { order: 0; }
  .split--tall .split__media img { aspect-ratio: 4 / 3; }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
