/* Otero Valley Vineyards
   Deep label red, gold, adobe paper. Fraunces for display, Newsreader to read, Archivo for small labels. */

:root {
  --red: #6b1424;
  --red-deep: #45101a;
  --red-night: #2e0b12;
  --gold: #d6b15e;
  --gold-soft: #e9d29a;
  --gold-ink: #74560f;
  --paper: #f7efe3;
  --paper-2: #f0dfcc;
  --adobe: #e6c9ae;
  --ink: #2a1a16;
  --muted: #5b463e;
  --rule: #d9c2a8;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.on-red :focus-visible, .on-red:focus-visible { outline-color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--label);
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Language switch: works with CSS alone, remembered with a little script ---------- */
html:has(#l-es:checked) .en { display: none !important; }
html:has(#l-en:checked) .es { display: none !important; }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--gold); border-radius: 999px; padding: 3px;
  font-family: var(--label); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  margin: 0; min-width: 0;
}
.lang legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lang input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lang label {
  cursor: pointer; padding: 7px 13px; border-radius: 999px; color: var(--gold-soft);
  line-height: 1; white-space: nowrap;
}
.lang input:checked + label { background: var(--gold); color: var(--red-night); }
.lang input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-head {
  background: var(--red-deep);
  color: var(--paper);
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(214, 177, 94, 0.45);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  padding-block: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--paper); text-decoration: none; margin-right: auto;
}
.brand:hover { color: var(--paper); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1; letter-spacing: 0.01em; }
.brand-name small {
  display: block; font-family: var(--label); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 5px;
}

.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-family: var(--label); font-size: 0.9rem; font-weight: 500; }
.nav a { color: var(--paper); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.head-tools { display: flex; align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .site-head { position: static; }
  .site-head .wrap { gap: 10px 14px; }
  .nav { order: 3; width: 100%; border-top: 1px solid rgba(214, 177, 94, 0.3); padding-top: 8px; gap: 4px 20px; }
  .head-tools .btn { display: none; }
}
@media (max-width: 420px) {
  .brand svg { width: 38px; height: 38px; }
  .brand-name { font-size: 1.02rem; }
  .lang label { padding: 7px 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--label); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.03em;
  padding: 13px 22px; border-radius: 2px; text-decoration: none; line-height: 1.2;
  background: var(--gold); color: var(--red-night); border: 1px solid var(--gold);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--gold-soft); color: var(--red-night); text-decoration: none; }
.btn.small { padding: 9px 16px; font-size: 0.84rem; }
.btn.red { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn.red:hover { background: var(--red-deep); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--paper); border-color: rgba(247, 239, 227, 0.6); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn.ghost-dark { background: transparent; color: var(--red); border-color: var(--red); }
.btn.ghost-dark:hover { background: var(--red); color: var(--paper); }
.btn .arrow { font-family: var(--text); }

.pending-btn {
  display: inline-flex; flex-direction: column; gap: 2px;
  font-family: var(--label); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 11px 18px; border: 1px dashed currentColor; border-radius: 2px; opacity: 0.92;
}
.pending-btn small { font-weight: 500; font-size: 0.74rem; letter-spacing: 0.02em; opacity: 0.85; }

/* ---------- Small type ---------- */
.kicker {
  font-family: var(--label); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink);
  margin: 0 0 1.1em; display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center;
}
.on-red .kicker, .kicker.light { color: var(--gold); }
.kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; }

.es-echo { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--gold-ink); }
.on-red .es-echo { color: var(--gold); }

.note {
  font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--muted);
  border-left: 2px solid var(--gold); padding-left: 10px; margin-top: 1.2em; line-height: 1.5;
}
.on-red .note { color: var(--gold-soft); }

/* ---------- Photograph frames (the photographs themselves are still to come) ---------- */
.photo {
  position: relative; margin: 0;
  background-color: var(--adobe);
  background-image: repeating-linear-gradient(135deg, rgba(107, 20, 36, 0.07) 0 2px, transparent 2px 14px);
  border: 1px solid rgba(107, 20, 36, 0.28);
  display: grid; place-items: center; text-align: center; overflow: hidden;
}
.photo figcaption, .photo .cap {
  font-family: var(--label); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--ink); background: rgba(247, 239, 227, 0.94); padding: 8px 14px; max-width: 86%;
  border: 1px solid rgba(107, 20, 36, 0.2); line-height: 1.4;
}
.photo figcaption b, .photo .cap b { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 3px; }
.photo.dark {
  background-color: #5a1a24;
  background-image: repeating-linear-gradient(135deg, rgba(214, 177, 94, 0.1) 0 2px, transparent 2px 14px);
  border-color: rgba(214, 177, 94, 0.4);
}

