/* Voucher Magpie site styles: tokens from the design system, then components, then pages. */
:root{--paper:#fafaf7;--surface:#ffffff;--surface-sunk:#f1f1ec;--ink:#111418;--ink-muted:#5a6270;--edge:#e3e3dc;--line:#ecece6;--line-strong:#8a8f98;--teal:#0b6e69;--on-teal:#ffffff;--teal-soft:#e0f2f0;--gleam:#f5b800;--on-gleam:#1a1400;--expiring:#b33c00;--expiring-soft:#fdeee4;--overlay:rgba(17,20,24,0.45);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-12:48px;--radius-sm:8px;--radius-md:12px;--radius-lg:20px;--radius-pill:999px;--notch:10px;--tap-min:44px;--content-max:1200px;--sidebar:320px;--shadow-rest:0 1px 2px rgba(17,20,24,0.04), 0 6px 20px rgba(17,20,24,0.05);--shadow-drop:0 4px 14px rgba(17,20,24,0.07);--shadow-drop-lift:0 12px 24px rgba(17,20,24,0.12);--shadow-lift:0 2px 4px rgba(17,20,24,0.06), 0 14px 32px rgba(17,20,24,0.10);--shadow-sheet:0 -12px 40px rgba(17,20,24,0.14);--font-display:"Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;--font-sans:"Figtree", ui-sans-serif, system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, Menlo, monospace;}
/* Design tokens from the receipt redesign (DESIGN.md): teal ground, receipt paper, till yellow, and the cause colour set per request. */
:root{--teal-deep:#08504c;--teal-ink:#0a3b38;--teal-night:#05211f;--mint:#7fe0cf;--mint-wash:#e3f4f1;--yellow:#f5b800;--yellow-hover:#ffc72c;--yellow-soft:#fff1c2;--yellow-ink:#6b4300;--receipt:#fffdf6;--paper-shade:#f4f0e4;--cream:#fafaf7;--ink-2:#2b323b;--slate:#4f5864;--rule:#d9d4c5;--club:var(--charity, #0b6e69);--club-ink:var(--charity-ink, #0a3b38);--r-stamp:3px;--r-paper:4px;--r-inset:6px;--r-card:14px;--r-feature:22px;--sh-card:0 1px 2px rgba(5,33,31,.08),0 4px 14px rgba(5,33,31,.08);--sh-paper:0 2px 4px rgba(0,0,0,.14),0 22px 44px rgba(0,0,0,.32);--sh-slip:0 2px 4px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.14);--max:1240px;}
::selection{background:var(--yellow);color:var(--ink);}
.vm a{text-underline-offset:.2em;}

/* ---------- base ---------- */
.vm, .vm * { box-sizing: border-box; }
.vm { font-family: var(--font-sans); color: var(--ink); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
.vm h1, .vm h2, .vm h3, .vm p { margin: 0; }
.vm :where(a) { color: inherit; }
.vm :focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.vm-eyebrow { font: 800 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.vm-muted { color: var(--ink-muted); }
.vm-ico { width: 18px; height: 18px; flex: none; }

/* ---------- button ---------- */
.vm-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); border: 1px solid var(--line-strong); border-radius: var(--radius-md); font: 700 16px/20px var(--font-sans); text-decoration: none; cursor: pointer; transition: transform .12s ease-out, box-shadow .12s ease-out; }
.vm-btn--primary { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.vm-btn--secondary { background: var(--surface); color: var(--ink); }
.vm-btn--gleam { background: var(--gleam); color: var(--on-gleam); border-color: var(--gleam); }
.vm-btn--ghost { background: transparent; border-color: transparent; color: var(--teal); padding: 0 var(--space-2); min-height: var(--tap-min); }
.vm-btn--block { width: 100%; }
.vm-btn[disabled] { background: transparent; border-color: var(--line-strong); color: var(--ink-muted); transform: none !important; box-shadow: none !important; }
.vm-btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
@media (hover: hover) { .vm-btn--primary:hover, .vm-btn--secondary:hover, .vm-btn--gleam:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); } }

/* Get code with the peek: the code's tail shows under a cut corner */
.vm-reveal { position: relative; display: block; width: 100%; min-height: 48px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface-sunk); cursor: pointer; padding: 0; font: inherit; color: inherit; text-align: left; }
.vm-reveal__tail { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 16px/1 var(--font-mono); letter-spacing: .1em; color: var(--ink); }
.vm-reveal__face { position: absolute; inset: -1.5px 44px -1.5px -1.5px; display: flex; align-items: center; justify-content: center; gap: var(--space-2); background: var(--teal); color: var(--on-teal); border-radius: var(--radius-md) 0 0 var(--radius-md); font: 700 16px/20px var(--font-sans); transition: inset .15s ease-out; }
.vm-reveal__face::after { content: ""; position: absolute; top: 0; right: -18px; width: 18px; height: 100%; background: linear-gradient(to bottom left, transparent 50%, var(--teal) 50%); }
@media (hover: hover) { .vm-reveal:hover .vm-reveal__face { inset: -1.5px 64px -1.5px -1.5px; } }

