:root {
    --ink: #14201a;
    --muted: #53615a;
    --paper: #ffffff;
    --soft: #f3f6f4;
    --line: #d8e0db;
    --green: #1f704b;
    --green-dark: #173d2c;
    --green-light: #dceee3;
    --coral: #b84b3b;
    --coral-light: #f7e4df;
    --cyan: #08788b;
    --cyan-light: #d9eef1;
    --shadow: 0 14px 36px rgba(20, 32, 26, 0.09);
    --shell: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(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;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: 74px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(216, 224, 219, 0.86);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--green-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 42px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    color: #314039;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--green);
}

.site-nav .nav-action {
    padding: 10px 15px;
    color: var(--paper);
    background: var(--green-dark);
    border: 1px solid var(--green-dark);
    border-radius: 4px;
}

.site-nav .nav-action:hover,
.site-nav .nav-action:focus-visible {
    color: var(--paper);
    background: var(--green);
    border-color: var(--green);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
}

.menu-toggle span[aria-hidden] {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    height: min(68vh, 620px);
    overflow: hidden;
    color: var(--paper);
    background: #264a54;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center;
}

.hero-shade {
    background: linear-gradient(90deg, rgba(11, 24, 18, 0.9) 0%, rgba(11, 24, 18, 0.64) 40%, rgba(11, 24, 18, 0.2) 72%, rgba(11, 24, 18, 0.12) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 64px;
}

.eyebrow,
.section-kicker,
.pathway-label {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow {
    color: #c9f4d9;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 82px;
    font-weight: 780;
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-lede {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 24px;
    line-height: 1.42;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--green-dark);
    background: #d5f7df;
    border-color: #d5f7df;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--paper);
    border-color: var(--paper);
}

.button-secondary {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.58);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--paper);
}

.button-dark {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.band {
    background: var(--soft);
}

.intro {
    padding: 78px 0;
    border-bottom: 1px solid var(--line);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 90px;
    align-items: start;
}

h2,
h3,
p {
    overflow-wrap: break-word;
}

h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 740;
    line-height: 1.15;
    letter-spacing: 0;
}

.intro-copy {
    padding-top: 4px;
}

.intro-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.intro-copy p + p {
    margin-top: 18px;
}

.section {
    padding: 104px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 44px;
}

.section-heading > p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 17px;
}

.initiative-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.initiative-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.initiative-media {
    position: relative;
    height: 168px;
    margin: 0;
    overflow: hidden;
    background: #dfe8e3;
}

.initiative-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.initiative-card:hover .initiative-media img {
    transform: scale(1.025);
}

.initiative-embodiment .initiative-media img {
    object-position: 15% center;
}

.initiative-endoluminal .initiative-media img {
    object-position: center 34%;
}

.initiative-rf .initiative-media img {
    object-fit: contain;
    object-position: center;
}

.initiative-rf .initiative-media {
    background: #062534;
}

.image-credit {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 6px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(12, 22, 17, 0.76);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    border-radius: 3px;
}

.image-credit a {
    color: inherit;
    text-decoration: none;
}

.image-credit a:hover,
.image-credit a:focus-visible {
    color: #d5f7df;
    text-decoration: underline;
}

.initiative-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.initiative-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7a8780;
    font-size: 12px;
    font-weight: 700;
}

.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
}

.status-public {
    color: #155a3a;
    background: var(--green-light);
}

.status-new {
    color: #843527;
    background: var(--coral-light);
}

.status-active {
    color: #075f6e;
    background: var(--cyan-light);
}

.initiative-card h3 {
    margin: 20px 0 12px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
}

.initiative-card p {
    margin: 0;
    color: var(--muted);
}

.text-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 24px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.initiative-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

.initiative-links .text-link {
    margin-top: 0;
    padding-top: 0;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--green);
}

.initiative-body .access-note {
    margin-top: 9px;
    color: #7c625c;
    font-size: 12px;
}

