:root {
	--ink: #17201d;
	--muted: #66706b;
	--pine-950: #071813;
	--pine-900: #0c241d;
	--pine-800: #12342b;
	--pine-700: #1c4a3d;
	--cream: #f7f1e7;
	--paper: #fffdf8;
	--gold: #d1aa63;
	--gold-dark: #a97930;
	--red: #8f2f3b;
	--line: rgba(23, 32, 29, .13);
	--shadow: 0 24px 70px rgba(7, 24, 19, .14);
	--radius: 24px;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }
body.modal-open, body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute !important; 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; left: 16px; top: -100px; z-index: 9999; background: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: #e1bf7e; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; height: 88px; color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { position: fixed; background: rgba(7, 24, 19, .97); box-shadow: 0 8px 32px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand__mark { width: 40px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(209,170,99,.6); border-radius: 50% 50% 45% 45%; position: relative; color: var(--gold); }
.brand__mark::before, .brand__mark::after { content: ""; position: absolute; top: -4px; width: 10px; height: 9px; border-top: 1px solid var(--gold); }
.brand__mark::before { left: 7px; transform: rotate(25deg); }
.brand__mark::after { right: 7px; transform: rotate(-25deg); }
.brand__mark span { font: 700 1.4rem/1 var(--serif); transform: translateY(-1px); }
.brand__name { color: #fff; font: 700 1.55rem/1 var(--serif); letter-spacing: -.02em; }
.brand__name span { color: var(--gold); }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-nav__list a:hover, .site-nav__list a:focus { color: var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border: 0; background: transparent; align-content: center; gap: 5px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 12px 23px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s, background .18s, border-color .18s, color .18s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f0c775; outline-offset: 3px; }
.button--small { min-height: 42px; padding: 8px 18px; font-size: .88rem; }
.button--primary { background: var(--pine-800); color: #fff; }
.button--gold { background: var(--gold); color: var(--pine-950); box-shadow: 0 10px 30px rgba(209,170,99,.22); }
.button--outline { border-color: currentColor; background: transparent; color: inherit; }
.button--ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(0,0,0,.06); }
.button--text { background: transparent; color: var(--pine-800); padding-inline: 10px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { min-height: 790px; position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--pine-950); }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media { background: url('../images/julbord-hero.webp') 58% center / cover no-repeat; transform: scale(1.01); }
.hero__shade { background: linear-gradient(90deg, rgba(4,15,12,.96) 0%, rgba(4,15,12,.78) 36%, rgba(4,15,12,.22) 65%, rgba(4,15,12,.15) 100%), linear-gradient(0deg, rgba(4,15,12,.45), transparent 45%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: end; gap: 80px; padding-top: 155px; padding-bottom: 110px; }
.hero__copy { max-width: 690px; align-self: center; }
.hero h1 { margin: 0 0 24px; max-width: 720px; color: #fff; font: 600 clamp(3.5rem, 7vw, 6.8rem)/.91 var(--serif); letter-spacing: -.055em; }
.hero h1 em { color: #ecd8b3; font-weight: 400; }
.hero__lead { max-width: 610px; margin: 0 0 30px; color: rgba(255,255,255,.83); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: .84rem; font-weight: 650; }
.hero__proof li::before { content: "✓"; margin-right: 7px; color: var(--gold); }
.hero-card { align-self: end; padding: 24px; color: var(--ink); background: rgba(255,253,248,.95); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; box-shadow: 0 28px 80px rgba(0,0,0,.3); backdrop-filter: blur(10px); }
.hero-card__top { display: flex; justify-content: space-between; margin-bottom: 22px; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #4e936f; }
.hero-card > strong { display: block; font: 700 1.45rem/1.15 var(--serif); }
.hero-card > p { margin: 5px 0 22px; color: var(--muted); font-size: .87rem; }
.hero-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 0; border-block: 1px solid var(--line); font-size: .72rem; color: var(--muted); text-align: center; }
.hero-card__stats b { display: block; color: var(--pine-800); font: 700 1.2rem/1 var(--serif); }
.hero-card__progress { height: 6px; margin: 20px 0 8px; overflow: hidden; background: #e8e1d6; border-radius: 999px; }
.hero-card__progress span { display: block; height: 100%; background: var(--red); border-radius: inherit; }
.hero-card__progress .is-72 { width: 72%; }
.hero-card small { color: var(--muted); }

.trust-strip { color: #e9dfd1; background: var(--pine-900); border-top: 1px solid rgba(255,255,255,.08); }
.trust-strip__inner { min-height: 82px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 32px; font-size: .84rem; }
.trust-strip__inner span { display: flex; align-items: center; gap: 13px; }
.trust-strip b { color: var(--gold); font: 400 1.3rem var(--serif); }

.section { padding: 110px 0; }
.section-heading { max-width: 700px; margin-bottom: 45px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2, .editorial-copy h2, .songs-copy h2, .closing-cta h2 { margin: 0 0 17px; font: 600 clamp(2.4rem, 5vw, 4.3rem)/1.02 var(--serif); letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1.4fr .8fr; align-items: end; gap: 60px; }
.section-heading--split > p { color: rgba(255,255,255,.7) !important; }
.section--planner { background: var(--cream); }
.setup-notice { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.setup-notice p { margin-bottom: 0; }
.setup-notice--dark { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.15); }

.section--steps { background: var(--paper); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: steps; }
.step-grid article { min-height: 255px; position: relative; padding: 34px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-grid article::after { content: ""; position: absolute; width: 130px; height: 130px; right: -55px; bottom: -55px; border: 1px solid rgba(209,170,99,.35); border-radius: 50%; }
.step-grid article > span { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 38px; color: var(--gold-dark); background: #f4ead7; border-radius: 50%; font: 700 1rem var(--serif); }
.step-grid h3 { margin: 0 0 10px; font: 700 1.6rem var(--serif); }
.step-grid p { margin: 0; color: var(--muted); }

.section--account { color: #fff; background: var(--pine-900); }
.section--account .section-heading h2 { max-width: 650px; }

.section--editorial { background: #f2eadf; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; align-items: center; }
.editorial-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 10px; margin-top: 15px; color: var(--pine-800); font-weight: 800; text-underline-offset: 5px; }
.editorial-cards { display: grid; gap: 12px; }
.editorial-cards article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; }
.mini-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--gold-dark); border: 1px solid rgba(169,121,48,.35); border-radius: 50%; font: 700 1.15rem var(--serif); }
.editorial-cards h3 { margin: 0 0 3px; font: 700 1.25rem var(--serif); }
.editorial-cards p { margin: 0; color: var(--muted); font-size: .9rem; }

.ad-slot { min-height: 122px; margin-block: 28px; padding: 26px 34px; display: grid; grid-template-columns: 100px 1fr; align-items: center; column-gap: 25px; background: #faf7f1; border: 1px dashed #cbbda7; border-radius: 16px; }
.ad-slot span { grid-row: 1 / 3; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.ad-slot strong { align-self: end; font: 600 1.25rem var(--serif); }
.ad-slot small { align-self: start; color: var(--muted); }

.section--songs { color: #fff; background: var(--pine-950); }
.songs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.songs-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.song-player { min-height: 310px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; padding: 45px; background: radial-gradient(circle at 20% 20%, rgba(209,170,99,.14), transparent 42%), #102c24; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; box-shadow: var(--shadow); }
.record { width: 175px; aspect-ratio: 1; display: grid; place-items: center; background: repeating-radial-gradient(circle, #131817 0 2px, #252b29 3px 5px); border-radius: 50%; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.record span { width: 45px; height: 45px; background: var(--red); border: 8px solid #d9b77a; border-radius: 50%; }
.song-player__meta span { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.song-player h3 { margin: 8px 0 3px; font: 600 1.9rem var(--serif); }
.song-player p { margin: 0; color: rgba(255,255,255,.6); font-size: .84rem; }
.play-button { width: 58px; height: 58px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--pine-950); background: var(--gold); cursor: pointer; }
.play-button.is-playing { background: #fff; }

.section--sisters { background: #eee6da; }
.section--sisters .section-heading { max-width: 770px; }
.sister-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sister-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 38px; overflow: hidden; position: relative; border-radius: 24px; }
.sister-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border: 1px solid currentColor; border-radius: 50%; opacity: .12; }
.sister-card--adult { color: #fff; background: linear-gradient(135deg, #163b31, #0a211b); }
.sister-card--children { color: #1d2925; background: linear-gradient(135deg, #f6ead3, #dfc995); }
.sister-card--origins { color: #fff; background: radial-gradient(circle at 85% 15%, rgba(205,157,82,.2), transparent 33%), linear-gradient(145deg, #352b27, #171513); }
.sister-card__audience { display: inline-block; margin-bottom: 16px; color: #d9b36c; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.sister-card--children .sister-card__audience { color: #8f2f3b; }
.sister-card--origins .sister-card__audience { color: #e2b76e; }
.sister-card h3 { max-width: 470px; margin: 0 0 13px; font: 650 2.2rem/1.05 var(--serif); letter-spacing: -.03em; }
.sister-card p { max-width: 510px; margin: 0; color: rgba(255,255,255,.7); }
.sister-card--children p { color: #56625d; }
.sister-card--origins p { color: rgba(255,255,255,.72); }
.sister-card .text-link { margin: 0; color: #f0cd89; }
.sister-card--children .text-link { color: #173b31; }
.sister-card--origins .text-link { color: #efc77f; }
.sister-card small { display: block; margin-top: 7px; color: rgba(255,255,255,.55); font-size: .7rem; }
.sister-card--children small { color: #69736e; }
.sister-card--origins small { color: rgba(255,255,255,.56); }
.external-link { align-items: center; }
.external-link > span { font-size: 1.05em; }

.closing-cta { padding: 110px 0; text-align: center; background: var(--cream); }
.closing-cta__inner { max-width: 780px; }

.site-footer { padding: 70px 0 24px; color: rgba(255,255,255,.68); background: #06130f; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 80px; }
.brand--footer { margin-bottom: 20px; }
.site-footer p { max-width: 420px; }
.site-footer h2 { margin: 5px 0 16px; color: #fff; font: 600 1.1rem var(--serif); }
.site-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.site-footer a, .footer-link { color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: none; cursor: pointer; }
.site-footer a:hover, .footer-link:hover { color: var(--gold); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; }

.consent { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; padding: 20px; background: rgba(4,15,12,.56); backdrop-filter: blur(4px); }
.consent__panel { width: min(760px, 100%); padding: 30px; background: #fffdf8; border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.consent h2 { margin: 0 0 8px; font: 700 2rem var(--serif); }
.consent p:not(.eyebrow) { color: var(--muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.consent__settings { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.consent__settings label { display: flex; justify-content: space-between; padding: 10px 0; }
.consent__settings input { width: 20px; height: 20px; accent-color: var(--pine-700); }

.external-dialog { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(4,15,12,.66); backdrop-filter: blur(5px); }
.external-dialog__panel { width: min(560px, 100%); padding: 34px; color: var(--ink); background: #fffdf8; border: 1px solid rgba(209,170,99,.5); border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.42); }
.external-dialog h2 { margin: 0 0 9px; font: 700 2.25rem/1.05 var(--serif); }
.external-dialog p:not(.eyebrow) { margin: 0; color: var(--muted); }
.external-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }

.content-area { min-height: 70vh; padding-top: 150px; padding-bottom: 100px; }
.content-card, .prose { max-width: 820px; margin-inline: auto; }
.prose h1, .error-page h1 { font: 600 clamp(2.8rem, 6vw, 5rem)/1 var(--serif); }
.prose h2 { font: 600 2rem var(--serif); }
.prose p, .prose li { color: #404946; }
.error-page { text-align: center; }

@media (max-width: 980px) {
	.site-header { height: 76px; }
	/* A filtered ancestor traps fixed descendants inside the 76px header. */
	.site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #071813; }
	body.nav-open .site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: #071813; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.site-nav { display: none; position: fixed; inset: 76px 0 0; z-index: 1; margin: 0; padding: 30px 20px calc(30px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; color: #fff; background: #071813; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; align-items: flex-start; gap: 0; }
	.site-nav__list li { width: 100%; }
	.site-nav__list a { display: block; padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font: 600 1.5rem var(--serif); }
	.nav-toggle { display: block; order: 2; }
	.header-login { margin-left: auto; }
	.hero { min-height: 850px; }
	.hero__inner { grid-template-columns: 1fr; gap: 42px; padding-top: 140px; }
	.hero-card { width: min(420px, 100%); }
	.hero__shade { background: linear-gradient(90deg, rgba(4,15,12,.94), rgba(4,15,12,.5)), linear-gradient(0deg, rgba(4,15,12,.65), transparent); }
	.trust-strip__inner { grid-template-columns: 1fr; gap: 12px; padding-block: 20px; }
	.section-heading--split, .editorial-grid, .songs-grid { grid-template-columns: 1fr; gap: 45px; }
	.step-grid { grid-template-columns: 1fr; }
	.step-grid article { min-height: 0; }
	.sister-grid { grid-template-columns: repeat(2, 1fr); }
	.song-player { grid-template-columns: 140px 1fr auto; padding: 28px; }
	.record { width: 135px; }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}

@media (max-width: 680px) {
	.shell { width: min(100% - 28px, 1180px); }
	.header-login { display: none; }
	.hero { min-height: 780px; align-items: end; }
	.hero__media { background-position: 64% center; }
	.hero__shade { background: linear-gradient(90deg, rgba(4,15,12,.94), rgba(4,15,12,.4)), linear-gradient(0deg, rgba(4,15,12,.84) 0%, rgba(4,15,12,.25) 70%); }
	.hero__inner { padding-top: 120px; padding-bottom: 55px; }
	.hero h1 { font-size: clamp(3rem, 16vw, 4.4rem); }
	.hero__lead { font-size: 1rem; }
	.hero-card { display: none; }
	.hero .button { width: 100%; }
	.hero__proof { gap: 8px 15px; }
	.section { padding: 78px 0; }
	.section-heading h2, .editorial-copy h2, .songs-copy h2, .closing-cta h2 { font-size: 2.55rem; }
	.section-heading--split { gap: 18px; }
	.step-grid article { padding: 27px; }
	.editorial-grid { gap: 45px; }
	.ad-slot { grid-template-columns: 1fr; gap: 4px; }
	.ad-slot span { grid-row: auto; }
	.song-player { grid-template-columns: 1fr auto; min-height: 0; padding: 24px; }
	.record { display: none; }
	.song-player h3 { font-size: 1.45rem; }
	.sister-grid { grid-template-columns: 1fr; }
	.sister-card { min-height: 290px; padding: 28px; }
	.sister-card h3 { font-size: 1.9rem; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.site-footer__bottom { flex-direction: column; }
	.consent { padding: 8px; }
	.consent__panel { padding: 23px; border-radius: 20px; }
	.consent__actions .button { width: 100%; }
	.external-dialog { padding: 9px; }
	.external-dialog__panel { padding: 25px; border-radius: 20px; }
	.external-dialog__actions { flex-direction: column-reverse; }
	.external-dialog__actions .button { width: 100%; }
}

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

@media print {
	.site-header, .site-footer, .hero, .trust-strip, .section--steps, .section--editorial, .section--songs, .section--sisters, .closing-cta, .ad-slot, .consent, .external-dialog, .no-print { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.section { padding: 0; }
	.shell { width: 100%; }
	[data-jb-result], [data-account-panel="print"] { display: block !important; }
}
