@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #4A6C62;
  --primary-dark: #344E41;
  --accent-cream: #F5E8C7;
  --accent-sage: #A3B18A;
  --text-main: #344E41;
  --text-light: #6B705C;
  --bg-main: #F5E8C7;
  --bg-muted: #E8E0CE;
  --border-color: #A3B18A;
  --max-width: 1440px;
  --container: 1200px;
  --radius: 2px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-sage);
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.75rem; }

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.75;
  max-width: 72ch;
}

p:last-child { margin-bottom: 0; }

section {
  padding: 80px 0;
}

.section--dark {
  background-color: var(--primary);
  color: var(--accent-cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--accent-cream);
}

.section--dark p {
  color: var(--accent-cream);
}

.section--darkest {
  background-color: var(--primary-dark);
  color: var(--accent-cream);
}

.section--muted {
  background-color: var(--bg-muted);
}

.section--cream {
  background-color: var(--bg-main);
}

.text-center { text-align: center; }
.text-light-color { color: var(--text-light); }

.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

.divider--thick {
  border-top: 3px solid var(--primary);
}

/* ==================== COOKIE BANNER ==================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--primary-dark);
  color: var(--accent-cream);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 3px solid var(--accent-sage);
}

#cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-cream);
  max-width: 100%;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 0.45rem 1.2rem;
  border: 1px solid var(--accent-sage);
  background: transparent;
  color: var(--accent-cream);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: var(--radius);
}

.btn-cookie:hover {
  background: var(--accent-sage);
  color: var(--primary-dark);
}

.btn-cookie--accept {
  background: var(--accent-sage);
  color: var(--primary-dark);
  border-color: var(--accent-sage);
}

.btn-cookie--accept:hover {
  background: #8fa374;
}

/* ==================== HEADER ==================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(52, 78, 65, 0.97);
  border-bottom: 1px solid var(--accent-sage);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 68px;
}

.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-cream);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.header-logo:hover {
  color: var(--accent-sage);
}

.header-logo span {
  color: var(--accent-sage);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-nav li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--accent-cream);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.header-nav li a:hover,
.header-nav li a.active {
  color: var(--accent-sage);
  border-bottom-color: var(--accent-sage);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent-cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== FOOTER ==================== */
#site-footer {
  background-color: var(--primary-dark);
  color: var(--accent-cream);
  padding: 60px 0 0;
  border-top: 3px solid var(--accent-sage);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(163, 177, 138, 0.3);
}

.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cream);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(245, 232, 199, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 100%;
}

.footer-brand .edu-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-sage);
  font-size: 0.82rem;
  color: var(--accent-sage);
  line-height: 1.4;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-sage);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(163, 177, 138, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(245, 232, 199, 0.75);
  font-size: 0.9rem;
  transition: color 0.25s ease;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--accent-sage);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.footer-contact-item .label {
  font-size: 0.75rem;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.footer-contact-item .value {
  color: rgba(245, 232, 199, 0.85);
  font-size: 0.9rem;
}

.footer-contact-item .value a {
  color: rgba(245, 232, 199, 0.85);
}

.footer-hours {
  margin-top: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(245, 232, 199, 0.75);
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(163, 177, 138, 0.15);
}

.hours-row .day { font-weight: 600; color: rgba(245, 232, 199, 0.9); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(245, 232, 199, 0.55);
  max-width: 100%;
  margin: 0;
}

.footer-policies {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-policies a {
  color: rgba(245, 232, 199, 0.55);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-policies a:hover {
  color: var(--accent-sage);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52,78,65,0.78) 0%, rgba(74,108,98,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 2rem 80px;
  max-width: 900px;
}

.hero-content h1 {
  color: var(--accent-cream);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-content .hero-subtitle {
  color: rgba(245, 232, 199, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-sage);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--accent-sage);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--accent-sage);
  color: var(--accent-sage);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border-radius: var(--radius);
}

.btn:hover {
  background: var(--accent-sage);
  color: var(--primary-dark);
  border-color: var(--accent-sage);
}

.btn--primary {
  background: var(--primary);
  color: var(--accent-cream);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--accent-sage);
  border-color: var(--accent-sage);
  color: var(--primary-dark);
}

.btn--cream {
  border-color: var(--accent-cream);
  color: var(--accent-cream);
}

.btn--cream:hover {
  background: var(--accent-cream);
  color: var(--primary-dark);
}

.btn--dark {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn--dark:hover {
  background: var(--primary-dark);
  color: var(--accent-cream);
}

/* ==================== CARDS ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(52,78,65,0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
  max-width: 100%;
}

/* ==================== SECTION HEADER ==================== */
.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-sage);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-header h2 {
  color: var(--primary-dark);
}

.section-header--light h2,
.section-header--light .section-tag {
  color: var(--accent-cream);
}

.section-header--light .section-tag {
  color: var(--accent-sage);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 65ch;
}

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ==================== TWO-COLUMN LAYOUT ==================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col--wide {
  grid-template-columns: 1.2fr 0.8fr;
}

.two-col--reversed .col-img {
  order: -1;
}

.col-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.col-img img.tall {
  height: 560px;
}

/* ==================== TIMELINE ==================== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-main);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 65ch;
  margin: 0;
}

/* ==================== TABLE ==================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.data-table thead tr {
  background: var(--primary);
  color: var(--accent-cream);
}

.data-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
}

.data-table tbody tr:nth-child(odd) {
  background: var(--bg-main);
}

.data-table tbody tr:nth-child(even) {
  background: var(--bg-muted);
}

.data-table tbody tr:hover {
  background: #ddd5c0;
}

.data-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: top;
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--primary);
}

/* ==================== ACCORDION ==================== */
.accordion {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: color 0.25s ease;
}

.accordion-trigger:hover {
  color: var(--primary);
}

.accordion-trigger .acc-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--primary);
  fill: none;
  transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 0 1.5rem;
}

