/* Hallmark · shape: Long Page (photo-led) · genre: editorial · theme: brand (Zonuru, DESIGN.md) · redesign: premium pass · surface: absolute
 * paper: --z-paper · accent: --z-orange · display: Hanken Grotesk 700 · body: Hanken Grotesk · wordmark: Jost
 * nav: the mark and wordmark, pricing, one action · footer: wordmark, links and one line · signature: a full-width row of guests' named invitations under the headline, turned slightly away, a slow wave running through it
 * axes: light/grotesk-sans/warm · posture: settled · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: H, the occasions were plain photos; now they are real Zonuru pages */
/* Hallmark · waive 7b · panel #FFFFFF on --z-paper · white panels on paper are the Zonuru system (DESIGN.md) */
/* avoid-ai-design-ignore: SD4d (Hallmark's stamp uses middle dots by design) */
@import url("./tokens.css?v=51f9aa6mwpg4uq7");

/* Home, docs/DESIGN.md Part 7b and docs/references/premium/home. Named references per section in index.html:
   Luma and Partiful (hero), Luma (occasions as real pages), Paperless Post (named card), Wise (gift on a photo),
   Joy (feature list), Linear (split rows), Squarespace (dark band). Zonuru colour system. */
:root {
  --hm-max: 1200px;
  --hm-gut: max(20px, env(safe-area-inset-left));
  --hm-shadow: 0 1px 2px rgba(15,14,13,.06), 0 18px 40px -18px rgba(15,14,13,.35);
  --hm-shot: 0 1px 2px rgba(15,14,13,.05), 0 24px 48px -28px rgba(15,14,13,.4);
  --hm-link: #C2330F;
  --hm-sec: clamp(80px, 9vw, 128px);   /* every section, top and bottom */
  --hm-step: var(--z-12);              /* heading to content, everywhere */
  --hm-col: clamp(40px, 6vw, 88px);    /* the one gap between two columns */
  --hm-envelope: #FDFBF6;
  --hm-grid-line: rgba(15,14,13,.05);   /* the closing section's grid, barely there */
  --wo-on: #FFFFFF;                    /* text on a poster card's own colour (contrast checked when the colour is read) */
  --wo-on-2: rgba(255,255,255,.8);
  --wo-ink-2: rgba(15,14,13,.78);      /* secondary text on a light poster colour */
  --hm-row-shadow: -10px 18px 30px -16px rgba(0,0,0,.45);
}
html, body { overflow-x: clip; }
.hm { margin: 0; background: var(--z-paper); color: var(--z-ink); font: var(--z-w-regular) var(--z-body)/var(--z-body-lh) var(--z-sans); -webkit-font-smoothing: antialiased; }
.hm-wrap { max-width: var(--hm-max); margin: 0 auto; padding-left: var(--hm-gut); padding-right: max(20px, env(safe-area-inset-right)); box-sizing: border-box; }
.hm h1, .hm h2, .hm h3 { margin: 0; font-weight: var(--z-w-display); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.hm h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: var(--z-track-display); }
.hm p { margin: 0; }
.hm img { display: block; max-width: 100%; height: auto; }
.hm a:focus-visible, .hm button:focus-visible { outline: none; box-shadow: var(--z-focus); }
.hm-sec { padding-top: var(--hm-sec); padding-bottom: var(--hm-sec); }
.hm-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hm-col); align-items: end; margin-bottom: var(--hm-step); }
.hm-head p { color: var(--z-ink-2); font-size: var(--z-body-lg); line-height: var(--z-body-lg-lh); max-width: 46ch; }

