/* components.css — reusable pieces: buttons, cards, ticket packs,
   countdowns, badges, accordions, cookie banner, notices, pagination. */

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0.55rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--r-2);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-ink);
  transition: background-color 120ms ease-out, border-color 120ms ease-out,
              transform 120ms ease-out, box-shadow 120ms ease-out;
}
.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-ink);
  transform: translateY(-1px);
  box-shadow: var(--sh-lift);
}
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-cta {
  background: var(--gold-500);
  color: var(--on-gold);
  border-color: var(--gold-600);
  font-size: var(--fs-md);
  padding: 0.7rem 1.75rem;
}
.btn-cta:hover { background: var(--gold-600); color: var(--on-gold); }


.btn-lg { font-size: var(--fs-lg); padding: 0.9rem 2rem; }

.btn-secondary { background: transparent; color: var(--lake-700); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--lake-100); color: var(--lake-800); }

/* On the dark hero and dark bands the secondary button needs light ink,
   otherwise it falls below the contrast minimum. */
.hero-raffle .btn-secondary,
.hero-home .btn-secondary,
.section-band .btn-secondary { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.65); }
.hero-raffle .btn-secondary:hover,
.hero-home .btn-secondary:hover,
.section-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; border-color: #FFFFFF; }
.hero-raffle .cta-legal, .hero-home .cta-legal { color: var(--band-muted); }
.hero-raffle .cta-legal strong, .hero-home .cta-legal strong { color: var(--band-ink); }

.btn-ghost {
  background: transparent;
  color: var(--lake-700);
  border-color: transparent;
  padding-inline: var(--s-3);
}
.btn-ghost:hover { background: var(--lake-100); color: var(--lake-800); }

.btn[aria-disabled="true"],
.btn:disabled {
  background: var(--bg-sunk);
  color: var(--ink-muted);
  border-color: var(--border-strong);
  cursor: not-allowed;
}
.btn[aria-disabled="true"]:hover { background: var(--bg-sunk); color: var(--ink-muted); }

.cta-group { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* Legal micro-note that travels with every call to action */
.cta-legal {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 46ch;
}
.cta-legal strong { color: var(--ink); }
.section-band .cta-legal { color: var(--band-muted); }
.section-band .cta-legal strong { color: var(--band-ink); }

.external::after {
  content: "";
  width: 0.72em; height: 0.72em;
  margin-left: 0.15em;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 2h8v8h-2V5.4L4.4 13 3 11.6 10.6 4H6z"/></svg>');
  mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 2h8v8h-2V5.4L4.4 13 3 11.6 10.6 4H6z"/></svg>');
}

/* ------------------------------------------------------------------ */
/* Brand mark                                                          */
/* ------------------------------------------------------------------ */
/* The mark is complete and correct as static SVG — every animation below
   is decoration. One restrained entrance, then a very slow drift on the
   water. Three things make it safe:
     * every animation ends on the state the static SVG already shows, so
       nothing can be left invisible;
     * prefers-reduced-motion (base.css) collapses all of them;
     * low-bandwidth mode kills animation site-wide.
   Nothing here needs JavaScript. */
.brand-mark .lm-cross,
.brand-mark .lm-sun,
.brand-mark .lm-glow { transform-box: fill-box; transform-origin: center; }

.brand-mark .lm-ring {
  stroke-dasharray: 134;               /* 2πr at r=21.3 is 133.8 */
  animation: lm-draw 1200ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.brand-mark .lm-cross { animation: lm-rise 760ms cubic-bezier(0.34, 1.4, 0.64, 1) 360ms both; }
.brand-mark .lm-reflect { animation: lm-appear 900ms ease-out 800ms both; }
.brand-mark .lm-sun { animation: lm-pulse 6s ease-in-out 1.4s infinite; }
.brand-mark .lm-glow { animation: lm-breathe 6s ease-in-out 1.4s infinite; }
.brand-mark .lm-w1 { animation: lm-drift 7s ease-in-out 1.1s infinite; }
.brand-mark .lm-w2 { animation: lm-drift 9s ease-in-out 1.3s infinite reverse; }
.brand-mark .lm-w3 { animation: lm-drift 11s ease-in-out 1.5s infinite; }

@keyframes lm-draw {
  from { stroke-dashoffset: 134; }
  to   { stroke-dashoffset: 0; }
}
@keyframes lm-rise {
  from { opacity: 0; transform: translateY(3px) scale(0.72); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lm-appear {
  from { opacity: 0; }
  to   { opacity: 0.24; }
}
@keyframes lm-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.09); }
}
@keyframes lm-breathe {
  0%, 100% { opacity: 0.72; }
  50%      { opacity: 1; }
}
@keyframes lm-drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(1.8px); }
}