/* ---------- The ridge line ---------- */
.ridge { display: block; width: 100%; height: clamp(40px, 7vw, 90px); }
.ridge path { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ridge path.fill { fill: var(--paper); stroke: none; }
.ridge.ink path { stroke: var(--red); }
.ridge-divider { padding-block: clamp(28px, 5vw, 56px); }
.ridge-divider .ridge { height: clamp(28px, 4vw, 48px); }

/* ---------- Home hero ---------- */
.hero {
  background: var(--red-deep);
  color: var(--paper);
  position: relative;
  padding-top: clamp(40px, 7vw, 96px);
}
.hero-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero h1 {
  font-size: clamp(2.9rem, 1.4rem + 6.2vw, 7rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.025em; margin-bottom: 0.18em;
  color: var(--paper);
}
.hero h1 .es-line {
  display: block; font-weight: 400; font-style: italic; color: var(--gold);
  font-size: 0.5em; letter-spacing: -0.01em; margin-top: 0.3em; line-height: 1.05;
}
.hero-lede { font-size: clamp(1.14rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; max-width: 34ch; color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.hero-facts {
  list-style: none; margin: 1.6em 0 0; padding: 0;
  font-family: var(--label); font-size: 0.85rem; color: var(--gold-soft);
  display: grid; gap: 6px;
}
.hero-facts li { display: flex; gap: 10px; align-items: baseline; }
.hero-facts li::before { content: ""; width: 14px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }

.hero-stage { position: relative; margin-top: clamp(32px, 5vw, 64px); }
.hero-stage .photo { aspect-ratio: 21 / 8; min-height: 260px; }
.hero-stage .ridge-over {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 34%;
  pointer-events: none;
}
.altitude {
  position: absolute; right: clamp(12px, 3vw, 40px); top: clamp(12px, 3vw, 32px);
  background: var(--red-night); color: var(--gold); border: 1px solid var(--gold);
  font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 14px; text-align: right; line-height: 1.3;
}
.altitude strong { display: block; font-family: var(--display); font-size: 1.9rem; letter-spacing: -0.01em; text-transform: none; color: var(--paper); font-weight: 600; }

.stats {
  background: var(--red-night); color: var(--paper);
  border-top: 1px solid rgba(214, 177, 94, 0.35);
}
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 22px 18px 24px; border-left: 1px solid rgba(214, 177, 94, 0.25); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 600; color: var(--gold); line-height: 1.05; }
.stats li > span { font-family: var(--label); font-size: 0.82rem; color: var(--gold-soft); letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-stage .photo { aspect-ratio: 4 / 3; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(214, 177, 94, 0.25); }
}
@media (max-width: 480px) {
  .altitude { font-size: 0.64rem; padding: 8px 10px; }
  .altitude strong { font-size: 1.4rem; }
}

/* ---------- Two halves ---------- */
.halves { display: grid; grid-template-columns: 1fr 1fr; }
.half { padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); position: relative; }
.half.land { background: var(--red); color: var(--paper); }
.half.visit { background: var(--paper-2); }
.half h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.half h2 .es-echo { display: block; font-size: 0.55em; margin-top: 0.2em; }
.half .lead { font-size: 1.15em; max-width: 36ch; }
.half-inner { max-width: 520px; }
.half.land .half-inner { margin-left: auto; }
.wine-list { list-style: none; padding: 0; margin: 1.6em 0; border-top: 1px solid rgba(214, 177, 94, 0.45); }
.wine-list li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid rgba(214, 177, 94, 0.45);
  font-family: var(--display); font-size: 1.3rem;
}
.wine-list .t { font-family: var(--label); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); text-align: right; }
.hours-table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 1rem; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hours-table th { font-family: var(--label); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; width: 38%; padding-right: 12px; }
.half-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 1.6em; }
.half-foot a:not(.btn) { font-family: var(--label); font-size: 0.9rem; font-weight: 600; }
.half.land a:not(.btn) { color: var(--gold-soft); }
.half.land .muted { color: var(--gold-soft); font-family: var(--label); font-size: 0.84rem; }

@media (max-width: 860px) {
  .halves { grid-template-columns: 1fr; }
  .half.land .half-inner { margin-left: 0; }
}

