/* Otero Valley Vineyards
   Deep red and gold from the label, sun-warmed plaster, and the Sacramento
   ridge line running through every page. English and Spanish as equals. */

:root {
  --wine-950: #230810;
  --wine-900: #380C15;
  --wine-800: #5C1321;
  --wine-700: #7A1C2D;
  --gold-200: #F0DDAE;
  --gold-300: #E2C07A;
  --gold-400: #CFA44B;
  --gold-700: #7A5610;
  --plaster: #FBF5EF;
  --adobe: #F1E1D4;
  --adobe-2: #E7CFBE;
  --ink: #26130F;
  --ink-soft: #5B4238;

  --display: "Gloock", "Georgia", serif;
  --serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --step--1: clamp(0.9rem, 0.87rem + 0.15vw, 0.98rem);
  --step-0: clamp(1.07rem, 1.01rem + 0.3vw, 1.2rem);
  --step-1: clamp(1.22rem, 1.1rem + 0.6vw, 1.55rem);
  --step-2: clamp(1.55rem, 1.28rem + 1.3vw, 2.3rem);
  --step-3: clamp(2.05rem, 1.45rem + 2.6vw, 3.6rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.8rem);
  --step-5: clamp(3rem, 1.4rem + 7.2vw, 8rem);
  --space-s: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  --space-m: clamp(1.6rem, 1.2rem + 2vw, 3rem);
  --space-l: clamp(3rem, 2rem + 5vw, 7rem);
}

/* ---------- Themes: each section sets its own palette ---------- */
.theme-plaster, .theme-adobe {
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --accent: var(--gold-700);
  --line: var(--wine-800);
  --rule: rgba(92, 19, 33, 0.2);
  --btn-bg: var(--wine-800);
  --btn-fg: var(--plaster);
  --btn-hover: var(--wine-700);
  --frame-a: #EAD5C5;
  --frame-b: #E1C6B3;
  --frame-ink: var(--ink-soft);
  color: var(--fg);
}
.theme-plaster { --bg: var(--plaster); background-color: var(--bg); }
.theme-adobe { --bg: var(--adobe); --frame-a: #E5CDBB; --frame-b: #DABDA8; background-color: var(--bg); }

.theme-wine, .theme-night {
  --fg: #FCF2E9;
  --fg-soft: #EDD5C9;
  --accent: var(--gold-300);
  --line: var(--gold-400);
  --rule: rgba(226, 192, 122, 0.32);
  --btn-bg: var(--gold-300);
  --btn-fg: var(--wine-950);
  --btn-hover: var(--gold-200);
  --frame-a: rgba(255, 236, 214, 0.08);
  --frame-b: rgba(255, 236, 214, 0.03);
  --frame-ink: #EDD5C9;
  color: var(--fg);
}
.theme-wine { --bg: var(--wine-800); background-color: var(--bg); }
.theme-night { --bg: var(--wine-900); background-color: var(--bg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 8rem; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--wine-900);
  font-kerning: normal;
}
img, svg { max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 2px; }
.theme-plaster :focus-visible, .theme-adobe :focus-visible { outline-color: var(--wine-800); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
.email { overflow-wrap: anywhere; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold-300); color: var(--wine-950);
  padding: 0.6rem 1rem; font-family: var(--sans); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-l); position: relative; }
.section-tight { padding-block: var(--space-m); }

