@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,600&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

/* ========================================
   VERITASO — Print-to-Digital Editorial
   ======================================== */

:root {
  --paper:     #f4efe8;
  --paper-light: #f9f6f1;
  --ink:       #1a1814;
  --ink-soft:  #3c3832;
  --navy:      #1e3a5f;
  --navy-dark: #132843;
  --gold:      #c4882e;
  --gold-light:#e8c47a;
  --red:       #8c2c2c;
  --rule:      #c8bfb0;
  --muted:     #7a7268;
  --white:     #ffffff;
  --light:     #ede8e0;
  --shadow:    rgba(26,24,20,0.10);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans 3', Arial, sans-serif;
  --font-mono:  'Courier Prime', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p  { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

.serif-label {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1360px; }

section { padding: 80px 0; }

.rule-top    { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }
.rule-thick  { border-top: 3px solid var(--ink); }
.rule-gold   { border-top: 2px solid var(--gold); }

/* ---- HEADER / NAV ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-topbar {
  background: var(--navy-dark);
  color: var(--paper);
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left { display: flex; gap: 2rem; }
.topbar-item { display: flex; align-items: center; gap: 0.4rem; opacity: 0.85; }
.topbar-item svg { width: 12px; height: 12px; }

.topbar-right { display: flex; gap: 1.5rem; align-items: center; }
.topbar-social-link {
  width: 22px; height: 22px;
  border: 1px solid rgba(196,136,46,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.topbar-social-link:hover { background: var(--gold); border-color: var(--gold); }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 2rem;
}

.site-logo {
  flex-shrink: 0;
  text-decoration: none;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-name span { color: var(--gold); }
.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

.main-nav { display: flex; align-items: center; gap: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.has-dropdown::after {
  content: ' ▾';
  font-size: 0.7rem;
  vertical-align: middle;
  opacity: 0.6;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--gold);
  min-width: 240px;
  box-shadow: 0 8px 24px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.87rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--light);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover {
  background: var(--paper-light);
  color: var(--navy);
  padding-left: 1.6rem;
}

.header-cta {
  margin-left: 1rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30,58,95,0.3);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a97224;
  border-color: #a97224;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: #6e2020;
  border-color: #6e2020;
  color: var(--white);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }

/* ---- HERO ---- */
.hero {
  background: var(--navy-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

.hero-content {
  padding: 80px 60px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-issue {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-issue::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-desc {
  font-size: 1.15rem;
  color: rgba(244,239,232,0.82);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,239,232,0.6);
  margin-top: 4px;
}

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-dark) 0%, transparent 40%);
}

/* ---- EDITORIAL BAND ---- */
.editorial-band {
  background: var(--ink);
  color: var(--gold-light);
  padding: 14px 0;
  overflow: hidden;
}

.band-track {
  display: flex;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band-sep { color: var(--gold); }

/* ---- SECTION HEADERS ---- */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered { text-align: center; }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.section-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-header.centered .section-kicker { justify-content: center; }
.section-header.centered .section-kicker::before { display: none; }

.section-title {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.65;
}
.section-header.centered .section-lead { margin: 0 auto; }

/* ---- COURSE CARDS ---- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.course-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-4px);
  z-index: 2;
}

.course-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.course-card:hover .course-card__image img { transform: scale(1.04); }

.course-card__level {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.course-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.course-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.course-card__title a:hover { color: var(--navy); }

.course-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.2rem;
}

.course-card__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-bottom: 1.2rem;
}

.course-card__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.course-card__price small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

/* ---- FEATURE BLOCK ---- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}

.feature-block__image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.feature-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-block__content {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.feature-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item__icon {
  width: 32px;
  height: 32px;
  background: var(--paper);
  border: 1px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-item__text { flex: 1; }
.feature-item__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.feature-item__desc { font-size: 0.88rem; color: var(--muted); }

/* ---- INSTRUCTORS ---- */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}

.instructor-card {
  background: var(--white);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.instructor-card:hover { box-shadow: 0 6px 24px var(--shadow); }

.instructor-card__photo {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.instructor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.instructor-card:hover .instructor-card__photo img { transform: scale(1.04); }

.instructor-card__info {
  padding: 1.5rem;
  border-top: 3px solid var(--navy);
}

.instructor-card__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.instructor-card__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.instructor-card__bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- BLOG GRID ---- */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.blog-featured { }

.blog-featured__image {
  height: 380px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-featured__image:hover img { transform: scale(1.03); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.article-meta__sep { color: var(--rule); }
.article-meta__cat { color: var(--gold); font-weight: 700; }

.blog-featured__title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.blog-featured__title a:hover { color: var(--navy); }

.blog-sidebar { }

.sidebar-post {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
.sidebar-post:first-child { border-top: 1px solid var(--rule); }

.sidebar-post__kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.sidebar-post__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.sidebar-post__title a:hover { color: var(--navy); }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.testimonial-author__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.testimonial-author__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

/* ---- WHY SECTION ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}

.why-item {
  padding: 2.5rem;
  border-right: 1px solid var(--rule);
  position: relative;
}
.why-item:last-child { border-right: none; }
.why-item:nth-child(n+4) { border-top: 1px solid var(--rule); }

.why-item__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  margin-bottom: 1rem;
}

.why-item__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.why-item__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 30rem;
  position: absolute;
  right: -4rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

.cta-band__inner { text-align: center; position: relative; z-index: 2; }

.cta-band__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.cta-band__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__desc {
  font-size: 1.1rem;
  color: rgba(244,239,232,0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: var(--paper-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 60px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-input {
  flex: 1;
  border: 1px solid var(--rule);
  border-right: none;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.newsletter-input:focus { border-color: var(--navy); }
.newsletter-input::placeholder { color: var(--muted); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1px solid var(--rule); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 600;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--navy); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 0 1.5rem;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ---- CONTACT ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border: 1px solid var(--rule);
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem;
}

.contact-info__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  background: rgba(196,136,46,0.2);
  border: 1px solid rgba(196,136,46,0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-detail__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 2px;
}
.contact-detail__val {
  color: rgba(244,239,232,0.9);
  font-size: 0.95rem;
}

.contact-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-hours__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(244,239,232,0.8);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-form-area {
  padding: 3.5rem;
  background: var(--white);
}

/* ---- FORMS ---- */
.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  border: 1px solid var(--rule);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper-light);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
  appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  background: var(--white);
}
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  background: #ecf5ec;
  border: 1px solid #7dba7d;
  border-left: 4px solid #3a8a3a;
  padding: 1.2rem 1.4rem;
  color: #1e5c1e;
  font-size: 0.95rem;
  border-radius: 2px;
  margin-top: 1rem;
}
.form-success.visible { display: block; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--light);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb-list a { color: var(--navy); }
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--rule); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(255,255,255,0.025) 39px,
    rgba(255,255,255,0.025) 40px
  );
}

.page-hero__inner { position: relative; z-index: 2; }
.page-hero__kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.page-hero__title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--white); margin-bottom: 1rem; }
.page-hero__desc { font-size: 1.1rem; color: rgba(244,239,232,0.78); max-width: 580px; line-height: 1.65; }

