/*
Theme Name: Stumpy's Hatchet House
Author: Stumpy's Hershey
Description: Modern-woodman theme for Stumpy's Hatchet House of Hershey. Dark reclaimed-warehouse aesthetic, CMS-driven promo cards, persistent Reserve Now CTA.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: stumpys
*/

/* ========== Fonts (self-hosted, latin subset) ========== */
@font-face {
  font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/alfa-slab-one-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(assets/fonts/work-sans-latin-var.woff2) format('woff2');
}

/* ========== Design tokens ========== */
:root {
  --bg: #1A1714;          /* charcoal base */
  --bg-deep: #120F0D;
  --surface: #3A2A1E;     /* reclaimed wood brown */
  --surface-2: #2A1F17;
  --cream: #F2E9DC;       /* warm cream text */
  --cream-dim: rgba(242, 233, 220, 0.72);
  --ember: #C8442A;       /* primary CTA red-orange */
  --ember-hot: #E05535;
  --brass: #C8902A;       /* secondary accent */
  --font-display: 'Alfa Slab One', 'Oswald', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, Segoe UI, sans-serif;
  --max-w: 1320px;
  --radius: 6px;
  --header-h: 76px;
}

/* ========== Reset-ish ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--ember-hot); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--cream);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--surface-2); }
.kicker {
  color: var(--brass);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--cream-dim); margin-top: 12px; }

/* subtle wood grain on surface bands */
.grain {
  background-image:
    repeating-linear-gradient(92deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 7px),
    linear-gradient(var(--surface-2), var(--surface-2));
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-hot); color: #fff; }
.btn--ghost { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn--brass { background: var(--brass); color: var(--bg-deep); }
.btn--brass:hover { background: #DBA63D; color: var(--bg-deep); }
.btn--sm { padding: 10px 18px; font-size: 0.8rem; }

/* ========== Utility banner ========== */
.topbanner {
  background: var(--brass);
  color: var(--bg-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  padding: 9px 44px 9px 16px;
  position: relative;
  z-index: 60;
}
.topbanner a { color: var(--bg-deep); text-decoration: underline; font-weight: 700; }
.topbanner__close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; font-size: 1.2rem; line-height: 1;
  color: var(--bg-deep); cursor: pointer; padding: 4px 8px;
}

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 15, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242, 233, 220, 0.08);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.5); }
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  text-transform: uppercase;
  line-height: 1.05;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--brass); }
.site-logo .axe { color: var(--ember); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 18px; list-style: none; }
.site-nav a {
  color: var(--cream-dim);
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--cream); border-bottom: 2px solid var(--ember); padding-bottom: 4px; }
.header-cta { flex-shrink: 0; }
.nav-drawer-cta { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--cream); position: absolute; left: 8px; transition: all 0.2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: min(76vh, 700px); /* was min(88vh, 820px): less empty image above and below the text */
  display: flex; align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,15,13,0.55) 0%, rgba(18,15,13,0.35) 45%, rgba(26,23,20,0.96) 100%);
}
.hero__content { padding: 80px 0 64px; max-width: 1080px; } /* was 120px 0 90px */
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--cream);
  max-width: 600px;
  margin: 22px 0 34px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--cream-dim); font-size: 1.6rem; animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ========== Tagline band ========== */
.tagline-band {
  background: var(--ember);
  padding: 34px 0;
  text-align: center;
}
.tagline-band h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.6rem); }

/* ========== Card grids ========== */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface-2);
  border: 1px solid rgba(242, 233, 220, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(200, 144, 42, 0.45); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty::after {
  content: '🪓'; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 2.2rem; opacity: 0.35;
}
.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ember); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.card__badge--charity { background: var(--brass); color: var(--bg-deep); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 1.2rem; }
.card__body p { color: var(--cream-dim); font-size: 0.95rem; flex: 1; }
.card__fine { font-size: 0.74rem; color: rgba(242,233,220,0.62); } /* 4.5:1 minimum (was 0.45) */
.card__actions { display: flex; gap: 10px; margin-top: 8px; }

/* ========== Story blocks ========== */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story--flip .story__media { order: 2; }
.story__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.story__body p { color: var(--cream-dim); margin: 16px 0 26px; }

/* ========== BYOB strip ========== */
.byob {
  background: var(--surface);
  border-top: 3px solid var(--brass);
  border-bottom: 3px solid var(--brass);
}
.byob__inner { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; padding: 44px 0; }
.byob__inner h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.byob__inner p { color: var(--cream-dim); max-width: 560px; }
.byob__cta { margin-left: auto; }

/* ========== Testimonials ========== */
.quote-card {
  background: var(--surface-2);
  border-left: 4px solid var(--ember);
  border-radius: var(--radius);
  padding: 26px;
}
.quote-card blockquote { font-size: 1.02rem; color: var(--cream); font-style: italic; }
.quote-card cite { display: block; margin-top: 16px; color: var(--brass); font-style: normal; font-weight: 600; font-size: 0.88rem; }