/* ---------- Language: both always present, one leads ---------- */
/* Switchable body copy. Without :has() support both languages show, which is a safe fallback. */
body:has(#lang-en:checked) .t-es { display: none; }
body:has(#lang-es:checked) .t-en { display: none; }

/* Bilingual display pairs: the chosen language leads, the other follows in gold italic. */
.pair { display: flex; flex-direction: column; }
.pair > [lang] { display: block; }
.pair > [lang="es"],
body:has(#lang-es:checked) .pair > [lang="en"] {
  order: 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--sub, 0.46em);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  margin-top: 0.4em;
}
body:has(#lang-es:checked) .pair > [lang="es"] {
  order: 0;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin-top: 0;
}
.pair-inline { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.55em; row-gap: 0.1em; }
.pair-inline > [lang] { display: inline; }
.pair-inline > [lang="es"],
body:has(#lang-es:checked) .pair-inline > [lang="en"] {
  order: 2; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.92em;
  letter-spacing: 0; text-transform: none; opacity: 0.85;
}
body:has(#lang-es:checked) .pair-inline > [lang="es"] {
  order: 0; font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 1em; opacity: 1; letter-spacing: inherit;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(35, 8, 16, 0.96);
  color: #FCF2E9;
  border-bottom: 1px solid rgba(226, 192, 122, 0.28);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(35, 8, 16, 0.9); backdrop-filter: blur(8px); }
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.6rem 1.6rem;
  padding-block: 0.7rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand-mark { width: 54px; height: 26px; color: var(--gold-300); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.42rem; letter-spacing: 0.01em; }
.brand-sub { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); margin-top: 0.3rem; }

.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; justify-content: flex-end; }
.main-nav a {
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; text-decoration: none;
  color: #F4E4D9; padding: 0.35rem 0; display: inline-block; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #FFFFFF; border-bottom-color: rgba(226, 192, 122, 0.6); }
.main-nav a[aria-current="page"] { color: var(--gold-300); border-bottom-color: var(--gold-300); }

.lang-switch {
  display: inline-flex; align-items: center; position: relative;
  border: 1px solid rgba(226, 192, 122, 0.55); border-radius: 999px; padding: 3px;
}
.lang-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.lang-switch label {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.38rem 0.8rem; border-radius: 999px; cursor: pointer; color: #F4E4D9; line-height: 1.1;
}
.lang-switch label:hover { color: #FFFFFF; }
.lang-radio:checked + label { background: var(--gold-300); color: var(--wine-950); }
.lang-radio:focus-visible + label { outline: 3px solid var(--gold-200); outline-offset: 2px; }

.header-cta { white-space: nowrap; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; padding-block: 0.55rem; row-gap: 0.45rem; }
  .brand-mark { width: 40px; height: 20px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.16em; }
  .main-nav { grid-column: 1 / 2; grid-row: 2; }
  .main-nav ul { justify-content: flex-start; gap: 0 1.1rem; }
  .main-nav a { font-size: 0.92rem; padding: 0.3rem 0; }
  .header-cta { grid-column: 2; grid-row: 2; }
  .lang-switch { grid-column: 2; grid-row: 1; justify-self: end; }
}
@media (max-width: 430px) {
  .lang-switch label { padding: 0.36rem 0.62rem; font-size: 0.8rem; }
  .header-cta { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
  .main-nav ul { gap: 0 0.85rem; }
}

/* ---------- Buttons, links, chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.85rem 1.3rem; border-radius: 3px; text-decoration: none;
  background: var(--btn-bg, var(--gold-300)); color: var(--btn-fg, var(--wine-950));
  border: 1px solid transparent; transition: background-color 0.15s ease;
}
.btn:hover { background: var(--btn-hover, var(--gold-200)); }
.btn-small { padding: 0.55rem 0.95rem; font-size: 0.9rem; }
.site-header .btn { --btn-bg: var(--gold-300); --btn-fg: var(--wine-950); --btn-hover: var(--gold-200); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: rgba(127, 127, 127, 0.1); }
.btn .arrow { width: 1.1em; height: 1.1em; flex: none; }

.link-arrow {
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none;
  color: var(--fg); border-bottom: 1px solid var(--line); padding-bottom: 0.15rem;
}
.link-arrow:hover { border-bottom-width: 2px; }
.link-arrow svg { width: 1em; height: 1em; }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: center; margin-top: var(--space-s); }

.kicker {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block;
}
.kicker .pair-inline > [lang] { letter-spacing: inherit; }

.pending {
  display: inline-flex; align-items: flex-start; gap: 0.45rem; max-width: 100%;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500; line-height: 1.35;
  color: var(--fg-soft); border: 1px dashed var(--line); border-radius: 3px;
  padding: 0.35rem 0.6rem; margin-top: 0.5rem;
}
.pending::before { content: ""; width: 0.5rem; height: 0.5rem; margin-top: 0.3em; border-radius: 50%; border: 1.5px solid var(--accent); flex: none; }

/* ---------- Headings ---------- */
.h1 { font-family: var(--display); font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.01em; --sub: 0.34em; }
.h2 { font-family: var(--display); font-size: var(--step-3); line-height: 1.04; --sub: 0.5em; }
.h3 { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; --sub: 0.6em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--fg-soft); max-width: 38ch; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 0; }
.soft { color: var(--fg-soft); }

/* ---------- The ridge line ---------- */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ridge { display: block; width: 100%; height: clamp(34px, 6vw, 80px); color: var(--line); stroke-width: 1.6; }
.ridge-short { width: min(360px, 70%); height: 36px; }
.edge {
  display: block; width: 100%; height: clamp(46px, 8vw, 120px);
  margin-bottom: -1px;
}
.edge .fill { color: var(--next); }
.edge .stroke { color: var(--gold-400); stroke-width: 1.6; }
.edge-wrap { position: relative; margin-top: var(--space-m); }
.edge-mark {
  position: absolute; left: 55.67%; top: 18%;
  transform: translate(-50%, -100%);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-300); white-space: nowrap; text-align: center; line-height: 1.3;
}
.edge-mark::after { content: ""; display: block; width: 1px; height: clamp(12px, 2vw, 22px); background: var(--gold-300); margin: 0.3rem auto 0; }

