:root {
  --bg: #f7f3ea;
  --paper: #fffefa;
  --ink: #11100f;
  --muted: #6b655d;
  --line: #ded7cb;
  --pink: #cf1591;
  --hot-pink: #ff0b84;
  --pink-soft: #f8d8e9;
  --shadow: 0 14px 40px rgba(32, 24, 15, 0.045);
  --radius: 19px;
  --shell: min(1500px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 5%, rgba(255,255,255,.95), transparent 23%),
    linear-gradient(180deg, #f8f5ee 0%, var(--bg) 100%);
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.page-shell { width: var(--shell); margin-inline: auto; }

/* ---------- Global nav (same links as the rest of the site) ---------- */
.site-chrome { position: sticky; top: 0; z-index: 80; }
.site-nav {
  position: relative;
  background: rgba(248, 245, 238, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
#siteNav.is-open,
#siteNav.is-series-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-links .nav-series-btn { color: #3C382E; }
.nav-in {
  width: var(--shell);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; min-width: 0; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links .muted {
  color: #3C382E;
  white-space: nowrap;
}
.nav-links .muted:hover { color: var(--ink); }
.nav-links a.current {
  color: var(--pink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--pink);
}
.nav-links .nav-auth { flex-shrink: 0; }
.site-nav .nav-auth-btn { color: var(--ink); }
.site-nav .nav-account-btn { color: #3C382E; font: 500 14px "DM Sans", Inter, system-ui, sans-serif; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-toggle-bars { position: relative; margin: 0 auto; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-nav.is-open .nav-toggle-bars { background: transparent; }
.site-nav.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-nav.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border: 0;
  font: 700 14px/1 "DM Sans", Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover,
.btn:hover { transform: translateY(-1px); }
.button-primary,
.btn-primary {
  background: var(--pink);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(207, 21, 145, .12);
}
.button-primary:hover,
.btn-primary:hover { background: #b70f7f; }
.button-dark { background: #0f0f0f; color: #fff; min-height: 56px; padding: 0 25px; }
.nav-links .btn { flex-shrink: 0; white-space: nowrap; min-height: 44px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  align-items: end;
  padding-top: 66px;
  padding-bottom: 44px;
}
.eyebrow {
  margin: 0 0 15px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .15em;
}
.hero h1,
.approach h2,
.partner-copy h2,
.program-content h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(62px, 6.1vw, 104px);
  line-height: .93;
  letter-spacing: -.035em;
}
.hero-subtitle {
  max-width: 820px;
  margin: 22px 0 0;
  color: #4b4742;
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.45;
}
.hero-scribble {
  align-self: center;
  justify-self: end;
  display: flex;
  flex-direction: column;
  transform: rotate(-4deg);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  line-height: 1.02;
}
.hero-scribble strong { font-size: 29px; }
.hero-scribble i,
.micro-scribble i {
  width: 100px;
  height: 4px;
  margin-top: 9px;
  margin-left: 10px;
  display: block;
  border-radius: 100%;
  transform: rotate(-5deg);
  background: var(--hot-pink);
}

.programs-list { display: grid; gap: 24px; }
.program-card {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}
.program-art { overflow: hidden; background: #f3dfd7; }
.program-art img { width: 100%; height: 100%; object-fit: cover; object-position: 15% center; }
.program-art-dark { background: #0c0c0c; }
.program-content {
  padding: 39px 48px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.status-badge {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: #b21376;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
}
.program-content h2 {
  margin: 15px 0 0;
  font-size: clamp(42px, 3.4vw, 61px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.program-meta {
  display: flex;
  align-items: center;
  margin: 7px 0 0;
  font-size: 18px;
}
.program-partner {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.program-partner img {
  height: 38px;
  width: auto;
  display: block;
}
.program-meta span::before {
  content: "";
  width: 1px;
  height: 18px;
  margin: 0 16px;
  display: inline-block;
  vertical-align: -3px;
  background: #948b80;
}
.program-description {
  max-width: 850px;
  margin: 21px 0 0;
  color: #514b45;
  font-size: 18px;
  line-height: 1.55;
}
.program-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  padding: 0;
  margin: 27px 0 28px;
  font-size: 15px;
  font-weight: 500;
}
.program-facts li { display: inline-flex; align-items: center; gap: 8px; }
.program-facts svg,
.pillar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.program-cta { margin-top: auto; }
.button-secondary {
  background: transparent;
  color: #16140f;
  box-shadow: inset 0 0 0 1.5px #16140f;
}
.button-secondary:hover {
  background: #16140f;
  color: #fff !important;
}

.approach { padding-top: 52px; padding-bottom: 56px; }
.section-rule { height: 1px; background: var(--line); margin-bottom: 44px; }
.approach h2 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(54px, 4.5vw, 78px);
  line-height: .98;
  letter-spacing: -.025em;
}
.approach-intro {
  max-width: 980px;
  margin: 20px 0 40px;
  color: #514b45;
  font-size: 21px;
  line-height: 1.45;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 4px 42px 6px 0;
  margin-right: 42px;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.icon-disc {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7d9e9;
}
.icon-disc svg { width: 30px; height: 30px; }
.pillar h3 { margin: 0 0 5px; font-size: 20px; }
.pillar p { margin: 0; color: #5c554e; line-height: 1.48; font-size: 16px; }

.partner-cta { padding-bottom: 80px; }
.partner-card {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) auto;
  min-height: 235px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}
.partner-art { overflow: hidden; background: #e9ded1; }
.partner-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.partner-copy { padding: 28px 34px; }
.partner-copy .eyebrow { font-size: 12px; margin-bottom: 8px; }
.partner-copy h2 { margin: 0; font-size: 45px; line-height: .98; }
.partner-copy > p:last-child { max-width: 720px; margin: 12px 0 0; color: #514b45; line-height: 1.45; }
.partner-action {
  min-width: 280px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
}
.micro-scribble {
  transform: rotate(-3deg);
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .08em;
  line-height: 1.35;
  text-align: right;
}
.micro-scribble i { width: 90px; margin-top: 4px; margin-left: auto; }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 40px, 1120px); }
  .hero { grid-template-columns: 1fr 190px; }
  .program-card { grid-template-columns: 40% 60%; }
  .program-content { padding: 32px 34px; }
  .program-facts { gap: 13px 22px; }
  .partner-copy h2 { font-size: 38px; }
  .partner-action { min-width: 0; padding: 24px 28px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(248, 245, 238, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -24px rgba(22, 20, 15, .45);
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links .muted {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-links a.current { box-shadow: none; }
  .nav-links .btn { margin-top: 16px; width: 100%; }
  .nav-links .nav-auth { width: 100%; }
  .partner-card { grid-template-columns: 200px 1fr; }
  .partner-art { grid-row: 1 / span 2; }
  .partner-action { grid-column: 2; min-width: 0; padding: 0 34px 30px; align-items: flex-start; }
  .micro-scribble { display: none; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 760px); }
  .nav-in { min-height: 72px; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero h1 { font-size: clamp(54px, 14vw, 78px); }
  .hero-scribble { display: none; }
  .program-card { grid-template-columns: 1fr; }
  .program-art { height: 330px; }
  .program-content { padding: 28px 24px 30px; }
  .program-content h2 { font-size: 48px; }
  .program-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .program-partner img { height: 32px; }
  .program-meta span::before { display: none; }
  .program-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0 0 24px; }
  .pillar:last-child { border-bottom: 0; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-art { grid-row: auto; height: 240px; }
  .partner-copy { padding: 28px 24px 18px; }
  .partner-copy h2 { font-size: 43px; }
  .partner-action { grid-column: 1; padding: 0 24px 28px; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 22px); }
  .hero-subtitle { font-size: 18px; }
  .program-art { height: 250px; }
  .program-content h2 { font-size: 40px; }
  .program-description { font-size: 16px; }
  .program-facts { grid-template-columns: 1fr; }
  .approach h2 { font-size: 48px; }
  .approach-intro { font-size: 18px; }
  .partner-copy h2 { font-size: 38px; }
  .program-actions { width: 100%; }
  .program-actions .button,
  .program-cta,
  .button-dark { width: 100%; }
}