/* ========== Visit block ========== */
.visit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid rgba(242,233,220,0.09); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--cream-dim); }
.visit__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); filter: grayscale(0.4) contrast(1.05); }
.visit address { font-style: normal; color: var(--cream-dim); margin-top: 10px; }
.visit .contact-line { margin-top: 14px; }
.visit .contact-line a { font-weight: 700; }

/* ========== FAQ accordion ========== */
.faq-item { border-bottom: 1px solid rgba(242,233,220,0.12); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 20px 36px 20px 0;
  font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--ember); font-size: 1.5rem; font-weight: 400;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-a { padding: 0 0 22px; color: var(--cream-dim); max-width: 760px; }

/* ========== Forms ========== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--bg-deep);
  border: 1px solid rgba(242,233,220,0.18);
  border-radius: var(--radius);
  color: var(--cream); font-family: var(--font-body); font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); border-color: transparent; }
.form-note { font-size: 0.85rem; color: var(--cream-dim); }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-weight: 600; }
.form-msg--ok { background: rgba(74, 124, 58, 0.25); border: 1px solid #4A7C3A; }
.form-msg--err { background: rgba(200, 68, 42, 0.2); border: 1px solid var(--ember); }
.hp-field { position: absolute !important; left: -9999px; }

/* ========== Deposits table ========== */
.deposit-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.deposit-table th, .deposit-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(242,233,220,0.1); }
.deposit-table th { color: var(--brass); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.deposit-table td { color: var(--cream-dim); }
.deposit-note { color: var(--cream-dim); font-size: 0.95rem; margin: -8px 0 18px; }

/* ========== Gallery ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ========== Footer ========== */
.site-footer { background: var(--bg-deep); border-top: 1px solid rgba(242,233,220,0.08); padding: 64px 0 30px; margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-cols h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { color: var(--cream-dim); font-size: 0.95rem; }
.footer-cols a:hover { color: var(--cream); }
.footer-news p { color: var(--cream-dim); font-size: 0.92rem; margin-bottom: 14px; }
.footer-news form { display: flex; gap: 8px; }
.footer-news input[type=email] {
  flex: 1; padding: 12px;
  background: var(--surface-2); border: 1px solid rgba(242,233,220,0.15);
  border-radius: var(--radius); color: var(--cream);
}
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { font-size: 1.3rem; }
.footer-legal { border-top: 1px solid rgba(242,233,220,0.08); margin-top: 48px; padding-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; color: rgba(242,233,220,0.62); font-size: 0.8rem; } /* 4.5:1 minimum (was 0.4) */
.footer-legal a { color: rgba(242,233,220,0.62); }
.footer-legal .copy { margin-right: auto; }

/* ========== Page hero (interior pages) ========== */
.page-hero { background: var(--surface-2); padding: 84px 0 56px; border-bottom: 1px solid rgba(242,233,220,0.06); }
.page-hero p { color: var(--cream-dim); max-width: 680px; margin-top: 14px; font-size: 1.1rem; }

/* ========== Mobile ========== */
/* Collapse the 8-item nav to a hamburger before it runs out of room. */
@media (max-width: 1365px) {
  .site-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-deep); padding: 18px 24px 26px;
    border-bottom: 1px solid rgba(242,233,220,0.1);
    margin-left: 0;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 16px; }
  .nav-toggle { display: block; margin-left: 0; order: 3; }
  .header-cta { margin-left: auto; order: 2; }
}
@media (max-width: 920px) {
  .grid--3, .grid--2, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .story, .visit { grid-template-columns: 1fr; gap: 30px; }
  .story--flip .story__media { order: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .byob__cta { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* Full desktop row: tightened so 8 nav items + 2 CTAs fit the 1320px container. */
@media (min-width: 1366px) {
  .site-header__inner { gap: 16px; }
  .site-logo { font-size: 1.1rem; }
  .site-nav ul { gap: 10px; }
  .site-nav a { font-size: 0.75rem; letter-spacing: 0.03em; }
  .header-cta { display: flex; gap: 8px; }
  .header-cta .btn { padding: 11px 14px; font-size: 0.75rem; }
}

/* Phone header: logo, compact Reserve, hamburger. Gift Cards and phone live in the drawer. */
@media (max-width: 640px) {
  .site-header__inner { gap: 12px; padding: 0 16px; }
  .site-logo { font-size: 0.95rem; flex-shrink: 1; min-width: 0; }
  .header-cta .btn { padding: 9px 14px; font-size: 0.72rem; white-space: nowrap; }
  .header-cta .js-giftcard { display: none; }
  .nav-drawer-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .nav-drawer-cta .btn { width: 100%; text-align: center; }
  .site-nav .nav-drawer-cta .btn--brass { color: var(--bg-deep); }
  .site-nav .nav-drawer-cta .btn--ghost { color: var(--cream); }
  /* undo the nav-link hover underline, which would otherwise shrink the button's bottom padding */
  .site-nav .nav-drawer-cta .btn:hover { padding-bottom: 15px; }
  .site-nav .nav-drawer-cta .btn--brass:hover { border-bottom-color: transparent; }
  .site-nav .nav-drawer-cta .btn--ghost:hover { border-bottom-color: var(--brass); color: var(--brass); }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); } /* long words like ACCESSIBILITY overflowed 360px */
}

/* Last-resort safety net only. The header collapse above is the real fix. */
html, body { overflow-x: clip; }

/* ========== Pricing table (Activities) ========== */
.pricing-table td:first-child { color: var(--cream); font-weight: 600; }
.pricing-table td:nth-child(2) { color: var(--brass); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
  .pricing-table tr { padding: 12px 0; border-bottom: 1px solid rgba(242,233,220,0.1); }
  .pricing-table td { border: 0; padding: 2px 14px; }
  .pricing-table td:nth-child(2) { white-space: normal; }
}

/* ========== Callout panel (FAQ waiver) ========== */
.callout { background: var(--surface); border-left: 4px solid var(--brass); border-radius: var(--radius); padding: 32px; }
.callout h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 12px; }
.callout p { color: var(--cream-dim); margin-bottom: 22px; max-width: 640px; }

