/* ===== Homepage ===== */

/* HERO */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero .eyebrow { margin-bottom: 16px; display: inline-block; }
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}
.hero .lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-visual .ph { height: 100%; border-radius: var(--r-lg); }

/* Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hc-slides { position: absolute; inset: 0; }
.hc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  align-items: flex-end;
}
.hc-slide.active { opacity: 1; z-index: 1; }
.hc-slide .ph { position: absolute; inset: 0; border-radius: 0; border: 0; }
.hc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: 0; }
.hc-caption {
  position: relative;
  z-index: 2;
  padding: 24px 28px;
  width: 100%;
  color: #fff;
  background: linear-gradient(to top, rgba(15,10,5,.78) 0%, rgba(15,10,5,.4) 60%, transparent 100%);
}
.hc-caption .tag {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}
.hc-caption h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
}
.hc-caption p {
  font-size: 13px;
  opacity: .85;
  margin-top: 4px;
  line-height: 1.4;
}
.hc-dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hc-dots button {
  width: 24px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.hc-dots button.active { background: #fff; width: 36px; }
.hc-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.hc-arrows button {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.hc-arrows button:hover { background: #fff; transform: scale(1.05); }
.hero-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge-1 { bottom: 24px; left: -24px; }
.hero-badge-2 { top: 32px; right: -24px; }
.hero-badge b { font-family: "Cormorant Garamond", serif; font-size: 28px; color: var(--primary); display: block; line-height: 1; }
.hero-badge span { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .14em; }

/* Decorative serif flourish on the side */
.hero-deco {
  position: absolute;
  right: -80px;
  top: 40%;
  font-family: "Cormorant Garamond", serif;
  font-size: 480px;
  font-style: italic;
  color: var(--primary);
  opacity: .05;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ===== Stats strip ===== */
.stats {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}
.stat .num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  color: var(--accent-soft);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.stat .lbl {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.stat .desc {
  font-size: 14px;
  opacity: .75;
  margin-top: 8px;
  line-height: 1.4;
}

/* ===== Directive / Director message ===== */
.director {
  padding: 120px 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.director .portrait {
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.director-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 32px;
  font-style: italic;
}
.director-quote::before {
  content: "„";
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  position: relative;
  top: .2em;
}
.director-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.director-sig b { display: block; font-family: "Cormorant Garamond", serif; font-size: 20px; }
.director-sig span { font-size: 13px; color: var(--ink-mute); }

/* ===== Quick Links cards ===== */
.quick-links {
  padding: 96px 0;
  background: color-mix(in srgb, var(--primary) 4%, var(--bg));
}
.ql-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ql-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.ql-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.ql-card .ql-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
}
.ql-card h3 { font-size: 20px; font-weight: 600; }
.ql-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.ql-card .arr {
  margin-top: auto;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== News preview ===== */
.news {
  padding: 96px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.news-card .img { aspect-ratio: 16/10; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); object-fit: cover; width: 100%; }
.news-card.feature .img { aspect-ratio: 16/11; }
.news-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card.feature .body { padding: 32px 36px 36px; }
.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--ink-mute); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.news-meta .cat { color: var(--primary); }
.news-card h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.news-card.feature h3 { font-size: 30px; font-family: "Cormorant Garamond", serif; font-weight: 500; letter-spacing: -.01em; }
.news-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

/* ===== Programs / pillars ===== */
.pillars {
  padding: 96px 0;
  background: color-mix(in srgb, var(--primary) 5%, var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--surface);
  padding: 36px 28px;
}
.pillar-n {
  font-family: "Cormorant Garamond", serif;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  margin-bottom: 32px;
  display: block;
}
.pillar h3 { font-size: 22px; margin-bottom: 12px; font-weight: 600; line-height: 1.2; }
.pillar p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* ===== CTA band ===== */
.cta-band {
  padding: 120px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  max-width: 800px;
  margin: 0 auto 24px;
}
.cta-band h2 em { font-style: italic; color: var(--primary); }
.cta-band .lead { color: var(--ink-soft); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }

/* ========= Variation B — Modern Editorial (type-forward, big serif) ========= */
body[data-variant="B"] .hero { padding: 48px 0 96px; }
body[data-variant="B"] .hero-grid { grid-template-columns: 1fr; gap: 48px; }
body[data-variant="B"] .hero h1 { font-size: clamp(56px, 9vw, 140px); letter-spacing: -.03em; line-height: .92; }
body[data-variant="B"] .hero-visual { aspect-ratio: 21/9; order: 2; margin-top: 32px; }
body[data-variant="B"] .hero-badge { display: none; }
body[data-variant="B"] .hero .lead { max-width: 720px; font-size: 21px; }
body[data-variant="B"] .hero-cta { justify-content: flex-start; }

/* ========= Variation C — Warm & Friendly (more rounded, illustrative placeholders) ========= */
body[data-variant="C"] .hero-visual { aspect-ratio: 1/1; border-radius: 50%; }
body[data-variant="C"] .ql-card { border-radius: var(--r-lg); }
body[data-variant="C"] .news-card { border-radius: var(--r-lg); }
body[data-variant="C"] .btn { padding: 14px 26px; }
body[data-variant="C"] .hero h1 { font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .director { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .ql-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .hero-deco { display: none; }
}
