@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/figtree-700.woff2") format("woff2")}
@font-face{font-family:'Figtree';font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/figtree-800.woff2") format("woff2")}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/open-sans-400.woff2") format("woff2")}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/open-sans-500.woff2") format("woff2")}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/open-sans-600.woff2") format("woff2")}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/open-sans-700.woff2") format("woff2")}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/open-sans-800.woff2") format("woff2")}


/* ============================================================
   EVENTS.ADVENTIST.PLACE - tokens
   Light palette on :root, redefined for the two dark states.
   ============================================================ */
:root{
  --ember:#0E9F6E;
  /* The active tab sat on a pale mint wash. Once the gradient moved in behind
     the header there was no longer a plain ground to lift it off, so the pill
     is solid, in the wordmark's own green. White on #0E9F6E is 3.3:1 - below
     AA for text this size; #0A7C55 would give 5.2:1 if that matters more than
     the exact colour match. */
  --tab-on-bg:#0E9F6E; --tab-on-fg:#ffffff;          /* primary */
  --ember-deep:#0A7C55;
  --ember-wash:#e6f6ef;
  --signal:#007dff;         /* complementary */
  --signal-deep:#0063cc;
  --signal-wash:#e8f2ff;

  --ink:#131a22;            /* text, dark surfaces */
  --ink-2:#3c4653;
  --ink-3:#6b7684;          /* muted */
  --ink-4:#98a1ad;

  --paper:#fcfaf7;          /* page ground, faintly warm */
  --surface:#ffffff;
  --surface-2:#f5f2ed;
  --line:#e7e2da;
  --line-strong:#d3ccc1;

  --good:#0e8a72;
  --alert:#c23b2e;
  /* Topic tags (category, audience, campaign). Violet, so they read as
     labels: green is the brand and blue is the link colour. */
  --topic:#6a4bb0; --topic-wash:#f0ebf9;

  --aura-a:.22; --aura-b:.17; --aura-c:.13;   /* hero background wash */
  --grid-op:.10;
  --shadow-sm:0 1px 2px rgba(19,26,34,.06), 0 1px 3px rgba(19,26,34,.05);
  --shadow-md:0 4px 10px -2px rgba(19,26,34,.10), 0 2px 4px -2px rgba(19,26,34,.06);
  --shadow-lg:0 18px 40px -12px rgba(19,26,34,.22), 0 4px 10px -4px rgba(19,26,34,.10);

  --r-pill:999px;
  --ease:cubic-bezier(.4,.16,.2,1);
  --r-sm:6px; --r-md:10px; --r-lg:16px; --r-xl:24px; --r-pill:999px;
  --ease:cubic-bezier(.4,.16,.2,1);
  --maxw:1180px;
  --gutter:24px;   /* Place gutter, so the wordmark sits on the same line */
  --header-h:60px;
  /* One wash, painted in two pieces so it runs unbroken from the very top of
     the header down through the search band. Stops live here so light and
     dark differ by four lines, not by three duplicated gradient stacks. */
  --wash-a:rgba(14,159,110,.26);
  --wash-b:rgba(0,125,255,.17);
  --wash-c:rgba(14,159,110,.13);
  --hh:60px;          /* actual rendered header height, set from JS */

  --font-display:"Figtree","Segoe UI",system-ui,sans-serif;         /* headings, 800 */
  --font-logo:"Figtree","Segoe UI",system-ui,sans-serif;            /* wordmark, 800 */
  --font-body:"Open Sans","Segoe UI",Arial,system-ui,sans-serif;
  /* Data role: same family, but tabular figures and a touch of tracking so
     dates and distances still line up in columns. */
  --font-mono:"Open Sans","Segoe UI",Arial,system-ui,sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ember:#2FBF8B; --ember-deep:#5FD3A8; --ember-wash:#0d2b21;
    --signal:#4da2ff; --signal-deep:#7bbcff; --signal-wash:#0d2947;
    --ink:#eef2f7; --ink-2:#c3cbd6; --ink-3:#8e99a7; --ink-4:#6d7784;
    --paper:#0c1116; --surface:#141b23; --surface-2:#1c242e;
    --line:#26303b; --line-strong:#38434f;
    --good:#3ec9ac; --alert:#f0705f; --topic:#b9a2ee; --topic-wash:#241c37;
    --aura-a:.30; --aura-b:.24; --aura-c:.18; --grid-op:.14;
    --shadow-sm:0 1px 2px rgba(0,0,0,.4);
    --shadow-md:0 4px 12px -2px rgba(0,0,0,.5);
    --shadow-lg:0 20px 44px -14px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"]{
  --ember:#2FBF8B; --ember-deep:#5FD3A8; --ember-wash:#0d2b21;
  --signal:#4da2ff; --signal-deep:#7bbcff; --signal-wash:#0d2947;
  --ink:#eef2f7; --ink-2:#c3cbd6; --ink-3:#8e99a7; --ink-4:#6d7784;
  --paper:#0c1116; --surface:#141b23; --surface-2:#1c242e;
  --line:#26303b; --line-strong:#38434f;
  --good:#3ec9ac; --alert:#f0705f; --topic:#b9a2ee; --topic-wash:#241c37;
  --aura-a:.30; --aura-b:.24; --aura-c:.18; --grid-op:.14;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow-md:0 4px 12px -2px rgba(0,0,0,.5);
  --shadow-lg:0 20px 44px -14px rgba(0,0,0,.7);
}

/* ============================================================ base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--hh) + 130px)}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.5;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3,h4{font-family:var(--font-display); margin:0; text-wrap:balance;
  letter-spacing:-.022em; line-height:1.12; font-weight:800}
.mono, .eyebrow, .stamp, .card .when, .occrow .d, .occrow .t, .datechip, .promo .when,
.mrow .ev, .mdist, .refbox b{font-variant-numeric:tabular-nums}
p{margin:0}
button{font:inherit; color:inherit; background:none; border:none; cursor:pointer}
input,select{font:inherit; color:inherit}
a{color:var(--signal); text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:2px solid var(--signal); outline-offset:2px; border-radius:4px}
img,svg{max-width:100%}
/* every inline UI icon shares this viewBox - size and stroke them once */
svg[viewBox="0 0 24 24"]{width:16px; height:16px; flex:none; fill:none; stroke:currentColor;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wrap{width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter)}
@media(max-width:660px){ :root{--gutter:20px} }
@media(min-width:900px){ .wrap{padding-inline:28px} }
.mono{font-family:var(--font-mono); font-variant-numeric:tabular-nums}
.eyebrow{
  font-family:var(--font-mono); font-size:11px; font-weight:500;
  letter-spacing:.11em; text-transform:uppercase; color:var(--ink-3);
}

/* ============================================================ header */
/* Header structure, sizing and treatment all come from the Adventist
   Place prototype, so the two sites read as one product: translucent
   ground with a backdrop blur, 60px tall, 32px between the wordmark and
   the nav. */
