/* site.css — everything specific to summit-ridge-ski-board. Tokens live in tokens.css.
   Signature: "the rack" — short vertical accent ticks, taken from the hero photograph of skis
   standing end-on in a shop rack. It appears at three scales and nowhere else does decoration. */

/* Subpage headline: 25px of air under the header, and the section beneath it pulled
   20px closer (the h1's own 16px margin carries the rest of the gap). */
.page-hero { padding-top: 25px; }
.page-hero + .section { padding-top: 35px; }
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero .lead { max-width: 42rem; margin: 0; }
/* When a brand band follows the page head (What we do), the lead needs air before the dark edge. */
.page-hero + .section--brand { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- global tuning ---------- */
h1, h2, h3 { letter-spacing: -0.025em; font-weight: 700; }
h1 { letter-spacing: -0.035em; }
strong { font-weight: 700; }

/* --accent is a fill colour only (2.19:1 on the glacier base). Small type uses --accent-ink. */
.eyebrow {
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 3px;
  height: 0.95em;
  background: var(--accent);
  flex: none;
}
.section--brand .eyebrow { color: var(--accent-on-brand); }

.lead { line-height: 1.55; }
.measure-tight p { max-width: 54ch; }

/* The rack rule — six ticks, used to close a section head. Decorative only. */
.rack-rule {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 40px;
  margin: 0 0 var(--space-3);
}
.rack-rule span { display: block; width: 3px; background: var(--brand); opacity: 0.4; }
.rack-rule span:nth-child(1) { background: var(--accent); opacity: 1; height: 40px; }
.rack-rule span:nth-child(2) { height: 30px; }
.rack-rule span:nth-child(3) { height: 36px; }
.rack-rule span:nth-child(4) { height: 26px; }
.rack-rule span:nth-child(5) { height: 33px; }
.rack-rule span:nth-child(6) { height: 22px; }
.section--brand .rack-rule span { background: var(--on-brand); opacity: 0.4; }
.section--brand .rack-rule span:nth-child(1) { background: var(--accent-on-brand); opacity: 1; }

.section-head { max-width: 46rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--ink-muted); font-size: var(--fs-1); }

