@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --brand-plum: #1689d4;
    --brand-plum-deep: #0c5d96;
    --brand-navy: #173247;
    --brand-coral: #0f9b67;
    --brand-lavender: #eef8ff;
    --brand-peach: #edf8f2;
    --brand-sky: #d8edf8;
    --brand-sand: #f3faf6;
    --white: #ffffff;
    --text-main: #132d3a;
    --text-muted: #61707a;
    --border-soft: rgba(17, 136, 200, 0.16);
    --shadow-artistic: 0 24px 60px rgba(8, 31, 43, 0.11);
    --shadow-deep: 0 20px 46px rgba(8, 31, 43, 0.14);
    --font-heading: 'Manrope', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    --container-max: 1240px;
    --page-accent: var(--brand-plum);
    --page-accent-deep: var(--brand-plum-deep);
    --page-glow: rgba(22, 137, 212, 0.18);
    --page-soft: rgba(17, 136, 200, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at 0% 0%, var(--page-glow) 0%, transparent 26%),
        radial-gradient(circle at 100% 14%, rgba(15, 155, 103, 0.12) 0%, transparent 22%),
        linear-gradient(180deg, #fbfeff 0%, #f5fbfd 58%, #ffffff 100%);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.site-page {
    --page-accent: var(--brand-plum);
    --page-accent-deep: var(--brand-plum-deep);
    --page-glow: rgba(22, 137, 212, 0.18);
    --page-soft: rgba(22, 137, 212, 0.08);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

main {
    overflow: clip;
}

.grain-texture {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(21, 114, 165, 0.12) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 70% 40%, rgba(15, 155, 103, 0.08) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 40% 75%, rgba(15, 47, 64, 0.08) 0 1px, transparent 1px 100%);
    background-size: 24px 24px, 28px 28px, 32px 32px;
    z-index: -1;
}

.site-header {
    position: relative;
    background: transparent;
    border-bottom: none;
    transition: none;
}

.site-header.is-scrolled {
    box-shadow: none;
}

.site-top-strip {
    position: relative;
    z-index: auto;
    background: transparent;
    border-bottom: 1px solid rgba(22, 137, 212, 0.08);
}

.site-top-strip::before {
    display: none;
}

.site-top-strip .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0 16px;
    padding-top: 6px;
    padding-bottom: 5px;
}

.site-top-item {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    gap: 6px;
    margin-left: 0;
    padding-left: 14px;
    border-left: 1px solid rgba(22, 137, 212, 0.12);
}

.site-top-item:first-child {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}

.site-top-label {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.13rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.site-top-value {
    color: var(--text-main);
    font-size: 0.82rem;
    line-height: 1.15;
}

.site-top-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-top-value a:hover {
    color: var(--page-accent);
}

.nav-v5 {
    position: sticky;
    top: 0;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(22, 137, 212, 0.1);
    padding: 8px 0 6px;
    transition: padding 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-v5.scrolled {
    padding: 6px 0 4px;
    box-shadow: 0 12px 28px rgba(8, 31, 43, 0.08);
}

.nav-shell {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-name {
    max-width: 220px;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.08rem;
    line-height: 1.18;
    text-transform: uppercase;
    color: var(--brand-navy);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.primary-menu,
.primary-menu li,
.sub-menu,
.sub-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a,
.nav-links > a:not(.btn-v5) {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13rem;
    text-transform: uppercase;
    color: var(--text-main);
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.primary-menu > li > a::after,
.nav-links > a:not(.btn-v5)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--page-accent), var(--brand-coral));
    transition: transform 0.2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li > a.is-active,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-parent > a,
.primary-menu > li.current-menu-ancestor > a,
.nav-links > a:not(.btn-v5):hover,
.nav-links > a:not(.btn-v5).is-active {
    color: var(--page-accent);
}

.primary-menu > li > a:hover::after,
.primary-menu > li > a.is-active::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-parent > a::after,
.primary-menu > li.current-menu-ancestor > a::after,
.nav-links > a:not(.btn-v5):hover::after,
.nav-links > a:not(.btn-v5).is-active::after {
    transform: scaleX(1);
}

.primary-menu > li.menu-item-has-children {
    padding-right: 14px;
}

.primary-menu > li.menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 7px;
    height: 7px;
    margin-top: -6px;
    border-right: 1.5px solid rgba(19, 45, 58, 0.62);
    border-bottom: 1.5px solid rgba(19, 45, 58, 0.62);
    transform: rotate(45deg);
    pointer-events: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.primary-menu > li.menu-item-has-children:hover::after,
.primary-menu > li.menu-item-has-children:focus-within::after,
.primary-menu > li.menu-item-has-children.submenu-open::after,
.primary-menu > li.current-menu-parent::after,
.primary-menu > li.current-menu-ancestor::after {
    transform: translateY(2px) rotate(225deg);
    border-color: var(--page-accent);
}

.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    min-width: 240px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(22, 137, 212, 0.12);
    box-shadow: 0 18px 40px rgba(8, 31, 43, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 30;
}

.sub-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 14px;
}

.primary-menu > li.menu-item-has-children:hover > .sub-menu,
.primary-menu > li.menu-item-has-children:focus-within > .sub-menu,
.primary-menu > li.menu-item-has-children.submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.sub-menu a::after {
    display: none;
}

.sub-menu a:hover,
.sub-menu a.is-active,
.sub-menu .current-menu-item > a {
    background: rgba(22, 137, 212, 0.08);
    color: var(--page-accent);
}

.submenu-toggle {
    display: none;
}

.nav-links .nav-cta::after {
    display: none;
}

.nav-links .nav-cta {
    flex-shrink: 0;
    min-width: max-content;
    padding: 15px 24px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(22, 137, 212, 0.14);
    background: linear-gradient(90deg, rgba(248, 252, 255, 0.96), rgba(236, 247, 252, 0.96));
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--page-accent);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

p {
    color: var(--text-muted);
}

.display-serif {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--page-accent);
}

.section-tag-v5,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(8, 31, 43, 0.08);
    color: var(--page-accent);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.section-tag-v5::before,
.eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--page-accent), var(--brand-coral));
    box-shadow: 0 0 0 4px var(--page-soft);
}

