/* Otero Valley Vineyards
   Deep red and gold from the label, warm cream and sand, the Sacramento
   mountain line running through every page. Fraunces for display,
   Karla for reading. */

:root {
  --red: #6e1b22;
  --red-deep: #4a1016;
  --red-ink: #3a0c11;
  --gold: #c79b3b;
  --gold-pale: #e9d39a;
  --gold-line: #b8903a;
  --cream: #f7f0e4;
  --cream-2: #fbf7ef;
  --sand: #ebdfc9;
  --sand-2: #dfd0b4;
  --ink: #2b1b18;
  --ink-soft: #5b4640;
  --white: #fffdf8;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Karla", "Helvetica Neue", Arial, sans-serif;

  --measure: 64ch;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(56px, 9vw, 128px);
  --radius: 6px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.25rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration-color: var(--gold-line); text-underline-offset: .16em; }
a:hover { color: var(--red-deep); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

em { font-style: italic; }
.i { font-family: var(--display); font-style: italic; font-weight: 400; }

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

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

/* ---------- Language switch (no JavaScript needed) ---------- */
/* English shows by default; checking #lang-es shows Spanish instead.
   Browsers without :has() show both languages, still readable. */

html:has(#lang-es:checked) .l-en { display: none !important; }
html:not(:has(#lang-es:checked)) .l-es { display: none !important; }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--gold-line);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--text);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
}
.lang-switch label {
  padding: .35rem .8rem;
  cursor: pointer;
  color: var(--red);
  background: transparent;
  line-height: 1.4;
}
.lang-switch label + label { border-left: 1.5px solid var(--gold-line); }
html:not(:has(#lang-es:checked)) .lang-switch label[for="lang-en"],
html:has(#lang-es:checked) .lang-switch label[for="lang-es"] {
  background: var(--red);
  color: var(--cream);
}
html:has(#lang-en:focus-visible) .lang-switch label[for="lang-en"],
html:has(#lang-es:focus-visible) .lang-switch label[for="lang-es"] {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--cream-2);
  border-bottom: 1px solid var(--sand-2);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: .9rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 52px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-name small {
  display: block;
  font-family: var(--text);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: .35rem;
}
.header-tools { display: flex; align-items: center; gap: .9rem; margin-left: auto; }

.site-nav { width: 100%; border-top: 1px solid var(--sand); }
.site-nav ul {
  list-style: none;
  margin: 0; padding: .55rem 0;
  display: flex; flex-wrap: wrap;
  gap: .25rem 1.4rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.site-nav a { color: var(--ink); text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.site-nav .soon { color: var(--ink-soft); font-weight: 500; }

@media (min-width: 980px) {
  .header-row { flex-wrap: nowrap; padding: 1.1rem 0; }
  .site-nav { width: auto; border-top: 0; order: 2; margin-left: 2rem; }
  .site-nav ul { padding: 0; gap: 1.5rem; }
  .header-tools { order: 3; }
}

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

.btn {
  display: inline-block;
  font-family: var(--text);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--cream); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--ink); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--red); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--red-deep); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn span { display: inline; }

.pending {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1.5px dashed var(--gold-line);
  border-radius: 999px;
  padding: .45rem .9rem;
  background: var(--cream-2);
}

/* ---------- Labels, eyebrows, rules ---------- */

.eyebrow {
  display: block;
  font-family: var(--text);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.on-red .eyebrow { color: var(--gold-pale); }

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink);
}
.on-red .lede, .on-ink .lede, .half-visit .lede { color: var(--cream); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.gold-rule {
  width: 64px; height: 3px;
  background: var(--gold);
  border: 0; margin: 1.25rem 0;
}

/* The mountain line: the label's Sacramento outline, used as a divider */
.range { display: block; width: 100%; height: auto; color: var(--gold-line); }
.range-divider { padding: 0; line-height: 0; }
.range-divider .range { color: var(--gold-line); opacity: .9; }
.on-red .range { color: var(--gold); }

/* ---------- Photograph frames (photos to be supplied) ---------- */

.photo {
  margin: 0;
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(110,27,34,.06) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%);
  border: 1px solid var(--gold-line);
  outline: 1px solid var(--cream);
  outline-offset: -8px;
  overflow: hidden;
  min-height: 160px;
}
.photo::before { content: ""; display: block; padding-top: var(--ratio, 66.6%); }
.photo .photo-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.photo .photo-label::before {
  content: "";
  width: 34px; height: 34px;
  margin-bottom: .7rem;
  border: 1.5px solid var(--gold-line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, var(--gold-line) 0 3px, transparent 3.5px);
}
.photo .photo-label .cap { font-family: var(--display); text-transform: none; letter-spacing: 0; font-weight: 500; font-style: italic; font-size: 1.05rem; color: var(--ink); margin-top: .25rem; }
.photo.wide { --ratio: 42%; }
.photo.tall { --ratio: 125%; }
.photo.square { --ratio: 100%; }
.photo.portrait { --ratio: 118%; }
.photo.on-dark { background: repeating-linear-gradient(135deg, rgba(199,155,59,.09) 0 1px, transparent 1px 14px), linear-gradient(180deg, #5a151c, #3f0d12); border-color: var(--gold); outline-color: rgba(233,211,154,.35); }
.photo.on-dark .photo-label { color: var(--gold-pale); }
.photo.on-dark .photo-label .cap { color: var(--cream); }
.photo.on-dark .photo-label::before { border-color: var(--gold); background: radial-gradient(circle at 50% 42%, var(--gold) 0 3px, transparent 3.5px); }

figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .6rem; }

/* ---------- Sections ---------- */

section { padding: var(--space) 0; }
.tight { padding: calc(var(--space) * .6) 0; }
.on-red { background: var(--red); color: var(--cream); }
.on-red h1, .on-red h2, .on-red h3 { color: var(--white); }
.on-red a { color: var(--gold-pale); text-decoration-color: var(--gold); }
.on-red a:hover { color: var(--white); }
.on-red .muted { color: var(--gold-pale); }
.on-sand { background: var(--sand); }
.on-white { background: var(--cream-2); }
.on-ink { background: var(--red-ink); color: var(--cream); }
.on-ink h2, .on-ink h3 { color: var(--white); }
.on-ink .eyebrow { color: var(--gold); }
.on-ink a { color: var(--gold-pale); text-decoration-color: var(--gold); }

.grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-5-7 { grid-template-columns: 5fr 7fr; }
  .grid-7-5 { grid-template-columns: 7fr 5fr; }
  .grid-4-8 { grid-template-columns: 4fr 8fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .sticky { position: sticky; top: 1.5rem; }
  .span-2 { grid-column: span 2; }
}
@media (min-width: 560px) and (max-width: 799px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Hero ---------- */

.hero { padding: 0; position: relative; }
.hero-photo { --ratio: 46%; min-height: 380px; border-left: 0; border-right: 0; border-top: 0; outline: none; }
@media (min-width: 800px) { .hero-photo { --ratio: 40%; } }
@media (min-width: 1200px) { .hero-photo { --ratio: 36%; } }
.hero-photo .photo-label { justify-content: flex-start; align-items: flex-end; text-align: right; padding: 2rem clamp(16px, 4vw, 48px); }
.hero-photo .photo-label span { max-width: 34ch; }

.hero-card {
  position: relative;
  margin-top: clamp(-96px, -9vw, -150px);
  background: var(--red);
  color: var(--cream);
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 860px;
  box-shadow: 0 24px 60px rgba(43,27,24,.18);
  border-top: 4px solid var(--gold);
}
.hero-card h1 { color: var(--white); margin-bottom: .35em; }
.hero-card h1 .i { color: var(--gold-pale); }
.hero-card .lede { color: var(--cream); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.5rem; align-items: center; }
.hero-note { font-size: .9rem; color: var(--gold-pale); margin-top: 1rem; }

.stats {
  list-style: none; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  padding: 2.25rem 0 0;
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 2px solid var(--gold-line); padding-top: .75rem; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--red);
  margin-bottom: .3rem;
}
.stat span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Two halves ---------- */

.halves { display: grid; gap: 0; border: 1px solid var(--gold-line); background: var(--cream-2); }
@media (min-width: 800px) { .halves { grid-template-columns: 1fr 1fr; } }
.half { padding: clamp(1.5rem, 3.5vw, 3rem); }
.half + .half { border-top: 1px solid var(--gold-line); }
@media (min-width: 800px) { .half + .half { border-top: 0; border-left: 1px solid var(--gold-line); } }
.half .photo { margin-bottom: 1.5rem; }
.half h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.half ul { padding-left: 1.1rem; margin: 0 0 1.25rem; }
.half li { margin-bottom: .35rem; }
.half-visit { background: var(--red); color: var(--cream); }
.half-visit h2 { color: var(--white); }
.half-visit .eyebrow { color: var(--gold-pale); }
.half-visit a:not(.btn) { color: var(--gold-pale); }

/* ---------- Eduardo ---------- */

.voice { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.45; color: var(--ink); max-width: 34em; }
.voice p { max-width: none; }
.voice p::first-letter { }
.voice-name { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; font-weight: 700; }
.voice-name::before { content: ""; width: 40px; height: 2px; background: var(--gold); }
.voice-name span { display: block; font-weight: 500; color: var(--ink-soft); font-size: .9rem; }

blockquote { margin: 0; }
.pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.2;
  color: var(--white);
  max-width: 24ch;
}
.pull .mark { color: var(--gold); }
.cite { display: block; margin-top: 1.25rem; font-size: .95rem; color: var(--gold-pale); font-style: normal; }

/* ---------- Medal ---------- */

.medal { display: flex; gap: 1.25rem; align-items: flex-start; }
.medal svg { width: 72px; height: 88px; flex: none; }
.medal h3 { margin-bottom: .25rem; }
.card {
  background: var(--cream-2);
  border: 1px solid var(--sand-2);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius);
}
.on-red .card { background: rgba(255,253,248,.07); border-color: rgba(233,211,154,.35); color: var(--cream); }
.on-red .card h3, .on-red .card h4 { color: var(--white); }

/* ---------- Events ---------- */

.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); }
@media (min-width: 800px) { .events { grid-template-columns: 1fr 1fr; } }
.event { background: var(--cream-2); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.date-badge {
  width: 74px; text-align: center;
  border: 1.5px solid var(--red);
  border-radius: var(--radius);
  padding: .5rem .25rem;
  font-family: var(--display);
  color: var(--red);
  line-height: 1.05;
}
.date-badge b { display: block; font-size: 1.3rem; font-weight: 700; }
.date-badge span { display: block; font-family: var(--text); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.event h3 { margin-bottom: .3rem; }
.event p { margin-bottom: .75rem; }

/* ---------- Club and newsletter ---------- */

.perks { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .9rem; }
.perks li { display: grid; grid-template-columns: 30px 1fr; gap: .8rem; align-items: start; }
.perks svg { width: 30px; height: 30px; color: var(--gold); }
.perks b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }

form { max-width: 640px; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.on-red .field .hint, .on-ink .field .hint { color: var(--gold-pale); }
input[type="text"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  font: inherit;
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--sand-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--red); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.inline-form { display: flex; flex-wrap: wrap; gap: .75rem; max-width: 560px; }
.inline-form input { flex: 1 1 240px; }
.consent { font-size: .85rem; color: var(--ink-soft); max-width: 46ch; }
.on-ink .consent { color: var(--gold-pale); }
.on-ink input { border-color: rgba(233,211,154,.4); }

/* ---------- Story page ---------- */

.page-head { padding: calc(var(--space) * .75) 0 calc(var(--space) * .5); }
.page-head h1 { max-width: 14ch; }
.page-head .lede { max-width: 56ch; }

.chapter { position: relative; }
.chapter-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--gold-line);
  display: block;
  margin-bottom: .5rem;
}
.prose p { font-size: 1.1rem; }
.prose p + p { text-indent: 0; }
.dropcap p:first-of-type::first-letter {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.4em;
  float: left;
  line-height: .8;
  margin: .08em .1em 0 0;
  color: var(--red);
}
.on-red .dropcap p:first-of-type::first-letter { color: var(--gold); }

.timeline { list-style: none; margin: 2rem 0 0; padding: 0; border-left: 2px solid var(--gold-line); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--red); border: 2px solid var(--cream); }
.timeline b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--red); }

