:root {
    --midnight: #16324f;
    --midnight-soft: #1d476d;
    --orange: #2474b5;
    --orange-dark: #195b8d;
    --cyan: #f4c542;
    --yellow: #f4c542;
    --yellow-dark: #b88d0d;
    --paper: #f7f6f2;
    --parchment: #eaf4fb;
    --surface: #ffffff;
    --surface-low: #eaf4fb;
    --surface-high: #d5e9f6;
    --white: #ffffff;
    --ink: #263238;
    --muted: #5a6972;
    --line: #cadde9;
    --success: #176b4b;
    --error: #a52d2d;
    --font: "Montserrat", Arial, sans-serif;
    --shadow: 0 16px 45px rgba(22, 50, 79, 0.1);
    --shadow-strong: 0 22px 60px rgba(22, 50, 79, 0.16);
    --container: 1210px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

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

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

.skip-link {
    position: fixed;
    z-index: 500;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--midnight);
    font-weight: 800;
    transform: translateY(-180%);
}

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

.material-symbols-outlined {
    font-size: 1.2em;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    line-height: 1;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(0, 27, 61, 0.07);
    background: rgba(249, 249, 253, 0.88);
    box-shadow: 0 2px 14px rgba(0, 27, 61, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: grid;
    min-height: 78px;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 36px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    color: var(--midnight);
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand strong {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 34px;
    justify-self: center;
}

.main-menu a {
    position: relative;
    padding: 27px 0 24px;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.main-menu a::after {
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    background: var(--orange);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 160ms ease, transform 160ms ease;
}

.main-menu a:hover,
.main-menu a.is-active {
    color: var(--orange-dark);
}

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

.header-cta,
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

.header-cta {
    min-height: 42px;
    justify-self: end;
    padding: 10px 25px;
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 7px 17px rgba(255, 107, 0, 0.18);
}

.header-cta:hover,
.button-orange:hover {
    background: var(--orange-dark);
    box-shadow: 0 11px 26px rgba(255, 107, 0, 0.24);
    transform: translateY(-2px);
}

.menu-button {
    display: none;
}

/* Shared elements */
.button-orange {
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.2);
}

.button-white {
    color: var(--midnight);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 25px rgba(0, 27, 61, 0.04);
    backdrop-filter: blur(12px);
}

.button-white:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.button-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--midnight);
    font-size: 0.86rem;
    font-weight: 700;
}

.button-link .material-symbols-outlined {
    transition: transform 160ms ease;
}

.button-link:hover {
    color: var(--orange-dark);
}

.button-link:hover .material-symbols-outlined {
    transform: translateX(5px);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.dot-pattern {
    background-image: radial-gradient(rgba(116, 119, 127, 0.26) 1px, transparent 1px);
    background-size: 24px 24px;
}

.kinetic-glow {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.14);
    filter: blur(90px);
    pointer-events: none;
}

/* Home hero */
.home-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--surface);
}

.glow-top {
    top: -160px;
    right: -140px;
    width: 430px;
    height: 430px;
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 720px;
    align-items: center;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(60px, 8vw, 118px);
    padding-top: 76px;
    padding-bottom: 94px;
}

