﻿/* ============================================================
   Yellowstone County Jail Expansion — Shared Stylesheet
   ============================================================ */

/* --- DESIGN TOKENS ----------------------------------------- */
:root {
    --teal: #1A6B8A;
    --teal-light: #5BB3D4;
    --teal-bg: #EEF6FA;
    --teal-btn: #1A6B8A;
    --charcoal: #3D3D3D;
    --charcoal-mid: #4A4A4A;
    --charcoal-light: #F0F0EE;
    --text: #2E2E2E;
    --text-muted: #5A5A5A;
    --border: #DDDAD2;
    --white: #FFFFFF;
    --charcoal-stat: #3D3D3D;
}

/* --- RESET -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- FOCUS INDICATORS (WCAG 2.2 §2.4.11) ------------------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* --- BASE --------------------------------------------------- */
html, body {
  overflow-x: hidden;
}
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
h1, h2, h3 { font-family: 'Libre Baskerville', serif; }

main {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* --- GOVERNMENT UTILITY BANNER ----------------------------- */
.gov-banner {
  width: 100%;
  background: var(--charcoal-mid);
  font-size: 13px;
  line-height: 1.4;
}
.gov-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4px 2.5rem;
}
.gov-banner a {
  color: var(--white);
  text-decoration: none;
}
.gov-banner a:hover {
  text-decoration: underline;
}
.gov-banner a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* --- NAVIGATION -------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--teal);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  
}
.nav-logo span {
    color: var(--teal-btn);
    display: block;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0 1.1rem;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--charcoal-stat);
  border-bottom-color: var(--teal);
  background: var(--charcoal-light);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 2px solid var(--teal);
  padding: 1rem 1.5rem;
  gap: 0;
}
.nav-mobile-menu a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu .btn-tour { color: var(--white); align-self: flex-start; padding: 10px 20px; }
.nav-mobile-gov-link {
  margin-top: 0.75rem;
  padding-top: 0.75rem !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  font-size: 12px !important;
  color: var(--charcoal-mid) !important;
  text-decoration: none;
}
.nav-mobile-gov-link:hover { text-decoration: underline !important; }
.nav-mobile-gov-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.nav-mobile-menu.open { display: flex; }

/* --- BUTTONS ----------------------------------------------- */
.btn-primary {
  background: var(--teal-btn);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--teal-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); }

.btn-tour {
  background: var(--teal-btn);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-tour:hover { background: var(--charcoal); }

.btn-vote {
  background: var(--white);
  color: var(--teal-btn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-vote:hover { background: var(--charcoal); color: var(--white); }

/* --- PAGE HERO HEADER (dark navy banner) ------------------- */
.page-header {
  background: var(--charcoal);
  padding: 3rem 2.5rem 2.5rem;
}
.page-header h1 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* --- SECTIONS ---------------------------------------------- */
section { padding: 4rem 2.5rem; }
section.alt { background: var(--teal-bg); }
section.dark { background: var(--charcoal); color: var(--white); }

.section-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-btn);
    margin-bottom: 0.5rem;
}
.section-label.light { color: var(--teal-light); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
}
.section-subtitle.light { color: rgba(255, 255, 255, 0.75); }

/* --- LAYOUT GRIDS ------------------------------------------ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* --- CONTENT SECTIONS (interior pages) --------------------- */
.content-section {
  padding: 3rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.content-section:last-child { border-bottom: none; }
.content-section.alt { background: var(--teal-bg); }

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.5rem;
}
.content-grid.reverse { grid-template-columns: 1fr 1.2fr; }

/* --- STATS ROW --------------------------------------------- */
.stats-row {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  margin-top: 2.5rem;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  padding: 2rem 1.75rem;
  border-right: 1.5px solid var(--border);
  background: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal-stat);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-num.gold { color: var(--teal); }
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- INFO CARD --------------------------------------------- */
.info-card {
  border: 1.5px solid var(--border);
  padding: 1.75rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.info-card .resource-link { margin-top: auto; align-self: flex-start; }
.info-card h3 {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.info-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.info-card .card-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-bg);
  border: 1.5px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 18px;
}

/* --- LISTS ------------------------------------------------- */
ul.info-list { list-style: none; margin-top: 1rem; }
ul.info-list li {
  padding: 0.55rem 0;
  font-size: 15.5px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
}
ul.info-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* --- RESOURCE LINK ----------------------------------------- */
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-btn);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--teal);
  padding: 8px 16px;
  margin-top: 1rem;
  transition: background 0.15s, color 0.15s;
}
.resource-link:hover { background: var(--teal); color: var(--white); }