/* Bar and buttons */
.hm-bar { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.hm-wm { display: inline-flex; align-items: center; gap: var(--z-2); color: var(--z-ink); text-decoration: none; border-radius: var(--z-r-tag); }
.hm-wm img { width: 28px; height: 28px; border-radius: 7px; }
.hm-wm span { font-family: var(--z-mark); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.hm-nav { display: flex; align-items: center; gap: var(--z-6); }
.hm-navlink { color: var(--z-ink); font-weight: var(--z-w-strong); text-decoration: none; border-radius: var(--z-r-tag); padding: var(--z-2) 0; white-space: nowrap; }
@media (hover: hover) { .hm-navlink:hover { text-decoration: underline; text-underline-offset: 4px; } }
/* Buttons after Raycast's: a rounded rectangle with a light top edge and a darker bottom edge, so it reads as a key you press */
.hm-btn { display: inline-flex; align-items: center; height: 54px; padding: 0 var(--z-6); border-radius: var(--z-r-btn); background: var(--z-orange); color: var(--z-on-orange); font: var(--z-w-display) 19px var(--z-sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; box-shadow: var(--z-key); transition: transform .12s var(--z-ease), box-shadow .12s var(--z-ease), filter .15s; }
/* The top bar's button at Notion's size (notion.com, measured 6 November 2026: 36px tall, 16px text, 14px sides). */
.hm-btn-sm { height: 36px; padding: 0 14px; border-radius: var(--z-r-btn-sm); font-size: 16px; font-weight: var(--z-w-strong); }
.hm-btn:active { transform: translateY(1px); box-shadow: var(--z-key-down); }
@media (hover: hover) { .hm-btn:hover { filter: brightness(1.06); } }

/* 1 · Hero: Posh's big headline over a full-width row of designs, the row turned slightly away (Partiful's depth); a slow wave runs along it */
.hm-hero { padding-top: var(--z-8); padding-bottom: var(--z-12); }
.hm-hero-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--z-6); }
.hm-hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -0.05em; max-width: 20ch; }
.hm-hero-side { display: flex; flex-wrap: wrap; align-items: center; gap: var(--z-4) var(--z-8); }
.hm-hero-side p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--z-ink-2); max-width: 36ch; }
.hm-hero-top > .hm-strip { container-type: inline-size; width: 100%; margin-top: var(--z-6); }
/* Every card stays inside the page: an overlapping row sized to the container, gently tilted (owner, 30 October) */
.hm-strip-row { --n: 9; display: flex; justify-content: center; padding: var(--z-4) 0 var(--z-6); }
.hm-strip-row img { flex: none; width: calc(100cqw / (var(--n) * .72 + .28)); margin-left: calc(100cqw / (var(--n) * .72 + .28) * -.28); border-radius: 6px; box-shadow: var(--hm-row-shadow); transform: rotate(-3deg); }
.hm-strip-row img:first-child { margin-left: 0; }
.hm-strip-row img:nth-child(even) { transform: rotate(3deg) translateY(10px); }
.hm-strip-row img:nth-child(n+10) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hm-strip-row img { animation: hm-in .8s var(--z-ease) both, hm-wave 5s ease-in-out infinite; animation-delay: calc(var(--i) * .06s), calc(var(--i) * .2s); }
}
@keyframes hm-in { from { opacity: 0; } }
@keyframes hm-wave { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -12px; } }
.hm-float { position: absolute; z-index: 5; display: flex; align-items: center; gap: var(--z-3); padding: var(--z-3) var(--z-4) var(--z-3) var(--z-3); background: var(--z-card); border-radius: 16px; box-shadow: var(--hm-shadow); }
.hm-float b { display: block; font-size: 15px; font-weight: var(--z-w-strong); line-height: 1.3; }
.hm-float span { display: block; font-size: 13px; color: var(--z-ink-2); line-height: 1.35; }
.hm-tick { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--z-ok-bg); color: var(--z-ok-icon); }
@keyframes hm-rise { from { opacity: 0; transform: translateY(14px); } }

.hm-hero + .hm-sec { padding-top: var(--z-6); }
/* Screens are shown whole, in a phone frame (Apple's product pages), never as a slice of a page */
.hm-phone { display: block; padding: 6px; border-radius: 34px; background: var(--z-ink); box-shadow: var(--hm-shot); }
.hm-phone img { width: 100%; height: auto !important; aspect-ratio: 390 / 844 !important; border-radius: 28px !important; box-shadow: none !important; margin: 0 !important; object-fit: cover; object-position: top; }