/* ---------- Eduardo ---------- */
.section { padding-block: clamp(56px, 8vw, 120px); }
.eduardo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.eduardo-grid .photo { aspect-ratio: 4 / 5; }
.eduardo h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); }
.eduardo h2 .es-echo { display: block; font-size: 0.5em; margin-top: 0.25em; }

.voice {
  display: flow-root;
  position: relative; margin: 2.4em 0 1.8em; padding: 46px 28px 26px 30px;
  border: 1px dashed var(--gold-ink); background: rgba(240, 223, 204, 0.55);
}
.voice::before {
  content: "\201C"; position: absolute; top: -0.42em; left: 16px;
  font-family: var(--display); font-size: 5.6rem; line-height: 1; color: var(--red); background: var(--paper); padding: 0 8px;
}
.voice p { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); line-height: 1.35; color: var(--ink); margin-bottom: 0.4em; }
.voice .lines { display: grid; gap: 12px; margin: 18px 0 14px; }
.voice .lines span { display: block; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 10px, transparent 10px 16px); }
.voice .lines span:nth-child(2) { width: 88%; }
.voice .lines span:nth-child(3) { width: 64%; }
.voice cite { font-style: normal; font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); }

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 1.4em; border-top: 1px solid var(--rule); padding-top: 18px; }
.fact-row div { font-size: 0.96rem; line-height: 1.45; color: var(--muted); }
.fact-row strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--red); font-weight: 600; line-height: 1.1; }

@media (max-width: 860px) {
  .eduardo-grid { grid-template-columns: 1fr; }
  .eduardo-grid .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .fact-row { grid-template-columns: 1fr; } }

/* ---------- Sparkling ---------- */
.sparkling { background: var(--paper-2); border-block: 1px solid var(--rule); }
.sparkling-grid { display: grid; grid-template-columns: 1fr 1.2fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.sparkling .photo { aspect-ratio: 3 / 5; max-height: 560px; }
.sparkling h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.sparkling h2 .es-echo { display: block; font-size: 0.55em; margin-top: 0.2em; }
.medal { text-align: center; }
.medal svg { width: min(220px, 70%); height: auto; display: block; margin: 0 auto 14px; }
.medal p { font-family: var(--label); font-size: 0.82rem; color: var(--muted); max-width: 26ch; margin-inline: auto; }
@media (max-width: 960px) {
  .sparkling-grid { grid-template-columns: 1fr 1fr; }
  .sparkling .copy { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 560px) {
  .sparkling-grid { grid-template-columns: 1fr; }
  .sparkling .photo { aspect-ratio: 4 / 3; }
}

/* ---------- Press ---------- */
.press { background: var(--red); color: var(--paper); text-align: center; padding-block: clamp(64px, 9vw, 130px); position: relative; overflow: hidden; }
.press blockquote { margin: 0 auto; }
.press blockquote p {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(2.6rem, 1.2rem + 6vw, 6.4rem); line-height: 1; letter-spacing: -0.02em; margin: 0 auto; max-width: 13ch;
}
.press blockquote p .es { display: block; }
.press figcaption { font-family: var(--label); font-size: 0.86rem; letter-spacing: 0.05em; color: var(--gold-soft); margin-top: 1.6em; }
.press figcaption .src { display: block; font-size: 0.76rem; opacity: 0.9; margin-top: 4px; }
.press .ridge { position: absolute; left: 0; right: 0; bottom: -1px; }

/* ---------- Events ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin: 0; }
.section-head h2 .es-echo { display: block; font-size: 0.55em; margin-top: 0.2em; }
.section-head p { max-width: 44ch; margin: 0; color: var(--muted); }
.events { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.event { border-top: 3px solid var(--red); padding-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 0 22px; }
.event .date {
  width: 92px; height: 104px; border: 1px dashed var(--gold-ink); display: grid; place-items: center; text-align: center;
  font-family: var(--label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); padding: 6px; line-height: 1.3;
}
.event h3 { font-size: 1.7rem; margin-bottom: 0.3em; }
.event p { color: var(--muted); margin-bottom: 0.6em; }
.gather-note { margin-top: clamp(28px, 4vw, 48px); padding: 22px 24px; background: var(--paper-2); display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.gather-note p { margin: 0; max-width: 62ch; }
@media (max-width: 760px) { .events { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .event { grid-template-columns: 1fr; } .event .date { width: auto; height: auto; margin-bottom: 14px; justify-items: start; } }

/* ---------- Club ---------- */
.club { background: var(--red-deep); color: var(--paper); }
.club-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.club h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); }
.club h2 .es-echo { display: block; font-size: 0.5em; margin-top: 0.2em; }
.seasons { list-style: none; margin: 0 0 1.8em; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(214, 177, 94, 0.5); }
.seasons li { padding: 18px 14px; text-align: center; border-left: 1px solid rgba(214, 177, 94, 0.5); }
.seasons li:first-child { border-left: 0; }
.seasons svg { width: 34px; height: 34px; display: block; margin: 0 auto 8px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.seasons strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.seasons li > span { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.perks { list-style: none; padding: 0; margin: 0 0 1.8em; }
.perks li { padding: 12px 0 12px 32px; border-bottom: 1px solid rgba(214, 177, 94, 0.3); position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 18px; height: 9px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }
.club-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--gold-soft); }
@media (max-width: 860px) { .club-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .seasons strong { font-size: 1.05rem; } .seasons li { padding: 14px 6px; } }