/* --- PHOTO GRID & GALLERY ---------------------------------- */
.photo-scroll-wrapper {
  position: relative;
}
.photo-scroll-wrapper::after,
.photo-scroll-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: calc(100% - 18px);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.photo-scroll-wrapper::after  { right: 0; background: linear-gradient(to right, transparent, var(--white)); }
.photo-scroll-wrapper::before { left:  0; background: linear-gradient(to left,  transparent, var(--white)); }
.photo-scroll-wrapper.scroll-fade-right::after  { opacity: 1; }
.photo-scroll-wrapper.scroll-fade-left::before  { opacity: 1; }
@media (max-width: 600px) {
  .photo-scroll-wrapper::after,
  .photo-scroll-wrapper::before { display: none; }
}
.photo-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
}
/* Shared by .timeline-nav and .photo-nav */
.timeline-nav-btn,
.photo-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-btn);
  background: transparent;
  color: var(--teal-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.timeline-nav-btn:hover:not(:disabled),
.photo-nav-btn:hover:not(:disabled) {
  background: var(--teal-btn);
  color: var(--white);
}
.timeline-nav-btn:focus-visible,
.photo-nav-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.timeline-nav-btn:disabled,
.photo-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.photo-grid {
  display: flex;
  overflow-x: scroll;
  gap: 1rem;
  margin-top: 1rem;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: auto;
  scrollbar-color: var(--teal-btn) var(--border);
}
.photo-grid::-webkit-scrollbar { height: 8px; }
.photo-grid::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
.photo-grid::-webkit-scrollbar-thumb { background: var(--teal-btn); border-radius: 4px; }
.photo-grid:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  margin: 0;
}
.gallery-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.gallery-btn:hover {
  opacity: 0.85;
}
.gallery-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.gallery-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-caption {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0.5rem 0 0;
  line-height: 1.4;
}

/* --- IMAGE PLACEHOLDER ------------------------------------- */
.img-placeholder {
  background: #EEF2F8;
  border: 1.5px dashed var(--border);
  display: flex;  
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  min-height: 220px;
  padding: 1rem;
}

/* --- MASTHEAD IDENTITY STRIP (home page) ------------------- */
.masthead-identity {
  width: 100%;
  background: var(--charcoal-light);
  border-bottom: 1.5px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
}
.masthead-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* --- HERO (home page) -------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
  color: var(--white);
  padding: 5rem 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 420px;
}
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.hero h1 em { color: var(--teal-light); font-style: normal; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-placeholder {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.hero-image-placeholder svg { opacity: 0.4; }

/* --- TOUR FORM --------------------------------------------- */
.tour-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tour-form input,
.tour-form textarea {
  border: 1.5px solid var(--border);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.tour-form input:focus,
.tour-form textarea:focus {
  border-color: var(--teal);
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.tour-form input.invalid,
.tour-form textarea.invalid {
  border-color: #c0392b;
}

.tour-form textarea {
  resize: vertical;
}

.tour-form .field-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: -0.4rem;
  display: none;
}

.tour-form .field-error.visible {
  display: block;
}

.tour-form .btn-primary {
  align-self: flex-start;
}

.tour-intro {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tour-contact-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 1rem;
}

.tour-contact-note a {
  color: var(--teal-btn);
}

.tour-success {
  display: none;
  background: var(--teal-bg);
  border: 1.5px solid var(--teal);
  padding: 2.5rem 2rem;
  color: var(--charcoal);
  margin-top: 1rem;
}


/* --- QUOTE CAROUSEL ---------------------------------------- */
.quote-carousel {
  background: var(--charcoal);
  padding: 3.5rem 2.5rem;
  margin-bottom: 1.25rem;
}
.quote-carousel .section-label { color: var(--teal-light); }
.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  height: 240px;
}
blockquote {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--white);
  font-style: italic;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.quote-attr {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
}
.carousel-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.carousel-count {
  font-size: 18px;
  color: var(--teal-light);
  min-width: 40px;
  text-align: center;
}

/* --- INSTAGRAM GRID ---------------------------------------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 1.5rem;
}
.insta-post {
  aspect-ratio: 1;
  background: #EEF2F8;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
}

/* --- TIMELINE ---------------------------------------------- */
.timeline-scroll-wrapper {
  position: relative;
}
.timeline-scroll-wrapper::after,
.timeline-scroll-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: calc(100% - 18px);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.timeline-scroll-wrapper::after  { right: 0; background: linear-gradient(to right, transparent, var(--white)); }
.timeline-scroll-wrapper::before { left:  0; background: linear-gradient(to left,  transparent, var(--white)); }
.timeline-scroll-wrapper.scroll-fade-right::after  { opacity: 1; }
.timeline-scroll-wrapper.scroll-fade-left::before  { opacity: 1; }
@media (max-width: 600px) {
  .timeline-scroll-wrapper::after,
  .timeline-scroll-wrapper::before { display: none; }
}
.timeline-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.timeline-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: scroll;
  padding-bottom: 1.5rem;
  margin-top: 2.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: auto;
  scrollbar-color: var(--teal-btn) var(--border);
}
.timeline-track::-webkit-scrollbar {
  height: 8px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 4px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--teal-btn);
  border-radius: 4px;
}
.timeline-track:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.timeline-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.tl-dot-line {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  margin-right: -1.5rem;
}
.tl-dot {
  width: 18px;
  height: 18px;
  background: var(--teal-btn);
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}
.tl-line {
  flex: 1;
  height: 3px;
  background: var(--teal);
  opacity: 0.35;
}
.tl-line.last { background: transparent; }
.tl-year {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.3rem;
}
.tl-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.tl-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.tl-img {
  background: #EEF2F8;
  border: 1px dashed var(--border);
  height: 90px;
  margin-top: auto;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
}
.timeline-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* --- FAQ --------------------------------------------------- */
.faq-category { margin-bottom: 2.5rem; }
.faq-cat-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  position: relative;
  display: block;
  line-height: 1.4;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--teal);
  font-weight: 300;
}
.faq-q.open::after { content: '−'; }
.faq-a {
  display: none;
  padding: 0 0 1rem 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
}
.faq-a.open { display: block; }