/* ---------- Photograph frames (placeholders) ---------- */
.photo { margin: 0; }
.photo-frame {
  position: relative; width: 100%; aspect-ratio: var(--ratio, 4 / 3);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(92, 19, 33, 0.06) 14px 15px),
    linear-gradient(160deg, var(--frame-a), var(--frame-b));
  border: 1px solid var(--rule);
  overflow: hidden;
}
.theme-wine .photo-frame, .theme-night .photo-frame {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 236, 214, 0.05) 14px 15px),
    linear-gradient(160deg, var(--frame-a), var(--frame-b));
}
.photo-frame::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none;
}
.photo-frame .ridge-in {
  position: absolute; left: 0; right: 0; bottom: 18%; width: 100%; height: 34%;
  color: var(--frame-ink); opacity: 0.35; stroke-width: 1.2;
}
.photo-label {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500; line-height: 1.35;
  color: var(--frame-ink);
}
.photo-label svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: -0.05rem; }
.r-wide { --ratio: 21 / 9; }
.r-land { --ratio: 3 / 2; }
.r-portrait { --ratio: 4 / 5; }
.r-square { --ratio: 1 / 1; }
@media (max-width: 700px) {
  .r-wide { --ratio: 4 / 3; }
  .photo-label { left: 16px; right: 16px; bottom: 16px; font-size: 0.8rem; }
}

/* ---------- Icons ---------- */
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Home: hero ---------- */
.hero {
  padding-top: clamp(2.5rem, 2rem + 4vw, 6rem);
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(226, 150, 80, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(35, 8, 16, 0.5), transparent 70%),
    var(--wine-800);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--space-m) clamp(2rem, 5vw, 5rem); align-items: end; }
.hero .h1 { max-width: 12ch; }
.hero .lede { margin-top: var(--space-s); max-width: 40ch; color: var(--fg-soft); }
.walkin { font-family: var(--sans); font-size: 0.95rem; color: var(--fg-soft); }
.walkin strong { color: var(--fg); font-weight: 600; }

.facts { border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1; color: var(--accent); white-space: nowrap; }
.facts dt small { font-family: var(--serif); font-style: italic; font-size: 0.5em; color: var(--fg-soft); margin-right: 0.15em; }
.facts dd { margin: 0; font-family: var(--sans); font-size: 0.9rem; line-height: 1.35; color: var(--fg-soft); }

