/* =====================================================================================================
   Finding Portland: the whole look in one file.
   Warm paper-white pages, sand-colored cards with big rounded corners, black pill buttons, no outlines or offset
   shadows, Instrument Sans throughout, and a palette taken from Matisse's cut-outs (ultramarine, vermilion, saffron,
   leaf green, rose) used sparingly: categories, one feature card at a time, and flat paper cut-outs
   (art/make-cutouts.py) in empty corners.
   Sections: tokens · base · header · buttons and chips · the agenda (phones) · the wide layout · event details card ·
   lists (anytime, classes) · share, verify and report · forms and the newsletter · footer and tab bar · pages · art
   ===================================================================================================== */
:root{
  --paper:#FFFDF8; --ink:#1E1B18; --muted:#6A6259; --mist:#F4EEE2; --line:#E7DFD0; --hover:#ECE4D5;
  --blue:#2443B5; --coral:#E5482D; --sun:#F5B731; --leaf:#2F9259; --sky:#E96FA3;
  --free-bg:#DDEEDD; --free:#1D6A3F; --warn-bg:#FFF6D6; --warn:#5B4A12; --red:#B42318; --flag:#E5484D;
  --sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r-card:24px; --r-small:16px;
  color-scheme:light;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5}
[hidden]{display:none!important}
img,svg{display:block}
a{color:var(--blue)}
p a,li a{text-underline-offset:3px}
h1,h2,h3{font-weight:500;letter-spacing:-.025em;line-height:1.15;color:var(--ink)}
h1{letter-spacing:-.035em}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:8px}
.sr{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:999px;font-weight:600;text-decoration:none}
.skip:focus{top:10px}
.wrap{max-width:1440px;margin:0 auto;padding:0 20px}
.dot{width:10px;height:10px;border-radius:999px;flex:none;display:inline-block}
:is(section,div,h2,h3)[id]{scroll-margin-top:84px}