/* ---------- header ---------- */
.site-header { background: rgba(231, 243, 245, 0.94); }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--on-brand);
  background: var(--brand);
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  flex: none;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name small { font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-muted); }
.nav a:not(.btn) { font-size: 0.95rem; letter-spacing: 0.01em; }
.nav a:not(.btn):hover { color: var(--accent-ink); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .btn--primary { min-height: 44px; padding: 0.55rem 1.05rem; font-size: 0.95rem; }

/* ---------- T3 hero: photo beside text, no overlay ---------- */
.hero { padding-block: clamp(2.25rem, 4.5vw, 4.25rem) clamp(2.5rem, 5vw, 4.5rem); }
.hero__grid { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }
.hero h1 { margin-bottom: var(--space-3); }
.hero .lead { max-width: 34rem; margin-bottom: var(--space-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.hero__note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem;
  font-size: 0.95rem; color: var(--ink-muted); margin: 0;
  padding-top: var(--space-3); border-top: 1px solid var(--line);
  max-width: 34rem;
}
.hero__note b { color: var(--ink); font-weight: 600; }
.hero__note .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
@media (max-width: 640px) {
  .hero__note { display: block; }
  .hero__note .dot { display: none; }
  .hero__media img { box-shadow: 8px 8px 0 0 var(--bg-alt), 0 1px 0 0 var(--line); }
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
@media (min-width: 900px) { .hero__media img { aspect-ratio: 5 / 6; } }
/* offset frame — box-shadow, never a clipped ::after */
.hero__media img { box-shadow: 14px 14px 0 0 var(--bg-alt), 0 1px 0 0 var(--line); }
.hero__tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: var(--track-label); text-transform: uppercase;
  padding: 0.55rem 0.9rem; border-radius: var(--radius-sm);
}

/* ---------- T2 brand bands ---------- */
.section--brand { color: var(--on-brand); }
.section--brand h2, .section--brand h3, .section--brand p, .section--brand li { color: inherit; }
.section--brand .muted { color: var(--on-brand-muted); }
.section--brand a:not(.btn) { color: var(--on-brand); }

.trust { padding-block: clamp(2rem, 3.4vw, 3rem); }
.trust__grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 760px) { .trust__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.trust__item { padding-left: var(--space-2); border-left: 3px solid var(--accent-on-brand); }
.trust__item b { display: block; font-family: var(--font-display); font-size: var(--fs-2); line-height: 1.15; margin-bottom: 0.35rem; }
.trust__item span { display: block; color: var(--on-brand-muted); font-size: 0.95rem; }

.closer__grid { display: grid; gap: var(--space-4); align-items: end; grid-template-columns: 1fr; }
@media (min-width: 860px) { .closer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.closer h2 { max-width: 15ch; }
.closer__lines { display: grid; gap: 0.7rem; margin: 0; }
.closer__lines div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; align-items: baseline; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line-on-brand); }
.closer__lines dt { font-size: 0.78rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-on-brand); font-family: var(--font-display); }
.closer__lines dd { margin: 0; font-size: 1.05rem; }
.closer__lines a { text-decoration: none; border-bottom: 1px solid var(--line-on-brand); }
.closer__lines a:hover { border-bottom-color: var(--accent-on-brand); }
.closer .btn--primary { margin-bottom: var(--space-3); }
@media (max-width: 859px) { .closer__lines div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- T1 rate list (the archetype-D centrepiece) ---------- */
.rates__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rate {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem var(--space-3);
  align-items: baseline;
  padding: clamp(1.05rem, 2.2vw, 1.5rem) clamp(1.05rem, 2.4vw, 1.75rem);
  border-top: 1px solid var(--line);
  position: relative;
}
.rate:first-child { border-top: 0; }
/* the rack tick */
.rate::before {
  content: "";
  position: absolute;
  left: 0; top: clamp(1.15rem, 2.3vw, 1.6rem);
  width: 4px; height: 1.5rem;
  background: var(--accent);
}
.rate__name { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 700; margin: 0; line-height: 1.15; }
.rate__price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.5rem);
  color: var(--accent-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  justify-self: end;
}
.rate__price small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-muted); text-align: right; }
.rate__desc { grid-column: 1 / -1; margin: 0; color: var(--ink-muted); max-width: 46ch; font-size: 0.98rem; }
@media (max-width: 560px) {
  .rate { grid-template-columns: 1fr; }
  .rate__price { justify-self: start; }
  .rate__price small { text-align: left; }
}
.rates__foot {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3);
  align-items: center; margin-top: var(--space-3);
  font-size: 0.95rem; color: var(--ink-muted);
}
.rates__foot .btn { margin-right: 0.25rem; }

/* highlighted row — the multi-day discount */
.rate--flag { background: var(--tint-accent); }
.rate--flag .rate__desc { color: var(--ink); }

/* ---------- T6 full-bleed photo band, no text on it ---------- */
.photoband { padding: 0; }
.photoband img { width: 100%; height: clamp(230px, 34vw, 420px); object-fit: cover; }
.photoband--tall img { height: clamp(260px, 40vw, 520px); }
.photoband figcaption {
  padding: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 0.6rem;
}
.photoband figcaption::before { content: ""; width: 3px; height: 0.95em; background: var(--accent); flex: none; }

/* ---------- T3 story split ---------- */
.story__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .story__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 62%; border-radius: var(--radius); box-shadow: 0 1px 0 0 var(--line); }
.story__grid--top { align-items: start; }
.story__grid .notes--stack { grid-template-columns: 1fr; }
.knownfor { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-2); }
.knownfor li { padding-left: var(--space-2); border-left: 3px solid var(--accent); font-size: 1.02rem; }
.knownfor li b { font-family: var(--font-display); display: block; }

