:root {
  --ink: #21181a;
  --wine: #4d0a15;
  --wine-deep: #27060c;
  --red: #9f1d2f;
  --rose: #e9b7b4;
  --cream: #fff8ef;
  --paper: #f8f1e8;
  --line: rgba(77, 10, 21, .16);
  --white: #fffdf9;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 16px; color: white; background: var(--red); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(3.1rem, 6.6vw, 6.6rem); color: var(--white); }
h1 em, h2 em { font-weight: inherit; color: var(--rose); }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 4.4vw, 4.7rem); }
h3 { font-size: 1.45rem; }
.eyebrow { margin-bottom: 20px; color: #f1c7c3; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-dark { color: var(--red); }
.section { padding: 130px 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: white; transition: background .35s ease, border-color .35s ease, color .35s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { color: var(--ink); background: rgba(255, 248, 239, .94); border-color: var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.brand em { font-weight: 400; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; color: var(--wine); background: #f3c0bc; border-radius: 50% 50% 48% 52%; font-size: .8rem; }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: .88rem; font-weight: 650; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.nav-cta) { opacity: .88; }
.primary-nav a:hover { opacity: 1; }
.nav-cta { padding: 11px 17px; color: var(--wine); background: white; border-radius: 999px; }
.scrolled .nav-cta { color: white; background: var(--wine); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .25s ease; }

.hero { position: relative; min-height: 860px; height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--wine-deep); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(29, 3, 8, .96) 0%, rgba(38, 4, 11, .85) 35%, rgba(38, 4, 11, .18) 70%, rgba(38, 4, 11, .16) 100%), linear-gradient(0deg, rgba(23, 3, 7, .42), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 72px; }
.hero-copy { max-width: 590px; margin-bottom: 36px; color: rgba(255, 253, 249, .78); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions, .cta-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--wine); background: var(--white); }
.button-light:hover { background: #f3d8d2; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; text-underline-offset: 5px; }
.text-link-light { color: white; }
.hero-note { position: absolute; z-index: 2; right: 44px; bottom: 32px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.6); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-note i { width: 3px; height: 3px; background: var(--rose); border-radius: 50%; }

.intro-section { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: start; }
.intro-grid h2 { max-width: 700px; color: var(--wine); }
.intro-copy { padding-top: 47px; font-size: 1.1rem; }
.intro-copy p { margin-bottom: 24px; }
.intro-copy p:last-child { margin-bottom: 0; }

.topics-section { padding-top: 50px; background: var(--paper); }
.section-heading { max-width: 650px; margin-bottom: 58px; }
.section-heading h2 { color: var(--wine); }
.topic-grid { border-top: 1px solid var(--line); }
.topic-card { min-height: 210px; display: grid; grid-template-columns: 110px 1fr 50px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); }
.topic-number { align-self: start; padding-top: 42px; color: var(--red); font-family: Georgia, serif; font-size: .95rem; font-style: italic; }
.topic-card h3 { margin-bottom: 13px; color: var(--wine); font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.topic-card p { max-width: 700px; margin: 0; color: #625255; }
.topic-arrow { display: grid; place-items: center; width: 44px; height: 44px; color: var(--wine); border: 1px solid var(--line); border-radius: 50%; transition: color .2s, background .2s; }
.topic-card:hover .topic-arrow { color: white; background: var(--wine); }

.program-section { color: white; background: var(--wine); }
.program-heading { display: grid; grid-template-columns: 1.25fr .55fr; gap: 8vw; align-items: end; margin-bottom: 64px; }
.program-heading h2 { max-width: 760px; }
.program-heading > p { margin-bottom: 8px; color: rgba(255,255,255,.7); }
.program-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card { min-height: 410px; display: flex; flex-direction: column; padding: 38px; color: var(--wine); background: #f4e6dc; border-radius: 4px; }
.program-card.featured { color: white; background: #8f2132; }
.program-type { margin-bottom: 56px; font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; opacity: .7; }
.program-card h3 { max-width: 290px; margin-bottom: 22px; font-family: Georgia, serif; font-size: 2.25rem; font-weight: 500; }
.program-card > p:not(.program-type) { color: inherit; opacity: .74; }
.program-card a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 24px; border-top: 1px solid currentColor; text-decoration: none; font-size: .88rem; font-weight: 800; }

.steps-section { background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.steps-heading { position: sticky; top: 140px; align-self: start; }
.steps-heading h2 { color: var(--wine); }
.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps-list li { min-height: 184px; display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.steps-list li > span { color: var(--red); font-family: Georgia, serif; font-style: italic; }
.steps-list h3 { margin-bottom: 13px; color: var(--wine); font-size: 1.55rem; }
.steps-list p { max-width: 520px; margin-bottom: 0; color: #68585b; }

.cta-section { position: relative; overflow: hidden; padding: 125px 0; color: white; background: var(--wine-deep); }
.cta-section::before { content: "♥"; position: absolute; right: -2vw; top: -250px; color: rgba(255,255,255,.035); font-family: Georgia, serif; font-size: 700px; line-height: 1; }
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { max-width: 920px; margin: 0 auto 25px; }
.cta-inner > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 36px; color: rgba(255,255,255,.68); }
.cta-actions { justify-content: center; }

.site-footer { padding: 74px 0 28px; color: #e8d8d1; background: #1b080c; }
.footer-main { display: grid; grid-template-columns: .7fr 1fr .6fr; gap: 60px; align-items: start; padding-bottom: 65px; }
.brand-footer { color: white; }
.footer-main > p { max-width: 400px; margin: 0; color: rgba(255,255,255,.58); }
.footer-main nav { display: flex; flex-direction: column; gap: 11px; justify-self: end; }
.footer-main nav a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; padding-top: 26px; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.11); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 630px; text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .section { padding: 95px 0; }
  .menu-toggle { position: relative; z-index: 3; display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; color: var(--wine); background: var(--cream); font-family: Georgia, serif; font-size: 2rem; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .primary-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .primary-nav .nav-cta { color: white; background: var(--wine); font-family: Inter, sans-serif; font-size: 1rem; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(29,3,8,.94), rgba(29,3,8,.58)), linear-gradient(0deg, rgba(23,3,7,.72), transparent 60%); }
  .hero-note { display: none; }
  .intro-grid, .program-heading, .steps-grid { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .program-heading { gap: 30px; }
  .program-list { grid-template-columns: 1fr; }
  .program-card { min-height: 350px; }
  .steps-heading { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-main nav { justify-self: end; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 72px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  h2 { font-size: clamp(2.35rem, 10vw, 3.35rem); }
  .hero { min-height: 720px; height: 100svh; }
  .hero-content { padding-top: 54px; }
  .hero-copy { font-size: 1rem; }
  .hero-actions, .cta-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .topic-card { grid-template-columns: 46px 1fr; gap: 13px; padding: 34px 0; }
  .topic-number { padding-top: 3px; }
  .topic-arrow { display: none; }
  .program-card { min-height: 360px; padding: 30px; }
  .program-card h3 { font-size: 2rem; }
  .steps-list li { grid-template-columns: 46px 1fr; gap: 12px; }
  .cta-actions { align-items: center; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main > p { grid-column: auto; grid-row: auto; }
  .footer-main nav { justify-self: start; }
  .footer-bottom { flex-direction: column; }
  .disclaimer { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
