/* ==========================================================================
   Stargazing Near St. George — Desert Southwest Interpretive Sign
   Zilla Slab 600/700 + Work Sans 400/500/600
   LIGHT desert-sand site: bg #faf5ef, surface #f0e8da, text #2c1a0e
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset + Box Model
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg:          #faf5ef;
  --surface:     #f0e8da;
  --surface-alt: #e8d9c6;
  --text:        #2c1a0e;
  --muted:       #8c6a4a;
  --accent:      #b5340b;   /* canyon red — borders, interpretive panels, links */
  --accent-2:    #f0a500;   /* amber gold — CTAs only */
  --accent-2-dk: #c68200;   /* amber hover */
  --border:      #d4b896;
  --maxw:        72rem;
  --col:         65ch;
}

/* --------------------------------------------------------------------------
   Base Typography — Zilla Slab + Work Sans
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Work Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

@media (min-width: 700px) {
  body { font-size: 18px; }
}

h1, h2, h3, h4 {
  font-family: "Zilla Slab", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-2-dk); }

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

strong { font-weight: 600; color: var(--text); }

/* --------------------------------------------------------------------------
   Layout Wrappers
   -------------------------------------------------------------------------- */
.wrap    { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.content { max-width: var(--col);  margin: 0 auto; padding: 0 1.25rem; }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 239, 0.96);
  border-bottom: 2px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--accent); }

.nav-logo {
  height: 26px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.nav-toggle-btn {
  display: none;
  cursor: pointer;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-links .nav-cta {
  background: var(--accent-2);
  color: var(--text);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}
.nav-links .nav-cta:hover {
  background: var(--accent-2-dk);
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-toggle-btn { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.8rem 0 0.5rem;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 0.3rem 0; min-height: 44px; display: flex; align-items: center; }
  .nav-links .nav-cta { min-height: 44px; display: flex; align-items: center; }
}

/* --------------------------------------------------------------------------
   Hero — Typographic with pinned postcard photo
   §4.7: H1 Zilla Slab 700 clamp(3.5rem,9vw,6rem) dark adobe on sand bg
         small 360×240 photo floats right with 8px solid white border
         canyon-red rule below H1 block, then lede + CTAs
   -------------------------------------------------------------------------- */
.hero {
  background: var(--bg);
  padding: 5rem 1.25rem 4rem;
  border-bottom: 3px solid var(--accent);
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

.hero-text { }

.hero h1 {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 6rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0;
}

.hero-rule {
  width: 4rem;
  height: 4px;
  background: var(--accent);
  border: none;
  margin: 1.4rem 0 1.6rem;
}

.hero .lede {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: var(--text);
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Pinned postcard — 8px white border, floats right */
.hero-postcard {
  position: relative;
  flex-shrink: 0;
}

.hero-postcard img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 8px solid #ffffff;
  box-shadow: 4px 4px 0 var(--border);
  display: block;
}

/* Sub-page hero (no postcard layout) */
.hero.hero-sub {
  padding: 3.5rem 1.25rem 3.5rem;
  border-bottom: 3px solid var(--accent);
}

.hero.hero-sub .hero-inner {
  grid-template-columns: 1fr;
  max-width: var(--col);
}

.hero.hero-sub h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.hero.hero-sub .hero-sub-lede {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.8rem;
}

/* Mobile: postcard stacks below H1 */
@media (max-width: 700px) {
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }
  .hero-postcard img {
    height: 200px;
    width: 100%;
    max-width: 360px;
  }
}

/* --------------------------------------------------------------------------
   Buttons — 4px max radius, no pill shapes
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
  min-height: 44px;
  cursor: pointer;
  border: none;
}

/* Primary: amber gold */
.btn-primary {
  background: var(--accent-2);
  color: var(--text);
}
.btn-primary:hover {
  background: var(--accent-2-dk);
  color: var(--text);
}

/* Secondary: canyon red outline */
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* Ghost / plain */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn { width: 100%; max-width: 20rem; }
}

/* --------------------------------------------------------------------------
   Main content column
   -------------------------------------------------------------------------- */
main { padding: 5rem 0 4rem; }

@media (min-width: 700px) {
  main { padding: 6rem 0 5rem; }
}

.content > * + * { margin-top: 1.25rem; }

.content h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  margin-top: 3rem;
  color: var(--text);
}

