/* ==========================================================================
   Excalibur Coach Sales & Service — Sanford, FL
   Single stylesheet. No external dependencies, no build step.
   ========================================================================== */

:root {
  /* REPLACEABLE IMAGES — swap the file in assets/ or change the path here.
     Every image below is also listed in assets/manifest.json. */
  --img-cta-band: url("assets/xlii-country-coach-girard-awnings-1200.webp");
  /* END REPLACEABLE IMAGES */

  --ink:        #12161b;
  --ink-soft:   #1b222a;
  --ink-line:   #2b333d;
  --body:       #2c333b;
  --muted:      #59626d;
  --paper:      #ffffff;
  --paper-warm: #f7f5f1;
  --paper-deep: #efece5;
  --line:       #e3e0d8;
  --gold:       #c9a24a;
  --gold-bright:#e0bd6b;
  --gold-text:  #8a6518;
  --steel:      #9aa4ad;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.94rem);
  --step-0:  clamp(1.0625rem, 1.02rem + 0.22vw, 1.1875rem);
  --step-1:  clamp(1.25rem, 1.18rem + 0.35vw, 1.4375rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.85rem, 1.6rem + 1.25vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.75rem + 2.2vw, 3.6rem);

  --space-section: clamp(3.25rem, 7vw, 6rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 27, .06), 0 6px 18px rgba(18, 22, 27, .05);
  --shadow-md: 0 2px 6px rgba(18, 22, 27, .07), 0 18px 44px rgba(18, 22, 27, .10);
  --maxw: 1180px;
  --measure: 68ch;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }
p { margin: 0 0 1.1em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 2px;
}
/* On the dark themes the darker gold would disappear — use the bright one. */
.hero :focus-visible,
.cta-band :focus-visible,
.dark :focus-visible,
.info-bar :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible,
.skip-link:focus-visible { outline-color: var(--gold-bright); }

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 200;
  transform: translateY(-120%);
  background: var(--ink); color: #fff; padding: .85rem 1.4rem;
  font-size: var(--step--1); font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
@media (max-width: 480px) { .wrap, .wrap--narrow { width: min(100% - 1.75rem, var(--maxw)); } }

section { padding-block: var(--space-section); }
section.tight { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-text);
  margin: 0 0 .9rem;
  display: block;
}
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .95rem; letter-spacing: .03em;
  color: var(--gold-text); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: .15rem;
}
.link-more:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 216px; height: auto; }
@media (max-width: 560px) { .brand img { width: 168px; } }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .55rem .7rem; cursor: pointer; color: var(--ink);
  align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body);
}
.nav-toggle svg { width: 20px; height: 20px; fill: currentColor; }

.site-nav ul {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 1.35rem; margin: 0; padding: 0; max-width: none;
}
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding-block: .35rem; display: inline-block;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--gold); }
.site-nav a[aria-current="page"] { border-color: var(--gold); color: var(--gold-text); }

.header-cta { display: inline-flex; align-items: center; gap: .75rem; flex: none; }
.header-cta .btn { padding: .7rem 1.1rem; font-size: .88rem; }

@media (max-width: 1040px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { gap: .35rem 1.15rem; padding-block: .6rem 0; border-top: 1px solid var(--line); margin-top: .35rem; }
  .js-nav .nav-toggle { display: inline-flex; }
  .js-nav .site-nav { display: none; }
  .js-nav .site-nav.is-open { display: block; }
  .js-nav .site-nav.is-open ul { flex-direction: column; gap: 0; padding-bottom: .75rem; }
  .js-nav .site-nav.is-open a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line); width: 100%; }
  .js-nav .site-nav.is-open a:hover { border-color: var(--gold); }
}
@media (max-width: 600px) {
  .header-cta .btn span.long { display: none; }
}