/* ---------- badges & chips ---------- */
.vm-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 10px; border-radius: var(--radius-pill); font: 700 12px/16px var(--font-sans); white-space: nowrap; }
.vm-badge .vm-ico { width: 14px; height: 14px; }
.vm-badge--verified { background: var(--teal-soft); color: var(--teal); }
.vm-badge--expiring { background: var(--expiring-soft); color: var(--expiring); }
.vm-badge--top { background: var(--gleam); color: var(--on-gleam); font: 800 11px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.vm-badge--plain { background: var(--surface-sunk); color: var(--ink-muted); }
.vm-chips { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: 600 14px/20px var(--font-sans); white-space: nowrap; cursor: pointer; }
.vm-chip span { color: var(--ink-muted); font-weight: 400; }
.vm-chip[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.vm-chip[aria-pressed="true"] span { color: inherit; opacity: .7; }

/* ---------- code box (revealed) ---------- */
.vm-code { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 48px; padding: 4px 4px 4px var(--space-4); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface-sunk); }
.vm-code__value { font: 600 18px/24px var(--font-mono); letter-spacing: .1em; }
.vm-code .vm-btn { min-height: 38px; padding: 0 var(--space-3); font-size: 14px; }

/* ---------- ticket (offer card) ---------- */
.vm-ticket { container-type: inline-size; filter: drop-shadow(var(--shadow-drop)); transition: filter .12s ease-out; }
.vm-ticket__in { --stub: 92px; position: relative; display: grid; grid-template-columns: calc(var(--stub) + var(--stub-extra, 0px)) 1fr; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); transition: transform .12s ease-out; -webkit-mask: radial-gradient(circle var(--notch) at var(--stub) 0, #0000 97%, #000), radial-gradient(circle var(--notch) at var(--stub) 100%, #0000 97%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle var(--notch) at var(--stub) 0, #0000 97%, #000), radial-gradient(circle var(--notch) at var(--stub) 100%, #0000 97%, #000); mask-composite: intersect; }
.vm-ticket__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: var(--space-3) var(--space-2); background: var(--gleam); color: var(--on-gleam); text-align: center; border-right: 1.5px dashed var(--line-strong); border-radius: calc(var(--radius-lg) - 1px) 0 0 calc(var(--radius-lg) - 1px); }
.vm-ticket__stub .vm-ticket__big { font: 800 32px/30px var(--font-display);  letter-spacing: -.04em; }
.vm-ticket__stub small { font: 800 11px/14px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.vm-ticket__stub--deal { background: var(--teal-soft); color: var(--teal); }
.vm-ticket__stub--deal b { font-size: 26px; }
.vm-ticket__body { min-width: 0; display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 2px); }
.vm-ticket__kick { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.vm-ticket__title { font: 700 18px/23px var(--font-display); letter-spacing: -.01em; }
.vm-ticket__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.vm-ticket__meta .vm-btn--ghost { padding: 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vm-ticket__action { display: grid; gap: var(--space-2); }
.vm-ticket--featured .vm-ticket__in { --stub: 112px; }
.vm-ticket--featured .vm-ticket__stub .vm-ticket__big { font-size: 40px; line-height: 36px; }
.vm-ticket--expired .vm-ticket__in { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.vm-ticket--expired { filter: none; }
.vm-ticket--expired .vm-ticket__stub { background: var(--surface-sunk); color: var(--ink-muted); border-right-color: var(--line-strong); }
.vm-ticket--expired .vm-ticket__title { color: var(--ink-muted); }
@container (min-width: 620px) {
  .vm-ticket__in { --stub: 128px; }
  .vm-ticket--featured .vm-ticket__in { --stub: 168px; }
  .vm-ticket__stub .vm-ticket__big { font-size: 40px; line-height: 36px; }
  .vm-ticket__stub--deal b { font-size: 32px; }
  .vm-ticket--featured .vm-ticket__stub .vm-ticket__big { font-size: 56px; line-height: 50px; }
  .vm-ticket__body { grid-template-columns: 1fr 200px; align-items: center; gap: var(--space-2) var(--space-6); padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6); }
  .vm-ticket__title { font-size: 20px; line-height: 25px; }
  .vm-ticket--featured .vm-ticket__title { font-size: 24px; line-height: 29px; }
}
.vm-ticket__text { display: grid; gap: var(--space-2); }

/* ---------- store tile ---------- */
.vm-store { display: flex; align-items: center; gap: var(--space-3); min-height: 64px; padding: var(--space-2) var(--space-3); background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-md); text-decoration: none; }
.vm-store__logo { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm); font: 800 16px/1 var(--font-display); }
.vm-store__name { font: 700 15px/20px var(--font-sans); display: block; }
.vm-store__count { font-size: 13px; line-height: 16px; color: var(--ink-muted); display: block; }
@media (hover: hover) { .vm-store:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); } }

