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

:root {
  --plum: #5C2D6E;
  --plum-dark: #3A1A45;
  --plum-light: #FBF6FF;
  --plum-mid: #7B4A91;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --white: #FFFFFF;
  --border: #E8DFF0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
}

/* Navigation */
.site-nav {
  background: linear-gradient(to right, #5C2D6E, #2D6E4E);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid rgba(255,255,255,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  color: var(--white);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* Main content */
main {
  min-height: calc(100vh - 60px - 80px);
}

/* Hero */
.hero {
  background: var(--plum-dark);
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-style: italic;
}

.btn {
  display: inline-block;
  background: var(--plum);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn:hover {
  background: linear-gradient(to right, #5C2D6E, #2D6E4E);
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--plum-dark);
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--white);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: linear-gradient(to right, #5C2D6E, #2D6E4E);
  color: #ffffff;
  padding: 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}
/* Mobile responsive */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 0;
    gap: 0.5rem;
  }

  .nav-brand {
    font-size: 2rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    font-weight: 400;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-email {
    display: block;
  }


/* Tables */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
  }

  th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border);
    color: var(--plum-dark);
    font-weight: 500;
  }

  td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }

  td:first-child {
    white-space: nowrap;
    color: var(--plum);
    font-weight: 500;
    width: 200px;
  }
}

/* Single page content */
  .section h1 {
    max-width: 100%;
    margin-bottom: 2rem;
    color: var(--plum-dark);
    font-size: 2rem;
    font-weight: 500;
  }

  .section h2 {
    margin-top: 2.5rem;
  }

  .section p {
    max-width: 100%;
  }

  table {
    width: 100%;
    max-width: 100%;
  }


/* Sidebar layout */
.page-with-sidebar {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 0;
  padding: 4rem 2rem;
  width: 100%;
  box-sizing: border-box;

}

.sidebar {
  width: 220px;
  flex-shrink: 0;
}

.sidebar-nav {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1rem .75rem 2rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav a:hover {
  background: var(--plum-light);
  color: var(--plum);
}

.sidebar-nav a.active {
  background: var(--plum-light);
  color: var(--plum);
  font-weight: 500;
  border-left: 3px solid var(--plum);
}

.sidebar-nav a.sidebar-parent {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
  background: var(--plum-dark);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.page-content {
  flex: 1;
  min-width: 0;
  padding-right: 0 2rem;
}

/* Mobile sidebar */
@media (max-width: 480px) {
  .page-with-sidebar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .sidebar {
    width: 100%;
  }
}

/* Page content typography */
.page-content h1 {
  margin-bottom: 2rem;
  color: var(--plum-dark);
  font-size: 2rem;
    font-weight: 500;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  color: var(--plum-dark);
  font-size: 1.5rem;
  font-weight: 500;
}

.page-content p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* Solo pages (no sidebar) */
.page-content.solo {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Solo pages (no sidebar) */
.page-content.solo {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Nav divider and external property links */
.nav-divider {
  display: inline-block;
  width: 1px;
  height: 1.2rem;
  background: rgba(255,255,255,0.3);
  margin: 0 0.5rem;
  vertical-align: middle;
}
.nav-external {
  border: 1.5px solid #ffffff !important;
  border-radius: 4px;
  padding: 0.25rem 0.75rem !important;
}
.nav-external:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #ffffff !important;
}

/* Skip navigation link — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #3A1A45;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  top: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  color: #666666;
}
.breadcrumb a {
  color: #5C2D6E;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-current {
  color: #3A1A45;
  font-weight: 500;
}

/* Nav overflow fix — mid-size windows */
@media (max-width: 900px) {
  .nav-links {
    gap: 0.5rem 0.75rem;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .nav-external {
    padding: 0.2rem 0.5rem !important;
  }
}

/* Font size controls — WCAG 1.4.4 */
.font-size-controls {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #3A1A45;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.font-size-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  margin-right: 0.25rem;
}
.font-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.font-btn:nth-child(2) { font-size: 0.75rem; }
.font-btn:nth-child(3) { font-size: 1rem; }
.font-btn:nth-child(4) { font-size: 1.25rem; }
.font-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
}
.font-btn-active {
  background: rgba(255,255,255,0.2) !important;
  border-color: #ffffff !important;
}
.font-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Nav fixed sizing — prevents nav breaking at large font sizes */
.nav-brand {
  font-size: 1.6rem !important;
  white-space: nowrap;
}
.nav-links a {
  white-space: nowrap;
}
.site-nav {
  min-height: 60px;
}

/* Nav brand fixed px — never scales with font size controls */
.nav-brand {
  font-size: 22px !important;
  white-space: nowrap;
}
.nav-links a {
  font-size: 15px !important;
  white-space: nowrap;
}
.nav-links .nav-external {
  font-size: 15px !important;
}

/* Font size controls — inline in nav */
.font-size-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.font-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.font-btn:nth-of-type(1) { font-size: 13px; }
.font-btn:nth-of-type(2) { font-size: 16px; }
.font-btn:nth-of-type(3) { font-size: 20px; }
.font-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
}
.font-btn-active {
  background: rgba(255,255,255,0.2) !important;
  border-color: #ffffff !important;
}
.font-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .font-size-controls {
    justify-content: center;
    width: 100%;
    padding: 0.25rem 0;
  }
}

/* Font size controls — inline in nav */
.font-size-controls {
  display: flex !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  align-items: center;
  gap: 0.25rem;
  bottom: auto !important;
  right: auto !important;
}
.font-size-label {
  display: none !important;
}
.font-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.font-btn:nth-child(1) { font-size: 11px !important; }
.font-btn:nth-child(2) { font-size: 14px !important; }
.font-btn:nth-child(3) { font-size: 17px !important; }
.font-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
}
.font-btn-active {
  background: rgba(255,255,255,0.2) !important;
  border-color: #ffffff !important;
}