.section-block {
    padding: 108px 0;
    position: relative;
}

.section-block.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), var(--page-soft));
}

.section-block.soft {
    background: linear-gradient(135deg, rgba(237, 248, 242, 0.84), rgba(223, 241, 247, 0.46));
}

.section-block::before,
.gallery-section::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--page-glow) 0%, transparent 68%);
    pointer-events: none;
    opacity: 0.6;
}

.section-block:nth-of-type(odd)::before,
.gallery-section::before {
    top: 30px;
    right: -130px;
}

.section-block:nth-of-type(even)::before {
    bottom: -100px;
    left: -150px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
    position: relative;
    padding-bottom: 22px;
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 112px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--page-accent), var(--brand-coral));
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-copy {
    font-size: 1.04rem;
    margin-top: 14px;
}

.btn-v5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-v5::after {
    content: '';
    position: absolute;
    inset: -40% auto -40% -120%;
    width: 56%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.4s ease;
}

.btn-v5-primary {
    background: linear-gradient(135deg, var(--page-accent), var(--page-accent-deep));
    color: var(--white);
    box-shadow: 0 18px 42px var(--page-glow);
}

.btn-v5-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px var(--page-glow);
}

.btn-v5:hover::after {
    left: 140%;
}

.btn-v5-ghost {
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand-navy);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(8, 31, 43, 0.08);
}

.btn-v5-ghost:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 242, 0.96));
}

.btn-v5-secondary {
    background: var(--page-soft);
    color: var(--brand-navy);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-v5-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.88);
}

.nav-v5.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-v5.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-v5.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-section,
.page-hero {
    position: relative;
    padding: 72px 0 60px;
}

.page-hero {
    padding: 58px 0 46px;
}

.hero-section::before,
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, var(--page-glow) 0%, transparent 28%),
        radial-gradient(circle at 8% 32%, rgba(15, 155, 103, 0.08) 0%, transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 52%);
    pointer-events: none;
}

.hero-section::after,
.page-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: 26px;
    width: min(42vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--page-glow) 0%, transparent 68%);
    pointer-events: none;
    filter: blur(14px);
    opacity: 0.55;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.84fr);
    gap: 32px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    max-width: 720px;
    text-wrap: balance;
}

.hero-lead {
    margin-top: 14px;
    font-size: 1.02rem;
    max-width: 640px;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-highlights {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero-visual {
    display: grid;
    gap: 14px;
    position: relative;
    padding: 4px 0 4px 4px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 16px 8px 0 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(22, 137, 212, 0.06), rgba(15, 155, 103, 0.04));
    border: 1px solid rgba(22, 137, 212, 0.08);
    pointer-events: none;
}

.hero-media,
.media-frame {
    overflow: hidden;
    border-radius: 34px;
    background: var(--brand-sky);
    box-shadow: var(--shadow-artistic);
    position: relative;
}

.hero-media {
    min-height: 420px;
    transform: none;
    border: 1px solid rgba(22, 137, 212, 0.1);
}

.page-hero .hero-media {
    min-height: 360px;
}

.hero-media::after,
.media-frame::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.62);
    pointer-events: none;
}

.hero-media img,
.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.site-home .hero-section.hero-home {
    --home-slider-height: clamp(660px, 82vh, 820px);
    min-height: var(--home-slider-height);
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}