.top{
  position:sticky; top:0; z-index:60;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.top-in{display:flex; align-items:center; gap:clamp(6px, 2.2vw, 32px); flex-wrap:nowrap; padding-top:9px}
.brand{display:flex; align-items:center; gap:clamp(6px, 1.6vw, 11px); font-family:var(--font-logo);
  font-weight:800; font-size:clamp(.74rem, 2.9vw, 1.3rem); letter-spacing:-.032em;
  line-height:1; color:var(--ink); white-space:nowrap; flex:none}
.brand:hover{text-decoration:none}

/* Adventist Place's pin mark, in RSVP's green. Same glyph, same 11px gap and
   same optical weight beside the wordmark, so the two brands read as one
   family. It scales with the wordmark rather than sitting at a fixed size. */
.brandmark{height:clamp(17px, 4.6vw, 34px); width:auto; flex:none; color:var(--ember)}
/* The mark plays once on load: the flag unfurls from its pole, then the tick
   is drawn along its own spine. The tick is a filled shape, not a stroke, so
   it is revealed by a thick stroked centreline clipped to that shape - which
   draws it in the direction a hand would, rather than fading it in. */
.brandmark--anim .bm-unfurl{
  transform-box:fill-box; transform-origin:96px center;
  animation:bm-unfurl .62s cubic-bezier(.22,.85,.3,1) .12s both;
}
.brandmark--anim .bm-draw{
  stroke-dasharray:620; stroke-dashoffset:620;
  animation:bm-draw .44s cubic-bezier(.35,.1,.25,1) .6s both;
}
@keyframes bm-unfurl{ from{transform:scaleX(0)} to{transform:scaleX(1)} }
/* Stops at 78, not 0. The pen tip is wider than the mark it leaves, so the
   last 12% of the centreline is already covered - running it to zero would
   spend 160ms drawing nothing anyone can see. */
@keyframes bm-draw{ to{stroke-dashoffset:78} }
.foot .brandmark{height:26px; color:var(--ember)}
.brand .a{color:var(--ink)}
.brand .r{color:var(--ember)}
.brand .dot{width:6px;height:6px;border-radius:50%;background:var(--ember);display:inline-block;margin-left:3px}
.brand-stack{display:flex; line-height:1.05}
/* Place groups its two header buttons at 12px while the bar itself
   uses 32px; without this they would drift apart. */
.top-actions{display:flex; align-items:center; gap:clamp(4px, 1.4vw, 12px); flex:none}
.iconbtn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:38px; min-width:38px; padding:0 10px; border-radius:var(--r-md);
  border:1px solid var(--line); background:var(--surface); color:var(--ink-2);
  font-size:13px; font-weight:500; transition:border-color .15s, color .15s, background .15s;
}
.iconbtn:hover{border-color:var(--line-strong); color:var(--ink)}
.iconbtn .cnt{font-family:var(--font-mono); font-size:11px; background:var(--ember);
  color:#fff; border-radius:20px; padding:1px 6px; font-weight:600}
/* No count. Green means something is saved; the border joins it when you are
   actually on the saved page. */
.savedbtn.has svg{stroke:var(--ember); fill:var(--ember)}
.savedbtn.on{border-color:var(--ember); color:var(--ember)}
.savedbtn.on svg{stroke:var(--ember); fill:var(--ember)}
/* Events and Groups are always reachable. Below the breakpoint the header
   wraps and the nav takes its own row rather than disappearing. */
.top-in{position:relative; flex-wrap:nowrap; height:var(--header-h); padding-top:0}
@media(max-width:660px){ .top-in{height:56px} }
@media(max-width:430px){
  .iconbtn{height:34px; min-width:32px; padding:0 7px}
}

.langwrap{position:relative; flex:none}
.langmenu{
  position:absolute; right:0; top:calc(100% + 8px); width:250px; z-index:70;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg); padding:13px; display:none;
}
.langmenu.on{display:block}
.langmenu > .eyebrow{display:block; margin-bottom:9px}
.langopt{display:flex; align-items:center; gap:8px; width:100%; height:38px; padding:0 10px;
  border-radius:var(--r-md); font-size:14.5px; font-weight:500; text-align:left; color:var(--ink-2)}
.langopt span{flex:1}
.langopt:hover{background:var(--surface-2); color:var(--ink)}
.langopt.on{background:var(--ember-wash); color:var(--ember-deep); font-weight:600}
.langnote{margin-top:11px; padding-top:10px; border-top:1px solid var(--line);
  font-size:11.5px; line-height:1.5; color:var(--ink-3)}

/* ============================================================ hero */
/* ============================================================ search */
/* The ambient wash from the Adventist Place hero, in RSVP's green with
   the complementary blue as the second note. Three soft radials rather
   than a single ramp, so the band has some depth without ever competing
   with the controls sitting on it. */
/* padding-top, not a margin on .findrow: an escaping child margin collapsed
   out of this box and left a 14px strip of bare paper between the header and
   the band, which is exactly where the wash appeared to stop. */
.searchzone{position:sticky; top:var(--hh); z-index:50; background:var(--paper);
  border-bottom:1px solid var(--line); padding-top:14px}
.searchzone .findrow{margin-top:0}
/* The wash is drawn INSIDE the band, not on an oversized box clipped by
   overflow:hidden - overflow on this element would also clip the location
   panel, which is absolutely positioned and has to escape. Each radial is
   given an explicit radius and centre instead, which reproduces the same
   slice of Place's hero gradient with nothing hanging over the edges. */
.searchzone::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(50.4% 239px at 6.8% 89px, var(--wash-a), transparent 70%),
    radial-gradient(40.8% 208px at 100.4% 27px, var(--wash-b), transparent 70%),
    radial-gradient(67.2% 260px at 59.6% -56px, var(--wash-c), transparent 72%);
}
/* The header carries the part of the same wash that sits ABOVE the band, so
   the two meet with no seam. Each centre is pushed down by the header height,
   which is exactly the distance between the two elements' origins. */
.top::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(50.4% 239px at 6.8% calc(89px + var(--hh)), var(--wash-a), transparent 70%),
    radial-gradient(40.8% 208px at 100.4% calc(27px + var(--hh)), var(--wash-b), transparent 70%),
    radial-gradient(67.2% 260px at 59.6% calc(-56px + var(--hh)), var(--wash-c), transparent 72%);
}
.top > .top-in{position:relative; z-index:1}
.searchzone > .wrap{position:relative; z-index:1}
/* ---------- content-type tabs ---------- */
/* Adventist Place's pill nav, in the header bar at every width. Nothing
   wraps and nothing hides: the wordmark, the tabs and the two buttons
   all scale fluidly with the viewport so the bar stays one line from
   320px up. */
.tabs{display:flex; justify-content:center; gap:4px; margin:0 0 12px}
.tabs a{
  position:relative; padding:9px 15px; border-radius:var(--r-pill);
  font-family:var(--font-body); font-size:.97rem; font-weight:600;
  color:var(--ink-2);
  transition:background .16s var(--ease), color .16s var(--ease);
}
.tabs a:hover{background:var(--surface-2); color:var(--ink); text-decoration:none}
.tabs a.on{color:var(--ember); background:var(--ember-wash)}
/* From tablet up the tabs ride in the header bar itself, which is what takes
   the header from four rows down to three. Below that there is not enough
   width for the wordmark, both tab labels (they translate long) and the two
   utility buttons, so the tabs keep their own row. */
/* In the header the tabs are Adventist Place's primary nav, to the
   pixel: pill, 9px/15px, 600 at .97rem, active in the accent on its own
   wash. Place centres its nav with margin-inline:auto; RSVP does the
   same, which is why the spacers around it are gone. */
.tabs-zone{display:none}          /* the tabs never leave the header now */
.tabs-top{
  display:flex; margin:0 auto; border-bottom:0; flex:none;
  gap:clamp(2px, .8vw, 4px); align-items:center; justify-content:center;
}
.tabs-top a{
  padding:clamp(6px, 1.5vw, 9px) clamp(6px, 2.6vw, 15px);
  border-radius:var(--r-pill); border-bottom:0; margin-bottom:0;
  font-family:var(--font-body); font-size:clamp(.72rem, 2.4vw, .97rem);
  font-weight:600; letter-spacing:0; text-transform:none; color:var(--ink-2);
  white-space:nowrap; flex:none;
  transition:background .16s var(--ease), color .16s var(--ease);
}
.tabs-top a:hover{background:var(--surface-2); color:var(--ink); text-decoration:none}
/* Weight stays at 600: the solid pill is the signal, and bumping to 700 made
   the French labels 2px wider than the 320px header can hold. */
.tabs-top a.on{color:var(--tab-on-fg); background:var(--tab-on-bg); border-bottom-color:transparent}
.tabs-top a.on:hover{color:var(--tab-on-fg); background:var(--tab-on-bg)}

/* Two graduated compression steps. The caret added about 28px to the brand,
   which at the narrow end is more slack than the row had. */
@media(max-width:440px){
  .top-in{gap:clamp(4px, 1.2vw, 8px)}
  .brand{gap:5px}
  .tabs-top a{padding:6px 7px}
  .iconbtn{min-width:30px; padding:0 5px}
}
@media(max-width:365px){
  .top-in{gap:3px; padding-left:6px; padding-right:6px}
  .brand{gap:4px; font-size:.75rem}
  .brandmark{height:15px}
  .iconbtn{min-width:28px; padding:0 4px}
  .tabs-top{gap:1px}
  .tabs-top a{padding:6px 3px; font-size:.65rem}
  .iconbtn{min-width:30px; padding:0 5px}
}

