/* Public pages: editorial layout and motion. Follows the light / dark tokens in main.css. */

@view-transition { navigation: auto; }

.stage .site-main { max-width: none; padding: 0; overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.stage .lede { font-size: 1.15rem; }

/* Word reveal: only active once JS marks the page */
.js .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .word > span { display: inline-block; transform: translateY(105%); transition: transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 50ms + var(--d, 0ms)); }
.js .is-in .word > span, .js .word.is-in > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hover-aware fill and magnetic pull on the main buttons */
.btn-fill::before { content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: 0; height: 0; border-radius: 50%; background: var(--heading); transform: translate(-50%, -50%); transition: width .5s ease, height .5s ease; }
.btn-fill:hover::before { width: 340px; height: 340px; }
.btn-fill.btn-gold::before { background: var(--navy); }
.btn-fill.btn-gold:hover { color: var(--white); }
.btn-fill.btn-ghost:hover { color: var(--bg); }
.magnetic { transition: transform .25s cubic-bezier(.2, .8, .2, 1); will-change: transform; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--link) 12%, transparent), transparent 70%),
    var(--bg); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; min-height: min(760px, calc(100dvh - 64px)); padding-top: 56px; padding-bottom: 72px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.hero-kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: .95; letter-spacing: -.04em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent-text); }