/* ---------- T5 photo stage + contained card ---------- */
.photostage { min-height: clamp(420px, 52vw, 560px); }
.photostage__img { object-position: 50% 58%; }
.photostage::after { background: linear-gradient(90deg, rgba(24, 39, 42, 0.22), rgba(24, 39, 42, 0) 62%); }
.pcard { border-radius: var(--radius); }
.pcard--dark { background: rgba(16, 34, 39, 0.95); color: #F1F7F8; box-shadow: var(--shadow); }
.pcard--dark .lead, .pcard--dark .muted, .pcard--dark footer { color: #C3D8DC; }
.pcard--light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.pcard--light .lead, .pcard--light .muted { color: var(--ink-muted); }
.quotes { display: grid; gap: var(--space-3); margin: 0; }
.quotes blockquote { margin: 0; padding-top: var(--space-3); border-top: 1px solid rgba(241, 247, 248, 0.22); }
.quotes blockquote:first-child { padding-top: 0; border-top: 0; }
.quotes p { font-family: var(--font-display); font-size: var(--fs-2); line-height: 1.28; margin: 0 0 0.6rem; max-width: none; }
.quotes footer { font-size: 0.88rem; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.photostage--band .pcard { max-width: 32rem; }

/* ---------- T1 visit / contact ---------- */
.visit__grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 780px) { .visit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .visit__grid { grid-template-columns: repeat(4, 1fr); } }
.visit__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); border-top: 3px solid var(--brand); }
.visit__card:nth-child(1) { border-top-color: var(--accent); }
.visit__card h3 { font-size: 0.78rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-ink); font-family: var(--font-body); font-weight: 700; margin-bottom: 0.6rem; }
.visit__card p { margin: 0 0 0.35rem; font-size: 1.02rem; }
.visit__card p:last-child { margin-bottom: 0; }
.visit__card .muted { font-size: 0.92rem; }
.visit__card a { text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; }
.visit__card a:hover { border-bottom-color: var(--accent); color: var(--accent-ink); }

/* ---------- page heads (menu / about) ---------- */
.pagehead { padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2rem, 4vw, 3.25rem); }
.pagehead h1 { max-width: 16ch; }
.pagehead .lead { max-width: 42rem; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.site-footer h2 { font-size: 1rem; letter-spacing: var(--track-label); text-transform: uppercase; margin-bottom: 0.6rem; font-family: var(--font-body); }
.site-footer p { margin-bottom: 0.35rem; }
.site-footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
.site-footer a:hover { color: var(--accent-ink); }
.site-footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--space-2); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }

/* ---------- sticky mobile CTA ---------- */
.cta-bar { background: var(--surface); border-top: 1px solid var(--line); }
.cta-bar__inner { display: flex; align-items: center; gap: var(--space-2); }
.cta-bar__inner .btn { flex: 1; }
.cta-bar__hours { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.2; max-width: 7.5rem; }

/* ---------- misc ---------- */
.btn--ghost { border-color: var(--brand); color: var(--brand); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--bg-alt); color: var(--ink); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--on-brand); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* a light card over a bright photo needs a real edge, not just a soft shadow */
.pcard--light { border: 1px solid var(--line); }
.pcard--light .eyebrow { color: var(--accent-ink); }
.pcard--light h1 { margin-bottom: var(--space-2); }

/* menu page — grouped rate blocks */
.ratesgroup + .ratesgroup { margin-top: var(--space-4); }
.ratesgroup > h2 {
  font-size: 0.82rem; letter-spacing: var(--track-label); text-transform: uppercase;
  font-family: var(--font-body); font-weight: 700; color: var(--accent-ink);
  margin-bottom: var(--space-2); display: flex; align-items: center; gap: 0.6rem;
}
.ratesgroup > h2::before { content: ""; width: 3px; height: 0.95em; background: var(--accent); flex: none; }

