/* TLFFRA Peer Review Training - site styles
   Brand: deep firefighter red + warm cream + charcoal text
   Typography: Merriweather (display) + Source Sans 3 (body) + JetBrains Mono (data) */

:root {
  --red: #c41e3a;
  --red-dark: #8c1027;
  --red-soft: #fbe6ea;
  --gold: #c8a84e;
  --gold-soft: #f7eed3;
  --blue: #3b82c4;
  --blue-soft: #e3eef9;
  --green: #34c08c;
  --green-soft: #d8f3e6;
  --ink: #1a1a1a;
  --text: #222;
  --text-light: #5a5a5a;
  --muted: #8a8a8a;
  --bg: #fbf8f2;
  --surface: #ffffff;
  --line: #e6dfd0;
  --line-soft: #f0ebde;
  --max: 1080px;
  --radius: 6px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--ink);
  margin: 0 0 .6rem;
  letter-spacing: -0.01em;
}
h1 { font-weight: 900; line-height: 1.1; }
h2 { font-weight: 700; line-height: 1.2; }
h3 { font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1rem; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }
em { font-style: italic; color: var(--text-light); }

.skip-anchor { position: relative; top: -120px; visibility: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ========================================================================
   TLFFRA logo - sized by the parent wrapper class
   ======================================================================== */
.tlffra-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ========================================================================
   PRIMARY NAV
   ======================================================================== */
.primary-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26,26,26,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #2a2a2a;
}
.primary-nav-inner {
  display: flex; align-items: center; gap: 1.4rem;
  padding: .75rem 1.25rem;
}
.brand-mark {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none;
}
.brand-shield {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  flex: 0 0 auto;
}
.brand-shield .tlffra-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-eyebrow {
  font-size: .65rem; font-weight: 800; letter-spacing: 2px;
  color: var(--red); text-transform: uppercase;
}
.brand-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-top: 2px;
}
.primary-nav-links {
  margin-left: auto;
  display: flex; gap: .25rem; align-items: center; flex-wrap: wrap;
}
.primary-nav-links a {
  font-size: .82rem; font-weight: 600; letter-spacing: .2px;
  color: rgba(255,255,255,.78);
  padding: .55rem .85rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color .15s, background .15s;
}
.primary-nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  text-decoration: none;
}
.primary-nav-links a.active {
  color: #fff;
  background: var(--red);
}
.primary-nav-links a.active:hover { background: var(--red-dark); }

@media (max-width: 720px) {
  .primary-nav-inner { gap: .8rem; padding: .6rem 1rem; }
  .brand-shield { width: 36px; height: 36px; }
  .brand-name { font-size: .9rem; }
  .primary-nav-links { gap: 0; width: 100%; margin-left: 0; margin-top: .4rem; overflow-x: auto; }
  .primary-nav-links a { padding: .45rem .7rem; font-size: .78rem; flex-shrink: 0; }
}