/* --- BOND PAGE --------------------------------------------- */
.bond-highlight {
  background: var(--charcoal);
  color: var(--white);
  padding: 2.5rem;
  text-align: center;
}
.bond-highlight .big-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 4rem;
  color: var(--teal-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.bond-highlight p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}
.vote-banner {
  background: var(--teal-btn);
  color: var(--white);
  text-align: center;
  padding: 2.5rem;
  margin-top: 3rem;
}
.vote-banner h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.vote-banner p { 
  color: rgba(255, 255, 255, 0.85); 
  margin-bottom: 1.5rem; 
   font-size: 18px;
}

/* --- PROJECT OVERVIEW -------------------------------------- */
.overview-highlight {
  background: var(--charcoal-light);
  border-left: 4px solid var(--charcoal);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.overview-highlight p { font-size: 15px; color: var(--charcoal); line-height: 1.65; }
.pill {
  display: inline-block;
  background: var(--teal-bg);
  color: var(--teal);
  border: 1px solid var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* --- FOOTER ------------------------------------------------ */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.87);
  font-size: 14px;
  padding: 0;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.87); text-decoration: none; }
.footer-links a:hover { color: var(--teal-light); }
.footer-email { color: rgba(255, 255, 255, 0.87); text-decoration: underline; }
.footer-email:hover { color: var(--teal-light); }
.footer-book {
  background: var(--teal-btn);
  color: var(--white);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.social-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.87);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.social-icon:hover { background: var(--teal-btn); }

/* --- DATA TABLES ------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 1.25rem;
}
.data-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  padding-top: 0.75rem;
  line-height: 1.6;
}
.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1.5px solid var(--border);
  line-height: 1.5;
}
.data-table th {
  background: var(--charcoal-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.data-table td { color: var(--text); }

/* --- FAQ JUMP LINKS ---------------------------------------- */
.faq-jump-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--charcoal-light);
  border: 1.5px solid var(--border);
}
.faq-jump-nav a {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  padding: 10px 12px;
  border: 1.5px solid var(--teal);
  transition: background 0.15s, color 0.15s;
}
.faq-jump-nav a:hover,
.faq-jump-nav a:focus-visible {
  background: var(--teal);
  color: var(--white);
}

/* --- TIMELINE PROPOSED SECTION ----------------------------- */
.timeline-proposed-section {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--teal-bg);
  border: 1.5px solid var(--teal);
  width: 100%;
  box-sizing: border-box;
}
.timeline-proposed-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  margin-bottom: 0.35rem;
}

/* --- LIGHTBOX ---------------------------------------------- */
dialog.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}
dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 2rem;
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}
.lightbox-img {
  max-height: 75vh;
  max-width: 90vw;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-top: 1rem;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
  min-height: 1.4em;
}
.lightbox-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.lightbox-prev,
.lightbox-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}
.lightbox-counter {
  font-size: 14px;
  color: var(--teal-light);
  min-width: 48px;
  text-align: center;
}

/* --- RETURN TO TOP ----------------------------------------- */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.15s;
}
.back-to-top:hover { background: #155a75; }

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 893px) {
  .hero,
  .two-col,
  .three-col,
  .content-grid,
  .content-grid.reverse { grid-template-columns: 1fr; }
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .desktop-only { display: none; }
  .nav-hamburger { display: flex; }
  section, .content-section { padding: 2.5rem 1.25rem; }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .footer-book {
    display: none;
  }
  .social-icon {
    display: none;
  }
  .quote-block {
    height: 380px;
  }
  .stats-row {
    flex-wrap: wrap;
  }
  .stats-row .stat-item {
    flex: 1 1 50%;
    min-width: 0;
    padding: 1.25rem 1rem;
    border-bottom: 1.5px solid var(--border);
  }
  .stats-row .stat-item:nth-child(even) { border-right: none; }
  .stats-row .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stats-row .stat-num { font-size: 2.2rem; }
  .stats-row--stack .stat-item {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1.5px solid var(--border);
  }
  .stats-row--stack .stat-item:nth-last-child(-n+2) { border-bottom: 1.5px solid var(--border); }
  .stats-row--stack .stat-item:last-child { border-bottom: none; }
  .lightbox-img { max-width: 95vw; }
  .lightbox-inner { padding: 1rem; }
  .faq-jump-nav { grid-template-columns: repeat(2, 1fr); }
  .gov-banner { display: none; }
  .back-to-top.visible { display: flex; }
}