/* ---------- search ---------- */
.vm-search { display: flex; align-items: center; gap: var(--space-2); height: 48px; padding: 0 4px 0 var(--space-4); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.vm-search:focus-within { outline-offset: 2px; }
.vm-search .vm-ico { color: var(--ink-muted); }
.vm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px/24px var(--font-sans); color: var(--ink); }
.vm-search input::placeholder { color: var(--ink-muted); }
.vm-search .vm-btn { min-height: 38px; border-radius: var(--radius-pill); padding: 0 var(--space-4); font-size: 14px; }

/* ---------- header ---------- */
.vm-header { position: sticky; z-index: 5; border-bottom: 1px solid var(--edge); }
.vm-header__in { display: flex; align-items: center; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); }
.vm-logo { display: inline-flex; align-items: center; text-decoration: none; font: 800 20px/1 var(--font-display);  letter-spacing: -.03em; white-space: nowrap; }
.vm-logo img { width: 36px; height: 36px; }
.vm-header__nav { display: none; font: 600 15px/20px var(--font-sans); }
.vm-header__nav a { text-decoration: none; }
.vm-iconbtn { display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); margin-left: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); cursor: pointer; }
@media (min-width: 960px) {
  .vm-header__in { padding: 0 var(--space-6); }
  .vm-header__nav { display: flex; }
  .vm-iconbtn { display: none; }
}