/* ---------- Newsletter ---------- */
.newsletter-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; border: 1px solid var(--rule); padding: clamp(24px, 4vw, 56px); background: #fbf6ee; }
.newsletter-box h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); }
.newsletter-box h2 .es-echo { display: block; font-size: 0.6em; margin-top: 0.2em; }
.form { display: grid; gap: 14px; }
.form label { font-family: var(--label); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--text); font-size: 1.05rem; padding: 12px 14px;
  border: 1px solid #8f7563; border-radius: 2px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold-ink); outline-offset: 1px; border-color: var(--red); }
.form .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.form .row .btn { height: 50px; }
.form-small { font-family: var(--label); font-size: 0.78rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .newsletter-box { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--red-night); color: var(--paper); padding-bottom: 36px; margin-top: 0; }
.site-foot .ridge { margin-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font-family: var(--label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1em; }
.site-foot p, .site-foot li { font-size: 0.98rem; color: #efe3d2; }
.site-foot a { color: var(--gold-soft); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot .soon { color: #cdb9a4; }
.site-foot .foot-sign { font-family: var(--display); font-size: 1.7rem; font-style: italic; color: var(--paper); line-height: 1.2; margin-bottom: 0.4em; }
.foot-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(214, 177, 94, 0.3); font-family: var(--label); font-size: 0.78rem; color: #cdb9a4; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page heroes ---------- */
.page-hero { background: var(--red-deep); color: var(--paper); padding-top: clamp(44px, 7vw, 96px); position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 1.3rem + 5vw, 6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.02em; max-width: 14ch; }
.page-hero h1 .es-line { display: block; font-weight: 400; font-style: italic; color: var(--gold); font-size: 0.48em; margin-top: 0.35em; line-height: 1.1; }
.page-hero .lede { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.36rem); max-width: 46ch; }
.page-hero .ridge { margin-top: clamp(32px, 5vw, 60px); height: clamp(50px, 8vw, 110px); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Story: chapters ---------- */
.chapter { padding-block: clamp(56px, 8vw, 112px); border-bottom: 1px solid var(--rule); }
.chapter:last-of-type { border-bottom: 0; }
.chapter-grid { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 64px); }
.chapter-mark { position: relative; }
.chapter-mark .num { font-family: var(--display); font-size: clamp(3.4rem, 2rem + 4vw, 6rem); font-weight: 300; color: var(--red); line-height: 0.9; display: block; }
.chapter-mark .when { font-family: var(--label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-top: 10px; }
.chapter-mark::after { content: ""; display: block; width: 1px; height: 80px; background: var(--gold); margin-top: 18px; }
.chapter h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); max-width: 18ch; }
.chapter h2 .es-echo { display: block; font-size: 0.5em; margin-top: 0.25em; }
.columns { columns: 2 300px; column-gap: clamp(24px, 4vw, 56px); }
.columns p { break-inside: avoid; }
.dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.2em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--red); font-weight: 600; }
.inset { float: right; width: min(46%, 440px); margin: 0.4em 0 1.2em clamp(20px, 3vw, 40px); aspect-ratio: 4 / 3; shape-outside: margin-box; }
.inset.left { float: left; margin: 0.4em clamp(20px, 3vw, 40px) 1.2em 0; }
.clear { clear: both; }
@media (max-width: 700px) {
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-mark { display: flex; align-items: baseline; gap: 16px; }
  .chapter-mark::after { display: none; }
  .inset, .inset.left { float: none; width: 100%; margin: 0 0 1.4em; }
}

.pull {
  font-family: var(--display); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.2; color: var(--red);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 22px 0; margin: 1.4em 0; font-weight: 500;
}
.pull small { display: block; font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--muted); margin-top: 10px; text-transform: uppercase; font-weight: 600; }