/* ========== Splatter paint feature (Activities) ========== */
.spec-list { list-style: none; display: grid; gap: 8px; margin: 18px 0 6px; color: var(--cream-dim); }
.spec-list strong { color: var(--cream); }
.story__body .spec-note { margin: 10px 0 24px; font-size: 0.95rem; }
.story__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.story__placeholder {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: linear-gradient(135deg, var(--bg-deep), var(--surface));
  border: 1px dashed rgba(200, 144, 42, 0.5);
  color: var(--brass); font-weight: 700;
}

/* ========== League form: radio group ========== */
.field-radio { border: 0; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.field-radio legend { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 9px; width: 100%; }
.field-radio label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.field-radio input { width: 20px; height: 20px; accent-color: var(--ember); }

/* ========== Video facade (About) ========== */
.video-wrap { max-width: 900px; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-facade { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s ease; }
.video-facade:hover img { transform: scale(1.02); }
.video-facade__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ========== Dated events (What's On, Home) ========== */
.card__badge--inline { position: static; align-self: flex-start; }
.card__meta { color: var(--brass) !important; font-weight: 600; flex: 0 !important; }
.event-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.event-chip {
  display: flex; flex-direction: column; gap: 8px; padding: 18px;
  background: var(--surface-2); border: 1px solid rgba(242,233,220,0.07);
  border-left: 4px solid var(--ember); border-radius: var(--radius);
}
.event-chip:hover { border-color: var(--brass); }
.event-chip__meta { color: var(--cream-dim); font-size: 0.9rem; }
@media (max-width: 920px) { .event-row { grid-template-columns: 1fr; } }

/* ========== Long-form page text (privacy, terms) ========== */
.prose h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin: 40px 0 12px; }
.prose p, .prose ul { margin-bottom: 14px; color: var(--cream-dim); }
.prose ul { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brass); text-decoration: underline; }
.prose strong { color: var(--cream); }

/* ========== Hero video (desktop only, loaded by main.js) ========== */
.hero__video { opacity: 0; transition: opacity 0.8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__media picture { display: contents; }

/* ========== Logo icon ========== */
.site-logo .logo-axe { display: inline-block; vertical-align: -3px; margin: 0 1px; }

/* ========== Maps: static image (Home) and click-to-load facade (Visit) ========== */
.map-static, .map-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.map-static img, .map-facade img { display: block; width: 100%; height: auto; min-height: 320px; object-fit: cover; object-position: 33% 40%; filter: grayscale(0.4) contrast(1.05); }
.map-facade { cursor: pointer; }
.map-facade__label {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: var(--ember); color: #fff; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 20px; border-radius: var(--radius); white-space: nowrap;
}
.map-facade:hover .map-facade__label { background: var(--ember-hot); }
.map-static__cta { margin-top: 14px; }

/* ========== FAQ deep links ========== */
.faq-item { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-item .faq-a table { margin-top: 6px; }
@media (max-width: 640px) { .faq-item .faq-a .deposit-table th, .faq-item .faq-a .deposit-table td, .prose .deposit-table th, .prose .deposit-table td { padding: 10px 8px; font-size: 0.9rem; } }
@media (max-width: 640px) { .faq-item .faq-a .deposit-table th, .prose .deposit-table th { font-size: 0.7rem; letter-spacing: 0.03em; } }

/* ========== Photo focus: keep heads in frame when a tall photo is shown in a wide card ========== */
.card__media img.focus-top { object-position: 50% 14%; }

/* ========== A11y ========== */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