/* ---------- merchant page ---------- */
.vm-wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); }
.vm-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--space-4) 0 0; font: 600 13px/16px var(--font-sans); color: var(--ink-muted); }
.vm-crumbs a { text-decoration: none; }
.vm-hero { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-4); align-items: center; padding: var(--space-5) 0 var(--space-5); }
.vm-hero__logo { align-self: start; display: grid; place-items: center; width: 72px; height: 72px; box-shadow: var(--shadow-rest); border-radius: var(--radius-lg); background: #1f3a33; color: #f3e9d2; font: 800 26px/1 var(--font-display);  letter-spacing: -.04em; }
.vm-hero h1 { font: 800 28px/30px var(--font-display);  letter-spacing: -.025em; }
.vm-hero__sub { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.vm-hero__sub b { color: var(--ink); font-weight: 600; }
.vm-stats { grid-column: 1 / -1; display: grid; border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-rest); }
.vm-stat { padding: var(--space-3); border-left: 1px solid var(--line); }
.vm-stat:first-child { border-left: 0; background: var(--gleam); color: var(--on-gleam); }
.vm-stat b { display: block; font: 800 22px/24px var(--font-display);  letter-spacing: -.03em; }
.vm-stat span { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.vm-stat:first-child span { color: var(--on-gleam); opacity: .8; }
.vm-layout { display: grid; gap: var(--space-8); padding-bottom: var(--space-12); }
.vm-list { display: grid; gap: var(--space-3); }
.vm-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); }
.vm-list__head h2, .vm-list__head h3 { font: 800 20px/24px var(--font-display);  letter-spacing: -.02em; }
.vm-panel { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-rest); }
.vm-panel h3 { font: 800 17px/22px var(--font-display);  letter-spacing: -.02em; margin-bottom: var(--space-3); }
.vm-panel p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.vm-panel--ink { background: var(--teal-soft); color: var(--ink); border-color: var(--teal-soft); box-shadow: none; }
.vm-panel--ink p { color: var(--ink); }
.vm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: s; }
.vm-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); font-size: 15px; line-height: 22px; }
.vm-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font: 800 13px/1 var(--font-display); }
.vm-side { display: grid; gap: var(--space-4); align-content: start; }
.vm-stores { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.vm-signup { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.vm-signup input { height: 48px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font: 16px/24px var(--font-sans); }
.vm-signup input::placeholder { color: var(--ink-muted); }
.vm-faq details { border-top: 1px solid var(--line); }
.vm-faq details:first-of-type { border-top: 0; }
.vm-faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 52px; font: 700 16px/22px var(--font-sans); cursor: pointer; list-style: none; }
.vm-faq summary::-webkit-details-marker { display: none; }
.vm-faq summary::after { content: "+"; font: 800 22px/1 var(--font-display); }
.vm-faq details[open] summary::after { content: "–"; }
.vm-faq details p { padding: 0 0 var(--space-4); }
@media (min-width: 600px) {
  .vm-wrap { padding: 0 var(--space-6); }
  .vm-hero { grid-template-columns: 96px 1fr; gap: var(--space-5); padding: var(--space-8) 0 var(--space-6); }
  .vm-hero__logo { width: 96px; height: 96px; font-size: 34px; }
  .vm-hero h1 { font-size: 34px; line-height: 36px; }
  .vm-stat { padding: var(--space-4) var(--space-5); }
  .vm-stat b { font-size: 28px; line-height: 30px; }
  .vm-stat span { font-size: 13px; }
}
@media (min-width: 960px) {
  .vm-hero { grid-template-columns: 96px 1fr 460px; }
  .vm-stats { grid-column: auto; }
  .vm-layout { grid-template-columns: 1fr var(--sidebar); gap: var(--space-8); }
  .vm-list { gap: var(--space-4); }
  .vm-side { position: sticky; top: 92px; }
}

/* ================= site layer ================= */
/* Layout concept: one 1200px column; ticket lists are the spine of every page, sidebars carry context. */
html { background: var(--paper); color-scheme: light; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.vm img { max-width: 100%; }
.vm h1, .vm h2, .vm h3 { text-wrap: balance; }
.vm-header { top: env(safe-area-inset-top, 0px); }
.vm-header__nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.vm-menubtn { display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); cursor: pointer; }
.vm-mobilenav { border-top: 1px solid var(--edge); background: var(--surface); padding: var(--space-3) var(--space-4) var(--space-4); display: grid; gap: var(--space-3); }
.vm-mobilenav nav { display: grid; }
.vm-mobilenav nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; text-decoration: none; font: 600 17px/22px var(--font-sans); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .vm-mobilenav, .vm-menubtn { display: none !important; } }

.vm-section { padding-block: var(--space-8); display: grid; gap: var(--space-5); }
.vm-section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.vm-section__head h2 { font: 700 24px/30px var(--font-display); letter-spacing: -.02em; }
.vm-section__head p { color: var(--ink-muted); font-size: 15px; line-height: 22px; margin-top: 4px; }
.vm-link { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; white-space: nowrap; }
@media (min-width: 960px) { .vm-section { padding-block: var(--space-12); } .vm-section__head h2 { font-size: 30px; line-height: 36px; } }