/* Hover or keyboard focus on the wordmark link: the water quickens a
   little and the sun warms. Nothing moves position, so nothing jumps. */
.brand:hover .lm-w1, .brand:focus-visible .lm-w1 { animation-duration: 2.6s; }
.brand:hover .lm-w2, .brand:focus-visible .lm-w2 { animation-duration: 3.2s; }
.brand:hover .lm-w3, .brand:focus-visible .lm-w3 { animation-duration: 3.8s; }
.brand:hover .lm-sun, .brand:focus-visible .lm-sun { animation-duration: 2.4s; }
.brand:hover .lm-glow, .brand:focus-visible .lm-glow { animation-duration: 2.4s; }
.brand:hover .lm-ring, .brand:focus-visible .lm-ring { opacity: 1; }

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
  box-shadow: var(--sh-1);
  transition: box-shadow 160ms ease-out, transform 160ms ease-out,
              border-color 160ms ease-out;
}
.card h3 { margin-bottom: var(--s-2); }
.card > :last-child { margin-bottom: 0; }
@media (hover: hover) {
  .draw-card-list > li:hover .card,
  .card-link:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
}

/* A stat is a figure first: the number carries the weight, the label reads
   as a caption under it, and a gold rule ties it to the section eyebrow. */
.card.stat { border-top: 2px solid var(--gold-500); }

.stat { text-align: left; }
.stat-num {
  display: block;
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lake-800);
  line-height: 1.02;
  margin-bottom: var(--s-2);
}
.stat-label { display: block; color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.45; }
.section-band .stat-num { color: var(--gold-500); }

/* ------------------------------------------------------------------ */
/* Ticket pack cards                                                   */
/* ------------------------------------------------------------------ */
.packs { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }

/* Each pack is drawn as a real ticket stub: notched sides, a perforated
   tear line, and a warm paper tint under the counterfoil. Every card
   reserves the same band at the top, so the four prices sit on one
   baseline whether or not a card is flagged. */
.pack {
  --pack-flag-h: 1.85rem;
  --pack-price-h: 4.9rem;
  --pack-tear: calc(var(--pack-flag-h) + var(--pack-price-h));
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-3);
  padding: 0;
  text-align: center;
  transition: border-color 140ms ease-out, transform 140ms ease-out;
  /* Real holes rather than painted circles, so the notch works on any
     ground and reads as a torn stub. A mask clips box-shadow, so these
     cards are defined by their border instead. */
  -webkit-mask:
    radial-gradient(circle 9px at 0 var(--pack-tear), transparent 97%, #000 98%),
    radial-gradient(circle 9px at 100% var(--pack-tear), transparent 97%, #000 98%);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 9px at 0 var(--pack-tear), transparent 97%, #000 98%),
    radial-gradient(circle 9px at 100% var(--pack-tear), transparent 97%, #000 98%);
  mask-composite: intersect;
}
.pack::before {                       /* the flag band, reserved on every card */
  content: "";
  display: block;
  height: var(--pack-flag-h);
  background: var(--bg-sunk);
  border-bottom: 1px solid var(--border);
}

.pack-best { border-color: var(--gold-600); }

/* The gold sits on the flag itself, not on the band behind it, so the
   contrast of "Best value" is a property of the element that holds the
   text and can be measured rather than inferred. */
.pack-flag {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--pack-flag-h);
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: var(--gold-500);
  border-bottom: 1px solid var(--gold-600);
  color: var(--on-gold);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}
.pack-price {
  margin: 0;
  padding: var(--s-4) var(--s-4) var(--s-3);
  height: 4.9rem;
  display: grid;
  place-items: center;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lake-800);
  line-height: 1;
}
.pack-sep {
  border: 0;
  height: 1px;
  margin: 0;
  background: repeating-linear-gradient(90deg,
    var(--border-strong) 0 4px, transparent 4px 9px);
  opacity: 0.7;
}
.pack-numbers {
  margin: 0;
  padding: var(--s-5) var(--s-4);
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.pack-numbers span {
  display: block;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal-800);
}
.pack-note { font-size: var(--fs-xs); color: var(--ink-muted); }

@media (hover: hover) {
  .pack:hover { transform: translateY(-2px); border-color: var(--teal-700); }
  .pack-best:hover { border-color: var(--gold-600); }
}

