/* =====================================================================
   Logan Downtowners
   Built to match the email pack: warm grey page, white rounded cards,
   navy headings and buttons, grey uppercase eyebrows, system font, and
   Kaushan Script for the wordmark only.
   ===================================================================== */

:root {
  --page:    #eeece7;   /* email background */
  --card:    #ffffff;
  --text:    #333333;
  --navy:    #1b3a5c;   /* headings, buttons */
  --navy-2:  #2a5480;   /* button hover */
  --muted:   #6b6b6b;   /* email uses #8a8a8a; darkened to pass AA on white and on the page */
  --line:    #dcd9d1;
  --orange:  #d97b1f;   /* accent rules only, too light for text */
  --rust:    #8a4a10;   /* orange text (the October / sneak peek heads) */
  --sky:     #d6e4f0;   /* light text on navy */
  --sky-2:   #a9c6e0;
  --radius:  8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 6px; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* ---------- site header: logo left, nav right, one slim bar ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 10px rgba(27,58,92,.12);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.logo img { height: 44px; width: auto; display: block; }   /* the designer's logo, via config.js */
.logo-text { font-family: var(--script); font-size: 28px; line-height: 1; color: #fff; white-space: nowrap; }
.logo:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--sky);
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: #fff; box-shadow: inset 0 -3px 0 var(--orange); border-radius: 6px 6px 0 0; }
.nav a:focus-visible { outline: 3px solid var(--orange); outline-offset: 0; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(214,228,240,.5); border-radius: 6px;
  color: #fff; font: 700 14px/1 var(--font);
  padding: 9px 14px; cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* phones and small tablets: the nav folds behind the Menu button */
@media (max-width: 820px) {
  .site-header .bar { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo-text { font-size: 24px; }
  .logo img { height: 36px; }
  .nav-toggle { display: block; }
  .nav { flex-basis: 100%; display: none; padding-bottom: 2px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 12px 4px; border-radius: 0; border-top: 1px solid rgba(214,228,240,.15); }
  .nav a.active { box-shadow: inset 3px 0 0 var(--orange); padding-left: 12px; }
}

/* footer still uses the script wordmark */
.wordmark { font-family: var(--script); font-weight: 400; color: #fff; text-decoration: none; display: inline-block; line-height: 1.05; }

/* ---------- cards (the email's "Human Email Developer Style" block) ---------- */

main { padding: 24px 0 40px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 16px;
}
.card.dashed { border: 2px dashed var(--navy); }
.card.dark { background: var(--navy); color: var(--sky); }
.card.dark h2, .card.dark h3 { color: #fff; }
.card.dark .eyebrow { color: var(--sky-2); }

.eyebrow {
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--muted);
  margin: 0 0 6px;
}
.eyebrow.navy { color: var(--navy); }
.card-title { font-size: 21px; line-height: 27px; margin: 0 0 14px; }

/* section header, same as the email's SNEAK PEEK / AT A GLANCE heads */
.section-head {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 4px 10px;
  border-bottom: 3px solid var(--navy);
  margin: 28px 0 16px;
}
.section-head.orange { color: var(--rust); border-bottom-color: var(--orange); }

/* placeholder for copy that hasn't been written yet */
.copy-slot {
  border: 2px dashed var(--line);
  border-radius: 6px;
  padding: 14px;
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
  margin: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  font: 700 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--navy-2); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn.light { background: #fff; color: var(--navy); }

/* ---------- month grid ---------- */

.cal { padding: 0; overflow: hidden; }
.cal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.cal-month { font-size: 21px; }
.cal-nav { display: flex; gap: 6px; }
.cal-btn {
  background: var(--card);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  font: 700 14px/1 var(--font);
  cursor: pointer;
}
.cal-btn:hover { border-color: var(--navy); }
.cal-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }

.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--line);
}
.cal-day {
  min-height: 84px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  font: inherit;
  color: inherit;
  text-align: left;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.cal-grid > .cal-day:nth-child(7n) { border-right: 0; }
.cal-grid > .cal-day:nth-last-child(-n+7) { border-bottom: 0; }
.cal-date { font-size: 14px; font-weight: 700; color: var(--text); }
.cal-day.other { background: #faf9f6; }
.cal-day.other .cal-date { color: var(--muted); font-weight: 400; }   /* lighter weight, not lighter grey, so it still passes contrast */
.cal-day.today .cal-date {
  box-shadow: inset 0 0 0 2px var(--orange);   /* a ring, since white on this orange is too faint */
  border-radius: 999px; min-width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: -3px 0 0 -3px;
}
button.cal-day { cursor: pointer; }
button.cal-day:hover { background: #f3f6fa; }
button.cal-day:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.cal-day.sel { background: var(--navy); }
.cal-day.sel .cal-date { color: #fff; }
.cal-n {
  font-size: 12px; font-weight: 700;
  background: var(--sky); color: var(--navy);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.cal-day.sel .cal-n { background: #fff; }
.cal-foot {
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .cal-head { padding: 12px 14px; }
  .cal-month { font-size: 18px; }
  .cal-day { min-height: 56px; padding: 6px 4px; align-items: center; }
  .cal-n { font-size: 0; padding: 0; width: 8px; height: 8px; }   /* a dot on phones */
  .cal-day.today .cal-date { margin: -3px 0 0; }
}

/* ---------- filters ---------- */

.filters { display: grid; gap: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-row > * { flex: 1 1 180px; }
.field-in, .filters select, .filters input {
  width: 100%;
  font: 15px/1.3 var(--font);
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
.filters input:focus, .filters select:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--navy); }
.daterange { display: flex; align-items: center; gap: 8px; flex: 2 1 320px; }
.daterange span { font-size: 14px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.qchip {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font: 700 13px/1 var(--font);
  cursor: pointer;
}
.qchip:hover { border-color: var(--navy); }
.qchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.qchip:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.qchip.reset { color: var(--muted); }

.status { font-size: 14px; color: var(--muted); margin: 18px 4px 0; }

/* ---------- event cards ---------- */

.ev { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ev.has-img { grid-template-columns: minmax(0, 1fr) 220px; }
.ev-title { font-size: 19px; line-height: 25px; margin: 0 0 10px; }
.ev-meta { font-size: 15px; line-height: 23px; margin: 0 0 14px; }
.ev-meta strong { color: var(--text); }
.ev-desc { font-size: 15px; line-height: 23px; margin: 0 0 16px; }
.ev-img img { width: 100%; border-radius: 6px; }
.ev-img a { display: block; }
@media (max-width: 640px) {
  .ev.has-img { grid-template-columns: 1fr; }
  .ev-img { max-width: 360px; }
}
.empty { text-align: center; color: var(--muted); }

/* ---------- forms ---------- */

.form { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.lbl { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.req { color: var(--rust); }
.form input, .form select, .form textarea {
  width: 100%;
  font: 15px/1.4 var(--font);
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */

footer { background: var(--navy); color: var(--sky); padding: 28px 0; text-align: center; font-size: 14px; }
footer .wordmark { font-size: 32px; text-shadow: none; }
footer p { margin: 6px 0 0; }
footer a { color: #fff; }

/* =====================================================================
   Round two: filters, tags, actions, signup, form extras
   ===================================================================== */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hint { text-transform: none; font-weight: 400; color: var(--muted); }

/* filters */
.more summary {
  cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--navy);
  padding: 4px 0;
  list-style-position: inside;
}
.more summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.more[open] summary { margin-bottom: 12px; }
.more .filter-row + .filter-row { margin-top: 10px; }
.filters-foot { margin: 0; }
.linkbtn {
  background: none; border: 0; padding: 0;
  font: 700 13px/1.4 var(--font);
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.linkbtn:hover { color: var(--navy); }

/* event tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tag {
  font-size: 12px; font-weight: 700; line-height: 1.4;
  color: var(--navy); background: var(--sky);
  border-radius: 999px; padding: 2px 10px;
}
.tag.free { background: #e1f0e5; color: #1d5e34; }
.tag.cost { background: #fbeedf; color: var(--rust); }
.tag.info { background: #f0eee9; color: #444; }
.repeat { color: var(--navy); }

/* event actions */
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.btn.ghost {
  background: #fff; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--navy); background: #fff; }
.addcal { position: relative; }
.addcal summary { list-style: none; }
.addcal summary::-webkit-details-marker { display: none; }
.addcal summary::after { content: " \25BE"; font-size: 12px; }
.addcal-menu {
  position: absolute; z-index: 5; top: calc(100% + 6px); left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(27,58,92,.18), 0 0 0 1px var(--line);
  padding: 6px;
}
.addcal-menu a, .addcal-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 4px;
  padding: 10px 12px;
  font: 600 14px/1.2 var(--font); color: var(--navy);
  text-decoration: none; cursor: pointer;
}
.addcal-menu a:hover, .addcal-menu button:hover { background: #f3f6fa; }
.addcal-menu a:focus-visible, .addcal-menu button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

/* a shared link lands here */
.ev.flash { box-shadow: 0 0 0 3px var(--orange); transition: box-shadow 1s ease 2s; }

/* email signup */
.signup { margin-top: 28px; }
.copy-slot.on-dark { border-color: rgba(214,228,240,.4); color: var(--sky); margin-bottom: 16px; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input {
  flex: 1 1 180px;
  font: 15px/1.3 var(--font);
  border: 0; border-radius: 6px;
  padding: 11px 12px;
}
.signup-form input:focus { outline: 3px solid var(--orange); outline-offset: 0; }
.form-done { margin: 0; font-weight: 700; color: inherit; }
.card:not(.dark) .form-done { color: var(--navy); }

/* form extras */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks.stack { flex-direction: column; gap: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; cursor: pointer; }
.form .checks input { width: auto; margin: 0; accent-color: var(--navy); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .three { grid-template-columns: 1fr; } }
.field-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); min-height: 0; }
.field-note:empty { display: none; }
.field-note.ok { color: #1d5e34; }
.field-note.warn { color: var(--rust); }

/* footer links */
.foot-links { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }

/* ---------- bulk upload ---------- */
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.spec dt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 700; color: var(--navy); }
.spec dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; gap: 2px; } .spec dd { margin-bottom: 8px; } }

.drop {
  border: 2px dashed var(--navy);
  border-radius: 8px;
  background: #f7f9fc;
  padding: 32px 16px;
  text-align: center;
  cursor: pointer;
}
.drop:hover, .drop.over { background: var(--sky); }
.drop:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.drop-t { margin: 0; font-weight: 700; color: var(--navy); }
.drop-s { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.orbar { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.orbar::before, .orbar::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.paste {
  width: 100%; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; resize: vertical;
}
.paste:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--navy); }

.tally { margin: 0 0 6px; }
.note.warn { color: var(--rust); }
.ptable-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 6px; }
table.prev { width: 100%; border-collapse: collapse; font-size: 13px; }
table.prev th { text-align: left; background: #f7f6f2; color: var(--navy); font-size: 12px; text-transform: uppercase; padding: 8px 10px; white-space: nowrap; }
table.prev td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
table.prev tr.bad td { background: #fdf6ee; }
table.prev .rw { color: var(--muted); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; border-radius: 999px; padding: 1px 8px; }
.badge.ok { background: #e1f0e5; color: #1d5e34; }
.badge.err { background: #fbeedf; color: var(--rust); }
.why { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); min-width: 180px; }
.result-note { margin-top: 16px; }

/* ---------- contact page ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.contact-list span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--sky-2); min-width: 80px; }
.contact-list a { color: #fff; font-weight: 700; word-break: break-word; }

/* =====================================================================
   Site-wide templates (design/ folder). Components for the pages the
   site will grow into: home, directory, profile, newsletter, about.
   ===================================================================== */

.wrap.wide { max-width: 1040px; }

/* template notice, only on design/ pages */
.proto-bar {
  background: var(--orange); color: #1b1b1b;
  font-size: 13px; font-weight: 700; text-align: center;
  padding: 8px 16px;
}
.proto-bar a { color: #1b1b1b; }

/* photo hero band (home template). Sits under the header, not in it. */
.hero-band {
  position: relative;
  background: var(--navy) url("images/arch.jpg") center 40% / cover no-repeat;
  color: #fff; text-align: center;
}
.hero-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,92,.35), rgba(27,58,92,.85)); }
.hero-band .wrap { position: relative; padding-top: 64px; padding-bottom: 40px; }
.hero-band h1 { color: #fff; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.copy-slot.on-photo { border-color: rgba(255,255,255,.5); color: #fff; max-width: 560px; margin: 14px auto 0; background: rgba(27,58,92,.35); }

/* image placeholder, swap for a real <img> */
.img-ph {
  background: repeating-linear-gradient(135deg, #e4e1da 0 12px, #ebe8e1 12px 24px);
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.img-ph.wide { aspect-ratio: 16 / 9; }
.img-ph.square { aspect-ratio: 1; }
.img-ph.round { aspect-ratio: 1; border-radius: 999px; }

/* grids */
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }
.grid > .card { margin: 0; }

/* section header with a link on the right */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 3px solid var(--navy); margin: 32px 0 16px; padding: 0 4px 10px; }
.head-row .section-head { border: 0; margin: 0; padding: 0; }
.head-row a { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* compact event row with a date block */
.event-mini { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; }
.date-block {
  flex: 0 0 56px; text-align: center;
  background: var(--navy); color: #fff; border-radius: 6px;
  padding: 6px 0 8px; line-height: 1;
}
.date-block .m { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--sky-2); }
.date-block .d { display: block; font-size: 24px; font-weight: 700; margin-top: 4px; }
.event-mini h3 { font-size: 16px; line-height: 22px; margin: 0 0 4px; }
.event-mini p { margin: 0; font-size: 14px; color: var(--muted); }
a.event-mini:hover h3 { text-decoration: underline; }

/* linked card: whole card clickable */
.card.link { display: block; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.card.link:hover { box-shadow: 0 0 0 2px var(--navy); }
.card.link:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.card .img-ph, .card > img { margin-bottom: 14px; }
.card h3 { font-size: 18px; line-height: 24px; margin: 0 0 6px; }
.card .sub { font-size: 14px; color: var(--muted); margin: 0 0 10px; }

/* business directory */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 4px; }
.az a { font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 4px; text-decoration: none; }
.az a:hover { background: var(--sky); }

/* profile: main column + info sidebar */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.facts li { padding: 10px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts .k { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours td { padding: 3px 0; }
.hours td + td { text-align: right; }
.crumbs { font-size: 13px; margin: 0 0 12px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* long-form text (about, newsletter issue) */
.prose { font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.byline { font-size: 13px; color: var(--muted); margin: 0 0 18px; }

/* people */
.person { text-align: center; }
.person .img-ph { width: 120px; margin: 0 auto 12px; }
.person h3 { margin-bottom: 2px; }

/* big stat / callout row */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: 34px; line-height: 1.1; color: var(--navy); }
.stats span { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* style guide only */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.swatch { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 12px; }
.swatch i { display: block; height: 64px; }
.swatch p { margin: 0; padding: 8px 10px; }
.swatch code { color: var(--muted); }
.specimen { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: baseline; }
.specimen:first-of-type { border-top: 0; }
.specimen .k { font-size: 12px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 560px) { .specimen { grid-template-columns: 1fr; } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.event-mini.card { display: flex; }   /* keep the date block beside the text when it's also a linked card */



/* ---------- quick picks: Tonight / This weekend, top of the calendar ---------- */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.quick-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: var(--card); color: var(--navy);
  border: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 2px var(--navy);
  padding: 14px 18px;
  font: inherit; text-align: left; cursor: pointer;
}
.quick-btn:hover { background: #f3f6fa; }
.quick-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.quick-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.quick-k { font-size: 20px; font-weight: 700; line-height: 1.2; }
.quick-d { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.quick-btn[aria-pressed="true"] .quick-d { color: var(--sky-2); }
@media (max-width: 420px) { .quick-k { font-size: 17px; } .quick-btn { padding: 12px 14px; } }

.quick-results { margin: 0 0 24px; }
.quick-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 4px 4px; }
.quick-results-head .status { margin: 0; font-weight: 700; color: var(--navy); }
.quick-results .section-head { display: none; }   /* the button already says when */
.quick-results-head { margin-bottom: 10px; }

/* ---------- email signup: two Brevo forms behind tabs ---------- */
.signup-tabs { margin-top: 28px; }
.tabs { display: flex; gap: 6px; margin: 0 0 -1px; position: relative; z-index: 1; flex-wrap: wrap; }
.tabs [role="tab"] {
  background: transparent; color: var(--navy);
  border: 0; border-radius: 8px 8px 0 0;
  padding: 12px 18px;
  font: 700 15px/1.2 var(--font);
  cursor: pointer;
}
.tabs [role="tab"]:hover { background: rgba(27,58,92,.06); }
.tabs [role="tab"][aria-selected="true"] { background: var(--card); box-shadow: inset 0 3px 0 var(--orange); }
.tabs [role="tab"]:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.tab-panel { background: var(--card); border-radius: 0 8px 8px 8px; padding: 12px 8px; }
.brevo-form { display: block; width: 100%; max-width: 560px; margin: 0 auto; border: 0; }
.brevo-form.cust { height: 760px; }   /* Brevo suggests 650/305; both cut off at this width */
.brevo-form.biz { height: 440px; }
@media (max-width: 560px) {
  .tabs { flex-wrap: nowrap; gap: 4px; }
  .tabs [role="tab"] { flex: 1 1 0; padding: 10px 8px; font-size: 13px; text-align: center; }
  .tab-panel { padding: 4px 0; border-radius: 0 0 8px 8px; }
  .brevo-form.cust { height: 880px; }   /* text wraps more on phones */
  .brevo-form.biz { height: 540px; }
}

/* =====================================================================
   Home page (index.html), laid out after visitdenver.com/discover:
   photo hero with search, intro split, category band, coming-up strip,
   audience sections with photo mosaics, signup.
   ===================================================================== */

.home main { padding-top: 0; }

/* hero */
.home-hero {
  position: relative;
  background: var(--navy) url("images/arch.jpg") center 35% / cover no-repeat;
  color: #fff;
  min-height: clamp(360px, 52vw, 520px);
  display: flex; align-items: flex-end;
}
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,37,60,.85) 0%, rgba(17,37,60,.55) 55%, rgba(17,37,60,.2) 100%); }
.home-hero .wrap { position: relative; padding-top: 48px; padding-bottom: 48px; }
.hero-h { color: #fff; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.08; max-width: 640px; margin: 0 0 14px; }
.home-hero .copy-slot.on-photo { margin: 0 0 20px; max-width: 520px; text-align: left; }
.hero-search { display: flex; max-width: 520px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 16px/1.3 var(--font); padding: 10px 16px; color: var(--text); border-radius: 999px; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.hero-search .btn { border-radius: 999px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; font-size: 14px; font-weight: 700; }
.hero-quick a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* intro split */
.intro-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; padding-top: 48px; padding-bottom: 40px; }
.intro-h { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 4px; }
.script-sub { font-family: var(--script); font-size: 24px; line-height: 1.3; color: var(--navy); margin: 0 0 14px; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-top: 6px; }
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } .intro-actions { justify-content: flex-start; } }

/* category band: cards overlap the top of a tinted band */
.plan-band { background: linear-gradient(180deg, transparent 0 90px, #e2dfd8 90px); padding-bottom: 40px; }
.band-h { font-size: 24px; margin: 0 0 16px; }
.plan-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .plan-cards { gap: 10px; } .plan-body { padding: 12px; } .plan-title { font-size: 16px; } .plan-card .copy-slot.small { display: none; } }
.plan-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 10px rgba(27,58,92,.08); transition: transform .15s, box-shadow .15s; }
.plan-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,58,92,.16); }
.plan-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.plan-card .img-ph { border-radius: 0; aspect-ratio: 4 / 3; margin: 0; }
.plan-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.plan-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.copy-slot.small { font-size: 13px; padding: 8px 10px; }
.plan-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: underline; }

/* coming up: live from the calendar (calendar.js renderUpcoming) */
.up-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
@media (max-width: 860px) { .up-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .up-grid { grid-template-columns: 1fr; } }
.up-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.up-card:hover { box-shadow: 0 0 0 2px var(--navy); }
.up-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.up-img { display: block; aspect-ratio: 4 / 3; background: var(--sky) center / cover no-repeat; }
.up-img.none { background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.up-img .m { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--sky-2); }
.up-img .d { font-size: 44px; font-weight: 700; margin-top: 6px; }
.up-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.up-body .eyebrow { margin: 0; }
.up-title { font-size: 17px; line-height: 23px; font-weight: 700; color: var(--navy); }
.up-place { font-size: 14px; color: var(--muted); }

/* audience sections + mosaics */
.aud { padding-top: 40px; }
.aud-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 48px; align-items: start; margin-bottom: 24px; }
.aud-h { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 0 0 4px; }
.aud-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .aud-split { grid-template-columns: 1fr; } }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
.mosaic .tile { display: block; border-radius: var(--radius); background: #ddd center / cover no-repeat; }
.mosaic .tile.big { grid-column: span 2; grid-row: span 2; }
.mosaic a.tile:hover { box-shadow: 0 0 0 3px var(--navy); }
.mosaic a.tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.mosaic .tile.ph { background: repeating-linear-gradient(135deg, #e4e1da 0 12px, #ebe8e1 12px 24px); display: flex; align-items: center; justify-content: center; color: #555; font-size: 12px; font-weight: 700; text-transform: uppercase; }
@media (max-width: 640px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; } }

.home .signup-band .signup-tabs { margin-top: 48px; }

/* ---------- events page: add events tabs ---------- */
.add-events { margin-top: 40px; }
.tab-panel .form { padding: 12px 12px 8px; }
.tab-panel.bulk-panel { background: transparent; padding: 0; }
.tab-panel.bulk-panel > .card:first-of-type { border-top-left-radius: 0; }
.step-head { font-size: 18px; margin: 20px 4px 10px; color: var(--navy); }
.tab-panel.bulk-panel > .step-head:first-child { margin-top: 0; padding-top: 16px; }

/* email signup band: every page, just above the footer */
.signup-band { padding: 12px 0 48px; }
.signup-band .signup-tabs { margin-top: 24px; }

/* ---------- standalone signup page (signup.html) ---------- */
.site-header.solo .bar { justify-content: center; }
.signup-hero {
  position: relative;
  background: var(--navy) url("images/arch.jpg") center 35% / cover no-repeat;
  color: #fff; text-align: center;
}
.signup-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,37,60,.55), rgba(17,37,60,.88)); }
.signup-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 72px; }
.signup-hero .hero-h { margin: 0 auto 14px; }
.signup-hero .copy-slot.on-photo { margin: 0 auto; max-width: 520px; text-align: center; }
.signup-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: -40px 0 48px; position: relative; align-items: start; }
.signup-col { margin: 0; padding: 20px 12px 8px; box-shadow: 0 6px 24px rgba(27,58,92,.12); }
.signup-col .eyebrow, .signup-col .card-title { padding: 0 8px; }
.signup-col .card-title { margin-bottom: 4px; }
.signup-col .brevo-form { max-width: none; }
.signup-col .brevo-form.cust { height: 860px; }   /* narrower column, so the text wraps more */
.signup-col .brevo-form.biz { height: 500px; }
@media (max-width: 860px) {
  .signup-pair { grid-template-columns: 1fr; }
  .signup-col .brevo-form.cust { height: 760px; }
  .signup-col .brevo-form.biz { height: 440px; }
}
@media (max-width: 560px) {
  .signup-col { padding: 16px 0 4px; }
  .signup-col .brevo-form.cust { height: 880px; }
  .signup-col .brevo-form.biz { height: 540px; }
}
.signup-page main { padding-top: 0; padding-bottom: 0; }
