/* A Hub's homepage as the front page of a town (town.js). Only on html.town (a Hub); every other kind of community site
   keeps its own homepage. Warm paper, thin rules, the site's serif for headlines, real photos, the owner's accent used
   sparingly. No heavy outlines, no hard shadows. The site's own colors, fonts and Admin, Your homepage choices still apply. */

/* The old homepage parts a Hub no longer shows (they stay in the page for the other kinds) */
html.town main > .now, html.town main > .doors, html.town main > .partner, html.town main > .watch, html.town #hero .art { display: none !important; }

/* ---------- the masthead */
html.town #hero { background: var(--ground); border-bottom: 0; display: flex; flex-direction: column; }
html.town #hero .inner { grid-template-columns: minmax(0, 1fr); padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(28px, 4vw, 44px); gap: 0; }
html.town #hero .copy { gap: 16px; max-width: 980px; }
html.town .tw-dateline { order: -2; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); font-size: 15px; font-weight: 500; color: var(--cream-2); letter-spacing: .01em; }
html.town #hero h1 { order: -1; letter-spacing: -0.03em; margin-top: 8px; }
/* The owner's own headline size (Admin, Your homepage) wins over the masthead's big one. */
html.town #hero:not([class*="hxs-si-"]) h1 { font-size: clamp(56px, 10vw, 132px); line-height: .9; }
html.town #hero .kicker { order: 0; align-self: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: var(--cream); }
html.town #hero .kicker::before { display: none; }
html.town #hero p[data-site-about] { order: 1; max-width: 40em; font-size: clamp(17px, 1.4vw, 19px); }
html.town #hero .actions { order: 2; }
/* The homepage photo: a wide front-page picture under the words, not a dark wash behind them */
html.town #hero.with-photo:not(.hero-l-cover) .hero-photo { position: relative; inset: auto; order: 3; width: min(1132px, 100% - 48px); margin: 0 auto clamp(32px, 5vw, 56px);
  aspect-ratio: 21 / 8; border-radius: 16px; overflow: hidden; }
html.town #hero.with-photo:not(.hero-l-cover) .hero-photo::after { display: none; }
html.town #hero.with-photo:not(.hero-l-cover) .inner { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(24px, 3vw, 36px); }
html.town #hero.with-photo:not(.hero-l-cover) p, html.town #hero.with-photo:not(.hero-l-cover):not([class*="hxs-co-"]) h1 { color: var(--cream); }
html.town #hero.with-photo:not(.hero-l-cover) p[data-site-about] { color: var(--cream-2); }
html.town #hero.with-photo:not(.hero-l-cover) .kicker { color: var(--cream); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.town #hero.with-photo:not(.hero-l-cover) .btn-ghost { color: var(--cream); }
html.town #hero.hero-l-cover .tw-dateline { color: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .35); }
@media (max-width: 640px) { html.town #hero.with-photo:not(.hero-l-cover) .hero-photo { aspect-ratio: 4 / 3; border-radius: 12px; } }

/* ---------- shared: section heads, links, quiet parts */
html.town :is(.town-today, .town-around, .town-guide) { padding: clamp(36px, 5vw, 64px) 0; }
html.town .town-around, html.town .town-guide { border-top: 1px solid var(--line); }
.tw-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.tw-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.tw-go { font-weight: 600; font-size: 15.5px; color: var(--amber); text-decoration: none; white-space: nowrap; }
.tw-go:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--amber); }
.tw-sub { margin: -10px 0 22px; color: var(--muted); font-size: 17px; }
.tw-quiet { color: var(--cream-2); margin: 0; }
.tw-quiet p { margin: 0 0 6px; }
.tw-prompt { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--cream); }

/* ---------- Today */
.tw-welcome { margin: 0 0 22px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 8%, var(--panel)); color: var(--cream); }
.tw-today { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: clamp(22px, 3.4vw, 44px); align-items: start; }
.tw-front { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tw-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* A round badge in the site's own color, for icons */
.tw-badge { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--amber) 14%, var(--panel)); color: var(--amber); }
.tw-badge.sm { width: 30px; height: 30px; }
.tw-badge.sm .tw-ico { width: 17px; height: 17px; }
.tw-kicker { margin: 0; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; color: var(--amber); letter-spacing: .02em; }
.tw-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 55%, transparent); animation: tw-pulse 2.4s ease-out infinite; }
@keyframes tw-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.tw-lede { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -0.01em; color: var(--cream); max-width: 26em; }
.tw-note { margin: 0; padding: 12px 16px; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 7%, transparent); border-radius: 0 10px 10px 0; color: var(--cream); font-size: 16.5px; }