/* 2 · Occasions (Luma) */
.hm-pages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--z-5); }
.hm-pages a { display: grid; gap: 2px; color: inherit; text-decoration: none; border-radius: var(--z-r-card); }
@media (hover: hover) { .hm-pages a:hover .hm-phone { transform: translateY(-4px); } .hm-pages a:hover b { text-decoration: underline; text-underline-offset: 3px; } }
.hm-pages .hm-phone { transition: transform .3s var(--z-ease); }
.hm-pages .hm-phone { margin-bottom: var(--z-3); }
.hm-pages img { width: 100%; aspect-ratio: 480 / 1077; object-fit: cover; object-position: top; border-radius: var(--z-r-card); box-shadow: var(--hm-shot); }
.hm-pages b { font-size: var(--z-h3); font-weight: var(--z-w-strong); letter-spacing: var(--z-track-heading); }
.hm-pages span { font-size: var(--z-small); color: var(--z-ink-2); }
.hm-also { margin-top: var(--hm-step) !important; color: var(--z-ink-2); }
.hm-also a { color: var(--hm-link); font-weight: var(--z-w-strong); }

/* 3 · Named invitations (Paperless Post): each card in front of its open envelope, lined in the card's colour */
/* Backgrounds after Luma and Apple: one paper colour, a faint warm tone on every other section, one dark band for the venue screen. The colour comes from the cards and photos. */
.hm-band { background: var(--z-paper-2); }
.hm-invs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-10); }
.hm-inv { margin: 0; }
.hm-art { position: relative; aspect-ratio: 1 / 1.12; }
.hm-art > img { position: absolute; left: 0; bottom: 0; width: 66%; border-radius: 4px; box-shadow: var(--hm-shot); }
.hm-env { position: absolute; right: 0; top: 30%; width: 74%; height: 48%; background: var(--liner); border-radius: 3px; box-shadow: var(--hm-shot); }
.hm-env::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 58%; background: var(--hm-envelope); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.hm-env::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: calc(100% - 1px); height: 52%; background: var(--liner); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.hm-env i { position: absolute; inset: 0; background: var(--hm-envelope); border-radius: 3px; clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%); }
.hm-inv figcaption { margin-top: var(--z-5); display: grid; gap: 2px; }
.hm-inv figcaption b { font-size: var(--z-h3); font-weight: var(--z-w-strong); letter-spacing: var(--z-track-heading); }
.hm-inv figcaption span { font-size: var(--z-small); color: var(--z-ink-2); }


/* 3b · One card, every guest's name (Paperless Post) */
.hm-named { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hm-col); align-items: center; }
.hm-fan { position: relative; aspect-ratio: 1 / .78; }
.hm-fan img { position: absolute; top: 8%; left: 31%; width: 38%; border-radius: 6px; box-shadow: var(--hm-shot); }
.hm-fan img:nth-child(1) { transform: translateX(-76%) translateY(6%) rotate(-5deg); }
.hm-fan img:nth-child(2) { transform: translateX(76%) translateY(6%) rotate(5deg); }
.hm-named-copy { display: grid; gap: var(--z-5); }
.hm-named-copy > p { font-size: var(--z-body-lg); line-height: var(--z-body-lg-lh); color: var(--z-ink-2); max-width: 46ch; }
.hm-guests { list-style: none; margin: var(--z-3) 0 0; padding: 0; max-width: 420px; }
.hm-guests li { display: flex; justify-content: space-between; gap: var(--z-4); padding: var(--z-4) 0; border-top: 1px solid var(--z-line); }
.hm-guests li:last-child { border-bottom: 1px solid var(--z-line); }
.hm-guests b { font-weight: var(--z-w-strong); }
.hm-guests span { color: var(--z-ink-2); }

/* 4 · Gifts (Wise) */
.hm-give { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hm-col); align-items: center; }
.hm-give-pic { position: relative; }
.hm-give-pic > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; }
.hm-f4 { left: var(--z-6); bottom: var(--z-6); }
.hm-give-copy { display: grid; gap: var(--z-5); }
.hm-give-copy p { font-size: var(--z-body-lg); line-height: var(--z-body-lg-lh); color: var(--z-ink-2); max-width: 46ch; }
.hm-give-copy .hm-quiet { color: var(--z-ink); font-weight: var(--z-w-strong); }

