:root {
  --ink: #151532;
  --ink-soft: #26254b;
  --night: #080719;
  --royal: #100b2d;
  --royal-mid: #24174f;
  --cream: #fff8ee;
  --paper: #fffdf8;
  --sand: #f0dfc5;
  --coral: #ee6677;
  --coral-deep: #c83e63;
  --aqua: #58d7cb;
  --aqua-deep: #176f72;
  --gold: #e6b750;
  --champagne: #f6dfad;
  --plum: #754b87;
  --white: #ffffff;
  --aurora: linear-gradient(110deg, #58d7cb 0%, #a774e8 30%, #ee6677 62%, #e6b750 100%);
  --shadow: 0 28px 80px rgba(8, 7, 25, 0.22);
  --royal-shadow: 0 35px 100px rgba(4, 3, 18, 0.55), inset 0 1px rgba(255, 246, 218, 0.18);
  --radius: 1.1rem;
  --wrap: min(1180px, calc(100vw - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; overflow-x: hidden; background: linear-gradient(180deg, #fffaf1, #f6ead8); color: var(--ink); font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif; font-weight: 500; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 7vw, 7rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.4rem, 4.7vw, 4.6rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.5rem, 2.3vw, 2.15rem); letter-spacing: -0.025em; }
.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: 0.75rem 1rem; background: var(--white); color: var(--ink); border-radius: 0.5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; color: var(--white); transition: background 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease; }
.site-header.is-scrolled { background: rgba(8, 7, 25, 0.84); box-shadow: 0 16px 50px rgba(2, 1, 12, 0.34), inset 0 -1px rgba(246, 223, 173, 0.3); backdrop-filter: blur(18px) saturate(145%); }
.site-header-inner { width: var(--wrap); min-height: 6rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid rgba(246, 223, 173, 0.34); transition: min-height 260ms ease, border-color 260ms ease; }
.site-header.is-scrolled .site-header-inner { min-height: 4.7rem; border-bottom-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--white); text-decoration: none; font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif; font-size: 1.05rem; line-height: 1.15; }
.brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; filter: drop-shadow(0 0 16px rgba(230, 183, 80, 0.34)); }
.brand span { max-width: 8.5rem; }
.site-nav { display: flex; align-items: center; gap: 1.45rem; }
.site-nav a { position: relative; color: var(--white); text-decoration: none; font-size: 0.86rem; font-weight: 650; letter-spacing: 0.02em; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -0.45rem; height: 2px; background: linear-gradient(90deg, var(--gold), var(--aqua)); transition: right 220ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--champagne); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-highlight { padding: 0.6rem 0; }
.menu-button { display: none; width: 3rem; height: 3rem; border: 1px solid rgba(246, 223, 173, 0.58); border-radius: 0.55rem; background: linear-gradient(145deg, rgba(246, 223, 173, 0.16), rgba(21, 21, 50, 0.35)); color: var(--white); cursor: pointer; box-shadow: inset 0 1px rgba(255,255,255,0.14); }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 1.25rem; height: 2px; margin: 4px auto; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }

.hero { position: relative; min-height: min(900px, 100svh); color: var(--white); overflow: hidden; background-color: var(--ink); background-position: center; background-size: cover; }
.hero-background { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.035); animation: hero-breathe 18s ease-in-out infinite alternate; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 25, 0.96) 0%, rgba(15, 10, 42, 0.82) 35%, rgba(18, 13, 48, 0.21) 70%), linear-gradient(0deg, rgba(7, 6, 25, 0.78) 0%, transparent 48%); }
.hero-content { position: relative; z-index: 3; min-height: min(900px, 100svh); padding-top: clamp(9rem, 18vh, 13rem); padding-bottom: 7rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-content h1 { max-width: 870px; margin-bottom: 1.6rem; }
.hero-content > p { max-width: 690px; margin-bottom: 2.1rem; font-size: clamp(1.08rem, 1.8vw, 1.4rem); line-height: 1.58; color: rgba(255, 255, 255, 0.9); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 3.55rem; padding: 0.8rem 1.65rem; overflow: hidden; appearance: none; border: 1px solid rgba(246, 223, 173, 0.58); border-radius: 0.45rem; clip-path: polygon(0.75rem 0, 100% 0, 100% calc(100% - 0.75rem), calc(100% - 0.75rem) 100%, 0 100%, 0 0.75rem); text-decoration: none; font: inherit; font-weight: 780; letter-spacing: 0.015em; line-height: 1.2; cursor: pointer; box-shadow: 0 12px 35px rgba(4, 3, 18, 0.24), inset 0 1px rgba(255,255,255,0.2); transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease; }
.button::before { content: ""; position: absolute; z-index: -1; inset: -20% -45%; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.5) 49%, transparent 60%); transform: translateX(-60%); transition: transform 620ms cubic-bezier(.2,.8,.2,1); }
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(4, 3, 18, 0.34), inset 0 1px rgba(255,255,255,0.26); }
.button:focus-visible { outline: none; box-shadow: 0 18px 48px rgba(4, 3, 18, 0.34), inset 0 0 0 3px var(--gold); }
.button-primary:focus-visible, .button-light:focus-visible, .button-outline:focus-visible { box-shadow: 0 18px 48px rgba(4, 3, 18, 0.34), inset 0 0 0 3px var(--royal); }
.button:hover::before, .button:focus-visible::before { transform: translateX(60%); }
.button-primary { background: linear-gradient(115deg, #f17d91 0%, #f39a73 48%, #e8c46c 100%); color: var(--royal); }
.button-primary:hover { filter: saturate(118%) brightness(1.06); }
.button-glass { background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(27,17,66,0.48)); color: var(--white); backdrop-filter: blur(12px) saturate(140%); }
.button-glass:hover { background: linear-gradient(145deg, rgba(255,255,255,0.22), rgba(27,17,66,0.58)); }
.button-light { background: linear-gradient(135deg, #fffdf6 0%, #f1dfba 100%); color: var(--royal); }
.hero-note { position: absolute; z-index: 3; right: max(1.25rem, calc((100vw - 1180px) / 2)); bottom: 1.5rem; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-style: italic; letter-spacing: 0.04em; }
.hero-home .home-art-note { right: auto; left: max(1.25rem, calc((100vw - 1180px) / 2)); }
.hero-statement { max-width: 760px !important; margin-bottom: 0.7rem !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.45rem) !important; line-height: 1.22 !important; color: var(--white) !important; }
.hero-description { max-width: 720px !important; }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section-cream { background: linear-gradient(135deg, #fffdf8 0%, #f8eddd 62%, #fff8ee 100%); }
.section-sand { background: linear-gradient(145deg, #ead7b8 0%, #f7ead6 48%, #dec6a2 100%); }
.section-indigo { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--night) 0%, var(--royal) 44%, #1c123e 76%, #080719 100%); color: var(--white); }
.section-indigo::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(118deg, transparent 0 29%, rgba(88, 215, 203, 0.07) 37%, transparent 46% 62%, rgba(230, 183, 80, 0.07) 72%, transparent 83%); background-size: 190% 100%; animation: royal-current 14s ease-in-out infinite alternate; pointer-events: none; }
.split-intro { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; margin-bottom: 4.5rem; }
.split-intro h2 { margin: 0; }
.lead-copy { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
.lead-copy p:last-child { margin-bottom: 0; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.evidence-card { position: relative; min-height: 24rem; padding: clamp(1.8rem, 4vw, 3.2rem); overflow: hidden; border: 1px solid rgba(117, 75, 135, 0.2); border-radius: 0.5rem 2.2rem 0.5rem 0.5rem; background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(244,231,211,0.82)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.85); display: flex; flex-direction: column; }
.evidence-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--aurora); background-size: 180% 100%; animation: aurora-shift 8s ease infinite alternate; }
.evidence-card-dark { border-color: rgba(246, 223, 173, 0.25); background: linear-gradient(145deg, #24174f 0%, #100b2d 62%, #080719 100%); color: var(--white); box-shadow: var(--royal-shadow); }
.evidence-number { margin: 0 0 auto; color: var(--coral-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.2rem); line-height: 0.9; letter-spacing: -0.05em; }
.evidence-card-dark .evidence-number { color: var(--aqua); }
.oecd-range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: auto; }
.oecd-range span { display: flex; flex-direction: column; gap: 0.2rem; }
.oecd-range strong { color: var(--coral-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.5vw, 4.6rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.oecd-range small { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.evidence-card h3 { max-width: 520px; margin-top: 2.5rem; margin-bottom: 1rem; }
.evidence-card p:not(.evidence-number) { max-width: 590px; }
.text-link { display: inline-block; margin-top: auto; color: var(--coral-deep); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 0.28em; }
.evidence-card-dark .text-link { color: var(--aqua); }
.section-heading { max-width: 900px; margin-bottom: 4.4rem; }
.section-heading p { max-width: 720px; font-size: 1.2rem; }
.light-heading p { color: rgba(255, 255, 255, 0.74); }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; perspective: 1200px; }
.feature-card { --facet-a: #2d164c; --facet-b: #0b0923; position: relative; min-height: 27rem; padding: clamp(2rem, 5vw, 4rem); overflow: hidden; border: 1px solid rgba(246, 223, 173, 0.28); border-radius: 0.6rem; clip-path: polygon(1.6rem 0, 100% 0, 100% calc(100% - 1.6rem), calc(100% - 1.6rem) 100%, 0 100%, 0 1.6rem); background: linear-gradient(140deg, var(--facet-a) 0%, var(--facet-b) 72%); color: var(--white); box-shadow: var(--royal-shadow); display: flex; flex-direction: column; justify-content: flex-end; transform-style: preserve-3d; transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease; }
.feature-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.11) 49%, transparent 56% 100%); transform: translateX(-65%); transition: transform 900ms cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.feature-card::after { content: ""; position: absolute; inset: 0.7rem; border: 1px solid rgba(255,255,255,0.08); clip-path: inherit; pointer-events: none; }
.feature-card:hover, .feature-card:focus-within { transform: translateY(-8px) rotateX(1deg) rotateY(-1deg); box-shadow: 0 45px 120px rgba(3,2,16,0.68), inset 0 1px rgba(255,255,255,0.18); }
.feature-card:hover::before, .feature-card:focus-within::before { transform: translateX(65%); }
.feature-card:nth-child(1) { grid-column: 1 / span 8; }
.feature-card:nth-child(2) { grid-column: 7 / span 6; margin-top: -5rem; }
.feature-card:nth-child(3) { grid-column: 3 / span 8; margin-top: -3rem; }
.feature-coral { --facet-a: #6d173e; --facet-b: #180a29; }
.feature-aqua { --facet-a: #0e615f; --facet-b: #0a1230; }
.feature-gold { --facet-a: #7a5011; --facet-b: #21102f; }
.feature-symbol { position: absolute; top: clamp(1.4rem, 4vw, 3rem); right: clamp(1.4rem, 4vw, 3rem); display: block; color: transparent; font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif; font-size: clamp(5rem, 12vw, 10rem); line-height: 0.8; letter-spacing: -0.08em; -webkit-text-stroke: 1px rgba(246, 223, 173, 0.42); opacity: 0.72; }
.feature-card h3 { position: relative; max-width: 650px; margin-bottom: 0.9rem; color: var(--champagne); font-size: clamp(3rem, 6vw, 5.6rem); }
.feature-card p { position: relative; max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,0.8); font-size: 1.08rem; }
.centred-action { margin-top: 2rem; text-align: center; }
.section-indigo .centred-action { margin-top: 3.5rem; text-align: left; }
.section-indigo .centred-action .button { width: 100%; min-height: 5.2rem; justify-content: space-between; padding-inline: clamp(1.4rem, 4vw, 3rem); background: linear-gradient(100deg, #fffdf6, #f0dbad 68%, #c5fff7); font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif; font-size: clamp(1.2rem, 2.3vw, 1.8rem); font-weight: 600; }
.section-indigo .centred-action .button::after { content: "\2192"; font-family: "Segoe UI Symbol", sans-serif; font-size: 1.7rem; }

.atlas-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.atlas-copy p { max-width: 670px; font-size: 1.15rem; }
.status-line { padding-left: 0.9rem; border-left: 3px solid var(--aqua-deep); font-size: 0.95rem !important; font-weight: 700; }
.recognition-card { position: relative; min-height: 34rem; padding: clamp(1.8rem, 4vw, 3rem); overflow: hidden; border: 1px solid rgba(246, 223, 173, 0.35); border-radius: 0.55rem 2.5rem 0.55rem 0.55rem; background: linear-gradient(145deg, #291a58 0%, #100b2d 56%, #080719 100%); color: var(--white); box-shadow: var(--royal-shadow); display: flex; flex-direction: column; justify-content: center; }
.recognition-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 41%, rgba(88,215,203,0.1) 50%, transparent 59%); transform: translateX(var(--light-shift, 0%)); transition: transform 180ms ease-out; pointer-events: none; }
.recognition-card h3 { margin-bottom: 0.6rem; color: var(--aqua); }
.spectrum-question { margin-bottom: 2.3rem; color: rgba(255, 255, 255, 0.7); font-weight: 700; }
.spectrum-output { min-height: 4.8rem; margin-bottom: 1.8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.08; }
.spectrum-range { width: 100%; height: 2.75rem; margin: 0; appearance: none; border: 0; background: linear-gradient(90deg, #34205f, #3ec9bd, #ef687a, #e6b750) center / 100% 0.85rem no-repeat; cursor: grab; }
.spectrum-range::-webkit-slider-thumb { width: 1.45rem; height: 1.45rem; appearance: none; border: 2px solid #fff7df; border-radius: 0.15rem; background: linear-gradient(135deg, #fff4cb, #d59b31); box-shadow: 0 0 0 5px rgba(230,183,80,0.18), 0 7px 20px rgba(0,0,0,0.38); transform: rotate(45deg); }
.spectrum-range::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border: 2px solid #fff7df; border-radius: 0.15rem; background: linear-gradient(135deg, #fff4cb, #d59b31); box-shadow: 0 0 0 5px rgba(230,183,80,0.18), 0 7px 20px rgba(0,0,0,0.38); transform: rotate(45deg); }
.spectrum-range:active { cursor: grabbing; }
.spectrum-ends { display: flex; justify-content: space-between; gap: 1rem; margin: 0.7rem 0 2.2rem; color: rgba(255, 255, 255, 0.62); font-size: 0.72rem; font-weight: 700; }
.spectrum-ends span:last-child { text-align: right; }
.recognition-card [data-spectrum-description] { min-height: 5rem; font-size: 1.05rem; }
.spectrum-note { margin: 1.3rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.58); font-size: 0.8rem; }

.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.path-card { position: relative; isolation: isolate; min-height: 39rem; padding: 0; overflow: hidden; border: 1px solid rgba(246, 223, 173, 0.3); border-radius: 0.55rem; clip-path: polygon(1.3rem 0, 100% 0, 100% calc(100% - 1.3rem), calc(100% - 1.3rem) 100%, 0 100%, 0 1.3rem); background: var(--night); color: var(--white); text-decoration: none; box-shadow: var(--royal-shadow); display: flex; flex-direction: column; justify-content: flex-end; transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease; }
.path-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(6,5,22,0.98) 0%, rgba(9,7,30,0.65) 45%, rgba(9,7,30,0.04) 78%), linear-gradient(120deg, rgba(16,11,45,0.76), transparent 58%); }
.path-card:hover, .path-card:focus-visible { transform: translateY(-7px); box-shadow: 0 44px 110px rgba(4,3,18,0.52); }
.path-card:focus-visible { outline: none; box-shadow: 0 44px 110px rgba(4,3,18,0.52), inset 0 0 0 3px var(--gold); }
.path-card > div { position: relative; z-index: 2; padding: clamp(1.7rem, 4vw, 3rem); }
.path-card:first-child, .path-card:nth-child(2) { min-height: 43rem; }
.path-card:nth-child(3) { grid-column: 1 / -1; min-height: 32rem; display: flex; }
.path-card h3 { color: var(--champagne); font-size: clamp(2.7rem, 5vw, 4.8rem); }
.path-card p { max-width: 620px; color: rgba(255,255,255,0.82); }
.path-card .text-link { margin-top: 0.5rem; }
.path-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; filter: saturate(112%) contrast(104%); transition: transform 1s cubic-bezier(.2,.8,.2,1), filter 700ms ease; }
.path-card:hover .path-image, .path-card:focus-visible .path-image { transform: scale(1.055); filter: saturate(125%) contrast(108%); }
.closing-section { position: relative; min-height: 62vh; overflow: hidden; background: linear-gradient(128deg, #080719 0%, #1d123e 46%, #35143c 71%, #081d29 100%); color: var(--white); display: grid; place-items: center; text-align: center; }
.closing-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0 36%, rgba(246,223,173,0.1) 47%, transparent 58% 100%); background-size: 190% 100%; animation: royal-current 12s ease-in-out infinite alternate; }
.closing-copy p { color: var(--aqua); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-style: italic; }
.closing-copy { position: relative; }
.closing-copy h2 { max-width: 900px; margin-inline: auto; color: var(--champagne); }

.page-hero { position: relative; min-height: min(760px, 82svh); overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero-image { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.035); animation: hero-breathe 18s ease-in-out infinite alternate; will-change: transform; }
.page-hero .hero-shade { z-index: 1; }
.page-hero-content { position: relative; z-index: 2; min-height: min(760px, 82svh); padding-top: clamp(10rem, 22vh, 14rem); padding-bottom: 6rem; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.page-hero-content h1 { max-width: 980px; margin-bottom: 1.5rem; }
.page-hero-content > p { max-width: 760px; margin-bottom: 0; font-size: clamp(1.12rem, 1.8vw, 1.4rem); color: rgba(255, 255, 255, 0.88); }
.concept-art-note { position: absolute; z-index: 3; right: max(1.25rem, calc((100vw - 1180px) / 2)); bottom: 1.25rem; margin: 0; padding: 0.28rem 0.55rem; border: 1px solid rgba(246,223,173,0.3); border-radius: 0.25rem; background: rgba(8,7,25,0.42); color: rgba(255, 255, 255, 0.78); font-size: 0.7rem; letter-spacing: 0.04em; backdrop-filter: blur(8px); }
.content-section { padding: clamp(5rem, 9vw, 8rem) 0; }
.prose-intro { max-width: 900px; margin-bottom: 3.5rem; }
.large-copy { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.8vw, 2.25rem); line-height: 1.38; }
.evidence-label { display: inline-flex; width: fit-content; margin-bottom: 1.2rem; padding: 0.36rem 0.68rem; border: 1px solid rgba(23,111,114,0.24); border-radius: 0.2rem; background: rgba(23,111,114,0.09); color: #145f62; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; }
.proposal-label { border-color: rgba(184,47,92,0.24); background: rgba(238, 102, 119, 0.11); color: #a52851; }
.imagination-label { border-color: rgba(117,75,135,0.26); background: rgba(117, 75, 135, 0.12); color: #5a306e; }
.compass-reading .evidence-label, .lab-summary .evidence-label, .lane-card .evidence-label { border-color: rgba(197,255,247,0.34); background: rgba(88,215,203,0.13); color: #c8fff8; }
.compass-reading .proposal-label, .lab-summary .proposal-label, .lane-card .proposal-label { border-color: rgba(255,194,208,0.36); background: rgba(238,102,119,0.15); color: #ffd4de; }
.lane-card .imagination-label { border-color: rgba(232,205,255,0.36); background: rgba(167,116,232,0.16); color: #ead7ff; }
.aqua-link { color: var(--aqua); }
.barrier-grid, .principle-grid, .compact-grid, .organ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.barrier-grid article, .compact-grid article, .organ-grid article { position: relative; padding: clamp(1.6rem, 3vw, 2.5rem); overflow: hidden; border: 1px solid rgba(117,75,135,0.18); border-radius: 0.4rem 1.6rem 0.4rem 0.4rem; background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(244,231,211,0.72)); box-shadow: 0 16px 48px rgba(21,21,50,0.09); }
.section-indigo .compact-grid article { border-color: rgba(246,223,173,0.2); background: linear-gradient(145deg, rgba(46,28,92,0.84), rgba(8,7,25,0.88)); box-shadow: inset 0 1px rgba(255,255,255,0.09); }
.section-indigo .compact-grid article h3 { color: var(--champagne); }
.barrier-grid article p, .compact-grid article p, .organ-grid article p { margin-bottom: 0; }
.source-callout { padding: 1.5rem 1.8rem; border-left: 5px solid var(--aqua-deep); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(255, 255, 255, 0.66); }
.source-callout p { margin: 0; }
.statement-panel { padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(117,75,135,0.22); border-radius: 0.5rem 2rem 0.5rem 0.5rem; background: linear-gradient(145deg, #fffdf8, #f0dfc5); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.statement-panel > p { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.28; }
.statement-panel-light { background: linear-gradient(145deg, #2b1b5c, #0c0924); border: 1px solid rgba(246,223,173,0.22); box-shadow: var(--royal-shadow); }
.principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.idea-card { min-height: 22rem; padding: 2rem; border: 1px solid rgba(117,75,135,0.18); border-radius: 0.4rem 1.8rem 0.4rem 0.4rem; background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(244,231,211,0.72)); display: flex; flex-direction: column; box-shadow: 0 14px 45px rgba(21, 21, 50, 0.08); }
.idea-card > span { margin-bottom: auto; color: transparent; font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif; font-size: 4rem; -webkit-text-stroke: 1px rgba(184,47,92,0.55); }
.idea-card p { margin-bottom: 0; }
.layer-list { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.layer-list article { display: grid; grid-template-columns: 0.45fr 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.layer-list strong { color: var(--aqua); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 500; }
.layer-list p { margin: 0; color: rgba(255, 255, 255, 0.76); }

.filter-panel { margin-bottom: 2.5rem; }
.filter-panel h2 { font-size: clamp(2rem, 3vw, 3rem); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.filter-button { position: relative; padding: 0.7rem 1rem; border: 1px solid rgba(21, 21, 50, 0.26); border-radius: 0.35rem; background: rgba(255,255,255,0.44); color: var(--ink); font: inherit; font-weight: 720; cursor: pointer; box-shadow: inset 0 1px rgba(255,255,255,0.65); transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease; }
.filter-button:hover, .filter-button.is-active { border-color: var(--royal-mid); background: linear-gradient(135deg, var(--royal-mid), var(--night)); color: var(--champagne); transform: translateY(-2px); }
.constellation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.constellation-card { position: relative; min-height: 18rem; padding: 2rem; overflow: hidden; border: 1px solid rgba(117,75,135,0.18); border-radius: 0.4rem 1.7rem 0.4rem 0.4rem; background: linear-gradient(150deg, rgba(255,255,255,0.98), rgba(240,223,197,0.74)); box-shadow: 0 14px 45px rgba(21, 21, 50, 0.08); display: flex; flex-direction: column; justify-content: flex-end; transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease; }
.constellation-card::before { content: attr(data-tags); position: absolute; top: 1.3rem; left: 1.5rem; color: rgba(21,21,50,0.42); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.constellation-card:hover { transform: translateY(-5px); border-color: rgba(117,75,135,0.42); box-shadow: var(--shadow); }
.constellation-card[hidden] { display: none; }
.constellation-card p { margin-bottom: 0; }
.constellation-compass { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr); gap: 1rem; align-items: start; }
.compass-controls, .compass-reading { padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--radius); }
.compass-controls { border: 1px solid rgba(117,75,135,0.2); background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(244,231,211,0.75)); box-shadow: var(--shadow); }
.compass-controls label { display: block; padding: 1.15rem 0; border-bottom: 1px solid rgba(21, 21, 50, 0.13); }
.compass-controls label:first-child { padding-top: 0; }
.compass-controls label:last-child { padding-bottom: 0; border-bottom: 0; }
.compass-controls strong { display: block; margin-bottom: 0.5rem; }
.compass-controls span { display: flex; justify-content: space-between; gap: 1rem; color: rgba(21, 21, 50, 0.62); font-size: 0.75rem; }
.compass-controls i { font-style: normal; }
.compass-controls i:last-child { text-align: right; }
.compass-controls input { width: 100%; height: 2.75rem; margin-top: 0.45rem; appearance: none; border: 0; background: linear-gradient(90deg, #35205f, #3ec9bd, #ef687a, #e6b750) center / 100% 0.72rem no-repeat; cursor: grab; }
.compass-controls input::-webkit-slider-thumb { width: 1.25rem; height: 1.25rem; appearance: none; border: 2px solid #fff7df; border-radius: 0.12rem; background: linear-gradient(135deg, #fff4cb, #d59b31); box-shadow: 0 0 0 4px rgba(230,183,80,0.16), 0 6px 18px rgba(0,0,0,0.28); transform: rotate(45deg); }
.compass-controls input::-moz-range-thumb { width: 1rem; height: 1rem; border: 2px solid #fff7df; border-radius: 0.12rem; background: linear-gradient(135deg, #fff4cb, #d59b31); box-shadow: 0 0 0 4px rgba(230,183,80,0.16), 0 6px 18px rgba(0,0,0,0.28); transform: rotate(45deg); }
.compass-reading { position: sticky; top: 6rem; border: 1px solid rgba(246,223,173,0.25); background: linear-gradient(145deg, #2a1959, #0b0923); color: var(--white); box-shadow: var(--royal-shadow); }
.compass-reading h3 { margin-bottom: 1.5rem; }
.compass-reading [data-compass-reading] p { margin: 0; padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; }
.compass-reading [data-compass-reading] strong { color: var(--aqua); font-size: 0.72rem; }
.compass-reading [data-compass-reading] span { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.compass-reading > p { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.65); font-size: 0.84rem; }

.atlas-controls { margin-bottom: 2rem; padding: 1.5rem; border: 1px solid rgba(117,75,135,0.2); border-radius: 0.4rem 1.6rem 0.4rem 0.4rem; background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(244,231,211,0.72)); box-shadow: 0 12px 35px rgba(21, 21, 50, 0.08); }
.atlas-controls label { display: block; margin-bottom: 0.55rem; font-weight: 800; }
.atlas-controls input { width: 100%; margin-bottom: 1rem; padding: 0.9rem 1rem; border: 1px solid rgba(21, 21, 50, 0.25); border-radius: 0.75rem; background: var(--paper); color: var(--ink); font: inherit; }
.country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.country-card { position: relative; isolation: isolate; min-height: 27rem; padding: 2rem; overflow: hidden; border: 1px solid rgba(246,223,173,0.25); border-radius: 0.45rem 1.8rem 0.45rem 0.45rem; background: var(--night); color: var(--white); text-decoration: none; box-shadow: var(--royal-shadow); display: flex; flex-direction: column; transition: transform 360ms cubic-bezier(.2,.8,.2,1), box-shadow 360ms ease; }
.country-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(7,6,24,0.98) 0%, rgba(10,8,30,0.68) 56%, rgba(10,8,30,0.08) 100%); }
.country-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; filter: saturate(108%) contrast(105%); transition: transform 800ms cubic-bezier(.2,.8,.2,1); }
.country-card:hover, .country-card:focus-visible { transform: translateY(-6px); box-shadow: 0 38px 90px rgba(4,3,18,0.45); }
.country-card:hover > img, .country-card:focus-visible > img { transform: scale(1.06); }
.country-card[hidden] { display: none; }
.country-card > span { color: var(--aqua); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.country-card h3 { margin-top: auto; }
.country-card p { color: rgba(255,255,255,0.78); }
.country-card strong { margin-top: auto; color: var(--champagne); }
.no-results { padding: 2rem; text-align: center; font-weight: 700; }

.lab-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr); gap: 1.25rem; align-items: start; }
.household-form, .lab-summary { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.household-form { border: 1px solid rgba(117,75,135,0.2); background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(244,231,211,0.76)); box-shadow: var(--shadow); }
.lab-summary { position: sticky; top: 6rem; border: 1px solid rgba(246,223,173,0.26); background: linear-gradient(145deg, #2a1959, #0b0923); color: var(--white); box-shadow: var(--royal-shadow); }
.lab-progress { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin-bottom: 2.5rem; font-weight: 800; }
.lab-progress > div { height: 0.45rem; border-radius: 999px; background: rgba(21, 21, 50, 0.12); overflow: hidden; }
.lab-progress i { display: block; height: 100%; width: 25%; background: var(--coral); transition: width 180ms ease; }
.lab-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.lab-step.is-active { display: block; animation: step-arrive 420ms cubic-bezier(.2,.8,.2,1); }
.lab-step legend { margin-bottom: 0.8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.choice-grid label { min-height: 5rem; padding: 1rem; border: 1px solid rgba(21, 21, 50, 0.18); border-radius: 0.85rem; display: flex; align-items: center; gap: 0.7rem; cursor: pointer; }
.choice-grid label:has(input:checked) { border-color: var(--coral); background: rgba(238, 102, 119, 0.08); }
.choice-grid input { width: 1.2rem; height: 1.2rem; accent-color: var(--coral-deep); }
.field-label { display: grid; gap: 0.45rem; margin-bottom: 1.2rem; font-weight: 750; }
.field-label input, .field-label select, .field-label textarea { width: 100%; padding: 0.85rem 0.95rem; border: 1px solid rgba(21, 21, 50, 0.24); border-radius: 0.75rem; background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; }
.lab-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.button-outline { border-color: rgba(21, 21, 50, 0.3); background: transparent; color: var(--ink); }
.button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.privacy-note { margin: 1.5rem 0 0; color: rgba(255, 255, 255, 0.58); font-size: 0.82rem; }
.summary-list { margin: 0 0 1.5rem; }
.summary-list div { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.summary-list dt { color: var(--aqua); font-size: 0.75rem; font-weight: 800; }
.summary-list dd { margin: 0.2rem 0 0; }

.care-rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.care-rhythm article { padding: 1.6rem; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); }
.care-rhythm h3 { color: var(--aqua); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.story-card { min-height: 29rem; padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid rgba(117,75,135,0.19); border-radius: 0.45rem 2rem 0.45rem 0.45rem; background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(240,223,197,0.72)); box-shadow: 0 14px 45px rgba(21, 21, 50, 0.08); display: flex; flex-direction: column; justify-content: flex-end; }
.story-time { margin-bottom: auto; color: var(--coral-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.lane-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lane-card { min-height: 24rem; padding: 2rem; border: 1px solid rgba(117,75,135,0.19); border-radius: 0.45rem 1.8rem 0.45rem 0.45rem; background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(240,223,197,0.72)); box-shadow: 0 14px 45px rgba(21, 21, 50, 0.08); }
.method-list { list-style: none; padding: 0; counter-reset: method; }
.method-list li { counter-increment: method; display: grid; grid-template-columns: minmax(160px, 0.5fr) 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.method-list li::before { content: "0" counter(method); color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; grid-row: 1 / span 2; }
.method-list strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; }
.method-list p { margin: 0; color: rgba(255, 255, 255, 0.72); }
.link-pair { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.source-list { display: grid; gap: 0.75rem; }
.source-list a { padding: 1.3rem 1.5rem; border: 1px solid rgba(117,75,135,0.16); border-radius: 0.35rem; background: rgba(255, 255, 255, 0.58); text-decoration: none; display: flex; justify-content: space-between; gap: 2rem; transition: background 180ms ease, transform 180ms ease, border-color 180ms ease; }
.source-list a:hover { border-color: rgba(117,75,135,0.42); background: rgba(255,255,255,0.9); transform: translateX(4px); }
.source-list span { color: rgba(21, 21, 50, 0.65); text-align: right; }

.comparison-wrap { overflow-x: auto; border: 1px solid rgba(246,223,173,0.28); border-radius: 0.4rem; box-shadow: var(--royal-shadow); }
.comparison-table { width: 100%; min-width: 700px; border-collapse: collapse; background: var(--white); color: var(--ink); }
.comparison-table th, .comparison-table td { width: 50%; padding: 1.3rem 1.5rem; border-bottom: 1px solid rgba(21, 21, 50, 0.13); text-align: left; vertical-align: top; }
.comparison-table th { background: linear-gradient(135deg, #0d7773, #16305b); color: var(--white); font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.comparison-table th:last-child { background: linear-gradient(135deg, #8a1e4c, #4b174b); }
.table-source { margin-top: 1rem; color: rgba(255, 255, 255, 0.65); font-size: 0.82rem; }
.question-stack { max-width: 930px; }
.question-stack p { padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.35; }
.gajra-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gajra-link-card { position: relative; min-height: 31rem; padding: 2.5rem; overflow: hidden; border: 1px solid rgba(246,223,173,0.34); border-radius: 0.45rem 2rem 0.45rem 0.45rem; background: linear-gradient(145deg, #0f7772, #112653 68%, #0b0923); color: var(--white); text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--royal-shadow); transition: transform 320ms ease, box-shadow 320ms ease; }
.gajra-link-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 0 42%, rgba(255,255,255,0.12) 50%, transparent 58%); transform: translateX(-65%); transition: transform 800ms ease; pointer-events: none; }
.gajra-link-card:hover, .gajra-link-card:focus-visible { transform: translateY(-7px); box-shadow: 0 40px 100px rgba(4,3,18,0.48); }
.gajra-link-card:hover::before, .gajra-link-card:focus-visible::before { transform: translateX(65%); }
.gajra-link-card > span { font-size: 0.78rem; font-weight: 800; }
.gajra-link-card h3 { margin-top: auto; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.gajra-link-card strong { margin-top: auto; }
.gajra-link-dark { background: linear-gradient(145deg, #63203f, #281648 58%, #080719); color: var(--white); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.ecosystem-grid a { padding: 1.3rem 1.5rem; border: 1px solid rgba(117,75,135,0.16); border-radius: 0.35rem; background: rgba(255, 255, 255, 0.58); text-decoration: none; display: flex; flex-direction: column; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.ecosystem-grid a:hover { transform: translateY(-3px); border-color: rgba(117,75,135,0.4); background: rgba(255,255,255,0.9); }
.ecosystem-grid span { color: rgba(21, 21, 50, 0.64); }

.country-region { margin-bottom: 0.7rem !important; color: var(--aqua) !important; font-size: 0.85rem !important; font-weight: 800; }
.country-meta { max-width: 820px; margin-bottom: 2.5rem; }
.country-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.country-status-grid article { padding: 1.4rem; border: 1px solid rgba(117,75,135,0.18); border-radius: 0.35rem 1.2rem 0.35rem 0.35rem; background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(240,223,197,0.7)); box-shadow: 0 10px 30px rgba(21, 21, 50, 0.08); }
.country-status-grid span { color: var(--aqua-deep); font-size: 0.72rem; font-weight: 800; }
.country-status-grid p { margin: 0.5rem 0 0; }
.country-article { max-width: 930px; }
.country-section { display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); padding: 3rem 0; border-bottom: 1px solid rgba(21, 21, 50, 0.18); }
.country-section:first-child { padding-top: 0; }
.country-section:last-child { padding-bottom: 0; border-bottom: 0; }
.country-section h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.country-prose p { font-size: 1.1rem; }
.country-prose p:last-child { margin-bottom: 0; }
.country-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 6rem); }
.country-list { padding-left: 1.3rem; }
.country-list li { margin-bottom: 0.8rem; color: rgba(255, 255, 255, 0.78); }
.country-sources { max-width: 900px; }
.country-sources ol { padding-left: 1.5rem; columns: 2; column-gap: 3rem; }
.country-sources li { margin-bottom: 0.8rem; break-inside: avoid; }
.country-sources a { text-underline-offset: 0.2em; }
.next-check { margin-top: 2rem; padding: 1.5rem; border-radius: 1rem; background: var(--sand); }
.next-check p { margin-bottom: 0; }
.page-journey { padding: 2rem 0 5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.page-journey a { min-height: 8rem; padding: 1.5rem; border: 1px solid rgba(117,75,135,0.22); border-radius: 0.35rem; background: linear-gradient(145deg, rgba(255,255,255,0.66), rgba(240,223,197,0.5)); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; justify-content: center; transition: transform 220ms ease, background 220ms ease, border-color 220ms ease; }
.page-journey a:hover { transform: translateY(-4px); border-color: rgba(117,75,135,0.44); background: rgba(255,255,255,0.92); }
.page-journey span { color: var(--aqua-deep); font-size: 0.75rem; font-weight: 800; }
.page-journey strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 500; }
.page-journey .next-link { text-align: right; align-items: flex-end; }

.barrier-grid { gap: 0 3rem; border-top: 1px solid rgba(21,21,50,0.22); }
.barrier-grid article { padding: 2.3rem 0; border: 0; border-bottom: 1px solid rgba(21,21,50,0.22); border-radius: 0; background: transparent; box-shadow: none; }
.idea-card { min-height: 20rem; border: 0; border-top: 1px solid rgba(117,75,135,0.34); border-radius: 0; background: transparent; box-shadow: none; }
.constellation-card { border-color: rgba(246,223,173,0.22); background: linear-gradient(145deg, #291953, #0b0923 72%); color: var(--white); box-shadow: var(--royal-shadow); }
.constellation-card:nth-child(2n) { background: linear-gradient(145deg, #145b5a, #0a1230 72%); }
.constellation-card:nth-child(3n) { background: linear-gradient(145deg, #6a2540, #1a0a28 72%); }
.constellation-card::before { color: rgba(246,223,173,0.62); }
.constellation-card h3 { color: var(--champagne); }
.constellation-card p { color: rgba(255,255,255,0.76); }
.organ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.organ-grid article { border-color: rgba(246,223,173,0.22); background: linear-gradient(145deg, #25164e, #0a0821); color: var(--white); box-shadow: var(--royal-shadow); }
.organ-grid article:nth-child(2n) { background: linear-gradient(145deg, #0f5e5b, #0a102b); }
.organ-grid article h3 { color: var(--champagne); }
.story-card:nth-child(even) { border-color: rgba(246,223,173,0.22); background: linear-gradient(145deg, #2a1959, #0b0923); color: var(--white); box-shadow: var(--royal-shadow); }
.story-card:nth-child(even) .story-time { color: var(--aqua); }
.story-card:nth-child(even) p { color: rgba(255,255,255,0.78); }
.lane-card { border-color: rgba(246,223,173,0.22); background: linear-gradient(145deg, #113f50, #090822); color: var(--white); box-shadow: var(--royal-shadow); }
.lane-card:nth-child(2) { background: linear-gradient(145deg, #70203e, #190a29); }
.lane-card:nth-child(3) { background: linear-gradient(145deg, #4e2b70, #0c0924); }
.lane-card h3 { color: var(--champagne); }
.lane-card p { color: rgba(255,255,255,0.78); }

.site-footer { position: relative; padding: 4rem 0 2rem; overflow: hidden; border-top: 1px solid rgba(246,223,173,0.25); background: linear-gradient(135deg, #050412, #100b2d 58%, #191039); color: rgba(255, 255, 255, 0.74); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 2rem; }
.footer-brand { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.footer-grid h2 { font-family: "Segoe UI", Arial, sans-serif; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid a { display: block; width: fit-content; margin-bottom: 0.5rem; color: inherit; text-decoration: none; }
.footer-grid a:hover { color: var(--aqua); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.13); display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; }
.back-to-top { color: var(--aqua) !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: var(--aurora); background-size: 180% 100%; transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; box-shadow: 0 0 18px rgba(246,223,173,0.48); }
.reveal-ready { opacity: 0; filter: blur(5px); transform: translateY(26px); transition: opacity 760ms cubic-bezier(.2,.8,.2,1), filter 760ms cubic-bezier(.2,.8,.2,1), transform 760ms cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready.is-visible { opacity: 1; filter: blur(0); transform: translateY(0); }
.hero-content h1, .page-hero-content h1 { animation: copy-arrive 900ms 120ms both cubic-bezier(.2,.8,.2,1); }
.hero-content > p, .page-hero-content > p { animation: copy-arrive 900ms 260ms both cubic-bezier(.2,.8,.2,1); }
.hero-content .button-row { animation: copy-arrive 900ms 400ms both cubic-bezier(.2,.8,.2,1); }
.spectrum-output.is-changing, .compass-reading.is-changing { animation: value-change 320ms cubic-bezier(.2,.8,.2,1); }

@keyframes hero-breathe {
  from { transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.035); }
  to { transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.075); }
}
@keyframes royal-current {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}
@keyframes aurora-shift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes copy-arrive {
  from { opacity: 0; filter: blur(7px); transform: translateY(22px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes step-arrive {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes value-change {
  0% { opacity: 0.45; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 0; padding: 7.5rem 1.5rem 2rem; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(145deg, rgba(8,7,25,0.99), rgba(36,23,79,0.99)); flex-direction: column; align-items: flex-start; visibility: hidden; pointer-events: none; transform: translateX(100%); transition: transform 260ms ease, visibility 0s linear 260ms; }
  .site-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
  .site-nav a { font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
  .site-header-inner { position: relative; z-index: 2; }
  .menu-button { position: relative; z-index: 3; }
  .menu-button[aria-expanded="true"] span { opacity: 0; }
  .menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
  .split-intro, .atlas-preview { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .feature-card { min-height: 22rem; }
  .feature-card:nth-child(1) { grid-column: 1 / span 9; }
  .feature-card:nth-child(2) { grid-column: 5 / span 8; margin-top: -2rem; }
  .feature-card:nth-child(3) { grid-column: 2 / span 10; margin-top: -1rem; }
  .principle-grid, .constellation-grid, .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .organ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-status-grid, .care-rhythm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-layout, .constellation-compass { grid-template-columns: 1fr; }
  .lab-summary, .compass-reading { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  :root { --wrap: min(100% - 1.4rem, 1180px); }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .hero-content { padding-bottom: 6rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(7, 6, 25, 0.94), rgba(18, 13, 48, 0.52)), linear-gradient(0deg, rgba(7, 6, 25, 0.8), transparent 52%); }
  .button-row, .button { width: 100%; }
  .evidence-grid, .path-grid { grid-template-columns: 1fr; }
  .barrier-grid, .principle-grid, .compact-grid, .organ-grid, .constellation-grid, .country-grid, .story-grid, .lane-grid, .gajra-link-grid, .ecosystem-grid, .country-status-grid, .country-two-column, .care-rhythm { grid-template-columns: 1fr; }
  .layer-list article, .country-section, .method-list li { grid-template-columns: 1fr; gap: 0.7rem; }
  .method-list li::before { grid-row: auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .statement-panel { align-items: flex-start; flex-direction: column; }
  .source-list a { flex-direction: column; gap: 0.2rem; }
  .source-list span { text-align: left; }
  .country-sources ol { columns: 1; }
  .page-journey { grid-template-columns: 1fr; }
  .page-journey .next-link { text-align: left; align-items: flex-start; }
  .evidence-card { min-height: 22rem; }
  .path-card:nth-child(3) { grid-column: auto; }
  .path-card:first-child, .path-card:nth-child(2) { min-height: 29rem; }
  .path-card, .path-card:nth-child(3) { min-height: 31rem; }
  .feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .feature-card, .feature-card:nth-child(1), .feature-card:nth-child(2), .feature-card:nth-child(3) { grid-column: 1; min-height: 25rem; margin-top: 0; }
  .feature-symbol { font-size: 6rem; }
  .hero-note { right: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-background, .page-hero-image { transform: scale(1.035); }
  .reveal-ready { opacity: 1; filter: none; transform: none; }
}