/* ---------- Info bar ---------- */
.info-bar {
  background: var(--ink); color: #cfd6dd;
  font-size: .84rem; letter-spacing: .02em;
}
.info-bar .wrap {
  display: flex; flex-wrap: wrap; gap: .4rem 1.75rem;
  padding-block: .6rem; align-items: center; justify-content: center;
}
.info-bar span { display: inline-flex; align-items: center; gap: .45rem; }
.info-bar svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.info-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.info-bar a:hover { color: var(--gold-bright); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #e7ebef; padding-block: clamp(2.75rem, 6vw, 4.75rem); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1100px 520px at 12% 0%, rgba(201,162,74,.14), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.05fr; } }
.hero h1 { color: #fff; margin-bottom: .55rem; }
.hero .eyebrow { color: var(--gold-bright); }
.hero-sub { font-size: var(--step-1); color: #c3ccd4; line-height: 1.55; max-width: 34ch; }
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-figure figcaption {
  margin-top: .7rem; font-size: .84rem; color: #9aa4ad; letter-spacing: .02em;
}
.hero-points { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; color: #d3dae0; }
.hero-points svg { width: 1.15em; height: 1.15em; fill: var(--gold); flex: none; margin-top: .25em; }

/* ---------- Stat strip ---------- */
.stats { background: var(--paper-warm); border-bottom: 1px solid var(--line); padding-block: 0; }
.stats .wrap { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(2, 1fr); padding-block: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 780px) { .stats .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); color: var(--ink); line-height: 1.05;
}
.stat span { display: block; font-size: .9rem; color: var(--muted); margin-top: .3rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.35rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .98rem; color: var(--muted); margin-bottom: .9rem; max-width: none; }
.card p:last-child { margin-bottom: 0; }
.card .link-more { margin-top: auto; align-self: flex-start; }
.card--link:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 42px; height: 42px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--paper-deep); border-radius: 50%;
}
.card-icon svg { width: 21px; height: 21px; fill: var(--gold-text); }

.card--soft { background: var(--paper-warm); border-color: transparent; }

/* numbered benefit cards */
.benefit { position: relative; padding-left: 0; }
.benefit h3 { display: flex; gap: .7rem; align-items: baseline; font-size: var(--step-0); }
.benefit h3 .num {
  font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  color: var(--gold-text); border: 1px solid var(--gold); border-radius: 999px;
  padding: .18rem .5rem; flex: none;
}

/* ---------- Editorial rows ---------- */
.editorial { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
@media (min-width: 880px) { .editorial { grid-template-columns: 1fr 1fr; } .editorial.flip > figure { order: 2; } }
.editorial + .editorial { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.editorial figure { margin: 0; }
.editorial figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.editorial figcaption { font-size: .84rem; color: var(--muted); margin-top: .6rem; }
/* Portraits keep their natural aspect ratio and never fill a half-width column. */
.editorial figure.portrait img { max-width: 340px; }
.editorial figure.portrait { display: flex; flex-direction: column; align-items: flex-start; }
.editorial figure.portrait figcaption { max-width: 340px; }
.editorial .body p:last-child { margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery-item { margin: 0; }
.gallery-item a {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-deep); border: 1px solid var(--line);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.gallery-item a:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: auto; }
.gallery-item figcaption {
  font-size: .88rem; color: var(--muted); margin-top: .5rem; line-height: 1.4;
}

/* ---------- Tag grid (brands, categories) ---------- */
.tag-grid { list-style: none; margin: 0; padding: 0; max-width: none;
  display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tag-grid li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem .9rem; font-size: .95rem; color: var(--body); line-height: 1.35;
}
.tag-grid--plain li { background: transparent; }

.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: .55rem; max-width: var(--measure); }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list svg { width: 1.05em; height: 1.05em; fill: var(--gold-text); flex: none; margin-top: .35em; }

/* ---------- Quote ---------- */
.quote {
  background: var(--paper-warm); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.quote blockquote { margin: 0; }
.quote p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.quote cite { display: block; font-style: normal; font-weight: 700; font-size: .95rem; color: var(--gold-text); letter-spacing: .04em; }
.quote .quote-role { display: block; font-weight: 400; font-size: .95rem; color: var(--muted); letter-spacing: 0; margin-top: .2rem; }

/* ---------- Listing (coach for sale) ---------- */
.listing { display: grid; gap: clamp(1.5rem, 3.5vw, 2.75rem); align-items: start; }
@media (min-width: 880px) { .listing { grid-template-columns: 1.25fr 1fr; } }
.listing-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.price {
  font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
  color: var(--ink); display: block; line-height: 1.1;
}
.price-note { font-size: .86rem; color: var(--muted); display: block; margin-top: .35rem; }
.spec-list { list-style: none; margin: 1.4rem 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list dt, .spec-list .k { color: var(--muted); }
.spec-list .v { font-weight: 600; color: var(--ink); text-align: right; }

.sold-grid { list-style: none; margin: 0; padding: 0; max-width: none;
  display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sold-grid li {
  font-size: .94rem; color: var(--muted); padding: .65rem .85rem;
  background: var(--paper-warm); border-radius: var(--radius); border: 1px solid transparent;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #e7ebef; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img-cta-band);
  background-size: cover; background-position: center;
  opacity: .16; filter: grayscale(.35);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3ccd4; font-size: var(--step-1); }
.cta-band .eyebrow { color: var(--gold-bright); }

.dark { background: var(--ink); color: #d3dae0; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold-bright); }
.dark a { color: var(--gold-bright); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.nap { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; max-width: none; }
.nap li { display: flex; gap: .85rem; align-items: flex-start; }
.nap svg { width: 20px; height: 20px; fill: var(--gold-text); flex: none; margin-top: .25em; }
.nap strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .15rem; }
.nap a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nap a:hover { color: var(--gold-text); text-decoration: underline; }
.dark .nap svg { fill: var(--gold); }
.dark .nap strong { color: var(--steel); }
.dark .nap a { color: #fff; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours-table th { text-align: left; font-weight: 400; color: var(--muted); padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours-table td { text-align: right; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

/* ---------- Form ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .86rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin-bottom: .4rem; }
.field .hint { font-size: .84rem; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .9rem;
  transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.field-required { color: var(--gold-text); }
.hp-field {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.cf-turnstile { margin-bottom: 1.15rem; }
.form-status { margin-top: 1rem; padding: .95rem 1.1rem; border-radius: var(--radius); font-size: .97rem; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #edf6ee; border: 1px solid #b9dbc0; color: #1f5b2c; }
.form-status.is-error { background: #fbf0ee; border: 1px solid #e3bfb8; color: #8a2c1b; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 1.35rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; max-width: none; }
.crumbs li::after { content: "/"; margin-left: .4rem; color: var(--steel); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-text); text-decoration: underline; }

/* ---------- Page header ---------- */
.page-head { background: var(--paper-warm); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(2.25rem, 5vw, 3.75rem); }
.page-head h1 { margin-bottom: .4rem; max-width: 20ch; }
.page-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 56ch; margin-bottom: 0; }
.page-head .crumbs { padding-top: 0; margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b6bfc8; padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 34px; height: auto; flex: none; }
.footer-wordmark { font-family: var(--font-display); color: #fff; font-size: 1.35rem; line-height: 1.1; letter-spacing: .04em; display: block; }
.footer-wordmark small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; font-weight: 700; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-family: var(--font-body); font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; max-width: none; }
.site-footer a { color: #cfd6dd; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.site-footer p { max-width: 40ch; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.35rem; border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: #7f8b96;
}
.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom a { color: #9aa4ad; text-decoration: underline; }
.footer-bottom a:hover { color: var(--gold-bright); }
[data-ss-credit] { color: #7f8b96; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 13, 16, .93);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: #cfd6dd; font-size: .92rem; text-align: center; margin-top: .9rem; max-width: 62ch; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox .lb-prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.bg-warm { background: var(--paper-warm); }
.bg-deep { background: var(--paper-deep); }
.center { text-align: center; }
.center p, .center .section-head { margin-inline: auto; }
.mt-0 { margin-top: 0; }
[data-ss-empty] { color: var(--muted); font-style: italic; }

/* ---------- Spacing utilities (replace inline styles) ---------- */
.center .btn-row { justify-content: center; }
.mt-s { margin-top: 1.1rem; }
.mt-m { margin-top: 1.5rem; }
.mb-xs { margin-bottom: .35rem; }
.mb-s { margin-bottom: 1rem; }
.fine-print { font-size: .86rem; margin-top: .9rem; }
