:root {
    color-scheme: light dark;
    --bg: #F2F4F8;
    --bg-soft: #E7ECF4;
    --surface: #FAFBFD;
    --surface-strong: #DFE6F0;
    --text: #171B24;
    --text-soft: #566071;
    --line: #C8D0DE;
    --accent: #274F9F;
    --accent-soft: #D7E3FB;
    --accent-contrast: #F7F9FC;
    --header-bg: rgba(242, 244, 248, 0.88);
    --shadow: 0 24px 80px rgba(29, 43, 73, 0.12);
    --shadow-soft: 0 14px 44px rgba(29, 43, 73, 0.08);
    --radius-panel: clamp(24px, 3vw, 38px);
    --radius-card: 24px;
    --radius-input: 14px;
    --radius-control: 999px;
    --container: min(1240px, calc(100% - 48px));
    --font: "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #11151E;
        --bg-soft: #171D28;
        --surface: #1D2431;
        --surface-strong: #283244;
        --text: #EFF2F7;
        --text-soft: #B3BDCC;
        --line: #394659;
        --accent: #91AEFF;
        --accent-soft: #25365F;
        --accent-contrast: #11151E;
        --header-bg: rgba(17, 21, 30, 0.88);
        --shadow: 0 24px 80px rgba(5, 9, 17, 0.34);
        --shadow-soft: 0 14px 44px rgba(5, 9, 17, 0.24);
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 8%, rgba(39, 79, 159, 0.09), transparent 24rem),
        radial-gradient(circle at 92% 32%, rgba(39, 79, 159, 0.06), transparent 30rem),
        var(--bg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    color: var(--accent-contrast);
    background: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea {
    color: inherit;
    font: inherit;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

p {
    margin-bottom: 14px;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1,
h2 {
    font-weight: 650;
    letter-spacing: -0.055em;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 3.8vw, 3.75rem);
    line-height: 0.98;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 2.9vw, 2.85rem);
    line-height: 1.02;
}

h3 {
    margin-bottom: 8px;
    font-size: clamp(1.08rem, 1.4vw, 1.35rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.skip-link,
.sr-only,
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    top: 12px;
    left: 12px;
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    color: var(--accent-contrast);
    background: var(--accent);
    border-radius: var(--radius-control);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(128, 140, 160, 0.25);
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(140%);
}

.header-inner {
    display: grid;
    min-height: 64px;
    grid-template-columns: minmax(250px, 1fr) auto auto;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
}

.brand-mark {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: grid;
    gap: 2px;
    line-height: 1.1;
}

.brand-text strong {
    max-width: 230px;
    font-size: 0.84rem;
    letter-spacing: -0.02em;
}

.brand-text small {
    color: var(--text-soft);
    font-size: 0.63rem;
}

.main-nav {
    align-self: stretch;
}

.main-nav ul,
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav ul {
    display: flex;
    height: 100%;
    align-items: stretch;
}

.main-nav li {
    display: flex;
    height: 100%;
}

.main-nav a {
    position: relative;
    display: grid;
    height: 100%;
    place-items: center;
    padding: 2px 13px 0;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.main-nav a::after {
    position: absolute;
    right: 13px;
    bottom: -1px;
    left: 13px;
    height: 3px;
    border-radius: var(--radius-control);
    background: var(--accent);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px 9px;
    border: 0;
    border-radius: var(--radius-control);
    background: var(--surface);
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 6px;
    border-radius: var(--radius-control);
    background: var(--text);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-control);
    color: var(--accent-contrast);
    background: var(--accent);
    box-shadow: 0 10px 28px rgba(39, 79, 159, 0.18);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
    color: var(--accent);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.button:active {
    transform: scale(0.98);
}

.button-compact {
    min-height: 38px;
    margin-left: 16px;
    padding: 9px 16px;
    font-size: 0.74rem;
}

.button-inverse {
    color: var(--accent);
    background: var(--surface);
}

.text-link,
.card-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
}

.text-link::after,
.card-link::after {
    width: 18px;
    height: 9px;
    background: currentColor;
    clip-path: polygon(0 44%, 66% 44%, 66% 0, 100% 50%, 66% 100%, 66% 56%, 0 56%);
    content: "";
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link:hover::after,
.route-card:hover .card-link::after {
    transform: translateX(5px);
}

.eyebrow,
.section-tag {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.lead {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.45;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.hero {
    display: block;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
    min-height: calc(100svh - 64px);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    padding-block: clamp(24px, 3vw, 34px);
}

.hero-copy {
    max-width: 720px;
}

.hero-copy h1 {
    max-width: 700px;
}

.hero-visual {
    display: grid;
    width: min(100%, 520px, calc(100svh - 220px));
    justify-self: end;
    gap: 12px;
}

.hero-logo {
    aspect-ratio: 1;
    margin: 0;
    padding: clamp(20px, 2.6vw, 34px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background:
        radial-gradient(circle at 50% 35%, rgba(39, 79, 159, 0.12), transparent 56%),
        var(--surface);
    box-shadow: var(--shadow);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

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

.hero-facts div {
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero-facts dt {
    margin-bottom: 4px;
    color: var(--accent);
    font-size: clamp(1.65rem, 2.5vw, 2.4rem);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 1;
}

.hero-facts dd {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 650;
}

.section {
    padding-block: clamp(52px, 6vw, 82px);
}

.section-soft {
    background: rgba(128, 145, 175, 0.07);
}

.intro-flow {
    max-width: 1040px;
}

.intro-heading {
    max-width: 900px;
}

.intro-copy {
    display: grid;
    max-width: 900px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px clamp(24px, 3vw, 42px);
    margin-top: clamp(22px, 3vw, 34px);
}

.intro-copy p {
    color: var(--text-soft);
    font-size: 0.98rem;
}

.intro-copy .text-link {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.section-heading h2 {
    max-width: 760px;
}

.section-heading > p:not(.section-tag) {
    max-width: 620px;
    color: var(--text-soft);
}

.route-bento {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    grid-template-rows: repeat(2, minmax(200px, auto));
    gap: 14px;
}

.route-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: border-color 260ms cubic-bezier(0.16, 1, 0.3, 1), transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.route-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.route-card:active {
    transform: scale(0.99);
}

.route-card figure {
    margin: 0;
    overflow: hidden;
    background: var(--bg-soft);
}

.route-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.route-card:hover img {
    transform: scale(1.035);
}

.route-card > div {
    padding: clamp(20px, 2.5vw, 28px);
}

.route-card p {
    max-width: 460px;
    color: var(--text-soft);
}

.route-card .card-link {
    margin-top: 12px;
}

.route-card-feature {
    display: grid;
    grid-row: 1 / 3;
    grid-template-rows: minmax(260px, 1fr) auto;
}

.route-card-feature figure {
    min-height: 290px;
}

.route-card-media {
    display: grid;
    grid-template-columns: minmax(130px, 0.42fr) minmax(0, 0.58fr);
}

.route-card-media figure {
    min-height: 100%;
}

.route-card-media > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.route-card-study {
    display: grid;
    align-items: end;
    background:
        radial-gradient(circle at 85% 18%, rgba(39, 79, 159, 0.16), transparent 14rem),
        var(--accent-soft);
}

.route-metric {
    display: block;
    margin-bottom: clamp(16px, 2vw, 28px);
    color: var(--accent);
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: 620;
    letter-spacing: -0.09em;
    line-height: 0.8;
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(34px, 5vw, 62px);
    align-items: center;
}

.story-image {
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-copy {
    max-width: 650px;
}

.story-year {
    display: block;
    margin-bottom: clamp(20px, 3vw, 32px);
    color: var(--accent);
    font-size: clamp(3.8rem, 6.5vw, 5.8rem);
    font-weight: 620;
    letter-spacing: -0.1em;
    line-height: 0.72;
}

.story-copy > p {
    max-width: 560px;
    color: var(--text-soft);
}

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

.fact-list div {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--surface);
}

.fact-list div:first-child {
    grid-column: 1 / -1;
}

.fact-list dt {
    margin-bottom: 5px;
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
}

.fact-list dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 650;
}

.studies-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    gap: clamp(36px, 5.5vw, 68px);
    align-items: start;
}

.studies-intro {
    position: sticky;
    top: 112px;
}

.studies-intro > p {
    max-width: 460px;
    color: var(--text-soft);
}

.studies-intro .text-link {
    margin-top: 20px;
}

.study-flow {
    display: grid;
    gap: 12px;
}

.study-flow article {
    min-height: 128px;
    padding: clamp(20px, 2.5vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.study-flow article:nth-child(2) {
    margin-left: clamp(0px, 4vw, 56px);
}

.study-flow article:nth-child(3) {
    margin-left: clamp(0px, 8vw, 112px);
}

.study-flow p {
    max-width: 540px;
    color: var(--text-soft);
}

.final-panel,
.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(26px, 4vw, 48px);
    align-items: center;
    overflow: hidden;
    padding: clamp(26px, 3.5vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background:
        radial-gradient(circle at 90% 20%, rgba(39, 79, 159, 0.15), transparent 18rem),
        var(--surface);
    box-shadow: var(--shadow);
}

.final-panel > div,
.cta-panel > div {
    max-width: 700px;
}

.final-panel p,
.cta-panel p {
    max-width: 600px;
    color: var(--text-soft);
}

.final-panel figure {
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--bg-soft);
}

.final-panel figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.motto {
    padding-block: clamp(36px, 5vw, 54px);
}

.motto p {
    margin: 0;
    color: var(--text);
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 1;
}

.page-hero {
    display: block;
}

.page-hero-grid,
.numeric-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    min-height: calc(100svh - 64px);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    padding-block: clamp(24px, 3vw, 34px);
}

.page-hero-copy {
    max-width: 760px;
}

.page-hero h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 3.8vw, 3.75rem);
}

.page-hero-image {
    width: min(100%, 520px);
    height: min(520px, calc(100svh - 128px));
    justify-self: end;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-image-portrait img {
    object-position: 50% 35%;
}

.page-hero-image-contain img {
    padding: clamp(22px, 3vw, 40px);
    object-fit: contain;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1.64fr);
    gap: clamp(34px, 5vw, 68px);
}

.article-nav {
    position: sticky;
    top: 88px;
    align-self: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.article-nav > p {
    margin-bottom: 18px;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 700;
}

.article-nav nav {
    display: grid;
    gap: 4px;
}

.article-nav a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 650;
    transition: color 180ms ease, background 180ms ease;
}

.article-nav a:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.article-content {
    min-width: 0;
}

.article-section {
    max-width: 900px;
    margin-bottom: clamp(46px, 5.5vw, 70px);
}

.article-section:last-of-type {
    margin-bottom: 0;
}

.article-section h2 {
    max-width: 820px;
}

.article-section > p {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.article-lead > p:not(.source-note) {
    color: var(--text);
    font-size: clamp(1.06rem, 1.55vw, 1.24rem);
    line-height: 1.52;
}

.source-note {
    max-width: 740px;
    margin-top: 22px;
    padding: 14px 18px;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-input) var(--radius-input) 0;
    background: var(--accent-soft);
    color: var(--text-soft) !important;
    font-size: 0.8rem !important;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.timeline li {
    min-height: 155px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.timeline time,
.timeline-date {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 750;
}

.timeline h3 {
    margin-bottom: 8px;
}

.timeline p {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.timeline-years time {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    font-weight: 650;
    letter-spacing: -0.07em;
    line-height: 0.9;
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 0;
}

.milestone-grid div {
    min-height: 155px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.milestone-grid dt {
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 650;
    letter-spacing: -0.05em;
}

.milestone-grid dd {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.milestone-grid dd:first-of-type {
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 700;
}

.fact-list-wide {
    max-width: 760px;
}

.article-image {
    max-width: 900px;
    margin: 0 0 clamp(46px, 5.5vw, 70px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.article-image img {
    width: 100%;
    max-height: 700px;
    object-fit: cover;
}

.article-image figcaption {
    padding: 14px 18px;
    color: var(--text-soft);
    font-size: 0.7rem;
}

.reference-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.reference-list li {
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--surface);
    font-size: 0.84rem;
    font-weight: 650;
}

.symbol-gallery {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 16px;
    margin-top: 26px;
}

.symbol-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.symbol-gallery figure:first-child {
    grid-row: 1 / 3;
}

.symbol-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.symbol-gallery figure:first-child img {
    height: 100%;
    min-height: 516px;
}

.symbol-gallery figcaption {
    padding: 12px 16px;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 650;
}

.next-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.next-page h2 {
    max-width: 700px;
    margin-bottom: 0;
}

.degree-hero-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
    width: min(100%, 540px);
    justify-self: end;
    gap: 12px;
}

.degree-hero-visual figure,
.degree-hero-visual > div {
    min-height: min(330px, calc(100svh - 170px));
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.degree-hero-visual figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.degree-hero-visual > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: var(--accent-soft);
}

.degree-hero-visual strong {
    margin-left: -0.08em;
    color: var(--accent);
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: 650;
    letter-spacing: -0.1em;
    line-height: 0.76;
}

.degree-hero-visual span {
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 700;
}

.study-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    grid-template-rows: repeat(2, minmax(160px, auto));
    gap: 12px;
}

.study-overview article {
    padding: clamp(20px, 2.5vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.study-overview-primary {
    grid-row: 1 / 3;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 85% 15%, rgba(39, 79, 159, 0.15), transparent 16rem),
        var(--surface) !important;
}

.study-overview-primary h2 {
    max-width: 560px;
}

.study-overview article h2 {
    margin-bottom: 12px;
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
}

.study-overview article p {
    max-width: 520px;
    color: var(--text-soft);
}

.study-overview-metric {
    background: var(--accent-soft) !important;
}

.study-overview-metric strong {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 650;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.degrees-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(30px, 5vw, 58px);
    align-items: end;
}

.degrees-heading h2 {
    max-width: 720px;
    margin-bottom: 0;
}

.search-field {
    display: grid;
    gap: 8px;
}

.search-field span,
.contact-form label > span {
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
}

.search-field input,
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    color: var(--text);
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(128, 145, 175, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-field input {
    height: 48px;
    padding: 10px 16px;
}

.search-field input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-soft);
    opacity: 0.9;
}

.search-field input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(39, 79, 159, 0.14);
}

.search-status {
    margin: 14px 0 24px;
    color: var(--text-soft);
    font-size: 0.8rem;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.accordion-trigger {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    padding: 18px 58px 18px 18px;
    border: 0;
    color: var(--text);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.accordion-trigger::before,
.accordion-trigger::after {
    position: absolute;
    top: 50%;
    right: 28px;
    width: 22px;
    height: 2px;
    border-radius: var(--radius-control);
    background: var(--accent);
    content: "";
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-trigger::after {
    transform: rotate(90deg);
}

.accordion-trigger.is-open::after {
    transform: rotate(0);
}

.accordion-title {
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 650;
    letter-spacing: -0.035em;
}

.accordion-trigger small {
    align-self: center;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.accordion-panel {
    display: none;
    padding: 0 20px 20px;
}

.accordion-panel.is-open {
    display: block;
}

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

.degree-card {
    display: grid;
    min-height: 138px;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 17px;
    border-radius: var(--radius-input);
    background: var(--bg-soft);
}

.degree-card.is-hidden,
[data-degree-group].is-hidden {
    display: none;
}

.degree-number {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 750;
}

.degree-card h3 {
    font-size: 1.08rem;
}

.degree-card p {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.empty-state {
    margin-top: 18px;
    padding: 40px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.eligibility-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    grid-template-rows: repeat(2, minmax(138px, auto));
    gap: 12px;
}

.eligibility-grid article {
    padding: clamp(20px, 2.5vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.eligibility-grid article:first-child {
    grid-row: 1 / 3;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 82% 18%, rgba(39, 79, 159, 0.16), transparent 16rem),
        var(--surface);
}

.eligibility-grid article:last-child {
    background: var(--accent-soft);
}

.eligibility-grid p {
    max-width: 520px;
    color: var(--text-soft);
}

.affiliation-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(34px, 5vw, 64px);
    align-items: start;
}

.compact-process {
    margin: 26px 0 0;
}

.process-list {
    display: grid;
    gap: 14px;
    padding: 0;
    list-style: none;
}

.process-list li {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--surface);
}

.process-list p {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.contact-block {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--accent-soft);
}

.contact-block h3 {
    font-size: 1.1rem;
}

.contact-block a {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-block p {
    color: var(--text-soft);
}

.form-panel {
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-panel > p {
    max-width: 620px;
    margin-bottom: 22px;
    color: var(--text-soft);
}

.contact-form {
    display: grid;
    gap: 18px;
}

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

.field-wide {
    grid-column: 1 / -1;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form input {
    height: 50px;
    padding: 9px 14px;
}

.contact-form textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

.checkbox-field {
    display: flex !important;
    align-items: flex-start;
    gap: 12px !important;
}

.checkbox-field input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent);
}

.checkbox-field span {
    font-weight: 600 !important;
}

.contact-form .button {
    justify-self: start;
}

.alert {
    margin-bottom: 28px;
    padding: 17px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--bg-soft);
}

.alert strong {
    display: block;
    margin-bottom: 8px;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert-error {
    border-left: 5px solid var(--text);
}

.alert-success {
    border-left: 5px solid var(--accent);
}

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

.split-facts > div {
    min-height: 260px;
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.split-facts > div:last-child {
    background: var(--accent-soft);
}

.split-facts .display-number {
    display: block;
    margin-bottom: 28px;
    color: var(--accent);
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: 650;
    letter-spacing: -0.09em;
    line-height: 0.75;
}

.split-facts h2 {
    max-width: 520px;
    margin-bottom: 0;
    font-size: clamp(1.65rem, 2.8vw, 2.7rem);
}

.site-footer {
    padding-top: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 0.55fr 0.7fr;
    gap: clamp(28px, 4vw, 50px);
    padding-block: 42px;
    border-top: 1px solid var(--line);
}

.footer-brand {
    display: grid;
    max-width: 570px;
    grid-template-columns: 68px 1fr;
    gap: 22px;
}

.footer-brand img {
    width: 68px;
    height: 68px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.footer-grid h2 {
    margin-bottom: 16px;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.footer-grid p {
    color: var(--text-soft);
}

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

.footer-links a,
.footer-links li {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 22px;
    border-top: 1px solid var(--line);
}

.footer-base p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.68rem;
}

.footer-base .footer-motto {
    color: var(--accent);
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-control);
    color: var(--accent-contrast);
    background: var(--accent);
    box-shadow: var(--shadow-soft);
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:active {
    transform: scale(0.98);
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1), transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.js [data-reveal]:target {
    opacity: 1;
    transform: none;
}

.route-bento > [data-reveal]:nth-child(2),
.study-flow > [data-reveal]:nth-child(2) {
    transition-delay: 70ms;
}

.route-bento > [data-reveal]:nth-child(3),
.study-flow > [data-reveal]:nth-child(3) {
    transition-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