.participate {
    padding: 104px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pathways {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    border: 1px solid #cdd8d1;
    border-radius: 6px;
    overflow: hidden;
}

.pathway {
    min-width: 0;
    padding: 48px;
}

.pathway + .pathway {
    border-left: 1px solid #cdd8d1;
}

.pathway h3 {
    max-width: 540px;
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
}

.pathway > p:not(.pathway-label) {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.repository-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.repository-links a {
    padding: 9px 12px;
    color: var(--green-dark);
    background: var(--paper);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid #bdccc3;
    border-radius: 4px;
}

.repository-links a:hover,
.repository-links a:focus-visible {
    color: var(--paper);
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.clinician-pathway {
    color: var(--paper);
    background: var(--green);
}

.clinician-pathway .pathway-label,
.clinician-pathway > p:not(.pathway-label) {
    color: #e0f2e6;
}

.clinician-pathway .button {
    margin-top: 28px;
}

.closing {
    padding-top: 90px;
    padding-bottom: 90px;
}

.closing-inner {
    display: grid;
    grid-template-columns: 180px minmax(0, 720px);
    gap: 64px;
    align-items: center;
    justify-content: center;
}

.closing-inner img {
    width: 180px;
    height: 195px;
    object-fit: cover;
    border-radius: 5px;
}

.closing-inner p:last-child {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.site-footer {
    padding: 54px 0 30px;
    color: #d8e1dc;
    background: #131b17;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 42px;
    align-items: start;
}

.footer-brand {
    color: var(--paper);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.footer-inner p {
    margin: 8px 0 0;
    color: #9eaaa4;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: flex-end;
}

.footer-links a {
    color: #d8e1dc;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--paper);
}

.footer-inner .copyright {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 24px;
    border-top: 1px solid #334039;
}

:focus-visible {
    outline: 3px solid #62be83;
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .site-nav {
        gap: 18px;
    }

    .hero h1 {
        font-size: 70px;
    }

    .intro-grid,
    .section-heading {
        gap: 48px;
    }

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

    .initiative-rf {
        grid-column: 1 / -1;
    }

    .initiative-rf .initiative-media {
        height: 210px;
    }

    .pathway {
        padding: 36px;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .site-header {
        height: 66px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(4) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        top: 66px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 22px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(20, 32, 26, 0.12);
    }

    .site-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .site-nav a {
        padding: 13px 8px;
        font-size: 16px;
        border-bottom: 1px solid #edf1ee;
    }

    .site-nav .nav-action {
        margin-top: 12px;
        padding: 13px 14px;
        text-align: center;
        border-bottom: 0;
    }

    .hero {
        min-height: 540px;
        height: calc(100svh - 120px);
        max-height: 620px;
    }

    .hero-image {
        object-position: 23% center;
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(11, 24, 18, 0.9) 0%, rgba(11, 24, 18, 0.68) 70%, rgba(11, 24, 18, 0.38) 100%);
    }

    .hero-content {
        padding-bottom: 42px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-lede {
        max-width: 520px;
        font-size: 20px;
    }

    .intro,
    .section,
    .participate {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .intro-grid,
    .section-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    h2 {
        font-size: 34px;
    }

    .intro-copy p {
        font-size: 17px;
    }

    .initiative-grid,
    .pathways {
        grid-template-columns: 1fr;
    }

    .initiative-rf {
        grid-column: auto;
    }

    .initiative-rf .initiative-media,
    .initiative-media {
        height: 190px;
    }

    .pathway + .pathway {
        border-top: 1px solid #cdd8d1;
        border-left: 0;
    }

    .closing-inner {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 30px;
    }

    .closing-inner img {
        width: 112px;
        height: 122px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-actions,
    .repository-links {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button,
    .repository-links a {
        width: 100%;
    }

    .initiative-body,
    .pathway {
        padding: 24px;
    }

    .pathway h3 {
        font-size: 26px;
    }

    .closing-inner {
        grid-template-columns: 1fr;
    }

    .closing-inner img {
        width: 96px;
        height: 104px;
    }
}

@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;
    }
}