.hero-photo { margin-top: var(--space-m); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Home: two halves ---------- */
.halves { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; }
.half { padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); display: flex; flex-direction: column; gap: var(--space-s); }
.half .photo { margin: calc(-1 * clamp(1.5rem, 1rem + 2.5vw, 3.5rem)); margin-bottom: 0.4rem; }
.half .photo-frame { border: 0; }
.half-body { flex: 1; }
.half > .link-arrow { align-self: flex-start; }
.half-list { list-style: none; border-top: 1px solid var(--rule); margin-top: 1rem; }
.half-list li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 1.02rem; line-height: 1.45; }
.half-list .icon { color: var(--accent); margin-top: 0.05rem; width: 1.3rem; height: 1.3rem; }
.wine-names { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 0; margin-top: 1rem; font-family: var(--display); font-size: var(--step-1); }
.wine-names { gap: 0.3rem 1.4rem; }
.wine-names li { display: inline-flex; align-items: center; gap: 0.55rem; }
.wine-names li::before { content: ""; width: 0.42em; height: 0.42em; background: var(--accent); transform: rotate(45deg); flex: none; }
.and-mark {
  position: absolute; left: 50%; top: 0; z-index: 2;
  transform: translate(-50%, -50%);
  width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--gold-300); color: var(--wine-950);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.9rem; line-height: 1;
  box-shadow: 0 0 0 6px var(--plaster);
}
.and-mark span { display: block; margin-top: -0.1em; }
@media (max-width: 860px) {
  .halves { grid-template-columns: 1fr; }
  .and-mark { display: none; }
}

/* ---------- Home: Eduardo ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-m) clamp(2rem, 6vw, 6rem); align-items: start; }
.feature .photo { position: sticky; top: 7rem; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature .photo { position: static; max-width: 440px; }
}
.voice {
  position: relative; margin: var(--space-m) 0 0; padding: var(--space-m) 0 0 clamp(1.2rem, 3vw, 2.4rem);
  border-left: 2px solid var(--line);
}
.voice::before {
  content: "\201C"; position: absolute; top: -0.12em; left: clamp(0.8rem, 2.6vw, 2rem);
  font-family: var(--display); font-size: clamp(5rem, 4rem + 4vw, 8.5rem); line-height: 1; color: var(--accent); opacity: 0.9;
}
.voice-text { font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1.3; color: var(--fg); margin-top: 1.5rem; max-width: 30ch; }
.voice .pending { margin-top: 1rem; }
.signoff { margin-top: var(--space-s); display: flex; flex-direction: column; gap: 0.1rem; }
.signoff .name { font-family: var(--display); font-size: var(--step-2); line-height: 1; }
.signoff .role { font-family: var(--sans); font-size: 0.88rem; letter-spacing: 0.04em; color: var(--fg-soft); }

/* ---------- Home: sparkling ---------- */
.sparkling {
  background:
    radial-gradient(ellipse 50% 70% at 20% 50%, rgba(207, 164, 75, 0.16), transparent 70%),
    var(--wine-900);
  overflow: hidden;
}
.sparkling-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-m) clamp(2rem, 6vw, 6rem); align-items: center; }
.medal { width: min(100%, 320px); margin-inline: auto; color: var(--gold-300); position: relative; }
.medal svg { width: 100%; height: auto; display: block; }
.medal text { font-family: var(--sans); font-weight: 600; fill: var(--gold-300); stroke: none; }
.bubbles { position: absolute; inset: 0; pointer-events: none; color: var(--gold-400); opacity: 0.5; }
@media (max-width: 860px) {
  .sparkling-grid { grid-template-columns: 1fr; }
  .medal { width: min(70%, 240px); margin-inline: 0; }
}

/* ---------- Home: press ---------- */
.press { text-align: left; }
.press-quote { margin: 0; }
.press-quote blockquote { margin: 0; }
.press-quote .big {
  font-family: var(--display); font-size: var(--step-4); line-height: 1; letter-spacing: -0.01em; --sub: 0.4em;
}
.press-quote .ridge { margin: var(--space-s) 0; max-width: 640px; }
.press-quote figcaption { font-family: var(--sans); font-size: 0.98rem; color: var(--fg-soft); }