/* Hide nav dividers on mobile */
@media (max-width: 768px) {
  .nav-divider {
    display: none;
  }
  .font-size-controls {
    justify-content: center;
    padding: 0.25rem 0;
  }
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #5C2D6E, #3A1A45);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1rem;
    z-index: 99;
  }
  .nav-links.nav-open {
    display: flex;
  }
  .nav-links a {
    font-size: 1rem !important;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links a:last-of-type {
    border-bottom: none;
  }
  .nav-divider {
    display: none;
  }
  .font-size-controls {
    justify-content: center;
    padding: 0.5rem 0 0;
    width: 100%;
  }
  .nav-external {
    border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 4px;
    padding: 0.4rem 1rem !important;
    width: auto !important;
  }
}

/* Mobile nav bar */
.nav-mobile-bar {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Mobile dropdown */
.nav-dropdown {
  display: none;
  flex-direction: column;
  background: #3A1A45;
  padding: 0.5rem 0;
  position: absolute;
  right: 0;
  top: 60px;
  width: 200px;
  border-radius: 0 0 0 8px;
  box-shadow: -2px 4px 12px rgba(0,0,0,0.3);
  z-index: 99;
}
.nav-dropdown.nav-dropdown-open {
  display: flex;
}
.nav-dropdown a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-dropdown a:last-child {
  border-bottom: none;
}
.nav-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}
.nav-dropdown .nav-external {
  border: 1px solid rgba(255,255,255,0.4) !important;
  margin: 0.35rem 1rem;
  border-radius: 4px;
  text-align: center;
  padding: 0.4rem 1rem !important;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .nav-mobile-bar {
    display: flex;
  }
  .nav-hamburger {
    display: flex;
  }
  .mobile-font .font-size-label {
    display: none;
  }
}

/* Nav inner gap fix */
.nav-inner {
  gap: 1.5rem;
}

/* Nav links vertical alignment */
.nav-links {
  align-items: center;
  padding-top: 3px;
}

