/* ===================================================
   DownsizeCalgary.ca — Main Stylesheet
   Brand: Warm & Trustworthy
   Sage (#5C7A6B) | Terracotta (#C17F5E) | Cream (#FAF7F2)
   =================================================== */

/* --- CSS Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #4A6858;
  --navy-dark: #36503F;
  --navy-light: #5C7A6B;
  --gold: #C17F5E;
  --gold-light: #D09A7A;
  --gold-dark: #A0644A;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE1;
  --white: #FFFFFF;
  --charcoal: #333333;
  --text: #444444;
  --text-light: #666666;
  --text-dark: #222222;
  --border: #E2DAD0;
  --success: #5A8F5A;
  --shadow-sm: 0 1px 3px rgba(74,104,88,0.08);
  --shadow-md: 0 4px 12px rgba(74,104,88,0.1);
  --shadow-lg: 0 8px 30px rgba(74,104,88,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1em; }

a {
  color: var(--navy-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-sage { color: var(--navy); }
.text-navy { color: var(--navy); }
.bg-white { background-color: var(--white); }
.bg-cream { background-color: var(--cream); }
.bg-navy { background-color: var(--navy); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Skip to Content (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.9rem;
}
.skip-link:focus { top: 0; }

/* --- Top Bar --- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar a {
  color: var(--gold-light);
  font-weight: 600;
}
.top-bar a:hover { color: var(--gold); }

/* --- Header --- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo .logo-text {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.site-logo .logo-text span { color: var(--gold); }
.site-logo .logo-tagline {
  font-family: 'Georgia', serif;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

/* --- Navigation --- */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.main-nav a {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--cream);
  color: var(--gold-dark);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 0.5rem 0;
  z-index: 999;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--cream); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1;
}

/* CTA Button in nav */
.nav-cta a {
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem !important;
}
.nav-cta a:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96V320H0Z"></path></svg>') no-repeat bottom center;
  background-size: cover;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 0.3em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--gold-light);
  font-family: 'Georgia', serif;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.hero .lead {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

/* --- Interior Hero (smaller) --- */
.hero-interior {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
.hero-interior h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.3em;
}
.hero-interior .subtitle {
  color: var(--gold-light);
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.05rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 0.75rem 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumbs a { color: var(--navy-light); }
.breadcrumbs span { margin: 0 0.3rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.4;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.88rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-light); font-size: 0.95rem; }
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link:hover { color: var(--gold-dark); }

/* Card Grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Sections --- */
.section {
  padding: 3.5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p {
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1rem;
  border-radius: 2px;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-item strong { color: var(--navy); }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 2rem 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* --- Building / Resource Listing --- */
.listing-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all var(--transition);
}
.listing-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.listing-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}
.listing-content h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.listing-content .listing-meta {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.listing-content .listing-meta span {
  margin-right: 1rem;
}
.listing-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.tag {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: var(--cream);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tag-gold { background: rgba(201,146,62,0.15); color: var(--gold-dark); }
.tag-green { background: rgba(90,143,90,0.15); color: var(--success); }

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }

/* --- Sidebar --- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
.sidebar .sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}
.cta-banner .phone-number {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  margin-bottom: 1rem;
}
.cta-banner .phone-number a { color: var(--gold-light); }
.cta-banner .phone-number a:hover { color: var(--gold); }

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193,127,94,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col p { margin-bottom: 0.5rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); }
/* --- Footer Disclosure --- */
.footer-disclosure {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 0 0.8rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.footer-disclosure p { margin-bottom: 0.4rem; }
.footer-disclosure p:last-child { margin-bottom: 0; }
.footer-disclosure strong { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-disclosure a { color: var(--gold-light); }
.footer-disclosure abbr { text-decoration: underline dotted; cursor: help; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--gold-light); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 17px; }
  .hero h1 { font-size: 2rem; }
  .hero-interior h1 { font-size: 1.7rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    padding-top: 0.75rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--cream-dark);
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
  .nav-dropdown:hover .dropdown-menu { display: block; }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }

  .listing-item { flex-direction: column; }
  .trust-items { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .top-bar .container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero { padding: 2.5rem 0; }
  .hero h1 { font-size: 1.7rem; }
  .section { padding: 2.5rem 0; }
  .btn { padding: 0.65rem 1.4rem; }
  .stats-grid { grid-template-columns: 1fr; }
}


/* Language Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-toggle a {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.lang-toggle a.active {
  background: var(--gold);
  color: #fff;
}
.lang-toggle a:not(.active) {
  color: var(--navy-light);
  background: rgba(255,255,255,0.1);
}
.lang-toggle a:not(.active):hover {
  background: var(--gold-light);
  color: #fff;
}
.lang-toggle .lang-sep {
  color: rgba(255,255,255,0.3);
  font-weight: 400;
}

/* --- Print --- */
@media print {
  .site-header, .top-bar, .site-footer, .cta-banner, .menu-toggle { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  .hero { background: none; color: black; padding: 1rem 0; }
  .hero h1 { color: black; text-shadow: none; }
  a { color: black; text-decoration: underline; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* ===================================================
   ACCESSIBILITY TOOLBAR
   Senior-friendly: font size controls + high contrast
   Pure CSS/JS — zero external dependencies, no performance impact
   =================================================== */

/* Toolbar container */
.access-toolbar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--navy-dark);
  border-radius: 10px 0 0 10px;
  padding: 8px 6px;
  box-shadow: -2px 0 12px rgba(0,0,0,0.2);
}

.access-toolbar button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.access-toolbar button:hover,
.access-toolbar button:focus {
  background: var(--gold);
  outline: 2px solid #fff;
}

.access-toolbar .access-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.55rem;
  text-align: center;
  letter-spacing: 0.05em;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin-top: 2px;
  text-transform: uppercase;
}

.access-toolbar .access-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 4px 0;
}

/* Font size states — applied to <html> */
html.text-lg   { font-size: 21px; }
html.text-xl   { font-size: 24px; }

/* High contrast mode */
html.high-contrast {
  filter: none;
}
html.high-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.high-contrast .site-header,
html.high-contrast .top-bar {
  background: #111 !important;
}
html.high-contrast .card,
html.high-contrast .building-card,
html.high-contrast .resource-card,
html.high-contrast .step-card {
  background: #111 !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}
html.high-contrast h1,
html.high-contrast h2,
html.high-contrast h3,
html.high-contrast h4 {
  color: #FFD700 !important;
}
html.high-contrast a {
  color: #FFD700 !important;
  text-decoration: underline !important;
}
html.high-contrast .btn,
html.high-contrast .btn-primary {
  background: #FFD700 !important;
  color: #000 !important;
  border: 2px solid #fff !important;
}
html.high-contrast .hero {
  background: #000 !important;
}
html.high-contrast .hero h1,
html.high-contrast .hero p {
  color: #fff !important;
  text-shadow: none !important;
}
html.high-contrast .site-footer {
  background: #111 !important;
  color: #fff !important;
}
html.high-contrast .cta-banner {
  background: #222 !important;
  color: #fff !important;
}
html.high-contrast .access-toolbar {
  background: #333;
  border: 2px solid #fff;
}

/* Active state indicator */
.access-toolbar button.active {
  background: var(--gold) !important;
  color: #fff;
}

@media (max-width: 600px) {
  .access-toolbar {
    top: auto;
    bottom: 80px;
    right: 0;
    transform: none;
    flex-direction: row;
    border-radius: 10px 10px 0 0;
    padding: 6px 8px;
  }
  .access-toolbar .access-label { display: none; }
  .access-toolbar .access-divider { width: 1px; height: 44px; margin: 0 4px; }
}
