/*
Theme Name: Freude Akademie
Theme URI: https://freudeakademie.id
Author: Freude Akademie
Author URI: https://freudeakademie.id
Description: Lernbox-basiertes WordPress-Theme für Freude Akademie International, eine deutsche Sprachschule in Garut, Indonesien. Enthält benutzerdefinierten Post-Type für Kurse, Meta-Box-Felder und vorgefertigte Block-Patterns.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: freude-akademie
Tags: education, language-school, custom-colors, custom-menu, translation-ready

Freude Akademie International WordPress Theme.
Copyright (C) 2026 Freude Akademie
*/

/* ========================================================================
   DESIGN TOKENS (Lernbox system)
   ======================================================================== */
:root {
  --bg: #fafaf7;
  --bg-soft: #f5f3ec;
  --bg-deep: #ebe8df;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #8a8a8a;
  --line: #e8e4dc;
  --line-soft: #f0ede5;
  --accent: #c8102e;
  --accent-soft: #fde8eb;
  --gold: #f5c518;
  --gold-soft: #fef3c7;
  --teal: #0d9488;
  --teal-soft: #ccfbf1;
  --green: #10b981;
  --green-soft: #d1fae5;
  --blue: #3b82f6;
  --blue-soft: #dbeafe;
  --purple: #8b5cf6;
  --purple-soft: #ede9fe;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.05), 0 1px 3px rgba(26, 26, 26, 0.04);
  --shadow-lg: 0 12px 32px rgba(26, 26, 26, 0.08), 0 2px 6px rgba(26, 26, 26, 0.04);
  --radius: 18px;
  --radius-sm: 10px;
  --max-w: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

/* ========================================================================
   RESET & BASE
   ======================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ========================================================================
   HEADER + NAV + MOBILE DRAWER
   ======================================================================== */
.site-header {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand__name {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: block;
}

.brand__sub {
  font-size: 0.7rem;
  color: var(--ink-mute);
  display: block;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: var(--ink);
}

.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 0.5rem;
}

.nav__cta:hover {
  background: #a40c25;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: 0.5rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
  max-height: calc(100vh - 73px);
  overflow-y: auto;
  box-shadow: 0 12px 24px rgba(26, 26, 26, 0.06);
}

.nav-drawer[hidden] {
  display: none;
}

.nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
}

.nav--mobile {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 0.5rem;
  gap: 0.15rem;
}

.nav--mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.nav--mobile a.nav-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
  border: none;
  justify-content: center;
  padding: 1rem;
  border-radius: 4px;
}

.nav--mobile a.nav-cta:hover {
  background: #a40c25;
  color: #fff !important;
}

.nav-drawer__social {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.nav-drawer__social a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.6rem 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-drawer__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

body.no-scroll {
  overflow: hidden;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--rust {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--rust:hover {
  background: #a40c25;
  border-color: #a40c25;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 0.85rem 0.25rem;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.btn--ghost:hover {
  color: var(--accent);
}

.btn--white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ========================================================================
   HERO + BENTO
   ======================================================================== */
.hero {
  padding: 2.5rem 0 2rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bento__tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento__tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bento__tile--lg {
  grid-column: span 2;
  grid-row: span 2;
  padding: 2.25rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #c8102e 55%, #8b0a20 100%);
  color: #fff;
  border-color: transparent;
}

.bento__tile--lg h1 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.bento__tile--lg p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  margin: 0 0 1.5rem;
  line-height: 1.55;
  max-width: 46ch;
}

.bento__tile--lg p strong {
  color: #fff;
  font-weight: 600;
}

.bento__cta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bento__tile--lg .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.bento__tile--lg .btn--primary:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.bento__tile--lg .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.85rem 1.4rem;
  text-decoration: none;
}

.bento__tile--lg .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.bento__tile--stat-yellow {
  background: var(--gold-soft);
  border-color: transparent;
}

.bento__tile--stat-yellow .stat__num,
.bento__tile--stat-yellow .stat__label {
  color: #92400e;
}

.bento__tile--stat-green {
  background: var(--green-soft);
  border-color: transparent;
}

.bento__tile--stat-green .stat__num,
.bento__tile--stat-green .stat__label {
  color: #065f46;
}

.bento__tile--stat-blue {
  background: var(--blue-soft);
  border-color: transparent;
}

.bento__tile--stat-blue .stat__num,
.bento__tile--stat-blue .stat__label {
  color: #1e40af;
}

.bento__tile--stat-purple {
  background: var(--purple-soft);
  border-color: transparent;
}

.bento__tile--stat-purple .stat__num,
.bento__tile--stat-purple .stat__label {
  color: #5b21b6;
}

.bento__tile--wa {
  background: #25D366;
  border-color: transparent;
  color: #fff;
  text-decoration: none;
}

.bento__tile--wa:hover {
  background: #1ebd5a;
  color: #fff;
}

.bento__wa-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.bento__wa-num {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.25rem 0;
}

.bento__wa-cta {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.bento__tile--strip {
  padding: 0;
  height: 60px;
  background: linear-gradient(to right, #1a1a1a 0%, #1a1a1a 33.33%, var(--accent) 33.33%, var(--accent) 66.66%, var(--gold) 66.66%);
  border-color: transparent;
}

.bento__tile--iso {
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%);
  color: #fff;
  border-color: transparent;
  align-items: flex-start;
  justify-content: center;
}

.bento__tile--iso h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
  line-height: 1.2;
}

.bento__tile--iso p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.4;
}

.bento__iso-flag {
  display: flex;
  height: 8px;
  margin-bottom: 0.5rem;
  width: 60px;
}

.bento__iso-flag > div {
  flex: 1;
}

.bento__iso-flag > div:nth-child(1) {
  background: #1a1a1a;
}

.bento__iso-flag > div:nth-child(2) {
  background: var(--accent);
}

.bento__iso-flag > div:nth-child(3) {
  background: var(--gold);
}

.stat__num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.stat__label {
  font-size: 0.82rem;
  margin-top: 0.4rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ========================================================================
   SECTIONS
   ======================================================================== */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section__head {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.section__head h2 {
  margin: 0 0 0.75rem;
}

.section__head h2 em {
  color: var(--accent);
  font-style: normal;
}

.section__head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.program {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.program::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.program:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.2);
}

.program:hover::before {
  opacity: 1;
}

.program__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  align-self: flex-start;
}

.program h3 {
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.2;
}

.program p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.program__detail {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: auto;
}

.program__detail dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.program__detail-row {
  display: grid;
  gap: 0.2rem;
}

.program__detail dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0;
}