.site-home .hero-section.hero-home::before {
    z-index: 1;
    background: linear-gradient(135deg, rgba(6, 18, 27, 0.18) 0%, rgba(6, 18, 27, 0.08) 52%, rgba(6, 18, 27, 0.26) 100%);
}

.site-home .hero-section.hero-home::after {
    display: none;
}

.hero-slideshow {
    position: relative;
    z-index: 0;
    min-height: var(--home-slider-height);
}

.hero-story-slide {
    --hero-bg-start: #0d2f44;
    --hero-bg-end: #1a728a;
    --hero-glow: rgba(103, 210, 255, 0.28);
    --hero-slide-image: url("../images/ifpa/identity.jpeg");
    --hero-image-position: center center;
    --hero-image-size: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background:
        linear-gradient(105deg, rgba(5, 16, 24, 0.48) 0%, rgba(7, 21, 31, 0.22) 38%, rgba(8, 25, 36, 0.42) 100%),
        var(--hero-slide-image) var(--hero-image-position) / var(--hero-image-size) no-repeat,
        linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    animation: hero-story-slider 24s infinite;
}

.hero-story-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 13, 20, 0.26) 0%, rgba(4, 13, 20, 0.08) 30%, rgba(4, 13, 20, 0.34) 100%),
        radial-gradient(circle at 72% 24%, var(--hero-glow) 0%, transparent 26%),
        radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.12) 0%, transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(4, 12, 18, 0.34) 100%);
    pointer-events: none;
}

.hero-story-slide-1 {
    animation-delay: 0s;
}

.hero-story-slide-2 {
    --hero-bg-start: #11354a;
    --hero-bg-end: #1b8a93;
    --hero-glow: rgba(117, 237, 214, 0.26);
    --hero-slide-image: url("../images/ifpa/awareness.jpeg");
    --hero-image-position: center 28%;
    animation-delay: 6s;
}

.hero-story-slide-3 {
    --hero-bg-start: #123346;
    --hero-bg-end: #1b6676;
    --hero-glow: rgba(182, 235, 255, 0.22);
    --hero-slide-image: url("../images/ifpa/support.jpeg");
    --hero-image-position: center 24%;
    animation-delay: 12s;
}

.hero-story-slide-4 {
    --hero-bg-start: #132e45;
    --hero-bg-end: #255a8d;
    --hero-glow: rgba(133, 185, 255, 0.22);
    --hero-slide-image: url("../images/ifpa/advocacy.jpeg");
    --hero-image-position: center 32%;
    animation-delay: 18s;
}

/* ── Psoriatic Disease page hero ───────────────────────── */
.hero-disease {
    padding: 0;
    overflow: hidden;
    min-height: clamp(520px, 64vw, 700px);
    display: flex;
    align-items: center;
}

.hero-disease::before,
.hero-disease::after {
    display: none;
}

.hero-disease .hero-slideshow {
    position: absolute;
    inset: 0;
    min-height: 100%;
    z-index: 0;
}

.hero-disease-slide-1 {
    --hero-slide-image: url("../images/ifpa/7.jpeg");
    --hero-image-position: center center;
    animation-delay: 0s;
}

.hero-disease-slide-2 {
    --hero-slide-image: url("../images/ifpa/8.jpeg");
    --hero-image-position: center center;
    animation-delay: 6s;
}

.hero-disease-slide-3 {
    --hero-slide-image: url("../images/ifpa/9.jpeg");
    --hero-image-position: center center;
    animation-delay: 12s;
}

.hero-disease-slide-4 {
    --hero-slide-image: url("../images/ifpa/10.jpeg");
    --hero-image-position: center center;
    animation-delay: 18s;
}

.hero-disease-shell {
    position: relative;
    z-index: 2;
    padding: clamp(56px, 8vw, 96px) 0;
}

.hero-disease-content {
    max-width: 580px;
}

.hero-disease-title {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 28px;
    letter-spacing: -0.025em;
}

.hero-disease-title .display-serif {
    color: var(--brand-sky, #d8edf8);
}

.hero-disease-card {
    max-width: 520px;
}

.hero-story-shell {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    min-height: var(--home-slider-height);
    padding: clamp(16px, 2.8vw, 28px) 0;
}

.hero-story-card {
    position: relative;
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(190px, 0.72fr);
    grid-template-areas:
        "label actions"
        "title actions"
        "copy actions";
    align-items: center;
    gap: 6px clamp(14px, 2vw, 22px);
    padding: clamp(12px, 2vw, 18px) clamp(16px, 2.4vw, 24px);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(7, 18, 28, 0.14) 0%, rgba(9, 22, 33, 0.56) 18%, rgba(7, 19, 29, 0.86) 60%, rgba(6, 16, 25, 0.94) 100%);
    border: 1px solid rgba(182, 222, 244, 0.18);
    box-shadow: 0 16px 42px rgba(3, 10, 16, 0.22);
    backdrop-filter: blur(12px) saturate(118%);
}