.hero-sub { max-width: 44ch; margin: 26px 0 30px; font-size: 1.15rem; color: var(--muted); }
.hero-sub strong { color: var(--heading); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; justify-self: center; width: min(500px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 38%, transparent), transparent 66%); filter: blur(6px); }
.hero-art .orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.hero-art .orbit.two { inset: -4%; border-color: color-mix(in srgb, var(--heading) 12%, transparent); }
.hero-art svg.ring { position: absolute; inset: 4%; width: 92%; height: 92%; animation: spin 50s linear infinite; }
.hero-art svg.ring text { fill: var(--accent-text); font: 700 4.6px var(--sans); letter-spacing: .34em; text-transform: uppercase; }
.hero-art img { position: relative; z-index: 2; width: 74%; height: auto; filter: drop-shadow(0 24px 30px rgba(11, 30, 61, .28)); animation: bob 6s ease-in-out infinite; transition: transform .2s ease-out; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- The one marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 500; white-space: nowrap; color: #F5F1E8; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Numbers band ---------- */
.why { padding: clamp(72px, 10vw, 128px) 0; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.big-number { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: .85; letter-spacing: -.05em; font-weight: 600; color: var(--heading); font-variant-numeric: tabular-nums; }
.big-number small { font-size: .45em; color: var(--accent-text); }
.why h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 18ch; }
.why p { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.why .source { margin-top: 14px; font-size: .9rem; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(72px, 11vw, 140px) 0; background: var(--bg-alt); }
.manifesto p { max-width: 22em; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.manifesto .w { color: color-mix(in srgb, var(--heading) 22%, transparent); transition: color .35s ease; }
.manifesto .w.lit { color: var(--heading); }
.manifesto .w.gold-word.lit { color: var(--accent-text); }
.manifesto.static .w { color: var(--heading); }
.manifesto-note { margin-top: 32px; max-width: 50ch; color: var(--muted); font-size: 1.1rem; }

/* ---------- Layers of belonging ---------- */
.layers { padding: clamp(72px, 10vw, 128px) 0; }
.layers-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.layers h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 14ch; }
.rings { position: relative; aspect-ratio: 1; width: min(460px, 100%); justify-self: center; }
.rings li { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; display: flex; justify-content: center; align-items: flex-start; padding-top: 4%; border: 1px solid color-mix(in srgb, var(--heading) 18%, transparent); background: color-mix(in srgb, var(--gold) calc(var(--k) * 7%), var(--surface)); font-weight: 600; font-size: .92rem; color: var(--heading); list-style: none; transition: transform .6s cubic-bezier(.2, .8, .2, 1), background .3s ease; }
.rings li:nth-child(1) { width: 100%; height: 100%; --k: 1; }
.rings li:nth-child(2) { width: 80%; height: 80%; --k: 2; }
.rings li:nth-child(3) { width: 60%; height: 60%; --k: 3; }
.rings li:nth-child(4) { width: 40%; height: 40%; --k: 4; }
.rings li:nth-child(5) { width: 20%; height: 20%; --k: 6; align-items: center; padding: 0; background: var(--gold); color: var(--navy); border: 0; }
.js .rings li { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
.js .rings.is-in li { transform: translate(-50%, -50%) scale(1); opacity: 1; transition-delay: calc((5 - var(--k)) * 90ms); }
.layer-list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.layer-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.layer-list b { color: var(--heading); }
.layer-list span { color: var(--muted); }

/* ---------- Sticky stack: three pillars ---------- */
.stack-section { padding: clamp(64px, 9vw, 110px) 0 80px; background: var(--bg-alt); }
.stack-head { margin-bottom: 40px; }
.stack-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 16ch; }
.stack-card { position: sticky; top: calc(84px + var(--i) * 22px); margin-bottom: 32px; min-height: min(52vh, 420px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: end; padding: clamp(28px, 4vw, 48px); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1)); will-change: transform; }
.stack-card:nth-child(2) { background: var(--navy); border-color: var(--navy); }
.stack-card:nth-child(2) h3, .stack-card:nth-child(2) p { color: #F5F1E8; }
.stack-card:nth-child(2) li { color: #F5F1E8; border-color: rgba(255, 255, 255, .3); }
.stack-card:nth-child(3) { background: var(--gold); border-color: var(--gold); }
.stack-card:nth-child(3) h3, .stack-card:nth-child(3) p { color: var(--navy); }
.stack-card::before { content: attr(data-n); position: absolute; right: -.04em; top: -.2em; font-family: var(--serif); font-size: clamp(7rem, 20vw, 16rem); line-height: 1; letter-spacing: -.06em; color: currentColor; opacity: .07; pointer-events: none; }
.stack-card:nth-child(2)::before { color: #fff; }
.stack-card h3 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); letter-spacing: -.03em; }
.stack-card p { max-width: 42ch; color: var(--muted); }
.stack-card ul { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--heading); }

/* ---------- Houses: strips that open ---------- */
.houses-band { padding: clamp(64px, 9vw, 120px) 0; background: var(--navy); }
.houses-band h2, .houses-band .eyebrow { color: #F5F1E8; }
.houses-band .eyebrow { color: var(--gold-soft); }
.houses-band .btn-ghost { color: #F5F1E8; border-color: rgba(255, 255, 255, .4); }
.houses-band .btn-fill.btn-ghost::before { background: var(--gold); }
.houses-band .btn-fill.btn-ghost:hover { color: var(--navy); }
.houses-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.houses-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 16ch; }
.strips { list-style: none; display: flex; gap: 10px; height: min(500px, 70vh); }
.strip { --accent: var(--gold); position: relative; flex: 1; min-width: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 26%, #0f2447), #0c1f40 72%); transition: flex .6s cubic-bezier(.2, .8, .2, 1); }
.strip.is-active { flex: 5.5; }
.strip-btn { position: absolute; inset: 0; width: 100%; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.strip-tab { position: absolute; inset: 20px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; transition: opacity .3s ease; }
.strip.is-active .strip-tab { opacity: 0; pointer-events: none; }
.crest { color: var(--accent); }
.strip-tab .crest { width: 32px; height: 32px; }
.strip-tab b { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: #F5F1E8; white-space: nowrap; }
.strip-tab small { font-family: var(--serif); color: var(--accent); }
.strip-body { position: absolute; inset: 0; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s ease; pointer-events: none; }
.strip.is-active .strip-body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.strip-body .crest { position: absolute; right: -6%; top: -4%; width: min(300px, 60%); opacity: .2; }
.strip-body .motto { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.strip-body h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: #F5F1E8; margin-top: 6px; }
.strip-body p { max-width: 38ch; margin-top: 10px; color: rgba(255, 255, 255, .85); }
.strip-body a { margin-top: 16px; font-weight: 700; color: var(--accent); }

/* ---------- Path: how it works ---------- */
.path-section { padding: clamp(72px, 10vw, 130px) 0; }
.path-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.path-head { position: sticky; top: 110px; align-self: start; }
.path-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 12ch; }
.path { position: relative; padding-left: 56px; list-style: none; }
.path::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.path-fill { position: absolute; left: 15px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: linear-gradient(var(--gold), var(--gold-soft)); }
.path li { position: relative; padding-bottom: clamp(44px, 7vw, 84px); }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: attr(data-n); position: absolute; left: -56px; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); font: 700 .85rem var(--sans); color: var(--muted); transition: all .4s ease; }
.path li.is-on::before { background: var(--gold); border-color: var(--gold); color: var(--navy); box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 22%, transparent); }
.path h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 8px; opacity: .5; transition: opacity .4s ease; }
.path li.is-on h3 { opacity: 1; }
.path p { max-width: 48ch; color: var(--muted); }

/* ---------- Finale ---------- */
.finale { position: relative; padding: clamp(80px, 11vw, 150px) 0; text-align: center; overflow: hidden; background: radial-gradient(70% 90% at 50% 110%, color-mix(in srgb, var(--gold) 40%, transparent), transparent 70%), var(--bg-alt); }
.finale h2 { font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: .95; letter-spacing: -.04em; max-width: 14ch; margin: 0 auto; }
.finale p { margin: 22px auto 32px; max-width: 46ch; font-size: 1.12rem; color: var(--muted); }
.finale .actions { justify-content: center; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); overflow: hidden; background: radial-gradient(60% 90% at 95% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: .98; letter-spacing: -.035em; max-width: 16ch; }
.page-hero .lede { max-width: 56ch; margin-top: 22px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .sticky { position: sticky; top: 110px; }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 14ch; }
.big-list { list-style: none; border-top: 1px solid var(--line); }
.big-list > li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.big-list .n { font-family: var(--serif); font-size: 1.4rem; color: var(--accent-text); }
.big-list h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 6px; }
.big-list p { color: var(--muted); max-width: 56ch; }
.chips { margin-top: 12px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--heading); background: var(--surface); }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts-row > div { padding: 30px 28px 30px 0; }
.facts-row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts-row b { display: block; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; color: var(--heading); line-height: 1.15; margin-bottom: 8px; }
.facts-row span { color: var(--muted); }
.quote-xl { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 500; max-width: 26ch; color: var(--heading); }
.quote-by { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* Houses page selector */
.selector { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.selector-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
.selector-list button { --accent: var(--gold); display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font: 600 1rem var(--sans); text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.selector-list button:hover { transform: translateX(4px); border-color: var(--accent); }
.selector-list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #F5F1E8; }
.selector-list .crest { width: 28px; height: 28px; flex-shrink: 0; }
.selector-list small { margin-left: auto; font-family: var(--serif); opacity: .6; }
.house-detail { --accent: var(--gold); position: relative; min-height: 480px; padding: clamp(28px, 5vw, 56px); border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 28%, #0f2447), #0c1f40 68%); overflow: hidden; color: #F5F1E8; }
.house-detail[hidden] { display: none; }
.house-detail > .crest { position: absolute; right: -4%; top: -6%; width: min(400px, 65%); opacity: .18; }
.house-detail .eyebrow { color: var(--accent); }
.house-detail h2 { position: relative; font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: .95; letter-spacing: -.035em; color: #F5F1E8; max-width: 12ch; }
.house-detail .kind { position: relative; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent); }
.house-detail p { position: relative; max-width: 50ch; margin-top: 16px; font-size: 1.08rem; color: rgba(255, 255, 255, .88); }
.house-detail blockquote { position: relative; margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.15rem; color: #F5F1E8; max-width: 52ch; }
.house-detail blockquote cite { display: block; margin-top: 6px; font: 500 .9rem var(--sans); color: rgba(255, 255, 255, .7); font-style: normal; }
.house-detail.is-entering { animation: pop-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.99); } }

/* Listings: resources and opportunities */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .2s ease, background .2s ease; }
.filters a:hover { border-color: var(--heading); }
.filters a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #F5F1E8; }
.listing { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.listing > li { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.listing > li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
.listing h3 { font-size: 1.2rem; margin: 8px 0 6px; }
.listing p { color: var(--muted); font-size: .98rem; }
.listing .meta { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; color: var(--muted); }
.listing .meta b { color: var(--heading); }
.listing a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.due-soon { color: var(--bad); font-weight: 700; }
.empty-state { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.empty-state h3 { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 8px; }
    .hero-art { width: min(340px, 80vw); grid-row: 1; }
    .why-grid, .layers-grid, .path-grid, .split { grid-template-columns: 1fr; gap: 36px; }
    .path-head, .split .sticky { position: static; }
    .selector { grid-template-columns: 1fr; }
    .selector-list { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .selector-list > div { flex: 0 0 auto; scroll-snap-align: start; }
    .selector-list small { display: none; }
}
@media (max-width: 760px) {
    .wrap { padding: 0 20px; }
    .hero-art { width: min(280px, 76vw); }
    .stack-card { grid-template-columns: 1fr; min-height: 50vh; top: calc(72px + var(--i) * 16px); }
    .strips { flex-direction: column; height: auto; }
    .strip { flex: none; height: 72px; transition: height .55s cubic-bezier(.2, .8, .2, 1); }
    .strip.is-active { height: 380px; }
    .strip-tab { flex-direction: row; inset: 0; padding: 0 20px; }
    .strip-tab b { writing-mode: horizontal-tb; transform: none; margin-right: auto; margin-left: 16px; }
    .facts-row { grid-template-columns: 1fr; }
    .facts-row > div, .facts-row > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .layer-list li { grid-template-columns: 1fr; gap: 2px; }
    .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .js .word > span, .js [data-reveal], .js .rings li { transform: none !important; opacity: 1 !important; transition: none !important; }
    .js .rings li { transform: translate(-50%, -50%) !important; }
    .hero-art img, .hero-art svg.ring { animation: none !important; }
    .stack-card { position: relative; top: 0; transform: none !important; }
}

/* ================= Warmth layer: texture, light, handwriting, voices ================= */

/* Paper grain over everything: makes flat screen colour feel like a real surface. */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: .06; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .05; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { mix-blend-mode: screen; opacity: .05; } }

/* Warmer light in the hero: a sunrise behind the bird. */
.hero { background:
    radial-gradient(45% 55% at 80% 35%, color-mix(in srgb, #F2B98A 38%, transparent), transparent 70%),
    radial-gradient(55% 65% at 85% 30%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 72%),
    radial-gradient(50% 60% at 5% 95%, color-mix(in srgb, var(--link) 10%, transparent), transparent 70%),
    var(--bg); }

/* Hand-drawn underline that draws itself in. */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -4%; bottom: -.18em; width: 108%; height: .42em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.1s cubic-bezier(.6, .1, .2, 1) .5s; }
.scribble.is-drawn path, .no-js .scribble path { stroke-dashoffset: 0; }

/* Soft light that follows the cursor across cards. */
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .3s ease;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--gold) 22%, transparent), transparent 65%); }
.glow:hover::after { opacity: 1; }

/* A gold sheen passes over the hummingbird now and then. */
.hero-art .sheen { position: absolute; z-index: 3; width: 74%; aspect-ratio: 900 / 633; pointer-events: none;
    -webkit-mask: var(--bird) center / contain no-repeat; mask: var(--bird) center / contain no-repeat;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 220, .85) 50%, transparent 65%) 0 0 / 250% 100% no-repeat;
    animation: sheen 7s ease-in-out 1.5s infinite, bob 6s ease-in-out infinite; }