/* notes list — and the four-up variant the homepage rate glance uses */
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
@media (min-width: 780px) { .notes { grid-template-columns: repeat(2, 1fr); } }
.notes li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.notes b { font-family: var(--font-display); display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }
.notes span { color: var(--ink-muted); }
@media (min-width: 1020px) { .notes--4 { grid-template-columns: repeat(4, 1fr); } }
.glance .notes b { font-size: var(--fs-2); color: var(--accent-ink); font-variant-numeric: tabular-nums; }

/* tap targets ≥ 44px */
.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.brand { min-height: 44px; }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 46px; padding: 0.5rem 0; }
}

/* --- multipage front door: teaser cards that link to the real pages --- */
.teasers { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.teaser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-3); display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow-sm); }
.teaser h3 { margin: 0; font-size: var(--fs-2); }
/* card photo: bleeds to the card edge over the padding, sits under the same hairline as the rate panel */
.teaser__img { display: block; width: calc(100% + 2 * var(--space-3)); max-width: none;
  margin: calc(-1 * var(--space-3)) 0 0.5rem calc(-1 * var(--space-3));
  aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); }
.teaser p { margin: 0; color: var(--ink-muted); }
.teaser p:last-child { margin-top: auto; padding-top: 0.5rem; }
/* --ink is the one colour guaranteed to be legible on --surface on every palette. The accent is
   a FILL and measured 2.7:1 as link text on dark cards. Underline carries the affordance. */
.teaser__link { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.teaser__link:hover { text-decoration: underline; }

/* On a saturated brand band an accent-filled button can sit under 2:1 against the band and read as
   a coloured block rather than a control (WCAG 1.4.11 wants 3:1). A rim in the band's own text
   colour guarantees the boundary whatever the two fills happen to be. */
/* Self-contained closing CTA. The first version reused .section--brand and assumed it paints a
   --brand background; on sites where that class means something else, --on-brand text landed on the
   page colour at 1.18:1. Setting both sides here guarantees the pair always matches. */
.cta-band { background: var(--brand); color: var(--on-brand); padding-block: var(--section-y); }
.cta-band h2 { color: var(--on-brand); margin-top: 0; }
.cta-band p { margin-bottom: 0; }
.cta-band .btn--primary { background: var(--on-brand); color: var(--brand); border: 1px solid var(--on-brand); }
.cta-band .btn--ghost { color: var(--on-brand); border: 1px solid var(--on-brand); background: transparent; }
.cta-band .cta-band__lead { max-width: 40rem; margin: 0 0 var(--space-3); color: var(--on-brand-muted); }
.cta-band .cta-band__lead a { color: var(--on-brand); }
.cta-band .cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Duna Marketing sample-site bar ---------- */
/* Frosted glass: the page shows through a dark-grey translucent bar, so it belongs to every
   palette while still reading as a control. The whole bar is one link back to dunamarketing.com.
   rgba(25,28,35,.72) composited over even a pure-white page keeps white text at 6.7:1; the
   backdrop blur is decoration on top of that, never load-bearing. On phones the site's own
   .cta-bar lifts above it. */
:root { --duna-h: 54px; }
.duna-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  box-sizing: border-box; min-height: var(--duna-h);
  /* Three columns so the button stays optically centred no matter how wide the copyright is. */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(25, 28, 35, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFFFFF; text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-body); font-size: 0.92rem; line-height: 1.3; text-align: center;
  cursor: pointer; transition: background 0.15s ease;
}
/* No colour here: `.duna-bar a` (0,1,1) would outrank .duna-bar__btn--text (0,1,0) and paint
   the text button white on white. The button classes own their colours. */
