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

:root {
  --teal:    #1B7A6E;
  --teal-lt: #2BA898;
  --teal-bg: #EBF7F5;
  --blue:    #1E4F72;
  --blue-lt: #2D7BB6;
  --orange:  #E86A2B;
  --orange-lt: #F5A06E;
  --cream:   #FDFAF5;
  --ink:     #1A1A2E;
  --mid:     #5A6272;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────── */
header nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: #fff;
  backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.logo-text span { color: var(--orange); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 40px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #c9561e !important; color: #fff !important; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* animated background blobs */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 70% 20%, rgba(43,168,152,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232,106,43,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 85%, rgba(30,79,114,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 80px;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-bg);
  border: 1px solid rgba(27,122,110,0.25);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
  width: fit-content;
  animation: fadeUp 0.6s ease both;
}
.hero-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 em {
  font-style: italic;
  color: var(--teal);
}
h1 .accent { color: var(--orange); }

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 420px;
  margin-bottom: 44px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex; align-items: center; gap: 18px;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #145f55; transform: translateY(-1px); }
.btn-ghost {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 80px 80px 40px;
  position: relative;
  z-index: 2;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-card-main {
  background: var(--teal);
  border-radius: 20px;
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-card-main::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.hero-card-main::before {
  content: '';
  position: absolute;
  bottom: -30px; left: 20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.card-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}
.card-stat {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.card-stat span { color: var(--orange-lt); }
.card-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 220px;
  font-weight: 300;
}

.hero-badges {
  display: flex; gap: 12px;
  margin-top: 16px;
}
.badge {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.badge-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.badge-lbl {
  font-size: 0.75rem;
  color: var(--mid);
  margin-top: 2px;
}

/* ── MARQUEE ─────────────────────────────────────── */
.marquee-strip {
  background: var(--blue);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 22s linear infinite;
}
.marquee-inner span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 36px;
  opacity: 0.85;
}
.marquee-inner .dot {
  color: var(--orange-lt);
  padding: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PILLARS ─────────────────────────────────────── */
.pillars {
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 480px;
  line-height: 1.2;
  margin-bottom: 60px;
}
.section-heading em { font-style: italic; color: var(--teal); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.pillar-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px;
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.07;
  line-height: 1;
}
.pillar h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
}
.pillar p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}
.pillar:nth-child(1) .pillar-icon { background: var(--teal-bg); }
.pillar:nth-child(2) .pillar-icon { background: #FFF0E8; }
.pillar:nth-child(3) .pillar-icon { background: #EAF1F9; }

/* ── QUOTE BAND ─────────────────────────────────── */
.quote-band {
  background: var(--orange);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 60px;
  font-family: 'Playfair Display', serif;
  font-size: 18rem;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  pointer-events: none;
}
.quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  max-width: 800px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}
.quote-band cite {
  display: block;
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}

/* ── PROGRAMS ────────────────────────────────────── */
.programs {
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.programs-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px;
}
.programs-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.prog-card {
  border-radius: 18px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.prog-card:hover { transform: scale(1.01); }
.prog-card.featured {
  grid-row: 1 / 3;
  background: var(--teal);
  color: #fff;
  min-height: 420px;
}
.prog-card.b { background: #EAF1F9; }
.prog-card.c { background: var(--teal-bg); }
.prog-card.d { background: #FFF0E8; }
.prog-card.e { background: var(--ink); color: #fff; }
.prog-emoji {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.prog-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.prog-card p {
  font-size: 0.83rem;
  line-height: 1.6;
  opacity: 0.75;
  font-weight: 300;
}
.prog-card.featured h3 { font-size: 1.3rem; }
.prog-card.featured p { font-size: 0.93rem; max-width: 260px; }

/* ── EVENTS ──────────────────────────────────────── */
.events {
  background: var(--ink);
  padding: 100px 80px;
  color: #fff;
}
.events-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.events .section-label { color: var(--orange-lt); }
.events .section-heading { color: #fff; }
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
}
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 26px 28px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
  cursor: pointer;
}
.event-row:hover { background: rgba(255,255,255,0.08); }
.event-date { text-align: center; }
.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-lt);
  line-height: 1;
}
.event-date .month {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 2px;
}
.event-info h4 { font-weight: 500; margin-bottom: 4px; }
.event-info p { font-size: 0.83rem; opacity: 0.5; font-weight: 300; }
.event-tag {
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-teal { background: rgba(43,168,152,0.2); color: var(--teal-lt); }
.tag-orange { background: rgba(232,106,43,0.2); color: var(--orange-lt); }
.tag-blue { background: rgba(45,123,182,0.2); color: #7BB8E8; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--blue);
  color: #fff;
  padding: 64px 80px 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.87rem;
  opacity: 0.6;
  line-height: 1.7;
  font-weight: 300;
  max-width: 260px;
  margin-top: 16px;
}
.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.87rem;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.footer-a11y {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

/* ── NAV A11Y LINK (prominent) ──────────────────── */
.nav-a11y-link {
  background: var(--teal-bg) !important;
  color: var(--teal) !important;
  padding: 7px 16px !important;
  border-radius: 40px !important;
  font-weight: 500 !important;
  border: 1.5px solid rgba(27,122,110,0.3);
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-a11y-link:hover {
  background: var(--teal) !important;
  color: #fff !important;
  border-color: var(--teal) !important;
}

/* ── SITE ACCESSIBILITY PAGE ───────────────────── */

/* Capybara demo area */
.capybara-demo-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.demo-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.25s, box-shadow 0.25s;
}
.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.demo-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--teal-bg);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal);
}
.demo-card-icon svg { width: 24px; height: 24px; }
.demo-card-content h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.demo-card-content p {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}
.demo-highlight {
  background: var(--teal-bg);
  color: var(--teal);
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.85rem;
}
.demo-prompts {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.demo-prompts li {
  font-size: 0.85rem;
  color: var(--mid);
  font-style: italic;
  padding: 4px 0 4px 16px;
  position: relative;
}
.demo-prompts li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* Feature tiles grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature-tile {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.feature-tile-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.feature-tile h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-tile p {
  font-size: 0.83rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}
.feature-tile code {
  background: var(--teal-bg);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  color: var(--teal);
}

/* Shortcuts table kbd styling */
.shortcuts-table kbd {
  display: inline-block;
  background: var(--teal-bg);
  border: 1px solid rgba(27,122,110,0.2);
  border-radius: 5px;
  padding: 2px 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
}

/* Standards grid */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.standard-block {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
}
.standard-block h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.standard-block p {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.75;
  font-weight: 300;
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ACCESSIBILITY HELPERS ───────────────────────── */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.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;
}
.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 999;
  background: var(--orange); color: #fff; padding: 10px 20px;
  border-radius: 6px; text-decoration: none; font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: 20px; }

/* ── PAGE HERO (inner pages) ────────────────────── */
.page-hero {
  padding: 140px 80px 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 70% 20%, rgba(43,168,152,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232,106,43,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  max-width: 600px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.5s ease both;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero .page-intro {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 520px;
  margin-top: 20px;
  font-weight: 300;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.5s 0.1s ease both;
}

/* ── BREADCRUMBS ────────────────────────────────── */
.breadcrumbs {
  padding: 96px 80px 0;
  position: relative;
  z-index: 2;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: '/';
  color: var(--mid);
  opacity: 0.4;
}
.breadcrumbs a {
  color: var(--mid);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs .current {
  color: var(--teal);
  font-weight: 500;
}

/* ── INNER PAGE SECTIONS ────────────────────────── */
.page-section {
  padding: 80px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-section:nth-child(even) {
  background: rgba(27,122,110,0.03);
  max-width: 100%;
  padding-left: 80px;
  padding-right: 80px;
}
.page-section:nth-child(even) > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.page-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 36px;
  line-height: 1.2;
}
.page-section h2 em { font-style: italic; color: var(--teal); }
.page-section h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.page-section p {
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.75;
  font-weight: 300;
}
.page-section p + p { margin-top: 14px; }

/* ── CARDS GRID ─────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.87rem; }

/* ── DATA TABLE ─────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}
.data-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 14px 20px;
  border-bottom: 2px solid rgba(27,122,110,0.15);
}
.data-table td {
  padding: 14px 20px;
  color: var(--ink);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 300;
}
.data-table tbody tr:hover { background: rgba(27,122,110,0.03); }

/* ── INFO BANNER ────────────────────────────────── */
.info-banner {
  background: var(--teal);
  color: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  margin-top: 32px;
}
.info-banner h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.info-banner p { color: rgba(255,255,255,0.8); }

/* ── NEWS ARTICLE LIST ──────────────────────────── */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--mid);
}
.article-meta .tag {
  background: var(--teal-bg);
  color: var(--teal);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-card p { max-width: 640px; }
.article-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  margin-top: 14px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.article-card .read-more:hover { border-color: var(--teal); }

/* ── FORM STYLES ────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 480px;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,122,110,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: #145f55; transform: translateY(-1px); }

/* ── TIMELINE ───────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(27,122,110,0.2);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--cream);
}
.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 0.85rem;
  color: var(--mid);
  font-weight: 300;
}

/* ── HAMBURGER MENU ────────────────────────────────── */
.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  header nav { padding: 16px 24px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 2px solid rgba(27,122,110,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links[aria-hidden="false"] {
    display: flex;
  }
  .nav-links li { padding: 0; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 28px; }
  .pillars { padding: 60px 28px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .programs { padding: 60px 28px; }
  .programs-grid { grid-template-columns: 1fr; }
  .prog-card.featured { grid-row: auto; }
  .quote-band { padding: 52px 28px; }
  .events { padding: 60px 28px; }
  footer { padding: 48px 28px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  /* inner pages */
  .breadcrumbs { padding: 84px 28px 0; }
  .page-hero { padding: 120px 28px 40px; }
  .page-section { padding: 52px 28px; }
  .page-section:nth-child(even) { padding-left: 28px; padding-right: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .capybara-demo-area { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .demo-card { flex-direction: column; }
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .article-card { padding: 28px 24px; }
  .info-banner { padding: 28px 24px; }
}

/* ============================================================
   CAPYBARA VOICE ASSISTANT WIDGET
   ============================================================ */

/* Container — bottom-right fixed */
#capybara-widget {
  position: fixed;
  top: 88px;
  right: 48px;
  z-index: 9999;
  font-family: 'DM Sans', sans-serif;
}

/* ---------- Mic FAB ---------- */
.capybara-mic-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: #fff;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 122, 110, 0.4);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.capybara-mic-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(27, 122, 110, 0.5);
}

.capybara-mic-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.capybara-mic-btn .capybara-mascot-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.capybara-mic-btn svg {
  width: 24px;
  height: 24px;
}

/* Active (recording) state */
.capybara-mic-active {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(232, 106, 43, 0.5);
  background: var(--orange);
}

/* Pulsing ring while listening */
.capybara-mic-listening::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  animation: capybara-pulse 1.5s ease-out infinite;
}

@keyframes capybara-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Chat Panel ---------- */
.capybara-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  max-height: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.capybara-panel-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Panel header */
.capybara-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--teal);
  color: #fff;
  flex-shrink: 0;
}

.capybara-panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}

.capybara-icon {
  font-size: 1.2rem;
}

.capybara-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.9;
}

.capybara-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.capybara-status-ready     { background: rgba(255, 255, 255, 0.5); }
.capybara-status-connecting { background: var(--orange-lt); animation: capybara-blink 1s infinite; }
.capybara-status-connected  { background: #6ee7b7; }
.capybara-status-listening  { background: var(--orange); animation: capybara-blink 0.6s infinite; }
.capybara-status-thinking   { background: var(--orange-lt); animation: capybara-blink 0.8s infinite; }
.capybara-status-error      { background: #f87171; }

@keyframes capybara-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.capybara-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.capybara-close-btn:hover { opacity: 1; }

.capybara-close-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Transcript / chat area */
.capybara-transcript {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
}

/* Bubbles */
.capybara-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.capybara-bubble-assistant {
  background: var(--teal-bg);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.capybara-bubble-user {
  background: var(--teal);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.capybara-bubble-streaming {
  opacity: 0.85;
}

.capybara-bubble-placeholder {
  opacity: 0.6;
  font-style: italic;
}

/* ---------- Thinking Dots ---------- */
.capybara-bubble-thinking {
  padding: 12px 18px;
}

.capybara-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.capybara-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.4;
  animation: capybara-dot-bounce 1.4s ease-in-out infinite;
}

.capybara-dots span:nth-child(2) { animation-delay: 0.2s; }
.capybara-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes capybara-dot-bounce {
  0%, 80%, 100% { opacity: 0.4; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* ---------- Waveform (user speaking) ---------- */
.capybara-waveform {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

.capybara-waveform span {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #fff;
  animation: capybara-wave 1s ease-in-out infinite;
}

.capybara-waveform span:nth-child(1) { animation-delay: 0s; }
.capybara-waveform span:nth-child(2) { animation-delay: 0.15s; }
.capybara-waveform span:nth-child(3) { animation-delay: 0.3s; }
.capybara-waveform span:nth-child(4) { animation-delay: 0.45s; }
.capybara-waveform span:nth-child(5) { animation-delay: 0.6s; }

@keyframes capybara-wave {
  0%, 100% { height: 4px; }
  50%      { height: 16px; }
}

/* ---------- Help Tooltip ---------- */
.capybara-help-tip {
  padding: 4px 0;
}

.capybara-help-toggle {
  background: none;
  border: 1px dashed var(--teal);
  border-radius: 20px;
  color: var(--teal);
  font-size: 0.78rem;
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.capybara-help-toggle:hover,
.capybara-help-toggle:focus-visible {
  background: var(--teal-bg);
}

.capybara-help-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.capybara-help-list {
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-lt);
}

.capybara-help-list li {
  padding: 3px 0;
  font-style: italic;
}

.capybara-help-list li::before {
  content: '\2022';
  margin-right: 6px;
  color: var(--teal);
}

/* ---------- Screen reader only ---------- */
.capybara-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;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  #capybara-widget {
    top: 80px;
    right: 16px;
  }

  .capybara-panel {
    width: calc(100vw - 32px);
    right: 0;
    max-height: 60vh;
  }

  .capybara-mic-btn {
    width: 72px;
    height: 72px;
  }

  .capybara-mic-btn svg {
    width: 22px;
    height: 22px;
  }
}