.hero-story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(187, 226, 246, 0.18), rgba(255, 255, 255, 0.02), rgba(131, 191, 230, 0.14));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.hero-story-card .metric-label {
    grid-area: label;
    display: inline-block;
    margin-bottom: 0;
    color: #8ed9ff;
    align-self: end;
    font-size: 0.68rem;
    letter-spacing: 0.18rem;
}

.hero-story-title {
    grid-area: title;
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.45rem, 2.35vw, 2.3rem);
    line-height: 0.98;
    max-width: none;
    text-wrap: pretty;
}

.hero-story-slide-2 .hero-story-title {
    font-size: clamp(1.35rem, 2.1vw, 1.95rem);
    max-width: none;
    line-height: 1;
}

.hero-story-slide-2 .hero-story-copy {
    max-width: 58ch;
    font-size: 0.9rem;
}

.hero-story-copy {
    grid-area: copy;
    margin-top: 0;
    max-width: 62ch;
    color: rgba(236, 245, 252, 0.9);
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero-story-actions {
    grid-area: actions;
    margin-top: 0;
    padding-top: 0;
    align-self: center;
    justify-self: end;
    display: flex;
    flex-direction: column;
    width: min(100%, 210px);
    justify-content: center;
    gap: 9px;
}

.site-home .hero-home .hero-story-actions .btn-v5 {
    width: 100%;
    min-width: 0;
    padding: 11px 16px;
    font-size: 0.62rem;
    letter-spacing: 0.11rem;
    line-height: 1.2;
}

.site-home .hero-home .hero-story-actions .btn-v5-primary {
    box-shadow: 0 22px 48px rgba(22, 137, 212, 0.28);
}

.site-home .hero-home .hero-story-actions .btn-v5-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f7fbff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-home .hero-home .hero-story-actions .btn-v5-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.hero-followup-section {
    position: relative;
    margin-top: 0;
    padding: 20px 0 52px;
    z-index: 3;
}

.hero-followup-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(22px, 4vw, 34px);
    padding: clamp(28px, 4vw, 42px);
    border-radius: 36px;
    background:
        linear-gradient(140deg, rgba(248, 252, 255, 0.98) 0%, rgba(232, 244, 250, 0.96) 54%, rgba(244, 250, 253, 0.98) 100%);
    border: 1px solid rgba(163, 203, 226, 0.2);
    box-shadow: 0 30px 100px rgba(7, 30, 43, 0.14);
    overflow: hidden;
}

.hero-followup-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 18%, rgba(127, 207, 247, 0.18) 0%, transparent 22%),
        radial-gradient(circle at 18% 88%, rgba(22, 137, 212, 0.08) 0%, transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 32%);
    pointer-events: none;
}

.hero-followup-copy-column,
.hero-followup-grid {
    position: relative;
    z-index: 1;
}

.hero-followup-copy-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-followup-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(22, 137, 212, 0.08);
    border: 1px solid rgba(22, 137, 212, 0.1);
    color: var(--page-accent);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.hero-followup-title,
.hero-followup-copy,
.hero-followup-actions {
    position: relative;
}

.hero-followup-title {
    margin: 18px 0 0;
    color: #102d40;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    max-width: 11ch;
}

.hero-followup-title .display-serif {
    color: #79c9ee;
}

.hero-followup-copy {
    margin-top: 18px;
    max-width: 43ch;
    color: #577182;
    font-size: 1.06rem;
    line-height: 1.72;
}

.hero-followup-actions {
    margin-top: 26px;
}

.hero-followup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-self: stretch;
}

.hero-followup-point {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 178px;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(11, 28, 41, 0.98) 0%, rgba(20, 48, 67, 0.92) 100%);
    border: 1px solid rgba(160, 210, 238, 0.14);
    box-shadow: 0 18px 40px rgba(5, 20, 30, 0.14);
}

.site-home .hero-followup-actions .btn-v5-secondary {
    background: rgba(16, 45, 64, 0.06);
    color: #102d40;
    border: 1px solid rgba(16, 45, 64, 0.14);
    box-shadow: none;
}

.site-home .hero-followup-actions .btn-v5-secondary:hover {
    background: rgba(16, 45, 64, 0.12);
    color: #102d40;
}

.hero-followup-point-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(143, 220, 255, 0.1);
    color: #8ed9ff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
}

.hero-followup-point h3 {
    margin: 0;
    color: #f7fbff;
    font-size: 1.22rem;
    line-height: 1.15;
}

.hero-followup-point p {
    margin: 0;
    color: rgba(226, 238, 246, 0.82);
    font-size: 0.95rem;
    line-height: 1.65;
}

