:root {
  --ink: #1c1748;
  --ink-soft: #39345d;
  --violet: #5520bb;
  --violet-bright: #7040d3;
  --violet-deep: #35117c;
  --lavender: #f3effd;
  --lavender-2: #e9e1fb;
  --line: #e6def7;
  --white: #ffffff;
  --footer: #1b1647;
  --container: 1200px;
  --shadow: 0 8px 24px rgba(42, 21, 103, 0.09);
  --text-caption: 0.875rem;
  --text-ui: 0.9375rem;
  --text-body: 1rem;
  --text-body-large: 1.125rem;
  --heading-card: 1.25rem;
  --heading-section: clamp(1.875rem, 2.5vw, 2.25rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 56px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  transform: translateY(-150%); padding: 10px 14px;
  border-radius: 8px; color: white; background: var(--violet);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid rgba(229, 221, 246, 0.7); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 201px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.6vw, 45px); margin-left: auto; }
.primary-nav a { font-size: var(--text-ui); font-weight: 800; color: #25204c; transition: color 0.2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--violet); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent; font-size: var(--text-ui); font-weight: 900; line-height: 1.1; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; white-space: nowrap; }
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 14px rgba(50, 21, 125, 0.16); }
.button:focus-visible, .menu-toggle:focus-visible, .subscribe-form input:focus-visible, .subscribe-form button:focus-visible, .social-links a:focus-visible { outline: 3px solid rgba(104, 55, 210, 0.38); outline-offset: 3px; }
.lucide { display: block; width: 1em; height: 1em; stroke: currentColor; }
.button-icon { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: 0; }
.icon-heart-fill { fill: currentColor; stroke-width: 1.85; }
.button-donate, .button-primary { color: #fff; background: linear-gradient(135deg, #5520b5, #451394); box-shadow: 0 5px 12px rgba(66, 22, 158, 0.2); }
.header-donate { margin-left: 8px; min-width: 95px; }
.button-secondary { color: var(--violet); background: #fff; border-color: #7040d3; }
.button-white { color: var(--violet); background: #fff; min-width: 144px; }
.button-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.04); min-width: 140px; }
.button-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--violet); transition: transform 0.2s ease, opacity 0.2s ease; }
.site-header[data-menu-open="true"] .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header[data-menu-open="true"] .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header[data-menu-open="true"] .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 520px; overflow: hidden; background: #f8f6ff; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; background-image: url("assets/images/tmau-science-hero.png"); background-position: center right; background-size: cover; background-repeat: no-repeat; }
.hero-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.99) 24%, rgba(255, 255, 255, 0.85) 41%, rgba(255, 255, 255, 0.22) 69%, rgba(255, 255, 255, 0) 100%); }
.hero-inner { min-height: 520px; display: flex; align-items: center; }
.hero-copy { width: min(570px, 56%); padding: 64px 0 72px; }
.eyebrow { margin: 0 0 10px; color: #4e1aad; font-size: var(--text-caption); font-weight: 900; letter-spacing: 0.045em; line-height: 1.35; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.035em; }
h1 { max-width: 620px; margin-bottom: 18px; color: var(--ink); font-size: clamp(3rem, 4.6vw, 4.25rem); font-weight: 900; line-height: 1.02; }
h1 span { display: block; color: var(--violet); }
.hero-description { max-width: 530px; margin-bottom: 26px; color: #36315b; font-size: var(--text-body-large); font-weight: 700; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.pathways { position: relative; z-index: 5; padding: 0 0 20px; margin-top: -52px; }
.pathways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pathways-grid.resources-hidden { grid-template-columns: repeat(2, 1fr); }
.pathway-card { min-height: 210px; display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 24px; border: 1px solid #ede8f8; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.round-icon { width: 65px; height: 65px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #6e38d0, #42118e); box-shadow: inset 0 1px 3px rgba(255,255,255,.36); }
.round-icon .lucide { width: 34px; height: 34px; stroke-width: 2.1; }
.pathway-card h2 { margin: 1px 0 9px; color: #5621bc; font-size: var(--heading-card); font-weight: 900; line-height: 1.2; }
.pathway-card p { margin-bottom: 14px; color: #454064; font-size: var(--text-body); font-weight: 700; line-height: 1.5; }
.text-link { color: #5121af; font-size: var(--text-ui); font-weight: 900; line-height: 1.35; }
.text-link span { margin-left: 8px; font-size: 17px; vertical-align: -1px; }

.about-section { padding-top: 36px; }
.about-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 48px; align-items: stretch; }
.about-copy { padding: 0 2px 0; }
.about-copy > h2, .condition-card h2 { margin-bottom: 12px; color: #5723b9; font-size: var(--heading-section); font-weight: 900; line-height: 1.14; }
.about-copy > p { max-width: 630px; margin-bottom: 26px; color: #34305a; font-size: var(--text-body); font-weight: 700; line-height: 1.58; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.quick-fact { min-height: 156px; padding: 8px 18px 8px 0; display: grid; grid-template-columns: 50px 1fr; gap: 10px; border-right: 1px solid #ded7f2; }
.quick-fact + .quick-fact { padding-left: 18px; }
.quick-fact:last-child { border-right: 0; }
.fact-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #5921be; background: #f0ebfc; }
.fact-icon .lucide { width: 28px; height: 28px; stroke-width: 2.1; }
.quick-fact h3 { margin: 4px 0 6px; color: #2b2454; font-size: var(--text-body); font-weight: 900; line-height: 1.25; }
.quick-fact p { margin: 0; color: #595270; font-size: var(--text-ui); font-weight: 700; line-height: 1.5; }

.condition-card { position: relative; overflow: hidden; padding: 32px; border-radius: 16px; background: linear-gradient(135deg, #f1edfd, #faf9ff); }
.condition-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -68px; bottom: -100px; border: 1px solid rgba(94, 42, 190, .12); border-radius: 50%; box-shadow: 0 0 0 25px rgba(94, 42, 190, .035), 0 0 0 50px rgba(94, 42, 190, .02); }
.condition-card h2 { margin-bottom: 12px; }
.condition-card > p { max-width: 510px; margin-bottom: 24px; color: #4c4766; font-size: var(--text-body); font-weight: 700; line-height: 1.55; }
.condition-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; }
.condition-stat { display: grid; grid-template-columns: 58px 1fr; gap: 13px; align-items: center; }
.condition-stat + .condition-stat { padding-left: 20px; border-left: 1px solid #d8d1ed; }
.stat-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #6a34cf, #471398); }
.stat-symbol .lucide { width: 31px; height: 31px; stroke-width: 2.1; }
.condition-stat strong { display: block; color: #4b1aa6; font-size: 1.625rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.condition-stat span { display: block; margin-top: 6px; color: #5d5674; font-size: var(--text-caption); font-weight: 800; line-height: 1.4; }
.stat-message strong { font-size: 1.125rem; line-height: 1.08; }

.science-section { position: relative; overflow: hidden; padding-top: 8px; }
.science-section::before, .science-section::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border: 2px dotted rgba(101, 45, 199, .08); border-radius: 50%; }
.science-section::before { left: -115px; bottom: 0; }
.science-section::after { right: -115px; top: 0; }
.section-heading { margin-bottom: 28px; }
.section-heading.centered { text-align: center; }
.section-heading h2 { margin-bottom: 7px; color: #5723b9; font-size: var(--heading-section); font-weight: 900; line-height: 1.14; }
.section-heading p { margin: 0 auto; max-width: 740px; color: #4d4768; font-size: var(--text-body); font-weight: 700; line-height: 1.55; }
.science-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.science-card { min-height: 212px; display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 24px 18px; border: 1px solid #eee9f8; border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(50, 22, 116, 0.045); }
.science-card h3 { margin: 0 0 8px; color: #5621bc; font-size: 1.125rem; font-weight: 900; line-height: 1.25; }
.science-card p { margin: 0; color: #504a68; font-size: var(--text-ui); font-weight: 700; line-height: 1.5; }
.science-mark { width: 55px; height: 55px; display: grid; place-items: center; color: #5722bd; }
.science-mark .lucide { width: 42px; height: 42px; stroke-width: 2.05; }

.impact-section { padding: 0 0 56px; }
.impact-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 30px; align-items: center; min-height: 164px; padding: 30px 34px; border-radius: 15px; color: #fff; background: linear-gradient(110deg, #26105e 0%, #432093 50%, #6020bb 100%); box-shadow: 0 9px 21px rgba(43, 19, 109, .14); }
.impact-banner::after { content: ""; position: absolute; width: 270px; height: 270px; right: -108px; bottom: -188px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.035), 0 0 0 50px rgba(255,255,255,.025); }
.impact-intro, .impact-item { position: relative; z-index: 1; display: grid; align-items: center; }
.impact-intro { grid-template-columns: 69px 1fr; gap: 16px; }
.impact-emblem { width: 62px; height: 62px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.82); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); }
.impact-emblem .lucide { width: 37px; height: 37px; stroke-width: 2.05; }
.impact-intro h2 { margin: 0 0 7px; color: #fff; font-size: 1.875rem; font-weight: 900; line-height: 1.14; }
.impact-intro p, .impact-item p { margin: 0; color: rgba(255,255,255,.9); font-size: var(--text-ui); font-weight: 700; line-height: 1.5; }
.impact-item { grid-template-columns: 44px 1fr; gap: 12px; min-height: 72px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.28); }
.impact-item h3 { margin: 0 0 6px; color: #fff; font-size: 1.125rem; font-weight: 900; line-height: 1.25; }
.impact-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.impact-icon .lucide { width: 35px; height: 35px; stroke-width: 2.05; }

.donate-section { position: relative; overflow: hidden; margin-top: 1px; color: #fff; background: linear-gradient(110deg, #5720ba 0%, #371080 51%, #2e126f 100%); }
.donate-section::after { content: ""; position: absolute; width: 350px; height: 350px; top: -202px; right: -118px; border: 1px solid rgba(255,255,255,.14); border-radius: 48% 52% 50% 50%; transform: rotate(27deg); box-shadow: 0 0 0 24px rgba(255,255,255,.03), 0 0 0 48px rgba(255,255,255,.025); }
.donate-inner { position: relative; z-index: 1; min-height: 156px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 3px; }
.donate-heading { display: grid; grid-template-columns: 66px 1fr; gap: 17px; align-items: center; max-width: 620px; }
.donate-icon { width: 61px; height: 61px; display: grid; place-items: center; border-radius: 50%; color: #5721ba; background: #fff; }
.donate-icon .lucide { width: 34px; height: 34px; stroke-width: 2.1; }
.donate-heading h2 { margin: 0 0 7px; color: #fff; font-size: 1.875rem; font-weight: 900; line-height: 1.14; }
.donate-heading p { margin: 0; color: rgba(255,255,255,.92); font-size: var(--text-body); font-weight: 700; line-height: 1.5; }
.donate-actions { display: flex; gap: 18px; }

.site-footer { padding: 48px 0 36px; color: #fff; background: linear-gradient(110deg, #1a1647 0%, #25125c 58%, #341477 100%); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr 1.35fr 1.7fr; gap: 30px; }
.footer-brand { padding-right: 14px; }
.footer-brand img { width: 180px; filter: brightness(0) invert(1) grayscale(1) brightness(2.4); opacity: .95; }
.footer-tagline { margin: 18px 0; color: #fff; font-size: var(--text-body); font-weight: 900; }
.copyright { margin: 0; color: rgba(255,255,255,.8); font-size: var(--text-caption); font-weight: 700; line-height: 1.55; }
.footer-brand .legal-links { margin-top: 20px; }
.footer-column { min-width: 0; padding-left: 21px; border-left: 1px solid rgba(255,255,255,.23); }
.footer-column h2 { margin: 0 0 12px; color: #fff; font-size: var(--text-body); font-weight: 900; letter-spacing: 0; }
.footer-column a, .footer-column p { display: block; margin: 0 0 7px; color: rgba(255,255,255,.88); font-size: var(--text-caption); font-weight: 700; line-height: 1.5; }
.footer-column a:hover { color: #d9c6ff; }
.contact-column a { overflow-wrap: anywhere; }
.contact-column p { margin-top: 8px; line-height: 1.55; }
.contact-column p span { padding-left: 18px; }
.newsletter-column { padding-right: 4px; }
.newsletter-column > p { max-width: 380px; margin-bottom: 14px; }
.brevo-footer-form { width: 100%; max-width: 380px; text-align: left; }
.brevo-footer-form .sib-form-container, .brevo-footer-form .sib-container--large, .brevo-footer-form .sib-form { width: 100%; max-width: none; }
.subscription-stage-one { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; width: 100%; }
.subscription-stage-one .sib-input { min-width: 0; margin: 0; }
.subscription-stage-one .input { box-sizing: border-box; height: 46px; min-height: 46px; border-radius: 6px; }
.newsletter-continue { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; min-width: 112px; min-height: 46px; height: 46px; margin: 0; padding: 0 16px; border: 1px solid #bc9cff; border-radius: 6px; color: #fff; background: #5e27be; font: inherit; font-size: var(--text-ui); font-weight: 900; line-height: 1; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.newsletter-continue:hover { background: #7040d3; box-shadow: 0 7px 14px rgba(50, 21, 125, .28); }
.newsletter-continue:focus-visible { outline: 3px solid rgba(210, 187, 255, .92); outline-offset: 3px; }
.subscription-stage-two { margin-top: 15px; }
.js .subscription-stage-two[data-expanded="false"] { max-height: 0; margin-top: 0; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; }
.js .subscription-stage-two[data-expanded="true"] { max-height: 580px; visibility: visible; opacity: 1; transition: max-height .3s ease, opacity .2s ease; }
.subscription-actions { display: flex; align-items: center; gap: 12px; }
.newsletter-cancel { padding: 8px 2px; border: 0; color: #e8ddff; background: transparent; font: inherit; font-size: var(--text-caption); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.newsletter-cancel:hover { color: #fff; }
.newsletter-cancel:focus-visible { outline: 3px solid rgba(210, 187, 255, .92); outline-offset: 3px; }
.brevo-footer-form .sib-form-message-panel { display: none; align-items: flex-start; gap: 9px; margin: 0 0 12px; padding: 11px 12px; border: 1px solid; border-radius: 7px; font-size: var(--text-caption); font-weight: 800; line-height: 1.4; }
.brevo-footer-form #success-message { color: #eafff1; background: rgba(19, 206, 102, .18); border-color: rgba(126, 246, 176, .72); }
.brevo-footer-form #error-message { color: #fff1f1; background: rgba(196, 53, 53, .24); border-color: rgba(255, 166, 166, .76); }
.brevo-footer-form .sib-notification__icon { flex: 0 0 auto; width: 18px; height: 18px; fill: currentColor; }
.brevo-footer-form .sib-form-block { margin: 0 0 13px; padding: 0; }
.brevo-footer-form .entry__label { display: block; margin: 0 0 6px; color: #fff; font-size: var(--text-caption); font-weight: 900; }
.brevo-footer-form .entry__field { width: 100%; }
.brevo-footer-form .input { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.68); border-radius: 6px; color: var(--ink); background: #fff; font: inherit; font-size: var(--text-body); font-weight: 700; }
.brevo-footer-form .input::placeholder { color: #716f85; opacity: 1; }
.brevo-footer-form .input:focus-visible, .brevo-footer-form .input_replaced:focus-visible + .checkbox, .brevo-footer-form .sib-form-block__button:focus-visible { outline: 3px solid rgba(210, 187, 255, .92); outline-offset: 3px; }
.brevo-footer-form .entry__error { display: block; margin-top: 7px; color: #ffe2e2; font-size: var(--text-caption); font-weight: 800; line-height: 1.4; }
.brevo-footer-form .entry__error:empty { display: none; }
.brevo-footer-form .entry__choice > label { display: flex; align-items: flex-start; gap: 9px; color: rgba(255,255,255,.94); font-size: var(--text-caption); font-weight: 700; line-height: 1.5; }
.brevo-footer-form .input_replaced { position: absolute; width: 1px; height: 1px; margin: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brevo-footer-form .checkbox { position: relative; flex: 0 0 19px; width: 19px; height: 19px; margin-top: 2px; border: 2px solid #d9c6ff; border-radius: 4px; background: #fff; }
.brevo-footer-form .input_replaced:checked + .checkbox { border-color: #c8adff; background: #c8adff; }
.brevo-footer-form .input_replaced:checked + .checkbox::after { content: ''; position: absolute; top: 2px; left: 5px; width: 4px; height: 8px; border: solid #321078; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.brevo-footer-form .entry__choice p { margin: 0; }
.brevo-footer-form .entry__specification { display: block; margin-top: 7px; color: #ded6f3; font-size: .8125rem; font-weight: 700; line-height: 1.45; }
.brevo-footer-form .sib-form__declaration { display: flex; gap: 9px; margin: 0 0 15px; color: #e9e1fb; font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.brevo-footer-form .sib-form__declaration::before { content: 'i'; display: grid; place-items: center; flex: 0 0 19px; width: 19px; height: 19px; margin-top: 1px; border: 1px solid #c8adff; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 900; }
.brevo-footer-form .sib-form__declaration p { margin: 0; }
.brevo-footer-form .sib-form__declaration a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.brevo-footer-form .sib-form__declaration a:hover { color: #dccbff; }
.brevo-footer-form .sib-captcha { overflow: hidden; min-height: 78px; }
.brevo-footer-form .g-recaptcha { transform-origin: top left; }
.brevo-footer-form .sib-form-block__button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 17px; border: 1px solid #bc9cff; border-radius: 6px; color: #fff; background: #5e27be; font: inherit; font-size: var(--text-ui); font-weight: 900; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.brevo-footer-form .sib-form-block__button:hover { transform: translateY(-2px); background: #7040d3; box-shadow: 0 7px 14px rgba(50, 21, 125, .28); }
.brevo-footer-form .progress-indicator__icon { display: none; width: 16px; height: 16px; fill: currentColor; }
.brevo-footer-form .input--hidden { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.social-links { display: flex; align-items: center; gap: 15px; margin-top: 5px; }
.social-links a { display: grid; place-items: center; margin: 0; min-width: 13px; color: #fff; font-size: 16px; font-weight: 900; line-height: 1; }
.legal-links { display: flex; gap: 17px; }
.legal-links a { font-size: var(--text-caption); white-space: nowrap; }

@media (max-width: 1100px) {
  .primary-nav { gap: 16px; }
  .header-inner { gap: 16px; }
  .pathway-card { grid-template-columns: 68px 1fr; padding: 22px; }
  .round-icon { width: 60px; height: 60px; }
  .about-grid { gap: 36px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
  .footer-brand { padding-right: 0; }
  .footer-column { padding-left: 0; border-left: 0; }
}

@media (max-width: 1020px) and (min-width: 911px) {
  .header-inner { min-height: 78px; }
  .brand img { width: 180px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 15px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 11px 18px rgba(36, 17, 89, 0.09); }
  .site-header[data-menu-open="true"] .primary-nav { display: flex; }
  .primary-nav a { padding: 11px 3px; border-bottom: 1px solid #f0ecf9; }
  .primary-nav a:last-child { border-bottom: 0; }
  .header-donate { margin-left: 0; }
}

@media (max-width: 910px) {
  .header-inner { min-height: 78px; }
  .brand img { width: 180px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 15px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 11px 18px rgba(36, 17, 89, 0.09); }
  .site-header[data-menu-open="true"] .primary-nav { display: flex; }
  .primary-nav a { padding: 11px 3px; border-bottom: 1px solid #f0ecf9; }
  .primary-nav a:last-child { border-bottom: 0; }
  .header-donate { margin-left: 0; }
  .hero { min-height: 550px; }
  .hero-inner { min-height: 550px; }
  .hero-copy { width: min(570px, 70%); }
  .hero-fade { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 42%, rgba(255,255,255,.72) 66%, rgba(255,255,255,.1) 100%); }
  .pathways { margin-top: -40px; }
  .pathways-grid, .science-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .condition-card { min-height: 0; }
  .impact-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-intro { grid-column: 1 / -1; }
  .impact-item:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .footer-brand { grid-row: auto; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .header-inner { min-height: 70px; gap: 9px; }
  .brand img { width: 157px; }
  .menu-toggle { width: 39px; height: 39px; }
  .header-donate { min-width: auto; min-height: 44px; padding: 10px 12px; font-size: var(--text-caption); }
  .header-donate .button-icon { width: 1rem; height: 1rem; }
  .hero { min-height: 610px; background: #f9f7ff; }
  .hero-art { opacity: .72; background-position: 66% center; background-size: auto 100%; }
  .hero-fade { background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.95) 48%, rgba(255,255,255,.42) 100%); }
  .hero-inner { min-height: 610px; align-items: flex-start; }
  .hero-copy { width: 100%; padding: 58px 0 40px; }
  h1 { max-width: 460px; font-size: clamp(2.7rem, 11vw, 3.5rem); }
  .hero-description { max-width: 430px; font-size: var(--text-body); }
  .button-row { gap: 10px; }
  .button { min-height: 48px; padding: 12px 16px; font-size: var(--text-ui); }
  .pathways { margin-top: -24px; }
  .pathways-grid, .science-grid { grid-template-columns: 1fr; }
  .pathways-grid.resources-hidden { grid-template-columns: 1fr; }
  .pathway-card { grid-template-columns: 64px 1fr; min-height: 0; padding: 20px; }
  .section { padding-top: 42px; padding-bottom: 42px; }
  .about-copy > h2, .condition-card h2, .section-heading h2 { font-size: clamp(1.75rem, 9vw, 2rem); }
  .quick-facts { grid-template-columns: 1fr; gap: 9px; }
  .quick-fact, .quick-fact + .quick-fact { min-height: auto; padding: 8px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-fact:last-child { border-bottom: 0; }
  .condition-card { padding: 26px 22px; }
  .condition-card h2 br { display: none; }
  .condition-stats { grid-template-columns: 1fr; gap: 18px; }
  .condition-stat + .condition-stat { padding: 18px 0 0; border-left: 0; border-top: 1px solid #d8d1ed; }
  .science-card { min-height: 0; }
  .impact-section { padding: 0 0 42px; }
  .impact-banner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .impact-item, .impact-item:last-child { grid-column: auto; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .impact-intro { grid-template-columns: 58px 1fr; gap: 13px; }
  .impact-emblem { width: 54px; height: 54px; }
  .impact-intro h2 { font-size: 1.75rem; }
  .donate-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 32px 0; }
  .donate-heading { grid-template-columns: 55px 1fr; gap: 12px; }
  .donate-icon { width: 53px; height: 53px; }
  .donate-heading h2 { font-size: 1.75rem; }
  .donate-actions { width: 100%; gap: 10px; }
  .donate-actions .button { flex: 1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; border-bottom: 1px solid rgba(255,255,255,.2); padding: 0 0 18px; }
  .footer-brand img { width: 175px; }
  .footer-tagline { margin: 10px 0; }
  .footer-column { padding-left: 0; border-left: 0; }
  .newsletter-column { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
  .brevo-footer-form { max-width: 420px; }
}

@media (max-width: 390px) {
  .header-donate { padding: 10px; }
  .header-donate .button-icon { width: 1rem; height: 1rem; }
  .brand img { width: 144px; }
  .hero { min-height: 670px; }
  .hero-inner { min-height: 670px; }
  .button-row { flex-direction: column; align-items: flex-start; }
  .button-row .button { min-width: 178px; }
  .subscription-stage-one { grid-template-columns: 1fr; }
  .newsletter-continue { width: 100%; }
}