.content h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  color: var(--text);
}

.content ul,
.content ol { padding-left: 1.4rem; }

.content li + li { margin-top: 0.5rem; }

.lede {
  font-size: clamp(1.05rem, 2.5vw, 1.18rem);
  color: var(--text);
  line-height: 1.7;
}

.content p,
.content li { color: var(--text); }

.content .lede,
.content .lede ~ p { color: var(--text); }

/* Pull quote */
.pull-quote {
  font-family: "Zilla Slab", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--accent);
  border-left: 4px solid var(--accent);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2.5rem 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   "Did You Know?" Interpretive Panels (signature §4.7 component)
   Full-width inset blocks, 6px canyon-red left border, terracotta surface bg
   Zilla Slab italic question heading
   -------------------------------------------------------------------------- */
.did-you-know {
  background: var(--surface);
  border-left: 6px solid var(--accent);
  padding: 1.6rem 1.8rem 1.6rem 1.6rem;
  margin: 3rem 0;
  position: relative;
}

/* Inside .content col, use negative margin to break full-width */
.content .did-you-know {
  /* Left margin accounts for the 6px border so the border aligns to the column edge */
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  /* Restore left padding to keep text inside readable column */
  padding-left: calc(1.25rem + 6px + 0.8rem);
}

@media (min-width: 900px) {
  .content .did-you-know {
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding-left: calc(2.5rem + 6px + 1rem);
    padding-right: 2.5rem;
  }
}

.did-you-know .panel-label {
  font-family: "Work Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.did-you-know .panel-q {
  font-family: "Zilla Slab", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.did-you-know p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.did-you-know p + p { margin-top: 0.75rem; }

/* --------------------------------------------------------------------------
   Data Call-out Blocks (stat replacements)
   Full-width white bands, single big stat in Zilla Slab ~6rem,
   Work Sans label beneath, 3px amber-orange left border
   -------------------------------------------------------------------------- */
.data-callout {
  background: #fff;
  border-left: 4px solid var(--accent-2);
  padding: 2rem 2rem 2rem 1.8rem;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.data-callout .dc-stat {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  color: var(--text);
  flex-shrink: 0;
}

.data-callout .dc-label {
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  margin-top: 1.75rem;
}

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.4rem 1.4rem 1.5rem;
}

.card h3, .card h2 { margin-top: 0; }
.card h3 {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 1.1rem;
  color: var(--accent);
}
.card p {
  margin-top: 0.55rem;
  font-size: 0.96rem;
  color: var(--muted);
}

/* Photo cards (lodging) */
.photo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-card .photo-card-body { padding: 1.1rem 1.2rem 1.25rem; }
.photo-card h3 {
  margin-top: 0;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 1.1rem;
  color: var(--accent);
}
.photo-card p {
  margin-top: 0.45rem;
  font-size: 0.93rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Photo Figures / Full-bleed photo breaks
   -------------------------------------------------------------------------- */
.photo-figure {
  margin: 3rem 0;
  line-height: 0;
  border: none;
}

.photo-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Full-bleed: break out of .content column */
.content .photo-figure {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

@media (min-width: 900px) {
  .content .photo-figure {
    margin-left: -3rem;
    margin-right: -3rem;
  }
}

.photo-figure figcaption {
  font-family: "Work Sans", sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.65rem 1rem;
  background: var(--surface);
  line-height: 1.5;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Tables
   §4.7: alternating #faf5ef / #f0e8da rows, 0 radius
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; margin-top: 1.75rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--surface-alt);
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td { color: var(--text); }

tr:last-child td { border-bottom: none; }

tbody tr:nth-child(even) { background: var(--surface); }
tbody tr:nth-child(odd)  { background: var(--bg); }

/* --------------------------------------------------------------------------
   Elevation Profile — CSS-only clip-path
   §4.7: St. George (2,600 ft) → Zion corridor → Cedar City → Bryce Rim (8,000–9,100 ft)
   gradient canyon-red→gold, labeled tick marks
   -------------------------------------------------------------------------- */
.elevation-profile {
  margin: 3.5rem 0 2rem;
}

.elevation-profile .ep-label-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 0.5rem;
}

.elevation-profile .ep-label {
  font-family: "Work Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.elevation-profile .ep-label:first-child { text-align: left; }
.elevation-profile .ep-label:last-child  { text-align: right; }

.elevation-profile .ep-bar-wrap {
  width: 100%;
  height: 80px;
  position: relative;
  overflow: hidden;
}

.elevation-profile .ep-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent-2) 100%);
  /* clip-path polygon: bottom-left → St. George low → Zion mid-step → Cedar City mid →
     Bryce Rim high → top-right → bottom-right
     Heights: St.George ~20%, Zion 40%, Cedar City 50%, Bryce 92% of 80px container
     Using percentages of height relative to bottom (100% = bottom, 0% = top)
     polygon uses (x%, y%) from top-left origin */
  clip-path: polygon(
    0%   100%,   /* bottom-left */
    0%    78%,   /* St. George start — ~2600ft → ~22% from top (78% from bottom) */
    5%    78%,
    25%   63%,   /* Zion corridor ~4000ft */
    50%   55%,   /* Cedar City area ~5800ft */
    100%   8%,   /* Bryce Rim ~9000ft */
    100% 100%    /* bottom-right */
  );
}