/* Weather alert ribbon */
.tw-alertbar { display: flex; gap: 12px; align-items: flex-start; margin: -4px 0 22px; padding: 14px 18px; border-radius: 14px;
  background: color-mix(in srgb, var(--red) 11%, var(--panel)); color: var(--cream); border: 1px solid color-mix(in srgb, var(--red) 28%, transparent); }
.tw-alertbar > .tw-ico { color: var(--red); margin-top: 1px; }
.tw-alertbar p { margin: 0; font-size: 15.5px; line-height: 1.45; }
.tw-alertbar p + p { margin-top: 4px; }
.tw-alertbar a { color: var(--red); font-weight: 600; }

/* Weather cards */
.tw-wx { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tw-wx-card { position: relative; overflow: hidden; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(150deg, color-mix(in srgb, var(--wx, var(--amber)) 16%, var(--panel)), var(--panel) 70%); transition: transform .2s ease; }
.tw-wx-card:hover { transform: translateY(-2px); }
.tw-wx-card.is-sun, .tw-wx-card.is-partsun { --wx: #f2a93b; }
.tw-wx-card.is-cloud, .tw-wx-card.is-fog { --wx: #8a97a8; }
.tw-wx-card.is-rain, .tw-wx-card.is-storm { --wx: #4a86c5; }
.tw-wx-card.is-snow { --wx: #8fc3e8; }
.tw-wx-card.is-moon { --wx: #7b78c9; }
.tw-wx-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tw-wx-top b { font-weight: 600; font-size: 15px; color: var(--cream); }
.tw-wx-ico { width: 34px; height: 34px; color: var(--wx, var(--amber)); stroke-width: 1.6; }
.tw-wx-temp { margin: 6px 0 2px; display: flex; flex-direction: column; }
.tw-wx-temp span { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--cream); letter-spacing: -0.02em; }
.tw-wx-temp small { color: var(--cream-2); font-size: 14px; margin-top: 4px; }
.tw-wx-hl { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--cream-2); }
.tw-wx-hl > span { padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--cream) 7%, transparent); }
.tw-chip { display: inline-flex; align-items: center; gap: 4px; color: #2f6fb0; background: color-mix(in srgb, #4a86c5 14%, transparent) !important; }
.tw-chip .tw-ico { width: 14px; height: 14px; }

/* The day's numbers */
.tw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.tw-tile { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.tw-tile-t { display: flex; flex-direction: column; min-width: 0; }
.tw-tile-t small { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; overflow-wrap: anywhere; }
.tw-tile-t b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--cream); margin-top: 2px; }
.tw-tile-t span { font-size: 13.5px; color: var(--cream-2); line-height: 1.35; margin-top: 3px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tw-wx-detail { margin: 10px 0 0; font-size: 14px; color: var(--cream-2); }
.tw-tile.is-hi { background: color-mix(in srgb, var(--amber) 9%, var(--panel)); border-color: color-mix(in srgb, var(--amber) 28%, transparent); }
.tw-tile.is-hi .tw-tile-t b { color: var(--amber); }
.tw-tile.is-ok .tw-badge { background: color-mix(in srgb, var(--green) 16%, var(--panel)); color: var(--green); }
.tw-tile.is-warn { background: color-mix(in srgb, var(--red) 9%, var(--panel)); border-color: color-mix(in srgb, var(--red) 30%, transparent); }
.tw-tile.is-warn .tw-badge { background: color-mix(in srgb, var(--red) 16%, var(--panel)); color: var(--red); }
.tw-tile.is-warn .tw-tile-t b { color: var(--red); }
.tw-moonpic .tw-moon-dark { fill: color-mix(in srgb, var(--cream) 14%, transparent); stroke: currentColor; stroke-width: 1.2; }
.tw-moonpic .tw-moon-lit { fill: currentColor; stroke: none; }

/* Panels: headlines, what's on, what people are talking about */
.tw-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tw-panels.one { grid-template-columns: 1fr; }
.tw-panels > .tw-panel:nth-child(3):last-child { grid-column: 1 / -1; }
.tw-panel { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.tw-panel h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.1; color: var(--cream); }
.tw-panel > .tw-go { margin-top: auto; font-size: 14.5px; }
.tw-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tw-news li { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-top: 1px solid var(--line); }
.tw-news li:first-child { border-top: 0; padding-top: 0; }
.tw-news a { color: var(--cream); font-weight: 600; font-size: 15.5px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.tw-news a:hover { color: var(--amber); }
.tw-news small { color: var(--muted); font-size: 13px; }
.tw-src { display: inline-block; padding: 1px 8px; border-radius: 99px; font-weight: 600; color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.tw-evs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tw-evs li { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tw-evs li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tw-evs a { color: var(--cream); font-weight: 600; font-size: 15.5px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.tw-evs a:hover { color: var(--amber); }
.tw-evs small { color: var(--muted); font-size: 13px; }
.tw-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 54px; min-height: 58px; flex: none; border-radius: 12px;
  background: color-mix(in srgb, var(--amber) 10%, var(--panel)); color: var(--cream); line-height: 1.05; }
.tw-date small { font-size: 11px; font-weight: 600; color: var(--muted); }
.tw-date b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.tw-date.is-now { background: var(--amber); color: var(--on-accent); }
.tw-date.is-now small { color: var(--on-accent); opacity: .9; }

/* The side: email, on this day, word of the day, handy links */
.tw-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tw-mail { padding: 22px; border-radius: 18px; background: color-mix(in srgb, var(--blue) 9%, var(--panel)); display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.tw-mail .tw-badge { background: color-mix(in srgb, var(--amber) 14%, var(--panel)); color: var(--amber); }
.tw-mail h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; }
.tw-mail p { margin: 0 0 4px; color: var(--cream-2); font-size: 15.5px; }
.tw-card { padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.tw-card-k { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--amber); letter-spacing: .02em; }
.tw-card-k .tw-ico { width: 17px; height: 17px; }
.tw-year { margin: 2px 0 0; font-family: var(--serif); font-size: 52px; line-height: .95; color: var(--amber); letter-spacing: -0.02em; }
.tw-card-t { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--cream); }
.tw-card-b { margin: 0; color: var(--cream-2); font-size: 15px; line-height: 1.45; }
.tw-onthis { background: linear-gradient(160deg, color-mix(in srgb, var(--amber) 10%, var(--panel)), var(--panel) 65%); }
.tw-handy { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tw-handy a { display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--cream);
  background: color-mix(in srgb, var(--cream) 6%, transparent); border: 1px solid var(--line); }
.tw-handy a:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 640px) {
  .tw-panels { grid-template-columns: 1fr; }
  .tw-wx { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .tw-wx-temp span { font-size: 40px; }
  .tw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tw-tile { flex-direction: column; gap: 8px; padding: 13px 14px; }
  .tw-tile .tw-badge { width: 34px; height: 34px; }
  .tw-tile .tw-badge .tw-ico { width: 19px; height: 19px; }
  .tw-tile-t b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .tw-dot { animation: none; } .tw-wx-card { transition: none; } .tw-wx-card:hover { transform: none; } }

/* ---------- Around town: three columns, like the inside of a newspaper */
.tw-party { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 18px; margin-bottom: 26px; border-radius: 12px; background: var(--panel); }
.tw-party[hidden] { display: none; }
.tw-party b { font-weight: 650; font-size: 17px; }
.tw-party > span:not(.tw-live):not(.tw-soon) { color: var(--muted); }
.tw-party .tw-go { margin-left: auto; }
.tw-live, .tw-soon { font-weight: 700; font-size: 13px; padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--red); }
.tw-soon { background: var(--blue); }
.tw-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.tw-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 0 clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.tw-col:first-child { padding-left: 0; border-left: 0; }
.tw-col:last-child { padding-right: 0; }
.tw-col h3 { margin: 0; font-weight: 650; font-size: 15px; letter-spacing: .02em; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--cream); }
.tw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tw-list li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tw-list li:first-child { padding-top: 2px; }
.tw-list a { color: var(--cream); font-weight: 600; font-size: 17px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.tw-list a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--cream); }
.tw-list small { color: var(--muted); font-size: 14px; }
.tw-when { color: var(--amber) !important; font-weight: 600; }
.tw-chat span { font-size: 16px; line-height: 1.4; color: var(--cream); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tw-col > .tw-go { margin-top: auto; }
@media (max-width: 860px) {
  .tw-today { grid-template-columns: 1fr; }
  .tw-cols { grid-template-columns: 1fr; gap: 34px; }
  .tw-col { padding: 0; border-left: 0; }
}

/* ---------- the Local Guide */
.tw-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 22px; }
.tw-place { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--cream); min-width: 0; }
.tw-place:hover { color: var(--cream); }
.tw-pic { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--amber) 10%, var(--panel)); }
.tw-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tw-place:hover .tw-pic img { transform: scale(1.03); }
.tw-mono { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 64px; color: var(--amber); }
.tw-place-t { display: flex; flex-direction: column; gap: 3px; }
.tw-place-t b { font-weight: 650; font-size: 18px; line-height: 1.25; }
.tw-place-t small { color: var(--muted); font-size: 14px; }
.tw-desc { color: var(--cream-2); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tw-vouch { color: var(--green) !important; font-weight: 600; }
.tw-creator { margin-top: 28px; display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--cream); padding: 14px; border-radius: 14px; background: var(--panel); max-width: 520px; }
.tw-creator .tw-pic { flex: none; width: 76px; aspect-ratio: 1; border-radius: 50%; }
.tw-creator .tw-mono { font-size: 34px; }
.tw-creator > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tw-creator b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; }
.tw-creator small { color: var(--muted); font-size: 14px; }
.tw-biz { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.tw-biz a { color: var(--cream); font-weight: 600; text-underline-offset: 3px; }

/* ---------- the email band and the join band, quieter */
html.town main > .mail-sec { padding-top: clamp(20px, 3vw, 36px); }
html.town .join .box { background: color-mix(in srgb, var(--blue) 10%, var(--panel)); color: var(--cream); border-radius: 18px; }
html.town .join h2, html.town .join p { color: var(--cream); }
html.town .join .btn { background: var(--amber); color: var(--on-accent); }
html.town .join .btn:hover { color: var(--on-accent); }

@media (prefers-reduced-motion: reduce) { .tw-pic img { transition: none; } }

/* one measure for the whole page: the masthead, the photo and every part line up */
html.town #hero .inner, html.town :is(.town-today, .town-around, .town-guide) > .wrap { max-width: 1180px; }
html.town #hero .inner { justify-items: start; width: 100%; box-sizing: border-box; }
html.town #hero .copy { margin: 0; }
/* Today has its own Get it every morning, so the second email band stays off a Hub's homepage */
html.town main > .mail-sec { display: none; }
@media (max-width: 640px) {
  .tw-places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .tw-place-t b { font-size: 16px; }
  .tw-desc { display: none; }
  .tw-head h2 { font-size: 40px; }
}

/* A part centered in Admin, Your homepage */
:root .sx.sxs-al-center .tw-head { flex-direction: column; align-items: center; text-align: center; }

/* ---------- the masthead's right side (town.js drawSide): Today at a glance, or the banner photo. Classic layout only. */
html.town #hero .inner { align-items: start; }
html.town #hero .tw-side { display: none; }
@media (min-width: 900px) {
  html.town #hero:not(.hero-l-centered):not(.hero-l-cover):not(.hero-l-quiet) .inner { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); column-gap: clamp(32px, 5vw, 72px); }
  html.town #hero:not(.hero-l-centered):not(.hero-l-cover):not(.hero-l-quiet) .tw-side { display: block; align-self: end; }
  html.town #hero:not(.hero-l-centered):not(.hero-l-cover):not(.hero-l-quiet):not([class*="hxs-si-"]) h1 { font-size: clamp(56px, 7.4vw, 112px); }
  html.town #hero.tw-side-photo:not(.hero-l-centered):not(.hero-l-cover):not(.hero-l-quiet) .hero-photo { display: none; }
}
.tw-glance { padding: 22px 24px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.tw-glance-h { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--cream); }
.tw-glance-w { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tw-glance-t { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--cream); }
.tw-glance-w b { display: block; font-size: 16px; color: var(--cream); }
.tw-glance-w small { display: block; font-size: 13.5px; color: var(--muted); }
.tw-glance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tw-glance-list li { display: grid; gap: 2px; }
.tw-glance-list small { font-size: 12.5px; font-weight: 600; color: var(--amber); }
.tw-glance-list a { color: var(--cream); text-decoration: none; font-size: 15.5px; line-height: 1.35; }
.tw-glance-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tw-glance .tw-go { margin-top: 2px; }
.tw-side-pic { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel-2); }
.tw-side-pic :is(img, picture) { width: 100%; height: 100%; object-fit: cover; display: block; }
/* On a moving background, the glance card stays a card */
html.town #hero.hbg-dark .tw-glance { background: rgba(14, 17, 24, .55); border-color: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html.town #hero.hbg-light .tw-glance { background: rgba(255, 253, 248, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tw-side-pic .photo-slot { height: 100%; }

/* Centered (the layout, or Words: Centered): the whole column sits in the middle, not just its lines (Sean, 2026-10-28) */
html.town #hero:is(.hero-l-centered, .hxn-center) .inner { justify-items: center; text-align: center; }
html.town #hero:is(.hero-l-centered, .hxn-center) .copy { align-items: center; margin-inline: auto; }
html.town #hero:is(.hero-l-centered, .hxn-center) .actions { justify-content: center; }
html.town #hero:is(.hero-l-centered, .hxn-center) p[data-site-about] { margin-inline: auto; }
/* Full photo: the italic line under the name is white like the rest */
html.town #hero.hero-l-cover .kicker { color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