/* Contrast toggle button */
.contrast-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px !important;
  padding: 0.2rem 0.4rem;
  margin-left: 0.25rem;
}
.contrast-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
}
.contrast-btn-active {
  background: rgba(255,255,255,0.2) !important;
  border-color: #ffffff !important;
}
.contrast-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* High contrast mode */
html.high-contrast {
  filter: none;
}
html.high-contrast body {
  background: #000000;
  color: #ffffff;
}
html.high-contrast .page-content,
html.high-contrast .page-content p,
html.high-contrast .page-content h1,
html.high-contrast .page-content h2,
html.high-contrast .page-content h3 {
  color: #ffffff;
  letter-spacing: 0.03em;
}
html.high-contrast .hero h1,
html.high-contrast .hero p {
  color: #ffffff;
}
html.high-contrast .hero {
  background: #000000;
}
html.high-contrast .section {
  background: #000000;
}
html.high-contrast .card {
  background: #1a1a1a;
  border: 1px solid #ffffff;
  color: #ffffff;
}
html.high-contrast .card h3,
html.high-contrast .card p {
  color: #ffffff;
}
html.high-contrast .card a {
  color: #ffff00;
}
html.high-contrast a {
  color: #ffff00;
}
html.high-contrast .breadcrumb a {
  color: #ffff00;
}
html.high-contrast .breadcrumb-current {
  color: #ffffff;
}
html.high-contrast .sidebar {
  background: #1a1a1a;
  border: 1px solid #ffffff;
}
html.high-contrast .sidebar a {
  color: #ffffff;
}
html.high-contrast .sidebar-parent {
  background: #333333 !important;
  color: #ffffff !important;
}
html.high-contrast .site-footer {
  background: #1a1a1a;
  border-top: 1px solid #ffffff;
}
html.high-contrast .site-footer a {
  color: #ffff00;
}
html.high-contrast .btn {
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}
html.high-contrast .privacy-lead {
  color: #ffffff;
}

/* High contrast — fix remaining low contrast elements */
html.high-contrast h1,
html.high-contrast h2,
html.high-contrast h3,
html.high-contrast h4,
html.high-contrast p,
html.high-contrast li,
html.high-contrast span,
html.high-contrast td,
html.high-contrast th {
  color: #ffffff !important;
  letter-spacing: 0.03em;
}
html.high-contrast .btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
}
html.high-contrast .section {
  background: #000000 !important;
}
html.high-contrast [style*="background"] {
  background: #000000 !important;
}

/* High contrast — sidebar fixes */
html.high-contrast .sidebar-nav a.active,
html.high-contrast .sidebar-nav a:hover {
  background: #ffffff !important;
  color: #000000 !important;
}
html.high-contrast .sidebar-nav a {
  color: #ffffff !important;
  border-color: #ffffff !important;
}
html.high-contrast .sidebar-parent {
  background: #333333 !important;
  color: #ffffff !important;
}

/* High contrast sidebar border fix */
html.high-contrast .sidebar {
  border-radius: 0 !important;
  overflow: hidden;
}
html.high-contrast .sidebar-nav {
  border-radius: 0 !important;
}

/* Mobile dropdown — clear the font controls row */
@media (max-width: 768px) {
  .nav-dropdown {
    top: 100px !important;
  }
}

/* Mobile dropdown — dynamic top based on nav height */
@media (max-width: 768px) {
  .nav-dropdown {
    top: 110px !important;
  }
}

/* Mobile dropdown — wider on small screens */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 250px !important;
    right: 0 !important;
  }
}

/* Mobile dropdown — full width */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* Remove top override — JS handles positioning dynamically */
@media (max-width: 768px) {
  .nav-dropdown {
    top: unset !important;
  }
}

/* Remove top override — JS handles positioning dynamically */
@media (max-width: 768px) {
  .nav-dropdown {
    top: unset !important;
  }
}

/* Focus indicators — WCAG 2.4.7 */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #FFB347;
  outline-offset: 3px;
}
.page-content a:focus,
.sidebar a:focus,
.breadcrumb a:focus {
  outline: 3px solid #FFB347;
  outline-offset: 3px;
}
html.high-contrast a:focus,
html.high-contrast button:focus {
  outline: 3px solid #FFB347 !important;
  outline-offset: 3px;
}

/* Button focus — soft orange for visibility on plum background */
.btn:focus,
a.btn:focus {
  outline: 3px solid #FFB347 !important;
  outline-offset: 3px;
}

/* ── Focus indicators — clean dual outline — works on all backgrounds ── */
/* Remove all previous focus styles and apply consistent dual outline */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #ffffff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #3A1A45 !important;
}
/* High contrast mode — yellow stands out */
html.high-contrast a:focus,
html.high-contrast button:focus {
  outline: 3px solid #ffff00 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #000000 !important;
}

/* Override btn focus specifically */
.btn:focus,
a.btn:focus {
  outline: 3px solid #ffffff !important;
  outline-style: solid !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #3A1A45 !important;
}

/* Nav link focus — explicit override */
.nav-links a:focus,
.nav-dropdown a:focus {
  outline: 3px solid #ffffff !important;
  outline-style: solid !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #3A1A45 !important;
}