.elevation-profile .ep-tick-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  margin-top: 0.4rem;
}

.elevation-profile .ep-tick {
  font-family: "Work Sans", sans-serif;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  word-break: break-word;
  hyphens: auto;
}

.elevation-profile .ep-tick:first-child { text-align: left; }
.elevation-profile .ep-tick:last-child  { text-align: right; }

@media (max-width: 480px) {
  .elevation-profile .ep-tick,
  .elevation-profile .ep-label {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
   Callout / mid-page CTA (one per page)
   -------------------------------------------------------------------------- */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  border-left: 6px solid var(--accent-2);
  padding: 2rem 1.8rem;
  margin: 3rem auto 0;
}

.callout h2, .callout h3 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--text);
}

.callout p {
  margin: 0.65rem 0 1.4rem;
  max-width: 50ch;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA Band — final page CTA
   §4.7: #f0a500 band, Zilla Slab 700 headline, 4px dark button
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--accent-2);
  padding: 4.5rem 1.25rem;
  text-align: center;
  margin-top: 0;
}

@media (min-width: 700px) {
  .cta-band { padding: 5.5rem 1.25rem; }
}

.cta-band .wrap { max-width: 42rem; }

.cta-band h2 {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--text);
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

/* Dark button for CTA band */
.btn-dark {
  background: var(--text);
  color: var(--bg);
  border-radius: 4px;
  font-weight: 600;
}
.btn-dark:hover {
  background: #1a0a02;
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs {
  font-family: "Work Sans", sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0 0 0.5rem;
  margin-bottom: 1.5rem;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--border);
}

.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   FAQ Accordion (§4.7 styling)
   -------------------------------------------------------------------------- */
.faq-list { margin-top: 1.5rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 2.5rem 1.2rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.faq-q:hover { color: var(--accent); }

/* +/- toggle */
.faq-q::after {
  content: "+";
  font-family: "Work Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  transition: transform 0.2s ease-out;
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.faq-a a { color: var(--accent); }

.faq-item.open .faq-a {
  display: block;
}

/* --------------------------------------------------------------------------
   Itinerary Day timeline
   -------------------------------------------------------------------------- */
.day {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.5rem 1.5rem;
  margin-top: 2.5rem;
}

.day h2 { margin-top: 0.5rem; }

.day .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 2px solid var(--border);
  background: var(--surface);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.site-footer ul  { list-style: none; }
.site-footer li  { margin-top: 0.45rem; }
.site-footer a   { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.footer-logo { margin-top: 1.1rem; }
.footer-logo img { height: 52px; width: auto; }

.footer-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-2   { margin-top: 2rem; }

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

/* --------------------------------------------------------------------------
   Scroll-driven reveal — subtle, with reduced-motion fallback
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 25%;
    }

    @keyframes fade-up {
      from {
        opacity: 0.85;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

/* --------------------------------------------------------------------------
   Mobile tap targets
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .callout .btn,
  .cta-band .btn {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}