/* ---------- grids ---------- */
.vm-grid-tickets { display: grid; gap: var(--space-3); }
@media (min-width: 960px) { .vm-grid-tickets { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.vm-grid-stores { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (min-width: 600px) { .vm-grid-stores { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
@media (min-width: 960px) { .vm-grid-stores { grid-template-columns: repeat(4, 1fr); } }
.vm-store { min-width: 0; }
.vm-store > span:last-child { min-width: 0; }
.vm-store__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-store__logo { font-size: 14px; letter-spacing: -.03em; }

/* ---------- article cards ---------- */
.vm-cards { display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .vm-cards { grid-template-columns: repeat(3, 1fr); } }
.vm-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-rest); transition: transform .12s ease-out, box-shadow .12s ease-out; }
@media (hover: hover) { .vm-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); } }
.vm-card__art { position: relative; aspect-ratio: 16 / 8; max-width: 100%; overflow: hidden; }
.vm-card__body { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-4) var(--space-5) var(--space-5); }
.vm-card__body h3 { font: 700 19px/24px var(--font-display); letter-spacing: -.015em; }
.vm-card__body p { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.vm-meta { font: 600 13px/18px var(--font-sans); color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.vm-meta .vm-kick { color: var(--teal); }
/* article art: a ticket stub motif drawn in CSS */
.vm-art { position: absolute; inset: 0; display: grid; place-items: center; }
.vm-art--teal { background: var(--teal-soft); color: var(--teal); }
.vm-art--gleam { background: var(--gleam); color: var(--on-gleam); }
.vm-art__fig { font: 800 64px/1 var(--font-display); letter-spacing: -.05em; }
.vm-art::before, .vm-art::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--paper); }
.vm-art::before { left: -14px; } .vm-art::after { right: -14px; }
.vm-art__perf { position: absolute; left: 28%; top: 10%; bottom: 10%; border-left: 2px dashed currentColor; opacity: .35; }
.vm-cards--feature { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .vm-cards--feature .vm-card { grid-template-columns: 1.1fr 1fr; grid-template-rows: none; }
  .vm-cards--feature .vm-card__art { aspect-ratio: auto; min-height: 300px; }
  .vm-cards--feature .vm-card__body { padding: var(--space-8); align-content: center; gap: var(--space-3); }
  .vm-cards--feature .vm-card__body h3 { font-size: 32px; line-height: 38px; letter-spacing: -.025em; }
  .vm-cards--feature .vm-card__body p { font-size: 16px; line-height: 24px; }
  .vm-cards--feature .vm-art__fig { font-size: 120px; }
}

/* ---------- newsletter band ---------- */
.vm-band { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); }
.vm-band h2 { font: 700 26px/32px var(--font-display); letter-spacing: -.02em; }
.vm-band p { opacity: .8; font-size: 15px; line-height: 22px; }
.vm-band form { display: grid; gap: var(--space-2); }
.vm-band input { height: 52px; padding: 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--surface); background: var(--surface); color: var(--ink); font: 16px/24px var(--font-sans); }
.vm-band .vm-btn--gleam { min-height: 52px; }
.vm-formnote { font-size: 14px; line-height: 20px; }
@media (min-width: 800px) { .vm-band { grid-template-columns: 1fr 1fr; align-items: center; padding: var(--space-8); } .vm-band form { grid-template-columns: 1fr auto; } }

/* ---------- page heads ---------- */
.vm-pagehead { display: grid; gap: var(--space-3); padding-block: var(--space-5) var(--space-6); }
.vm-pagehead h1 { font: 700 30px/36px var(--font-display); letter-spacing: -.025em; }
.vm-pagehead p { color: var(--ink-muted); max-width: 60ch; }
@media (min-width: 600px) { .vm-pagehead h1 { font-size: 40px; line-height: 46px; } }

/* ---------- A–Z ---------- */
.vm-az { display: flex; flex-wrap: wrap; gap: 6px; }
.vm-az a, .vm-az span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--edge); text-decoration: none; font: 700 15px/1 var(--font-display); }
.vm-az span { color: var(--line-strong); background: transparent; }
.vm-azgroup { display: grid; gap: var(--space-3); padding-top: var(--space-5); }
.vm-azgroup h2 { font: 800 28px/1 var(--font-display); color: var(--teal); }