@keyframes sheen { 0%, 70% { background-position: 130% 0; } 100% { background-position: -130% 0; } }

/* Rounded, softer section edges so the page feels held rather than stacked. */
.houses-band { border-radius: 44px 44px 0 0; }
.finale { border-radius: 44px 44px 0 0; }
.manifesto { border-radius: 0 0 44px 44px; }
.stack-section { border-radius: 44px 44px 0 0; }

/* Voices: the quotes each house carries, one at a time. */
.voices { padding: clamp(64px, 9vw, 110px) 0; text-align: center; }
.voices .eyebrow { margin-bottom: 20px; }
.voice-stage { position: relative; min-height: 11rem; max-width: 820px; margin: 0 auto; }
.voice { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.voice.is-on { opacity: 1; transform: none; pointer-events: auto; }
.voice q { font-family: var(--serif); font-size: clamp(1.35rem, 2.8vw, 2.1rem); line-height: 1.25; letter-spacing: -.01em; color: var(--heading); quotes: "“" "”"; }
.voice cite { margin-top: 14px; font-style: normal; font-size: .92rem; color: var(--muted); }
.voice cite b { color: var(--accent-text); font-weight: 700; }
.voice-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.voice-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.voice-dots button[aria-current="true"] { background: var(--gold); transform: scale(1.35); }
.no-js .voice { position: static; opacity: 1; transform: none; margin-bottom: 24px; }

/* The primary call to action breathes once when it arrives. */
.js .breathe.is-in { animation: breathe 2.4s ease-out 1; }
@keyframes breathe { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 55%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }

@media (max-width: 760px) {
    .houses-band, .finale, .stack-section { border-radius: 28px 28px 0 0; }
    .manifesto { border-radius: 0 0 28px 28px; }
    .voice-stage { min-height: 14rem; }
}
@media (prefers-reduced-motion: reduce) {
    .scribble path { stroke-dashoffset: 0 !important; transition: none !important; }
    .hero-art .sheen { display: none; }
    .voice { transition: none !important; }
}