/* 5 · Feature list (Joy) */
.hm-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hm-col); align-items: center; }
.hm-list ul { list-style: none; margin: var(--z-8) 0 0; padding: 0; display: grid; }
.hm-list button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: var(--z-3) 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: var(--z-w-strong); letter-spacing: var(--z-track-heading); color: var(--z-ink-2); cursor: pointer; border-radius: var(--z-r-tag); transition: color .2s; }
.hm-list button[aria-selected="true"] { color: var(--z-ink); }
@media (hover: hover) { .hm-list button:hover { color: var(--z-ink); } .hm-list button[aria-selected="true"]:hover { color: var(--z-ink); } }
.hm-list-r { display: grid; place-items: center; }
.hm-list-r img { width: min(100%, 390px); border-radius: var(--z-r-card); box-shadow: var(--hm-shot); }

/* 6 · Run the day (Linear) */
.hm-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-5); }
.hm-shots img { width: 100%; aspect-ratio: 780 / 1068; object-fit: cover; object-position: top; border-radius: var(--z-r-card); box-shadow: var(--hm-shot); background: var(--z-card); }

/* 7 · Venue screen (Squarespace) */
.hm-dark { background: var(--z-deep); color: var(--z-deep-ink); }
.hm-dark .hm-head p { color: var(--z-deep-mute); }
.hm-tv { width: 100%; border-radius: var(--z-r-card); }

/* 8 · The end, on a barely-there grid (owner, 30 October): hard 1px lines every 40px, no fade */
.hm-grid { background-color: var(--z-paper); background-image: linear-gradient(var(--hm-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hm-grid-line) 1px, transparent 1px); background-size: 40px 40px; background-position: center top; border-top: 1px solid var(--z-line); }
.hm-end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hm-col); align-items: center; }
.hm-end > .hm-phone { justify-self: center; width: min(100%, 300px); }
.hm-end-copy { display: grid; justify-items: start; gap: var(--z-5); }
.hm-end-copy p { font-size: var(--z-body-lg); color: var(--z-ink-2); }
.hm-end-copy p a { color: var(--hm-link); font-weight: var(--z-w-strong); }
.hm-end-copy .hm-btn { margin-top: var(--z-3); }

/* Footer */
.hm-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--z-4); flex-wrap: wrap; padding-top: var(--z-10); padding-bottom: max(var(--z-10), env(safe-area-inset-bottom)); border-top: 1px solid var(--z-line); color: var(--z-ink-2); font-size: var(--z-small); }
.hm-foot .hm-wm span { font-size: 19px; }
.hm-foot-links { display: flex; flex-wrap: wrap; gap: 0 var(--z-6); }
.hm-foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--z-ink); text-decoration: none; border-radius: var(--z-r-tag); }
@media (hover: hover) { .hm-foot-links a:hover { text-decoration: underline; } }
.hm-foot .hm-wm img { width: 24px; height: 24px; }

/* Tablet and phone */
@media (max-width: 1000px) {
  .hm-strip-row { --n: 7; }
  .hm-strip-row img:nth-child(n+8) { display: none; }
  .hm-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--z-8); }
}
@media (max-width: 480px) { .hm-navlink:not(.hm-login):not(.au-out) { display: none; } .hm-nav .hm-btn-sm { display: none; } }
@media (max-width: 760px) {
  .hm-head, .hm-give, .hm-list { grid-template-columns: minmax(0, 1fr); }
  .hm-head { gap: var(--z-4); }
  .hm-end, .hm-named { grid-template-columns: minmax(0, 1fr); }
  .hm-end > .hm-phone { width: min(100%, 280px); }
  .hm-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--z-6) var(--z-4); }
  .hm-pages b { font-size: 17px; }
  .hm-invs { grid-template-columns: minmax(0, 1fr); gap: var(--z-10); }
  .hm-art { max-width: 400px; }
  .hm-bar { height: 64px; }
  .hm-nav { gap: var(--z-4); }
  .hm-btn-sm { height: 36px; padding: 0 14px; }
  .hm-strip-row { --n: 5; }
  .hm-strip-row img:nth-child(n+6) { display: none; }
  .hm-list-r { min-height: 0; }
  .hm-shots { gap: var(--z-3); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-btn, .hm-pages img, .hm-list button { transition: none; }
}