.accordion-body p {
  font-size: 0.97rem;
  color: var(--text-light);
  max-width: 70ch;
  margin: 0;
}

.accordion-body.open {
  display: block;
}

/* ==================== STAT STRIP ==================== */
.stat-strip {
  background: var(--primary);
  padding: 64px 0;
}

.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(163, 177, 138, 0.35);
  padding: 0 1.5rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-desc {
  font-size: 0.82rem;
  color: rgba(245, 232, 199, 0.65);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ==================== GLOSSARY RAIL ==================== */
.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-top: 1px solid var(--border-color);
  margin-top: 1.5rem;
}

.glossary-row {
  display: contents;
}

.glossary-term,
.glossary-def {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.glossary-term {
  border-right: 2px solid var(--primary);
  background: rgba(74, 108, 98, 0.05);
}

.glossary-term h3 {
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.glossary-def p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin: 0;
  max-width: 100%;
}

/* ==================== QUOTE BLOCK ==================== */
.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  background: rgba(74, 108, 98, 0.06);
  margin: 2rem 0;
}

.quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary-dark);
  max-width: 65ch;
  margin: 0;
  line-height: 1.6;
}

.quote-block--dark {
  background: var(--primary);
  border-left: 4px solid var(--accent-sage);
  padding: 2.5rem 3rem;
}

.quote-block--dark p {
  color: var(--accent-cream);
  font-size: 1.25rem;
}

/* ==================== DEFINITION BOX ==================== */
.definition-box {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.definition-box h3 {
  font-size: 0.8rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
  margin-bottom: 1rem;
}

.definition-box dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem 2rem;
}

.definition-box dt {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}

.definition-box dd {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ==================== DISCLAIMER ==================== */
.disclaimer-block {
  background: rgba(74, 108, 98, 0.07);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-sage);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.disclaimer-block h3 {
  font-size: 0.8rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
  margin-bottom: 0.75rem;
}

.disclaimer-block p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  max-width: 100%;
  line-height: 1.6;
}

/* ==================== CONTACT DISCLAIMER ==================== */
.contact-disclaimer {
  background: var(--accent-sage);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
}

.contact-disclaimer p {
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin: 0;
  max-width: 100%;
  font-weight: 400;
}

/* ==================== FORM ==================== */
.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  border-radius: var(--radius);
  transition: border-color 0.25s ease;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

/* ==================== PAGE HERO (NOT FULL SCREEN) ==================== */
.page-hero {
  background: var(--primary-dark);
  padding: 100px 0 60px;
  border-bottom: 3px solid var(--accent-sage);
}

.page-hero h1 {
  color: var(--accent-cream);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(245, 232, 199, 0.8);
  max-width: 65ch;
}

.page-hero--narrow {
  padding: 100px 0 50px;
}

/* ==================== MISSION BLOCK ==================== */
.mission-block {
  background: var(--primary);
  padding: 3rem 3.5rem;
  margin: 2.5rem 0;
}

.mission-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent-cream);
  max-width: 70ch;
  line-height: 1.55;
  margin: 0;
}

/* ==================== EXPERT QUOTE ==================== */
.expert-quote {
  background: var(--primary);
  padding: 3rem 3.5rem;
  position: relative;
}

.expert-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(163, 177, 138, 0.25);
  line-height: 1;
  pointer-events: none;
}

.expert-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-cream);
  max-width: 68ch;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* ==================== DISCLAIMER STATEMENT ==================== */
.disclaimer-statement {
  background: var(--accent-sage);
  padding: 2.5rem 3rem;
  text-align: center;
  margin: 2.5rem 0;
}

.disclaimer-statement h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.disclaimer-statement p {
  color: var(--primary-dark);
  max-width: 70ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==================== COOKIE CONSENT EXPLANATION ==================== */
.cookie-consent-box {
  border: 3px solid var(--primary);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
}

.cookie-consent-box h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cookie-consent-box p {
  max-width: 100%;
}

/* ==================== CLARIFICATION PANEL ==================== */
.clarification-panel {
  background: var(--accent-sage);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
}

.clarification-panel h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.clarification-panel p {
  color: var(--accent-cream);
  max-width: 100%;
  margin: 0;
}

/* ==================== KEY PRINCIPLES MATRIX ==================== */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  margin: 2rem 0;
}