@keyframes hero-story-slider {
    0% {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    21% {
        opacity: 1;
        visibility: visible;
        transform: scale(1.01);
    }

    25%,
    100% {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-story-slide {
        animation: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .hero-story-slide-1 {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 920px) {
    .site-home .hero-section.hero-home {
        --home-slider-height: 780px;
    }

    .hero-story-shell {
        padding: 14px 0 20px;
    }

    .hero-story-card {
        grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.78fr);
        max-width: 100%;
        gap: 8px 14px;
        padding: 14px 16px;
    }

    .hero-story-title,
    .hero-story-slide-2 .hero-story-title {
        max-width: none;
        font-size: clamp(1.3rem, 3vw, 1.9rem);
    }

    .hero-story-copy,
    .hero-story-slide-2 .hero-story-copy {
        max-width: none;
        font-size: 0.84rem;
    }

    .hero-story-actions {
        width: min(100%, 180px);
        justify-self: end;
        justify-content: center;
    }

    .hero-followup-section {
        margin-top: 0;
        padding-top: 16px;
    }

    .hero-followup-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .site-disease .section-intro-split {
        flex-direction: column !important;
    }
    .site-disease .section-intro-split .media-frame {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 220px !important;
    }

    .site-home .hero-section.hero-home {
        --home-slider-height: 660px;
    }

    .hero-story-shell {
        gap: 0;
        padding: 12px 0 16px;
    }

    .hero-story-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "title"
            "copy"
            "actions";
        padding: 16px 16px 18px;
        border-radius: 22px;
        gap: 8px;
    }

    .hero-story-card .metric-label {
        font-size: 0.58rem;
        letter-spacing: 0.15rem;
    }

    .hero-story-title {
        font-size: clamp(1.25rem, 6.8vw, 1.9rem);
        max-width: none;
        line-height: 1;
    }

    .hero-story-slide-2 .hero-story-title {
        font-size: clamp(1.12rem, 5.8vw, 1.55rem);
        max-width: none;
        line-height: 1.02;
    }

    .hero-story-copy,
    .hero-story-slide-2 .hero-story-copy {
        max-width: none;
        font-size: 0.78rem;
        line-height: 1.42;
    }

    .hero-story-actions {
        width: 100%;
        gap: 8px;
        padding-top: 2px;
    }

    .hero-story-actions .btn-v5 {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px 14px;
        font-size: 0.6rem;
        letter-spacing: 0.1rem;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }

    .hero-followup-section {
        margin-top: 0;
        padding-bottom: 28px;
        padding-top: 12px;
    }

    .hero-followup-shell {
        padding: 22px 18px;
        border-radius: 26px;
        gap: 18px;
    }

    .hero-followup-title {
        font-size: clamp(2.15rem, 9vw, 3.2rem);
        max-width: none;
    }

    .hero-followup-copy {
        font-size: 0.98rem;
    }

    .hero-followup-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-followup-point {
        min-height: auto;
    }
}

.floating-panel,
.card-surface,
.detail-panel,
.timeline-panel,
.form-card,
.team-member,
.blog-card,
.quote-card,
.support-card,
.partner-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 252, 0.94));
    border: 1px solid rgba(22, 137, 212, 0.08);
    box-shadow: var(--shadow-artistic);
}

.floating-panel,
.card-surface,
.detail-panel,
.timeline-panel,
.form-card,
.blog-card,
.quote-card {
    border-radius: 28px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.support-card,
.team-member {
    border-radius: 28px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.team-member {
    padding: 24px;
}

.partner-card,
.contact-card {
    position: relative;
    overflow: hidden;
}

.floating-panel::before,
.card-surface::before,
.detail-panel::before,
.timeline-panel::before,
.form-card::before,
.team-member::before,
.blog-card::before,
.quote-card::before,
.support-card::before,
.partner-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--page-accent), var(--brand-coral), transparent);
}

.floating-panel::after,
.card-surface::after,
.detail-panel::after,
.timeline-panel::after,
.form-card::after,
.team-member::after,
.blog-card::after,
.quote-card::after,
.support-card::after,
.partner-card::after,
.contact-card::after {
    content: '';
    position: absolute;
    top: -56px;
    right: -42px;
    width: 132px;
    height: 132px;
    background: radial-gradient(circle, var(--page-glow) 0%, transparent 72%);
    pointer-events: none;
}

.card-surface,
.detail-panel,
.timeline-panel,
.team-member,
.blog-card,
.quote-card,
.support-card,
.partner-card,
.gallery-item,
.floating-panel,
.contact-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-surface:hover,
.detail-panel:hover,
.team-member:hover,
.blog-card:hover,
.quote-card:hover,
.support-card:hover,
.partner-card:hover,
.floating-panel:hover,
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(8, 31, 43, 0.1);
}

.floating-panel-grid,
.stat-grid,
.three-column,
.four-column,
.card-grid,
.blog-grid,
.video-grid,
.cta-grid,
.support-grid,
.gallery-highlight-grid,
.contact-card-grid {
    display: grid;
    gap: 18px;
}