/* ---------- What's on (docs/DESIGN.md Part 18) ----------
   Luma's city page: the city's name large and one line, a photo of people; then the events grouped by day, each row
   the time, the title, who, where and the price, the event's photo on the right. Meetup's filters (when, topic) and
   Partiful's city switch sit in one quiet row. */
.wo { padding-top: var(--z-6); padding-bottom: var(--z-24); }
.wo-top { display: grid; gap: var(--z-6); align-items: end; }
.wo-head h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: var(--z-track-display); overflow-wrap: break-word; min-width: 0; }
.wo-head p { margin-top: var(--z-3) !important; max-width: 46ch; color: var(--z-ink-2); font-size: var(--z-body-lg); line-height: 1.45; }
.wo-photo { margin: 0; }
.wo-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--z-r-card); }
@media (min-width: 900px) { .wo-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--hm-col); } .wo-head { padding-bottom: var(--z-6); } }
.wo-filters { display: flex; flex-wrap: wrap; gap: var(--z-4) var(--z-6); align-items: end; margin: var(--z-12) 0 var(--z-8); padding-bottom: var(--z-6); border-bottom: 1px solid var(--z-line); }
.wo-f { display: grid; gap: var(--z-2); }
.wo-f > span { font-size: 14px; font-weight: var(--z-w-strong); color: var(--z-ink-2); }
.wo-f select { height: 44px; padding: 0 var(--z-10) 0 var(--z-4); border: 0; border-radius: var(--z-r-field); box-shadow: inset 0 0 0 1px var(--z-edge); background: var(--z-card); color: var(--z-ink); font: var(--z-w-strong) 16px var(--z-sans); }
.wo-f select:focus-visible { outline: none; box-shadow: var(--z-focus); }
.wo-when { display: flex; flex-wrap: wrap; gap: var(--z-1); padding: var(--z-1); border-radius: var(--z-r-field); background: var(--z-paper-2); }
.wo-when label { position: relative; }
.wo-when input { position: absolute; opacity: 0; pointer-events: none; }
.wo-when span { display: grid; place-items: center; height: 36px; padding: 0 var(--z-4); border-radius: var(--z-r-tag); font-weight: var(--z-w-strong); font-size: 15px; color: var(--z-ink-2); cursor: pointer; }
.wo-when input:checked + span { background: var(--z-card); color: var(--z-ink); box-shadow: 0 0 0 1px var(--z-line); }
.wo-when input:focus-visible + span { box-shadow: var(--z-focus); }
.wo-days { display: grid; gap: var(--z-10); }
.wo-day h2 { margin-bottom: var(--z-2) !important; font-size: var(--z-h3); line-height: var(--z-h3-lh); }
.wo-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-5); }
.wo-list li { --wo-c: var(--z-ink); }
.wo-list li.wo-light { --wo-on: var(--z-ink); --wo-on-2: var(--wo-ink-2); }
.wo-ev { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: var(--z-r-card); overflow: hidden; background: var(--wo-c); color: var(--wo-on); text-decoration: none; transition: transform .2s ease; }
@media (hover: hover) { .wo-ev:hover { transform: translateY(-3px); } .wo-orgs a:hover b { text-decoration: underline; text-underline-offset: 3px; } }
.wo-ev:focus-visible { outline: none; box-shadow: var(--z-focus); }
.wo-poster { display: grid; place-items: center; aspect-ratio: 1; padding: var(--z-3) var(--z-3) 0; overflow: hidden; }
.wo-poster > * { min-height: 0; }
.wo-poster img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--z-r-field); }
.wo-ptitle { align-self: end; justify-self: start; color: var(--wo-on); padding: var(--z-3); font-size: clamp(22px, 2.4vw, 30px); font-weight: var(--z-w-display); line-height: 1.08; letter-spacing: var(--z-track-display); overflow-wrap: anywhere; }
.wo-t { display: grid; align-content: start; gap: 2px; min-width: 0; padding: var(--z-4); }
.wo-t b { font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.wo-t span { color: var(--wo-on-2); font-size: 15px; overflow-wrap: anywhere; }
.wo-t .wo-time { color: var(--wo-on); font-weight: var(--z-w-strong); font-variant-numeric: tabular-nums; }
.wo-t .wo-price { margin-top: var(--z-2); color: var(--wo-on); font-weight: var(--z-w-strong); }
.wo-t .wo-going { color: var(--wo-on-2); font-weight: 400; }
.wo-orgs { margin-top: var(--z-12); }
.wo-orgs h2 { margin-bottom: var(--z-4) !important; font-size: var(--z-h3); line-height: var(--z-h3-lh); }
@media (min-width: 900px) { .wo-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: var(--hm-col); align-items: start; }
  .wo-body .wo-orgs { margin-top: 0; position: sticky; top: var(--z-6); } .wo-body .wo-orgs ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .wo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .wo-ev { transition: none; } .wo-ev:hover { transform: none; } }
