/* The skeleton's one stylesheet; light always. */
/* The look (settled 2026-12-01): Outfit, the oat palette, square corners. Everything below reads these tokens. */
:root {
  --surface: #fff; --ok: #2f6b3a;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Outfit", var(--sans); --text: "Outfit", var(--sans); --read: "Outfit", var(--sans); --read-size: 18px; --head-weight: 600; --head-track: -.015em;
  /* Paper-coloured page (Julianna: not a white background); cards stay white on it. */
  --bg: #F6F1E8; --sunk: #EDE5D7; --line: #DDD3C2; --ink: #2B2622; --muted: #6B6259; --accent: #E0563F; --accent-soft: #FBE3DB; --accent-text: #B03A26;
  /* --radius is cards, photos and boxes; --pill is buttons, chips and the search box. */
  --radius: 0px; --pill: 0px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
:root { --wide: 1440px; --gutter: clamp(16px, 3.2vw, 56px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--text); -webkit-text-size-adjust: 100%; }
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.12; margin: 0 0 .4em; text-wrap: balance; }
/* A long unbroken word (or address) wraps instead of pushing the page sideways. */
h1, h2, h3, .strip-title, .post-card-title, .event-row-text, .article, .lcard-text, .meta, .crumbs { overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 6vw, 48px); }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.muted, .meta { color: var(--muted); }
.meta { font-size: 13px; display: block; }
.kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.wordmark { font-family: var(--head); font-size: 26px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; margin: 0; }
.flash { max-width: var(--wide); margin: 12px auto 0; padding: 10px var(--gutter); background: var(--accent-soft); border-radius: var(--radius); }