.duna-bar a { text-decoration: none; }
.duna-bar__copy {
  justify-self: start; font-size: 0.76rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);   /* 5.42:1 on the bar over even a white page */
  white-space: nowrap;
}
.duna-bar__note {
  grid-column: 3; justify-self: end; font-size: 0.76rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);   /* same 5.42:1 as the copyright */
  white-space: nowrap;
}
/* Two buttons now, side by side and optically centred in the middle column. */
.duna-bar__actions { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 0.5rem; }
.duna-bar__btn {
  /* Own dark fill over the bar's glass: transparent let each site's palette bleed through and
     muddied the white text. Black at 45% takes it from 6.7:1 to 12.7:1 in the worst case
     (a pure-white page behind the bar) while staying translucent. */
  display: inline-block; background: rgba(0, 0, 0, 0.45); color: #FFFFFF;
  border: 1.5px solid #FFFFFF; border-radius: 4px;
  padding: 0.45rem 1.1rem; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.duna-bar__btn:hover, .duna-bar__btn:focus-visible { background: #FFFFFF; color: #14171E; }
/* "Text me" is the offer on this bar, so it leads: white fill and dark label, the reverse of the
   home button, and it inverts on hover the same way. */
.duna-bar__btn--text { margin-left: 0.6rem; background: #C8102E; color: #FFFFFF; border-color: #C8102E;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--text svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--call { margin-left: 0.6rem; background: #003087; color: #FFFFFF; border-color: #003087;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 48, 135, 0.34);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--call:hover, .duna-bar__btn--call:focus-visible { background: #001D52; border-color: #001D52;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(0, 48, 135, 0.44); }
.duna-bar__btn--call svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--text:hover, .duna-bar__btn--text:focus-visible { background: #A50D25; border-color: #A50D25;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(200, 16, 46, 0.42); }
/* Mobile: the button is the only thing that matters — drop the copyright and the tagline so
   the bar is one unambiguous tap target. */
@media (max-width: 720px) {
  /* Phones (all ad traffic): two full-width, full-label text and call buttons on one row.
     --duna-h tracks the taller bar so pages keep clearing it. */
  :root { --duna-h: 66px; }
  .duna-bar__copy, .duna-bar__note, .duna-bar .long { display: none; }
  .duna-bar { grid-template-columns: 1fr; gap: 0; padding: 0.4rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); }
  .duna-bar__actions { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.5rem; }
  .duna-bar__btn { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 0.1rem 0 0.15rem;
    font-size: 0.74rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
  .duna-bar__btn--text, .duna-bar__btn--call { grid-column: auto; justify-self: stretch; justify-content: center; text-align: center;
    margin-left: 0; min-height: 46px; padding: 0.4rem 0.45rem; font-size: 0.82rem; font-weight: 700; line-height: 1.15;
    white-space: normal; text-decoration: none; opacity: 1; border-radius: 10px; }
  .duna-bar__btn--text { background: #C8102E; border: 1.5px solid #C8102E; }
  .duna-bar__btn--call { background: #003087; border: 1.5px solid #003087; }
  .duna-bar__btn--text .long, .duna-bar__btn--call .long { display: inline; }
  .duna-bar__btn--text svg, .duna-bar__btn--call svg { width: 16px; height: 16px; }
}

body { padding-bottom: calc(var(--duna-h) + env(safe-area-inset-bottom)); }
@media (max-width: 720px) {
  .cta-bar { bottom: calc(var(--duna-h) + env(safe-area-inset-bottom)); }
  body.has-cta-bar { padding-bottom: calc(84px + var(--duna-h)); }
}

/* Uniform legal block shared by every Duna sample site. */
.site-footer .duna-legal { grid-column: 1 / -1; margin-top: 0.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line, rgba(127, 127, 127, 0.35)); font-size: 0.85rem; line-height: 1.55; }
.site-footer .duna-legal p { margin: 0 0 0.3rem; max-width: none; }
.site-footer .duna-legal p:last-child { margin-bottom: 0; }