.people { display: grid; gap: 1.5rem; }
@media (min-width: 560px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person .photo { margin-bottom: 1rem; }
.person h3 { margin-bottom: .15rem; font-size: 1.35rem; }
.person .role { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.person p { font-size: .98rem; }

.aside-note {
  border-left: 3px solid var(--gold);
  padding: .25rem 0 .25rem 1.25rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Visit page ---------- */

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { background: var(--cream-2); padding: 1.25rem 1.4rem; }
.facts b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--red); margin-bottom: .2rem; }
.facts span { font-size: .95rem; color: var(--ink-soft); }

.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--sand-2); }
.hours th { font-weight: 700; }
.hours .closed td, .hours .closed th { color: var(--ink-soft); }
.on-red .hours th, .on-red .hours td { border-bottom-color: rgba(233,211,154,.35); }
.on-red .hours .closed td, .on-red .hours .closed th { color: var(--gold-pale); }

.route { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .route { grid-template-columns: 1fr 1fr; } }
.route h3 { font-size: 1.3rem; }
.route .from { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .3rem; }

.checklist { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.checklist li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }

.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); border: 1.5px solid var(--red); border-radius: 999px; padding: .2rem .6rem; }
.on-red .tag { color: var(--gold-pale); border-color: var(--gold-pale); }

