:root {
    --ink: #1b1e24;
    --muted: #626873;
    --navy: #102a43;
    --maroon: #6b1425;
    --maroon-dark: #49101c;
    --rust: #9e4d2e;
    --gold: #c58a3a;
    --gold-light: #efd4a1;
    --cream: #f7f1e7;
    --paper: #fffdf9;
    --line: #e6ddd0;
    --white: #ffffff;
    --shadow-sm: 0 12px 30px rgba(31, 26, 24, 0.08);
    --shadow-lg: 0 28px 70px rgba(37, 22, 22, 0.18);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --container: 1180px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

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

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

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

h1,
h2,
h3 {
    line-height: 1.14;
}

code {
    padding: 0.15rem 0.35rem;
    border-radius: 5px;
    background: rgba(107, 20, 37, 0.08);
    color: var(--maroon);
    font-size: 0.9em;
}

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

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

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--white);
    color: var(--maroon);
    font-weight: 800;
    transition: transform 0.2s ease;
}

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

.topbar {
    color: rgba(255, 255, 255, 0.86);
    background: var(--maroon-dark);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.topbar__inner {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar p {
    margin: 0;
}

.topbar__links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar a:hover {
    color: var(--gold-light);
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(107, 20, 37, 0.08);
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 36px rgba(39, 26, 23, 0.1);
}

.nav-shell {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 285px;
}

.brand img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand strong {
    color: var(--maroon);
    font-family: var(--serif);
    font-size: 1.06rem;
}

.brand small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.primary-nav > a {
    position: relative;
    color: #373b43;
    font-size: 0.87rem;
    font-weight: 700;
}

.primary-nav > a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    background: var(--gold);
    content: '';
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

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

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

.nav-cta {
    padding: 11px 17px;
    border-radius: 999px;
    color: var(--white) !important;
    background: var(--maroon);
    box-shadow: 0 8px 22px rgba(107, 20, 37, 0.18);
}

.nav-cta:hover {
    background: var(--maroon-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(107, 20, 37, 0.08);
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--maroon);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero {
    position: relative;
    min-height: 715px;
    overflow: hidden;
    color: var(--white);
    background: var(--maroon-dark);
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__media {
    background-image: url('../images/banner.jpeg');
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(31, 10, 18, 0.88) 0%, rgba(48, 13, 24, 0.74) 42%, rgba(48, 13, 24, 0.18) 78%),
        linear-gradient(180deg, rgba(20, 12, 15, 0.12) 0%, rgba(20, 12, 15, 0.5) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 715px;
    max-width: 790px;
    flex-direction: column;
    justify-content: center;
    padding-block: 90px 130px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--maroon);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    width: 38px;
    height: 2px;
    background: currentColor;
    content: '';
}

.hero .eyebrow {
    color: var(--gold-light);
}

.hero h1 {
    max-width: 760px;
    margin: 22px 0 24px;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 7vw, 6.3rem);
    font-weight: 500;
    letter-spacing: -0.055em;
}

.hero h1 em {
    color: var(--gold-light);
    font-weight: 500;
}

.hero p {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.18rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__scroll {
    position: absolute;
    z-index: 2;
    right: max(24px, calc((100vw - var(--container)) / 2));
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__scroll span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
    color: var(--white);
    background: var(--maroon);
    box-shadow: 0 12px 28px rgba(107, 20, 37, 0.22);
}

.hero .button--primary {
    color: var(--maroon-dark);
    background: var(--gold-light);
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.button--light {
    color: var(--maroon);
    background: var(--white);
}

.button--small {
    min-height: 38px;
    padding: 8px 15px;
    font-size: 0.8rem;
}

.button--disabled {
    color: #8a7e75;
    background: #eee9e2;
    cursor: not-allowed;
    pointer-events: none;
}

.stats-strip {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    background: var(--maroon);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
    display: flex;
    min-height: 130px;
    flex-direction: column;
    justify-content: center;
    padding: 25px 35px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-grid article:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-grid strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
}

.stats-grid span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section {
    padding-block: 105px;
}

.section--light {
    background: var(--paper);
}

.section--cream {
    background: var(--cream);
}

.section--dark {
    color: var(--white);
    background: #172331;
}

.section--accent {
    color: var(--white);
    background: var(--maroon);
}

.section-title {
    max-width: 750px;
    margin: 16px 0 0;
    font-family: var(--serif);
    font-size: clamp(2.35rem, 4.2vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.section-title--light {
    color: var(--white);
}

.section-kicker--gold {
    color: var(--gold-light);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 100px;
    align-items: start;
}

.prose {
    color: var(--muted);
}

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

.lead-copy {
    font-size: 1.12rem;
}

.long-copy {
    max-width: 760px;
    font-size: 1.06rem;
}

.long-copy p {
    margin-bottom: 1.4rem;
}

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

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

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

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

.programme-card {
    position: relative;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(107, 20, 37, 0.09);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.programme-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.programme-card::after {
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 30px solid rgba(197, 138, 58, 0.09);
    border-radius: 50%;
    content: '';
}

.programme-card__number {
    margin-bottom: 24px;
    color: rgba(107, 20, 37, 0.24);
    font-family: var(--serif);
    font-size: 2rem;
}

.pill {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--maroon);
    background: rgba(107, 20, 37, 0.07);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.programme-card h3 {
    margin: 16px 0 12px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
}

.programme-card p {
    margin-bottom: 22px;
    color: var(--muted);
}

.programme-card__meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
}

.programme-card__meta span {
    max-width: 60%;
    color: var(--muted);
}

.programme-card__meta strong {
    color: var(--maroon);
}

.programme-card > a {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    color: var(--maroon);
    font-size: 0.84rem;
    font-weight: 900;
}

.notice-layout {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 90px;
    align-items: center;
}

.muted-light {
    max-width: 530px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 1.05rem;
}

.notice-stack {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.notice-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: padding 0.22s ease, background 0.22s ease;
}

.notice-card:hover {
    padding-inline: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.notice-card__date {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.55rem;
}

.notice-card small {
    color: var(--gold-light);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.notice-card h3 {
    margin: 4px 0;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.notice-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
}

.faculty-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.faculty-preview-card {
    text-align: center;
}

.faculty-preview-card__image {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #fff 0%, #eadcc8 70%, #c69a65 100%);
    box-shadow: inset 0 0 0 8px rgba(197, 138, 58, 0.17), var(--shadow-sm);
}

.faculty-preview-card__image img {
    width: 86%;
    height: 86%;
    object-fit: cover;
    border-radius: 50%;
}

.faculty-preview-card h3 {
    margin-bottom: 6px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.faculty-preview-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.cta-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.cta-panel h2 {
    max-width: 700px;
    margin: 15px 0 0;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.06rem;
}

.page-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    color: var(--white);
    background-color: var(--maroon-dark);
    background-image:
        linear-gradient(90deg, rgba(43, 9, 20, 0.92), rgba(43, 9, 20, 0.55)),
        url('../images/college-banner.svg');
    background-position: center;
    background-size: cover;
}

.page-hero::after {
    position: absolute;
    right: -80px;
    bottom: -240px;
    width: 520px;
    height: 520px;
    border: 70px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: '';
}

.page-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 420px;
    max-width: 900px;
    flex-direction: column;
    justify-content: center;
    padding-block: 70px;
}

.page-hero .eyebrow {
    color: var(--gold-light);
}

.page-hero h1 {
    max-width: 900px;
    margin: 20px 0 18px;
    font-family: var(--serif);
    font-size: clamp(2.7rem, 5.6vw, 5.2rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.page-hero--faculty {
    background-position: center 62%;
}

.page-hero--courses,
.page-hero--syllabus {
    background-position: center 55%;
}

.content-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 110px;
}

.content-aside {
    position: sticky;
    top: 130px;
    align-self: start;
}

.content-aside h2 {
    margin: 14px 0 30px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 500;
}

.aside-stat {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-left: 4px solid var(--gold);
    background: var(--cream);
}

.aside-stat strong {
    color: var(--maroon);
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 500;
}

.aside-stat span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--line);
}

.value-grid article {
    min-height: 320px;
    padding: 32px;
    background: var(--paper);
}

.value-grid article > span {
    color: rgba(107, 20, 37, 0.24);
    font-family: var(--serif);
    font-size: 2.3rem;
}

.value-grid h3 {
    margin: 34px 0 14px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
}

.value-grid p {
    color: var(--muted);
    font-size: 0.92rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.vision-grid h2 {
    margin: 16px 0 0;
    font-family: var(--serif);
    font-size: 3.2rem;
    font-weight: 500;
}

.vision-grid p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.14rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.faculty-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 285px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faculty-card__portrait {
    display: grid;
    place-items: end center;
    padding: 18px 10px 0;
    background: linear-gradient(150deg, #ead7ba 0%, #f9f4eb 60%, #c98c52 120%);
}

.faculty-card__portrait img {
    width: 100%;
    max-width: 160px;
}

.faculty-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.faculty-card__role {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.faculty-card h2 {
    margin: 10px 0 12px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 500;
}

.faculty-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.profile-feature {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: center;
}

.profile-feature__portrait {
    display: grid;
    aspect-ratio: 1 / 1.15;
    place-items: end center;
    overflow: hidden;
    border-radius: 180px 180px 24px 24px;
    background: linear-gradient(145deg, #f4e6cf, #c78556);
    box-shadow: var(--shadow-lg);
}

.profile-feature__portrait img {
    width: 92%;
}

.profile-credentials {
    color: var(--maroon);
    font-weight: 800;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.profile-tags span {
    padding: 7px 11px;
    border: 1px solid rgba(107, 20, 37, 0.15);
    border-radius: 999px;
    color: var(--maroon);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 800;
}

.course-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.course-search input {
    width: min(100%, 340px);
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    background: var(--white);
}

.course-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 138, 58, 0.12);
}

.course-list {
    border-top: 1px solid var(--line);
}

.course-row {
    display: grid;
    grid-template-columns: 75px 0.85fr 1.15fr;
    gap: 35px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
}

.course-row__index {
    color: rgba(107, 20, 37, 0.28);
    font-family: var(--serif);
    font-size: 2rem;
}

.course-row__main h2 {
    margin: 12px 0;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 2.1rem;
    font-weight: 500;
}

.course-row__main p {
    color: var(--muted);
}

.course-row__details dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    margin: 0;
}

.course-row__details dl div {
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}

.course-row__details dt {
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.course-row__details dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.empty-state {
    padding: 50px 0;
    color: var(--muted);
    text-align: center;
}

.disclaimer {
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.78rem;
}

.syllabus-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 80px;
    align-items: start;
}

.syllabus-intro {
    position: sticky;
    top: 130px;
}

.syllabus-intro p {
    color: var(--muted);
}

.syllabus-list {
    border-top: 1px solid var(--line);
}

.syllabus-card {
    border-bottom: 1px solid var(--line);
}

.syllabus-card__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    border: 0;
    color: var(--ink);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.syllabus-card__toggle > span:first-child {
    display: flex;
    flex-direction: column;
}

.syllabus-card__toggle small {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.syllabus-card__toggle strong {
    margin-top: 5px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.syllabus-card__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    color: var(--maroon);
    background: rgba(107, 20, 37, 0.08);
    font-size: 1.25rem;
    transition: transform 0.22s ease;
}

.syllabus-card__toggle[aria-expanded='true'] .syllabus-card__icon {
    transform: rotate(45deg);
}

.syllabus-card__panel {
    padding: 0 4px 22px;
}

.syllabus-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    padding: 16px;
    border-radius: 12px;
    background: var(--cream);
}

.syllabus-document > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.document-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 10px;
    color: var(--white);
    background: var(--maroon);
    font-size: 0.65rem;
    font-weight: 900;
}

.syllabus-document strong,
.syllabus-document small {
    display: block;
}

.syllabus-document small {
    color: var(--muted);
    font-size: 0.72rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    position: sticky;
    top: 130px;
}

.contact-detail {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.contact-detail small {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-detail p,
.contact-detail a {
    margin: 0;
    color: var(--ink);
    font-weight: 650;
}

.contact-form-card {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-form-card > h2 {
    margin-bottom: 8px;
    color: var(--maroon-dark);
    font-family: var(--serif);
    font-size: 2.35rem;
    font-weight: 500;
}

.contact-form-card > p {
    color: var(--muted);
}

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

form label {
    display: block;
    margin-bottom: 18px;
}

form label > span {
    display: block;
    margin-bottom: 7px;
    color: #40444c;
    font-size: 0.78rem;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    color: var(--ink);
    background: var(--paper);
}

input {
    min-height: 48px;
    padding: 10px 13px;
}

textarea {
    padding: 13px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 138, 58, 0.12);
}

.honeypot {
    position: absolute;
    left: -10000px;
}

.alert {
    margin: 20px 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
}

.alert ul {
    margin-bottom: 0;
}

.alert--success {
    border: 1px solid #a8d4b2;
    color: #205e2d;
    background: #eff9f1;
}

.alert--error {
    border: 1px solid #e0a7a7;
    color: #842a2a;
    background: #fff2f2;
}

.site-footer {
    padding-top: 70px;
    color: rgba(255, 255, 255, 0.74);
    background: #101923;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.7fr 0.8fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-brand {
    display: flex;
    gap: 18px;
}

.footer-brand img {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
    font-family: var(--serif);
    font-weight: 500;
}

.site-footer h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.site-footer h3 {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
    display: block;
    margin-bottom: 9px;
    font-size: 0.82rem;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    font-size: 0.76rem;
}

@media (max-width: 1080px) {
    .primary-nav {
        gap: 16px;
    }

    .primary-nav > a {
        font-size: 0.8rem;
    }

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

    .faculty-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 0.8fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: none;
    }

    .nav-shell {
        min-height: 76px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

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

    .brand small {
        font-size: 0.61rem;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 44px;
    }

    .menu-toggle[aria-expanded='true'] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded='true'] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded='true'] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        top: 76px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 25px 20px 40px;
        background: var(--paper);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .primary-nav.is-open {
        transform: translateX(0);
    }

    .primary-nav > a {
        padding: 15px 6px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

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

    .nav-cta {
        margin-top: 18px;
        padding-inline: 18px !important;
        border-bottom: 0 !important;
        text-align: center;
    }

    .hero,
    .hero__content {
        min-height: 640px;
    }

    .hero__overlay {
        background: linear-gradient(90deg, rgba(31, 10, 18, 0.9), rgba(48, 13, 24, 0.48));
    }

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

    .stats-grid article {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .split-layout,
    .notice-layout,
    .cta-panel,
    .content-grid,
    .vision-grid,
    .profile-feature,
    .syllabus-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .content-aside,
    .syllabus-intro,
    .contact-details {
        position: static;
    }

    .course-row {
        grid-template-columns: 55px 1fr;
    }

    .course-row__details {
        grid-column: 2;
    }

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

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

    .brand strong {
        max-width: 215px;
        font-size: 0.86rem;
    }

    .brand small {
        display: none;
    }

    .hero,
    .hero__content {
        min-height: 610px;
    }

    .hero__content {
        padding-block: 70px 105px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.2rem);
    }

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

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

    .hero__scroll {
        display: none;
    }

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

    .stats-grid article {
        min-height: 108px;
        padding: 18px;
    }

    .stats-grid strong {
        font-size: 1.55rem;
    }

    .stats-grid span {
        font-size: 0.65rem;
    }

    .section {
        padding-block: 72px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-heading-row,
    .course-toolbar {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 32px;
    }

    .programme-grid,
    .faculty-preview-grid,
    .value-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .programme-card {
        min-height: 360px;
    }

    .notice-card {
        grid-template-columns: 44px 1fr auto;
        gap: 12px;
    }

    .notice-card p {
        display: none;
    }

    .cta-panel {
        gap: 28px;
    }

    .page-hero,
    .page-hero__content {
        min-height: 390px;
    }

    .page-hero h1 {
        font-size: 2.8rem;
    }

    .faculty-card {
        grid-template-columns: 125px 1fr;
    }

    .faculty-card__content {
        padding: 22px 18px;
    }

    .faculty-card h2 {
        font-size: 1.4rem;
    }

    .faculty-card p {
        font-size: 0.8rem;
    }

    .profile-feature__portrait {
        max-width: 350px;
        margin-inline: auto;
    }

    .course-toolbar .course-search,
    .course-search input {
        width: 100%;
    }

    .course-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 34px 0;
    }

    .course-row__details {
        grid-column: 1;
    }

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

    .syllabus-document {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 20px;
    }
}

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


/* Chancellor and Vice-Chancellor cards inside homepage banner */

.hero__leadership {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: 280px;
    display: grid;
    gap: 14px;
    transform: translateY(-50%);
}

.hero-leader-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 16px;
    background: rgba(18, 24, 35, 0.82);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(8px);
}

.hero-leader-card img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.hero-leader-card span,
.hero-leader-card strong,
.hero-leader-card small {
    display: block;
}

.hero-leader-card span {
    margin-bottom: 4px;
    color: var(--gold-light);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-leader-card strong {
    color: #ffffff;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.hero-leader-card small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Admissions rolling strip */

.admission-ticker {
    position: relative;
    z-index: 6;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--maroon);
    color: #ffffff;
    white-space: nowrap;
}

.admission-ticker__track {
    display: flex;
    width: max-content;
    animation: admissionTickerMove 28s linear infinite;
}

.admission-ticker__track a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 20px;
    padding: 13px 34px;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.admission-ticker__track strong {
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.admission-ticker__track a:hover {
    color: var(--gold-light);
}

.admission-ticker:hover .admission-ticker__track {
    animation-play-state: paused;
}

@keyframes admissionTickerMove {
    from {
        transform: translateX(0);
    }

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

/* Tablet */

@media (max-width: 1100px) {
    .hero__leadership {
        right: 24px;
        width: 250px;
    }

    .hero-leader-card {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .hero-leader-card img {
        width: 54px;
        height: 54px;
    }

    .hero-leader-card strong {
        font-size: 0.9rem;
    }
}

/* Mobile */

@media (max-width: 760px) {
    .hero__leadership {
        position: relative;
        top: auto;
        right: auto;
        width: min(calc(100% - 32px), 430px);
        margin: 0 auto 30px;
        transform: none;
    }

    .hero__content {
        min-height: auto;
        padding-bottom: 48px;
    }

    .hero__scroll {
        display: none;
    }

    .admission-ticker__track a {
        gap: 14px;
        padding: 11px 20px;
        font-size: 0.74rem;
    }

    .admission-ticker__track strong {
        font-size: 0.66rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admission-ticker__track {
        animation: none;
    }
}

.section--light .section-title,
.section--cream .section-title {
    color: var(--maroon-dark);
}

