:root {
  --bg: #fff8e6;
  --bg-muted: #fff2d4;
  --card-bg: #ffffff;
  --accent: #f4c343;
  --accent-soft: #ffe4a3;
  --text: #1f1f20;
  --text-muted: #666666;
  --border-subtle: #f0e2c4;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at top left, #fff3d1, #fff8e6 32%, #fffef9 70%);
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.shell.narrow {
  max-width: 760px;
}

.section {
  padding: 4.5rem 0;
}

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

.section-intro {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-intro.narrow {
  text-align: center;
}

/* Typography */

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 2.9vw, 2.9rem);
  line-height: 1.1;
}

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

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.page-lede,
.hero-lede {
  font-size: 1.05rem;
}

.hero-meta {
  font-size: 0.9rem;
}

.text-link {
  color: #b98200;
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 130, 0, 0.3);
}

.text-link:hover {
  border-bottom-color: rgba(185, 130, 0, 0.8);
}

/* Header & Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 230, 0.8);
  border-bottom: 1px solid rgba(240, 222, 186, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.brand-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: rgba(250, 220, 150, 0.6);
  color: var(--text);
}

.site-nav a.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

.nav-cta {
  border-radius: 999px;
  border: 1px solid rgba(196, 142, 16, 0.7);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 4px 0;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(var(--shadow-soft));
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #f4c343, #f8d56c);
  color: #3b2800;
  box-shadow: 0 12px 30px rgba(191, 140, 13, 0.25);
}

.btn.primary.subtle {
  background: #ffe9b2;
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(196, 142, 16, 0.5);
  color: #7b5600;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Cards & grids */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.card p {
  margin-bottom: 0.6rem;
}

.syllabus-card .syllabus-meta {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.syllabus-list {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
  color: var(--text-muted);
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.split-visual {
  display: flex;
  justify-content: center;
}

.split-illustration {
  max-width: 340px;
  width: 100%;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
}

.pill {
  background: rgba(255, 244, 210, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 214, 151, 0.9);
  padding: 1.1rem 1.2rem;
}

.pill h3 {
  margin-bottom: 0.3rem;
}

.bullet-list {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

/* CTA panel & callouts */

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.7rem 1.9rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff0c7, #ffe6a0);
  border: 1px solid rgba(220, 183, 92, 0.8);
  box-shadow: var(--shadow-soft);
}

.cta-panel-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.callout {
  padding: 1.7rem 1.8rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px dashed rgba(210, 184, 118, 0.9);
}

/* Cards on contact page */

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(215, 188, 142, 0.9);
  padding: 0.6rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.93rem;
  background: #fffcf5;
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(240, 216, 166, 0.9);
  background: #fff9ec;
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 1.7rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-copy {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
}

.footer-column h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
}

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

.footer-column li {
  margin-bottom: 0.4rem;
}

.footer-column a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(240, 216, 166, 0.6);
  padding-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.7rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    right: 1.5rem;
    background: rgba(255, 249, 236, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(240, 222, 186, 0.9);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    min-width: 190px;
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.2rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