.floating-panel-grid,
.four-column {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid,
.card-grid,
.gallery-highlight-grid,
.contact-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-column,
.blog-grid,
.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-grid,
.cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column,
.content-grid,
.team-grid,
.contact-layout,
.detail-grid,
.story-grid,
.about-intro-grid,
.pathway-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-intro-grid {
    align-items: start;
}

.understanding-disease-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 28px;
    align-items: center;
}

.understanding-disease-media {
    min-height: 360px;
    max-height: 440px;
}

.about-story-media {
    min-height: 280px;
    max-height: 320px;
}

.metric-label,
.role-pill,
.post-meta span,
.timeline-year,
.inline-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: var(--page-accent);
}

.card-title {
    font-size: 1.28rem;
    margin-bottom: 10px;
}

.card-surface p,
.detail-panel p,
.blog-card p,
.team-member p,
.timeline-panel p,
.floating-panel p,
.form-card p {
    font-size: 0.98rem;
}

.card-list,
.pill-list,
.footer-links,
.social-links {
    list-style: none;
}

.card-list {
    display: grid;
    gap: 12px;
}

.card-list li {
    padding-left: 18px;
    position: relative;
    color: var(--text-muted);
}

.card-list li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--page-accent), var(--brand-coral));
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list li {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(21, 114, 165, 0.08);
    color: var(--brand-navy);
    font-size: 0.92rem;
}

.quote-card {
    position: relative;
    padding-top: 44px;
}

.quote-mark {
    position: absolute;
    top: 14px;
    left: 22px;
    font-family: var(--font-serif);
    font-size: 4.8rem;
    line-height: 1;
    color: var(--page-accent);
    opacity: 0.16;
}

.quote-text {
    color: var(--text-main);
    font-size: 1.06rem;
}

.quote-author {
    margin-top: 14px;
    color: var(--brand-navy);
    font-weight: 700;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.partner-carousel {
    position: relative;
    overflow: hidden;
    padding: 6px 0;
}

.partner-carousel::before,
.partner-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 3;
    pointer-events: none;
}

.partner-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(251, 254, 255, 1), rgba(251, 254, 255, 0));
}

.partner-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(251, 254, 255, 1), rgba(251, 254, 255, 0));
}

.partner-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: partner-carousel-scroll 34s linear infinite;
}

.partner-carousel:hover .partner-track {
    animation-play-state: paused;
}

.partner-slide {
    flex: 0 0 clamp(214px, 22vw, 250px);
    min-width: clamp(214px, 22vw, 250px);
    text-decoration: none;
}

@keyframes partner-carousel-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 8px));
    }
}

.partner-card {
    min-height: 132px;
    padding: 20px 16px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 242, 0.94));
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--page-accent);
    text-decoration: none;
}

.partner-logo {
    max-width: min(150px, 100%);
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-name {
    font-size: 0.78rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--brand-navy);
}

.partner-note {
    font-size: 0.82rem;
    line-height: 1.25;
    color: var(--text-muted);
    font-weight: 700;
}

.partner-wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: var(--page-accent);
    line-height: 1.1;
}

@media (prefers-reduced-motion: reduce) {
    .partner-carousel {
        overflow-x: auto;
    }

    .partner-carousel::before,
    .partner-carousel::after {
        display: none;
    }

    .partner-track {
        animation: none;
    }
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-panel {
    border-radius: 28px;
    padding: 26px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--border-soft);
}

.timeline-item:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.timeline-content h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.detail-panel.dark {
    background: linear-gradient(145deg, var(--brand-navy), var(--page-accent-deep));
    color: var(--white);
    box-shadow: var(--shadow-deep);
}

.detail-panel.dark p,
.detail-panel.dark li,
.detail-panel.dark .quote-author {
    color: rgba(255, 255, 255, 0.84);
}

.detail-panel.dark .card-list li::before {
    background: var(--brand-coral);
}