/* ---------- search ---------- */
.vm-searchpage .vm-search { height: 56px; }
.vm-results { display: grid; gap: var(--space-6); }
.vm-results h2 { font: 700 20px/26px var(--font-display); }
.vm-empty { padding: var(--space-8) var(--space-5); text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--ink-muted); }
.vm-empty b { display: block; font: 700 20px/26px var(--font-display); color: var(--ink); margin-bottom: 6px; }
.vm-artlist { display: grid; gap: var(--space-2); }
.vm-artrow { display: grid; gap: 4px; padding: var(--space-4); background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-md); text-decoration: none; }
.vm-artrow b { font: 700 17px/22px var(--font-display); }

/* ---------- article ---------- */
.vm-article { display: grid; gap: var(--space-8); padding-bottom: var(--space-12); }
.vm-article__head { display: grid; padding-top: var(--space-5); }
.vm-article__head h1 { font: 800 32px/38px var(--font-display); letter-spacing: -.03em; }
.vm-article__stand { font-size: 19px; line-height: 29px; color: var(--ink-muted); }
.vm-article__art { position: relative; aspect-ratio: 21 / 6; max-height: 320px; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.vm-article__art .vm-art__fig { font-size: 96px; }
.vm-article__grid { display: grid; gap: var(--space-8); }
.vm-prose { display: grid; gap: var(--space-4); font-size: 17px; line-height: 28px; }
.vm-prose h2 { font: 700 24px/30px var(--font-display); letter-spacing: -.02em; margin-top: var(--space-4); }
.vm-prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.vm-prose li::marker { color: var(--teal); }
.vm-tip { padding: var(--space-4) var(--space-5); background: var(--teal-soft); border-radius: var(--radius-md); font-size: 16px; line-height: 25px; }
.vm-tip b { display: block; font: 800 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.vm-tablewrap { overflow-x: auto; border: 1px solid var(--edge); border-radius: var(--radius-md); background: var(--surface); }
.vm-tablewrap table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 21px; font-variant-numeric: tabular-nums; }
.vm-tablewrap th { text-align: left; font: 700 13px/18px var(--font-sans); color: var(--ink-muted); background: var(--surface-sunk); }
.vm-tablewrap th, .vm-tablewrap td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vm-tablewrap tr:last-child td { border-bottom: 0; }
@media (min-width: 600px) { .vm-article__head h1 { font-size: 46px; line-height: 52px; } }
@media (min-width: 1000px) { .vm-article__grid { grid-template-columns: minmax(0, 1fr) var(--sidebar); } }

/* ---------- ticket helpers ---------- */
.vm-ticket__storelink { text-decoration: none; }
.vm-ticket__storelink i { display: grid; place-items: center; font: 800 9px/1 var(--font-display); font-style: normal; letter-spacing: -.02em; }
.vm-ticket__storelink:hover { color: var(--teal); }
.vm-ticket__stub .vm-ticket__big { font-variant-numeric: tabular-nums; }
/* Long savings ("£39.95", "Member", "Up to 20%") are sized to fill the stub: its width (--stub) over the
   text's widest line in ems (--ems, worked out by Offer::stubFit), never bigger than the usual 40px. */
.vm-ticket__stub--long { padding-inline: 6px; text-align: center; }
.vm-ticket__stub--long .vm-ticket__big { white-space: nowrap; }
.vm-codefoot { display: flex; justify-content: space-between; gap: var(--space-2); font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vm-codefoot button { border: 0; background: none; padding: 0; color: var(--teal); font: 600 13px/18px var(--font-sans); text-decoration: underline; cursor: pointer; }
.vm-terms { font-size: 13px; line-height: 19px; color: var(--ink-muted); padding: var(--space-3); background: var(--surface-sunk); border-radius: var(--radius-sm); grid-column: 1 / -1; }
.vm-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius-pill); font: 600 15px/20px var(--font-sans); transition: opacity .15s ease-out, transform .15s ease-out; z-index: 20; pointer-events: none; max-width: calc(100% - 32px); }
.vm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.vm-ticket[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .vm *, .vm-toast { transition: none !important; } }