/* ---------- Footer ---------- */

.site-footer { background: var(--red-ink); color: var(--cream); padding: 3.5rem 0 2.5rem; font-size: .95rem; }
.site-footer a { color: var(--gold-pale); text-decoration-color: var(--gold); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--gold); font-family: var(--text); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid .soon { color: rgba(247,240,228,.7); }
.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .brand-name small { color: var(--gold); }
.footer-brand p { max-width: 38ch; color: rgba(247,240,228,.85); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(199,155,59,.35); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(247,240,228,.75); }


/* Buttons keep their own colours inside coloured sections */
.on-red a.btn, .on-ink a.btn { color: var(--cream); }
.on-red a.btn:hover, .on-ink a.btn:hover { color: var(--white); }
.on-red a.btn-gold, .on-ink a.btn-gold, .on-red a.btn-gold:hover, .on-ink a.btn-gold:hover { color: var(--ink); }
.on-red a.btn-light, .on-ink a.btn-light { color: var(--red); }
.on-red a.btn-light:hover, .on-ink a.btn-light:hover { color: var(--red-deep); }
.on-red a.btn-ghost, .on-ink a.btn-ghost { color: var(--cream); border-color: var(--cream); }
.on-red a.btn-ghost:hover, .on-ink a.btn-ghost:hover { background: var(--cream); color: var(--red); }

/* ---------- Motion (respectful) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-actions, form { display: none; }
  body { background: #fff; color: #000; }
}

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