.turning { background: var(--red); color: var(--paper); padding: clamp(28px, 4vw, 48px); margin: 2em 0; position: relative; }
.turning .said { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.2; margin-bottom: 0.4em; }
.turning .said s { text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.turning p:last-child { margin: 0; color: var(--gold-soft); }

.daughters { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); margin-top: 1.6em; }
.person { background: #fbf6ee; border: 1px solid var(--rule); }
.person .photo { aspect-ratio: 4 / 3; border: 0; border-bottom: 1px solid var(--rule); }
.person-body { padding: clamp(20px, 3vw, 32px); }
.person .role { font-family: var(--label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.4em; }
.person h3 { font-size: 2.1rem; margin-bottom: 0.3em; }
.person p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .daughters { grid-template-columns: 1fr; } }

.family-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.family-band .photo { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .family-band { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(214, 177, 94, 0.5); margin-top: clamp(28px, 4vw, 48px); }
.timeline li { padding: 18px 18px 0 0; }
.timeline strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: var(--gold); font-weight: 600; line-height: 1; margin-bottom: 6px; }
.timeline span { font-family: var(--label); font-size: 0.84rem; color: var(--gold-soft); }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline li { padding: 14px 0 0; } }

.cta-band { background: var(--paper); border-top: 1px solid var(--rule); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-block: clamp(40px, 6vw, 72px); }
.cta-band h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); margin: 0; }
.cta-band h2 .es-echo { display: block; font-size: 0.6em; margin-top: 0.2em; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Visit ---------- */
.visit-card {
  background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 34px); border-top: 4px solid var(--gold);
}
.visit-card h2 { font-family: var(--label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8em; }
.visit-card .big { font-family: var(--display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.1; margin-bottom: 0.3em; font-weight: 600; }
.visit-card p { margin-bottom: 0.5em; }
.visit-card .closed { font-family: var(--label); font-size: 0.84rem; color: var(--muted); }

.book-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.book-grid h2, .tour h2, .directions h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.book-grid h2 .es-echo, .tour h2 .es-echo, .directions h2 .es-echo { display: block; font-size: 0.52em; margin-top: 0.22em; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.4em 0; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 56px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 38px; height: 38px; border: 1px solid var(--red); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem; color: var(--red); }
.steps strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; display: block; }
.book-panel { background: var(--red); color: var(--paper); padding: clamp(24px, 4vw, 44px); }
.book-panel h3 { font-size: 1.8rem; }
.book-panel .btn { width: 100%; margin: 0.6em 0 1em; }
.calendar-slot {
  border: 1px dashed var(--gold); padding: 22px; text-align: center; margin-top: 1.2em;
  font-family: var(--label); font-size: 0.84rem; color: var(--gold-soft);
}
.calendar-slot svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; stroke-width: 1.4; display: block; margin: 0 auto 8px; }
.walkin { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0 0; border-top: 1px solid rgba(214, 177, 94, 0.4); margin-top: 1em; }
.walkin svg { width: 32px; height: 32px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.walkin p { margin: 0; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }

.tour { background: var(--paper-2); border-block: 1px solid var(--rule); }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tour .photo { aspect-ratio: 5 / 4; }
.tbc { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 1.4em 0; }
.tbc div { background: #fbf6ee; padding: 14px 16px; }
.tbc dt { font-family: var(--label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.tbc dd { margin: 4px 0 0; font-style: italic; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 860px) { .tour-grid { grid-template-columns: 1fr; } .tour .photo { order: -1; } }

.directions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.route { border-top: 3px solid var(--red); padding-top: 18px; margin-bottom: 28px; }
.route h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.route .time { font-family: var(--label); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.6em; display: block; }
.map { aspect-ratio: 1 / 1; max-height: 560px; }
.address { font-family: var(--display); font-size: 1.4rem; line-height: 1.3; margin: 1em 0 0.3em; }
@media (max-width: 860px) { .directions-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

.members { background: var(--red-deep); color: var(--paper); }
.members-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.members .badge { width: 110px; height: 110px; }
.members h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); margin-bottom: 0.3em; }
.members h2 .es-echo { display: block; font-size: 0.56em; }
.members p { margin: 0; color: #efe3d2; max-width: 56ch; }
@media (max-width: 860px) { .members-inner { grid-template-columns: 1fr; } .members .badge { width: 84px; height: 84px; } }

/* ---------- Motion (enhancement only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .draw path.line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.6s ease-out 0.2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---- 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); } }