/* ---------- Home: events ---------- */
.events-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: var(--space-m); }
.events { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); }
.event { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding: clamp(1.2rem, 2.5vw, 2rem); background: var(--adobe); border-top: 3px solid var(--wine-800); }
.event-date {
  width: 7.2rem; min-height: 6rem; border: 1px solid var(--wine-800); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wine-800); padding: 0.5rem; line-height: 1.3;
}
.event-date .icon { width: 1.4rem; height: 1.4rem; margin-bottom: 0.3rem; }
.event h3 { font-family: var(--display); font-size: var(--step-1); line-height: 1.15; --sub: 0.78em; margin-bottom: 0.6rem; }
.event p { font-size: 1.02rem; color: var(--fg-soft); }
@media (max-width: 760px) {
  .events { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .event { grid-template-columns: 1fr; }
  .event-date { width: auto; min-height: 0; flex-direction: row; gap: 0.5rem; justify-content: flex-start; padding: 0.5rem 0.7rem; }
  .event-date .icon { margin: 0; }
}

/* ---------- Home: club ---------- */
.club {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(226, 150, 80, 0.18), transparent 70%),
    var(--wine-800);
}
.club-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-m) clamp(2rem, 6vw, 6rem); align-items: start; }
.seasons { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: var(--space-s) 0; }
.seasons li { border: 1px solid var(--rule); padding: 1rem 0.8rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.seasons .icon { width: 2rem; height: 2rem; color: var(--accent); }
.seasons .pair { font-family: var(--display); font-size: 1.25rem; line-height: 1.1; --sub: 0.72em; align-items: center; }
.perks { list-style: none; border-top: 1px solid var(--rule); }
.perks li { padding: 1rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; align-items: start; }
.perks .num { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--accent); }
.perks strong { font-family: var(--sans); font-weight: 600; font-size: 1rem; display: block; margin-bottom: 0.15rem; }
.perks span.t-en, .perks span.t-es { font-size: 1rem; color: var(--fg-soft); }
@media (max-width: 860px) {
  .club-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .seasons { grid-template-columns: 1fr; }
  .seasons li { flex-direction: row; justify-content: flex-start; text-align: left; }
  .seasons .pair { align-items: flex-start; }
}

/* ---------- Newsletter ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-m) clamp(2rem, 6vw, 6rem); align-items: center; }
.form { display: grid; gap: 1rem; }
.field label, .field legend { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input[type="email"] {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 0.8rem 0.9rem; border: 1px solid var(--ink-soft); border-radius: 3px;
  background: #FFFDFB; color: var(--ink);
}
.field input[type="email"]:focus-visible { outline: 3px solid var(--wine-800); outline-offset: 1px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-family: var(--sans); font-size: 0.98rem; }
.choice label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; margin: 0; cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--wine-800); margin: 0; }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-msg { font-family: var(--sans); font-size: 0.95rem; color: var(--wine-800); font-weight: 600; }
@media (max-width: 800px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-950); color: #F4E4D9; padding-bottom: 2.5rem; --fg: #FCF2E9; --fg-soft: #E6CDC0; --accent: var(--gold-300); --line: rgba(226, 192, 122, 0.6); --rule: rgba(226, 192, 122, 0.25); }
.site-footer .ridge { color: var(--gold-400); height: clamp(40px, 6vw, 80px); margin-bottom: var(--space-m); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.footer-grid h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 0.9rem; }
.footer-grid p, .footer-grid li { font-size: 1rem; line-height: 1.5; }
.footer-grid ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-grid a { color: #FCF2E9; }
.footer-grid .later { color: #D9BFB2; }
.footer-grid .footer-welcome { font-family: var(--display); font-size: var(--step-2); line-height: 1.05; color: #FCF2E9; margin-top: 1rem; --sub: 0.6em; }
.footer-grid .footer-welcome > [lang] { color: inherit; }
.footer-base { margin-top: var(--space-m); padding-top: 1.2rem; border-top: 1px solid rgba(226, 192, 122, 0.25); font-family: var(--sans); font-size: 0.85rem; color: #D9BFB2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: clamp(2.5rem, 2rem + 4vw, 6rem); padding-bottom: 0; }
.page-hero.theme-wine {
  background:
    radial-gradient(ellipse 70% 60% at 90% 0%, rgba(226, 150, 80, 0.2), transparent 70%),
    var(--wine-800);
}
.page-hero .h1 { max-width: 14ch; }
.page-hero .lede { margin-top: var(--space-s); max-width: 46ch; }

/* ---------- Story: timeline on the ridge ---------- */
.timeline { position: relative; margin-top: var(--space-m); }
.timeline .ridge { position: absolute; top: 0; left: 0; height: 120px; color: var(--gold-400); }
.timeline-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.timeline-list li { position: relative; padding: 140px 1rem 0; text-align: center; }
.timeline-list li::before {
  content: ""; position: absolute; left: 50%; top: var(--y); width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold-300); transform: translate(-50%, -50%); box-shadow: 0 0 0 5px rgba(226, 192, 122, 0.25);
}
.timeline-list li::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--y) + 10px); bottom: calc(100% - 128px); width: 1px; background: rgba(226, 192, 122, 0.55);
}
.tl-year { font-family: var(--display); font-size: var(--step-3); line-height: 1; color: var(--accent); display: block; }
.tl-what { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; margin-top: 0.5rem; --sub: 1em; align-items: center; }
.tl-what > [lang] { font-family: var(--sans); }
.timeline-list p { font-size: 1rem; color: var(--fg-soft); margin-top: 0.5rem; max-width: 26ch; margin-inline: auto; }
@media (max-width: 760px) {
  .timeline .ridge { display: none; }
  .timeline-list { grid-template-columns: 1fr; border-left: 1px solid rgba(226, 192, 122, 0.55); margin-left: 6px; }
  .timeline-list li { padding: 0 0 1.8rem 1.6rem; text-align: left; }
  .timeline-list li::before { left: 0; top: 0.9rem; }
  .timeline-list li::after { display: none; }
  .tl-what { align-items: flex-start; }
  .timeline-list p { margin-inline: 0; }
}