.wo-orgs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--z-3) var(--z-6); }
.wo-orgs a { display: flex; gap: var(--z-3); align-items: center; padding: var(--z-2) 0; color: var(--z-ink); text-decoration: none; border-radius: var(--z-r-field); }
.wo-orgs a:focus-visible { outline: none; box-shadow: var(--z-focus); }
.wo-orgs img { width: 56px; height: 56px; flex: none; border-radius: var(--z-r-field); object-fit: cover; background: var(--z-paper-2); }
.wo-orgs a > span { display: grid; min-width: 0; }
.wo-orgs a > span > span { color: var(--z-ink-2); font-size: 15px; }
.wo-none { color: var(--z-ink-2); }
.wo-empty { display: grid; justify-items: start; gap: var(--z-3); padding: var(--z-10) var(--z-6); border-radius: var(--z-r-card); background: var(--z-card); box-shadow: inset 0 0 0 1px var(--z-line); }
.wo-empty p { color: var(--z-ink-2); max-width: 52ch; }
.wo-empty[hidden], .wo-day[hidden], .wo-list li[hidden] { display: none; }
.wo-foot { margin-top: var(--z-16); display: grid; gap: var(--z-2); color: var(--z-ink-2); font-size: 15px; }
.wo-foot a { color: var(--z-ink); }
@media (max-width: 560px) {
  .wo-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--z-4) var(--z-3); }
  .wo-filters > .wo-f:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .wo-f select { width: 100%; min-width: 0; }
  .wo-when { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wo-when span { padding: 0 var(--z-1); font-size: 14px; white-space: nowrap; }
  .wo-list { gap: var(--z-3); }
  .wo-poster { padding: var(--z-2) var(--z-2) 0; }
  .wo-t { padding: var(--z-3); }
  .wo-t b { font-size: 16px; }
  .wo-t span { font-size: 14px; }
  .wo-ptitle { font-size: 20px; padding: var(--z-2); }
}
@media (prefers-reduced-motion: reduce) { .wo-when span { transition: none; } }
.wo-foot a { white-space: nowrap; }

/* ---------- Shared pieces (owner, 9 November 2026): one button everywhere, 48px, 17px semibold, flat, presses in ---------- */
.hm-btn { height: 48px; font-size: 17px; font-weight: var(--z-w-strong); box-shadow: none; }
.hm-btn:active { transform: scale(.98); box-shadow: none; }

/* ---- Home, design round 4 (10 November 2026) ---- */
/* Two plain sections meeting ("One card" then "Gifts go straight to you") share one gap, not two. */
.hm-named { padding-bottom: calc(var(--hm-sec) * .5); }
.hm-named-copy { align-self: center; }
section:has(> .hm-named) + .hm-give { padding-top: calc(var(--hm-sec) * .5); }
@media (max-width: 760px) {
  /* Run the day: the host's screens in a row you swipe, each big enough to read. */
  .hm-shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--hm-gut) * -1); margin-right: -20px; padding: 4px 20px 18px var(--hm-gut); scroll-padding-left: var(--hm-gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hm-shots::-webkit-scrollbar { display: none; }
  .hm-shots > .hm-phone { flex: 0 0 74%; scroll-snap-align: start; }
  /* The venue screen: edge to edge, the whole screen with nothing cut. */
  .hm-dark img.hm-tv { width: calc(100% + var(--hm-gut) + 20px); max-width: none; margin-left: calc(var(--hm-gut) * -1); border-radius: 0; }
}

