:root {
    --ink: #211a39;
    --muted: #6e6680;
    --cream: #fffaf2;
    --saffron: #ef793f;
    --coral: #f49b58;
    --lavender: #eae4fb;
    --plum: #342650;
    --line: #e9e1d7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.page-shell { max-width: 1440px; margin: 0 auto; overflow: hidden; }

.site-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 28px 7.5% 20px;
}

.brand { align-items: center; display: flex; font-size: 14px; font-weight: 700; gap: 10px; letter-spacing: .02em; }
.brand em { color: var(--saffron); font-style: normal; }
.brand-mark { color: var(--saffron); font-size: 25px; line-height: 1; }
nav { align-items: center; display: flex; font-size: 13px; font-weight: 500; gap: 35px; }
nav a:not(.nav-pill) { color: var(--muted); }
nav a:not(.nav-pill):hover, .text-link:hover { color: var(--saffron); }
.nav-pill { background: var(--ink); border-radius: 30px; color: white; padding: 11px 18px; }
.nav-pill span { color: var(--coral); margin-left: 8px; }

.hero { align-items: center; display: grid; grid-template-columns: 48% 52%; min-height: 645px; padding: 54px 7.5% 80px; }
.hero-copy { padding-bottom: 18px; position: relative; z-index: 1; }
.eyebrow { color: var(--saffron); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dot { background: var(--saffron); border-radius: 50%; display: inline-block; height: 6px; margin: 0 9px 2px 0; width: 6px; }
h1, h2 { font-family: "Playfair Display", serif; font-weight: 700; letter-spacing: -.04em; line-height: .98; }
h1 { font-size: clamp(62px, 7.1vw, 108px); margin: 20px 0 24px; }
h1 span, h2 span { color: var(--saffron); }
.hero-intro { color: var(--muted); font-size: 15px; max-width: 370px; }
.hero-actions { align-items: center; display: flex; gap: 25px; margin-top: 34px; }
.button { border-radius: 5px; display: inline-flex; font-size: 12px; font-weight: 700; padding: 14px 19px; }
.button-primary { background: var(--saffron); box-shadow: 0 8px 18px #ef793f2e; color: white; gap: 25px; }
.button-primary span { font-size: 18px; line-height: 12px; }
.text-link { color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--saffron); font-size: 17px; margin-left: 7px; }
.festive-note { align-items: center; display: flex; gap: 12px; margin-top: 62px; }
.note-icon { align-items: center; background: var(--lavender); border-radius: 50%; color: var(--saffron); display: flex; font-size: 17px; height: 35px; justify-content: center; width: 35px; }
.festive-note p { font-size: 12px; line-height: 1.4; }
.festive-note small { color: var(--muted); font-size: 11px; }

.hero-art { align-items: center; display: flex; justify-content: center; min-height: 540px; position: relative; }
.sun-glow { background: #ffddba; border-radius: 50%; filter: blur(1px); height: min(37vw, 495px); opacity: .75; position: absolute; width: min(37vw, 495px); }
.hero-art img { max-height: 510px; position: relative; width: 100%; z-index: 1; }
.art-label { color: #9f6a63; font-family: "Playfair Display", serif; font-size: 23px; line-height: 1.05; position: absolute; text-align: center; z-index: 2; }
.art-label small { color: #bc9189; font-family: "DM Sans", sans-serif; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.label-top { right: 5%; top: 13%; transform: rotate(12deg); }
.label-bottom { bottom: 14%; left: 8%; transform: rotate(-10deg); }
.sparkle { color: var(--saffron); position: absolute; z-index: 2; }
.sparkle-one { font-size: 27px; right: 14%; top: 25%; }
.sparkle-two { color: #7e6baa; font-size: 28px; left: 8%; top: 28%; }
.sparkle-three { bottom: 24%; color: #7e6baa; font-size: 22px; right: 8%; }

.story-section { background: #f7f0e7; padding: 105px 12.5% 115px; }
h2 { font-size: clamp(42px, 5vw, 66px); }
.section-heading { display: flex; justify-content: space-between; }
.section-heading h2 { margin-top: 13px; }
.story-layout { align-items: stretch; display: grid; gap: 8%; grid-template-columns: 62% 30%; margin-top: 65px; }
.story-card { background: white; border-radius: 4px; box-shadow: 0 14px 30px #b18c7117; display: grid; gap: 30px; grid-template-columns: 50px 1fr; padding: 38px 42px; }
.story-number { color: var(--saffron); font-family: "Playfair Display", serif; font-size: 21px; }
.story-card h3 { font-family: "Playfair Display", serif; font-size: 25px; margin-bottom: 18px; }
.story-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.story-card .story-moral { color: var(--ink); font-family: "Playfair Display", serif; font-size: 16px; font-style: italic; margin-top: 25px; }
.story-aside { align-self: center; padding: 20px 0 20px 10px; position: relative; }
.quote-mark { color: #dfb6a0; font-family: Georgia, serif; font-size: 100px; left: 0; line-height: .7; position: absolute; top: 5px; }
.story-aside p { font-family: "Playfair Display", serif; font-size: 27px; line-height: 1.22; padding: 45px 0 22px 20px; position: relative; }
.aside-signature { color: var(--saffron); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding-left: 20px; }

.takeaways-section { background: var(--plum); color: white; display: grid; gap: 10%; grid-template-columns: 32% 58%; padding: 100px 12.5%; }
.eyebrow-light { color: var(--coral); }
.takeaways-intro h2 { margin: 18px 0 20px; }
.takeaways-intro > p:last-child { color: #c7bdd9; font-size: 13px; max-width: 230px; }
.lesson-grid { display: grid; gap: 15px; grid-template-columns: repeat(3, 1fr); padding-top: 23px; }
.lesson-card { border: 1px solid #6b5d85; border-radius: 3px; min-height: 260px; padding: 24px 20px; position: relative; }
.lesson-icon { color: var(--coral); font-family: "Playfair Display", serif; font-size: 18px; }
.lesson-card h3 { font-family: "Playfair Display", serif; font-size: 22px; margin: 54px 0 10px; }
.lesson-card p { color: #c7bdd9; font-size: 12px; line-height: 1.55; }
.lesson-doodle { bottom: 18px; color: var(--coral); font-size: 25px; position: absolute; right: 20px; }

.celebrate-section { align-items: center; display: flex; gap: 10%; justify-content: space-between; padding: 105px 12.5%; }
.celebrate-section h2 { margin-top: 16px; }
.challenge { align-items: center; background: var(--lavender); border-radius: 4px; display: flex; gap: 18px; max-width: 400px; padding: 25px 28px; }
.challenge-icon { color: var(--saffron); font-size: 32px; }
.challenge p { color: var(--muted); font-size: 13px; line-height: 1.55; }
footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 11px; justify-content: space-between; margin: 0 7.5%; padding: 24px 0 30px; }
footer span:first-child { color: var(--saffron); }
footer strong { color: var(--ink); font-weight: 700; margin-left: 7px; }

@media (max-width: 800px) {
    .site-header { padding: 22px 6%; }
    nav { gap: 15px; }
    nav a:not(.nav-pill) { display: none; }
    .hero { display: flex; flex-direction: column; padding: 65px 8% 50px; }
    .hero-copy { width: 100%; }
    .hero-art { min-height: 420px; width: 100%; }
    .sun-glow { height: 330px; width: 330px; }
    .hero-art img { max-height: 410px; }
    .story-section, .takeaways-section, .celebrate-section { padding: 75px 8%; }
    .section-heading { display: block; }
    .story-layout { display: block; margin-top: 40px; }
    .story-aside { margin-top: 40px; }
    .takeaways-section { display: block; }
    .lesson-grid { margin-top: 35px; padding: 0; }
    .celebrate-section { align-items: flex-start; display: block; }
    .challenge { margin-top: 35px; }
    footer { margin: 0 8%; }
}

@media (max-width: 520px) {
    h1 { font-size: 58px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
    .festive-note { margin-top: 38px; }
    .hero-art { min-height: 340px; }
    .hero-art img { max-height: 340px; }
    .story-card { display: block; padding: 28px 24px; }
    .story-number { margin-bottom: 18px; }
    .lesson-grid { grid-template-columns: 1fr; }
    .lesson-card { min-height: 190px; }
    .lesson-card h3 { margin-top: 25px; }
    footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