.pack-notices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  background: var(--bg-sunk);
  border-radius: var(--r-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.pack-notices p { margin: 0; max-width: none; }

/* ------------------------------------------------------------------ */
/* Countdown                                                           */
/* ------------------------------------------------------------------ */
.countdowns { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }

.countdown {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-3);
  padding: var(--s-4);
}
.countdown-title {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9FD3E8;
  margin-bottom: var(--s-2);
}
.countdown-clock { display: flex; gap: var(--s-3); font-variant-numeric: tabular-nums; }
.countdown-unit { text-align: center; min-width: 3.1rem; }
.countdown-unit b {
  display: block;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
}
.countdown-unit span { font-size: var(--fs-xs); color: #B9D8E8; text-transform: uppercase; letter-spacing: 0.05em; }
.countdown-deadline { margin: var(--s-3) 0 0; font-size: var(--fs-sm); color: #D8ECF7; }
.countdown-deadline b { color: #FFFFFF; }

/* ------------------------------------------------------------------ */
/* Badges and trust row                                                */
/* ------------------------------------------------------------------ */
/* A credential rail rather than six boxes: hairline cells on a fixed grid,
   so nothing is left ragged on the last row. */
.badges {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 900px) { .badges { grid-template-columns: repeat(3, 1fr); } }
.badge {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: 0;
  max-width: none;
  background: var(--surface);
  transition: background-color 140ms ease-out;
}
.badge:hover { background: var(--surface-2); }
.badge svg {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--teal-700);
}
.badge > span { min-width: 0; overflow-wrap: break-word; }
.badge b { display: block; font-size: var(--fs-base); letter-spacing: -0.005em; }
.badge span {
  display: block;
  font-weight: 400;
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  line-height: 1.5;
  margin-top: 3px;
}

/* ------------------------------------------------------------------ */
/* Notices / alerts                                                    */
/* ------------------------------------------------------------------ */
.notice {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-2);
  border-left: 5px solid var(--teal-700);
  background: var(--teal-100);
  color: var(--ink);
  margin-bottom: var(--s-5);
}
/* Flex items default to min-width:auto; without this a long email
   address inside a notice can push the page sideways at 320px. */
.notice > *, .check-field > *, .pack-notices > *, .filters > *,
.reminder-list li > *, .cal-month li > span { min-width: 0; }
.notice > div > :last-child { margin-bottom: 0; }
.notice-warn { border-left-color: var(--gold-600); background: var(--warn-bg); }
.notice-strong { border-left-color: var(--err); background: var(--err-bg); }
.notice-key { border-left-color: var(--lake-700); background: var(--lake-100); }
.notice h3 { font-size: var(--fs-md); margin-bottom: var(--s-1); }

/* ------------------------------------------------------------------ */
/* Accordion (details/summary)                                         */
/* ------------------------------------------------------------------ */
.faq-list { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); background: var(--surface); }
.faq > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--tap);
  padding: var(--s-4) var(--s-2);
  font-size: var(--fs-md);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 1.1rem; height: 1.1rem;
  margin-top: 0.35rem;
  background: currentColor;
  color: var(--teal-700);
  -webkit-mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.5 1.5 5l1.4-1.4L8 8.7l5.1-5.1L14.5 5z"/></svg>');
  mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.5 1.5 5l1.4-1.4L8 8.7l5.1-5.1L14.5 5z"/></svg>');
  transition: transform 140ms ease-out;
}
.faq[open] > summary::after { transform: rotate(180deg); }
.faq > summary:hover { background: var(--bg-alt); }
.faq-answer { padding: 0 var(--s-2) var(--s-5); }
.faq-answer p { color: var(--ink-muted); }
.faq:target > summary { box-shadow: inset 4px 0 0 var(--gold-500); }

/* ------------------------------------------------------------------ */
/* Steps                                                               */
/* ------------------------------------------------------------------ */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  max-width: none;
  padding: var(--s-5) var(--s-4) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  top: calc(-1 * var(--s-3));
  left: var(--s-4);
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 800;
  font-size: var(--fs-sm);
}
.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
.steps p { color: var(--ink-muted); font-size: var(--fs-sm); }

/* ------------------------------------------------------------------ */
/* Definition-style key/value table                                    */
/* ------------------------------------------------------------------ */
.kv { width: 100%; }
.kv th { width: 34%; color: var(--ink); font-weight: 700; white-space: normal; }
.kv thead th { white-space: normal; }