/* 2b · The designs: real pages in each design, in one row you scroll (swipe on a phone). */
.hm-occ { padding-bottom: calc(var(--hm-sec) * .5); }
.hm-designs { padding-top: calc(var(--hm-sec) * .5); }
.hm-dz { display: flex; gap: var(--z-5); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc((100vw - min(100vw, var(--hm-max))) / -2 - var(--hm-gut)); margin-right: calc((100vw - min(100vw, var(--hm-max))) / -2 - 20px); padding: var(--z-2) 20px var(--z-6) calc((100vw - min(100vw, var(--hm-max))) / 2 + var(--hm-gut)); scroll-padding-left: calc((100vw - min(100vw, var(--hm-max))) / 2 + var(--hm-gut)); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--z-ink) 25%, transparent) transparent; -webkit-overflow-scrolling: touch; }
.hm-dz figure { flex: 0 0 220px; margin: 0; scroll-snap-align: start; }
.hm-dz .hm-phone { margin-bottom: var(--z-3); }
.hm-dz figcaption { display: grid; gap: 2px; }
.hm-dz figcaption b { font-size: 17px; font-weight: var(--z-w-strong); color: var(--z-ink); }
.hm-dz figcaption span { font-size: 14px; color: var(--z-ink-2); }
@media (max-width: 760px) { .hm-dz figure { flex-basis: 62%; } .hm-dz { scrollbar-width: none; } .hm-dz::-webkit-scrollbar { display: none; } }
.hm-designs { position: relative; }
.hm-dz-nav { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .hm-dz-nav { display: flex; gap: var(--z-2); justify-content: flex-end; margin: calc(var(--z-6) * -1) 0 var(--z-4); }
  .hm-dz-nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--z-ink) 7%, transparent); color: var(--z-ink); cursor: pointer; transition: background-color .15s var(--z-ease); }
  .hm-dz-nav button:hover:not(:disabled) { background: color-mix(in srgb, var(--z-ink) 12%, transparent); }
  .hm-dz-nav button:disabled { opacity: .35; cursor: default; }
  .hm-dz-nav button:focus-visible { outline: 2px solid var(--z-ink); outline-offset: 2px; }
}

/* ---- Two animations (design round 4, 10 November 2026) ---- */
/* 1 · The pages move: each example phone glides slowly down its event page and back, one or two at a time, while the
   row is on screen (the images are the whole top of each page). Reference: Apple's product pages scrolling inside a
   device frame. */
.hm-pages .hm-phone { overflow: hidden; }
@keyframes hm-pan { 0%, 14% { object-position: 50% 0%; } 46%, 60% { object-position: 50% 100%; } 92%, 100% { object-position: 50% 0%; } }
@media (prefers-reduced-motion: no-preference) {
  .hm-pages.is-live .hm-phone img { animation: hm-pan 14s cubic-bezier(.45, 0, .25, 1) infinite; animation-delay: calc(var(--k, 0) * 2.8s); }
  @media (hover: hover) { .hm-pages a:hover .hm-phone img { animation-play-state: paused; } }
}
/* 2 · Your colours, live: the same free design on four events, each in its own colours (from the photo, and the host can change them). */
.hm-swap { position: relative; }
.hm-swap img + img { position: absolute; top: 6px; left: 6px; width: calc(100% - 12px); opacity: 0; }
@keyframes hm-swap { 0% { opacity: 0; } 4%, 29% { opacity: 1; } 33%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hm-swap img + img { animation: hm-swap 12s ease-in-out infinite; }
  .hm-swap img:nth-child(2) { animation-delay: 3s; }
  .hm-swap img:nth-child(3) { animation-delay: 6s; }
  .hm-swap img:nth-child(4) { animation-delay: 9s; }
}