.home-hero-copy h1 {
    max-width: 680px;
    margin: 0 0 31px;
    color: var(--midnight);
    font-size: clamp(3rem, 4.7vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.home-hero-copy h1 span {
    color: var(--orange);
}

.home-hero-copy > p {
    max-width: 660px;
    margin: 0 0 37px;
    color: #44474e;
    font-size: 1.08rem;
    line-height: 1.65;
}

.home-hero-media {
    position: relative;
    padding: 9px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-strong);
    transform: rotate(1.4deg);
    backdrop-filter: blur(18px);
}

.home-hero-media::before {
    position: absolute;
    z-index: -1;
    right: -18px;
    bottom: -20px;
    width: 76%;
    height: 76%;
    border-radius: 22px;
    background: rgba(0, 169, 206, 0.23);
    content: "";
}

.home-hero-media img {
    width: 100%;
    height: 560px;
    border-radius: 15px;
    object-fit: cover;
    transform: rotate(-1.4deg);
}

/* Programs */
.programs {
    padding: 105px 0 125px;
    border-radius: 0 0 24px 24px;
    background: var(--surface-low);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 58px;
}

.section-heading h2,
.information-card h2,
.career-features > .site-container > h2,
.career-section-intro h2 {
    margin: 0 0 12px;
    color: var(--midnight);
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.section-heading p {
    max-width: 630px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.section-heading > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    color: var(--orange-dark);
    font-size: 0.83rem;
    font-weight: 800;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 29px;
}

.program-card {
    overflow: hidden;
    border: 1px solid rgba(0, 27, 61, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 7px 23px rgba(0, 27, 61, 0.05);
    transition: transform 190ms ease, box-shadow 190ms ease;
}

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

.card-image {
    display: block;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 400ms ease;
}

.program-card:hover .card-image img {
    transform: scale(1.045);
}

.program-body {
    padding: 22px 24px 18px;
}

.chip {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--midnight);
    font-size: 0.68rem;
    font-weight: 700;
}

.chip-blue {
    background: #dce7fb;
}

.chip-orange {
    color: #7c3410;
    background: #ffe3d3;
}

.program-body h3 {
    min-height: 64px;
    margin: 0 0 13px;
    color: var(--midnight);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

/* Local presence */
.local-presence {
    padding: 105px 0;
    color: var(--white);
    background: var(--midnight);
}

.local-presence-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(55px, 9vw, 130px);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.local-presence h2,
.career-details h2 {
    margin: 0 0 22px;
    font-size: clamp(2.35rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.local-presence p {
    max-width: 660px;
    margin: 0;
    color: #c7d2df;
    font-size: 1rem;
    line-height: 1.75;
}

.local-presence p + p {
    margin-top: 16px;
}

.local-contact-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.17);
    font-style: normal;
}

.local-contact-card strong {
    margin-bottom: 5px;
    font-size: 1.45rem;
}

.local-contact-card > span,
.local-contact-card > a:not(.text-link) {
    color: #d7e0eb;
    font-size: 0.9rem;
}

.local-contact-card .text-link {
    margin-top: 10px;
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 800;
}

.program-body h3 a:hover {
    color: var(--orange-dark);
}

.program-body > p {
    min-height: 75px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.91rem;
    line-height: 1.55;
}

.program-meta {
    display: flex;
    min-height: 47px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
}

.program-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #777b83;
}

.program-meta .material-symbols-outlined {
    font-size: 1rem;
}

.program-meta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--midnight);
    font-weight: 800;
    text-transform: none;
}

.program-meta a:hover {
    color: var(--orange-dark);
}

/* Information form */
.information-section {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 760px;
    padding: 125px 24px;
    place-items: center;
    background-color: var(--surface);
}

.glow-form {
    top: 25%;
    right: 13%;
    width: 340px;
    height: 340px;
}

.information-card {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    padding: 53px 58px 48px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow);
    text-align: center;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.information-card h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

.information-card > p {
    max-width: 590px;
    margin: 0 auto 38px;
    color: var(--muted);
    font-size: 0.91rem;
}

.stitch-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px 25px;
    text-align: left;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--midnight);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #c7cad2;
    border-radius: 8px;
    color: var(--ink);
    background: rgba(249, 249, 253, 0.82);
    box-shadow: inset 0 1px 2px rgba(0, 27, 61, 0.025);
    font-size: 0.81rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--midnight);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 27, 61, 0.08);
    outline: 0;
}

.form-honeypot {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.privacy-note {
    grid-column: 1 / -1;
    margin: -4px 0 0;
    color: #74777f;
    font-size: 0.68rem;
    text-align: center;
}

.form-button {
    grid-column: 1 / -1;
    min-width: 188px;
    justify-self: center;
    margin-top: 1px;
}

.form-alert {
    margin: 0 0 25px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: left;
}

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

.form-alert-success {
    color: var(--success);
    background: #e8f5ee;
}

.form-alert-error {
    color: var(--error);
    background: #fff0f0;
}

/* Career pages */
.career-page {
    background: var(--surface);
}

.career-hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.career-hero::after {
    position: absolute;
    top: -180px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.08);
    content: "";
    filter: blur(90px);
}

.career-hero-image-bg {
    background-color: var(--surface);
    background-image: linear-gradient(90deg, rgba(249, 249, 253, 0.98) 4%, rgba(249, 249, 253, 0.91) 53%, rgba(249, 249, 253, 0.86) 100%), var(--hero-bg);
    background-position: center;
    background-size: cover;
}

.business-hero-bg {
    --hero-bg: url('../img/stitch/business-hero.jpg');
}

.tourism-hero-bg {
    --hero-bg: url('../img/stitch/tourism-campus.jpg');
}

.business-page .career-hero-image-bg {
    background-image: linear-gradient(90deg, rgba(249, 249, 253, 0.97) 0%, rgba(249, 249, 253, 0.83) 52%, rgba(249, 249, 253, 0.74) 100%), var(--hero-bg);
}

.career-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 610px;
    align-items: center;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(70px, 10vw, 145px);
    padding-top: 75px;
    padding-bottom: 90px;
}

.career-hero-grid.single-copy {
    grid-template-columns: minmax(0, 690px) 1fr;
}