/* ========================================================================
   HERO (with photo backdrop)
   ======================================================================== */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.hero-with-image { color: #fff; }
.hero-photo-wrap {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.55) saturate(0.95);
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.85) 100%),
    radial-gradient(circle at 50% 0%, rgba(196,30,58,.18), transparent 65%);
}
.hero-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0;
}
.hero-shield-wrap {
  width: 130px; height: 130px;
  margin-bottom: 1.4rem;
  background: #fff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 4px rgba(196,30,58,.55);
  display: flex; align-items: center; justify-content: center;
}
.hero-shield-wrap .tlffra-logo { width: 100%; height: 100%; object-fit: contain; }
.hero-eyebrow {
  font-size: .82rem; font-weight: 800; letter-spacing: 3px;
  color: #ffd6dd; text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero-with-image .hero-eyebrow { color: #ffd6dd; }
.hero-title {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-with-image .hero-title { color: #fff; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.92);
  max-width: 640px; margin: 0 auto 1.8rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.hero-cta-row {
  display: flex; gap: .65rem; flex-wrap: wrap; justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.25rem; border-radius: 999px;
  font-size: .9rem; font-weight: 700; letter-spacing: .3px;
  text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  cursor: pointer; border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--red); color: #fff; border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark); color: #fff; transform: translateY(-1px);
  border-color: var(--red-dark);
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { background: rgba(0,0,0,.04); border-color: var(--ink); }
.btn-ghost-light {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.20);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* ========================================================================
   PAGE HEADER (non-home pages)
   ======================================================================== */
.page-header {
  padding: 2.5rem 0 1.8rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.page-eyebrow {
  font-size: .72rem; font-weight: 800; letter-spacing: 2.4px;
  color: var(--red); text-transform: uppercase;
  margin-bottom: .5rem;
}
.page-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin: 0 0 .55rem;
}
.page-sub { color: var(--text-light); font-size: 1rem; max-width: 720px; }

/* ========================================================================
   MAIN / SECTIONS / CARDS
   ======================================================================== */
.main { padding: 2.5rem 1.25rem 4rem; }
.section { margin: 2.5rem 0; }
.section:first-child { margin-top: 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .6rem;
}
.section-head h2 { margin: 0; font-size: 1.6rem; }
.section-cta {
  font-size: .85rem; font-weight: 600; color: var(--red);
}
.section-cta:hover { text-decoration: underline; }
.section-title-link,
.page-title-link {
  color: inherit;
  text-decoration: none;
}
.section-title-link:hover,
.page-title-link:hover {
  color: var(--red-dark);
  text-decoration: underline;
}
.section-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.6px;
  color: var(--muted); text-transform: uppercase;
}
.lede { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1.6rem; max-width: 760px; }
.muted { color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
}
.card-eyebrow {
  font-size: .68rem; font-weight: 800; letter-spacing: 2.4px;
  color: var(--red); text-transform: uppercase;
  margin-bottom: .8rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* facts dl */
.facts { margin: 0; display: grid; gap: .6rem 1rem; grid-template-columns: max-content 1fr; }
.facts dt {
  font-size: .72rem; font-weight: 800; letter-spacing: 1.5px;
  color: var(--muted); text-transform: uppercase;
  align-self: start; padding-top: 3px;
}
.facts dd { margin: 0; font-size: .95rem; }
.facts dd .muted { font-size: .85rem; }

/* day grid (home page) */
.day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 720px) { .day-grid { grid-template-columns: 1fr; } }
.day-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.3rem 1.4rem;
}
.day-card-head { margin-bottom: .9rem; }
.day-tag {
  display: inline-block;
  font-size: .65rem; font-weight: 800; letter-spacing: 1.8px;
  color: var(--red); text-transform: uppercase;
  background: var(--red-soft);
  padding: .25rem .65rem; border-radius: 999px;
  margin-bottom: .5rem;
}
.day-name { font-family: 'Merriweather', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.day-window { font-size: .82rem; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.day-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.day-list li {
  padding: .45rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: .9rem;
  display: grid; grid-template-columns: 70px 1fr; gap: .6rem;
}
.day-list li:first-child { border-top: none; }
.day-list .t { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; font-size: .82rem; }
.day-list .n { color: var(--ink); font-weight: 500; }

/* area cards on home */
.area-card { padding: 1.1rem 1.2rem; border-top: 4px solid var(--red); }
.area-card-bars { border-top-color: var(--red); }
.area-card-bars .area-eyebrow { color: var(--red); }
.area-card-breakfast { border-top-color: var(--gold); }
.area-card-breakfast .area-eyebrow { color: #8a720a; }
.area-card-lunch { border-top-color: var(--blue); }
.area-card-lunch .area-eyebrow { color: var(--blue); }
.area-card-dinner { border-top-color: var(--green); }
.area-card-dinner .area-eyebrow { color: #1f8a64; }
.area-eyebrow {
  font-size: .68rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.area-list { padding-left: 1.25rem; margin: 0; font-size: .88rem; line-height: 1.7; }
.area-list li { color: var(--ink); }

/* home lodging preview */
.stay-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 1.25rem;
}
.stay-official-card,
.stay-points-card {
  border-top: 4px solid var(--gold);
}
.stay-official-card h3 {
  font-size: 1.25rem;
  margin-top: .25rem;
}
.stay-distance-large {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  margin: .45rem 0 .75rem;
  color: var(--red-dark);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
}
.stay-distance-large span {
  color: var(--text-light);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stay-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.stay-mini-list {
  list-style: none;
  padding: 0;
  margin: .85rem 0 0;
}
.stay-mini-list li {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: .75rem;
  align-items: baseline;
  padding: .55rem 0;
  border-top: 1px solid var(--line-soft);
}
.stay-mini-list li:first-child { border-top: none; }
.stay-mini-list span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stay-mini-list strong {
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.25;
}
.stay-mini-list em {
  color: var(--red-dark);
  font-size: .8rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 840px) {
  .stay-preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stay-mini-list li { grid-template-columns: 1fr; gap: .2rem; }
  .stay-distance-large { flex-direction: column; gap: .2rem; }
}

/* ========================================================================
   AGENDA PAGE
   ======================================================================== */
.ag-day { margin-bottom: 2.5rem; }
.ag-day-title {
  font-size: 1.3rem; margin-bottom: 1rem;
  padding-bottom: .55rem; border-bottom: 2px solid var(--red);
  display: inline-block;
}
.ag-rows { display: flex; flex-direction: column; gap: .6rem; }
.ag-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  align-items: center;
}
.ag-row.track-break { border-left-color: var(--line); background: transparent; }
.ag-row.track-social { border-left-color: var(--gold); }
.ag-row.track-workshop { border-left-color: var(--ink); }
.ag-time { font-variant-numeric: tabular-nums; }
.ag-time-main { display: block; font-size: .98rem; font-weight: 700; color: var(--ink); }
.ag-time-end { display: block; font-size: .78rem; color: var(--muted); margin-top: 1px; }
.ag-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.ag-title-button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ag-title-button:hover {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ag-title-button:focus-visible {
  outline: 3px solid rgba(196,30,58,.22);
  outline-offset: 4px;
  border-radius: 4px;
}
.ag-speaker { font-size: .88rem; color: var(--text); margin-top: .15rem; }
.ag-speaker strong { color: var(--red-dark); font-weight: 700; }
.ag-place { font-size: .82rem; color: var(--muted); margin-top: .25rem; font-style: italic; }
.ag-map-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  text-decoration: none;
}
.ag-map-link:hover {
  color: var(--red);
  text-decoration: underline;
}
.ag-audience { font-size: .76rem; color: var(--muted); margin-top: .2rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.ag-note { font-size: .78rem; color: var(--text-light); margin-top: .4rem; padding-top: .35rem; border-top: 1px dashed var(--line); }
.ag-track-pill { display: flex; align-items: center; }
.track-pill {
  display: inline-block;
  font-size: .65rem; font-weight: 800; letter-spacing: 1.6px;
  color: var(--red); background: var(--red-soft);
  padding: .2rem .55rem; border-radius: 999px; text-transform: uppercase;
}
.track-pill.track-break { color: var(--muted); background: var(--line-soft); }
.track-pill.track-social { color: #6e5710; background: #f7eed3; }
.track-pill.track-workshop { color: #fff; background: var(--ink); }
@media (max-width: 720px) {
  .ag-row { grid-template-columns: 76px 1fr; gap: .7rem; padding: .8rem .95rem; }
  .ag-track-pill { display: none; }
  .ag-name { font-size: .95rem; }
}

.notes-modal-open {
  overflow: hidden;
}
.session-notes-modal[hidden] {
  display: none;
}
.session-notes-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.session-notes-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 18, .62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.session-notes-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.session-notes-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.session-notes-eyebrow {
  color: var(--red-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.session-notes-card h2 {
  max-width: 680px;
  margin: .35rem 2.2rem .4rem 0;
  font-size: 1.45rem;
}
.session-notes-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.session-notes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .75rem;
}
.session-mic-button,
.session-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 40px;
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.session-mic-button {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.session-mic-button[data-recording="true"] .session-mic-dot {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18);
}
.session-mic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.session-secondary-button:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.session-followup-form button:disabled {
  opacity: .62;
  cursor: wait;
}
.session-notes-status {
  margin: 0 0 .75rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(200, 168, 78, .48);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .88rem;
}
.session-notes-privacy {
  margin: -.35rem 0 .8rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}
.session-notes-label {
  display: block;
  margin-bottom: .4rem;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.session-transcript {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
}
.session-transcript:focus,
.session-followup-form input:focus,
.session-followup-form textarea:focus {
  outline: 3px solid rgba(196,30,58,.16);
  border-color: var(--red);
}
.session-followup-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.session-followup-form {
  display: grid;
  gap: .8rem;
}
.session-followup-form label {
  display: grid;
  gap: .35rem;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
}
.session-followup-form input,
.session-followup-form textarea {
  width: 100%;
  padding: .68rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}
@media (max-width: 620px) {
  .session-notes-modal { padding: .7rem; }
  .session-notes-card { padding: 1.1rem; }
  .session-notes-actions { flex-direction: column; align-items: stretch; }
  .session-mic-button,
  .session-secondary-button { width: 100%; }
}

/* ========================================================================
   SPEAKER CARDS
   ======================================================================== */
.speaker-card { padding: 1.4rem 1.5rem; }
.sp-head { display: flex; gap: 1rem; align-items: center; margin-bottom: .25rem; }
.sp-photo-wrap {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 2px solid var(--red);
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
}
.sp-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-head-text { flex: 1 1 auto; min-width: 0; }
.sp-name { font-family: 'Merriweather', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.sp-firm { font-size: .9rem; color: var(--red-dark); font-weight: 700; margin-top: 2px; }
.sp-role { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.sp-session { font-size: .85rem; color: var(--text-light); margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--line-soft); }
.sp-bio { font-size: .92rem; color: var(--text); margin: .8rem 0 0; line-height: 1.6; }
.sp-profile-link { margin-top: .7rem; padding-top: .55rem; border-top: 1px solid var(--line-soft); }
.sp-profile-link a { font-size: .82rem; font-weight: 700; color: var(--red); }
.sp-profile-link a:hover { text-decoration: underline; }

/* Speaker icon row - website, LinkedIn, email */
.sp-icons {
  display: flex; gap: .5rem;
  margin-top: .8rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line-soft);
}
.sp-icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text-light);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.sp-icon-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}
.sp-icon-link:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sp-icon-link svg { display: block; }
.sp-icon-link.sp-icon-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }

.sp-resources {
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line-soft);
}
.sp-resource-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  max-width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sp-resource-link:hover {
  border-color: var(--red);
  box-shadow: 0 5px 16px rgba(0,0,0,.08);
  transform: translateY(-1px);
  text-decoration: none;
}
.sp-resource-link svg {
  flex: 0 0 auto;
  color: var(--red);
}
.sp-resource-link span { min-width: 0; }
.sp-resource-type {
  display: block;
  font-size: .68rem;
  line-height: 1;
  font-weight: 800;
  color: var(--red-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sp-resource-title {
  display: block;
  margin-top: .2rem;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
}
.sp-resource-desc {
  display: block;
  margin-top: .12rem;
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* Speaker name link from agenda glance + agenda page */
.speaker-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--muted);
  transition: color .15s, border-color .15s;
}
.speaker-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}

/* Anchor scroll offset so cards aren't hidden under the sticky nav */
.speaker-card { scroll-margin-top: 100px; }
.speaker-card:target {
  box-shadow: 0 0 0 2px var(--red), 0 14px 30px rgba(0,0,0,.10);
  transition: box-shadow .25s;
}

/* Make home top-5 list items clickable links */
.area-list li a {
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  padding: 1px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.area-list li a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}

/* ========================================================================
   FLOATING PAGE-TOOLS FAB - adapted from TEXPERS Field Guide
   ======================================================================== */
.utility-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 11px 18px 11px 14px;
  cursor: pointer;
  z-index: 100;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .4px;
  box-shadow: 0 8px 22px rgba(20,20,20,.30), 0 2px 6px rgba(20,20,20,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.utility-fab:hover {
  background: #2a2a2a;
  box-shadow: 0 10px 28px rgba(20,20,20,.36), 0 3px 9px rgba(20,20,20,.24);
  transform: translateY(-1px);
}
.utility-fab:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.utility-fab-icon { width: 18px; height: 18px; fill: var(--red); flex: 0 0 auto; }
.utility-fab-label { white-space: nowrap; }
@media (max-width: 520px) {
  .utility-fab { padding: 10px 14px 10px 12px; bottom: 16px; right: 16px; font-size: .72rem; }
  .utility-fab-icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .utility-fab { transition: none; }
  .utility-fab:hover { transform: none; }
}

.utility-modal {
  position: fixed; inset: 0;
  background: rgba(20,20,20,.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
  padding: 1rem;
}
.utility-modal.open { opacity: 1; pointer-events: auto; }
.utility-modal-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  max-width: 420px; width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  transform: translateY(8px) scale(.98);
  transition: transform .22s cubic-bezier(.2,.7,.2,1);
}
.utility-modal.open .utility-modal-card { transform: translateY(0) scale(1); }
.utility-modal-close {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none;
  font-size: 1.55rem; line-height: 1;
  cursor: pointer; color: var(--text-light);
  padding: .25rem .5rem; border-radius: 4px;
  transition: background .15s, color .15s;
}
.utility-modal-close:hover { background: var(--bg); color: var(--ink); }
.utility-modal-close:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.utility-modal-eyebrow {
  font-size: .62rem; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.utility-modal-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  margin: .15rem 0 1rem; line-height: 1.25;
}
.utility-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.utility-tab {
  background: none; border: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .5px;
  color: var(--text-light);
  padding: .55rem .9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.utility-tab:hover { color: var(--ink); }
.utility-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.utility-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 3px; }
.utility-panel[hidden] { display: none; }

/* Resources panel */
.utility-resources-list { list-style: none; padding: 0; margin: 0; }
.utility-resources-list li { margin: 0; padding: 0; }
.utility-resources-list a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  padding: .7rem .75rem;
  border-radius: 6px;
  color: var(--ink);
  border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.utility-resources-list a:hover {
  color: var(--red);
  background: var(--red-soft);
  border-left-color: var(--red);
  text-decoration: none;
}
.utility-resources-list .ur-num {
  font-family: 'JetBrains Mono', SFMono-Regular, monospace;
  font-size: .72rem; color: var(--muted); font-weight: 700;
  flex: 0 0 auto;
}
.utility-resources-list .ur-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .9rem; flex: 1 1 auto;
}
.utility-resources-list .ur-ext {
  font-size: .85rem; color: var(--muted); flex: 0 0 auto;
}
.utility-resources-list a:hover .ur-num,
.utility-resources-list a:hover .ur-ext { color: var(--red); }

/* Share panel */
.utility-modal-img {
  width: 240px; height: 240px;
  display: block; margin: .25rem auto 0;
  border: 4px solid #fff; background: #fff;
}
.utility-modal-url {
  font-family: 'JetBrains Mono', Consolas, monospace;
  color: var(--ink);
  font-size: .76rem; font-weight: 600;
  margin-top: 1rem;
  word-break: break-all;
  padding: .55rem .8rem;
  background: var(--bg);
  border-radius: 4px;
  text-align: center;
}
.utility-modal-hint {
  font-size: .76rem; color: var(--text-light);
  margin-top: .7rem; line-height: 1.5; text-align: center;
}
.utility-copy-btn {
  display: block; margin: 1rem auto 0;
  background: #fff; border: 1px solid var(--line);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .8rem; font-weight: 600;
  padding: .5rem 1rem; border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.utility-copy-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.utility-copy-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ========================================================================
   AREA / PLACE CARDS - wrapped as <a> with separate Google Maps link
   ======================================================================== */
.area-h2 { display: inline-flex; align-items: center; gap: .55rem; }
.cat-swatch {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 4px;
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset;
}
.area-section { scroll-margin-top: 100px; }

.place-card-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.place-card-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  border-color: var(--ink);
}
.place-card-link {
  display: grid; grid-template-columns: 56px 1fr;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
}
.place-card-link:hover { text-decoration: none; color: inherit; }
.place-rank {
  background: var(--ink); color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.6rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.place-body { padding: 1.05rem 1.2rem; }
.place-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.place-meta {
  margin-top: .35rem; font-size: .82rem; color: var(--muted);
  font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .2px;
}
.place-meta .sep { margin: 0 .5rem; opacity: .5; }
.place-rating { color: var(--gold); font-weight: 700; }
.place-addr { font-size: .8rem; color: var(--text-light); margin-top: .3rem; font-style: italic; }
.place-extra { margin: .7rem 0 .5rem; padding-top: .55rem; border-top: 1px solid var(--line-soft); }
.area-detail-row {
  display: grid; grid-template-columns: 65px 1fr; gap: .55rem;
  font-size: .82rem; padding: .15rem 0;
}
.area-detail-row .lbl { color: var(--muted); font-weight: 700; font-size: .68rem; letter-spacing: 1.4px; text-transform: uppercase; align-self: center; }
.area-detail-row span:not(.lbl) { color: var(--text); }
.place-why {
  margin-top: .6rem; padding-top: .55rem;
  border-top: 1px solid var(--line-soft);
  font-size: .85rem; color: var(--ink); font-style: italic;
}
.place-actions {
  margin-top: .8rem; padding-top: .55rem;
  border-top: 1px solid var(--line-soft);
}
.place-action-website {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .3px;
  color: var(--red);
  text-transform: none;
}
.place-card-wrap:hover .place-action-website { text-decoration: underline; }

.place-card-map {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--ink); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .3px;
  padding: .55rem .75rem;
  text-decoration: none;
  text-transform: none;
  transition: background .15s;
}
.place-card-map:hover {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}
.place-card-map svg { display: block; }

.sources-section { margin-top: 2.5rem; }
.sources-card { background: #fafaf2; border-color: var(--line-soft); }
.source-list { padding-left: 1.25rem; margin: .5rem 0 0; font-size: .8rem; }
.source-list li { color: var(--muted); }
.source-list a { word-break: break-all; }

/* ========================================================================
   AREA MAP (Leaflet)
   ======================================================================== */
.map-section { margin-top: 0; }
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
}
.map-card-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1rem;
}
.map-title { font-size: 1.4rem; margin: 0; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: .9rem;
  font-size: .82rem; color: var(--text);
}
.legend-item { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.legend-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset;
}
.area-map {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  background: #e8e2d4;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-note { margin: .7rem 0 0; font-size: .78rem; color: var(--muted); }
.map-note a { color: var(--muted); text-decoration: underline; }

/* Custom Leaflet markers */
.area-pin { background: transparent !important; border: none !important; }
.pin-mark, .pin-venue {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 800;
  font-size: 11px; letter-spacing: .2px;
  box-shadow: 0 4px 12px rgba(0,0,0,.35), 0 0 0 3px #fff inset;
  border: 2px solid rgba(255,255,255,.85);
  transition: transform .15s;
}
.pin-mark:hover, .pin-venue:hover { transform: scale(1.08); }
.pin-venue {
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.45), 0 0 0 3px #fff inset, 0 0 0 5px var(--red);
  border: 2px solid #fff;
}

/* Leaflet popup theming */
.area-popup .leaflet-popup-content-wrapper {
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  padding: 0;
}
.area-popup .leaflet-popup-content { margin: 0; padding: .85rem 1rem; min-width: 220px; }
.area-popup .popup-eyebrow {
  font-size: .65rem; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.area-popup .popup-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem; font-weight: 700; color: var(--ink);
  line-height: 1.25; margin-bottom: .25rem;
}
.area-popup .popup-addr {
  font-size: .8rem; color: var(--text-light);
  font-style: italic;
  margin-bottom: .5rem;
}
.area-popup .popup-actions {
  display: flex; flex-direction: column; gap: .25rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line-soft);
}
.area-popup .popup-actions a {
  font-size: .82rem; font-weight: 700;
  color: var(--red);
}
.area-popup .popup-actions a:hover { text-decoration: underline; }
.area-popup .leaflet-popup-tip { background: var(--surface); }

@media (max-width: 720px) {
  .area-map { height: 360px; }
  .map-card-head { flex-direction: column; align-items: flex-start; }
}

/* ========================================================================
   VENUE PAGE
   ======================================================================== */
.venue-photo-section { margin-top: 0; }
.venue-photo-figure { margin: 0; }
.venue-photo {
  width: 100%; height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.venue-photo-caption {
  margin-top: .7rem;
  font-size: .82rem; color: var(--muted);
  text-align: center;
  font-style: italic;
}
.dimensional-honor-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(159, 27, 50, .08), rgba(204, 164, 73, .10) 48%, rgba(255,255,255,.92)),
    var(--surface);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.dimensional-honor-copy {
  max-width: 900px;
  padding: 1.6rem 1.7rem 1.2rem;
}
.dimensional-honor-copy h2 {
  margin: .35rem 0 .85rem;
  font-size: 1.55rem;
}
.dimensional-honor-copy p {
  max-width: 76ch;
  margin: 0 0 .8rem;
  color: var(--text);
  line-height: 1.72;
}
.dimensional-stat-stage {
  overflow: hidden;
  border-top: 1px solid rgba(159, 27, 50, .18);
  background: rgba(26, 26, 26, .94);
  color: #fff;
}
.dimensional-stat-marquee {
  display: flex;
  width: max-content;
  animation: dimensional-stat-scroll 34s linear infinite;
}
.dimensional-stat-stage:hover .dimensional-stat-marquee {
  animation-play-state: paused;
}
.dimensional-stat-track {
  display: flex;
  gap: .75rem;
  padding: .9rem .75rem;
}
.dimensional-stat-chip {
  min-width: 205px;
  padding: .85rem .95rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.dimensional-stat-chip span {
  display: block;
  margin-top: .28rem;
  color: rgba(255,255,255,.64);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dimensional-stat-chip strong {
  display: block;
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.25;
}
@keyframes dimensional-stat-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dimensional-stat-marquee {
    width: auto;
    animation: none;
  }
  .dimensional-stat-track {
    flex-wrap: wrap;
  }
  .dimensional-stat-track[aria-hidden="true"] {
    display: none;
  }
}
.venue-card h3 {
  font-size: 1.2rem; margin-top: .5rem;
}
.venue-addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem; color: var(--text); margin: .4rem 0 1rem;
  padding: .65rem .8rem;
  background: var(--bg);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ========================================================================
   WHERE TO STAY PAGE
   ======================================================================== */
.stay-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(196,30,58,.08), rgba(200,168,78,.12) 48%, rgba(255,255,255,.94)),
    var(--surface);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.stay-hero-main {
  padding: 1.6rem 1.7rem;
}
.stay-hero-main h2 {
  margin: .25rem 0 .55rem;
  font-size: 1.7rem;
}
.stay-address-block {
  margin: .35rem 0 1rem;
  padding: .65rem .8rem;
  background: rgba(255,255,255,.64);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: .86rem;
}
.stay-hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem;
  background: rgba(26,26,26,.94);
  color: #fff;
}
.stay-aside-number {
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.stay-hero-aside strong {
  display: block;
  margin: .4rem 0 .35rem;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.15rem;
}
.stay-hero-aside p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}
.stay-filter-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 .9rem;
}
.stay-search {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.stay-search:focus {
  outline: 3px solid rgba(196,30,58,.16);
  border-color: var(--red);
}
.stay-search-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stay-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.stay-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}
.stay-table th,
.stay-table td {
  padding: .95rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.stay-table th {
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stay-sort-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.stay-sort-button span::before {
  content: "sort";
  color: rgba(255,255,255,.56);
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  letter-spacing: .04em;
}
.stay-sort-button[data-dir="asc"] span::before {
  content: "asc";
  color: var(--gold);
}
.stay-sort-button[data-dir="desc"] span::before {
  content: "desc";
  color: var(--gold);
}
.stay-table tr:last-child td { border-bottom: none; }
.stay-table tr[hidden] { display: none; }
.stay-program-link {
  color: var(--red-dark);
  font-weight: 900;
}
.stay-hotel-link {
  display: block;
  color: var(--ink);
  font-family: 'Merriweather', Georgia, serif;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
}
.stay-address {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
.stay-drive {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.stay-class-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .18rem .52rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 900;
  white-space: nowrap;
}
.stay-role {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
}
.stay-amenities {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text);
  font-size: .86rem;
  line-height: 1.5;
}
.stay-amenities li + li {
  margin-top: .22rem;
}
.stay-rate-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .28rem .62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: none;
}
.stay-rate-link:hover {
  border-color: var(--red);
  background: var(--red-soft);
  text-decoration: none;
}
.stay-rate-meta {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.stay-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.stay-table-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .28rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.stay-table-actions a:hover {
  border-color: var(--red);
  background: var(--red-soft);
  text-decoration: none;
}
.stay-empty {
  padding: 1rem;
  color: var(--muted);
  font-weight: 700;
}
.stay-source-note {
  margin: .85rem 0 0;
  color: var(--text-light);
  font-size: .84rem;
}
@media (max-width: 720px) {
  .stay-hero-panel { grid-template-columns: 1fr; }
  .stay-table { min-width: 0; }
  .stay-table thead { display: none; }
  .stay-table,
  .stay-table tbody,
  .stay-table tr,
  .stay-table td {
    display: block;
    width: 100%;
  }
  .stay-table tr {
    border-bottom: 1px solid var(--line);
  }
  .stay-table td {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: .75rem;
    padding: .75rem .9rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .stay-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .stay-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(255,255,255,.86);
  padding: 2rem 0 2.5rem;
  border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid; grid-template-columns: auto 2fr 1.4fr; gap: 1.5rem;
  align-items: center;
}
.footer-shield {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  display: flex; align-items: center; justify-content: center;
}
.footer-shield .tlffra-logo { width: 100%; height: 100%; object-fit: contain; }
.footer-eyebrow {
  font-size: .65rem; font-weight: 800; letter-spacing: 2px;
  color: rgba(255,255,255,.45); text-transform: uppercase;
  margin-bottom: .35rem;
}
.footer-title { font-family: 'Merriweather', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-meta { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 3px; }
.footer-meta a { color: var(--red); }
.footer-link a { color: rgba(255,255,255,.7); }
.footer-link a:hover { color: #fff; }
.footer-link-inline {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(200,168,78,.4);
  transition: color .15s, border-color .15s;
}
.footer-link-inline:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-decoration: none;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .footer-shield { margin: 0 auto; }
}