/* ------------------------------------------------------------------ */
/* Pagination + filters                                                */
/* ------------------------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: flex-end;
  padding: var(--s-4);
  background: var(--bg-alt);
  border-radius: var(--r-3);
  margin-bottom: var(--s-5);
}
.filters .field { flex: 1 1 12rem; }
.filters label { font-size: var(--fs-sm); }

.pager { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-top: var(--s-5); }
.pager button, .pager a {
  min-width: var(--tap);
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-2);
  background: var(--surface);
  color: var(--lake-700);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.pager [aria-current="page"] { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.pager button:disabled { color: var(--ink-muted); cursor: not-allowed; background: var(--bg-sunk); }
.pager-status { margin-left: auto; font-size: var(--fs-sm); color: var(--ink-muted); }

/* ------------------------------------------------------------------ */
/* Cookie banner                                                       */
/* ------------------------------------------------------------------ */
.cookie-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 3px solid var(--lake-800);
  box-shadow: var(--sh-2);
  padding: var(--s-4) 0;
}
.cookie-bar h2 { font-size: var(--fs-h4); }
.cookie-bar p { font-size: var(--fs-sm); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 40, 61, 0.6);
  display: grid;
  place-items: center;
  padding: var(--s-4);
}
.modal {
  background: var(--surface);
  border-radius: var(--r-3);
  box-shadow: var(--sh-2);
  width: min(38rem, 100%);
  max-height: min(90vh, 46rem);
  overflow: auto;
  padding: var(--s-5);
}
.modal h2 { margin-top: 0; }
.consent-group {
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-3);
}
.consent-group label { display: flex; gap: var(--s-3); align-items: flex-start; margin: 0; }
.consent-group p { font-size: var(--fs-sm); color: var(--ink-muted); margin: var(--s-2) 0 0 2.35rem; }

/* ------------------------------------------------------------------ */
/* Forms: field blocks, errors, strength meter                         */
/* ------------------------------------------------------------------ */
.field { margin-bottom: var(--s-4); }
.field .hint { font-size: var(--fs-xs); color: var(--ink-muted); margin: var(--s-1) 0 0; }
.field-error {
  display: none;
  position: relative;
  margin: var(--s-2) 0 0;
  padding-left: 1.6rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--err);
}
/* The warning glyph is a mask so it follows --err in both colour schemes,
   and the error is never signalled by colour alone. */
.field-error::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 1 1 14h14L8 1zm-1 5h2v4H7V6zm0 5h2v2H7v-2z"/></svg>');
  mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 1 1 14h14L8 1zm-1 5h2v4H7V6zm0 5h2v2H7v-2z"/></svg>');
}
.field-error.is-shown { display: block; }

.check-field { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-4); }
.check-field label { font-weight: 400; margin: 0; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  padding: var(--s-4);
  border-radius: var(--r-2);
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.form-status.is-shown { display: block; }
.form-status[data-tone="ok"] { background: var(--ok-bg); color: var(--ok); border-left: 5px solid var(--ok); }
.form-status[data-tone="error"] { background: var(--err-bg); color: var(--err); border-left: 5px solid var(--err); }

.meter { height: 10px; border-radius: 999px; background: var(--bg-sunk); overflow: hidden; margin-top: var(--s-2); }
.meter > i { display: block; height: 100%; width: 0; background: var(--err); transition: width 150ms ease-out; }
.meter[data-level="2"] > i { background: var(--gold-600); }
.meter[data-level="3"] > i { background: var(--teal-700); }
.meter[data-level="4"] > i { background: var(--ok); }

/* ------------------------------------------------------------------ */
/* Artwork                                                             */
/* ------------------------------------------------------------------ */
.art {
  width: 100%;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--lake-100);
}
.art svg { width: 100%; height: auto; }
.art img { display: block; width: 100%; height: auto; }

/* News cards share one crop so a portrait photograph cannot tower over a
   landscape one. width/height stay on the <img> so nothing shifts. */
.art-16x9 { aspect-ratio: 16 / 9; }
.art-16x9 img { height: 100%; object-fit: cover; object-position: center; }

/* Low-bandwidth mode: drop decorative artwork, gradients and motion. */
html[data-lite="on"] .art { display: none; }
html[data-lite="on"] * { animation: none !important; transition: none !important; }
html[data-lite="on"] .hero-raffle,
html[data-lite="on"] .hero-home { background-image: none; }
html[data-lite="on"] .card,
html[data-lite="on"] .pack,
html[data-lite="on"] .steps > li { box-shadow: none; }