.page { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 56px; }
.page.after { padding-top: 0; }
.preview-bar { margin: 0; padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; }
.preview-bar a { color: inherit; }
.page-head { margin-bottom: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: var(--pill); background: var(--ink); color: #fff; font: 600 15px var(--text); text-decoration: none; cursor: pointer; }
.btn.ghost { background: none; color: var(--ink); }
.btn.gold { background: var(--accent); border-color: var(--accent); font-size: 19px; font-family: var(--head); font-weight: 700; min-height: 52px; padding: 0 26px; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.linkish { border: 0; background: none; padding: 0; color: var(--muted); font: 13px var(--text); text-decoration: underline; cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.big { min-height: 48px; padding: 0 18px; font-size: 16px; font-family: var(--head); font-weight: 600; }
.chip:hover:not(.on) { border-color: var(--ink); }

.search { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 0 18px; min-height: 52px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill); font-size: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 16px var(--text); color: var(--ink); }
.search:focus-within { border-color: var(--ink); }

/* A stand-in for a photo. */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 3 / 2; padding: 12px; border-radius: var(--radius); color: rgb(42 38 34 / .55); font-size: 13px; text-align: center; }
.ph .icon { font-size: 22px; }
.ph { position: relative; overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.cover { aspect-ratio: 16 / 9; margin: 0 0 24px; }
.ph.map { aspect-ratio: 16 / 7; background: var(--sunk); margin-bottom: 24px; }
.ph.portrait { aspect-ratio: 1; width: 160px; flex: none; border-radius: 50%; }

.hero { padding: 16px 0 8px; }
.hero h1 { max-width: 16ch; }
.hero-dek, .article-dek { font-family: var(--read); font-size: 21px; line-height: 1.35; color: var(--muted); max-width: 44ch; }
.hero.compact { text-align: center; padding: 24px 0 0; }
.hero.compact h1, .hero.compact .hero-dek { max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.band { margin-top: 56px; }
.band.first { margin-top: 8px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.band-head h2 { margin: 0; }
.count { font: 13px var(--text); color: var(--accent-text); font-weight: 600; margin-left: 6px; font-variant-caps: all-small-caps; letter-spacing: .05em; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }

.post-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.post-card-text { display: flex; flex-direction: column; gap: 4px; }
.post-card-title { font-family: var(--head); font-size: 21px; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.post-card:hover .post-card-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.post-card-dek { font-family: var(--read); font-size: calc(var(--read-size) - 1px); line-height: 1.35; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.cards.two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lead { display: grid; gap: 28px; }
@media (min-width: 820px) {
  .lead { grid-template-columns: 1.7fr 1fr; gap: 40px; }
  .lead-side { border-left: 1px solid var(--line); padding-left: 32px; }
  .post-card.wide { flex-direction: row; align-items: center; gap: 32px; }
  .post-card.wide .ph { flex: 1.2; }
  .post-card.wide .post-card-text { flex: 1; }
}

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .guide-tile-text { padding: 40px 12px 12px; } .guide-tile-blurb { display: none; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x proximity; }
.strip, .event-row { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.strip:hover, .event-row:hover { border-color: var(--ink); }
.strip-dot { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; font-size: 20px; }
.strip-title { display: block; font-family: var(--head); font-size: 19px; font-weight: 600; line-height: 1.15; }
.event-list { display: grid; gap: 8px; margin-bottom: 20px; }
.event-row-text { flex: 1; min-width: 0; }
.event-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; white-space: nowrap; }
.badge { padding: 2px 8px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.cost { color: var(--ok); font-weight: 600; }

/* Reading: a post or a guide. */
.article { font-family: var(--read); font-size: var(--read-size); line-height: 1.55; }
.article h1, .article h2, .article h3 { font-family: var(--head); }
.article h1 { margin-bottom: 12px; }
.article h2 { margin-top: 1.6em; font-size: 28px; }
.article > p, .article blockquote { max-width: 62ch; }
/* A paragraph or heading centred in the writing: in the middle of the column, its measure kept. */
.article .centred { text-align: center; }
.article > p.centred { margin-inline: auto; }
.article-dek { max-width: none; font-size: 23px; }
.crumbs { display: flex; align-items: center; gap: 6px; font: 13px var(--text); color: var(--muted); margin-bottom: 14px; }
.byline { display: flex; align-items: center; gap: 10px; font: 14px var(--text); color: var(--muted); margin-bottom: 24px; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font: 700 17px var(--head); }
.caption { font: 13px var(--text); color: var(--muted); margin-top: 8px; }
blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--accent); font-size: 26px; font-style: italic; line-height: 1.3; }
.glance, .toc { margin: 28px 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--text); font-size: 15px; }
.glance h2, .toc h2 { margin: 0 0 10px; font: 600 12px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); }
.glance dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin: 0; }
.glance dt { font-size: 13px; color: var(--muted); }
.glance dd { margin: 0; font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.onward { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); text-decoration: none; font-size: 22px; }
.onward-title { display: block; font-weight: 600; font-size: 22px; line-height: 1.2; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 14px var(--text); color: var(--muted); }
.facts span { display: inline-flex; align-items: center; gap: 4px; }


.footer { margin-top: 24px; border-top: 1px solid var(--line); background: var(--sunk); }
.footer-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 48px; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 44px var(--gutter) 56px; }
.footer-about { max-width: 34ch; }
.footer nav { display: grid; gap: 7px; align-content: start; }
.footer nav b { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer nav a { color: var(--ink); text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
/* The lead photo stays short enough that its headline is on the first screen. */


/* ---- The site's frame (Julianna, 2026-11-30): full width so it reads as a website, not a blog column. ---- */
/* The header, after phoenixwithkids.net: the name centred, a centred main menu with dropdowns, then what's featured. */
.site-head { background: var(--bg); position: relative; z-index: 30; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter); }
.topbar .wordmark { font-size: clamp(21px, 2vw, 26px); line-height: 1; white-space: nowrap; }
.topbar-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-side.end { justify-content: flex-end; }
.tool { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); font-size: 20px; cursor: pointer; list-style: none; }
.tool::-webkit-details-marker { display: none; }
.tool:hover { background: var(--sunk); }
.social-handle { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.studio-link { font-size: 13px; padding: 6px 12px; border: 1px dashed var(--muted); border-radius: var(--pill); color: var(--muted); text-decoration: none; }
.mainnav { display: flex; justify-content: center; gap: 2px; }
.mainnav-item { position: relative; }
.mainnav-item > a { display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.mainnav-item > a .icon { font-size: 14px; opacity: .6; transition: transform .2s; }
.mainnav-item:hover > a, .mainnav-item:focus-within > a { background: var(--sunk); }
.mainnav-item:hover > a .icon, .mainnav-item:focus-within > a .icon { transform: rotate(180deg); }
.mainnav-item > a.on { color: var(--accent-text); }
.menu { position: absolute; top: 100%; left: 50%; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgb(0 0 0 / .14); display: grid; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .16s, transform .16s, visibility .16s; }
/* Two columns read down, so a list in A to Z order reads that way. */
.menu.two { display: block; columns: 2; column-gap: 8px; min-width: 340px; }
.menu.two a { display: block; break-inside: avoid; }
.mainnav-item:hover > .menu, .mainnav-item:focus-within > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { padding: 9px 12px; border-radius: calc(var(--radius) * .6); color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.menu a:hover { background: var(--accent-soft); color: var(--accent-text); }
.subnav { background: var(--accent-soft); border-block: 1px solid var(--line); }
.subnav-in { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 6px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-label { flex: none; margin-right: 8px; padding: 3px 10px; border-radius: var(--pill); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.subnav a:hover { background: var(--surface); }
.subnav a .icon { color: var(--accent-text); }
.subnav-all { font-weight: 700 !important; color: var(--accent-text) !important; }
.drawer { display: none; }
.drawer-in { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; display: grid; padding: 8px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgb(0 0 0 / .14); }
.drawer-in > a, .drawer-in summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 18px var(--head); cursor: pointer; list-style: none; }
.drawer-in summary::-webkit-details-marker { display: none; }
.drawer-in details a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.drawer-in details[open] summary .icon { transform: rotate(180deg); }
/* Too narrow to centre the menu between equal sides: it takes the room between them, a little tighter. */
@media (max-width: 1240px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .mainnav { gap: 0; }
  .mainnav-item > a { padding-inline: 9px; font-size: 15px; }
}
@media (max-width: 1100px) { .studio-link { display: none; } }
@media (max-width: 1020px) {
  .mainnav, .studio-link { display: none; }
  .drawer { display: block; }
  .topbar { grid-template-columns: 1fr auto; padding-block: 6px; }
  .site-head { position: sticky; top: 0; }
  .subnav-in { justify-content: flex-start; }
}

/* The banner: edge to edge, a photo under the words, moving a little: her Photo when there is one, else two stock ones taking turns. */
.banner { position: relative; display: grid; align-items: center; min-height: clamp(480px, 74vh, 760px); overflow: hidden; isolation: isolate; color: #fff; }
.banner-photos { position: absolute; inset: 0; z-index: -2; background: #2b2622; }
.banner-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .66) 0%, rgb(0 0 0 / .4) 45%, rgb(0 0 0 / .08) 100%); }
.banner-slides .banner-photos img { opacity: 0; animation: drift 24s ease-in-out infinite alternate, slide 16s infinite; }
.banner-slides .banner-photos img:nth-child(2) { animation-delay: 0s, 8s; }
.banner-in { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter); }
.banner-in > * { max-width: 640px; animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.banner-in > :nth-child(2) { animation-delay: .08s; } .banner-in > :nth-child(3) { animation-delay: .18s; } .banner-in > :nth-child(4) { animation-delay: .28s; } .banner-in > :nth-child(5) { animation-delay: .38s; }
.banner-kicker { display: inline-block; margin: 0 0 16px; padding: 5px 12px; border-radius: var(--pill); background: rgb(255 255 255 / .18); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.banner-in > h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; margin-bottom: 18px; max-width: 900px; }
.rotator { display: block; height: 1.12em; overflow-y: clip; color: #FFD9A8; }
.rotator-in { display: flex; flex-direction: column; animation: rotate 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.rotator-in span { height: 1.12em; line-height: 1.12; white-space: nowrap; }
.banner-dek { font: 20px/1.4 var(--read); margin-bottom: 22px; color: rgb(255 255 255 / .92); max-width: 46ch; }
.banner .search { border-color: transparent; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.banner-actions { margin: 18px 0 0; }
.sticker { position: absolute; right: clamp(16px, 7vw, 120px); bottom: clamp(24px, 9vh, 90px); display: grid; place-items: center; align-content: center; gap: 2px; width: 148px; height: 148px; padding: 16px; border-radius: 50%; background: var(--accent); color: #fff; text-align: center; text-decoration: none; font: 600 14px/1.2 var(--text); box-shadow: 0 12px 30px rgb(0 0 0 / .3); transform: rotate(-8deg); animation: wobble 5s ease-in-out infinite; }
.sticker b { font: var(--head-weight) 40px/1 var(--head); }
.sticker .icon { font-size: 20px; }
.sticker:hover { animation-play-state: paused; }
@media (max-width: 760px) {
  .banner { min-height: 560px; align-items: end; }
  .banner::after { background: linear-gradient(0deg, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .45) 60%, rgb(0 0 0 / .1) 100%); }
  .banner-in { padding-block: 32px; }
  .sticker { top: 20px; bottom: auto; right: 16px; width: 112px; height: 112px; font-size: 12px; }
  .sticker b { font-size: 28px; }
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
/* Two photos, 8s each, crossfading. */
@keyframes slide { 0% { opacity: 0; } 6%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rotate { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-20%); } 50%, 70% { transform: translateY(-40%); } 75%, 95% { transform: translateY(-60%); } 100% { transform: translateY(-80%); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-3deg) translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .banner-photos img, .banner-in > *, .rotator-in, .sticker { animation: none; }
  .banner-slides .banner-photos img:first-child { opacity: 1; }
}

/* A band that runs edge to edge on its own colour, its contents still on the page's grid. */
.bleed { margin-inline: calc(50% - 50vw); padding: 48px max(var(--gutter), calc(50vw - var(--wide) / 2)); }
.bleed.tint { background: var(--sunk); }
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.city { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 0 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: var(--head-weight) 19px var(--head); }
.city .icon { color: var(--accent-text); font-size: 17px; }
.city:hover { border-color: var(--ink); }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

/* Her Instagram reels: tall cards with a play button, in a row on the front page, a grid on /videos, one inside a post. */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 14px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scroll-snap-type: x proximity; }
.reels.grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); overflow: visible; margin: 0; padding: 0; }
.reel { position: relative; display: flex; align-items: flex-end; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; scroll-snap-align: start; }
.reel { background: #1c1c1a; }
.reel-cover { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.reel .ph { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; }
/* In the corner: her covers carry their title in the middle. */
.reel-play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .92); color: #1c1c1a; font-size: 18px; padding-left: 3px; transition: transform .2s; }
.reel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.reel:hover .reel-play { transform: scale(1.1); }
.reel-text { display: grid; gap: 4px; width: 100%; padding: 48px 14px 14px; background: linear-gradient(to top, rgb(0 0 0 / .8), rgb(0 0 0 / 0)); }
.reel-title { font: 600 16px/1.2 var(--text); }
.reel-handle { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; opacity: .9; }
.video-embed { margin: 0 0 24px; }
.video-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.reel-embed { margin: 28px 0; }
.reel-embed .reel { max-width: 300px; }
.reel-embed figcaption { margin-top: 8px; font: 13px var(--text); color: var(--muted); max-width: 300px; }
@media (min-width: 700px) { .reel-embed { float: right; width: 280px; margin: 6px 0 20px 32px; } }
.article h2 { clear: none; }
/* A Photo in the writing: the column's width at most, whatever size its file is. */
.article figure[data-photo] { margin: 24px 0; max-width: 100%; }
.article figure[data-photo] img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.article figure[data-photo] figcaption { margin-top: 8px; font: 14px var(--text); color: var(--muted); }
/* A YouTube video in the writing: the column's width, or a Short's own shape. */
.article .video { margin: 24px 0; }
.article .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.article .video.short iframe { max-width: 360px; aspect-ratio: 9 / 16; }
/* A table in the writing: room in its cells and after it, and on a phone it scrolls inside its own box, never the page. */
.article table { display: block; max-width: 100%; overflow-x: auto; margin: 20px 0 28px; border-collapse: collapse; font-size: .95em; line-height: 1.4; }
.article th, .article td { padding: 8px 14px; border-bottom: 1px solid var(--line, #0002); text-align: left; vertical-align: top; }
.article th { font-family: var(--text); font-weight: 600; white-space: nowrap; }

/* A post or a guide beside its sidebar, so a reading page still fills the screen. */
.page.with-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.side { display: grid; gap: 16px; align-content: start; font-family: var(--text); }
.side-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-card h2 { font-size: 22px; margin-bottom: 10px; }
.side-card p { font-size: 15px; color: var(--muted); }
.side-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.side-link .icon:first-child { color: var(--accent-text); }
.side-link .icon:last-child { margin-left: auto; opacity: .5; }
.side-reels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-reels .reel-title { font-size: 13px; } .side-reels .reel-handle { display: none; } .side-reels .reel-play { width: 40px; height: 40px; margin: -20px; font-size: 16px; }
@media (min-width: 1000px) { .page.with-side { grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 3vw, 48px); } .page.with-side .article { max-width: 820px; justify-self: end; width: 100%; } .side { position: sticky; top: 20px; } }

.band.me { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding: 40px clamp(20px, 5vw, 72px); border-radius: calc(var(--radius) * 1.4); background: var(--accent-soft); }
.band.me .portrait { width: 200px; }
.band.me > div { flex: 1 1 320px; max-width: 60ch; }
.band.me p { font: var(--read-size)/1.5 var(--read); }

/* Second round (2026-11-30): events in small groups by day, the weekly reel beside them, and what she edits herself. */
.btn.glass { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .7); color: #fff; backdrop-filter: blur(6px); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; align-items: start; }
.day { display: grid; gap: 8px; padding: 18px; border-radius: var(--radius); background: var(--sunk); scroll-margin-top: 120px; }
.day h3 { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 4px; font-size: 24px; }
.day .count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 13px; letter-spacing: 0; }
.after-days { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.weekend-in { display: grid; gap: 20px; align-items: start; }
.weekend-reel { width: min(100%, 340px); margin: 0 auto; }
.weekend-reel iframe { display: block; width: 100%; aspect-ratio: 9 / 17; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 30px rgb(0 0 0 / .12); }
.reel-empty { outline: 2px dashed var(--accent); outline-offset: 4px; }
@media (min-width: 900px) { .weekend-in { grid-template-columns: 340px minmax(0, 1fr); gap: 32px; } .weekend-in .days { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* Her sketch (2026-11-30): the name stacked in the hero, a full-width Christmas map, five reels, three blogs. */
.banner-in > .banner-name { display: grid; max-width: none; margin: 0; font-size: clamp(60px, 10.5vw, 148px); line-height: .92; letter-spacing: -.02em; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.banner:has(.banner-weekend) .banner-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.banner-weekend { max-width: 420px; text-align: right; }
.banner-weekend h2 { margin-bottom: 16px; font-size: clamp(26px, 3vw, 42px); text-shadow: 0 2px 20px rgb(0 0 0 / .6); }
@media (max-width: 760px) { .banner-weekend { text-align: left; } }
.banner-name small { margin: 0 0 .1em .06em; font-size: .34em; font-weight: 500; line-height: 1; letter-spacing: 0; }
.article > .chips { max-width: none; margin-bottom: 18px; }
.banner-credit { position: absolute; right: var(--gutter); bottom: 10px; margin: 0; font-size: 12px; color: rgb(255 255 255 / .85); }
.xmas { padding-top: 44px; background: var(--sunk); }
.xmas-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto 14px; padding: 0 var(--gutter); }
.xmas-head h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); }
.reels.five { grid-auto-columns: minmax(200px, 1fr); }
.reel-weekend { padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; box-shadow: 0 0 0 4px var(--accent); }
.reels.five { padding-block: 6px 12px; }
.reel-flag { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: var(--pill); background: var(--accent); color: #fff; font: 700 13px var(--text); }
.reel-dialog { width: min(400px, calc(100vw - 32px)); padding: 8px; border: 0; border-radius: 18px; background: #fff; }
.reel-dialog::backdrop { background: rgb(20 18 16 / .7); }
.reel-dialog iframe, .reel-embed iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 12px; }

/* A reel we haven't read, in Instagram's player, the same 9:16 card as the others: its 54px bar and its footer cut off, and
   the player's 4:5 box widened until the 9:16 video fills the card (16/9 x 4/5 = 1.422), so its black sides are cut off too. */
.ig { position: relative; scroll-snap-align: start; }
.ig-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); background: #000; }
.ig .ig-frame iframe { position: absolute; top: -54px; left: -21.1%; width: 142.2%; height: calc(100% + 374px); aspect-ratio: auto; border: 0; border-radius: 0; }
.ig-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; color: var(--muted); text-decoration: none; }
.ig-link:hover { color: var(--ink); }
.ig-weekend .ig-frame { box-shadow: 0 0 0 4px var(--accent); }
.ig .reel-flag { z-index: 1; }

/* The listings map (shared/_listing_map): filters, the map edge to edge, a card over its left side. */
.lmap-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 16px; }
.pick { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); font-size: 14px; }
.pick span { color: var(--muted); }
.pick select { min-height: 44px; padding: 0 4px 0 0; border: 0; border-radius: var(--pill); background: none; color: var(--ink); font: 600 15px var(--text); cursor: pointer; }
.pick:focus-within { border-color: var(--ink); }
.pick select { min-width: 92px; }
.when { position: relative; }
.when-open { color: var(--ink); font: 14px var(--text); cursor: pointer; }
.when-open b { min-width: 60px; font: 600 15px var(--text); text-align: left; }
.when-pop { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: min(340px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 44px rgb(0 0 0 / .2); }
.when-pop[hidden] { display: none; }
.when-quick { display: flex; gap: 8px; margin: 0 0 10px; } .when-quick .chip { flex: 1; justify-content: center; font: 600 14px var(--text); cursor: pointer; }
.when-head { display: flex; align-items: center; justify-content: space-between; font: 600 16px var(--head); }
.when-head button, .when-grid button { display: grid; place-items: center; min-width: 0; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); font: 500 15px var(--text); cursor: pointer; }
.when-head button { width: 42px; }
.when-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin: 4px 0 8px; text-align: center; }
.when-grid span { padding: 6px 0; font-size: 12px; color: var(--muted); }
.when-grid button { width: 42px; max-width: 100%; justify-self: center; }
.when-grid button:hover, .when-head button:hover { background: var(--sunk); }
.when-grid button.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.when-grid button.on { background: var(--accent); color: #fff; }
.when-grid button:disabled, .when-head button:disabled { color: var(--muted); opacity: .4; background: none; cursor: default; }
.lmap-count { margin-left: auto; font-weight: 600; }
.lmap-stage { position: relative; height: min(var(--map-height), 78vh); min-height: 480px; overflow: hidden; background: var(--sunk); }
.lmap-stage .lmap-canvas { position: absolute; inset: 0; height: 100%; /* over MapLibre's own position: relative */ font-family: var(--text); }
.lmap-hint, .lmap-empty { position: absolute; left: 50%; bottom: 36px; margin: 0; padding: 10px 18px; transform: translateX(-50%); border-radius: 99px; background: #fff; color: #1c1c1a; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 20px rgb(0 0 0 / .2); pointer-events: none; }
.lmap-empty:not([hidden]) ~ .lmap-hint, .lmap-stage.open .lmap-hint, .lmap-stage:has(.lmap-empty:not([hidden])) .lmap-hint { display: none; }
.lpin { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgb(0 0 0 / .4); cursor: pointer; }
.lpin::before { content: ""; position: absolute; inset: -9px; }
.lpin.many { width: 38px; height: 38px; background: #2b2622; color: #fff; font: 700 15px var(--text); }
.lpin:hover, .lpin:focus-visible { outline: 3px solid rgb(0 0 0 / .25); }
.lcard { position: absolute; z-index: 2; top: 20px; left: max(var(--gutter), calc(50vw - var(--wide) / 2)); width: 340px; max-height: calc(100% - 40px); overflow-y: auto; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 14px 44px rgb(0 0 0 / .28); animation: rise .25s ease both; }
.lcard[hidden] { display: none; }
.lcard .lpic { aspect-ratio: 16 / 9; border-radius: 0; }
.lpic .icon { font-size: 46px; stroke-width: 1.5; } .lpic span { font: 600 15px var(--text); }
.lcard-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #1c1c1a; font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.lcard-text { display: grid; gap: 8px; padding: 18px 20px 16px; }
.lcard-text h3 { margin: 0 0 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 23px; }
.lcard-text p { margin: 0; }
.lcard-fact { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.lcard-fact .icon { margin-top: 3px; color: var(--accent-text); font-size: 16px; }
.lcard-fact span, .lcard-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.lcard-summary { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.lcard-foot { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.lcard-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; font-size: 16px; }
.lcard-pager { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.lcard-pager[hidden] { display: none; }
.lcard-pager button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.lrows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 10px; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 56px; }
.lrows.flush { padding: 0; }
.event-row[hidden] { display: none; }
@media (max-width: 700px) {
  .lmap-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .pick { min-width: 0; padding-left: 14px; gap: 6px; } .pick select { flex: 1; min-width: 0; padding-right: 8px; text-overflow: ellipsis; }
  .when .pick { width: 100%; } .when-open b { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .lmap-count { grid-column: 1 / -1; margin: 0; }
  .lmap-stage { height: 78vh; }
  .lcard { top: auto; bottom: 0; left: 0; right: 0; width: auto; max-height: 72%; border-radius: 18px 18px 0 0; }
  .lcard .lpic { aspect-ratio: 16 / 6; }
}

/* A listing's page. */
.listing .lpic.cover:not(:has(img)) { aspect-ratio: auto; height: 180px; }
.listing .lpic.cover .icon { font-size: 64px; }
.listing-facts dl { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.listing-facts dt { display: flex; align-items: center; gap: 6px; }
.listing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.listing-actions .btn { text-decoration: none; }
.listing-near { clear: both; }
.listing .strip-title { line-height: 1.2; }
/* With a Blog (listings/_blog): its Event's card beside the Post, and a line under the byline that goes to it once the card is below. */
.blog-event { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 15px; scroll-margin-top: 20px; }
.blog-event h2 { font-size: 24px; margin: 4px 0; }
.blog-event-dek { color: var(--muted); margin: 0 0 16px; }
.blog-event .chips { margin: 0 0 18px; }
.blog-event dl { display: grid; gap: 14px; margin: 0; }
.blog-event dt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.blog-event dd { margin: 2px 0 0; font-weight: 600; }
.blog-event .listing-actions { margin: 18px 0 8px; }
.blog-event .meta { font-size: 13px; }
.blog-event-line { display: none; }
@media (max-width: 999px) {
  .article > .blog-event-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; max-width: none; margin: -8px 0 20px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font: 14px var(--text); }
  .blog-event-line a { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-weight: 600; color: var(--accent-text); }
}

body { padding-bottom: 76px; }

/* What visitors see while the site is hidden. */
body:has(.landing) { padding: 0; }
.landing { display: grid; place-items: center; min-height: 100svh; padding: 16px var(--gutter); text-align: center; }
.landing-in { max-width: 560px; }
.landing img { display: block; width: min(112px, 18svh); height: auto; margin: 0 auto min(20px, 2svh); border-radius: 50%; }
.landing h1 { font-size: clamp(30px, min(9vw, 9svh), 68px); }
.landing-dek { margin: 0; font: clamp(16px, 3.4svh, 21px)/1.4 var(--read); color: var(--muted); text-wrap: balance; }
.landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: min(24px, 3svh) 0 0; }

/* The pencil only the two who run the site see, on an Event's or Place's page (listings/show). */
.edit-pencil { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: .85em; }

/* The Calendar of Christmas Events (pages/calendar), after the family app's season calendar: three month grids of day
   cards, a day's list in a sheet from the right. Under 760px the marks are dots, and List shows one month with the day under. */
.cal-dot { display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; }
/* A heading's last words that are a menu (shared/_heading_pick): the Calendar's, a City's. In the heading's own type,
   underlined so it reads as a choice. */
.heading-pick-title { position: relative; }
.heading-pick { display: inline; padding: 0; border: 0; background: none; color: var(--accent-text); font: inherit; letter-spacing: inherit; text-align: left; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); cursor: pointer; }
.heading-pick:hover { text-decoration-color: currentColor; }
.heading-pick .icon { width: .62em; height: .62em; margin-left: .12em; vertical-align: .02em; stroke-width: 2.5; transition: transform .2s; }
.heading-pick[aria-expanded=true] .icon { transform: rotate(180deg); }
.heading-pick-menu { position: absolute; z-index: 25; display: grid; width: max-content; min-width: 240px; max-width: calc(100vw - 2 * var(--gutter)); max-height: min(80vh, 640px); overflow-y: auto; margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgb(0 0 0 / .14); }
.heading-pick-menu[hidden] { display: none; }
.heading-pick-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 12px; border-radius: calc(var(--radius) * .6); color: var(--ink); font-size: 16px; text-decoration: none; }
.heading-pick-menu a:hover, .heading-pick-menu a:focus-visible { background: var(--accent-soft); color: var(--accent-text); }
.heading-pick-menu a[aria-current] { font-weight: 700; color: var(--accent-text); }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 18px; }
.cal-key { margin: 0; font-size: 13px; color: var(--muted); }
.cal-key .cal-mark { display: inline-block; margin-right: 2px; }
.cal-key-tap { flex-basis: 100%; margin: 0; font-size: 17px; font-weight: 600; }
.cal-switch { display: none; margin: 0; padding: 3px; border-radius: var(--pill); background: var(--sunk); }
.cal-switch button { min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--pill); background: none; color: var(--ink); font: 600 14px var(--text); cursor: pointer; }
.cal-switch button[aria-pressed=true] { background: var(--ink); color: #fff; }
.cal-none { padding: 16px 18px; border-radius: var(--radius); background: var(--sunk); }
.cal { display: grid; gap: 40px; }
.cal-month { scroll-margin-top: 16px; }
/* One month at a time: its name large and centred, round back and forward buttons either side (off at the season's ends). */
.cal-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 0 0 14px; }
.cal-nav h2 { min-width: 9.5em; margin: 0; text-align: center; font-size: clamp(28px, 3.4vw, 44px); }
.cal-step { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 20px; cursor: pointer; }
.cal-step:hover:not(:disabled) { border-color: var(--ink); }
.cal-step:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.cal-wd { padding: 0 0 2px 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cal-day { min-height: 112px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .06); overflow: hidden; }
.cal-day.quiet { background: rgb(255 255 255 / .45); box-shadow: none; }
.cal-day.past { opacity: .55; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--accent); opacity: 1; }
.cal-open { display: grid; grid-template-rows: auto 1fr auto; width: 100%; height: 100%; min-height: inherit; padding: 8px 7px 6px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cal-open:hover { background: var(--accent-soft); }
.cal-num { font: 600 15px/1 var(--text); }
.cal-day.today .cal-num { display: inline-grid; place-items: center; width: 24px; height: 24px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); color: #fff; }
.cal-marks { display: grid; align-content: start; gap: 3px; min-width: 0; margin-top: 6px; }
.cal-mark { display: block; padding: 1px 6px; border-radius: 5px; background: var(--sunk); color: var(--ink); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-mark.special { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.cal-mark.opens, .cal-mark.last { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.cal-mark.more { background: none; padding-left: 2px; color: var(--muted); }
.cal-count { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cal-kinds { display: flex; padding-right: 6px; }
.cal-kind { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-right: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); font-size: 13px; }
.cal-kind .icon { stroke-width: 2.2; }
.cal-kind.more { background: var(--sunk); color: var(--muted); font-size: 10.5px; font-weight: 700; }
.cal-n { font-size: 12px; font-weight: 700; color: var(--muted); }
/* A day's list: in the sheet, or under the month. */
.cal-sheet { margin: 0 0 0 auto; width: min(460px, 100vw); height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0; overflow-y: auto; background: var(--surface); color: var(--ink); box-shadow: -12px 0 40px rgb(0 0 0 / .25); }
.cal-sheet[open] { animation: sheet-right .22s ease-out; }
.cal-sheet::backdrop { background: rgb(42 38 34 / .4); }
html:has(.cal-sheet[open]) { overflow: hidden; }
@keyframes sheet-right { from { transform: translateX(48px); opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .cal-sheet[open] { animation: none; } }
.cal-sheet-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; }
.cal-sheet-body { display: grid; gap: 8px; padding: 24px 22px 32px; }
.cal-sheet-body h2 { margin: 0 0 8px; padding-right: 48px; font-size: 28px; }
.cal-sheet-body .kicker { margin: 0; }
.cal-rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cal-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: var(--radius); background: var(--sunk); color: var(--ink); text-decoration: none; }
.cal-row:hover { background: var(--accent-soft); }
.cal-row.special { box-shadow: inset 0 0 0 2px var(--accent-soft); background: var(--surface); }
.cal-row-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; font-size: 20px; }
.cal-row-text { display: grid; min-width: 0; }
.cal-row-text strong { font: var(--head-weight) 17px/1.2 var(--head); overflow-wrap: anywhere; }
.cal-row-text small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-maybe { justify-self: start; margin-top: 3px; padding: 0 8px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 600; }
.cal-agenda { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.cal-agenda:empty { display: none; }
.cal-agenda-day { margin: 0; font-size: 22px; }
@media (max-width: 759px) {
  .cal-key-tap { display: none; }
  .cal-switch { display: inline-flex; }
  .cal-grid { gap: 3px; }
  .cal-wd { padding-left: 4px; font-size: 11px; letter-spacing: .04em; }
  .cal-day { min-height: 60px; border-radius: 8px; }
  .cal-open { padding: 5px 4px; }
  .cal-num { font-size: 13px; }
  .cal-day.today .cal-num { width: 22px; height: 22px; margin: -3px 0 0 -3px; }
  /* Marks are dots here; the day's list has the names. */
  .cal-marks { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
  .cal-mark { width: 8px; height: 8px; padding: 0; border-radius: 50%; font-size: 0; background: var(--ink) !important; }
  .cal-mark.special { background: var(--accent) !important; }
  .cal-mark.opens, .cal-mark.last { background: var(--line) !important; box-shadow: none; }
  .cal-mark.more, .cal-count { display: none; }
  .cal-key .cal-mark { width: auto; height: auto; padding: 1px 6px; border-radius: 5px; font-size: 12px; }
  .cal-key .cal-mark.on { background: var(--sunk) !important; } .cal-key .cal-mark.special { background: var(--accent-soft) !important; } .cal-key .cal-mark.opens, .cal-key .cal-mark.last { background: none !important; box-shadow: inset 0 0 0 1px var(--line); }
  /* Grid opens a day as a sheet from the bottom. */
  .cal-sheet { margin: auto 0 0; width: 100%; height: auto; max-height: calc(100dvh - 48px); border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgb(0 0 0 / .25); overscroll-behavior: contain; }
  .cal-sheet[open] { animation: sheet-up .28s cubic-bezier(.2, .8, .2, 1); }
  /* List: one month at a time, a day a number over dots, its list under. */
  .cal-list { gap: 14px; }
  .cal-nav { gap: 10px; justify-content: space-between; }
  .cal-nav h2 { min-width: 0; font-size: 26px; }
  .cal-list .cal-day { min-height: 50px; background: none; box-shadow: none; }
  .cal-list .cal-day.today { box-shadow: inset 0 0 0 2px var(--accent); }
  .cal-list .cal-day.picked { background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / .12); opacity: 1; }
  .cal-list .cal-day.today.picked { box-shadow: inset 0 0 0 2px var(--accent), 0 1px 3px rgb(0 0 0 / .12); }
  .cal-list .cal-open { grid-template-rows: auto auto; justify-items: center; align-content: start; padding: 7px 2px 5px; }
  .cal-list .cal-marks { justify-content: center; }
  .cal-list .cal-day.today .cal-num { margin: -3px 0 0; }
  .cal-list .cal-mark { width: 6px; height: 6px; }
}
/* The calendar's Cities: one row that scrolls sideways on a phone, inside the page. */
@media (max-width: 760px) {
  .cal-cities { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .cal-cities .chip { flex: none; }
}