.video-card {
    position: relative;
    min-height: 260px;
    border-radius: 30px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: linear-gradient(135deg, rgba(12, 37, 51, 0.98), var(--page-accent-deep), rgba(15, 155, 103, 0.72));
    color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.video-card::before {
    content: 'Video placeholder';
    position: absolute;
    top: 22px;
    right: 22px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.12);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.video-embed-card::before {
    content: none;
    display: none;
}

.video-embed {
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(5, 13, 19, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.video-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-embed-card .card-title {
    margin-bottom: 0;
    padding-right: 0;
}

.video-card p,
.video-card li {
    color: rgba(255, 255, 255, 0.84);
}

.gallery-section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    align-items: end;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: 280px;
    border-radius: 24px;
    box-shadow: var(--shadow-artistic);
    background: var(--brand-sky);
    border: 1px solid rgba(22, 137, 212, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:hover {
    transform: translateY(-4px) !important;
}

.gallery-item figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-main);
    font-size: 0.88rem;
    box-shadow: 0 12px 24px rgba(15, 47, 64, 0.14);
}

.gallery-grid > :nth-child(4n + 2),
.gallery-grid > :nth-child(4n + 3) {
    transform: none;
}

.team-grid {
    gap: 22px;
}

.team-grid-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.team-grid-showcase .team-member {
    padding: 20px;
}

.team-grid-showcase .team-photo {
    aspect-ratio: 1 / 1;
    max-height: 240px;
    border-radius: 24px;
}

.team-grid-showcase .team-body {
    padding-top: 16px;
}

.team-grid-showcase .card-title {
    font-size: 1.12rem;
}

.team-grid-showcase .team-member p {
    font-size: 0.92rem;
    line-height: 1.6;
}

.team-member {
    overflow: hidden;
}

.team-photo {
    aspect-ratio: 4 / 5;
    background: var(--brand-sky);
    border-radius: 28px 18px 28px 18px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-body {
    padding-top: 22px;
}

.role-pill {
    margin-bottom: 12px;
}

.blog-card,
.update-card {
    height: 100%;
}

.blog-card h3,
.update-card h3 {
    font-size: 1.32rem;
    margin: 12px 0 10px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.post-meta span {
    letter-spacing: 0.12rem;
}

.featured-article {
    display: grid;
    gap: 18px;
}

.form-card {
    padding: 34px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-group label {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: var(--page-accent);
}

.input-artistic,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 253, 0.94));
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-artistic:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: var(--page-accent);
    box-shadow: 0 0 0 4px var(--page-soft);
}

.field-group textarea {
    min-height: 150px;
    resize: vertical;
}

.field-span-2 {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.checkbox-row input {
    margin-top: 6px;
}

.contact-panel {
    border-radius: 32px;
    padding: 34px;
    background: linear-gradient(145deg, var(--brand-navy), var(--page-accent-deep));
    color: var(--white);
    box-shadow: var(--shadow-artistic);
}

.contact-panel p,
.contact-panel li,
.contact-panel a {
    color: rgba(255, 255, 255, 0.86);
}

.contact-panel .section-tag-v5 {
    background: rgba(255, 255, 255, 0.08);
    color: #d7eef9;
}

.contact-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-card-grid .contact-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.membership-card-grid .contact-card-contact {
    grid-column: 1 / -1;
}

.contact-card-links {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.contact-card-links a {
    display: block;
    text-decoration: none;
    line-height: 1.45;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.footer-v5 {
    margin-top: 40px;
    background: linear-gradient(160deg, #102536, var(--brand-navy) 42%, #0d5476 100%);
    color: var(--white);
    padding: 56px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer-v5::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 155, 103, 0.16) 0%, transparent 72%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 28px;
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: inherit;
    text-decoration: none;
}

.footer-brand img {
    width: 96px;
    margin-bottom: 0;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.2));
}

.footer-brand-name {
    max-width: 220px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--white);
}

.footer-brand p,
.footer-nav a,
.footer-contact a,
.footer-contact p,
.footer-meta,
.social-links a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.76rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #d5eef9;
    margin-bottom: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.98);
    transform: translateX(4px);
}

.footer-links a,
.social-links a {
    text-decoration: none;
}

.social-links,
.social-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.social-links li {
    padding: 0;
    border-radius: 0;
    background: none;
}

.social-icon-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-icon-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 255, 255, 0.24);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-inline-links {
    margin-top: 8px;
}

.social-inline-links .social-icon-link {
    background: var(--brand-lavender);
    border-color: rgba(22, 137, 212, 0.16);
    color: var(--brand-plum);
}

.social-inline-links .social-icon-link:hover {
    background: var(--brand-plum);
    border-color: var(--brand-plum);
    color: var(--white);
}

.footer-meta {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 0.88rem;
    text-align: center;
}

[data-aos] {
    transition-duration: 900ms !important;
}