.career-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 7px 17px;
    border-radius: 999px;
    color: var(--midnight);
    background: rgba(0, 27, 61, 0.09);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.career-badge .material-symbols-outlined {
    font-size: 1rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #6c737d;
    font-size: 0.72rem;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--orange-dark);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.career-hero-copy h1 {
    max-width: 770px;
    margin: 0 0 30px;
    color: var(--midnight);
    font-size: clamp(3.3rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.03;
}

.career-hero-copy > p {
    max-width: 720px;
    margin: 0 0 35px;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.68;
}

.career-photo {
    position: relative;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.86);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
}

.career-photo img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
}

.photo-tilt {
    transform: rotate(2.4deg);
}

.photo-tilt img {
    transform: scale(1.04) rotate(-2.4deg);
}

.tourism-photo {
    max-width: 410px;
    justify-self: end;
    border: 0;
}

.tourism-photo img {
    min-height: 460px;
    object-position: 63% center;
}

.glass-note {
    position: absolute;
    right: 15px;
    bottom: 17px;
    left: 28px;
    padding: 22px 23px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    background: rgba(245, 242, 237, 0.84);
    box-shadow: 0 7px 25px rgba(0, 27, 61, 0.07);
    backdrop-filter: blur(18px);
}

.glass-note h2 {
    margin: 0 0 5px;
    color: var(--midnight);
    font-size: 1.65rem;
    line-height: 1.1;
}

.glass-note p {
    margin: 0;
    font-size: 0.83rem;
}

.career-features {
    padding: 110px 0 135px;
    background: var(--surface-low);
}

.business-features {
    background: var(--white);
}

.career-features > .site-container > h2 {
    margin-bottom: 55px;
    text-align: center;
}

.career-section-intro {
    margin-bottom: 54px;
}

.career-section-intro h2 {
    font-size: clamp(2.2rem, 3.7vw, 3.2rem);
}

.career-section-intro p {
    max-width: 730px;
    margin: 0;
    color: var(--muted);
}

.feature-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 245px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 14px;
    color: var(--midnight);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.feature-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #34373d;
    font-size: 0.9rem;
    line-height: 1.62;
}

.feature-small {
    grid-column: span 1;
}

.feature-wide {
    grid-column: span 2;
}

.feature-long {
    grid-column: span 2;
}

.feature-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 26px;
    place-items: center;
    border-radius: 12px;
    color: var(--midnight);
    background: #e7e9ed;
    font-size: 1.4rem;
}

.feature-icon-orange {
    color: var(--orange);
    background: #fff0e5;
}

.systems-bento .feature-wide {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.feature-dark {
    color: var(--white);
    background: var(--midnight);
}

.feature-dark h3,
.feature-dark p {
    color: var(--white);
}

.feature-dark .feature-icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.feature-photo-card,
.feature-image-fade {
    background-color: rgba(255, 255, 255, 0.86);
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.92)), var(--feature-image);
    background-position: center;
    background-size: cover;
}

.business-finance-bg {
    --feature-image: url('../img/stitch/business-finance.jpg');
}

.tourism-global-bg {
    --feature-image: url('../img/stitch/tourism-global.jpg');
}

.feature-image-fade {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 57%, rgba(255, 255, 255, 0.6) 100%), var(--feature-image);
}

.feature-split-image {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 0.95fr;
    gap: 28px;
}

.feature-split-image img {
    width: 100%;
    height: 190px;
    border-radius: 9px;
    object-fit: cover;
}

.mini-chips {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

.mini-chips span {
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--midnight);
    background: var(--surface-low);
    font-size: 0.68rem;
    font-weight: 700;
}

/* Career information */
.career-details {
    padding: 115px 0;
    background: var(--white);
}

.career-details-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    gap: clamp(55px, 9vw, 125px);
}

.career-details h2 {
    max-width: 720px;
    color: var(--midnight);
}

.career-details-copy > p {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.75;
}

.career-related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 34px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
}

.career-related strong {
    color: var(--midnight);
}

.career-related a {
    color: var(--orange-dark);
    font-weight: 800;
}

.career-related a:hover {
    text-decoration: underline;
}

.career-facts {
    padding: 34px;
    border-radius: 16px;
    color: var(--white);
    background: var(--midnight);
    box-shadow: var(--shadow-strong);
}

.career-facts h3 {
    margin: 0 0 24px;
    font-size: 1.45rem;
}

.career-facts dl {
    margin: 0 0 30px;
}

.career-facts dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.career-facts dt {
    color: #9fb0c5;
    font-size: 0.72rem;
    font-weight: 700;
}

.career-facts dd {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: right;
}

.career-facts .button {
    width: 100%;
}

/* Footer */
.site-footer {
    color: var(--white);
    background: var(--midnight);
}

.footer-grid {
    display: grid;
    min-height: 235px;
    align-items: center;
    grid-template-columns: 1.15fr 0.8fr 1.05fr;
    gap: 55px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-brand > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    border: 4px solid var(--white);
    object-fit: cover;
}

.footer-brand strong {
    font-size: 1.45rem;
    font-weight: 800;
}