/* ---------- give: charity picker ---------- */
.vm-give { display: grid; gap: var(--space-3); border-color: var(--teal); border-width: 1.5px; }
.vm-give__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.vm-give__top h3 { margin: 0 !important; }
.vm-give fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.vm-give legend { font: 700 13px/18px var(--font-sans); color: var(--ink-muted); padding: 0; margin-bottom: 6px; }
.vm-charity { position: relative; display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: var(--space-3); min-height: 52px; padding: 8px 12px 8px 8px; border: 1px solid var(--edge); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; }
.vm-charity:hover { border-color: var(--line-strong); }
.vm-charity input { position: absolute; opacity: 0; pointer-events: none; }
.vm-charity__logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 800 12px/1 var(--font-display); }
.vm-charity__name { display: block; font: 700 14px/18px var(--font-sans); }
.vm-charity__cause { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.vm-charity__tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.vm-charity__tick svg { width: 12px; height: 12px; opacity: 0; color: var(--on-teal); }
.vm-charity:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.vm-charity:has(input:checked) .vm-charity__tick { background: var(--teal); border-color: var(--teal); }
.vm-charity:has(input:checked) .vm-charity__tick svg { opacity: 1; }
.vm-charity:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.vm-give__status { font-size: 14px; line-height: 20px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-sunk); }
.vm-give__status b { color: var(--teal); }
.vm-give .vm-btn { width: 100%; }

/* ---------- charities page ---------- */
.vm-givehero { display: grid; gap: var(--space-5); padding: var(--space-6); margin-top: var(--space-5); border-radius: var(--radius-lg); background: var(--teal); color: var(--on-teal); }
.vm-givehero h1 { font: 800 34px/38px var(--font-display); letter-spacing: -.03em; max-width: 16ch; }
.vm-givehero p { opacity: .92; font-size: 17px; line-height: 26px; }
.vm-givehero__stat b { display: block; font: 800 48px/50px var(--font-display); letter-spacing: -.03em; color: var(--gleam); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .vm-givehero { grid-template-columns: 1.4fr 1fr; align-items: end; padding: var(--space-12) var(--space-8); } .vm-givehero h1 { font-size: 52px; line-height: 54px; } }
.vm-steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: g; }
.vm-steps3 li { counter-increment: g; gap: 6px; padding: var(--space-5); background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.vm-steps3 li::before { content: counter(g); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gleam); color: var(--on-gleam); font: 800 14px/1 var(--font-display); }
.vm-steps3 li b { color: var(--ink); font: 700 17px/22px var(--font-display); }
@media (min-width: 800px) { .vm-steps3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- account ---------- */
.vm-acct__pitch h1 { font: 800 34px/40px var(--font-display); letter-spacing: -.03em; }
.vm-acct__pitch ul { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.vm-acct__pitch li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); font-size: 16px; line-height: 24px; }
.vm-acct__pitch li svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.vm-form { display: grid; gap: var(--space-4); }
.vm-field { display: grid; gap: 6px; }
.vm-field label { font: 700 14px/18px var(--font-sans); }
.vm-field input, .vm-field select { height: 48px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font: 16px/24px var(--font-sans); }
.vm-field small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vm-check { font-size: 14px; line-height: 20px; }
.vm-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); flex: none; }
.vm-error { color: var(--expiring); font-size: 14px; line-height: 20px; }
.vm-acctchip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); text-decoration: none; font: 700 14px/18px var(--font-sans); white-space: nowrap; background: var(--surface); }
.vm-acctchip i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--on-teal); font: 800 12px/1 var(--font-display); font-style: normal; }
.vm-acctchip--out { padding: 0 16px; background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.vm-header__acct { display: none; }
@media (min-width: 960px) { .vm-header__acct { display: inline-flex; } }
[hidden] { display: none !important; }
.vm-mobilenav > * { min-width: 0; }
.vm-mobilenav .vm-search { width: 100%; }

.vm-side .vm-stores { grid-template-columns: 1fr; }
.vm-steps3 li { display: flex; flex-direction: column; }