/* Nav link focus — white outline with transparent shadow on dark background */
.nav-links a:focus,
.nav-dropdown a:focus,
.nav-brand:focus,
.nav-hamburger:focus {
  outline: 3px solid #ffffff !important;
  outline-style: solid !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.3) !important;
}

/* Mobile touch target fixes — WCAG 2.5.8 */
.font-btn {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0.4rem 0.5rem !important;
}
.contrast-btn {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0.4rem 0.5rem !important;
}
.nav-hamburger {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0.75rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card a {
  display: inline-block;
  padding: 0.25rem 0 !important;
  min-height: 24px;
}
.site-footer a {
  display: inline-block;
  padding: 0.25rem 0;
  min-height: 24px;
}

/* Increase hamburger breakpoint to cover mid-size windows */
@media (max-width: 950px) {
  .nav-hamburger {
    display: flex !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-mobile-bar {
    display: flex !important;
  }
}

/* Fix nav at mid-size — hide desktop links when hamburger shows */
@media (min-width: 769px) and (max-width: 950px) {
  .nav-links {
    display: none !important;
  }
  .nav-mobile-bar {
    display: flex !important;
  }
  .nav-hamburger {
    display: flex !important;
  }
}

/* Hamburger lines — more breathing room */
.nav-hamburger {
  width: 44px !important;
  height: 44px !important;
  gap: 5px !important;
}
.nav-hamburger span {
  width: 26px !important;
  height: 2px !important;
}
/* Hero slider */
.hero-slider-section { padding: 2rem 2rem 2rem 2rem; max-width: 1100px; margin: 0 auto; }
.slider { max-width: 1100px; margin: 0 auto; }
.slide { display: none; align-items: center; gap: 3rem; min-height: 260px; }
.slide.active { display: flex; animation: slideIn 0.5s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .slide.active { animation: none; } }
.slide-mascot { flex-shrink: 0; width: 180px; height: 180px; border-radius: 50%; background: var(--plum-light); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--plum); font-size: 0.9rem; }
.slide-text { flex: 1; }
.slide-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum-mid); margin-bottom: 0.5rem; }
.slide-title { font-size: 1.6rem; font-weight: 500; color: var(--plum-dark); margin: 0 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--plum); display: inline-block; }
.slide-tagline { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin: 0.75rem 0 1.25rem; max-width: 580px; }
.slide-btn { display: inline-block; }
.slider-controls { max-width: 1100px; margin: 1.5rem auto 0; display: flex; align-items: center; justify-content: space-between; }
.slider-dots { display: flex; gap: 10px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; min-width: 10px; min-height: 10px; transition: background 0.2s, transform 0.2s; }
.dot.active { background: var(--plum); transform: scale(1.3); }
.slider-arrow { background: transparent; border: 1.5px solid var(--plum); color: var(--plum); border-radius: 4px; width: 36px; height: 36px; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.slider-arrow:hover { background: var(--plum); color: var(--white); }
@media (max-width: 768px) {
  .slide { flex-direction: column; align-items: flex-start; gap: 1.5rem; min-height: auto; }
  .slide-mascot { width: 120px; height: 120px; align-self: center; }
  .slide-title { font-size: 1.2rem; }
}
/* h1 and h2 underlines */
.page-content h1 { border-bottom: 3px solid var(--plum); padding-bottom: 0.75rem; display: inline-block; width: 100%; }
.page-content h2 { border-bottom: 2px solid var(--plum); padding-bottom: 0.5rem; display: inline-block; width: 100%; }
/* Progressive reveal */
.reveal-section { display: none; opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-section.animating { display: block; }
.reveal-section.visible { display: block; opacity: 1; transform: translateY(0); }
.reveal-btn { display: inline-block; margin-top: 2rem; background: transparent; border: 2px solid var(--plum); color: var(--plum); padding: 0.65rem 1.75rem; border-radius: 6px; cursor: pointer; font-size: 0.95rem; font-family: inherit; font-weight: 500; transition: background 0.2s, color 0.2s; }
.reveal-btn:hover { background: var(--plum); color: var(--white); }
html.high-contrast .reveal-btn { border-color: #ffffff; color: #ffffff; }
html.high-contrast .reveal-btn:hover { background: #ffffff; color: #000000; }
