:root {
    --primary: #af151a;
    --primary-dark: #7a0208;
    --surface: #ffffff;
    --background: #f4f5f7;
    --text: #1f2937;
    --muted: #667085;
    --border: #e5e7eb;
    --charcoal: #282b30;
    --navy: #101c36;
    --teal: #0d665f;
    --blue: #2358b8;
    --success: #087f5b;
    --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    overflow-x: clip;
    color: var(--text);
    background: var(--background);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button {
    color: inherit;
}

svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 14px;
    color: #fff;
    background: var(--primary);
    border-radius: 6px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

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

.top-line {
    min-height: 34px;
    color: rgba(255, 255, 255, 0.8);
    background: var(--charcoal);
    font-size: 12px;
}

.top-line-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-line a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
}

.top-line svg {
    width: 14px;
    height: 14px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 78px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    min-width: 218px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-mark {
    width: 218px;
    height: 60px;
    display: grid;
    place-items: center;
    background: transparent;
}

.brand-mark img {
    width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 16px;
    font-weight: 800;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.desktop-nav {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    position: relative;
    height: 100%;
    display: inline-flex;
    align-items: center;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

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

.header-actions,
.hero-actions,
.final-cta-actions,
.inline-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.login-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 300;
    width: min(380px, calc(100% - 28px));
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(17, 24, 39, 0.18);
    transform: translateX(105%);
    transition: transform 240ms ease;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-head {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-head strong {
    font-size: 20px;
}

.mobile-menu-head button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.mobile-menu nav {
    display: grid;
    gap: 2px;
    padding: 18px 0;
}

.mobile-menu nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
    color: var(--primary);
    background: #fff4f4;
}

.mobile-login {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    color: #fff;
    background: var(--primary);
    border-radius: 8px;
    font-weight: 700;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    padding: 0;
    background: rgba(15, 23, 42, 0.54);
    border: 0;
}

.menu-overlay.is-open {
    display: block;
}

.hero {
    position: relative;
    height: min(700px, calc(100svh - 136px));
    min-height: 500px;
    overflow: hidden;
    color: #fff;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 550ms ease, visibility 550ms ease;
}

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

.hero-slide picture,
.hero-slide picture img {
    width: 100%;
    height: 100%;
}

.hero-slide picture {
    position: absolute;
    inset: 0;
}

.hero-slide picture img {
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(7, 13, 25, 0.16);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 44px;
}

.hero-kicker,
.section-label {
    margin: 0 0 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    background: var(--primary);
    border-radius: 4px;
}

.hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: 60px;
    line-height: 1.08;
    font-weight: 800;
}

.hero-content > p:not(.hero-kicker) {
    max-width: 620px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 30px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button.primary {
    color: #fff;
    background: var(--primary);
}

.button.primary:hover {
    background: var(--primary-dark);
}

.button.ghost {
    color: #fff;
    background: rgba(15, 23, 42, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
}

.button.ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

.button.dark {
    color: #fff;
    background: var(--charcoal);
}

.button.dark:hover {
    background: #111827;
}

.hero-navigation {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-dots,
.hero-arrows,
.rail-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dots button {
    width: 32px;
    height: 4px;
    padding: 0;
    background: rgba(255, 255, 255, 0.38);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: width 180ms ease, background-color 180ms ease;
}

.hero-dots button.is-active {
    width: 54px;
    background: #fff;
}

.hero-arrows button,
.rail-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
}

.hero-arrows button {
    color: #fff;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-arrows button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.brand-rail {
    padding: 28px 0 30px;
    color: #fff;
    background: var(--charcoal);
    overflow: hidden;
}

.brand-rail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.brand-rail h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.brand-rail .section-label {
    margin-bottom: 5px;
    color: #f0a8aa;
}

.rail-controls button {
    color: #fff;
    background: #363a41;
    border: 1px solid #4b5059;
}

.rail-controls button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.brand-track {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.brand-track::-webkit-scrollbar {
    display: none;
}

.brand-tile {
    flex: 0 0 230px;
    height: 96px;
    display: grid;
    place-items: center;
    padding: 18px 24px;
    background: #f8fafc;
    border: 1px solid #e0e5eb;
    border-radius: 8px;
    scroll-snap-align: start;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.brand-tile:hover {
    background: #fff;
    border-color: #c9d0d9;
    transform: scale(1.04);
}

.brand-tile img {
    width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.section {
    padding: 96px 0;
}

.intro-band {
    background: #fff;
}

.intro-grid,
.technology-grid,
.media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.section-label.red {
    color: var(--primary);
}

.section-copy h2,
.section-heading h2,
.final-cta h2,
.page-banner h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.17;
    font-weight: 800;
}

.section-copy > p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--primary-dark);
}

.principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.principle {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 26px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.principle svg {
    width: 28px;
    height: 28px;
    margin-bottom: 18px;
    color: var(--primary);
}

.principle strong {
    font-size: 16px;
}

.principle span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

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

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 70px;
    align-items: end;
    margin-bottom: 42px;
}

.section-heading > p {
    margin: 0;
    color: var(--muted);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.institution-card {
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.institution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.institution-rfr {
    background: #971116;
}

.institution-ref {
    background: #17233f;
}

.institution-idea {
    color: #15203a;
    background: #e9eef2;
}

.institution-dek {
    background: #154a87;
}

.institution-card img {
    width: auto;
    height: 62px;
    max-width: 100%;
    margin: 12px 0 28px;
    object-fit: contain;
    object-position: left center;
}

.institution-idea img {
    height: 52px;
}

.institution-card h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.institution-card p {
    margin: 13px 0 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.institution-idea p {
    color: #58657c;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
}

.card-link svg {
    width: 17px;
    height: 17px;
}

.media-band {
    padding: 0;
    color: #fff;
    background: #12151a;
}

.media-grid {
    min-height: 660px;
}

.media-visual {
    position: relative;
    height: 660px;
    margin-left: calc((100vw - min(calc(100vw - 48px), var(--container))) / -2);
    overflow: hidden;
}

.media-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(14, 17, 22, 0.28), transparent 34%);
}

.talent-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 4px;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 500ms ease, transform 700ms ease;
    pointer-events: none;
}

.talent-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.talent-tile {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-tile-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.talent-tile-wide-top {
    grid-column: 3 / 5;
    grid-row: 1;
}

.talent-tile-wide-middle {
    grid-column: 3 / 5;
    grid-row: 2;
}

.talent-tile-wide-bottom {
    grid-column: 1 / 3;
    grid-row: 3;
}

.talent-tile-square-left {
    grid-column: 3;
    grid-row: 3;
}

.talent-tile-square-right {
    grid-column: 4;
    grid-row: 3;
}

.talent-slider-controls {
    position: absolute;
    right: 22px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.talent-slider-controls > button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: rgba(18, 21, 26, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
}

.talent-slider-dots {
    display: flex;
    gap: 7px;
    padding: 8px 10px;
    background: rgba(18, 21, 26, 0.74);
    border-radius: 8px;
}

.talent-slider-dots button {
    width: 22px;
    height: 3px;
    padding: 0;
    background: rgba(255, 255, 255, 0.42);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
}

.talent-slider-dots button.is-active {
    background: #fff;
}

.section-copy.light h2 {
    color: #fff;
}

.section-copy.light > p {
    color: #b8bec8;
}

.section-copy.light .section-label {
    color: #f0a8aa;
}

.inline-links {
    flex-wrap: wrap;
    margin-top: 28px;
}

.inline-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #464b54;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.inline-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.technology-band {
    background: #fff;
}

.technology-visual {
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
}

.technology-visual img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.technology-band .button {
    margin-top: 28px;
}

.final-cta {
    padding: 72px 0;
    color: #fff;
    background: var(--primary);
}

.final-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 56px;
    align-items: center;
}

.final-cta h2 {
    max-width: 760px;
    font-size: 38px;
}

.light-button {
    color: var(--primary);
    background: #fff;
}

.outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.site-footer {
    padding: 54px 0 22px;
    color: #c7cbd2;
    background: #1f2227;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-main img {
    width: 270px;
    max-height: 82px;
    object-fit: contain;
    object-position: center;
}

.footer-main p {
    max-width: 580px;
    margin: 20px 0 0;
    color: #949aa4;
    font-size: 13px;
    line-height: 1.7;
}

.footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 22px;
    color: #747b86;
    border-top: 1px solid #33373e;
    font-size: 11px;
}

.page-banner {
    position: relative;
    min-height: 370px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #111827;
    overflow: hidden;
}

.page-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 28, 0.48);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    max-width: 760px;
    font-size: 48px;
}

.page-banner p {
    max-width: 670px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.content-section {
    padding: 82px 0;
}

.content-section.white {
    background: #fff;
}

.content-section.gray {
    background: var(--background);
}

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

.brand-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.brand-card-logo {
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
    background: transparent;
}

.brand-card-logo img {
    width: auto;
    max-width: min(100%, 270px);
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

.brand-card h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
}

.brand-card p {
    margin: 12px 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.brand-card .text-link {
    margin-top: auto;
}

.brand-detail-hero-logo {
    width: auto;
    max-width: 270px;
    max-height: 72px;
    margin-bottom: 24px;
    object-fit: contain;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 72px;
    align-items: start;
}

.detail-copy h2,
.contact-grid h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.25;
}

.detail-copy p {
    margin: 18px 0 0;
    color: var(--muted);
}

.detail-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.detail-list svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--success);
}