.program__detail dd {
  font-size: 0.88rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.program__detail dd a {
  color: var(--accent);
  font-weight: 500;
}

/* ========================================================================
   FOUNDER
   ======================================================================== */
.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.founder__photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.founder__role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.founder p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.founder__link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.founder__link::after {
  content: ' →';
}

.founder-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-sm);
}

.founder-hero img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
}

.founder-hero p {
  margin: 0 0 0.5rem;
}

.founder-hero p strong {
  font-size: 1.1rem;
}

.founder-hero a {
  color: var(--accent);
  font-weight: 500;
}

/* ========================================================================
   FEATURES
   ======================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.feature p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.feature--blue .feature__icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature--green .feature__icon {
  background: var(--green-soft);
  color: var(--green);
}

.feature--gold .feature__icon {
  background: var(--gold-soft);
  color: #b45309;
}

.feature--purple .feature__icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.feature--featured {
  background: linear-gradient(135deg, var(--accent) 0%, #8b0a20 100%);
  color: #fff;
  border-color: transparent;
  grid-column: span 2;
  padding: 2rem;
}

.feature--featured h3 {
  color: #fff;
  font-size: 1.3rem;
}

.feature--featured p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.feature--featured .feature__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ========================================================================
   NEWS / BLOG
   ======================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-card__kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.news-card time {
  font-size: 0.78rem;
  color: var(--ink-mute);
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.4rem 0 0.4rem;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.news-card__more {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========================================================================
   CTA BANNER
   ======================================================================== */
.cta-banner {
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #c8102e 55%, #8b0a20 100%);
  color: #fff;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 em {
  color: var(--gold);
  font-style: normal;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 55ch;
  margin: 0 auto 1.75rem;
  line-height: 1.5;
}

.cta-banner .hero__cta {
  justify-content: center;
}

.cta-banner .btn--white {
  background: #fff;
  color: var(--ink);
}

.cta-banner .btn--white:hover {
  background: var(--ink);
  color: #fff;
}

.cta-banner .btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-banner .btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  background: var(--bg-soft);
  color: var(--ink-soft);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__about img {
  max-width: 180px;
  height: auto;
  display: block;
  margin-bottom: 0.25rem;
}

.site-footer__about p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 38ch;
  margin: 0.5rem 0 0;
}

.site-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all 0.15s ease;
  text-decoration: none;
}

.site-footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
}

.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  padding: 0.3rem 0;
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ========================================================================
   PAGE HERO (sub-pages)
   ======================================================================== */
.page-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  color: var(--accent);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

/* ========================================================================
   PROSE (article / news body)
   ======================================================================== */
.prose h2 {
  margin-top: 2rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1em;
  color: var(--ink-soft);
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--ink-soft);
  margin: 1.5rem 0;
  font-style: italic;
}

.prose code {
  background: var(--bg-soft);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.prose pre {
  background: var(--ink);
  color: #f6e9d7;
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
}

/* ========================================================================
   LIST ROW (article / news in list)
   ======================================================================== */
.list-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.list-row h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.list-row h3 a {
  color: var(--ink);
  text-decoration: none;
}

.list-row h3 a:hover {
  color: var(--accent);
}

.list-row time {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

.list-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ========================================================================
   CONTACT GRID
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 0.75rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.contact-card h3 svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.contact-card p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-card a {
  color: var(--ink);
  font-weight: 500;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__tile--lg {
    grid-column: span 2;
    grid-row: span 1;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .feature--featured {
    grid-column: span 2;
  }
  .programs {
    grid-template-columns: 1fr 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 1.25rem;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento__tile--lg {
    grid-column: span 1;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature--featured {
    grid-column: span 1;
  }
  .programs {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .founder {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder__photo {
    max-width: 160px;
    margin: 0 auto;
  }
  .founder-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-hero img {
    margin: 0 auto;
    width: 160px;
    height: 160px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nav--desktop {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding: 1.5rem 0 1.5rem;
  }
  .bento__tile--lg {
    padding: 1.75rem 1.5rem;
  }
  .bento__tile {
    padding: 1.25rem;
  }
  .bento__tile--lg h1 {
    font-size: 1.75rem;
  }
  .bento__tile--lg p {
    font-size: 0.92rem;
  }
  .feature {
    padding: 1.25rem;
  }
  .feature--featured {
    padding: 1.5rem;
  }
  .program {
    padding: 1.5rem;
  }
  .cta-banner {
    padding: 2.5rem 1.25rem;
    margin: 1.5rem 0;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .page-hero {
    padding: 3rem 0 2rem;
  }
  .page-hero h1 {
    font-size: 1.75rem;
  }
  .founder {
    padding: 1.5rem;
  }
  .contact-card {
    padding: 1.25rem;
  }
  .news-card {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