.matrix-cell {
  background: var(--bg-muted);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
}

.matrix-cell::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 10px;
  height: 10px;
  background: var(--accent-sage);
  opacity: 0.5;
  pointer-events: none;
}

.matrix-cell h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.matrix-cell p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
  max-width: 100%;
}

/* ==================== TOPIC FILTERS ==================== */
.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.topic-filter-btn {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-color);
  background: transparent;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: var(--radius);
}

.topic-filter-btn:hover,
.topic-filter-btn.active {
  background: var(--primary);
  color: var(--accent-cream);
  border-color: var(--primary);
}

/* ==================== THANK YOU PAGE ==================== */
.thank-you-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 2rem;
}

.thank-you-box {
  max-width: 560px;
  margin: 0 auto;
}

.thank-you-box h1 {
  margin-bottom: 1.25rem;
}

.thank-you-box p {
  margin: 0 auto 2rem;
  color: var(--text-light);
  max-width: 50ch;
}

/* ==================== PROCESS DIAGRAM ==================== */
.process-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 2rem 0;
  overflow-x: auto;
}

.process-step {
  flex: 1;
  min-width: 140px;
  background: var(--bg-muted);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.process-step + .process-step {
  border-left: none;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-sage);
  font-size: 1.2rem;
  z-index: 1;
  pointer-events: none;
}

.process-step:last-child::after { display: none; }

.process-step .step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ==================== NUMBERED SECTIONS (TOS) ==================== */
.tos-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.tos-section:last-child {
  border-bottom: none;
}

.tos-number {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-sage);
  margin-bottom: 0.5rem;
}

/* ==================== CONTACT BLOCK ==================== */
.contact-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--primary-dark);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-main);
  padding: 2.5rem;
}

.contact-info-block h2 {
  color: var(--accent-cream);
  margin-bottom: 1.25rem;
}

.contact-info-block p {
  color: rgba(245, 232, 199, 0.8);
  max-width: 100%;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.contact-detail .detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
  margin-bottom: 0.2rem;
}

.contact-detail .detail-value {
  font-size: 1rem;
  color: rgba(245, 232, 199, 0.9);
}

.contact-detail .detail-value a {
  color: rgba(245, 232, 199, 0.9);
}

/* ==================== LEGAL PAGES ==================== */
.legal-content p {
  max-width: 72ch;
}

.legal-content ul, .legal-content ol {
  max-width: 70ch;
  margin-bottom: 1.2rem;
}

.legal-content li {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==================== ABOUT PAGE ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-sidebar-quote {
  background: rgba(74, 108, 98, 0.07);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-sidebar-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.97rem;
  color: var(--primary-dark);
  margin: 0;
  max-width: 100%;
  line-height: 1.6;
}

/* ==================== EDU NOTICE INLINE ==================== */
.edu-notice-inline {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .two-col,
  .two-col--wide {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .two-col--reversed .col-img {
    order: 0;
  }

  .col-img img {
    height: 360px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .stat-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(163, 177, 138, 0.35);
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .hamburger {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(52, 78, 65, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 999;
  }

  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header-nav li a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(163, 177, 138, 0.2);
    border-left: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .matrix-grid {
    grid-template-columns: 1fr 1fr;
  }

  .definition-box dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .definition-box dd {
    margin-bottom: 1rem;
  }

  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .glossary-term {
    border-right: none;
    border-left: 3px solid var(--primary);
  }

  .stat-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-diagram {
    flex-direction: column;
  }

  .process-step::after { display: none; }

  .hero-content {
    padding: 110px 1.5rem 60px;
  }

  .mission-block,
  .expert-quote {
    padding: 2rem 1.75rem;
  }

  .container, .container--wide, .container--narrow {
    padding: 0 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-col--reversed .col-img {
    order: 0;
  }
}

/* ==================== LEGAL PAGES — ADDITIONAL ELEMENTS ==================== */

.clarification-panel h2 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.cookie-consent-explanation {
  border: 3px solid var(--primary);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  background: var(--bg-main);
}

.cookie-consent-explanation h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.cookie-consent-explanation p {
  color: var(--text-main);
  max-width: 100%;
  margin: 0;
}

.disclaimer-statement h2 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.disclaimer-statement p {
  color: var(--primary-dark);
  max-width: 100%;
  margin: 0;
}

.disclaimer-accent-block {
  background: var(--primary-dark);
  border-left: 4px solid var(--accent-cream);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.disclaimer-accent-block p {
  color: var(--accent-cream);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 100%;
  margin: 0;
}

.disclaimer-accent-block p strong {
  color: var(--accent-cream);
}

.legal-quote {
  border-left: 4px solid var(--primary);
  background: var(--bg-muted);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.7;
}

.definition-list {
  display: grid;
  gap: 0;
}

.definition-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.5rem 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
}

.definition-row:last-child {
  border-bottom: none;
}

.definition-row dt {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  padding-top: 0.1rem;
}

.definition-row dd {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.definition-box h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip-grid {
    grid-template-columns: 1fr;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .matrix-cell::after { display: none; }
}