/* ---------- Story: chapters ---------- */
.chapter-head { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(1rem, 3vw, 2.5rem); align-items: start; margin-bottom: var(--space-m); }
.chapter-num { font-family: var(--display); font-size: clamp(3.5rem, 2.5rem + 5vw, 8rem); line-height: 0.8; color: var(--accent); }
.chapter-head .kicker { margin-bottom: 0.6rem; }
.columns { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-m) clamp(2rem, 5vw, 5rem); align-items: start; }
.columns-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 860px) { .columns, .columns-rev { grid-template-columns: 1fr; } }

.dropcap > p:first-of-type::first-letter {
  font-family: var(--display); float: left; font-size: 4.3em; line-height: 0.82; margin: 0.06em 0.12em 0 0; color: var(--accent);
}
.pull { font-family: var(--display); font-size: var(--step-2); line-height: 1.15; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem 0; margin: var(--space-s) 0; --sub: 0.62em; }

.contents { list-style: none; counter-reset: c; border-top: 1px solid var(--rule); margin-top: 1rem; }
.contents li { counter-increment: c; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.6rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; line-height: 1.45; }
.contents li::before { content: counter(c, upper-roman) "."; font-family: var(--display); color: var(--accent); font-size: 1.1rem; }

.proof { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: var(--space-s); }
.proof li { background: var(--bg); padding: 1.1rem 1.1rem 1.2rem; }
.proof .num { font-family: var(--display); font-size: var(--step-2); line-height: 1.05; color: var(--accent); display: block; margin-bottom: 0.35rem; }
.proof .txt { display: block; font-family: var(--sans); font-size: 0.92rem; line-height: 1.4; color: var(--fg-soft); }
@media (max-width: 420px) { .proof { grid-template-columns: 1fr; } }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m) clamp(1.5rem, 4vw, 4rem); }
.person h3 { margin: 1.2rem 0 0.25rem; }
.person .role { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; display: block; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

.handover { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; text-align: center; max-width: 30ch; margin: var(--space-m) auto 0; --sub: 0.62em; align-items: center; }

.cta-band { text-align: center; }
.cta-band .h2 { align-items: center; margin-inline: auto; }
.cta-band .actions { justify-content: center; }
.cta-band .ridge-short { margin: 0 auto var(--space-s); }

/* ---------- Visit ---------- */
.quick { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: var(--space-m); }
.quick li { background: var(--bg); padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; }
.quick .icon { color: var(--accent); width: 1.7rem; height: 1.7rem; }
.quick strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.quick li > span { font-family: var(--sans); font-size: 0.92rem; line-height: 1.4; color: var(--fg-soft); }
@media (max-width: 900px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .quick { grid-template-columns: 1fr; } }

.week { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 1.2rem; }
.week li {
  border: 1px solid var(--wine-800); padding: 0.8rem 0.2rem; text-align: center; font-family: var(--sans); line-height: 1.25; min-width: 0;
}
.week .d { display: block; font-weight: 600; font-size: 0.95rem; }
.week .h { display: block; font-size: 0.8rem; margin-top: 0.25rem; }
.week .open { background: var(--wine-800); color: #FCF2E9; }
.week .closed { color: var(--ink-soft); border-style: dashed; }
@media (max-width: 480px) {
  .week { gap: 3px; }
  .week li { padding: 0.6rem 0.1rem; }
  .week .d { font-size: 0.82rem; }
  .week .h { font-size: 0.72rem; }
}

.book-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-m) clamp(2rem, 5vw, 5rem); align-items: start; }
.book-card { border: 1px solid var(--rule); padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--adobe); }
.book-card h3 { font-family: var(--display); font-size: var(--step-1); line-height: 1.15; --sub: 0.78em; margin-bottom: 0.9rem; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--rule); margin: 1rem 0 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.6rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); font-size: 1.04rem; line-height: 1.45; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.35rem; line-height: 1.1; color: var(--accent); }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }

.routes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); margin-top: var(--space-s); }
.route { border-top: 3px solid var(--wine-800); background: var(--plaster); padding: 1.3rem 1.3rem 1.5rem; }
.route .icon { color: var(--accent); width: 1.8rem; height: 1.8rem; margin-bottom: 0.6rem; }
.route h3 { font-family: var(--display); font-size: var(--step-1); line-height: 1.15; --sub: 0.78em; margin-bottom: 0.6rem; }
.route .time { font-family: var(--display); font-size: var(--step-2); line-height: 1; color: var(--wine-800); display: block; margin-bottom: 0.5rem; }
.route p { font-size: 1.02rem; color: var(--fg-soft); }
@media (max-width: 640px) { .routes { grid-template-columns: 1fr; } }

.hours-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 1rem; margin-top: 1rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.hours-table th { font-weight: 600; }
.hours-table td { text-align: right; white-space: nowrap; padding-left: 1rem; }

.members-band .members-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); align-items: center; }
.members-band .free { font-family: var(--display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 0.9; color: var(--accent); --sub: 0.4em; }
@media (max-width: 860px) { .members-band .members-inner { grid-template-columns: 1fr; } }

.quiet { max-width: 60ch; }
.quiet .h3 { margin-bottom: 1rem; }

/* ---------- Print & motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn, .link-arrow, .main-nav a { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
}

/* Family roster: names, not numbered chapters */
.roster { list-style: none; border-top: 1px solid var(--rule); margin-top: 1rem; }
.roster li { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; line-height: 1.45; }
.roster strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin-right: 0.3rem; }

/* ---- Bench photographs: added AFTER the build, identically on every site. ----
   Each picture fills the frame the design drew, cropped from the centre; the frame keeps
   the size the design gave it (its label is hidden, not removed). */
[data-bench-frame="static"] { position: relative; }
[data-bench-frame] { isolation: isolate; overflow: hidden; }
[data-bench-frame] > .bench-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; z-index: -1; margin: 0; border: 0; }
[data-bench-frame]:not([data-bench-over]) .bench-label { visibility: hidden; }
[data-bench-frame][data-bench-frame]:not([data-bench-over])::before,
[data-bench-frame][data-bench-frame]:not([data-bench-over])::after { visibility: hidden; }  /* hidden, not removed: some designs size the frame with a pseudo-element */
[data-bench-over] .bench-label { display: none; }
[data-bench-over] > .bench-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bench-scrim) 0%, color-mix(in srgb, var(--bench-scrim) 88%, transparent) 42%, color-mix(in srgb, var(--bench-scrim) 35%, transparent) 72%, transparent 100%); }
@media (max-width: 700px) { [data-bench-over] > .bench-scrim { background: color-mix(in srgb, var(--bench-scrim) 82%, transparent); } }