/* ---------- find row: location beside search on desktop, stacked on mobile ---------- */
/* Location and search share one line at every width now - stacking them was
   the fifth row on a phone. Below tablet the location takes the smaller
   share and truncates; the search field keeps a usable minimum. */
.findrow{display:flex; flex-direction:row; align-items:center; gap:8px; margin-top:14px}
.findrow .locwrap{flex:1 1 40%; min-width:0; padding-bottom:0}
.findrow .searchrow{flex:1 1 60%; min-width:0}
.findrow .locbtn{height:46px}
@media(min-width:760px){
  .findrow{align-items:flex-start; gap:12px}
  .findrow .locwrap, .findrow .searchrow{flex:1 1 50%}
}
/* On a phone the button is sharing its line with the search field, so the
   word "Near" and the detected badge go - the town and the radius are the
   two things that actually have to stay readable. */
@media(max-width:759px){
  .lb-gps, .lb-pre{display:none}
  /* The location takes only the width its town name needs, capped at just
     over half, so short names leave the search field more room. */
  .findrow{gap:6px}
  .findrow .locwrap{flex:0 0 auto; max-width:52%}
  .findrow .searchrow{flex:1 1 auto; min-width:0}
  .findrow .locbtn{gap:7px; padding:0 10px}
  .findrow .lb-main b{font-size:13.5px}
  .findrow .lb-main > span{font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .findrow .search{padding:0 11px; gap:7px}
}
@media(max-width:599px){
  .filterbtn{padding:0 12px}
  .filterbtn > span{display:none}
}

/* ---------- location bar ---------- */
.locwrap{position:relative; padding-bottom:10px}
/* Same ground as the search field beside it: white, the stronger border and
   the same small shadow. On grey it read as a disabled control. */
.locbtn{display:flex; align-items:center; gap:9px; width:100%; height:44px; padding:0 12px;
  border:1px solid var(--line-strong); border-radius:var(--r-lg); background:var(--surface);
  box-shadow:var(--shadow-sm); text-align:left;
  transition:border-color .15s, background .15s, box-shadow .15s}
.locbtn:hover{border-color:var(--ink-4)}
.locbtn.open{border-color:var(--ember); background:var(--ember-wash)}
.locbtn > svg{stroke:var(--ember); width:17px; height:17px}
.lb-main{flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.2}
.lb-main b{font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lb-main > span{font-size:11.5px; color:var(--ink-3)}
/* "Near" is a label, the town is the answer - keep the two visually ranked. */
.lb-pre{font-size:11.5px; font-weight:600; letter-spacing:.01em; color:var(--ink-3)}
.lb-gps{flex:none; font-family:var(--font-mono); font-size:9.5px; letter-spacing:.09em;
  text-transform:uppercase; color:var(--good); border:1px solid color-mix(in srgb,var(--good) 34%,transparent);
  background:color-mix(in srgb,var(--good) 10%,transparent); padding:2px 6px; border-radius:5px}
.lb-chev{display:flex; color:var(--ink-3)}
.locbtn.open .lb-chev{transform:rotate(180deg)}

/* The location picker is the filter sheet's twin: same scrim, same sizes,
   same sticky footer, same motion - mirrored, so it enters from the left
   while filters enter from the right. Anchoring it to its button was what
   made it narrow enough to clip on a phone; a sheet cannot be clipped. */
@media(min-width:760px){
  .sheet.locsheet{left:0; right:auto; transform:translateX(-101%);
    border-left:0; border-right:1px solid var(--line)}
  .sheet.locsheet.on{transform:translateX(0)}
}
.lp-head{display:flex; align-items:center; gap:10px}
.lp-head .eyebrow{flex:1}
.lp-search{height:42px; margin:2px 0 10px}
.lp-list{display:flex; flex-direction:column; gap:2px; margin:0 -4px; padding:0 4px}
/* Same footer as the filter sheet: a ghost and a primary, side by side, each
   flex:1. flex:none matters - in a column the buttons are flex items on the
   main axis and shrank from 44px to 23px to fit. */
.lp-ft{flex-direction:column; align-items:stretch; gap:12px}
.lp-ft > *{flex:none}
.lp-ft .lp-radius .eyebrow{display:block; margin-bottom:8px}
.lp-btns{display:flex; gap:10px}
.lp-btns .btn{flex:1}
.lp-item{display:flex; align-items:center; gap:8px; width:100%; padding:9px 10px; border-radius:var(--r-md);
  text-align:left; font-size:14.5px; color:var(--ink-2)}
.lp-item span{flex:1; display:flex; flex-direction:column; line-height:1.2}
.lp-item small{font-size:11.5px; color:var(--ink-4); margin-top:2px}
.lp-item:hover{background:var(--surface-2); color:var(--ink)}
.lp-item.on{background:var(--ember-wash); color:var(--ember-deep); font-weight:600}
.lp-none{padding:16px 10px; font-size:13.5px; color:var(--ink-3)}
.lp-radius{margin-top:14px; padding-top:13px; border-top:1px solid var(--line)}
.lp-radius .eyebrow{display:block; margin-bottom:9px}
.lp-foot{margin-top:14px}
.lp-foot .btn{width:100%}

/* ---------- promoted event ---------- */
.promos{display:grid; gap:16px; grid-template-columns:1fr; margin-bottom:22px}
@media(min-width:900px){
  .promos.multi{grid-template-columns:repeat(2,1fr); gap:18px}
}
.promo{position:relative; border:1px solid var(--line); border-radius:var(--r-lg);
  background:var(--surface); box-shadow:var(--shadow-md); overflow:hidden; cursor:pointer;
  display:grid; grid-template-columns:1fr; transition:transform .18s, box-shadow .18s}
.promo:hover{transform:translateY(-2px); box-shadow:var(--shadow-lg)}
.promo .cover{aspect-ratio:16/9}
.promo-body{padding:18px 18px 20px; display:flex; flex-direction:column; gap:9px}
/* A single promoted event has the room to run cover-beside-copy. */
@media(min-width:760px){
  .promos.single .promo{grid-template-columns:minmax(0,340px) 1fr}
  .promos.single .promo .cover{aspect-ratio:auto; height:100%; min-height:210px}
  .promos.single .promo-body{padding:22px 24px 24px; justify-content:center}
}
.promo h3{font-size:clamp(20px,3.4vw,27px); line-height:1.12; letter-spacing:-.03em}
@media(min-width:900px){
  .promos.multi .promo h3{font-size:23px}
  /* Shallower covers side by side, so the promoted block does not tower
     over the list it is meant to introduce. */
  .promos.multi .promo .cover{aspect-ratio:2.5/1}
}
.promo .sum{font-size:14.5px; color:var(--ink-2); line-height:1.5; max-width:56ch;
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.promo .when{font-family:var(--font-mono); font-size:12.5px; color:var(--ink-2); font-weight:500}
.promo-tag{display:inline-flex; align-items:center; gap:6px; align-self:flex-start;
  font-family:var(--font-mono); font-size:10px; font-weight:600; letter-spacing:.13em;
  text-transform:uppercase; color:#fff; background:var(--ember); padding:4px 9px; border-radius:5px}
.promo-tag svg{width:12px; height:12px; stroke:#fff; fill:#fff}

.searchrow{display:flex; gap:8px; align-items:center}
.search{
  flex:1; min-width:0; display:flex; align-items:center; gap:9px; height:46px; padding:0 14px;
  background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm); transition:border-color .15s, box-shadow .15s;
}
.search:focus-within{border-color:var(--ember); box-shadow:0 0 0 3px var(--ember-wash)}
.search > svg{width:18px; height:18px; stroke:var(--ink-4)}
.search input{flex:1; border:none; background:none; outline:none; font-size:15px; min-width:0}
.search input::placeholder{color:var(--ink-4)}
.search .clr{color:var(--ink-4); font-size:18px; line-height:1; padding:4px}
.search .clr:hover{color:var(--ink)}
.filterbtn{
  height:46px; padding:0 15px; border-radius:var(--r-lg); border:1px solid var(--line-strong);
  background:var(--surface); box-shadow:var(--shadow-sm); font-weight:600; font-size:14px;
  display:inline-flex; align-items:center; gap:8px; flex:none;
}
.filterbtn:hover{border-color:var(--ink-3)}
.filterbtn.active{background:var(--ink); color:var(--paper); border-color:var(--ink)}
.filterbtn .n{font-family:var(--font-mono); font-size:11px; font-weight:600;
  background:var(--ember); color:#fff; border-radius:20px; padding:1px 6px}

/* chip rail */
.rail{display:flex; gap:7px; overflow-x:auto; padding:12px 0 13px;
  scrollbar-width:none; -ms-overflow-style:none; scroll-snap-type:x proximity}
.rail::-webkit-scrollbar{display:none}
.rail-wrap{position:relative}
/* Swipe on touch, two-finger scroll on a trackpad: both are native to an
   overflow-x box. The arrows are for everyone else, and they double as the
   cue that there is more to the right. The fade sits on whichever edge has
   more to show, set from the measured scroll position. */
.rail{overscroll-behavior-x:contain; touch-action:pan-x pan-y; -webkit-overflow-scrolling:touch}
.rail-wrap.can-r .rail{
  -webkit-mask-image:linear-gradient(to right, #000 calc(100% - 64px), transparent);
          mask-image:linear-gradient(to right, #000 calc(100% - 64px), transparent)}
.rail-wrap.can-l .rail{
  -webkit-mask-image:linear-gradient(to right, transparent, #000 64px);
          mask-image:linear-gradient(to right, transparent, #000 64px)}
.rail-wrap.can-l.can-r .rail{
  -webkit-mask-image:linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
          mask-image:linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent)}
.railbtn{position:absolute; top:50%; transform:translateY(-50%); z-index:2; display:none;
  width:32px; height:32px; border-radius:50%; align-items:center; justify-content:center;
  background:var(--surface); border:1px solid var(--line-strong); color:var(--ink);
  box-shadow:var(--shadow-md); transition:border-color .14s, transform .14s}
.railbtn:hover{border-color:var(--ink-3)}
.railbtn:active{transform:translateY(-50%) scale(.94)}
.railbtn svg{width:16px; height:16px; stroke-width:2.2}
.railbtn.l{left:-2px} .railbtn.r{right:-2px}
.rail-wrap.can-l .railbtn.l, .rail-wrap.can-r .railbtn.r{display:flex}
.chip{
  flex:none; scroll-snap-align:start; display:inline-flex; align-items:center; gap:6px;
  height:34px; padding:0 13px; border-radius:20px; border:1px solid var(--line);
  background:var(--surface); font-size:13px; font-weight:500; color:var(--ink-2);
  white-space:nowrap; transition:all .14s;
}
.chip:hover{border-color:var(--ink-4); color:var(--ink)}
.chip.on{background:var(--ember); border-color:var(--ember); color:#fff; font-weight:600}
.chip.on svg{stroke:#fff}
.chip svg{width:14px;height:14px;stroke:var(--ink-3);fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}

/* ============================================================ toolbar */
.toolbar{display:flex; align-items:center; gap:10px; padding:16px 0 12px; flex-wrap:wrap}
.count{font-size:14px; color:var(--ink-3)}
.count b{color:var(--ink); font-family:var(--font-mono); font-weight:600}
.tb-spacer{flex:1}
.sel{
  height:36px; padding:0 30px 0 11px; border-radius:var(--r-md);
  border:1px solid var(--line); background:var(--surface); font-size:13px; font-weight:500;
  appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat; background-position:right 10px center;
}

.lp-sec{font-family:var(--font-mono); font-size:10px; font-weight:500; letter-spacing:.13em;
  text-transform:uppercase; color:var(--ink-4); padding:12px 10px 5px; margin:0}
.lp-sec:first-child{padding-top:2px}
.lp-kind{font-style:normal; font-family:var(--font-mono); font-size:9.5px; letter-spacing:.09em;
  text-transform:uppercase; color:var(--ink-4); border:1px solid var(--line); border-radius:4px;
  padding:2px 6px; flex:none}
.lp-item.on .lp-kind{border-color:transparent}
.lp-any small{color:var(--ink-4)}
.lp-list{max-height:290px}

.grat{stroke:var(--line); stroke-width:.3; fill:none}
.minimap{border-radius:var(--r-md); overflow:hidden; border:1px solid var(--line);
  margin-bottom:13px; background:var(--surface-2)}
.minimap svg{display:block; width:100%; height:auto}

.mapsrow{margin-top:13px}
.mapsrow .btn{width:100%; justify-content:center}
.ovnote{font-size:12.5px; color:var(--ink-3); margin:-4px 0 12px; line-height:1.5}

/* active filter summary */
.activefilters{display:flex; gap:7px; flex-wrap:wrap; padding-bottom:14px}
.afchip{display:inline-flex; align-items:center; gap:6px; height:29px; padding:0 8px 0 11px;
  border-radius:20px; background:var(--ember-wash); color:var(--ember-deep);
  font-size:12px; font-weight:600; border:1px solid transparent}
.afchip button{font-size:15px; line-height:1; opacity:.65; padding:0 2px}
.afchip button:hover{opacity:1}
.afclear{height:29px; padding:0 11px; border-radius:20px; font-size:12px; font-weight:600;
  color:var(--ink-3); border:1px dashed var(--line-strong)}
.afclear:hover{color:var(--ink); border-color:var(--ink-3)}

/* ============================================================ cards */
.grid{display:grid; gap:16px; grid-template-columns:1fr; padding-bottom:40px}
@media(min-width:620px){ .grid{grid-template-columns:repeat(2,1fr); gap:18px} }
@media(min-width:1000px){ .grid{grid-template-columns:repeat(3,1fr)} }
.grid.split{grid-template-columns:1fr}
@media(min-width:1000px){ .grid.split{grid-template-columns:repeat(2,1fr)} }

.card{
  position:relative; display:flex; flex-direction:column; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease, border-color .18s;
  text-align:left; width:100%; padding:0;
}
.card:hover{transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--line-strong)}
.card:focus-visible{outline:2px solid var(--ember); outline-offset:2px}
.cover{position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--ink)}
.cover .mesh{position:absolute; inset:0; width:100%; height:100%}
.cover .glyph{position:absolute; right:-14px; bottom:-22px; width:132px; height:132px;
  opacity:.17; stroke:#fff; fill:none; stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round}
.cover .cat,.dhero .cat{position:absolute; left:12px; top:11px; font-family:var(--font-mono); font-size:10px;
  font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:#fff; opacity:.92;
  text-shadow:0 1px 6px rgba(0,0,0,.4)}

/* ticket-stub date stamp */
.stamp{
  position:absolute; left:12px; bottom:12px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; width:52px; padding:7px 0 6px;
  background:var(--surface); border-radius:var(--r-sm); box-shadow:var(--shadow-md);
  font-family:var(--font-mono); line-height:1; overflow:hidden;
}
.stamp b{font-size:19px; font-weight:600; letter-spacing:-.04em; color:var(--ink); padding-bottom:6px}
.stamp i{font-style:normal; font-size:9px; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ember-deep); margin-top:5px}
/* perforation: the ticket-stub tear line between day and month */
.stamp .perf{position:absolute; left:4px; right:4px; top:31px; height:1px;
  background:repeating-linear-gradient(to right,var(--line-strong) 0 2px,transparent 2px 5px)}

.cbody{display:flex; flex-direction:column; gap:7px; padding:14px 15px 15px; flex:1}
.card h3{font-size:17px; line-height:1.22; letter-spacing:-.025em}
/* Two lines, always: clamped with an ellipsis when longer, and held open
   at two when shorter, so every card's text block lines up. A character
   cap would not do this - cards are 300-380px wide depending on the screen,
   so the same 100 characters is one line on one device and three on the
   next. Two lines here is roughly 80-110 characters. */
.card .sum{font-size:13.5px; color:var(--ink-3); line-height:1.45; min-height:calc(1.45em * 2);
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.card .when{font-family:var(--font-mono); font-size:12px; color:var(--ink-2); font-weight:500;
  display:flex; align-items:center; gap:6px; flex-wrap:wrap}
.card .where{font-size:12.5px; color:var(--ink-3); display:flex; align-items:center; gap:5px}
.card .where svg{width:12px;height:12px;fill:none;stroke:var(--ink-4);stroke-width:1.8}
.pills{display:flex; gap:5px; flex-wrap:wrap; margin-top:auto; padding-top:9px}
/* Tags are labels, not controls: no border, no hover, default cursor, flat
   tint. Two families - facts about the event (free, online, recurring,
   distance) in green with an icon, and topics (category, audience,
   campaign) in violet - so the two read apart at a glance. */
.pill{display:inline-flex; align-items:center; gap:4px; font-size:10.5px; font-weight:600;
  letter-spacing:.03em; padding:3px 7px; border-radius:4px; border:1px solid transparent;
  color:var(--ink-3); background:var(--surface-2); text-transform:uppercase;
  cursor:default; user-select:none; -webkit-user-select:none}
.pill svg{width:11px; height:11px; stroke-width:2.3}
.pill.fact{color:var(--good); background:color-mix(in srgb,var(--good) 10%,transparent)}
.pill.topic{color:var(--topic); background:var(--topic-wash); text-transform:none; letter-spacing:0;
  font-size:11.5px; font-weight:600}
.pill.free{color:var(--good); border-color:color-mix(in srgb,var(--good) 30%,transparent);
  background:color-mix(in srgb,var(--good) 9%,transparent)}
.pill.online{color:var(--signal); border-color:color-mix(in srgb,var(--signal) 32%,transparent);
  background:var(--signal-wash)}
.pill.demo{color:var(--ember-deep); border-color:color-mix(in srgb,var(--ember) 34%,transparent);
  background:var(--ember-wash)}
.pill.dist{font-family:var(--font-mono); text-transform:none; letter-spacing:0}
.pill.lang{color:var(--ink-2); border-style:dashed; border-color:var(--line-strong); background:transparent}
.pill.tag{color:var(--signal); border-color:color-mix(in srgb,var(--signal) 30%,transparent);
  background:var(--signal-wash)}

/* translation banner on the detail page */
.transnote{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:14px;
  padding:9px 13px; border:1px dashed var(--line-strong); border-radius:var(--r-md);
  background:var(--surface-2); font-size:13px; color:var(--ink-3)}
.transnote > span{display:flex; align-items:center; gap:7px}
.transnote button{font-size:13px; font-weight:600; color:var(--signal); text-decoration:underline;
  text-underline-offset:2px}
.transnote button:hover{color:var(--signal-deep)}
.bodynote{margin-top:16px; padding-top:12px; border-top:1px dashed var(--line);
  font-size:12.5px; color:var(--ink-4); max-width:64ch}

/* place profile hero */
.placehero{position:relative; padding:56px 0 28px; background:var(--surface);
  border-bottom:1px solid var(--line)}
.placehero .dback{left:16px; top:14px; background:var(--surface-2); color:var(--ink-2);
  border:1px solid var(--line); box-shadow:none}
.placehero .dback:hover{color:var(--ink); text-decoration:none}
@media(min-width:900px){ .placehero{padding:64px 0 34px} }

.savebtn{position:absolute; right:10px; top:10px; width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm); z-index:2; transition:transform .15s}
.savebtn:hover{transform:scale(1.09)}
.savebtn svg{width:15px;height:15px;fill:none;stroke:#131a22;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round}
.savebtn.on{background:var(--ember)}
.savebtn.on svg{fill:#fff;stroke:#fff}

/* empty state */
.empty{text-align:center; padding:56px 20px 70px; border:1px dashed var(--line-strong);
  border-radius:var(--r-lg); background:var(--surface)}
.empty h3{font-size:20px; margin-bottom:8px}
.empty p{color:var(--ink-3); font-size:14px; max-width:38ch; margin-inline:auto}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:44px; padding:0 20px; border-radius:var(--r-lg); font-weight:600; font-size:15px;
  background:var(--ember); color:#fff; transition:background .15s, transform .12s;
}
.btn:hover{background:var(--ember-deep); text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn.ghost{background:transparent; color:var(--ink); border:1px solid var(--line-strong)}
.btn.ghost:hover{background:var(--surface-2); border-color:var(--ink-3)}
.btn.blue{background:var(--signal)}
.btn.blue:hover{background:var(--signal-deep)}
.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
.btn.sm{height:36px;padding:0 14px;font-size:13.5px;border-radius:var(--r-md)}

/* ============================================================ filter sheet */
.scrim{position:fixed; inset:0; background:rgba(10,14,19,.5); z-index:80; opacity:0;
  pointer-events:none; transition:opacity .22s; backdrop-filter:blur(2px)}
.scrim.on{opacity:1; pointer-events:auto}
.sheet{
  position:fixed; left:0; right:0; bottom:0; z-index:90; background:var(--surface);
  border-radius:var(--r-xl) var(--r-xl) 0 0; max-height:88vh; display:flex; flex-direction:column;
  transform:translateY(101%); transition:transform .28s cubic-bezier(.32,.72,0,1);
  box-shadow:var(--shadow-lg);
}
.sheet.on{transform:translateY(0)}
@media(min-width:760px){
  .sheet{left:auto; top:0; width:400px; max-height:none; border-radius:0;
    transform:translateX(101%); border-left:1px solid var(--line)}
  .sheet.on{transform:translateX(0)}
}
.sheet-hd{display:flex; align-items:center; gap:12px; padding:16px 18px 12px;
  border-bottom:1px solid var(--line); flex:none}
.sheet-hd h2{font-size:19px; flex:1}
.grab{width:38px;height:4px;border-radius:4px;background:var(--line-strong);
  margin:8px auto 0; flex:none}
@media(min-width:760px){ .grab{display:none} }
.sheet-body{overflow-y:auto; padding:6px 18px 20px; flex:1;
  -webkit-overflow-scrolling:touch}
.fgroup{padding:16px 0; border-bottom:1px solid var(--line)}
.fgroup:last-child{border-bottom:none}
.fgroup > .eyebrow{margin-bottom:11px; display:block}
.opts{display:flex; flex-wrap:wrap; gap:7px}
.opt{
  display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px;
  border-radius:var(--r-md); border:1px solid var(--line); background:var(--surface-2);
  font-size:13px; font-weight:500; color:var(--ink-2); transition:all .13s;
}
.opt:hover{border-color:var(--ink-4)}
.opt.on{background:var(--ink); border-color:var(--ink); color:var(--paper); font-weight:600}
.opt .k{font-family:var(--font-mono); font-size:10.5px; opacity:.55}
.opt.on .k{opacity:.7}
.fgroup select.sel{width:100%; height:42px; font-size:14px; border-radius:var(--r-md)}
.switch{display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:11px 0; cursor:pointer}
.switch span{font-size:14.5px; font-weight:500}
.switch small{display:block; font-size:12px; color:var(--ink-3); font-weight:400; margin-top:1px}
.track{width:44px;height:26px;border-radius:20px;background:var(--line-strong);flex:none;
  position:relative;transition:background .18s}
.track::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;
  border-radius:50%;background:#fff;transition:transform .18s;box-shadow:var(--shadow-sm)}
.switch.on .track{background:var(--ember)}
.switch.on .track::after{transform:translateX(18px)}
.sheet-ft{display:flex; gap:10px; padding:13px 18px calc(13px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line); background:var(--surface); flex:none}
.sheet-ft .btn{flex:1}

/* ============================================================ map */
.mapzone{display:grid; gap:16px; padding-bottom:40px}
@media(min-width:1000px){
  .mapzone{grid-template-columns:1.25fr .75fr; align-items:start}
  .mapcard{position:sticky; top:calc(var(--hh) + 118px)}
}
.mapcard{position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm)}
.mapcard svg{display:block; width:100%; height:auto; background:var(--surface-2)}
.landmass{fill:color-mix(in srgb,var(--ink) 8%,transparent); stroke:var(--line-strong); stroke-width:.4}
.grat{stroke:var(--line); stroke-width:.3; fill:none}
.pin{cursor:pointer}
.pin circle.halo{fill:var(--ember); opacity:.16}
.pin circle.dot{fill:var(--ember); stroke:var(--surface); stroke-width:1.2}
.pin.sel circle.dot{fill:var(--signal)}
.pin.sel circle.halo{fill:var(--signal); opacity:.26}
.pin text{font-family:var(--font-mono); font-size:5px; font-weight:600; fill:#fff;
  text-anchor:middle; dominant-baseline:central; pointer-events:none}
.maplabel{font-family:var(--font-mono); font-size:4.4px; font-weight:500; letter-spacing:.14em;
  fill:var(--ink-3); opacity:.55; text-anchor:middle; pointer-events:none}
.ring{fill:color-mix(in srgb,var(--signal) 6%,transparent); stroke:var(--signal);
  stroke-width:.6; stroke-dasharray:3 2.5; opacity:.55}
.scalebar line{stroke:var(--ink-3); stroke-width:.8}
.scalebar text{font-family:var(--font-mono); font-size:5px; fill:var(--ink-3);
  dominant-baseline:middle}
.you circle{fill:var(--signal); opacity:.18}
.you circle.core{fill:var(--signal); opacity:1; stroke:var(--surface); stroke-width:1.4}
.mdist{flex:none; align-self:flex-start; font-size:11px; color:var(--ink-3);
  background:var(--surface-2); border:1px solid var(--line); border-radius:5px; padding:2px 6px}
.mapnote{margin-top:9px; font-family:var(--font-mono); font-size:9.5px; letter-spacing:.06em;
  color:var(--ink-4); text-align:right; line-height:1.5}
.maplist{display:flex; flex-direction:column; gap:10px; max-height:none}
@media(min-width:1000px){ .maplist{max-height:640px; overflow-y:auto; padding-right:4px} }
.mrow{display:flex; gap:12px; padding:12px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-md); text-align:left; width:100%; transition:border-color .14s}
.mrow:hover{border-color:var(--ink-4)}
.mrow.sel{border-color:var(--signal); box-shadow:0 0 0 2px var(--signal-wash)}
.mrow .num{width:26px;height:26px;border-radius:50%;background:var(--ember);color:#fff;flex:none;
  display:flex;align-items:center;justify-content:center;font-family:var(--font-mono);
  font-size:11px;font-weight:600}
.mrow.sel .num{background:var(--signal)}
.mrow h4{font-size:14.5px; letter-spacing:-.02em}
.mrow p{font-size:12.5px; color:var(--ink-3); margin-top:2px}
.mrow .ev{font-family:var(--font-mono); font-size:11.5px; color:var(--ink-2); margin-top:6px;
  display:flex; flex-direction:column; gap:3px}
.mrow .ev span{display:flex; gap:7px}
.mrow .ev b{color:var(--ember-deep); font-weight:600; flex:none}

/* ============================================================ detail */
.dhero{position:relative; height:min(56vw,300px); overflow:hidden; background:var(--ink)}
@media(min-width:760px){ .dhero{height:clamp(240px,30vw,400px)} }
.dhero .glyph{position:absolute; right:-30px; bottom:-60px; width:300px; height:300px;
  opacity:.15; stroke:#fff; fill:none; stroke-width:.9}
.dback{position:absolute; left:14px; top:14px; z-index:3; height:36px; padding:0 13px 0 10px;
  border-radius:20px; background:rgba(255,255,255,.94); color:#131a22; font-size:13px;
  font-weight:600; display:inline-flex; align-items:center; gap:6px; box-shadow:var(--shadow-md)}
.dback svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round}
.detail{padding-bottom:120px}
.dmain{display:grid; gap:26px; padding-top:22px}
@media(min-width:900px){
  .dmain{grid-template-columns:1fr 350px; gap:44px; padding-top:30px}
}
.dtitle{font-size:clamp(25px,5.6vw,40px); line-height:1.06; letter-spacing:-.032em; font-weight:700}
.dsum{font-size:17px; color:var(--ink-2); margin-top:11px; line-height:1.5; max-width:62ch}
.dchips{display:flex; gap:6px; flex-wrap:wrap; margin-top:15px}
.dsec{margin-top:30px}
.dsec > .eyebrow{display:block; margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid var(--line)}
.prose{font-size:15.5px; line-height:1.65; color:var(--ink-2); max-width:64ch}
.prose p+p{margin-top:14px}
.prose ul{margin:12px 0; padding-left:20px}
.prose li{margin:5px 0}
.prose strong{color:var(--ink); font-weight:600}
.occ{display:flex; flex-direction:column; gap:1px; border:1px solid var(--line);
  border-radius:var(--r-md); overflow:hidden}
.occrow{display:flex; align-items:center; gap:12px; padding:11px 14px; background:var(--surface);
  border-bottom:1px solid var(--line); font-size:14px}
.occrow:last-child{border-bottom:none}
.occrow .d{font-family:var(--font-mono); font-weight:600; font-size:13px; width:88px; flex:none}
.occrow .t{font-family:var(--font-mono); font-size:13px; color:var(--ink-3)}
.occrow .next{margin-left:auto; font-size:10.5px; font-weight:600; letter-spacing:.05em;
  text-transform:uppercase; color:var(--ember-deep); background:var(--ember-wash);
  padding:2px 7px; border-radius:5px}

/* aside */
.aside{display:flex; flex-direction:column; gap:16px}
.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:16px; box-shadow:var(--shadow-sm)}
.panel h4{font-size:15px; margin-bottom:11px}
.kv{display:flex; gap:11px; padding:9px 0; border-bottom:1px solid var(--line); font-size:13.5px}
.kv:last-of-type{border-bottom:none}
.kv .k{color:var(--ink-3); width:96px; flex:none; font-size:12.5px}
.kv .v{color:var(--ink); font-weight:500; flex:1; min-width:0; overflow-wrap:anywhere}
.svclist{display:flex; gap:6px; flex-wrap:wrap; margin-top:10px}
.soc{display:flex; gap:7px; margin-top:12px}
.soc a{width:34px;height:34px;border-radius:var(--r-md);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--ink-3)}
.soc a:hover{color:var(--ink); border-color:var(--ink-4)}
.soc svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}

/* ---------- event page: breadcrumbs ---------- */
.crumbs{display:flex; align-items:center; flex-wrap:wrap; gap:4px 7px; padding-top:18px;
  font-size:13px; line-height:1.4; color:var(--ink-3)}
.crumbs a{color:var(--ink-2); font-weight:600; max-width:28ch; overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap}
.crumbs a:hover{color:var(--ember-deep)}
.crumbs .sep{color:var(--ink-4)}
.crumbs .cur{color:var(--ink-3); min-width:0; max-width:40ch; overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap}
@media(max-width:600px){ .crumbs a{max-width:20ch} .crumbs .cur{max-width:100%} }

/* ---------- event page: 50/50 split ----------
   Left: the words (title, when, actions, description, dates). Right: the
   event image, then Getting there / Joining online and Published by.
   On a phone the two columns dissolve (display:contents) and the pieces
   are re-ordered, so "More from" lands after the venue and publisher. */
.evmain{display:flex; flex-direction:column; gap:22px; padding-top:14px}
.evcol{display:contents}
.dhead{order:1} .dmedia{order:2} .dbody{order:3} .daside{order:4} .dmore{order:5}
@media(min-width:900px){
  .evmain{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px;
    align-items:start; padding-top:22px}
  .evcol{display:flex; flex-direction:column; min-width:0}
  .evcol.right{gap:16px}
}
.dmedia{position:relative; aspect-ratio:16/10; border-radius:var(--r-lg); overflow:hidden;
  background:var(--ink); box-shadow:var(--shadow-md)}
.dmedia .mesh{position:absolute; inset:0; width:100%; height:100%}
.dmedia .glyph{position:absolute; right:-4%; bottom:-12%; width:42%; height:auto; aspect-ratio:1;
  opacity:.15; stroke:#fff; fill:none; stroke-width:.9; stroke-linecap:round; stroke-linejoin:round}
.dbody > .dsec:first-child{margin-top:8px}
@media(min-width:900px){ .dbody > .dsec:first-child{margin-top:30px} }
.whenrow{margin-top:16px}
.whenrow .datechip{display:inline-flex}
.actionrow .btn.sm{height:38px}

/* ---------- getting there: route map ---------- */
.rmap .minimap{position:relative}
.rmap.dropping .minimap{cursor:crosshair; outline:2px dashed var(--signal); outline-offset:-2px}
.rmap-hint{position:absolute; left:8px; right:8px; top:8px; padding:6px 9px; border-radius:7px;
  font-size:12px; font-weight:600; color:var(--ink); pointer-events:none;
  background:color-mix(in srgb, var(--surface) 92%, transparent); box-shadow:var(--shadow-sm)}
.rmap-ctl{display:flex; align-items:center; justify-content:space-between; gap:6px 10px;
  flex-wrap:wrap; margin:-4px 0 8px; font-size:12.5px; color:var(--ink-3)}
.rmap-from{display:inline-flex; align-items:center; gap:6px; min-width:0}
.rmap-from svg{width:14px; height:14px; stroke:var(--signal)}
.rmap-from b{color:var(--ink); font-weight:600}
.rmap-btns{display:inline-flex; gap:2px; flex:none}
.linkbtn{display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:7px;
  font-size:12.5px; font-weight:600; color:var(--signal)}
.linkbtn:hover{background:var(--signal-wash)}
.linkbtn.on{background:var(--signal); color:#fff}
.linkbtn svg{width:13px; height:13px}
.mapzoom{position:absolute; right:8px; bottom:8px; display:flex; flex-direction:column;
  border-radius:9px; overflow:hidden; background:var(--surface); border:1px solid var(--line-strong);
  box-shadow:var(--shadow-sm); z-index:2}
.mapzoom button{width:32px; height:30px; display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:600; line-height:1; color:var(--ink); cursor:pointer}
.mapzoom button + button{border-top:1px solid var(--line)}
.mapzoom button:hover{background:var(--surface-2)}
.mapzoom button:disabled{color:var(--ink-4); cursor:default; background:none}
.rtown{font-family:var(--font-body); font-size:10px; font-weight:600; fill:var(--ink-3);
  paint-order:stroke; stroke:var(--surface-2); stroke-width:3px; stroke-linejoin:round}
.rscale line{stroke:var(--ink-3); stroke-width:1.4}
.rscale text{font-family:var(--font-mono); font-size:9.5px; fill:var(--ink-3)}
.rline{fill:none; stroke:var(--ink-3); stroke-width:1.8; stroke-dasharray:6 5; stroke-linecap:round}
.rlabel{font-family:var(--font-body); font-size:11.5px; font-weight:700; fill:var(--ink-2);
  paint-order:stroke; stroke:var(--surface-2); stroke-width:4px; stroke-linejoin:round}
.rbadge rect{fill:var(--surface); stroke:var(--line-strong); stroke-width:1}
.rbadge text{font-family:var(--font-mono); font-size:12px; font-weight:700; fill:var(--ink);
  text-anchor:middle; dominant-baseline:central; font-variant-numeric:tabular-nums}
.kv .v small{color:var(--ink-4); font-weight:400; font-size:12px}

/* ---------- online: times in the viewer's zone ---------- */
.tzline{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:10px;
  font-size:12.5px; color:var(--ink-3)}
.tzline svg{width:14px; height:14px; stroke:var(--signal)}
.tzline .sel{height:32px; font-size:12.5px}
.tzline .hosted{flex-basis:100%; color:var(--ink-4)}

/* sticky rsvp bar - the contents sit as one centred group rather than
   being pinned to the two edges of a wide screen */
.rsvpbar{
  position:fixed; left:0; right:0; bottom:0; z-index:70; background:var(--surface);
  border-top:1px solid var(--line); box-shadow:0 -6px 24px -8px rgba(19,26,34,.16);
  padding:11px 16px calc(11px + env(safe-area-inset-bottom));
}
.rsvp-in{display:flex; align-items:center; justify-content:center; gap:14px;
  max-width:680px; margin:0 auto}
.rsvpbar .info{flex:0 1 auto; min-width:0; padding-right:6px}
@media(max-width:600px){ .rsvp-in{gap:10px} .rsvpbar .info{flex:1} }
.rsvpbar .info b{display:block; font-family:var(--font-mono); font-size:12.5px; font-weight:600;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rsvpbar .info span{display:block; font-size:12px; color:var(--ink-3);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rsvpbar .btn{flex:none}
.rsvpbar .savebtn{position:static; width:44px; height:44px; border-radius:var(--r-lg);
  background:var(--surface-2); border:1px solid var(--line); box-shadow:none}
.rsvpbar .savebtn svg{stroke:var(--ink-2); width:17px; height:17px}
.rsvpbar .savebtn.on{background:var(--ember); border-color:var(--ember)}
.rsvpbar .savebtn.on svg{stroke:#fff; fill:#fff}

/* ---------- action row (share / calendar) ---------- */
.actionrow{display:flex; gap:9px; flex-wrap:wrap; margin-top:16px}
.actionrow .btn{gap:7px}
/* Deliberately not button-shaped: no border, no hover, a tinted plate with a
   rule down its leading edge so it reads as a stated fact. */
.datechip{display:inline-flex; align-items:center; gap:8px; cursor:default;
  padding:8px 14px 8px 12px; border-radius:0 var(--r-sm) var(--r-sm) 0;
  border-left:3px solid var(--ember); background:var(--ember-wash);
  color:var(--ink); font-size:13.5px; font-weight:600; letter-spacing:.005em;
  font-variant-numeric:tabular-nums; align-self:center}
.datechip svg{stroke:var(--ember-deep); width:15px; height:15px; flex:none}

/* ---------- overlay sheet (share + calendar) ---------- */
#modal .sheet-body{padding-bottom:26px}
.ovsub{font-size:13.5px; color:var(--ink-3); padding:10px 0 4px; line-height:1.45}
.ovlist{display:flex; flex-direction:column; gap:7px; margin-top:10px}
.ovitem{display:flex; align-items:center; gap:12px; width:100%; text-align:left;
  padding:13px 14px; border:1px solid var(--line); border-radius:var(--r-md);
  background:var(--surface); color:var(--ink); transition:border-color .14s, background .14s}
.ovitem:hover{border-color:var(--ink-4); background:var(--surface-2); text-decoration:none}
.ovitem > svg:first-child{stroke:var(--ember); width:19px; height:19px}
.ovitem > svg:last-child{stroke:var(--ink-4); margin-left:auto; width:14px; height:14px}
.ovitem span{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
.ovitem b{font-size:14.5px; font-weight:600}
.ovitem small{font-size:12px; color:var(--ink-3); overflow-wrap:anywhere}
.copybox{margin-top:12px}
.copybox textarea{width:100%; font-family:var(--font-mono); font-size:11.5px; line-height:1.5;
  padding:11px; border:1px solid var(--line); border-radius:var(--r-md);
  background:var(--surface-2); color:var(--ink-2); resize:vertical}
.icsnote{margin-top:14px; font-size:12.5px; line-height:1.55; color:var(--ink-3)}

/* ---------- report ---------- */
.reportrow{margin-top:34px; padding-top:18px; border-top:1px solid var(--line)}
.reportlink{display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600;
  color:var(--ink-3); padding:8px 13px; border:1px solid var(--line); border-radius:var(--r-md)}
.reportlink:hover{color:var(--alert); border-color:color-mix(in srgb,var(--alert) 40%,transparent);
  background:color-mix(in srgb,var(--alert) 7%,transparent); text-decoration:none}
.reportlink svg{stroke:currentColor; width:15px; height:15px}

/* The list views sat flush against the search band - the first promo card's
   top edge touched the band's bottom border. Detail and report views already
   carried their own top padding; these had none. */
.listwrap{padding-top:24px}
@media(max-width:660px){ .listwrap{padding-top:18px} }
.reportwrap{max-width:660px; padding-top:24px; padding-bottom:60px}
.backlink{display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600;
  color:var(--ink-3); margin-bottom:20px}
.backlink:hover{color:var(--ink); text-decoration:none}
.rtitle{font-size:clamp(26px,5.6vw,38px); letter-spacing:-.032em; line-height:1.08}

.urgent{display:flex; gap:13px; margin-top:24px; padding:15px 16px; border-radius:var(--r-lg);
  border:1px solid color-mix(in srgb,var(--alert) 34%,transparent);
  background:color-mix(in srgb,var(--alert) 7%,transparent)}
.urgent .uflag{flex:none; display:flex}
.urgent .uflag svg{stroke:var(--alert); width:19px; height:19px}
.urgent b{display:block; font-size:14.5px; color:var(--alert); margin-bottom:5px}
.urgent p{font-size:13px; line-height:1.55; color:var(--ink-2)}

.aboutbox{display:flex; flex-direction:column; gap:4px; margin-top:20px; padding:14px 16px;
  border:1px solid var(--line); border-left:3px solid var(--ember);
  border-radius:var(--r-md); background:var(--surface)}
.aboutbox b{font-size:16px; letter-spacing:-.02em}
.aboutbox > span{font-family:var(--font-mono); font-size:12px; color:var(--ink-3)}
.aboutbox .viaplace{margin-top:2px; color:var(--ink-4)}

#reportform{margin-top:26px; display:flex; flex-direction:column; gap:20px}
.field{display:flex; flex-direction:column; gap:7px}
.field > label{font-size:14px; font-weight:600}
.field .req{color:var(--alert); font-weight:700}
.field .opt-note{font-weight:400; color:var(--ink-4); font-size:12.5px}
.field input, .field textarea{
  width:100%; padding:11px 13px; font-size:15px; font-family:inherit;
  border:1px solid var(--line-strong); border-radius:var(--r-md);
  background:var(--surface); color:var(--ink); outline:none;
}
.field textarea{resize:vertical; line-height:1.5}
.field input:focus, .field textarea:focus{border-color:var(--ember); box-shadow:0 0 0 3px var(--ember-wash)}
.field.bad input, .field.bad textarea{border-color:var(--alert)}
.fielderr{display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--alert)}
.fielderr svg{width:13px; height:13px; stroke:var(--alert)}
.fieldnote{font-size:13px; color:var(--ink-3); line-height:1.55; max-width:56ch}
.formerr{display:flex; align-items:center; gap:8px; padding:11px 13px; border-radius:var(--r-md);
  font-size:13.5px; font-weight:600; color:var(--alert);
  border:1px solid color-mix(in srgb,var(--alert) 34%,transparent);
  background:color-mix(in srgb,var(--alert) 8%,transparent)}
.formerr svg{stroke:var(--alert)}

.reasons{display:flex; flex-direction:column; gap:6px}
.reason{display:flex; align-items:flex-start; gap:10px; padding:11px 13px; cursor:pointer;
  border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface);
  font-size:14.5px; transition:border-color .13s, background .13s}
.reason:hover{border-color:var(--ink-4)}
.reason.on{border-color:var(--ember); background:var(--ember-wash)}
.reason input{accent-color:var(--ember); margin-top:2px; flex:none; width:17px; height:17px}
.checkline{display:flex; align-items:flex-start; gap:10px; font-size:14px; font-weight:500; cursor:pointer}
.checkline input{accent-color:var(--ember); margin-top:2px; flex:none; width:18px; height:18px}
.formactions{display:flex; gap:10px; flex-wrap:wrap}
.formactions .btn{flex:1; min-width:150px}
.protonote{font-size:12px; color:var(--ink-4); text-align:center}
.reportok .protonote{text-align:left; margin-top:22px; padding-top:14px;
  border-top:1px dashed var(--line)}

.reportok{padding:34px 0 10px; text-align:left}
.okmark{width:52px; height:52px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; background:color-mix(in srgb,var(--good) 14%,transparent); margin-bottom:18px}
.okmark svg{width:26px; height:26px; stroke:var(--good); stroke-width:2.4}
.reportok h1{font-size:clamp(25px,5.2vw,34px); letter-spacing:-.03em}
.refbox{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:20px;
  padding:14px 16px; border:1px dashed var(--line-strong); border-radius:var(--r-md);
  background:var(--surface)}
.refbox .eyebrow{flex:none}
.refbox b{font-size:19px; font-weight:600; letter-spacing:.04em; flex:1}
.steps{margin:0; padding-left:20px; display:flex; flex-direction:column; gap:9px;
  font-size:14.5px; line-height:1.55; color:var(--ink-2)}
.steps li::marker{color:var(--ember); font-weight:700}

/* ============================================================ footer */
.foot{background:var(--ink); color:#c3cbd6; margin-top:40px; padding:44px 0 30px}
:root[data-theme="dark"] .foot, :root:not([data-theme="light"]) .foot{background:#080c11}
@media (prefers-color-scheme: light){ :root:not([data-theme="dark"]) .foot{background:#131a22} }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --tab-on-bg:#2FBF8B; --tab-on-fg:#052018;
    --wash-a:rgba(47,191,139,.20); --wash-b:rgba(77,162,255,.14); --wash-c:rgba(47,191,139,.10);
  }
}
:root[data-theme="dark"]{
  --tab-on-bg:#2FBF8B; --tab-on-fg:#052018;
  --wash-a:rgba(47,191,139,.20); --wash-b:rgba(77,162,255,.14); --wash-c:rgba(47,191,139,.10);
}
.foot-in{display:grid; gap:30px}
@media(min-width:760px){ .foot-in{grid-template-columns:2fr 1fr; gap:44px} }
/* Place Login and Contact Support sit at the foot of the brand column,
   bottom-aligned with the last link of the Browse column beside it. */
.foot-brandcol{display:flex; flex-direction:column}
.foot-util{margin-top:auto; padding-top:22px; display:flex; flex-wrap:wrap; gap:4px 22px}
.foot .foot-util a{display:inline-flex; align-items:center; gap:6px; font-weight:600; color:#e2e7ee}
.foot .foot-util a:hover{color:var(--ember)}
.foot-util svg{width:13px; height:13px; opacity:.7}
/* No brand colour in the footer: the identity lives in the header strip, and
   on the footer's near-black half the palette is unreadable anyway. */
.foot h4{color:#fff; font-size:13px; margin-bottom:12px; font-family:var(--font-mono);
  font-weight:500; letter-spacing:.11em; text-transform:uppercase; opacity:.6}
.foot a{color:#c3cbd6; font-size:14px; display:block; padding:5px 0}
.foot a:hover{color:var(--ember)}
.foot .blurb{font-size:14px; line-height:1.6; max-width:40ch; color:#9aa5b3; margin-top:12px}
.foot .brand{color:#fff; font-size:22px}
.foot .brand .a{color:#fff}
.foot .brand .r{color:var(--ember)}
.foot .brand small{color:#6d7784}
.legal{margin-top:34px; padding-top:20px; border-top:1px solid rgba(255,255,255,.1);
  font-size:12px; color:#6d7784; display:flex; gap:16px; flex-wrap:wrap; align-items:center}

/* prototype notes */
.notes{margin-top:26px; border:1px solid rgba(255,255,255,.12); border-radius:var(--r-lg);
  overflow:hidden}
.notes summary{padding:13px 16px; cursor:pointer; font-size:13.5px; font-weight:600; color:#fff;
  list-style:none; display:flex; align-items:center; gap:9px}
.notes summary::-webkit-details-marker{display:none}
.notes summary::before{content:"+"; font-family:var(--font-mono); color:var(--ember); font-size:16px}
.notes[open] summary::before{content:"\2212"}
.notes .nbody{padding:0 16px 16px; font-size:13px; line-height:1.6; color:#9aa5b3}
.notes table{width:100%; border-collapse:collapse; margin-top:8px; font-size:12.5px}
.notes th,.notes td{text-align:left; padding:7px 10px 7px 0; border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align:top}
.notes th{color:#fff; font-weight:600; font-family:var(--font-mono); font-size:11px;
  letter-spacing:.08em; text-transform:uppercase}
.notes td:first-child{color:#e2e7ee; font-weight:500; width:38%}
.notes code{font-family:var(--font-mono); font-size:11.5px; color:var(--ember)}
.ntable-wrap{overflow-x:auto}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.01ms !important; transition-duration:.01ms !important}
}