.detail-aside {
    padding: 28px;
    background: var(--charcoal);
    border-radius: 8px;
    color: #fff;
}

.detail-aside strong {
    display: block;
    font-size: 20px;
}

.detail-aside p {
    margin: 12px 0 24px;
    color: #bdc2ca;
    font-size: 14px;
}

.detail-aside .button {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: stretch;
}

.contact-info-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-items {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-item {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item > span:first-child {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #fff2f2;
    border-radius: 8px;
}

.contact-item strong,
.contact-item small {
    display: block;
}

.contact-item small {
    color: var(--muted);
}

.contact-map {
    min-height: 250px;
    flex: 1 1 250px;
    margin-top: 24px;
    overflow: hidden;
    background: #e9edf2;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: block;
    border: 0;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.contact-form label.full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    color: var(--text);
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    outline: none;
}

.contact-form textarea {
    min-height: 130px;
    padding-top: 12px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(175, 21, 26, 0.1);
}

.phone-control {
    min-height: 46px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    overflow: hidden;
}

.phone-control:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(175, 21, 26, 0.1);
}

.phone-prefix {
    height: 100%;
    display: grid;
    place-items: center;
    color: #344054;
    background: #f4f5f7;
    border-right: 1px solid #d0d5dd;
    font-weight: 600;
}

.contact-form .phone-control input {
    min-height: 44px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.phone-control.is-invalid {
    border-color: #d92d20;
}

.phone-control.is-invalid:focus-within {
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.contact-captcha {
    grid-column: 1 / -1;
}

.contact-captcha > label {
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.captcha-control {
    display: grid;
    grid-template-columns: 130px 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.captcha-control img {
    width: 130px;
    height: 45px;
    display: block;
    object-fit: cover;
    background: #f7f8fa;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
}

.captcha-control img.is-loading {
    opacity: 0.45;
}

.captcha-refresh {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--primary);
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    cursor: pointer;
}

.captcha-refresh:disabled {
    opacity: 0.55;
    cursor: wait;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.captcha-refresh svg {
    width: 18px;
    height: 18px;
}

.contact-form .captcha-control input {
    min-height: 46px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.contact-captcha.is-invalid .captcha-control input {
    border-color: #d92d20;
}

.contact-captcha.is-invalid .captcha-control input:focus {
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.field-error {
    min-height: 18px;
    color: #d92d20;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    display: none;
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px;
    color: #067647;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 8px;
    font-size: 13px;
}

.form-message.is-visible {
    display: block;
}

.form-message.is-error {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

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

    .brand {
        min-width: auto;
    }

    .brand-mark {
        width: 180px;
        height: 54px;
    }

    .brand-copy {
        display: none;
    }

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

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

    .institution-card {
        min-height: 340px;
    }

}

@media (max-width: 860px) {
    .top-line {
        display: none;
    }

    .site-header {
        height: 70px;
    }

    .site-container {
        width: min(calc(100% - 32px), var(--container));
    }

    .desktop-nav {
        display: none;
    }

    .brand-mark {
        width: 174px;
        height: 52px;
    }

    .brand-copy {
        display: grid;
    }

    .menu-toggle {
        display: grid;
    }

    .login-button span {
        display: none;
    }

    .login-button {
        width: 44px;
        padding: 0;
    }

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

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 96px;
    }

    .hero h1 {
        max-width: 600px;
        font-size: 44px;
    }

    .hero-content > p:not(.hero-kicker) {
        max-width: 560px;
        font-size: 16px;
    }

    .hero-shade {
        background: rgba(7, 13, 25, 0.36);
    }

    .intro-grid,
    .technology-grid,
    .media-grid,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .media-grid {
        padding-bottom: 72px;
    }

    .media-visual {
        height: 520px;
        margin-right: calc((100vw - min(calc(100vw - 32px), var(--container))) / -2);
        margin-left: calc((100vw - min(calc(100vw - 32px), var(--container))) / -2);
    }

    .technology-visual {
        order: -1;
    }

    .final-cta-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

@media (max-width: 620px) {
    body {
        font-size: 15px;
    }

    .site-container {
        width: calc(100% - 24px);
    }

    .site-header {
        height: 66px;
    }

    .brand-mark {
        width: 145px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .brand-copy small {
        display: none;
    }

    .header-actions {
        gap: 7px;
    }

    .hero {
        height: calc(100svh - 86px);
        min-height: 520px;
        max-height: 780px;
    }

    .hero-slide picture img {
        object-position: center center;
    }

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

    .hero-kicker {
        min-height: 28px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero-content > p:not(.hero-kicker) {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .hero-actions {
        width: 100%;
        margin-top: 20px;
    }

    .hero-actions .button {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 11px;
        font-size: 12px;
    }

    .hero-arrows {
        display: none;
    }

    .hero-navigation {
        bottom: 24px;
    }

    .hero-dots {
        width: 100%;
    }

    .hero-dots button {
        flex: 1 1 0;
        width: auto;
        max-width: 48px;
    }

    .hero-dots button.is-active {
        width: auto;
        max-width: 72px;
    }

    .brand-rail {
        padding-top: 24px;
    }

    .brand-track {
        width: calc(100% - 24px);
    }

    .brand-rail-head {
        align-items: center;
    }

    .brand-rail h2 {
        font-size: 19px;
    }

    .brand-tile {
        flex-basis: 185px;
        height: 84px;
        padding: 15px 18px;
    }

    .section {
        padding: 62px 0;
    }

    .section-copy h2,
    .section-heading h2,
    .final-cta h2 {
        font-size: 31px;
    }

    .section-copy > p {
        margin-top: 16px;
        font-size: 15px;
    }

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

    .principle {
        min-height: 140px;
        padding: 22px;
    }

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

    .institution-card {
        min-height: 310px;
    }

    .media-visual {
        height: 420px;
    }

    .media-grid {
        gap: 38px;
    }

    .technology-visual {
        min-height: 300px;
    }

    .technology-visual img {
        height: 300px;
    }

    .final-cta {
        padding: 58px 0;
    }

    .final-cta-actions {
        align-items: stretch;
    }

    .final-cta-actions .button {
        flex: 1 1 0;
        padding: 0 10px;
        font-size: 12px;
    }

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

    .footer-main img {
        width: 220px;
        max-height: 70px;
    }

    .footer-main p {
        max-width: 330px;
        margin-top: 16px;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .footer-bottom span {
        width: 100%;
    }

    .page-banner {
        min-height: 330px;
    }

    .page-banner h1 {
        font-size: 36px;
    }

    .page-banner p {
        font-size: 15px;
    }

    .content-section {
        padding: 60px 0;
    }

    .brand-list {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: 270px;
    }

    .detail-copy h2,
    .contact-grid h2 {
        font-size: 29px;
    }

    .detail-aside {
        padding: 22px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .contact-form label.full {
        grid-column: auto;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 260px;
    }

    .captcha-control {
        grid-template-columns: minmax(0, 1fr) 46px;
    }

    .captcha-control img {
        width: 100%;
        max-width: 130px;
    }

    .contact-form .captcha-control input {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* White brand logos across the public site. */
.brand-tile {
    background: var(--charcoal);
    border-color: #4b5059;
}
.brand-tile:hover {
    background: #363a41;
    border-color: #656b75;
}
.brand-card-logo {
    background: var(--charcoal);
    padding: 12px 16px;
    border-radius: 8px;
}
.institution-idea {
    color: #fff;
    background: var(--charcoal);
}
.brand-tile img,
.brand-card-logo img,
.institution-card img,
.brand-detail-hero-logo {
    filter: brightness(0) invert(1);
}

/* Keep the brand rail zoom inside its scrollable area. */
.brand-track {
    padding: 12px 8px;
    margin-block: -12px;
}
.brand-tile {
    position: relative;
    transform-origin: center;
    transition: background-color 180ms ease, border-color 180ms ease,
        transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}
.brand-tile:hover {
    transform: none;
}
@media (hover: hover) and (pointer: fine) {
    .brand-track:has(.brand-tile:hover) .brand-tile:not(:hover) {
        opacity: 0.5;
    }
    .brand-track .brand-tile:hover {
        transform: scale(1.04);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
        z-index: 1;
    }
}
.brand-track:has(.brand-tile:focus-visible) .brand-tile:not(:focus-visible) {
    opacity: 0.5;
}
.brand-track .brand-tile:focus-visible {
    transform: scale(1.04);
    outline: 2px solid #fff;
    outline-offset: 2px;
    z-index: 1;
}
