/* Mahina Club — public site */

:root {
  --night: #0F2340;
  --night-2: #1A3560;
  --night-deep: #0A1A31;
  --ink: #0F2340;
  --text: #253248;
  --muted: #5B6678;
  --faint: #8A93A3;
  --line: #DCE1E8;
  --line-2: #C7CED8;
  --mist: #EEF1F4;
  --paper: #FFFFFF;
  --moon: #F4ECD6;
  --moon-shade: #E4D7B4;
  --moon-2: #EFE3C4;
  --moon-dark: #1B3358;
  --mist-2: #E2E7EC;
  --wash: #F7F8FA;
  --accent: #C8233B;
  --accent-ink: #FFFFFF;
  --accent-deep: #A61A2F;
  --good: #1F7A4D;

  /* tag colors */
  --reef: #0E7C7B;
  --plumeria: #C98A0E;
  --fern: #4E7F3A;
  --lagoon: #2F6DB5;
  --lehua: #C8233B;
  --taro: #6F558F;

  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius-img: 6px;
  --radius-field: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.55; font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
.display { font-size: clamp(48px, 9vw, 120px); font-weight: 850; letter-spacing: -0.045em; line-height: .9; }
.h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: .95; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: 22px; font-weight: 750; letter-spacing: -0.015em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.btn:hover { background: var(--accent-deep); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.dark { background: var(--night); color: #fff; }
.btn.dark:hover { background: var(--night-2); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--moon); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-night .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.on-night .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.danger { background: var(--accent); }
.btn.block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: transparent; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--mist); }
.text-link { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.text-link:hover { text-decoration-color: var(--accent); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }

/* ---------- hint (i) ---------- */
.hint { position: relative; display: inline-grid; place-items: center; color: var(--faint); cursor: help; vertical-align: middle; margin-left: 6px; }
.hint:hover, .hint:focus { color: var(--ink); outline: none; }
.hint-bubble {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(calc(-50% + var(--nudge, 0px))); width: max-content; max-width: min(260px, calc(100vw - 32px));
  background: var(--night); color: #fff; font-size: 13px; line-height: 1.45; font-weight: 500; letter-spacing: 0; white-space: normal; text-align: left;
  padding: 9px 12px; border-radius: 8px; pointer-events: none; z-index: 30; text-transform: none;
  display: none; /* takes no room while hidden, so it can't push a page or popup sideways */
}
.hint:hover .hint-bubble, .hint:focus .hint-bubble { display: block; animation: hint-in .15s ease-out; }
@keyframes hint-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- tags ---------- */
.tag {
  --c: var(--reef);
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 11px; border-radius: 999px;
  border: 0; background: var(--mist); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
span.tag { cursor: default; }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tag:hover { background: var(--mist-2); }
.tag.on { background: var(--c); color: #fff; }
.tag.on .dot { background: #fff; }
.tag.all { --c: var(--night); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.c-reef { --c: var(--reef); } .c-plumeria { --c: var(--plumeria); } .c-fern { --c: var(--fern); }
.c-lagoon { --c: var(--lagoon); } .c-lehua { --c: var(--lehua); } .c-taro { --c: var(--taro); } .c-night { --c: var(--night); }

/* ---------- segmented ---------- */
.seg { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 650; font-size: 14px; cursor: pointer; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.seg button[aria-pressed="true"] { background: var(--night); color: #fff; }

/* ---------- header ---------- */
.banner { background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; text-align: center; padding: 9px var(--gutter); }
.banner a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.banner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 68px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 850; font-size: 20px; letter-spacing: -0.03em; }
.wordmark .moon { width: 22px; height: 22px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 10px; height: 40px; padding: 0 18px; font-size: 15px; color: #fff; }
.nav .btn:hover { background: var(--accent-deep); color: #fff; }
.menu-btn { display: none; margin-left: auto; }
.is-home .site-header { background: var(--night); border-color: transparent; }
.is-home .site-header .wordmark, .is-home .site-header .nav a:not(.btn), .is-home .menu-btn { color: #fff; }
.is-home .site-header .nav a:not(.btn):hover { background: rgba(255,255,255,.1); }
.is-home.scrolled .site-header { background: rgba(255,255,255,.96); border-color: var(--line); }
.is-home.scrolled .site-header .wordmark, .is-home.scrolled .site-header .nav a:not(.btn), .is-home.scrolled .menu-btn { color: var(--ink); }
.is-home.scrolled .site-header .nav a:not(.btn):hover { background: var(--mist); }
.is-home:not(.scrolled) .site-header .wordmark { opacity: 0; pointer-events: none; }
.wordmark { transition: opacity .25s; }

.drawer { position: fixed; inset: 0; z-index: 50; background: var(--night); color: #fff; padding: 20px var(--gutter); display: flex; flex-direction: column; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.drawer .wordmark { color: #fff; }
.drawer .icon-btn { color: #fff; }
.drawer nav { display: flex; flex-direction: column; margin-top: 28px; }
.drawer nav a { color: #fff; text-decoration: none; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer nav a[aria-current="page"] { color: var(--moon); }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.72); margin-top: 120px; padding: 72px 0 40px; font-size: 15px; }
.site-footer .wordmark { color: #fff; font-size: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 48px; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-sub h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.inline-form { display: flex; gap: 8px; }
.site-footer .inline-form input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 0; padding: 0 18px; font: inherit; font-size: 16px; background: rgba(255,255,255,.1); color: #fff; }
.site-footer .inline-form input::placeholder { color: rgba(255,255,255,.5); }
.site-footer .inline-form input:focus { border: 0; box-shadow: none; outline: 2px solid var(--moon); background: rgba(255,255,255,.14); }
.foot-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: rgba(255,255,255,.5); }
.foot-legal p { max-width: 52em; margin: 0; }
.foot-legal a { color: rgba(255,255,255,.7); }
.foot-org { margin-top: 10px; color: rgba(255,255,255,.6); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; } .foot-legal { flex-direction: column; } }

/* ---------- page scaffolding ---------- */
main { min-height: 60vh; }
.page-head { padding-top: 72px; padding-bottom: 36px; }
.page-head .h1 + * { margin-top: 18px; }
.section { padding-top: 88px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.back:hover { color: var(--ink); }
.loading { display: flex; gap: 8px; justify-content: center; padding: 120px 0; }
.loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); animation: pulse 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 50% { background: var(--night); transform: scale(1.2); } }
.empty { padding: 56px 0; }
.empty-title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: min(88vh, 860px); padding-top: 24px; padding-bottom: 130px; }
.hero .display { color: #fff; }
.hero-name { margin-bottom: 56px; }
.hero-feature { max-width: 560px; }
.hero-kicker { font-size: 17px; color: var(--moon); font-weight: 600; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.hero-kicker .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-feature h2 { color: #fff; font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-bottom: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 30px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--moon); }
.hero-moon { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.hero-moon .moon { width: min(34vw, 380px); height: auto; }
.moon .moon-dark { fill: var(--moon-dark); }
.moon .moon-lit { fill: var(--moon); }
.moon .moon-maria circle { fill: var(--moon-shade); opacity: .38; }
.moon-caption { position: relative; z-index: 5; margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 2px; text-shadow: 0 1px 10px rgba(5,20,30,.85); }
.moon-caption b { color: #fff; font-weight: 700; margin-left: 5px; }
.moon-caption .hint { color: rgba(255,255,255,.5); }
.moon-caption .hint-bubble { bottom: auto; top: calc(100% + 8px); }
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: var(--night-deep); }
.glade { position: absolute; left: 0; top: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.glade i { display: block; height: 3px; border-radius: 3px; background: var(--moon); }
.rise { animation: rise 1.6s var(--ease) both; }
.shimmer i { animation: shimmer 5s ease-in-out infinite; }
@keyframes rise { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shimmer { 50% { transform: scaleX(.7); opacity: .6; } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 12px; padding-bottom: 130px; min-height: 0; }
  .hero-moon { order: -1; justify-self: start; flex-direction: row; gap: 18px; margin-bottom: 26px; }
  .hero-moon .moon { width: 96px; }
  .moon-caption { margin: 0; }
  .hero-name { margin-bottom: 36px; }
  .sea { height: 90px; }
  .glade { display: none; }
}

/* ---------- home sections ---------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }
.photo-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-img); background: var(--mist); aspect-ratio: 4/5; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-tile:hover img { transform: scale(1.03); }
.photo-tile .cap { position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.band { background: var(--mist); padding: 72px 0; margin-top: 96px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.poll-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.poll-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.poll-row h3 { font-size: 21px; }
.poll-row .muted { font-size: 15px; margin-top: 4px; }
.poll-row:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.progress { height: 10px; background: #fff; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.band .progress { background: #fff; }
.goal-nums { display: flex; justify-content: space-between; margin-top: 10px; font-size: 15px; color: var(--muted); }
.goal-nums b { color: var(--ink); font-size: 26px; letter-spacing: -0.02em; }

/* ---------- timeline ---------- */
.tl-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
/* Edges fade only on the side that has more to scroll to. */
@property --fl { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --fr { syntax: "<length>"; inherits: true; initial-value: 0px; }
.tl-wrap { --fade: clamp(40px, 7vw, 120px); --fl: 0px; --fr: 0px; transition: --fl .35s var(--ease), --fr .35s var(--ease); }
.tl-wrap.fade-l { --fl: var(--fade); }
.tl-wrap.fade-r { --fr: var(--fade); }
.tl-wrap .timeline {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
}
/* The rail: a hairline with a solid thumb. Grows on hover so it's easy to grab. */
.tl-rail { position: relative; height: 22px; margin-top: 4px; cursor: pointer; touch-action: none; }
.tl-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line); border-radius: 1px; transition: height .2s var(--ease), margin .2s var(--ease); }
.tl-thumb { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--ink); will-change: transform; transition: height .2s var(--ease), margin .2s var(--ease), background .2s; cursor: grab; }
.tl-rail:hover .tl-thumb, .tl-rail.active .tl-thumb { height: 8px; margin-top: -4px; border-radius: 4px; }
.tl-rail:hover::before, .tl-rail.active::before { height: 4px; margin-top: -2px; }
.tl-rail.active .tl-thumb { background: var(--accent); cursor: grabbing; }
.tl-rail[hidden] { display: none; }
.timeline { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; }
.timeline::-webkit-scrollbar { display: none; }
.timeline.dragging { cursor: grabbing; user-select: none; }
.timeline.dragging * { pointer-events: none; }
.tl-track { --line: 186px; position: relative; display: flex; min-width: max-content; height: 430px; padding: 0 max(var(--gutter), calc(50vw - 220px)); }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: var(--line); height: 2px; background: var(--ink); }
.tl-month { position: relative; flex: none; width: 104px; }
.tl-month::before { content: ""; position: absolute; left: 0; top: calc(var(--line) - 16px); width: 2px; height: 34px; background: var(--ink); }
.tl-month span { position: absolute; top: calc(var(--line) + 26px); left: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.tl-today { position: relative; flex: none; width: 64px; }
.tl-today::before { content: ""; position: absolute; left: 22px; top: calc(var(--line) - 44px); width: 2px; height: 60px; background: var(--accent); }
.tl-today span { position: absolute; top: calc(var(--line) - 70px); left: 23px; transform: translateX(-50%); font-size: 13px; font-weight: 800; color: var(--accent); }
.tl-moon { position: relative; flex: none; width: 52px; }
.tl-moon svg { position: absolute; top: calc(var(--line) - 9px); left: 8px; width: 20px; height: 20px; }
.tl-moon svg .moon-dark { fill: var(--moon); stroke: var(--moon-shade); stroke-width: 4; }
.tl-moon .hint { position: absolute; top: calc(var(--line) - 12px); left: 6px; width: 26px; height: 26px; margin: 0; opacity: 0; }

.tl-item { --w: 196px; --open: 408px; position: relative; flex: none; width: var(--w); transition: width .5s var(--ease); outline: none; }
.tl-cover {
  position: absolute; left: 0; top: 0; width: calc(var(--open) - 28px); height: calc(var(--line) - 14px); border-radius: var(--radius-img);
  overflow: hidden; background: var(--c, var(--reef)); clip-path: inset(100% 0 0 0 round var(--radius-img));
  transition: clip-path .5s var(--ease);
}
.tl-cover img { width: 100%; height: 100%; object-fit: cover; }
.tl-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, rgba(10,26,49,.72), rgba(10,26,49,0) 60%); }
.tl-date { position: absolute; left: 0; bottom: calc(100% - var(--line) + 20px); line-height: 1; z-index: 1; transition: left .5s var(--ease), bottom .5s var(--ease); }
.tl-date .d { display: block; font-size: 64px; font-weight: 850; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.tl-date .w { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 6px; transition: color .3s; }
.tl-node { position: absolute; left: 0; top: calc(var(--line) - 7px); width: 16px; height: 16px; border-radius: 50%; background: var(--c, var(--reef)); box-shadow: 0 0 0 4px var(--paper); transition: transform .3s var(--ease); z-index: 1; }
.tl-body { position: absolute; left: 0; top: calc(var(--line) + 26px); width: calc(var(--w) - 24px); transition: width .5s var(--ease); }
.tl-title { display: block; font-size: 19px; font-weight: 750; color: var(--ink); letter-spacing: -0.015em; line-height: 1.2; text-decoration: none; }
.tl-title::after { content: ""; position: absolute; left: 0; top: calc(-1 * var(--line) - 26px); width: var(--w); height: 420px; }
.tl-when { font-size: 14px; color: var(--muted); margin-top: 6px; }
.tl-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .3s; }
.tl-more > div { overflow: hidden; }
.tl-meta { display: grid; gap: 4px; margin-top: 12px; font-size: 14px; color: var(--text); }
.tl-meta span { display: flex; align-items: center; gap: 8px; }
.tl-meta .icon { color: var(--muted); width: 16px; height: 16px; }
.tl-actions { display: flex; gap: 8px; margin-top: 14px; position: relative; z-index: 2; }
.tl-item.past .tl-date .d, .tl-item.past .tl-title { color: var(--faint); }
.tl-item.past .tl-node { background: var(--line-2); }
.tl-item.cancelled .tl-title { text-decoration: line-through; }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) { width: var(--open); z-index: 2; }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-title::after { width: var(--open); }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-cover { clip-path: inset(0 0 0 0 round var(--radius-img)); }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-date { left: 18px; bottom: calc(100% - var(--line) + 32px); }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-date .d, :is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-date .w { color: #fff; }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-body { width: calc(var(--open) - 28px); }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-more { grid-template-rows: 1fr; opacity: 1; }
:is(.timeline:not(.stepping) .tl-item:is(:hover, :focus-within), .tl-item.open) .tl-node { transform: scale(1.4); }
:is(.timeline:not(.stepping) .tl-item.past:is(:hover, :focus-within), .tl-item.past.open) .tl-title { color: var(--ink); }
.tl-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.tl-badge .icon { width: 15px; height: 15px; color: var(--muted); }

.timeline:focus-visible { outline: none; }
.timeline:focus-visible .tl-item.open .tl-node { box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--lagoon); }

@media (max-width: 720px) {
  .timeline { overflow: visible; cursor: default; }
  .tl-track { display: block; height: auto; min-width: 0; padding: 0; }
  .tl-track::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-month { width: auto; padding: 30px 0 10px 34px; }
  .tl-month::before { left: 0; top: 43px; width: 16px; height: 2px; }
  .tl-month span { position: static; font-size: 24px; letter-spacing: -0.02em; }
  .tl-today { width: auto; height: 36px; }
  .tl-today::before { left: 0; top: 17px; width: 26px; height: 2px; }
  .tl-today span { left: 34px; top: 9px; transform: none; }
  .tl-moon { display: none; }
  .tl-item, .tl-item:is(:hover, :focus-within, .open) { width: auto; display: grid; grid-template-columns: 76px 1fr; gap: 0 12px; padding: 14px 0 16px 34px; }
  .tl-cover { display: none; }
  .tl-item .tl-date, .tl-item:is(:hover, :focus-within, .open) .tl-date { position: static; padding-top: 2px; }
  .tl-item:is(:hover, :focus-within, .open) .tl-date .d { color: var(--ink); }
  .tl-item:is(:hover, :focus-within, .open) .tl-date .w { color: var(--muted); }
  .tl-date .d { font-size: 38px; }
  .tl-date .w { font-size: 12px; white-space: nowrap; }
  .tl-node { top: 28px; }
  .tl-body, .tl-item:is(:hover, :focus-within, .open) .tl-body { position: static; width: auto; }
  .tl-title::after { display: none; }
  .tl-item:is(:hover, :focus-within) .tl-more { grid-template-rows: 0fr; opacity: 0; }
  .tl-item.open .tl-more { grid-template-rows: 1fr; opacity: 1; }
  .tl-m-cover { margin-top: 12px; aspect-ratio: 16/9; border-radius: var(--radius-img); overflow: hidden; }
  .tl-m-cover img { width: 100%; height: 100%; object-fit: cover; }
  .tl-rail { display: none; }
  .tl-wrap .timeline { -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 721px) { .tl-m-cover { display: none; } }

/* ---------- calendar ---------- */
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.cal-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; min-width: 7.5em; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 2px solid var(--ink); }
.cal-dow { font-size: 13px; font-weight: 700; color: var(--muted); padding: 10px 8px; }
.cal-day { min-height: 118px; border-top: 1px solid var(--line); padding: 8px; position: relative; }
.cal-day:not(:nth-child(7n+1)) { border-left: 1px solid var(--line); }
.cal-day.out { background: var(--wash); }
.cal-day.out .cal-n { color: var(--faint); }
.cal-n { font-size: 14px; font-weight: 700; color: var(--ink); display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; }
.cal-day.today .cal-n { background: var(--accent); color: #fff; }
.cal-moon { position: absolute; top: 12px; right: 10px; width: 14px; height: 14px; }
.cal-moon .moon-dark { fill: var(--moon); stroke: var(--moon-shade); stroke-width: 4; }
.cal-ev { display: block; margin-top: 5px; padding: 5px 8px; border-radius: 5px; background: var(--c); color: #fff; font-size: 13px; font-weight: 650; line-height: 1.25; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev:hover { filter: brightness(.9); }
.cal-ev.past { opacity: .55; }
.cal-ev .t { font-weight: 500; opacity: .85; margin-right: 4px; }
.cal-list { display: none; }
@media (max-width: 720px) {
  .cal-day { min-height: 56px; padding: 4px; }
  .cal-ev { font-size: 0; height: 6px; padding: 0; margin-top: 3px; }
  .cal-ev .t { display: none; }
  .cal-moon { display: none; }
  .cal-list { display: block; margin-top: 24px; }
}

/* ---------- event detail ---------- */
.ev-hero { position: relative; }
.ev-cover { aspect-ratio: 21/8; max-height: 520px; width: 100%; object-fit: cover; }
.ev-cover.none { background: var(--night); }
.ev-head { padding-top: 48px; display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.ev-head .h1 { margin-bottom: 26px; }
.facts { display: grid; gap: 14px; margin-bottom: 26px; }
.fact { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: var(--ink); }
.fact .icon { margin-top: 3px; color: var(--muted); }
.fact small { display: block; color: var(--muted); font-size: 15px; }
.fact a { color: var(--ink); }
.ev-desc { font-size: 18px; max-width: 36em; white-space: pre-line; margin-top: 30px; }
.ev-status { display: inline-block; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 6px; margin-bottom: 18px; }
.ev-status.done { background: var(--mist); color: var(--muted); }
.rsvp { position: sticky; top: 92px; background: var(--mist); border-radius: 14px; padding: 26px; }
.rsvp h3 { font-size: 22px; margin-bottom: 4px; }
.rsvp .going { font-size: 15px; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.rsvp form { display: grid; gap: 12px; }
.rsvp-done { display: grid; gap: 14px; }
.rsvp-done .big { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.rsvp-done .big .icon { width: 28px; height: 28px; color: #fff; background: var(--good); border-radius: 50%; padding: 4px; stroke-width: 2.4; }
.cal-links { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 960px) { .ev-head { grid-template-columns: 1fr; gap: 36px; } .rsvp { position: static; } .ev-cover { aspect-ratio: 16/9; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field-label { font-size: 14px; font-weight: 650; color: var(--ink); display: flex; align-items: center; }
.optional { color: var(--faint); font-weight: 500; margin-left: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search],
input[type=date], input[type=datetime-local], input[type=time], input[type=url], select, textarea {
  width: 100%; height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius-field); padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .15s;
}
textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47,109,181,.25); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--accent); }
.field-error { font-size: 14px; color: var(--accent); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.form-error { color: var(--accent); font-weight: 600; font-size: 15px; }
.form-error:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--night); margin: 1px 0 0; flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; height: 46px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.stepper button:hover { background: var(--mist); }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- sign-up sheets ---------- */
.sheet { margin-top: 64px; }
.sheet-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 8px; }
.sheet-head p { margin: 6px 0 0; color: var(--muted); }
.sheet-meter { font-size: 15px; color: var(--muted); white-space: nowrap; }
.slots { border-top: 2px solid var(--ink); }
.slot { border-bottom: 1px solid var(--line); }
.slot-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) 104px; justify-items: start; gap: 20px; align-items: center; padding: 18px 0; }
.slot-title { font-weight: 750; color: var(--ink); font-size: 18px; }
.slot-title small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; margin-top: 2px; }
.pips { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.pips i { width: 12px; height: 12px; border-radius: 50%; background: var(--night); }
.pips i.free { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.slot-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slot-people { font-size: 14px; color: var(--text); margin-top: 4px; }
.slot-people span + span::before { content: ", "; }
.slot-people em { font-style: normal; color: var(--muted); }
.slot-form { padding: 0 0 22px; }
.slot-form form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; background: var(--mist); padding: 18px; border-radius: 12px; }
.slot-form .form-error { grid-column: 1 / -1; }
.slot-row > :last-child { justify-self: end; }
.full-label { font-size: 14px; font-weight: 700; color: var(--faint); padding: 0 8px; }
@media (max-width: 720px) {
  .slot-row { grid-template-columns: 1fr auto; }
  .slot-fill { grid-column: 1 / -1; grid-row: 2; }
}

/* sign-up index */
.sheet-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.sheet-link { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.sheet-link .when .d { font-size: 40px; font-weight: 850; letter-spacing: -0.04em; color: var(--ink); line-height: 1; display: block; }
.sheet-link .when .m { font-size: 14px; color: var(--muted); font-weight: 700; }
.sheet-link h3 { font-size: 22px; }
.sheet-link .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.sheet-link:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.fill-meter { text-align: right; min-width: 150px; }
.fill-meter b { font-size: 22px; color: var(--ink); }
.fill-meter .bar { height: 6px; background: var(--mist); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.fill-meter .bar span { display: block; height: 100%; background: var(--night); }
@media (max-width: 640px) { .sheet-link { grid-template-columns: 64px 1fr; } .fill-meter { grid-column: 2; text-align: left; } .sheet-link .when .d { font-size: 30px; } }

/* ---------- gallery ---------- */
.gallery-tools { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.gallery-tools select[aria-label] { width: auto; min-width: 220px; height: 40px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry .ph { break-inside: avoid; margin-bottom: 14px; position: relative; display: block; border-radius: var(--radius-img); overflow: hidden; background: var(--mist); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.masonry .ph img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.masonry .ph:hover img { transform: scale(1.025); }
.ph-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(10,26,49,.72)); color: #fff; text-align: left; opacity: 0; transition: opacity .25s; font-size: 14px; font-weight: 650; }
.ph:hover .ph-over, .ph:focus-visible .ph-over { opacity: 1; }
.tagged-events { display: flex; gap: 12px; overflow-x: auto; margin-bottom: 28px; padding-bottom: 4px; }
.tagged-events a { flex: none; display: flex; gap: 12px; align-items: center; text-decoration: none; background: var(--mist); border-radius: 12px; padding: 10px 16px 10px 10px; }
.tagged-events img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.tagged-events b { display: block; color: var(--ink); font-size: 15px; }
.tagged-events span { font-size: 13px; color: var(--muted); }
.tagged-events a:hover { background: var(--mist-2); }

.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(6,16,32,.96); display: grid; grid-template-rows: 1fr auto; color: #fff; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 56px 72px 12px; position: relative; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 4px; }
.lb-bar { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 16px 28px 24px; flex-wrap: wrap; }
.lb-bar .cap { font-size: 16px; font-weight: 600; }
.lb-bar a.ev { color: var(--moon); font-weight: 700; text-decoration: none; }
.lb-bar a.ev:hover { text-decoration: underline; }
.lb-bar .tag { background: rgba(255,255,255,.12); color: #fff; }
.lb-bar .tag:hover { background: rgba(255,255,255,.2); }
.lightbox .icon-btn { color: #fff; position: absolute; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.12); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }
.lb-count { position: absolute; top: 22px; left: 24px; font-size: 14px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lb-stage { padding: 56px 8px 8px; } .lb-prev, .lb-next { display: none; } }

.dropzone { display: grid; place-items: center; gap: 8px; border: 2px dashed var(--line-2); border-radius: 14px; padding: 36px 20px; text-align: center; cursor: pointer; color: var(--muted); }
.dropzone:hover, .dropzone.over { border-color: var(--ink); color: var(--ink); background: var(--mist); }
.dropzone b { color: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }

/* ---------- polls ---------- */
.poll-page > * { max-width: 760px; }
fieldset.q { border: 0; border-top: 1px solid var(--line); margin: 0; min-width: 0; }
fieldset.q:first-of-type { border-top: 2px solid var(--ink); }
legend.q-prompt { float: left; width: 100%; padding: 0; }
legend.q-prompt + * { clear: both; }
.q { padding: 36px 0; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 2px solid var(--ink); }
.q-prompt { font-size: 22px; font-weight: 750; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 18px; display: flex; gap: 12px; }
.q-prompt .n { color: var(--faint); font-variant-numeric: tabular-nums; }
.q-prompt .req { color: var(--accent); }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 18px; border-radius: 12px; background: var(--mist); cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); transition: background .12s; }
.opt:hover { background: var(--mist-2); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; flex: none; background: #fff; }
.opt.multi .mark { border-radius: 6px; }
.opt .mark .icon { width: 16px; height: 16px; stroke-width: 2.6; opacity: 0; }
.opt:has(input:checked) { background: var(--night); color: #fff; }
.opt:has(input:checked) .mark { background: #fff; box-shadow: none; color: var(--night); }
.opt:has(input:checked) .mark .icon { opacity: 1; }
.opt:has(input:focus-visible) { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.rating { display: flex; gap: 10px; }
.rating label { width: 56px; height: 56px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--ink); cursor: pointer; }
.rating label:hover { background: var(--mist-2); }
.rating input { position: absolute; opacity: 0; }
.rating label:has(input:checked) { background: var(--night); color: #fff; }
.rating label:has(input:focus-visible) { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.rating-ends { display: flex; justify-content: space-between; max-width: 320px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.results { display: grid; gap: 34px; }
.res h3 { font-size: 19px; margin-bottom: 14px; }
.res-bar { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr 52px; gap: 14px; align-items: center; font-size: 15px; margin-bottom: 10px; }
.res-bar .track { height: 12px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.res-bar .track span { display: block; height: 100%; background: var(--night); border-radius: 999px; transition: width .8s var(--ease); }
.res-bar.top .track span { background: var(--accent); }
.res-bar .pct { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.res-avg { font-size: 44px; font-weight: 850; letter-spacing: -0.04em; color: var(--ink); }
.res-text { display: grid; gap: 8px; }
.res-text p { margin: 0; padding: 12px 16px; background: var(--mist); border-radius: 10px; font-size: 15px; }

/* ---------- give ---------- */
.give { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.venmo { background: var(--night); color: #fff; border-radius: 18px; padding: 40px; display: grid; gap: 28px; }
.venmo .handle { font-size: clamp(28px, 3.4vw, 42px); font-weight: 850; letter-spacing: -0.03em; word-break: break-all; }
.venmo .qr { background: var(--moon); border-radius: 14px; padding: 22px; width: 232px; }
.venmo .qr img { width: 100%; height: auto; }
.venmo .row .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.uses { list-style: none; padding: 0; margin: 20px 0 0; border-top: 2px solid var(--ink); }
.uses li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .give { grid-template-columns: 1fr; gap: 48px; } .venmo { padding: 28px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
.contact form { display: grid; gap: 16px; }
.officers { border-top: 2px solid var(--ink); }
.officer { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.officer b { color: var(--ink); }
.officer span { color: var(--muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- me ---------- */
.mine { border-top: 2px solid var(--ink); }
.mine-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mine-row b { color: var(--ink); font-size: 18px; }
.mine-row .muted { font-size: 15px; }

/* ---------- modal, toast ---------- */
.modal { border: 0; border-radius: 18px; padding: 32px; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); color: var(--text); box-shadow: 0 30px 80px rgba(10,26,49,.35); }
.modal.wide { width: min(880px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(10,26,49,.55); }
.modal-x { position: absolute; top: 14px; right: 14px; }
.modal h2 { font-size: 26px; margin-bottom: 18px; padding-right: 36px; }
.modal form { display: grid; gap: 14px; }
.confirm-msg { font-size: 18px; color: var(--ink); font-weight: 600; padding-right: 30px; margin-bottom: 22px; }
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; justify-items: center; }
.toast { background: var(--night); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; box-shadow: 0 0 0 2px #fff, 0 10px 30px rgba(10,26,49,.3); animation: toastIn .3s var(--ease); }
.toast.error { background: var(--accent); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

.notfound { padding: 120px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 721px) { .timeline.compact .tl-track { height: 400px; } }

/* ---------- on-page editing (signed-in admins) ---------- */
.edit-bar {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 45;
  display: flex; align-items: center; gap: 6px; padding: 6px; background: var(--night); color: #fff; border-radius: 999px;
  box-shadow: 0 0 0 2px #fff, 0 12px 32px rgba(10,26,49,.32);
}
.edit-bar .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px var(--night-2); background: var(--night-2); }
.edit-bar .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.edit-bar .hint { color: var(--moon); margin: 0 4px 0 10px; }
.edit-bar .hint-bubble { bottom: calc(100% + 14px); }
body.has-edit-bar .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body.has-edit-bar .site-footer { padding-bottom: 110px; }

body.editing .ed { outline: 1.5px dashed var(--line-2); outline-offset: 5px; cursor: text; border-radius: 1px; min-width: 2ch; }
body.editing .ed:hover { outline-color: var(--muted); }
body.editing .ed:focus { outline: 2px solid var(--lagoon); outline-offset: 5px; }
body.editing .on-night .ed, body.editing .site-footer .ed, body.editing .banner .ed, body.editing .venmo .ed, body.editing .lightbox .ed { outline-color: var(--moon-shade); }
body.editing .on-night .ed:focus, body.editing .site-footer .ed:focus, body.editing .banner .ed:focus, body.editing .venmo .ed:focus, body.editing .lightbox .ed:focus { outline-color: var(--moon); }
body.editing .ed:empty::before { content: attr(data-placeholder); color: var(--faint); }
body.editing .ed.saving { opacity: .55; }
body.editing .ev-desc.ed { min-height: 3.2em; display: block; }
body.editing .tl-title.ed, body.editing a .ed { text-decoration: none; }

.ed-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; cursor: pointer; flex: none;
  background: var(--mist); color: var(--ink); vertical-align: middle;
}
.ed-btn:hover { background: var(--ink); color: #fff; }
.ed-btn:disabled { opacity: .35; cursor: default; background: var(--mist); color: var(--ink); }
.ed-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.on-night .ed-btn, .banner .ed-btn, .lightbox .ed-btn { background: var(--night-2); color: #fff; }
.on-night .ed-btn:hover, .banner .ed-btn:hover { background: #fff; color: var(--ink); }
.ed-action {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1.5px dashed var(--line-2); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.ed-action:hover { border-style: solid; border-color: var(--ink); }
.ed-tools { display: inline-flex; align-items: center; gap: 4px; }
.ed-hidden {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 16px 0;
  border-top: 1.5px dashed var(--line-2); border-bottom: 1.5px dashed var(--line-2); color: var(--muted);
}
.ed-hidden b { color: var(--ink); }
.ed-add { padding: 14px 0; border-bottom: 0; }
.ed-feature { gap: 10px; margin: -24px 0 22px; color: var(--moon); font-size: 14px; font-weight: 700; }
.ed-select { width: auto; max-width: 280px; height: 36px; border-radius: 999px; font-size: 14px; font-weight: 650; padding: 0 12px; }

.banner.off { background: var(--mist); color: var(--muted); }
.banner.off .ed-btn { background: #fff; color: var(--ink); }
.banner-edit { display: inline-flex; align-items: center; gap: 8px; }
.banner .ed { min-width: 12ch; display: inline-block; }

.ev-hero { position: relative; }
.ev-cover-empty { height: 160px; background: var(--mist); }
.ed-cover { position: absolute; right: var(--gutter); bottom: 18px; gap: 8px; }
.ed-cover .ed-action { border-style: solid; border-color: #fff; }
.ed-cover .ed-btn { background: #fff; }
.fact .ed-btn { margin-left: 4px; }
.split.single { grid-template-columns: minmax(0, 640px); }
.uses li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.officer .row { flex-wrap: nowrap; }
.lb-hide { margin-left: 8px; color: #fff; box-shadow: inset 0 0 0 1.5px var(--faint); }
.lb-bar .cap.ed { min-width: 14ch; display: inline-block; }
.slot-row .ed-tools { justify-self: end; }
@media (max-width: 720px) { .edit-bar { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } .ed-feature { margin-top: -12px; } }

/* ---------- ocean palette ----------
   Same layout and type; deep ocean instead of night blue, seafoam surfaces, a warm moon,
   hibiscus accent, palm silhouettes in the hero and a wave edge on the sea and footer. */
:root[data-palette="ocean"] {
  --night: #0B4552;
  --night-2: #13606E;
  --night-deep: #073440;
  --ink: #0A3A44;
  --text: #24434A;
  --muted: #4F6B70;
  --faint: #86A0A2;
  --line: #D3E3E0;
  --line-2: #B9D0CB;
  --mist: #E4F1EE;
  --mist-2: #D3E8E3;
  --wash: #F3F9F7;
  --moon: #FFF1D6;
  --moon-shade: #EFDCB0;
  --moon-2: #FBE7BF;
  --moon-dark: #155F6C;
  --accent: #C2185B;
  --accent-deep: #A3134C;
  --palm: #052C35;
  --lagoon: #1F7FA8;
  --lehua: #C2185B;
}
.palms { display: none; }
:root[data-palette="ocean"] .palms {
  display: block; position: absolute; right: max(-60px, calc((100vw - var(--max)) / 2 - 220px)); bottom: 96px; z-index: 3;
  pointer-events: none; line-height: 0;
}
:root[data-palette="ocean"] .palms .palm { position: absolute; bottom: 0; }
.palm .trunk, .palm circle { fill: var(--palm, #052C35); }
.palm .rib { fill: none; stroke: var(--palm, #052C35); stroke-width: 4; stroke-linecap: round; }
.palm .leaflet { fill: none; stroke: var(--palm, #052C35); stroke-width: 3.4; stroke-linecap: round; }
:root[data-palette="ocean"] .sea::before,
:root[data-palette="ocean"] .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 9 C 20 1 40 1 60 9 S 100 17 120 9 V16 H0 Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 16px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 9 C 20 1 40 1 60 9 S 100 17 120 9 V16 H0 Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 16px;
}
:root[data-palette="ocean"] .sea::before { background: var(--night-deep); }
:root[data-palette="ocean"] .site-footer { position: relative; }
:root[data-palette="ocean"] .site-footer::before { background: var(--night); }
@media (max-width: 860px) {
  :root[data-palette="ocean"] .palms { right: -130px; bottom: 60px; transform: scale(.48); transform-origin: bottom right; }
}

/* palette picker in the edit bar */
.palette-pick { display: inline-flex; gap: 6px; margin: 0 4px; }
.palette-pick button {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 2px var(--night);
}
.palette-pick button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px #fff; }

body.admin-mode .edit-bar { display: none; }
.moon-caption.off { color: var(--faint); }
.moon-caption.off b { color: var(--faint); }
.moon-caption .ed-btn { margin-left: 8px; }

.forget { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.forget h2 { font-size: 20px; margin-bottom: 8px; }
.forget p { font-size: 15px; }

/* ---------- events list ---------- */
.ev-list { --date: 76px; --node: 28px; margin-top: 12px; padding-bottom: 24px; }
.ev-month, .ev-row { position: relative; display: grid; grid-template-columns: var(--date) var(--node) minmax(0, 1fr) 200px; column-gap: 20px; }
/* the spine that runs through every event */
.ev-month::before, .ev-row::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--date) + 20px + var(--node) / 2 - 1px); width: 2px; background: var(--line); }
.ev-list > .ev-month:first-child::before { top: 50%; }
.ev-month { padding: 36px 0 10px; }
.ev-month span { grid-column: 3 / -1; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-row { padding: 22px 0; border-radius: 14px; transition: background .25s var(--ease); }
.ev-row + .ev-row { border-top: 1px solid var(--line); }
.ev-row:hover { background: var(--wash); }
.ev-date { text-align: right; padding-top: 2px; }
.ev-date .d { display: block; font-size: 40px; font-weight: 850; letter-spacing: -0.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.ev-date .w { font-size: 13px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ev-node { position: relative; z-index: 1; justify-self: center; width: 16px; height: 16px; margin-top: 12px; border-radius: 50%; background: var(--c, var(--reef)); box-shadow: 0 0 0 5px var(--paper); transition: transform .3s var(--ease), box-shadow .25s var(--ease); }
.ev-row:hover .ev-node { transform: scale(1.3); box-shadow: 0 0 0 5px var(--wash); }
.ev-body { min-width: 0; }
.ev-when { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); font-weight: 600; }
.ev-when b { color: var(--c, var(--accent)); font-weight: 800; }
.ev-title { display: inline-block; margin-top: 4px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); text-decoration: none; }
.ev-title:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--c, var(--accent)); text-decoration-thickness: 2px; }
.ev-sum { margin: 6px 0 0; color: var(--text); font-size: 16px; max-width: 62ch; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.ev-meta > span:not(.tag) { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta .tag { height: 26px; font-size: 13px; padding: 0 10px 0 9px; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ev-cover { align-self: start; aspect-ratio: 4 / 3; border-radius: var(--radius-img); overflow: hidden; background: var(--mist); margin-right: 12px; }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ev-row:hover .ev-cover img { transform: scale(1.04); }
.ev-cover.none { background: none; }
.ev-row.cancelled .ev-title { text-decoration: line-through; text-decoration-color: var(--faint); color: var(--muted); }
.ev-row.cancelled .ev-node { background: var(--faint); }
.ev-past .ev-row .ev-date .d, .ev-past .ev-title { color: var(--muted); }
.ev-past .ev-node { background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-2), 0 0 0 5px var(--paper); }
.ev-past .ev-row:hover .ev-node { box-shadow: inset 0 0 0 2px var(--c), 0 0 0 5px var(--wash); }
.ev-past .ev-cover img { filter: saturate(.75); }
.ev-earlier { margin: 64px 0 0; padding-top: 28px; border-top: 2px solid var(--ink); font-size: 22px; }
.ev-none { padding: 24px 0 0 calc(var(--date) + var(--node) + 40px); }
@media (max-width: 860px) { .ev-month, .ev-row { grid-template-columns: var(--date) var(--node) minmax(0, 1fr) 128px; } }
@media (max-width: 640px) {
  .ev-list { --date: 46px; --node: 16px; }
  .ev-month, .ev-row { grid-template-columns: var(--date) var(--node) minmax(0, 1fr); column-gap: 12px; }
  .ev-month::before, .ev-row::before { left: calc(var(--date) + 12px + var(--node) / 2 - 1px); }
  .ev-row:hover { background: none; }
  .ev-date .d { font-size: 28px; }
  .ev-date .w { font-size: 11px; }
  .ev-node { width: 12px; height: 12px; margin-top: 9px; box-shadow: 0 0 0 4px var(--paper); }
  .ev-cover { grid-column: 3; margin: 16px 0 0; aspect-ratio: 16 / 9; }
  .ev-cover.none { display: none; }
  .ev-body { grid-column: 3; }
  .ev-none { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .ev-row, .ev-node, .ev-cover img { transition: none; } }

/* ---------- sign-up slots: pictures, dishes, servings ---------- */
.slot.has-img .slot-row { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.7fr) 104px; }
.slot-img { width: 64px; height: 64px; border-radius: var(--radius-img); overflow: hidden; background: var(--mist); }
.slot-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-meter b { color: var(--ink); font-weight: 750; }
/* What people are bringing, laid out like a menu. */
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 28px; padding: 0 0 20px; }
.slot.has-img .dishes { padding-left: 84px; }
.dish { min-width: 0; padding-left: 12px; border-left: 2px solid var(--line); }
.dish b { display: block; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.dish span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dish span:empty { display: none; }
.slot.other .slot-title { color: var(--muted); }
.slot.other .slot-row { padding-top: 16px; }
@media (max-width: 720px) {
  .slot.has-img .slot-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .slot.has-img .slot-fill { grid-column: 2 / -1; }
  .slot-img { width: 48px; height: 48px; }
  .slot.has-img .dishes { padding-left: 0; }
  .dishes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) { .sheet-head { flex-direction: column; align-items: flex-start; gap: 10px; } .sheet-meter { white-space: normal; } }

/* ---------- who's bringing what ---------- */
.dish { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding-left: 0; border-left: 0; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.dish .who { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 1px; }
.dish b { font-size: 16px; }
.dish .meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
/* Specific items to claim inside a slot. */
.choices { display: grid; margin: -4px 0 20px; border-top: 1px solid var(--line); }
.slot.has-img .choices { margin-left: 84px; }
.choice { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.choice:last-child { border-bottom: 0; }
.choice-mark { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; color: #fff; }
.choice.taken .choice-mark { background: var(--good); box-shadow: none; }
.choice-title { font-weight: 650; color: var(--ink); font-size: 15px; }
.choice-title small { font-weight: 500; color: var(--muted); font-size: 13px; }
.choice.taken .choice-title { color: var(--muted); }
.choice-by { font-size: 14px; color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .slot.has-img .choices { margin-left: 0; }
  .choice { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .choice-by { grid-column: 2; grid-row: 2; font-size: 13px; }
  .choice-by:empty { display: none; }
}
.dish .avatar { display: grid; color: #fff; margin: 0; font-size: 11px; font-weight: 800; }

/* ---------- sign-up popup ---------- */
.popup h2 { margin-bottom: 4px; }
.popup-sub { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.popup .guest-row { justify-content: space-between; align-items: center; }
.email-prefs { display: grid; gap: 10px; padding: 14px 0 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.email-prefs .check { font-size: 15px; color: var(--text); align-items: center; }
.email-prefs .check > span { display: inline-flex; align-items: center; gap: 4px; }
.popup .field[hidden] { display: none; }
@media (max-width: 520px) { .modal { padding: 24px 20px; } }

/* ---------- event donations ---------- */
.ev-side { position: sticky; top: 92px; display: grid; gap: 14px; align-self: start; }
.ev-side .rsvp { position: static; }
.ev-give { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.ev-give h3 { font-size: 17px; margin: 0 0 2px; }
.ev-give p { font-size: 14px; color: var(--muted); margin: 0 0 8px; line-height: 1.4; }
.ev-give-qr { width: 96px; height: 96px; background: #fff; display: block; }
.ev-give-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; margin-top: 4px; }
.ev-give-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .ev-side { position: static; } }
/* On a phone the QR is on the same screen, so offer the link instead. */
@media (max-width: 720px) { .ev-give { grid-template-columns: 1fr; } .ev-give-qr { display: none; } }
.link-picker { display: grid; gap: 8px; }
.link-picker input[hidden] { display: none; }
.ev-others { margin: 8px 0 24px; }
.ev-others .ev-month-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* calendar card that balances the home page band */
.cal-card { align-self: center; }
.cal-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cal-sub .btn.ghost { background: #fff; }

/* ---------- shop ---------- */
.shop { padding-bottom: 120px; }
.shop-note { color: var(--muted); font-size: 16px; max-width: 60ch; }
.page-head .shop-note { margin-top: 14px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr)); gap: 40px 28px; }
.product { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.product-img { aspect-ratio: 1; background: var(--mist); border-radius: var(--radius-img); overflow: hidden; display: grid; place-items: center; color: var(--faint); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-top h2 { font-size: 19px; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.price { font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-desc { font-size: 15px; color: var(--muted); margin: -4px 0 0; line-height: 1.45; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chips button { min-width: 44px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); }
.size-chips button:hover:not(:disabled) { border-color: var(--ink); }
.size-chips button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.size-chips button:disabled { color: var(--faint); text-decoration: line-through; cursor: not-allowed; background: var(--wash); }
.product-buy { margin-top: auto; display: grid; gap: 6px; padding-top: 4px; }
.stock-note { font-size: 13px; font-weight: 700; color: var(--accent); min-height: 1em; }
.stock-note:empty { display: none; }

.cart-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; width: min(calc(100% - 32px), 440px);
  background: var(--night); color: #fff; border-radius: 999px; box-shadow: 0 0 0 2px #fff, 0 12px 32px rgba(10,26,49,.3);
}
.cart-bar[hidden] { display: none; }
.cart-bar.bump { animation: cart-bump .35s var(--ease); }
@keyframes cart-bump { 40% { transform: translateX(-50%) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .cart-bar.bump { animation: none; } }
.cart-sum { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; white-space: nowrap; }
.cart-sum .num { color: var(--moon); font-weight: 700; margin-left: auto; }
body.has-edit-bar .cart-bar { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

.cart-lines { display: grid; gap: 4px; margin-bottom: 4px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cart-name { font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.cart-price { text-align: right; }
.stepper.small { height: 36px; }
.stepper.small button { width: 34px; height: 34px; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0 12px; font-size: 17px; }
.cart-total b { font-size: 20px; color: var(--ink); }

.wrap.narrow { max-width: 680px; }
.order { padding: 64px 0 96px; display: grid; gap: 28px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.order-head .h1 { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.order-status { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 750; font-size: 14px; background: var(--plumeria); color: #fff; }
.order-status.paid { background: var(--good); }
.order-status.cancelled { background: var(--faint); }
.order-pay { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px 32px; }
.order-pay > :not(.order-qr) { grid-column: 1; }
.copy-code { width: 28px; height: 28px; color: var(--moon); vertical-align: middle; margin-left: 2px; }
.nowrap { white-space: nowrap; }
.order-amount { display: grid; gap: 2px; }
.order-amount span { color: rgba(255,255,255,.65); font-weight: 600; }
.order-amount b { font-size: clamp(36px, 6vw, 52px); font-weight: 850; letter-spacing: -0.03em; line-height: 1; }
.order-qr { grid-column: 2; grid-row: 1 / span 3; width: 188px; padding: 16px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order-actions .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.order-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: 15px; }
.order-facts dt { color: rgba(255,255,255,.65); display: inline-flex; align-items: center; gap: 4px; }
.order-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.order-facts .hint { color: var(--moon); }
.order-items ul { list-style: none; margin: 0; padding: 0; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) {
  .order-pay { grid-template-columns: 1fr; }
  .order-qr { display: none; }
  .order-actions .btn:first-child { flex: 1; }
}

/* polls on an event page */
.ev-polls { margin-top: 32px; }
.ev-polls h2 { margin-bottom: 4px; }
.ev-polls .poll-row:first-of-type { border-top: 1px solid var(--line); }
.ev-polls .poll-row h3 { font-size: 18px; }