/* ---- ARTICLE / CONTENT ---- */
.article-body h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule); }
.article-body h3 { font-size: 1.3rem; margin: 2rem 0 0.8rem; color: var(--navy); }
.article-body p { margin-bottom: 1.4rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 1.2rem 0 1.4rem 1.5rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.65; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--paper-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---- COURSE DETAIL ---- */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.course-sidebar {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.course-price-block { text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.course-price { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; color: var(--navy); }
.course-price sub { font-size: 1rem; color: var(--muted); }

.course-meta-list { display: flex; flex-direction: column; gap: 0.8rem; margin: 1.5rem 0; }
.course-meta-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--muted); }
.course-meta-icon { color: var(--gold); font-size: 1rem; width: 20px; }

.curriculum-list { margin: 1.5rem 0; }
.curriculum-module { margin-bottom: 0.5rem; }
.curriculum-module-title {
  background: var(--light);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid var(--gold);
}
.curriculum-lessons { padding: 0.5rem 1rem 0.5rem 1.5rem; background: var(--paper-light); }
.curriculum-lessons li { font-size: 0.87rem; color: var(--muted); padding: 0.4rem 0; border-bottom: 1px solid var(--rule); list-style: none; }
.curriculum-lessons li:last-child { border-bottom: none; }
.curriculum-lessons li::before { content: '○ '; color: var(--gold); }

/* ---- POLICY PAGES ---- */
.policy-body { max-width: 840px; margin: 0 auto; }
.policy-body h2 { font-size: 1.5rem; margin: 2.5rem 0 0.8rem; color: var(--navy); padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule); }
.policy-body h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; color: var(--ink); }
.policy-body p { margin-bottom: 1.2rem; line-height: 1.75; font-size: 1rem; color: var(--ink-soft); }
.policy-body ul, .policy-body ol { margin: 0.8rem 0 1.2rem 1.5rem; }
.policy-body li { margin-bottom: 0.5rem; font-size: 0.98rem; color: var(--ink-soft); list-style: disc; line-height: 1.65; }
.policy-body ol li { list-style: decimal; }
.policy-body a { color: var(--navy); text-decoration: underline; }
.policy-last-updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