/* ---------- header (one header on every page) ---------- */
.hd{position:sticky;top:0;z-index:30;background:rgba(255,253,248,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.hd .wrap{display:flex;align-items:center;gap:14px;height:68px}
.brand{display:flex;align-items:baseline;text-decoration:none;color:var(--ink);font-weight:600;font-size:20px;letter-spacing:-.035em;white-space:nowrap;flex:none}
.brand .st{font:inherit;color:inherit}
.brand .logo{display:block;height:48px;width:auto}
.hd-tabs{display:none;gap:2px;flex:none}
.hd-tabs a{text-decoration:none;color:var(--ink);font-weight:600;font-size:14.7px;border-radius:999px;min-height:40px;padding:0 15px;display:inline-flex;align-items:center}
.hd-tabs a:hover{background:var(--mist)}
.hd-tabs a[aria-current="page"]{background:var(--ink);color:#fff}
.hd-search{display:flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;min-height:40px;min-width:40px;padding:0 12px;border:0;border-radius:999px;background:var(--mist);color:var(--ink);font-size:14.4px;font-weight:600;cursor:pointer}
.hd-search span{display:none}
.hd-search:hover{background:var(--hover)}
.hd-news{border:0;border-radius:999px;background:var(--ink);color:#fff;font-weight:600;font-size:14.4px;min-height:40px;padding:0 16px;text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap;flex:none}
@media (hover:hover){.hd-news:hover{background:#000}}
@media (min-width:1024px){
  .hd-tabs{display:flex}
  .hd-search{flex:1;justify-content:flex-start;min-width:180px;max-width:520px;min-height:44px;padding:0 16px;font-weight:500;color:var(--muted);font-size:15px;cursor:text}
  .hd-search span{display:inline;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media (min-width:1024px) and (max-width:1199px){
  .hd .wrap{gap:10px;padding:0 24px}
  .hd-search{flex:0 0 44px;min-width:0;padding:0;justify-content:center}
  .hd-search span{display:none}
}
@media (max-width:1023px){.hd{position:relative}}
.hd-news .sm{display:none}
@media (max-width:430px){
  .hd .wrap{gap:8px;padding:0 14px}
  .brand{font-size:17px}
  .hd-news{padding:0 13px;font-size:13.8px}
  .hd-news .lg{display:none}.hd-news .sm{display:inline}
}
@media (max-width:359px){.brand{font-size:16px}.hd-news{display:none}}

/* ---------- buttons, pills, chips ---------- */
.pill{font:inherit;font-size:.92rem;font-weight:600;border:0;border-radius:999px;min-height:44px;padding:0 16px;cursor:pointer;background:var(--mist);color:var(--ink);white-space:nowrap;display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.pill:hover{background:var(--hover)}
.pill[aria-pressed="true"]{background:var(--ink);color:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:inherit;font-weight:600;min-height:48px;padding:0 22px;cursor:pointer;text-decoration:none}
@media (hover:hover){.btn:hover{background:#000}}
.btn.lt{background:var(--mist);color:var(--ink)}
.btn.lt:hover{background:var(--hover)}
.chip{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border:0;border-radius:999px;font:inherit;font-size:.9rem;font-weight:600;color:var(--ink);background:#fff;box-shadow:inset 0 0 0 1px var(--line);cursor:pointer;white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.chip.filt{background:var(--mist);box-shadow:none;padding:0 14px 0 12px}
.chip .n{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;background:var(--ink);color:#fff;font-size:.72rem}
.chips{display:flex;gap:8px;overflow-x:auto;margin:2px -20px 0;padding:2px 20px 6px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}

/* ---------- page grid (home and town pages) ---------- */
.grid{max-width:1440px;margin:0 auto;padding:6px 20px 36px}
.filters{display:none}
.rail{display:flex;flex-direction:column;gap:16px;margin-top:28px}
.center{min-width:0;display:flex;flex-direction:column}
.wide{display:none}

/* the one-line headline: What's happening in [place ⌄] */
.ag-top{padding:14px 0 4px}
.ag-h1{margin:0;display:flex;align-items:baseline;gap:.26em;white-space:nowrap;min-width:0;font-size:var(--h1,26px);font-weight:500;letter-spacing:-.025em;line-height:1.2}
.ag-h1 .w,.ag-h1 .me{flex:none}
.ag-loc{display:inline-flex;align-items:baseline;gap:.12em;min-width:0;border:0;background:none;padding:8px 0;margin:-8px 0;font:inherit;letter-spacing:inherit;color:var(--blue);cursor:pointer}
.ag-loc .lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.16em;padding-bottom:.18em;margin-bottom:-.18em}
.ag-loc svg{flex:none;width:.72em;height:.72em;align-self:center}
.ag-sub{margin:6px 0 0;color:var(--muted);font-size:.98rem}

/* the day strip, pinned while scrolling */
.stick{position:sticky;top:0;z-index:20;background:var(--paper);margin:14px -20px 0;padding:10px 0;transition:box-shadow .15s}
.stick.stuck{box-shadow:0 1px 0 var(--line),0 8px 18px -12px rgba(30,27,24,.25)}
.strip{display:flex;gap:8px;overflow-x:auto;padding:0 20px;scroll-snap-type:x proximity;scrollbar-width:none}
.strip::-webkit-scrollbar{display:none}
.sday{flex:none;width:60px;min-height:76px;border:0;border-radius:20px;background:var(--mist);color:var(--ink);font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;scroll-snap-align:center;padding:6px 0}
.sday .w{font-size:.78rem;font-weight:600;color:var(--muted)}
.sday b{font-size:1.4rem;line-height:1.1;font-weight:600}
.sday .c{font-size:.72rem;font-weight:600;color:var(--muted);min-width:22px;border-radius:999px;padding:1px 6px;background:#fff;text-align:center}
.sday.wk .w{color:var(--ink)}
.sday.none b{color:#7A7167}
.sday.on{background:var(--ink);color:#fff}
.sday.on .w{color:#D3CABB}
.sday.on .c{background:var(--sun);color:var(--ink)}
.sarr{display:none}

/* the day */
.dayh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:16px 0 4px}
.dayh h2{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-.02em}
.dayh span{font-size:.86rem;color:var(--muted);white-space:nowrap}
.grp{margin-top:18px}
.gh{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.gh .ic{width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex:none}
.gh h3{margin:0;font-size:1.05rem;font-weight:600;letter-spacing:-.01em}

/* event cards: time tile, title, where, tags, share */
.row{display:flex;align-items:center;gap:6px;background:var(--mist);border-radius:22px;padding:8px;margin-bottom:8px}
.main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);-webkit-tap-highlight-color:transparent}
.main:active{opacity:.75}
.tm{width:62px;min-height:62px;flex:none;border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;text-align:center}
.tm b{font-size:1.02rem;font-weight:600}
.tm small{font-size:.7rem;font-weight:600;color:var(--muted);margin-top:2px}
.body{min-width:0;display:flex;flex-direction:column;gap:3px;padding:4px 0}
.t{font-size:1rem;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.p{font-size:.86rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tags{display:flex;gap:6px;min-width:0;overflow:hidden}
.tags i{font-style:normal;font-size:.76rem;font-weight:600;border-radius:999px;padding:2px 9px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;flex:none}
.tags i.free{background:var(--free-bg);color:var(--free)}
.tags i.out{background:#FFE3DE;color:#9A2A1A}
.tags i.now{background:var(--ink);color:#fff;display:inline-flex;align-items:center;gap:5px}
.tags i.now::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--sun)}
.tags i.k{flex:0 1 auto;color:var(--muted);display:inline-flex;align-items:center;gap:5px}
.tags i.k .dot{width:7px;height:7px}
.ic-btn{flex:none;width:44px;height:44px;border-radius:999px;border:0;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.ic-btn svg{width:18px;height:18px}
.ic-btn:hover{background:var(--hover)}

.pastbtn{margin-top:18px;width:100%;border:0;background:none;font:inherit;font-size:.88rem;font-weight:600;color:var(--muted);text-decoration:underline;text-underline-offset:3px;min-height:40px;cursor:pointer;text-align:center;padding:0}
.empty{position:relative;overflow:hidden;margin-top:16px;background:var(--mist);border-radius:22px;padding:18px 70px 18px 18px}
.empty p{margin:0 0 12px;font-size:.98rem}
.empty p:last-child{margin:0}
.end{margin:22px 0 4px;text-align:center}
.end p{margin:0 0 12px;color:var(--muted);font-size:.92rem}
.skel span{display:block;height:78px;border-radius:22px;background:var(--mist);margin:10px 0;animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.skel span{animation:none}}
.ongo{margin-top:18px}
.ongo summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;font-weight:600;min-height:44px}
.ongo summary::-webkit-details-marker{display:none}
.ongo summary .ic{width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--mist)}
.ongo summary .more{margin-left:auto;font-size:.86rem;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.ongo[open] summary .more{display:none}
.ongo .rows{margin-top:10px}

/* the "Verify before you go" line at the top of lists */
.vline{display:flex;align-items:center;gap:7px;margin:4px 0 14px;font-size:.84rem;color:var(--muted)}
.vline svg{flex:none;color:#9A7A10}

/* ---------- the wide layout (1024px and up): filters | events | rail ---------- */
.fg{padding:16px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:2px}
.fg>b{font-size:.92rem;margin-bottom:6px}
.ck{display:flex;align-items:center;gap:10px;min-height:36px;font-size:.92rem;cursor:pointer}
.ck input{width:18px;height:18px;margin:0;accent-color:var(--ink);flex:none}
.ck .n{margin-left:auto;font-size:.8rem;color:var(--muted)}
.cal{display:flex;flex-direction:column;gap:8px;padding-bottom:16px}
.cal .ch{display:flex;justify-content:space-between;align-items:center}
.cal .ch b{font-size:.98rem}
.cal .ch span{display:flex;gap:2px}
.cal .ch button{width:34px;height:34px;border:0;background:transparent;border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.cal .ch button:hover{background:var(--mist)}
.cal .g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.cal .g .w{font-size:.72rem;color:var(--muted);text-align:center;padding-bottom:2px}
.cal .g button{position:relative;height:34px;margin:0;border:0;background:transparent;border-radius:10px;font:inherit;font-size:.84rem;line-height:1;color:var(--ink);cursor:pointer;padding:0}
.cal .g button:not([disabled]):hover{background:var(--hover)}
.cal .g button.c-end:hover{background:#000}
.cal .g button.past{color:#9A9187;cursor:default}
.cal .g button.c-in{background:var(--mist);font-weight:600}
.cal .g button.c-end{background:var(--ink);color:#fff;font-weight:600}
.cal .g button.today{box-shadow:inset 0 0 0 1.5px var(--ink)}
.cal .g button i{position:absolute;bottom:3px;left:50%;margin-left:-2.5px;width:5px;height:5px;border-radius:999px;background:var(--coral)}
.fhead{display:none}
.sheetbg{display:none}
.when{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}

/* big-event cards */
.feature{display:grid;grid-template-columns:1fr;gap:12px;margin-top:22px}
.feature:empty{display:none}
.fc{position:relative;overflow:hidden;border-radius:28px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:240px;color:var(--ink)}
.fc.sun{background:var(--sun)}.fc.coral{background:var(--coral)}
.fc .tg{display:flex;gap:6px;flex-wrap:wrap}
.fc .tg span{font-size:.82rem;font-weight:600;border-radius:999px;padding:6px 12px;background:#fff}
.fc .tg span.dk{background:var(--ink);color:#fff}
.fc h3{margin:0 0 6px;font-size:1.9rem;line-height:1.05;font-weight:500}
.fc p{margin:0;font-size:.92rem;line-height:1.4}
.fc .btns{display:flex;gap:8px;flex-wrap:wrap}
.fc .btns a,.fc .btns button{min-height:46px;border-radius:999px;padding:0 20px;display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:.92rem;font-weight:600;text-decoration:none;border:0;cursor:pointer}
.fc .btns a{background:var(--ink);color:#fff}
.fc .btns button{background:rgba(255,255,255,.92);color:var(--ink)}
.fc .btns svg{width:18px;height:18px}

/* the day list on wide screens */
.wday{margin-top:26px}
.wdayh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 2px 8px;border-bottom:1px solid var(--ink)}
.wdayh h2{margin:0;font-size:1.25rem;font-weight:600;letter-spacing:-.02em}
.wdayh span{font-size:.85rem;color:var(--muted)}
.wgh{display:flex;align-items:center;gap:8px;margin:14px 0 0;padding:0 2px 6px 8px;font-size:.84rem;font-weight:600}
.wgh .ic{width:22px;height:22px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex:none}
.wrow{display:grid;grid-template-columns:110px minmax(0,1fr) 140px 44px;column-gap:16px;align-items:start;padding:12px 2px 12px 8px;border-bottom:1px solid var(--line)}
.wgh+.wrow{border-top:1px solid var(--line)}
.wrow .tmw{padding-top:2px;font-size:.9rem;font-weight:600}
.wrow .tmw small{display:block;font-size:.76rem;font-weight:500;color:var(--muted);margin-top:2px;line-height:1.3}
.wrow .what{min-width:0;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:3px}
.wrow .what .t{font-size:1.02rem}
.wrow .what:hover .t{text-decoration:underline;text-underline-offset:3px}
.wrow .meta{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:2px;font-size:.84rem;color:var(--muted)}
.wrow .meta .k{display:inline-flex;align-items:center;gap:6px}
.wrow .cost{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-top:2px}
.wrow .cost b{font-size:.86rem;overflow-wrap:anywhere;line-height:1.3}
.wrow .cost b.free{color:var(--free)}
.wrow .cost i{font-style:normal;font-size:.76rem;font-weight:600;border-radius:999px;padding:2px 9px;box-shadow:inset 0 0 0 1px var(--line)}
.wrow .cost i.now{display:inline-flex;align-items:center;gap:5px;background:var(--ink);color:#fff;box-shadow:none}
.wrow .cost i.now::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--sun)}
.wrow .ic-btn{background:var(--mist)}
.colhead{display:grid;grid-template-columns:110px minmax(0,1fr) 140px 44px;column-gap:16px;padding:22px 2px 0 8px;font-size:.78rem;font-weight:600;color:var(--muted)}
.more{display:flex;justify-content:center;margin-top:18px}

/* rail cards */
.card{background:var(--mist);border-radius:var(--r-card);padding:18px 20px 10px}
.card h2{margin:0;font-size:1.05rem;font-weight:600;letter-spacing:-.01em}
.card .hd2{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:4px}
.card .hd2 a{font-size:.85rem;font-weight:600;color:var(--ink);white-space:nowrap}
.ri{display:flex;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.ri:last-child{border-bottom:0}
.ri .dt{width:44px;height:48px;flex:none;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.ri .dt small{font-size:.7rem;color:var(--muted)}
.ri .dt b{font-size:1.1rem}
.ri .tx{min-width:0;display:flex;flex-direction:column;gap:1px}
.ri .tx b{font-size:.92rem;line-height:1.25}
.ri .tx small{font-size:.78rem;color:var(--muted);line-height:1.3}
.card .none{font-size:.88rem;color:var(--muted);margin:6px 0 12px}

@media (min-width:600px){.feature{grid-template-columns:3fr 2fr}}
@media (min-width:1024px){
  .wide{display:block}
  .phone{display:none!important}
  .grid{display:grid;grid-template-columns:264px minmax(0,1fr) 312px;gap:32px;padding:24px 32px 64px;align-items:start}
  .filters{display:flex;flex-direction:column}
  .rail{margin-top:0}
  .ag-top{padding:0 0 2px;position:relative;padding-right:150px}
  .ag-top::after{content:"";position:absolute;right:6px;top:2px;width:120px;height:60px;background:url("/shared/art/gulls.svg") no-repeat center/contain;pointer-events:none}
  .center{container-type:inline-size;container-name:ctr}
  .pastbtn{width:auto;display:block;margin:12px auto 0}
}
@media (min-width:1024px) and (max-width:1359px){
  .grid{grid-template-columns:248px minmax(0,1fr);grid-template-areas:"f c" "r c";grid-template-rows:auto 1fr;column-gap:32px;row-gap:24px}
  .filters{grid-area:f}.center{grid-area:c}.rail{grid-area:r}
}
/* a narrow middle column: time on top, cost under the title */
@container ctr (max-width:600px){
  .colhead{display:none}
  .wrow{grid-template-columns:minmax(0,1fr) 44px;column-gap:12px}
  .wrow .tmw{grid-column:1;grid-row:1}
  .wrow .what{grid-column:1;grid-row:2}
  .wrow .cost{grid-column:1;grid-row:3;flex-direction:row;align-items:center}
  .wrow .ic-btn{grid-column:2;grid-row:1 / span 3;align-self:center}
  .feature{grid-template-columns:1fr}
}
@media (max-width:1023px){
  .center>.wide,.feature,.when,.colhead,.ag-sub{display:none}
  .grid{max-width:680px}
  .rail .card{display:none}
  /* the filter panel as a sheet */
  body.fopen{overflow:hidden}
  body.fopen .sheetbg{display:block;position:fixed;inset:0;z-index:50;background:rgba(30,27,24,.45)}
  body.fopen .filters{display:flex;flex-direction:column;position:fixed;z-index:55;left:0;right:0;bottom:0;max-height:86vh;overflow:auto;background:var(--paper);border-radius:28px 28px 0 0;padding:12px 20px calc(24px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgba(30,27,24,.2)}
  body.fopen .fhead{display:flex;justify-content:space-between;align-items:center;padding:6px 0 10px}
  .fhead b{font-size:1.2rem}
  .filters .cal{display:none}
}
@media (max-width:380px){
  .grid{padding-left:14px;padding-right:14px}
  .stick{margin-left:-14px;margin-right:-14px}
  .strip{padding:0 14px}
  .chips,.lst .lchips{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .tm{width:56px;min-height:58px}
}

/* ---------- the details card: a sheet from the bottom on phones, centered on wide screens ---------- */
.sbg{position:fixed;inset:0;z-index:60;background:rgba(30,27,24,.45)}
.sheet{position:fixed;z-index:61;left:0;right:0;bottom:0;max-height:88vh;overflow:auto;background:var(--paper);border-radius:28px 28px 0 0;padding:10px 20px calc(22px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgba(30,27,24,.2);transform:translateY(100%);transition:transform .22s ease-out;max-width:680px;margin:0 auto}
.sheet.in{transform:none}
.sheet .grab{display:block;width:40px;height:5px;border-radius:999px;background:var(--line);margin:0 auto 6px}
.sx{position:absolute;top:12px;right:14px;width:44px;height:44px;border:0;border-radius:999px;background:var(--mist);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.kind{display:inline-flex;align-items:center;gap:7px;font-size:.84rem;font-weight:600;background:var(--mist);border-radius:999px;padding:6px 12px 6px 10px;margin-top:8px}
.sheet h2{margin:12px 52px 14px 0;font-size:1.65rem;line-height:1.1}
.fact{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.fact .ic{width:36px;height:36px;flex:none;border-radius:12px;background:var(--mist);display:flex;align-items:center;justify-content:center}
.fact small{display:block;font-size:.76rem;color:var(--muted);font-weight:600}
.fact b{display:block;font-size:.98rem;font-weight:600;line-height:1.35}
.fact .sub{display:block;font-size:.86rem;color:var(--muted);font-weight:500;line-height:1.35;margin-top:1px}
.note{margin:6px 0 0;padding:10px 12px;border-radius:14px;background:#FFF4D2;font-size:.9rem;line-height:1.4}
.blurb{margin:12px 0 0;font-size:.95rem;line-height:1.5}
.acts{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.acts .btn{flex:1;min-height:54px}
.links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;margin-top:12px}
.links a{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.92rem;color:var(--ink);min-height:44px;text-underline-offset:3px}
body.sheeton{overflow:hidden}
.towns{display:flex;flex-direction:column;margin-top:4px}
.towns a,.towns button{display:flex;align-items:center;gap:10px;min-height:52px;border:0;border-top:1px solid var(--line);background:none;text-align:left;text-decoration:none;color:var(--ink);font:inherit;font-weight:600;cursor:pointer;padding:0}
.towns span{flex:1}
.towns small{color:var(--muted);font-weight:500}
.towns [aria-current="true"]{color:var(--blue)}
@media (min-width:1024px){
  .sheet{top:50%;bottom:auto;left:50%;right:auto;width:min(560px,calc(100vw - 48px));max-height:min(86vh,820px);border-radius:28px;padding:16px 28px 26px;margin:0;transform:translate(-50%,-47%);opacity:0;transition:transform .18s ease-out,opacity .18s ease-out}
  .sheet.in{transform:translate(-50%,-50%);opacity:1}
  .sheet .grab{display:none}
  .sx{top:16px;right:18px}
}
@media (prefers-reduced-motion:reduce){.sheet,.sheet.in{transition:none}}

/* ---------- lists: things to do anytime, classes ---------- */
.lst{margin:34px 0 8px}
.lst h2{font-size:1.35rem;font-weight:600;letter-spacing:-.015em;margin:0 0 4px}
.lst .sub{margin:0 0 14px;color:var(--muted);font-size:.92rem}
.lst .lchips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.lst .lchips .pill span{color:var(--muted);font-weight:500}
.lst .lchips .pill[aria-pressed="true"] span{color:inherit;opacity:.75}
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:12px}
.cards li{background:var(--mist);border-radius:22px;padding:16px 18px;display:flex;flex-direction:column;gap:4px}
.cards .k{display:flex;align-items:center;gap:7px;font-size:.8rem;font-weight:600;color:var(--muted)}
.cards .n{font-weight:600;font-size:1.08rem;line-height:1.25;color:var(--ink);text-decoration:none}
.cards a.n:hover{text-decoration:underline;text-underline-offset:3px}
.cards .n span{opacity:.5;font-size:.8em}
.cards .by{font-size:.88rem;font-weight:600}
.cards p{margin:0;font-size:.9rem;line-height:1.45;color:var(--muted)}
.cards .facts{display:flex;flex-direction:column;gap:2px;margin-top:4px;font-size:.84rem;line-height:1.4}
.cards .facts span b{font-weight:600}
.cards .ft{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:10px}
.cards .ft .go{flex:1;justify-content:center;min-height:44px;padding:0 16px;font-size:.9rem}
.cards .ft .ic-btn{background:#fff}
.cards .ft small{font-size:.8rem;color:var(--muted)}
.lmore{display:flex;justify-content:center;margin:16px 0 0}

/* ---------- share, verify and the red flag ---------- */
.sharebig{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;margin:10px 0 0;border:2px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-weight:600;font-size:1rem;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sharebig:hover{background:var(--mist)}
.sharebig svg{width:20px;height:20px;flex:none}
.verify{margin:14px 0 0;padding:12px 14px;border-radius:16px;background:var(--warn-bg);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}
.verify p{margin:0;display:flex;gap:8px;align-items:flex-start;font-size:.88rem;line-height:1.4;color:var(--warn);flex:1 1 220px}
.verify p svg{flex:none;margin-top:1px;color:#9A7A10}
.verify b{color:#3E3208}
.flag{display:inline-flex;align-items:center;gap:6px;border:0;background:#fff;color:var(--red);border-radius:999px;min-height:40px;padding:0 14px;font:inherit;font-weight:600;font-size:.86rem;cursor:pointer;white-space:nowrap}
.flag:hover{background:#FFE9E7}
.flag.ic{padding:0;width:44px;height:44px;justify-content:center}
.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);opacity:0;z-index:7000;background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-weight:600;font-size:.92rem;box-shadow:0 10px 30px rgba(30,27,24,.25);transition:opacity .2s,transform .2s;pointer-events:none;max-width:calc(100vw - 32px);text-align:center}
.toast.on{opacity:1;transform:translate(-50%,0)}
@media (min-width:1024px){.toast{bottom:28px}}
.sharebox{position:fixed;z-index:6500;left:12px;right:12px;bottom:calc(92px + env(safe-area-inset-bottom,0px));max-width:360px;margin:0 auto;background:#fff;border-radius:24px;padding:18px;box-shadow:0 20px 60px rgba(30,27,24,.28);display:flex;flex-direction:column;gap:9px}
@media (min-width:600px){.sharebox{right:auto;width:300px;margin:0}}
.sharebox b{font-size:1.05rem;padding-right:36px}
.sharebox .t{font-size:.86rem;color:var(--muted);margin:-4px 0 4px;padding-right:20px}
.sharebox .alt{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;background:var(--mist);color:var(--ink);font-weight:600;text-decoration:none}
.x{position:absolute;top:10px;right:10px;width:40px;height:40px;border:0;border-radius:999px;background:var(--mist);font-size:1.4rem;line-height:1;cursor:pointer;color:var(--ink)}
.report{position:fixed;inset:0;z-index:6000;background:rgba(30,27,24,.45);display:flex;align-items:flex-end;justify-content:center}
.report .in{position:relative;background:#fff;width:100%;max-width:480px;max-height:92vh;overflow:auto;border-radius:28px 28px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px}
@media (min-width:600px){.report{align-items:center;padding:16px}.report .in{border-radius:28px}}
.report h2{display:flex;align-items:center;gap:8px;font-size:1.25rem;margin:0;padding-right:44px}
.report .t{margin:0;font-weight:600}
.report .t span{font-weight:400;color:var(--muted)}
.report .p{margin:0;font-size:.9rem;color:var(--muted)}
.report fieldset{border:0;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.report .rr{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border-radius:14px;background:var(--mist);cursor:pointer;font-weight:500}
.report .rr:has(input:checked){background:#FFE9E7;box-shadow:inset 0 0 0 2px var(--flag)}
.report .rr input{accent-color:var(--flag);width:18px;height:18px;margin:0}
.report .f{display:flex;flex-direction:column;gap:5px;font-size:.86rem;font-weight:600}
.report .hp{position:absolute;left:-9999px;width:1px;height:1px}
.report .msg{margin:0;font-size:.88rem;min-height:1em}
.report .msg.err{color:var(--red)}
.report .done{margin:6px 0;font-size:1rem}
.rpgo{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:50px;border:0;border-radius:999px;background:var(--flag);color:#fff;font:inherit;font-weight:600;font-size:1rem;cursor:pointer}
.rpgo:hover{background:#C9373C}
.rpgo:disabled{opacity:.6}
body.rpon{overflow:hidden}

/* ---------- forms and the newsletter card ---------- */
input[type=text],input[type=email],input[type=search],input[type=password],select,textarea{font:inherit;font-size:16px;border:1px solid var(--mist);background:var(--mist);border-radius:var(--r-small);color:var(--ink);min-height:48px;padding:10px 14px;width:100%}
textarea{min-height:0}
:is(input,select,textarea):focus{background-color:#fff;border-color:var(--blue);outline:none}
.join{position:relative;overflow:hidden;background:var(--ink);color:#fff;border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:12px}
.join::after{content:"";position:absolute;right:-14px;top:-12px;width:92px;height:92px;background:url("/shared/art/pine.svg") no-repeat center/contain;transform:rotate(8deg);pointer-events:none}
.join h2{margin:0;color:#fff;font-size:1.35rem;padding-right:56px}
.join p{margin:0;font-size:.88rem;line-height:1.45;color:#D3CABB}
.join .row2{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.join input{background:#fff;border-color:#fff;border-radius:12px;min-height:48px}
.join button{border:0;border-radius:999px;background:var(--sun);color:var(--ink);font:inherit;font-weight:600;min-height:48px;padding:0 20px;cursor:pointer}
.join .msg{margin:0;font-size:.88rem;color:#fff}
.join .msg:empty{display:none}
.join .msg.err{color:#FFB4A6}
.join .fine{font-size:.8rem;color:#D3CABB}
.join.done .row2,.join.done .fine{display:none}
@media (max-width:1359px) and (min-width:1024px){.join .row2{grid-template-columns:1fr}}
@keyframes flash{0%{box-shadow:0 0 0 0 rgba(255,200,61,.9)}100%{box-shadow:0 0 0 14px rgba(255,200,61,0)}}
.join.flash{animation:flash .8s ease-out 2}

/* ---------- footer and the phone tab bar ---------- */
footer.ft{position:relative;background:var(--mist);padding:28px 0 32px;font-size:.9rem}
footer.ft{margin-top:24px}
footer.ft::before{content:"";position:absolute;left:0;right:0;top:-22px;height:30px;background:url("/shared/art/waveband.svg") repeat-x left bottom/auto 30px;pointer-events:none}
footer.ft .wrap{position:relative;display:flex;flex-direction:column;gap:8px;padding-right:110px}
footer.ft .wrap::after{content:"";position:absolute;right:24px;top:0;width:76px;height:40px;background:url("/shared/art/gull.svg") no-repeat center/contain;pointer-events:none}
footer.ft a{color:var(--ink)}
footer.ft .nm{font-weight:600;font-size:1rem}
footer.ft .lk{display:flex;flex-wrap:wrap;gap:4px 14px}
footer.ft .sm{color:var(--muted);font-size:.84rem;max-width:70ch}
@media (max-width:600px){footer.ft .wrap{padding-right:76px}footer.ft .wrap::after{right:14px;width:56px;height:30px}}
.tabbar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:25;height:64px;background:var(--ink);border-radius:999px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;box-shadow:0 10px 30px rgba(30,27,24,.25);max-width:560px;margin:0 auto}
.tabbar a{flex:1;height:50px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:7px;color:#D3CABB;text-decoration:none;font-size:.84rem;font-weight:600;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .12s ease,color .12s ease,flex-grow .18s ease,transform .08s ease}
.tabbar a svg{stroke:currentColor;flex:none}
.tabbar a .l{display:none}
.tabbar a[aria-current="page"],.tabbar a.go{flex:1.7;background:#fff;color:var(--ink)}
.tabbar a[aria-current="page"] .l,.tabbar a.go .l{display:inline}
.tabbar.going a[aria-current="page"]:not(.go){flex:1;background:transparent;color:#D3CABB}
.tabbar.going a[aria-current="page"]:not(.go) .l{display:none}
.tabbar a:active{transform:scale(.94)}
@media (max-width:1023px){footer.ft{padding-bottom:calc(36px + 92px + env(safe-area-inset-bottom,0px))}body.notab{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}}
@media (min-width:1024px){.tabbar{display:none}}

/* ---------- search ---------- */
.srch{position:fixed;inset:0;z-index:6200;background:rgba(30,27,24,.45);display:flex;justify-content:center;align-items:flex-start;padding:70px 16px 16px}
.srch .in{position:relative;background:#fff;border-radius:28px;width:100%;max-width:640px;max-height:calc(100vh - 100px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(30,27,24,.25)}
.srch .top{display:flex;gap:8px;align-items:center;padding:14px 14px 10px}
.srch .top input{flex:1}
.srch .res{overflow:auto;padding:0 14px 14px}
.srch .res a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:14px;text-decoration:none;color:var(--ink)}
.srch .res a:hover,.srch .res a:focus{background:var(--mist)}
.srch .res a b{font-weight:600}
.srch .res a small{color:var(--muted);font-size:.84rem}
.srch .res h3{font-size:.8rem;font-weight:600;color:var(--muted);margin:12px 12px 4px}
.srch .res p{color:var(--muted);margin:10px 12px}
@media (max-width:640px){.srch{padding:0}.srch .in{max-width:none;max-height:none;height:100%;border-radius:0}}

/* ---------- simple pages: event page, about, privacy, terms, newsletter, 404 ---------- */
.pg{max-width:760px;margin:0 auto;padding:22px 20px 48px}
.pg h1{font-size:var(--h1,26px);font-weight:500;letter-spacing:-.025em;line-height:1.2;margin:0 0 10px}
.pg h1 em{font-style:normal;color:var(--blue)}
.pg h1+p.lead{font-size:.98rem;line-height:1.5;color:var(--muted);margin:0 0 18px;max-width:62ch}
.pg h2{font-size:1.3rem;font-weight:600;letter-spacing:-.015em;margin:28px 0 8px}
.pg p,.pg li{line-height:1.6}
.pg .card{padding:18px 20px}
.pg .updated{font-size:.84rem;color:var(--muted)}
.back{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;background:var(--mist);color:var(--ink);font-weight:600;font-size:.9rem;text-decoration:none;margin-bottom:14px}
.ev-page .facts{margin-top:6px}
.ev-page .dates{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.ev-page .dates li{background:var(--mist);border-radius:999px;padding:4px 12px;font-size:.88rem;font-weight:600}
@media (min-width:1024px){.pg{padding-top:36px}.pg h1{font-size:46px;line-height:1.15;margin-bottom:12px}}
.pg-art{position:relative}
.pg-art::after{content:"";position:absolute;right:0;top:-8px;width:120px;height:120px;background:no-repeat center/contain;pointer-events:none}
.art-lighthouse::after{background-image:url("/shared/art/lighthouse.svg")}.art-fish::after{background-image:url("/shared/art/fish.svg")}.art-pine::after{background-image:url("/shared/art/pine.svg")}.art-gull::after{background-image:url("/shared/art/gull.svg")}
@media (max-width:700px){.pg-art::after{width:72px;height:72px;top:-4px}}
.pg-art h1{padding-right:130px}
@media (max-width:700px){.pg-art h1{padding-right:80px}}

/* ---------- the cut-outs in empty corners ---------- */
.end p::before{content:"";display:block;width:56px;height:16px;margin:0 auto 8px;background:url("/shared/art/wave.svg") no-repeat center/contain}
.empty::after{content:"";position:absolute;right:8px;top:8px;width:52px;height:52px;background:url("/shared/art/sun.svg") no-repeat center/contain;transform:rotate(14deg);pointer-events:none}

/* ---------- the Anytime and Classes pages ---------- */
.lpage{max-width:1240px;margin:0 auto;padding:22px 20px 48px}
.lpage h1{font-size:var(--h1,26px);font-weight:500;letter-spacing:-.025em;line-height:1.2;margin:0 0 10px}
:is(.lpage,.pg) h1 em{font-style:normal;color:var(--blue)}
.lpage .lead{font-size:.98rem;line-height:1.5;color:var(--muted);margin:0 0 6px;max-width:62ch}
.lpage .lst{margin-top:16px}
@media (min-width:1024px){.lpage{padding:36px 32px 64px}.lpage h1{font-size:46px;line-height:1.15;margin-bottom:12px}.lpage .lead{font-size:1rem}}
@media (max-width:1023px){
  .lst .lchips{flex-wrap:nowrap;overflow-x:auto;margin-left:-20px;margin-right:-20px;padding:0 20px 4px;scrollbar-width:none}
  .lst .lchips::-webkit-scrollbar{display:none}
  .lst .lchips .pill{flex:none}
}
@media (max-width:700px){.lpage .pg-art::after{width:64px;height:64px}.lpage .pg-art h1{padding-right:72px}}
@media (max-width:480px){.acts{flex-direction:column}}
a.ck{color:var(--ink);text-decoration:none;border-radius:8px}
a.ck:hover{color:var(--blue)}
a.ck[aria-current="true"]{color:var(--blue)}

/* ---------- cut-outs scattered through the pages ---------- */
/* one beside each part of the day: the star in the morning, a gull in the afternoon, waves in the evening, a pine for all-day things */
.gh::after,.wgh::after{content:"";margin-left:auto;flex:none;background:no-repeat center/contain;pointer-events:none}
.gh::after{width:40px;height:26px}
.wgh::after{width:30px;height:20px;margin-right:8px}
.g-am::after{background-image:url("/shared/art/sun.svg")}
.g-pm::after{background-image:url("/shared/art/gull.svg")}
.g-ev::after{background-image:url("/shared/art/waves.svg")}
.g-any::after{background-image:url("/shared/art/pine.svg")}
/* waves under the filters, the star on "Big events", the fish on "Classes", the lighthouse by "Things to do anytime" */
.card.c-big{position:relative}
.card.c-big .hd2{padding-right:48px}
.card.c-big::after{content:"";position:absolute;right:14px;top:10px;width:40px;height:40px;background:url("/shared/art/sun.svg") no-repeat center/contain;transform:rotate(-10deg);pointer-events:none}
.card.c-cls::after{content:"";display:block;width:76px;height:40px;margin:2px 0 10px auto;background:url("/shared/art/fish.svg") no-repeat center/contain;pointer-events:none}
#anytime>h2{display:flex;align-items:center;gap:10px}
#anytime>h2::after{content:"";flex:none;width:30px;height:34px;background:url("/shared/art/lighthouse.svg") no-repeat center/contain;pointer-events:none}
@media (max-width:380px){.lst .lchips{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}}
.ag-h1.two{flex-wrap:wrap;row-gap:0}.ag-h1.two .w{flex-basis:100%}
form[data-join] .msg a{color:inherit;font-weight:600;text-decoration:underline}
