@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --plaza: #1E5B45;
  --plaza-dark: #133D2E;
  --plaza-tint: #E3EEE8;
  --sun: #F2B544;
  --sun-tint: #FDF1D6;
  --ink: #1B2A35;
  --ink-soft: #4A5965;
  --paper: #FFFFFF;
  --stone: #EEF0EA;
  --line: #D5DAD3;
  --link: #1D4F91;
  --alert: #B42318;
  --alert-tint: #FDECEA;
  --accent: var(--plaza);

  --font: "Atkinson Hyperlegible", "Verdana", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.44rem;
  --step-3: 1.8rem;
  --step-4: 2.4rem;
  --step-5: 3.2rem;

  --radius: 10px;
  --space: 1rem;
  --tap: 3rem;
  --wrap: 70rem;
}

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}
html[data-size="2"] { font-size: 128%; }
html[data-size="3"] { font-size: 146%; }

html[data-contrast="high"] {
  --plaza: #000000;
  --plaza-dark: #000000;
  --plaza-tint: #FFFFFF;
  --sun: #FFD400;
  --sun-tint: #FFFFFF;
  --ink: #000000;
  --ink-soft: #000000;
  --stone: #FFFFFF;
  --line: #000000;
  --link: #0000CC;
  --accent: #000000;
}
html[data-contrast="high"] .ev,
html[data-contrast="high"] .panel,
html[data-contrast="high"] .tile { border: 2px solid #000; }
html[data-contrast="high"] a { text-decoration-thickness: 2px; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 4px;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.25em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.measure { max-width: 42rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* ---------- Reading aids bar ---------- */
.assist {
  background: var(--plaza-dark);
  color: #fff;
  font-size: var(--step--1);
}
.assist .wrap {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; flex-wrap: wrap;
  padding-top: 0.4rem; padding-bottom: 0.4rem;
}
.assist-label { margin-right: auto; opacity: 0.85; }
.assist button {
  font: inherit; font-weight: 700; color: #fff; background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45); border-radius: 999px;
  min-height: 2.4rem; padding: 0 0.9rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.assist button:hover { background: rgba(255,255,255,0.12); }
.assist button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.assist .size-group { display: inline-flex; gap: 0.25rem; }
.assist .size-group button { padding: 0 0.7rem; }

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand img { width: 3.2rem; height: 3.2rem; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-kicker { font-size: var(--step--1); color: var(--ink-soft); }
.brand-name { font-size: var(--step-2); font-weight: 700; }

.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.mainnav a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0.9rem;
  color: var(--ink); text-decoration: none; font-weight: 700; border-radius: var(--radius);
  border-bottom: 4px solid transparent;
}
.mainnav a:hover { background: var(--stone); }
.mainnav a[aria-current="page"] { border-bottom-color: var(--sun); border-radius: var(--radius) var(--radius) 0 0; }

.tabbar { display: none; }

@media (max-width: 760px) {
  .mainnav { display: none; }
  .brand-name { font-size: var(--step-1); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--paper); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
    min-height: 4rem; color: var(--ink-soft); text-decoration: none; font-size: 0.8rem; font-weight: 700;
  }
  .tabbar a .icon { width: 1.6rem; height: 1.6rem; }
  .tabbar a[aria-current="page"] { color: var(--plaza); box-shadow: inset 0 4px 0 var(--sun); }
  body.has-tabbar { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Generic blocks ---------- */
main { display: block; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 40rem; }
.muted { color: var(--ink-soft); }
.band { background: var(--stone); }

.crumbs { font-size: var(--step--1); padding-top: 1.25rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--tap); padding: 0 1.25rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); filter: none; }
.btn-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn-call { background: var(--plaza); border-color: var(--plaza); font-size: var(--step-1); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }

.flash {
  padding: 1rem 1.25rem; border-radius: var(--radius); margin: 1.25rem 0; font-weight: 700;
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.flash-success { background: var(--plaza-tint); color: var(--plaza-dark); }
.flash-error { background: var(--alert-tint); color: var(--alert); }

.tag {
  display: inline-flex; align-items: center; gap: 0.3rem; max-width: 100%;
  font-size: var(--step--1); font-weight: 700; line-height: 1;
  padding: 0.35rem 0.6rem; border-radius: 999px; background: var(--stone); color: var(--ink);
  white-space: normal;
}
.tag .icon { width: 1rem; height: 1rem; }
.tag-free { background: var(--plaza-tint); color: var(--plaza-dark); }
.tag-signup { background: var(--sun-tint); color: #6B4A00; }
.tag-cancel { background: var(--alert-tint); color: var(--alert); }
.tag-sponsor { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 400; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }

/* ---------- Today board (signature) ---------- */
.today { padding-top: 2rem; padding-bottom: 2.5rem; }
.today-grid { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.sheet {
  position: sticky; top: 1rem;
  background: var(--paper); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 10px 24px -14px rgba(27, 42, 53, 0.35);
  text-align: center;
}
.sheet-top {
  background: var(--sun); color: var(--ink); font-weight: 700; font-size: var(--step-1);
  padding: 0.55rem 0.5rem 0.75rem; text-transform: capitalize; position: relative;
}
.sheet-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 10px;
  background: radial-gradient(circle at 6px 5px, var(--paper) 3px, transparent 3.5px) 0 0 / 14px 10px repeat-x;
}
.sheet-day { font-size: 5.5rem; line-height: 1; font-weight: 700; color: var(--plaza); padding-top: 1rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sheet-month { font-size: var(--step-1); padding-bottom: 1rem; text-transform: capitalize; }
.sheet-count { border-top: 1px dashed var(--line); padding: 0.75rem; font-size: var(--step--1); color: var(--ink-soft); }
.sheet-count strong { color: var(--ink); font-size: var(--step-0); }

.today-head h1 { font-size: var(--step-3); margin-bottom: 0.25rem; }
.today-head p { color: var(--ink-soft); }

@media (max-width: 760px) {
  .today-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .sheet { position: static; display: grid; grid-template-columns: auto 1fr; text-align: left; align-items: stretch; }
  .sheet-top { grid-column: 1 / -1; padding: 0.4rem 1rem 0.6rem; }
  .sheet-day { font-size: 3.5rem; padding: 0.75rem 1rem; }
  .sheet-month { padding: 1.4rem 1rem 0 0; }
  .sheet-count { grid-column: 1 / -1; text-align: left; padding: 0.6rem 1rem; }
}

/* ---------- Event rows ---------- */
.evlist { list-style: none; margin: 0; padding: 0; }
.ev {
  --c: var(--plaza);
  display: grid; grid-template-columns: 5.25rem minmax(0, 1fr) auto; gap: 0 1rem; align-items: start;
  padding: 1rem 1rem 1rem 0.9rem; border-left: 6px solid var(--c);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.evlist > li:first-child .ev { border-top: 1px solid var(--line); }
.ev-time { font-size: var(--step-2); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ev-time small { display: block; font-size: var(--step--1); font-weight: 400; color: var(--ink-soft); margin-top: 0.2rem; }
.ev-title { font-size: var(--step-1); font-weight: 700; line-height: 1.25; margin: 0; }
.ev-title a { color: var(--ink); text-decoration: none; }
.ev-title a::after { content: ""; position: absolute; inset: 0; }
.ev-title a:hover { text-decoration: underline; }
.ev-body { position: relative; }
.ev { position: relative; }
.ev-place { color: var(--ink-soft); margin: 0.2rem 0 0; display: flex; gap: 0.35rem; align-items: flex-start; }
.ev-cat { color: var(--c); }
.ev-cat .icon { width: 1.75rem; height: 1.75rem; }
.ev.is-past { opacity: 0.55; }
.ev.is-now { background: var(--sun-tint); }
.ev.is-cancelled .ev-title { text-decoration: line-through; }
.ev-now-label { font-size: var(--step--1); font-weight: 700; color: #6B4A00; }

@media (max-width: 520px) {
  .ev { grid-template-columns: 4.2rem minmax(0, 1fr); padding-right: 0.75rem; }
  html[data-size="3"] .ev { grid-template-columns: minmax(0, 1fr); }
  .ev-cat { display: none; }
  .ev-time { font-size: var(--step-1); }
}

.day-group { margin-bottom: 2rem; }
.day-heading {
  display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.6rem;
  font-size: var(--step-2);
}
.day-heading span { font-size: var(--step-0); font-weight: 400; color: var(--ink-soft); }

.empty {
  padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft);
}
.empty strong { display: block; color: var(--ink); font-size: var(--step-1); margin-bottom: 0.25rem; }

/* ---------- Home side columns ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--stone); border-radius: 14px; padding: 1.25rem 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: var(--step-2); }
.panel-urgent { background: var(--paper); border: 2px solid var(--alert); }
.panel-urgent h2 { color: var(--alert); }

.phone-list { list-style: none; margin: 0; padding: 0; }
.phone-list li + li { border-top: 1px solid var(--line); }
.phone {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap;
  padding: 0.85rem 0; text-decoration: none; color: var(--ink);
}
.phone-label { font-weight: 700; }
.phone-note { display: block; font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; }
.phone-number {
  white-space: nowrap; font-weight: 700; font-size: var(--step-1); font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--plaza); color: #fff; padding: 0.4rem 0.8rem; border-radius: 999px;
}
.phone-urgent .phone-number { background: var(--alert); }

.welcome { font-size: var(--step-1); max-width: 44rem; }

.cat-strip { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.cat-strip a {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: var(--tap); padding: 0 1rem;
  border: 2px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700;
  background: var(--paper);
}
.cat-strip a .icon { color: var(--c, var(--plaza)); }
.cat-strip a:hover { border-color: var(--ink); }
.cat-strip a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-strip a[aria-current="true"] .icon { color: #fff; }

.simple-list { list-style: none; margin: 0; padding: 0; }
.simple-list li { border-bottom: 1px solid var(--line); }
.simple-list a { display: block; padding: 0.85rem 0; color: var(--ink); text-decoration: none; font-weight: 700; }
.simple-list a:hover { color: var(--link); }
.simple-list small { display: block; font-weight: 400; color: var(--ink-soft); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.tile img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tile-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.tile-title { font-size: var(--step-1); margin: 0; }
.tile-title a { color: var(--ink); text-decoration: none; }
.tile-title a::after { content: ""; position: absolute; inset: 0; }
.tile-offer { background: var(--sun-tint); padding: 0.4rem 0.6rem; border-radius: 6px; font-weight: 700; font-size: var(--step--1); }
.tile.is-featured { border: 2px solid var(--sun); }

/* ---------- Agenda page ---------- */
.agenda-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .agenda-layout { grid-template-columns: minmax(0, 1fr); } }
.weeknav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; margin: 0 0 1.5rem; }
.weeknav strong { font-size: var(--step-1); text-align: center; }
@media (max-width: 640px) {
  .weeknav { grid-template-columns: 1fr 1fr; }
  .weeknav strong { grid-column: 1 / -1; grid-row: 1; }
  .weeknav .btn { padding: 0 0.6rem; }
}

.month { background: var(--stone); border-radius: 14px; padding: 1rem; }
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.month-head strong { text-transform: capitalize; }
.month-head a { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); }
.month-head a:hover { background: var(--paper); }
.month table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.month th { font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; padding-bottom: 0.25rem; }
.month td { text-align: center; padding: 2px; }
.month td a, .month td span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 2.6rem; border-radius: 8px; text-decoration: none; color: var(--ink-soft);
}
.month td a { color: var(--ink); font-weight: 700; background: var(--paper); }
.month td a::after { content: ""; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--plaza); margin-top: 2px; }
.month td a:hover { outline: 2px solid var(--ink); }
.month td .is-today { box-shadow: inset 0 0 0 2px var(--sun); }
.month td .is-selected { background: var(--ink); color: #fff; }
.month td .is-selected::after { background: var(--sun); }

.filters { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.filters label { font-weight: 700; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); margin: 0.25rem 0 0; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="search"], .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid #8C9891; border-radius: var(--radius); padding: 0.7rem 0.85rem; min-height: var(--tap);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .input:focus { border-color: var(--ink); outline: 3px solid var(--sun); outline-offset: 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--alert); }
.field-error { color: var(--alert); font-weight: 700; margin: 0.35rem 0 0; font-size: var(--step--1); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; accent-color: var(--plaza); flex: none; }
.form-card { background: var(--stone); border-radius: 14px; padding: 1.5rem; max-width: 36rem; }

/* ---------- Event page ---------- */
.event-head { padding-bottom: 0.5rem; }
.event-head h1 { font-size: var(--step-4); max-width: 22ch; }
.event-cat { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--c); margin-bottom: 0.6rem; }
.when {
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.25rem; align-items: center;
  padding: 1.25rem; background: var(--sun-tint); border-radius: 14px; margin: 1rem 0;
}
.when-day { grid-row: span 2; text-align: center; background: var(--paper); border-radius: 10px; padding: 0.4rem 0.9rem; border: 1px solid var(--line); }
.when-day b { display: block; font-size: var(--step-4); line-height: 1; color: var(--plaza); }
.when-day span { font-size: var(--step--1); text-transform: capitalize; }
.when-date { font-size: var(--step-2); font-weight: 700; }
.when-date::first-letter { text-transform: uppercase; }
.when-time { font-size: var(--step-1); }
.when-repeat { grid-column: 1 / -1; display: flex; gap: 0.4rem; align-items: center; margin-top: 0.5rem; font-weight: 700; color: var(--plaza-dark); }
.notice-cancel { background: var(--alert); color: #fff; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 700; font-size: var(--step-1); display: flex; gap: 0.5rem; align-items: center; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: 0.75rem; align-items: flex-start; }
.facts .icon { width: 1.75rem; height: 1.75rem; color: var(--plaza); margin-top: 0.1rem; }
.facts b { display: block; }

.prose { max-width: 42rem; font-size: var(--step-1); line-height: 1.6; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.25em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1em 0; padding: 0.5em 1em; border-left: 5px solid var(--sun); background: var(--sun-tint); }

.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: var(--stone); }
.cover-img { border-radius: 14px; margin: 1rem 0; max-height: 26rem; width: 100%; object-fit: cover; }

.dates { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.dates a { display: inline-block; padding: 0.5rem 0.9rem; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; }
.dates a:hover { border-color: var(--ink); }

/* ---------- Portal ---------- */
.hero { background: var(--plaza); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -9rem; bottom: -14rem; width: 34rem; height: 34rem; pointer-events: none; border-radius: 50%;
  background: var(--sun);
}
.hero .wrap { position: relative; padding-top: 4rem; padding-bottom: 4.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, var(--step-5)); max-width: 15ch; line-height: 1.05; letter-spacing: -0.025em; }
.hero p { font-size: var(--step-1); max-width: 34rem; opacity: 0.92; }
.finder { position: relative; max-width: 34rem; margin-top: 2rem; }
.finder label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.finder-row { display: flex; gap: 0.5rem; }
.finder input {
  flex: 1; min-width: 0; font: inherit; font-size: var(--step-1); min-height: 3.6rem; padding: 0 1rem;
  border: 0; border-radius: var(--radius); color: var(--ink);
}
.finder button { min-height: 3.6rem; flex: none; padding: 0 1rem; }
.suggest {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 0.4rem; z-index: 10;
  background: var(--paper); color: var(--ink); border-radius: var(--radius); list-style: none; padding: 0.35rem; margin-bottom: 0;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.45);
}
.suggest[hidden] { display: none; }
.suggest a { display: block; padding: 0.75rem 0.9rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.suggest a small { font-weight: 400; color: var(--ink-soft); margin-left: 0.35rem; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--stone); }
.suggest-empty { padding: 0.75rem 0.9rem; color: var(--ink-soft); }

.province-list { columns: 3 16rem; column-gap: 2.5rem; }
.province { break-inside: avoid; margin-bottom: 1.5rem; }
.province h3 { font-size: var(--step-1); border-bottom: 3px solid var(--sun); display: inline-block; padding-bottom: 0.15rem; }
.province ul { list-style: none; margin: 0; padding: 0; }
.province li a { display: block; padding: 0.3rem 0; font-weight: 700; }

.pitch { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 2rem; margin: 1.5rem 0 2rem; }
.pitch h3 { font-size: var(--step-1); display: flex; gap: 0.5rem; align-items: center; }
.pitch .icon { color: var(--plaza); width: 1.6rem; height: 1.6rem; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem; }
.plan { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; }
.plan h3 { margin-bottom: 0.25rem; }
.plan-price { font-size: var(--step-3); font-weight: 700; color: var(--plaza); }
.plan-price small { font-size: var(--step--1); font-weight: 400; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.plan li { display: flex; gap: 0.5rem; padding: 0.25rem 0; }
.plan li .icon { color: var(--plaza); }

/* ---------- Footer ---------- */
.foot { background: var(--plaza-dark); color: #E7EFEA; margin-top: 3rem; font-size: var(--step--1); }
.foot a { color: #fff; }
.foot .wrap { padding-top: 2rem; padding-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.foot-brand { display: flex; gap: 0.6rem; align-items: center; }
.foot-brand img { width: 2rem; height: 2rem; }

.error-page { padding-top: 4rem; padding-bottom: 4rem; }
.error-code { font-size: var(--step-5); font-weight: 700; color: var(--sun); line-height: 1; }

/* ---------- Reading highlight ---------- */
.is-speaking { background: var(--sun-tint); box-shadow: 0 0 0 4px var(--sun-tint); border-radius: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheet-in 0.5s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes sheet-in { from { transform: translateY(-8px) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 12mm; }
  html { font-size: 12pt; }
  .assist, .masthead, .tabbar, .foot, .actions, .no-print, .crumbs, .agenda-side, .map-frame { display: none !important; }
  body { padding: 0 !important; color: #000; }
  a { color: #000; text-decoration: none; }
  .ev { border-left-width: 4px; break-inside: avoid; padding: 0.4rem 0.6rem; }
  .ev-cat { display: none; }
  .day-group { break-inside: avoid-page; }
}
.print-page { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.print-page h1 { font-size: var(--step-3); }
.print-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.print-table th { text-align: left; background: var(--stone); padding: 0.5rem; font-size: var(--step-1); border-top: 2px solid #000; }
.print-table td { padding: 0.4rem 0.5rem; border-bottom: 1px solid #999; vertical-align: top; }
.print-table td:first-child { width: 5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.print-phones { margin-top: 1.5rem; columns: 2; font-size: var(--step--1); }

@media (max-width: 760px) {
  .mainnav.mainnav-portal { display: block; width: 100%; }
  .mainnav-portal a { padding: 0 0.6rem; min-height: 2.6rem; }
}
.offer { background: var(--sun-tint); border-left: 6px solid var(--sun); padding: 0.9rem 1.1rem; border-radius: 8px; font-size: var(--step-1); font-weight: 700; }
.note-sponsor { margin-top: 2rem; }

@media (max-width: 760px) {
  .assist-label { display: none; }
  .assist .wrap { justify-content: space-between; gap: 0.35rem; }
  .assist button { padding: 0 0.6rem; }
  .assist [data-contrast-toggle] .icon, .assist [data-speak] .icon { display: none; }
  .crumbs { display: none; }
}
@media (max-width: 380px) {
  .assist [data-contrast-toggle] { font-size: 0; gap: 0; }
  .assist [data-contrast-toggle] .icon { font-size: 1rem; }
}

@media (max-width: 640px) {
  .hero::before { width: 18rem; height: 18rem; right: -7rem; bottom: -9rem; opacity: 0.9; }
  .hero .wrap { padding-top: 2.5rem; padding-bottom: 3rem; }
  .province-list { columns: 1; }
}