@media (max-width: 1160px) {
    .brand-mark {
        width: 76px;
        height: 76px;
    }

    .brand-name {
        max-width: 188px;
        font-size: 0.84rem;
    }

    .primary-menu > li > a {
        font-size: 0.68rem;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-media {
        min-height: 380px;
    }

    .page-hero .hero-media {
        min-height: 330px;
    }

    .hero-grid,
    .two-column,
    .content-grid,
    .story-grid,
    .about-intro-grid,
    .pathway-grid,
    .contact-layout,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .about-story-media {
        max-height: none;
        min-height: 240px;
    }

    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 920px) {
    .nav-shell {
        min-height: 80px;
    }

    .site-top-strip .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 8px 14px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-top-item {
        display: grid;
        gap: 2px;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        min-width: 0;
    }

    .site-top-label {
        font-size: 0.58rem;
        letter-spacing: 0.12rem;
    }

    .site-top-value {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 24px;
        right: 24px;
        margin-left: 0;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.82);
        box-shadow: var(--shadow-deep);
        display: grid;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-v5.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .primary-menu {
        display: grid;
        gap: 10px;
    }

    .primary-menu > li {
        padding-right: 0;
    }

    .primary-menu > li.menu-item-has-children::after {
        display: none;
    }

    .primary-menu > li > a {
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.76);
        font-size: 0.74rem;
        display: block;
    }

    .primary-menu > li > a::after {
        display: none;
    }

    .submenu-toggle {
        display: inline-flex;
        position: absolute;
        top: 8px;
        right: 10px;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(22, 137, 212, 0.12);
        background: rgba(255, 255, 255, 0.92);
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .submenu-toggle::before {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 1.6px solid var(--page-accent);
        border-bottom: 1.6px solid var(--page-accent);
        transform: translateY(-1px) rotate(45deg);
        transition: transform 0.2s ease;
    }

    .menu-item-has-children.submenu-open > .submenu-toggle::before {
        transform: translateY(2px) rotate(225deg);
    }

    .sub-menu {
        position: static;
        min-width: 0;
        margin-top: 4px;
        padding: 8px 0 0 14px;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    .sub-menu::before {
        display: none;
    }

    .menu-item-has-children.submenu-open > .sub-menu {
        display: grid;
        gap: 8px;
    }

    .sub-menu a {
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(22, 137, 212, 0.08);
        font-size: 0.82rem;
    }

    .nav-links .nav-cta {
        width: 100%;
    }

    .hero-highlights,
    .floating-panel-grid,
    .stat-grid,
    .three-column,
    .four-column,
    .card-grid,
    .blog-grid,
    .video-grid,
    .cta-grid,
    .support-grid,
    .gallery-highlight-grid,
    .contact-card-grid,
    .team-grid,
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-meta {
        flex-direction: column;
    }

    .team-grid-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .understanding-disease-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .site-top-strip {
        display: none;
    }

    .nav-shell {
        min-height: 72px;
        gap: 12px;
    }

    .brand-lockup {
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .nav-links {
        left: 18px;
        right: 18px;
        top: calc(100% + 10px);
    }

    .brand-mark {
        width: 56px;
        height: 56px;
        flex: 0 0 auto;
    }

    .brand-name {
        max-width: 182px;
        font-size: 0.7rem;
        line-height: 1.12;
        letter-spacing: 0.05rem;
    }

    .primary-menu > li > a {
        font-size: 0.68rem;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .nav-toggle-bar {
        width: 16px;
    }

    .site-top-strip .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-top-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        gap: 4px;
        padding: 8px 10px;
        border-radius: 14px;
        background: rgba(227, 242, 253, 0.58);
        box-shadow: inset 0 0 0 1px rgba(22, 137, 212, 0.08);
    }

    .site-top-item:nth-child(1),
    .site-top-item:nth-child(2),
    .site-top-item:nth-child(3),
    .site-top-item:nth-child(4) {
        order: initial;
        grid-column: auto;
    }

    .site-top-label {
        font-size: 0.5rem;
        letter-spacing: 0.12rem;
    }

    .site-top-value {
        font-size: 0.74rem;
        line-height: 1.28;
        word-break: break-word;
    }

    .hero-section,
    .page-hero {
        padding: 52px 0 40px;
    }

    .section-block,
    .gallery-section {
        padding: 78px 0;
    }

    .hero-title {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 2.9rem);
    }

    .hero-lead,
    .section-copy {
        font-size: 1rem;
    }

    .hero-highlights,
    .floating-panel-grid,
    .stat-grid,
    .three-column,
    .four-column,
    .card-grid,
    .blog-grid,
    .video-grid,
    .cta-grid,
    .support-grid,
    .gallery-highlight-grid,
    .contact-card-grid,
    .team-grid,
    .form-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        padding: 18px 0 0;
    }

    .hero-visual::before,
    .hero-section::after,
    .page-hero::after,
    .section-block::before,
    .gallery-section::before {
        display: none;
    }

    .hero-media {
        min-height: 300px;
        transform: none;
        border-radius: 28px 16px 28px 16px;
    }

    .hero-media img,
    .media-frame img {
        transform: none;
    }

    .floating-panel,
    .card-surface,
    .detail-panel,
    .timeline-panel,
    .form-card,
    .blog-card,
    .quote-card,
    .contact-panel,
    .support-card {
        padding: 22px;
        border-radius: 24px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .page-hero .hero-media {
        min-height: 260px;
    }

    .hero-media {
        min-height: 280px;
    }

    .gallery-item {
        min-height: 240px;
        transform: none !important;
    }

    .footer-brand img {
        width: 84px;
    }

    .team-grid-showcase {
        grid-template-columns: 1fr;
    }
}