/* ---- RESOURCES ---- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.resource-card:hover { box-shadow: 0 6px 20px var(--shadow); }

.resource-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 1rem;
}

.resource-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.resource-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 1.2rem; }

/* ---- STATS SECTION ---- */
.stats-section {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  text-align: center;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-block:last-child { border-right: none; }

.stat-block__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-block__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,239,232,0.6);
}
.stat-block__desc { font-size: 0.88rem; color: rgba(244,239,232,0.55); margin-top: 0.4rem; }

/* ---- PARTNERS / LOGOS ---- */
.partners-strip {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.partners-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.2s;
  letter-spacing: 0.05em;
}
.partner-logo:hover { opacity: 0.85; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ink);
  color: rgba(244,239,232,0.75);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand__logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
}
.footer-brand__logo span { color: var(--gold); }
.footer-brand__tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  display: block;
  margin-bottom: 1.2rem;
}
.footer-brand__desc { font-size: 0.88rem; line-height: 1.65; color: rgba(244,239,232,0.55); }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(196,136,46,0.3);
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(244,239,232,0.65);
  transition: color 0.2s;
  padding: 0.15rem 0;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.82rem; color: rgba(244,239,232,0.4); font-family: var(--font-mono); letter-spacing: 0.05em; }
.footer-policy-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-policy-links a { font-size: 0.8rem; color: rgba(244,239,232,0.45); transition: color 0.2s; }
.footer-policy-links a:hover { color: var(--gold-light); }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-navy    { color: var(--navy); }
.text-gold    { color: var(--gold); }
.text-red     { color: var(--red); }
.text-muted   { color: var(--muted); }
.text-white   { color: var(--white); }

.bg-navy    { background: var(--navy); }
.bg-paper   { background: var(--paper); }
.bg-white   { background: var(--white); }
.bg-light   { background: var(--light); }
.bg-ink     { background: var(--ink); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-4  { padding-top: 2rem; padding-bottom: 2rem; }
.py-6  { padding-top: 3rem; padding-bottom: 3rem; }
.py-8  { padding-top: 4rem; padding-bottom: 4rem; }
.py-10 { padding-top: 5rem; padding-bottom: 5rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider.centered { margin-left: auto; margin-right: auto; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  color: var(--muted);
  transition: all 0.2s;
}
.tag:hover { border-color: var(--navy); color: var(--navy); }
.tag.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--gold);
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ---- INTRO BLOCK ---- */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ---- PULL QUOTE ---- */
.pull-quote {
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--rule);
  padding: 2rem 0;
  margin: 3rem 0;
  text-align: center;
}
.pull-quote__text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
}
.pull-quote__attr {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

/* ---- ACCORDION / TABS ---- */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--rule);
  margin-bottom: 2rem;
  overflow-x: auto;
}
.tab-btn {
  background: none;
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.tab-btn:hover { color: var(--navy); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- PAGINATION ---- */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  padding-top: 3rem;
}
.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  background: var(--white);
  transition: all 0.2s;
  text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: rgba(244,239,232,0.88);
  padding: 1.2rem 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 2px solid var(--gold);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { font-size: 0.88rem; flex: 1; line-height: 1.5; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-dismiss {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.cookie-dismiss:hover { border-color: var(--white); color: var(--white); }
.cookie-accept {
  background: var(--gold);
  border: none;
  color: var(--white);
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--gold-light); color: var(--ink); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); }

/* ---- MAP PLACEHOLDER ---- */
.map-placeholder {
  background: var(--light);
  border: 1px solid var(--rule);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-top: 2rem;
}