.footer-brand p {
    max-width: 330px;
    margin: 14px 0 0;
    color: #c2ccda;
    font-size: 0.76rem;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
    color: #9aacc2;
    font-size: 0.7rem;
    font-style: normal;
}

.footer-contact a {
    color: #d6deea;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.footer-nav a {
    color: #d6deea;
    font-size: 0.76rem;
    font-weight: 700;
}

.footer-nav a:hover {
    color: var(--orange);
}

.footer-social {
    text-align: right;
}

.footer-social > div {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-bottom: 17px;
}

.footer-social a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
}

.footer-social a:hover {
    color: var(--midnight);
    border-color: var(--orange);
    background: var(--orange);
}

.footer-social p {
    margin: 0;
    color: #9aacc2;
    font-size: 0.68rem;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px;
        border: 0;
        color: var(--midnight);
        background: transparent;
        cursor: pointer;
        font-size: 0.78rem;
        font-weight: 800;
    }

    .main-menu {
        position: fixed;
        z-index: 110;
        top: 78px;
        right: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 20px 24px 30px;
        border-top: 1px solid var(--line);
        background: rgba(249, 249, 253, 0.98);
        box-shadow: 0 20px 40px rgba(0, 27, 61, 0.11);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 160ms ease, transform 160ms ease;
        backdrop-filter: blur(20px);
    }

    .main-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-menu a {
        padding: 15px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

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

    .home-hero-grid,
    .career-hero-grid,
    .career-hero-grid.single-copy {
        grid-template-columns: 1fr;
    }

    .home-hero-grid {
        gap: 75px;
        padding-top: 90px;
    }

    .home-hero-copy {
        max-width: 780px;
    }

    .home-hero-media {
        width: min(82%, 600px);
        margin: 0 auto;
    }

    .home-hero-media img {
        height: 470px;
    }

    .program-grid {
        gap: 18px;
    }

    .program-body {
        padding: 19px;
    }

    .program-body h3 {
        font-size: 1.45rem;
    }

    .career-hero-grid {
        gap: 60px;
    }

    .career-photo {
        width: min(82%, 620px);
        margin: 0 auto;
    }

    .local-presence-grid,
    .career-details-grid {
        grid-template-columns: 1fr;
    }

    .tourism-photo {
        justify-self: center;
    }

    .feature-bento {
        grid-template-columns: 1fr 1fr;
    }

    .feature-wide,
    .feature-long {
        grid-column: span 1;
    }

    .feature-split-image {
        display: block;
    }

    .feature-split-image img {
        margin-top: 25px;
    }

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

    .footer-social {
        grid-column: 1 / -1;
        text-align: left;
    }

    .footer-social > div {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .site-container {
        width: min(calc(100% - 36px), var(--container));
    }

    .header-inner {
        min-height: 70px;
        gap: 12px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand strong {
        font-size: 1.15rem;
    }

    .menu-button span:first-child {
        display: none;
    }

    .header-cta {
        min-height: 38px;
        padding: 8px 13px;
        font-size: 0.72rem;
    }

    .main-menu {
        top: 70px;
    }

    .career-hero-grid,
    .career-hero-copy {
        min-width: 0;
    }

    .career-hero-copy h1 {
        overflow-wrap: break-word;
        font-size: clamp(2.4rem, 11vw, 3.2rem);
    }

    .home-hero-grid {
        min-height: 0;
        gap: 62px;
        padding-top: 67px;
        padding-bottom: 85px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.75rem, 12.8vw, 4.4rem);
    }

    .home-hero-copy > p {
        font-size: 1rem;
    }

    .action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .action-row .button-link {
        align-self: flex-start;
    }

    .home-hero-media {
        width: calc(100% - 18px);
    }

    .home-hero-media img {
        height: 470px;
    }

    .programs {
        padding: 75px 0 85px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 38px;
    }

    .section-heading h2,
    .information-card h2,
    .career-features > .site-container > h2 {
        font-size: 2.35rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program-body > p {
        min-height: 0;
    }

    .program-body h3 {
        min-height: 0;
    }

    .local-presence,
    .career-details {
        padding: 78px 0;
    }

    .local-contact-card,
    .career-facts {
        padding: 28px;
    }

    .information-section {
        min-height: 0;
        padding: 90px 18px;
    }

    .information-card {
        padding: 38px 22px 34px;
        border-radius: 17px;
    }

    .stitch-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .privacy-note,
    .form-button {
        grid-column: auto;
    }

    .career-hero-grid {
        min-height: 0;
        gap: 55px;
        padding-top: 70px;
        padding-bottom: 82px;
    }

    .career-hero-copy h1 {
        overflow-wrap: normal;
        font-size: clamp(2.4rem, 11vw, 3.2rem);
    }

    .career-hero-copy > p {
        font-size: 0.98rem;
    }

    .career-photo {
        width: calc(100% - 12px);
    }

    .career-photo img {
        min-height: 290px;
    }

    .tourism-photo img {
        min-height: 420px;
    }

    .glass-note {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .career-features {
        padding: 78px 0 90px;
    }

    .career-features > .site-container > h2 {
        margin-bottom: 38px;
        text-align: left;
    }

    .feature-bento {
        grid-template-columns: 1fr;
    }

    .feature-small,
    .feature-wide,
    .feature-long {
        grid-column: auto;
    }

    .feature-card {
        min-height: 0;
        padding: 28px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 55px;
        padding-bottom: 55px;
    }

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

    .footer-social {
        grid-column: auto;
    }
}

.whatsapp-float {
    position: fixed;
    z-index: 90;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 999px;
    color: var(--white);
    background: #087f5b;
    box-shadow: 0 12px 30px rgba(8, 77, 57, 0.3);
    font-size: 0.75rem;
    font-weight: 800;
    transition: transform 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

.whatsapp-float svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.whatsapp-float:hover {
    background: #066447;
    box-shadow: 0 15px 34px rgba(8, 77, 57, 0.36);
    transform: translateY(-2px);
}

.hero-photo-frame.hero-photo-frame-landscape {
    height: 460px;
    background: #eef2f5;
}

.home-hero-media .hero-photo-frame.hero-photo-frame-landscape > img {
    object-fit: contain;
    object-position: center;
}

@media (max-width: 980px) {
    .hero-photo-frame.hero-photo-frame-landscape {
        height: 430px;
    }
}

@media (max-width: 720px) {
    .hero-photo-frame.hero-photo-frame-landscape {
        height: 330px;
    }

    .home-hero-media .hero-photo-frame.hero-photo-frame-landscape > img {
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        padding: 0;
    }

    .whatsapp-float span {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* CESMI institutional refresh — real campus life, clear information, local identity */
.site-header {
    border-bottom-color: rgba(22, 50, 79, 0.09);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 3px 18px rgba(22, 50, 79, 0.045);
}

.header-inner {
    min-height: 82px;
}

.brand strong {
    font-size: 1.28rem;
    letter-spacing: -0.03em;
}

.main-menu {
    gap: 27px;
}

.main-menu a {
    color: var(--midnight);
    font-size: 0.76rem;
    font-weight: 700;
}

.main-menu a::after {
    background: var(--yellow);
}

.main-menu a:hover,
.main-menu a.is-active {
    color: var(--orange-dark);
}

.header-cta,
.button {
    border-radius: 5px;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.header-cta {
    background: var(--orange);
    box-shadow: 0 7px 17px rgba(36, 116, 181, 0.18);
}

.header-cta:hover,
.button-orange:hover {
    background: var(--orange-dark);
    box-shadow: 0 11px 26px rgba(36, 116, 181, 0.23);
}

.button-orange {
    background: var(--orange);
    box-shadow: 0 8px 20px rgba(36, 116, 181, 0.18);
}

.button-outline {
    color: var(--midnight);
    border-color: rgba(22, 50, 79, 0.35);
    background: transparent;
}

.button-outline:hover {
    border-color: var(--midnight);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.button-yellow {
    color: var(--midnight);
    background: var(--yellow);
    box-shadow: 0 8px 20px rgba(244, 197, 66, 0.18);
}

.button-yellow:hover {
    background: #ffd75e;
    box-shadow: 0 11px 26px rgba(244, 197, 66, 0.24);
    transform: translateY(-2px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--orange-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.section-kicker::before {
    width: 24px;
    height: 3px;
    background: var(--yellow);
    content: "";
}

.home-hero {
    isolation: isolate;
    background: var(--white);
}

.home-hero::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: var(--surface-low);
    content: "";
}

.home-hero-grid {
    min-height: 760px;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(60px, 7vw, 108px);
    padding-top: 82px;
    padding-bottom: 100px;
}

.home-hero-copy {
    max-width: 650px;
}

.home-hero-copy h1 {
    max-width: 640px;
    margin-bottom: 27px;
    font-size: clamp(3.35rem, 5.5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.home-hero-copy h1 span {
    display: block;
    color: var(--orange);
}

.home-hero-copy > p {
    max-width: 630px;
    margin-bottom: 16px;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.7;
}

.home-hero-copy .hero-support {
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 0.9rem;
}

.home-hero-media {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
}

.home-hero-media::before {
    z-index: -1;
    right: -28px;
    bottom: -28px;
    width: 72%;
    height: 76%;
    border-radius: 0;
    background: var(--yellow);
}

.hero-photo-frame {
    position: relative;
    overflow: hidden;
    height: 520px;
    background: var(--surface-high);
}

.home-hero-media .hero-photo-frame > img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: 50% 46%;
    transform: none;
}

.hero-photo-label {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    color: var(--white);
    background: var(--midnight);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-photo-note {
    position: absolute;
    bottom: -55px;
    left: -58px;
    width: 190px;
    margin: 0;
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
    transform: rotate(-3deg);
}

.home-hero-media .hero-photo-note img {
    width: 100%;
    height: 140px;
    border-radius: 0;
    object-fit: cover;
    transform: none;
}

.hero-photo-note figcaption {
    padding: 8px 4px 3px;
    color: var(--midnight);
    font-size: 0.63rem;
    font-weight: 800;
    text-align: center;
}

.programs {
    padding: 112px 0 126px;
    border-radius: 0;
    background: var(--surface-low);
}

.section-heading {
    display: block;
    margin-bottom: 54px;
}

.section-heading h2,
.courses-intro h2,
.campus-life h2,
.teachers-copy h2,
.community-panel h2,
.about-copy h2,
.contact-intro h2 {
    margin: 0 0 18px;
    color: var(--midnight);
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.section-heading p {
    max-width: 760px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.program-grid {
    gap: 24px;
}

.program-card {
    display: flex;
    flex-direction: column;
    border-color: rgba(22, 50, 79, 0.09);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(22, 50, 79, 0.055);
}

.card-image img {
    height: 245px;
    aspect-ratio: 16 / 10;
}

.program-card:first-child .card-image img {
    object-position: center 32%;
}

.program-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 25px 21px;
}

.chip {
    align-self: flex-start;
    border-radius: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.chip-blue {
    color: var(--midnight);
    background: #d5e9f6;
}

.chip-yellow {
    color: #664f05;
    background: #fff0b5;
}

.program-body h3 {
    min-height: 58px;
    font-size: 1.55rem;
}

.program-body > p {
    min-height: 118px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.program-meta {
    margin-top: auto;
    border-top-color: var(--line);
}

.courses-section {
    padding: 122px 0;
    background: var(--paper);
}

.courses-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(65px, 9vw, 130px);
}

.courses-intro {
    position: sticky;
    top: 125px;
}

.courses-intro .courses-lead {
    margin-bottom: 10px;
    color: var(--midnight);
    font-size: 1.1rem;
    font-weight: 700;
}

.courses-intro p:not(.courses-lead) {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.course-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.course-card {
    position: relative;
    min-height: 280px;
    padding: 30px;
    border: 1px solid rgba(22, 50, 79, 0.1);
    background: var(--white);
    box-shadow: 0 10px 26px rgba(22, 50, 79, 0.045);
}

.course-card::after {
    position: absolute;
    right: 30px;
    bottom: 0;
    width: 52px;
    height: 5px;
    background: var(--yellow);
    content: "";
}

.course-featured {
    grid-column: 1 / -1;
    min-height: 305px;
    color: var(--white);
    background-color: var(--midnight);
    background-image: linear-gradient(90deg, rgba(22, 50, 79, 0.98) 0%, rgba(22, 50, 79, 0.88) 68%, rgba(22, 50, 79, 0.62) 100%), url('../img/cesmi/cesmi-presentacion-en-aula.webp');
    background-position: center;
    background-size: cover;
}

.course-number {
    display: block;
    margin-bottom: 34px;
    color: var(--orange-dark);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.course-featured .course-number {
    color: var(--yellow);
}

.course-card h3 {
    max-width: 620px;
    margin: 0 0 15px;
    color: var(--midnight);
    font-size: 1.7rem;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.course-featured h3 {
    color: var(--white);
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.course-card p {
    max-width: 650px;
    margin: 0 0 23px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.68;
}

.course-featured p {
    color: #dce8f2;
}

.course-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--midnight);
    font-size: 0.76rem;
    font-weight: 800;
}

.course-featured .course-schedule {
    color: var(--white);
}

.course-card small {
    display: block;
    margin-top: 12px;
    color: #b9cad8;
    font-size: 0.67rem;
}

.campus-life {
    padding: 122px 0 116px;
    background: var(--white);
}

.campus-life-heading {
    display: grid;
    align-items: end;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(50px, 8vw, 120px);
    margin-bottom: 52px;
}

.campus-life-heading p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.photo-wall {
    display: grid;
    grid-auto-rows: 255px;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.photo-wall figure {
    position: relative;
    overflow: hidden;
    grid-column: span 3;
    margin: 0;
    background: var(--surface-high);
}

.photo-wall .photo-wall-wide {
    grid-column: span 7;
}

.photo-wall .photo-wall-tall {
    grid-column: span 5;
    grid-row: span 2;
}

.photo-wall figure:nth-child(3) {
    grid-column: span 3;
}

.photo-wall figure:nth-child(4) {
    grid-column: span 4;
}

.photo-wall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.photo-wall figure:hover img {
    transform: scale(1.025);
}

.photo-wall figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 9px 12px;
    color: var(--white);
    background: rgba(22, 50, 79, 0.9);
    font-size: 0.67rem;
    font-weight: 700;
}

.campus-life-note {
    max-width: 770px;
    margin: 34px 0 0 auto;
    padding-left: 24px;
    border-left: 5px solid var(--yellow);
    color: var(--midnight);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.65;
}

.people-section {
    padding: 116px 0;
    background: var(--surface-low);
}

.people-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
    gap: 24px;
}

.teachers-panel {
    display: grid;
    overflow: hidden;
    grid-template-columns: 0.82fr 1.18fr;
    background: var(--white);
}

.teachers-photo {
    min-height: 560px;
}

.teachers-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 44%;
}

.teachers-copy {
    align-self: center;
    padding: clamp(40px, 6vw, 75px);
}

.teachers-copy h2 {
    font-size: clamp(2rem, 3vw, 3.1rem);
}

.teachers-copy p,
.community-panel p,
.about-copy p,
.contact-intro p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--orange-dark);
    font-size: 0.76rem;
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
}

.community-panel {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 62px);
    color: var(--white);
    background: var(--midnight);
}

.community-status {
    margin-bottom: 42px;
    padding: 7px 10px;
    color: var(--midnight);
    background: var(--yellow);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-panel h2 {
    color: var(--white);
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.community-panel p {
    color: #ccdae6;
}

.community-panel .button {
    margin-top: 20px;
}

.about-section {
    padding: 122px 0;
    background: var(--paper);
}

.about-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr) minmax(270px, 0.72fr);
    gap: 24px;
}

.about-copy {
    align-self: center;
    padding-right: clamp(15px, 3vw, 48px);
}

.about-image {
    overflow: hidden;
    min-height: 520px;
}

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

.about-section .local-contact-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border: 0;
    border-radius: 0;
    color: var(--white);
    background: var(--orange);
    box-shadow: none;
}

.about-section .local-contact-card .section-kicker {
    color: var(--white);
}

.about-section .local-contact-card strong {
    margin: 12px 0 17px;
    color: var(--white);
    font-size: 1.55rem;
}

.about-section .local-contact-card > span:not(.section-kicker),
.about-section .local-contact-card > a:not(.text-link) {
    margin-bottom: 8px;
    color: #eef7fd;
    font-size: 0.79rem;
}

.about-section .local-contact-card .text-link {
    margin-top: 24px;
    color: var(--white);
}

.information-section {
    display: block;
    min-height: 0;
    padding: 118px 0;
    background: var(--midnight);
}

.contact-layout {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.15fr);
    gap: clamp(50px, 8vw, 112px);
}

.contact-intro {
    color: var(--white);
}

.contact-intro .section-kicker {
    color: #cfe4f4;
}

.contact-intro h2 {
    color: var(--white);
}

.contact-intro p {
    color: #c8d8e5;
}

.contact-photo {
    overflow: hidden;
    width: 190px;
    height: 230px;
    margin: 36px 0 0 auto;
    border: 7px solid var(--white);
    box-shadow: 18px 18px 0 var(--yellow);
    transform: rotate(2deg);
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 24%;
}

.information-card {
    width: 100%;
    padding: clamp(30px, 4.5vw, 54px);
    border: 0;
    border-radius: 0;
    background: var(--white);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
    text-align: left;
    backdrop-filter: none;
}

.stitch-form {
    gap: 22px 20px;
}

.form-field label {
    margin-bottom: 9px;
    color: var(--midnight);
    font-size: 0.67rem;
    font-weight: 800;
}

.form-field input,
.form-field select {
    height: 53px;
    border-color: #b9cbd6;
    border-radius: 3px;
    background: var(--white);
    font-size: 0.78rem;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(36, 116, 181, 0.12);
}

.privacy-note {
    margin-top: 2px;
    color: #667782;
    line-height: 1.55;
    text-align: left;
}

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

/* Career pages share the same grounded visual language. */
.career-page,
.career-hero {
    background: var(--white);
}

.career-hero::after {
    background: rgba(36, 116, 181, 0.1);
}

.career-hero-image-bg,
.business-page .career-hero-image-bg {
    background-image: linear-gradient(135deg, var(--white) 0%, var(--surface-low) 100%);
}

.career-badge {
    border-radius: 3px;
    background: var(--surface-high);
    letter-spacing: 0.05em;
}

.breadcrumb a,
.career-related a {
    color: var(--orange-dark);
}

.career-photo {
    border-radius: 0;
}

.career-photo img,
.tourism-photo img {
    height: 420px;
    min-height: 0;
    object-position: center;
}

.feature-card,
.career-facts,
.glass-note {
    border-radius: 6px;
}

.feature-icon {
    border-radius: 4px;
}

.feature-icon-orange {
    color: var(--orange);
    background: var(--surface-low);
}

.site-footer {
    background: #102a43;
}

.footer-nav {
    flex-wrap: wrap;
}

.footer-nav a:hover {
    color: var(--yellow);
}

.footer-social a:hover {
    color: var(--midnight);
    border-color: var(--yellow);
    background: var(--yellow);
}

@media (max-width: 1100px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
        gap: 55px;
    }

    .hero-photo-note {
        left: -30px;
    }

    .about-grid {
        grid-template-columns: 1fr 0.8fr;
    }

    .about-section .local-contact-card {
        grid-column: 1 / -1;
        min-height: 320px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 78px;
    }

    .main-menu {
        gap: 0;
        background: rgba(255, 255, 255, 0.99);
    }

    .home-hero::before {
        top: auto;
        width: 100%;
        height: 42%;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
        padding-top: 88px;
        padding-bottom: 120px;
    }

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

    .home-hero-media {
        width: min(88%, 720px);
    }

    .hero-photo-frame {
        height: 510px;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .program-card {
        display: grid;
        grid-template-columns: minmax(250px, 0.82fr) 1.18fr;
    }

    .card-image,
    .card-image img {
        height: 100%;
    }

    .program-body > p,
    .program-body h3 {
        min-height: 0;
    }

    .courses-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .courses-intro {
        position: static;
        max-width: 760px;
    }

    .campus-life-heading {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .community-panel {
        min-height: 460px;
    }

    .contact-layout {
        grid-template-columns: 0.7fr 1.3fr;
        gap: 45px;
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 70px;
    }

    .brand strong {
        font-size: 1rem;
    }

    .header-cta {
        max-width: 108px;
        min-height: 38px;
        padding: 7px 10px;
        font-size: 0.61rem;
        line-height: 1.15;
        text-align: center;
    }

    .main-menu {
        top: 70px;
    }

    .career-hero-grid,
    .career-hero-copy {
        min-width: 0;
    }

    .career-hero-copy h1 {
        overflow-wrap: normal;
        font-size: clamp(2.4rem, 11vw, 3.2rem);
    }

    .home-hero-grid {
        gap: 58px;
        padding-top: 62px;
        padding-bottom: 94px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
        line-height: 1;
    }

    .home-hero-copy > p {
        font-size: 0.92rem;
    }

    .home-hero-media {
        width: calc(100% - 18px);
        margin-bottom: 26px;
    }

    .hero-photo-frame {
        height: 390px;
    }

    .home-hero-media .hero-photo-frame > img {
        object-position: 54% center;
    }

    .hero-photo-note {
        bottom: -45px;
        left: -10px;
        width: 145px;
    }

    .home-hero-media .hero-photo-note img {
        height: 100px;
    }

    .programs,
    .courses-section,
    .campus-life,
    .people-section,
    .about-section,
    .information-section {
        padding-top: 82px;
        padding-bottom: 86px;
    }

    .section-heading h2,
    .courses-intro h2,
    .campus-life h2,
    .teachers-copy h2,
    .community-panel h2,
    .about-copy h2,
    .contact-intro h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .program-card {
        display: flex;
    }

    .card-image img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .program-body {
        padding: 24px 22px 20px;
    }

    .program-body h3 {
        font-size: 1.45rem;
    }

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

    .course-featured {
        grid-column: auto;
    }

    .course-card {
        min-height: 0;
        padding: 27px 24px 31px;
    }

    .photo-wall {
        display: grid;
        grid-auto-rows: 270px;
        grid-template-columns: 1fr;
    }

    .photo-wall figure,
    .photo-wall .photo-wall-wide,
    .photo-wall .photo-wall-tall,
    .photo-wall figure:nth-child(3),
    .photo-wall figure:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .photo-wall .photo-wall-tall {
        height: 390px;
    }

    .campus-life-note {
        margin-top: 28px;
        font-size: 0.86rem;
    }

    .teachers-panel {
        grid-template-columns: 1fr;
    }

    .teachers-photo {
        min-height: 370px;
    }

    .teachers-copy,
    .community-panel {
        padding: 35px 28px 40px;
    }

    .community-panel {
        min-height: 0;
    }

    .community-status {
        margin-bottom: 30px;
    }

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

    .about-copy {
        padding: 0 0 20px;
    }

    .about-image {
        min-height: 430px;
    }

    .about-section .local-contact-card {
        grid-column: auto;
        min-height: 390px;
        padding: 34px 28px;
    }

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

    .career-photo img,
    .tourism-photo img {
        height: 340px;
    }

    .contact-photo {
        display: none;
    }

    .information-card {
        padding: 32px 22px;
    }

    .stitch-form {
        grid-template-columns: 1fr;
    }

    .privacy-note,
    .form-button {
        grid-column: auto;
    }

    .form-button {
        width: 100%;
    }
}
