@font-face {
    font-family: "Adorsho Lipi";
    src: url("../fonts/adorsholipi.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

:root {
    --navy: #ff9a32;
    --navy-2: #994b17;
    --saffron: #e57022;
    --saffron-dark: #994b17;
    --saffron-soft: #f6ccb0;
    --cream: #fff5ed;
    --ink: #30241e;
    /* --muted: #68574e; */
    --muted: #070707;
    --line: #e8cdbb;
    --white: #fff;
    --shadow: 0 18px 55px rgba(76, 37, 11, .12);

    --font-en: "Segoe UI", Arial, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;

    --font-bengali:
        'Adorsho Lipi',
        'AdorshoLipi',
        'AdarshaLipi',
        'AdarshaLipiNormal',
        'Nirmala UI',
        sans-serif;

    /* Keep compatibility with old selectors */
    --font-bn: var(--font-bengali);
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--font-en);
    line-height: 1.68
}

body.nav-locked {
    overflow: hidden
}

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

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

button,
input,
textarea {
    font: inherit
}

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

.skip-link {
    position: fixed;
    top: -80px;
    left: 18px;
    z-index: 200;
    background: var(--navy);
    color: #fff;
    padding: 11px 16px
}

.skip-link:focus {
    top: 12px
}

.utility {
    background: var(--navy);
    color: #e8eef4;
    font-size: .8rem
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 7px 0
}

.utility a {
    color: #fff
}

.utility-contact {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap
}

.utility-contact i {
    font-style: normal;
    opacity: .7
}

.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e9edf0;
    box-shadow: 0 5px 22px rgba(23, 45, 69, .07);
    backdrop-filter: blur(12px)
}

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

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

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

.brand-text strong {
    display: block;
    max-width: 285px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.18rem;
    line-height: 1.08
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: var(--saffron-dark);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

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

.nav>a,
.nav-label>a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 8px;
    color: #24384e;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap
}

.nav>a:hover,
.nav-label>a:hover,
.nav>a[aria-current=page],
.nav-group.active .nav-label>a {
    color: var(--saffron-dark)
}

.nav-group {
    position: relative
}

.nav-label {
    display: flex;
    align-items: center
}

.submenu-toggle {
    display: grid;
    place-items: center;
    width: 18px;
    height: 38px;
    padding: 0;
    border: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer
}

.submenu-toggle::after {
    content: "▾";
    font-size: .65rem
}

.submenu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    display: none;
    width: max-content;
    min-width: 230px;
    padding: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--saffron);
    box-shadow: var(--shadow)
}

.submenu a {
    display: block;
    padding: 9px 12px;
    color: #405168;
    font-size: .79rem;
    font-weight: 600;
    white-space: nowrap
}

.submenu a:hover {
    color: var(--saffron-dark);
    background: var(--cream)
}

.nav-group:hover>.submenu,
.nav-group:focus-within>.submenu,
.nav-group.open>.submenu {
    display: block
}

.nav-cta {
    margin-left: 5px !important;
    padding-inline: 14px !important;
    color: #fff !important;
    background: var(--saffron);
    border-radius: 4px
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    color: var(--navy);
    background: #fff;
    font-size: 1.35rem;
    cursor: pointer
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(112deg, #fff7e8, #fff 55%, #edf3f7)
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(23, 45, 69, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 45, 69, .045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to right, #000, transparent 82%)
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 56px;
    min-height: 650px;
    padding: 75px 0
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--saffron-dark);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

.kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor
}

.hero h1,
.page-hero h1,
.section-heading h2 {
    font-family: var(--font-display);
    font-weight: 700
}

/* .hero h1 {
    max-width: 760px;
    margin: 17px 0 19px;
    color: var(--navy);
    font-size: clamp(2.7rem, 5vw, 4.55rem);
    line-height: 1.03;
    letter-spacing: -.035em
} */

.hero h1 {
    max-width: 760px;
    margin: 18px 0 32px;
    color: var(--navy);
    font-size: clamp(2.5rem, 5vw, 2.5rem);
    line-height: 1.30;
    letter-spacing: -.035em;
}

.hero h1 em {
    color: var(--saffron);
    font-style: normal
}

.hero-copy>p {
    max-width: 680px;
    color: #536579;
    font-size: 1.05rem
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-weight: 700
}

.button.saffron {
    background: var(--saffron)
}

.button.outline {
    border-color: var(--navy);
    background: transparent;
    color: var(--navy)
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
    color: var(--navy);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase
}

.trust-row span::before {
    content: "✓";
    margin-right: 7px;
    color: var(--saffron)
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: min(450px, 100%);
    aspect-ratio: 1;
    margin: auto
}

.hero-orbit {
    position: absolute;
    inset: 6%;
    border: 1px solid rgba(233, 130, 22, .35);
    border-radius: 50%;
    animation: spin 28s linear infinite
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--saffron);
    box-shadow: 0 0 0 7px rgba(233, 130, 22, .14)
}

.hero-orbit::before {
    top: 9%;
    right: 18%
}

.hero-orbit::after {
    bottom: 8%;
    left: 20%
}

.hero-logo-shell {
    position: relative;
    width: 72%;
    padding: 34px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 58%, #fff1d9);
    box-shadow: 0 28px 70px rgba(23, 45, 69, .18)
}

.hero-logo-shell img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain
}

.float-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 220px;
    padding: 13px 16px;
    border-left: 4px solid var(--saffron);
    background: #fff;
    box-shadow: 0 12px 38px rgba(23, 45, 69, .18)
}

.float-note strong {
    display: block;
    color: var(--navy);
    font-size: .86rem
}

.float-note small {
    color: var(--muted)
}

.float-note.one {
    left: -4%;
    bottom: 13%
}

.float-note.two {
    right: -5%;
    top: 18%;
    animation: float 4s ease-in-out infinite
}

.note-icon {
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--saffron-soft);
    color: var(--saffron-dark);
    font-weight: 700
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes float {
    50% {
        transform: translateY(-8px)
    }
}

.stats {
    background: var(--navy);
    color: #fff
}

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

.stat {
    padding: 26px 28px;
    border-right: 1px solid rgba(255, 255, 255, .13)
}

.stat:last-child {
    border-right: 0
}

.stat strong {
    display: block;
    color: #ffb65f;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1
}

.stat span {
    display: block;
    margin-top: 7px;
    font-size: .68rem;
    letter-spacing: .09em;
    text-transform: uppercase
}

.section {
    padding: clamp(70px, 8vw, 112px) 0
}

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

.section.navy {
    background: var(--navy);
    color: #fff
}

.section-heading {
    max-width: 730px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
    text-align: center
}

.section-heading.center {
    margin-inline: auto;
    text-align: center
}

.section-heading>span {
    color: var(--saffron-dark);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase
}

/* Shared client-required title format: H2 first, kicker underneath, both centred. */
h2,
.kicker {
    text-align: center;
}

.kicker {
    justify-content: center;
}

h2 + .kicker {
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.section-heading h2 {
    /* margin: 8px 0 12px;
    color: var(--navy);
    font-size: clamp(2.15rem, 4vw, 3.2rem);
    line-height: 1.13;
    letter-spacing: -.02em */
    margin: 8px 0 17px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 3.05rem);
    line-height: 1.13;
}

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

.navy .section-heading h2 {
    color: #fff
}

.navy .section-heading p {
    color: #bdcbd7
}

.feature-split {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: clamp(38px, 7vw, 90px)
}

.feature-split>* {
    min-width: 0
}

.feature-photo {
    position: relative;
    isolation: isolate;
    width: min(100%, 480px);
    justify-self: center
}

.feature-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border: 1px solid rgba(76, 37, 11, .14);
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    box-shadow: var(--shadow)
}

.feature-photo::before {
    content: "";
    position: absolute;
    inset: -12px 12px 12px -12px;
    z-index: -1;
    border-radius: 14px;
    background: var(--saffron-soft)
}

@media(max-width:820px) {
    .feature-photo {
        width: min(100%, 430px);
        margin-bottom: 6px
    }
}

@media(max-width:576px) {
    .feature-photo {
        width: min(100% - 12px, 380px)
    }

    .feature-photo::before {
        inset: -8px 8px 8px -8px
    }
}

.feature-copy h2 {
    margin: 8px 0 17px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 3.05rem);
    line-height: 1.13
}

.feature-copy p {
    color: var(--muted)
}

.signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 19px;
    border-top: 1px solid var(--line)
}

.signature b {
    display: block;
    color: var(--navy)
}

.number-badge {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--saffron);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem
}

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

.content-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    transition: .25s ease
}

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

.card-art {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 145px;
    padding: 22px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #315d80)
}

.card-art::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -25px;
    top: -30px;
    border: 18px solid rgba(255, 255, 255, .08);
    border-radius: 50%
}

.card-art span {
    font-family: var(--font-display);
    font-size: 2rem
}

.card-art b {
    position: relative;
    z-index: 1;
    color: #ffb65f;
    font-size: .68rem;
    letter-spacing: .1em
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px
}

.card-body h3 {
    margin: 0 0 9px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.35rem
}

.card-body p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .9rem
}

.text-link {
    margin-top: auto;
    color: var(--saffron-dark);
    font-size: .78rem;
    font-weight: 700
}

.journey-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px
}

.journey-main {
    position: relative;
    min-height: 480px;
    overflow: hidden
}

.journey-main img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.journey-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 80px 30px 28px;
    color: #fff;
    background: linear-gradient(transparent, rgba(8, 25, 42, .92))
}

.journey-overlay h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.8rem
}

.journey-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.journey-tile {
    position: relative;
    min-height: 230px;
    overflow: hidden
}

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

.journey-tile span {
    position: absolute;
    inset: auto 0 0;
    padding: 32px 15px 13px;
    color: #fff;
    background: linear-gradient(transparent, rgba(8, 25, 42, .9));
    font-weight: 700
}

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

.reason {
    position: relative;
    padding: 30px;
    background: #fff
}

.reason>span {
    color: #eadfce;
    font-family: var(--font-display);
    font-size: 2.6rem
}

.reason h3 {
    margin: 13px 0 9px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.3rem
}

.reason p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem
}

.notice-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 30px;
    border-left: 5px solid var(--saffron);
    background: #fff;
    box-shadow: 0 12px 34px rgba(23, 45, 69, .08)
}

.notice-panel h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.45rem
}

.notice-panel p {
    margin: 0;
    color: var(--muted)
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.media-box {
    padding: 29px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06)
}

.media-box h3 {
    margin-top: 0;
    font-family: var(--font-display);
    font-size: 1.45rem
}

.placeholder {
    display: grid;
    place-items: center;
    min-height: 175px;
    padding: 24px;
    border: 1px dashed rgba(255, 255, 255, .34);
    text-align: center;
    color: #bfd0dd;
    background: rgba(0, 0, 0, .09)
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    color: #fff;
    background: linear-gradient(120deg, var(--navy), #294e6c)
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -80px;
    top: -170px;
    border: 55px solid rgba(233, 130, 22, .16);
    border-radius: 50%
}

.breadcrumbs {
    position: relative;
    z-index: 1;
    color: #c7d4df;
    font-size: .82rem
}

.breadcrumbs a {
    color: #fff
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    margin: 9px 0 5px;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.05
}

.page-hero p {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: 0;
    color: #d6e0e8
}

.content-wrap {
    padding: 80px 0
}

.prose {
    max-width: 850px
}

.prose h2,
.content-title {
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.17
}

.lead {
    font-size: 1.1rem;
    color: #3d5166
}

.info-table {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--line)
}

table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top
}

th {
    color: #fff;
    background: var(--navy)
}

tr:last-child td {
    border-bottom: 0
}

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

.staff-card {
    padding: 18px;
    border-top: 3px solid var(--saffron);
    background: #fff;
    box-shadow: 0 8px 25px rgba(23, 45, 69, .07)
}

.staff-card strong {
    display: block;
    color: var(--navy)
}

.pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px
}

.pill {
    padding: 8px 13px;
    color: var(--navy);
    background: var(--saffron-soft);
    font-size: .8rem;
    font-weight: 700
}

.rules {
    counter-reset: rule;
    list-style: none;
    padding: 0
}

.rules li {
    position: relative;
    padding: 0 0 19px 48px;
    counter-increment: rule
}

.rules li::before {
    content: counter(rule);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: var(--saffron);
    font-weight: 700
}

.quote {
    padding: 24px;
    border-left: 4px solid var(--saffron);
    background: var(--cream)
}

.gallery-grid {
    columns: 3 290px;
    column-gap: 16px
}

.gallery-card {
    break-inside: avoid;
    margin: 0 0 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line)
}

.gallery-card img {
    width: 100%
}

.gallery-card figcaption {
    padding: 12px 14px;
    color: #415468;
    font-size: .85rem
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px
}

.contact-card {
    padding: 29px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(23, 45, 69, .07)
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc9d4;
    background: #fff
}

.field textarea {
    min-height: 140px;
    resize: vertical
}

.form-note {
    color: var(--muted);
    font-size: .8rem
}

.footer {
    position: relative;
    overflow: hidden;
    color: #c5d3de;
    background: linear-gradient(145deg, #101f30, #1b3952 68%, #214764);
    padding: 0 0 22px
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 34px 34px
}

.footer>.container {
    position: relative
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 35px 40px;
    color: #162c42;
    background: linear-gradient(115deg, #e98216, #f4aa4f)
}

.footer-cta>div {
    max-width: 730px
}

.footer-cta small {
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase
}

.footer-cta h2 {
    margin: 5px 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem)
}

.footer-cta p {
    margin: 0;
    color: #3c4c5b
}

.footer-cta .button {
    flex: none
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr .9fr 1.15fr;
    gap: 52px;
    padding-top: 68px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff
}

.footer-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: #fff
}

.footer-brand strong {
    display: block;
    max-width: 270px;
    font-family: var(--font-display);
    line-height: 1.2
}

.footer-brand span {
    display: block;
    margin-top: 4px;
    color: #ffb65f;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.footer-about p {
    max-width: 340px;
    color: #aebfcd
}

.footer h3 {
    margin: 0 0 21px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.15rem
}

.footer h3::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 9px;
    background: var(--saffron)
}

.footer-links {
    display: flex;
    flex-direction: column
}

.footer-links a {
    position: relative;
    padding: 6px 0 6px 14px;
    color: #c5d3de
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--saffron)
}

.footer-links a:hover {
    color: #fff
}

.footer-contact {
    display: grid;
    gap: 14px
}

.footer-contact a,
.footer-contact div {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: #d7e2ea;
    overflow-wrap: anywhere
}

.footer-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05)
}

.footer-contact small {
    display: block;
    color: #91a8ba;
    font-size: .63rem;
    letter-spacing: .11em;
    text-transform: uppercase
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 52px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #98adbd;
    font-size: .78rem
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.footer-meta i {
    width: 3px;
    height: 3px;
    margin-top: 9px;
    border-radius: 50%;
    background: #718da2
}

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

@media(max-width:1180px) {
    .menu-button {
        display: block
    }

    .nav {
        position: fixed;
        inset: 88px 18px auto;
        display: none;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        padding: 13px;
        background: #fff;
        border-top: 3px solid var(--saffron);
        box-shadow: var(--shadow)
    }

    .nav.open {
        display: block
    }

    .nav>a,
    .nav-label>a {
        padding: 11px 13px;
        white-space: normal
    }

    .nav-cta {
        margin: 7px 0 0 !important
    }

    .nav-group {
        display: block
    }

    .nav-label>a {
        flex: 1
    }

    .submenu-toggle {
        width: 44px;
        height: 44px
    }

    .submenu {
        position: static;
        width: auto;
        min-width: 0;
        margin: 0 8px 8px 18px;
        padding: 4px;
        border: 0;
        border-left: 2px solid var(--saffron);
        box-shadow: none
    }

    .nav-group:hover>.submenu {
        display: none
    }

    .nav-group.open>.submenu {
        display: block
    }

    .submenu a {
        white-space: normal
    }

    .brand {
        min-width: 0
    }

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

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

@media(max-width:820px) {
    .utility-inner span:last-child {
        display: none
    }

    .header-inner {
        min-height: 78px
    }

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

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

    .nav {
        inset-block-start: 78px
    }

    .hero-inner,
    .feature-split,
    .journey-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .hero-inner {
        padding: 60px 0 80px
    }

    .hero-visual {
        width: min(390px, 92%)
    }

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

    .stat:nth-child(2) {
        border-right: 0
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .13)
    }

    .reason-grid {
        grid-template-columns: 1fr 1fr
    }

    .journey-main {
        min-height: 390px
    }

    .footer-cta {
        margin-inline: 12px
    }

    .gallery-grid {
        columns: 2 250px
    }
}

@media(max-width:576px) {
    .faculty-page-content>.container {
        width: calc(100% - 28px);
        max-width: 100%
    }

    .faculty-directory>.section-heading h2 {
        font-size: 1.9rem;
        overflow-wrap: anywhere
    }

    .faculty-group-heading h3 {
        font-size: 1.15rem;
        line-height: 1.22
    }

    .container {
        width: min(100% - 28px, 1240px)
    }

    .utility {
        display: none
    }

    .header-inner {
        min-height: 72px
    }

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

    .brand-text strong {
        max-width: 225px;
        font-size: .9rem
    }

    .brand-text small {
        font-size: .55rem
    }

    .nav {
        inset: 72px 12px auto
    }

    .hero-inner {
        min-height: auto
    }

    .hero h1 {
        font-size: 2.65rem
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .button {
        width: 100%
    }

    .float-note {
        max-width: 185px;
        padding: 10px
    }

    .float-note.two {
        right: -2%
    }

    .float-note.one {
        left: -2%
    }

    .stats-grid,
    .card-grid,
    .reason-grid,
    .staff-grid,
    .media-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .13)
    }

    .stat:last-child {
        border-bottom: 0
    }

    .journey-side {
        grid-template-columns: 1fr
    }

    .journey-tile {
        min-height: 240px
    }

    .notice-panel {
        align-items: flex-start;
        flex-direction: column
    }

    .page-hero {
        padding: 58px 0
    }

    .content-wrap {
        padding: 55px 0
    }

    .gallery-grid {
        columns: 1
    }

    .field.full {
        grid-column: auto
    }

    .footer-cta {
        display: block;
        margin-inline: 0;
        padding: 28px 23px
    }

    .footer-cta .button {
        width: 100%;
        margin-top: 20px
    }

    .footer-grid {
        gap: 36px;
        padding-top: 50px
    }

    .copyright {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-about p {
        max-width: none
    }
}

/* Hidden About submenu items */
.submenu a[href$="principal-message.html"],
.submenu a[href$="school-profile.html"],
.submenu a[href$="school-history.html"],
.submenu a[href$="vision-mission.html"] {
    display: none
}

/* Academics page: About-style content structure */
.academics-content {
    background: linear-gradient(180deg, #fffaf5, #fff 30%, #fff8f1)
}

.academic-panel {
    min-width: 0;
    max-width: 100%;
    margin-bottom: clamp(44px, 6vw, 72px);
    padding-bottom: clamp(44px, 6vw, 72px);
    border-bottom: 1px solid var(--line)
}

.academic-panel:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0
}

.academic-panel>.section-heading {
    margin-bottom: clamp(30px, 4vw, 44px)
}

.academic-panel>.section-heading p {
    max-width: 820px;
    margin-inline: auto
}

.academic-panel>.info-table {
    margin-bottom: 0;
    box-shadow: 0 12px 34px rgba(76, 37, 11, .06)
}

.academic-pathways {
    padding: clamp(38px, 5vw, 58px);
    border: 1px solid var(--line);
    background: #fff1e5
}

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

.calendar-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--saffron);
    background: #fff;
    box-shadow: 0 10px 28px rgba(76, 37, 11, .07)
}

.calendar-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -35px;
    bottom: -35px;
    border: 16px solid var(--saffron-soft);
    border-radius: 50%
}

.calendar-card>span {
    color: var(--saffron-dark);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.calendar-card strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.75rem
}

.calendar-card p {
    margin: 3px 0 0;
    color: var(--muted)
}

.academic-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px
}

.academic-schedule-block {
    padding: 25px;
    border: 1px solid var(--line);
    background: #fff
}

.academic-schedule-block h3,
.surprise-test-panel h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.35rem
}

.academic-schedule-block ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none
}

.academic-schedule-block li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--line);
    color: var(--muted)
}

.academic-schedule-block li:last-child {
    padding-bottom: 0;
    border-bottom: 0
}

.academic-schedule-block li span {
    color: var(--ink);
    font-weight: 700
}

.surprise-test-panel {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: clamp(24px, 4vw, 48px);
    margin-top: 18px;
    padding: clamp(26px, 4vw, 42px);
    color: #fff;
    background: linear-gradient(135deg, var(--saffron-dark), #6f310f)
}

.surprise-test-panel>div>span {
    color: #ffd7ad;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.surprise-test-panel h3 {
    margin-top: 7px;
    color: #fff;
    font-size: 1.6rem
}

.surprise-test-panel p {
    margin: 10px 0 0;
    color: #f7dfca
}

.surprise-test-panel ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none
}

.surprise-test-panel li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .07)
}

.surprise-test-panel li b {
    color: #ffc98f;
    font-family: var(--font-display)
}

.surprise-test-panel li span {
    min-width: 0;
    font-size: .78rem;
    font-weight: 700
}

.surprise-test-panel li small {
    color: #f2ccb0;
    font-size: .68rem;
    font-weight: 500
}

.academic-calendar-note {
    margin: 18px 0 0;
    padding: 15px 18px;
    border-left: 4px solid var(--saffron);
    color: var(--muted);
    background: var(--cream)
}

/* Academic calendar tables */
.academic-calendar .section-heading {
    margin-bottom: 30px
}

.academic-table-wrap {
    width: 100%;
    margin-top: 24px;
    overflow-x: auto;
    border: 1px solid rgba(23, 50, 77, .16);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(48, 36, 30, .07);
    -webkit-overflow-scrolling: touch
}

.academic-table-wrap:focus-visible {
    outline: 3px solid rgba(229, 112, 34, .4);
    outline-offset: 3px
}

.academic-table {
    width: 100%;
    min-width: 760px;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff
}

.academic-table th,
.academic-table td {
    padding: 15px 16px;
    border: 1px solid rgba(23, 50, 77, .14);
    text-align: left;
    vertical-align: middle
}

.academic-table thead th {
    color: #fff;
    background: #17324d;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .025em
}

.academic-table thead th:first-child {
    width: 22%
}

.academic-table tbody th {
    color: var(--ink);
    font-weight: 700
}

.academic-table tbody td {
    color: var(--muted)
}

.academic-table tbody tr:nth-child(even) th,
.academic-table tbody tr:nth-child(even) td {
    background: #faf7f1
}

.academic-table .lang-bn,
.academic-table [lang="bn"] {
    font-family: var(--font-bengali) !important;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    word-spacing: normal;
    font-synthesis: none
}

.academic-table [lang="en"] {
    font-family: var(--font-en)
}

.surprise-test-block {
    margin-top: clamp(30px, 4vw, 46px);
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-top: 4px solid var(--saffron);
    background: #fffaf5
}

.surprise-test-heading>span {
    color: var(--saffron-dark);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.surprise-test-heading h3 {
    margin: 4px 0 8px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2rem)
}

.surprise-test-heading p {
    max-width: 900px;
    margin: 0;
    color: var(--muted)
}

.surprise-table {
    min-width: 520px
}

.surprise-table thead th:first-child,
.surprise-table tbody th {
    width: 48%
}

.academic-note {
    margin: 24px 0 0;
    padding: 18px 20px;
    border-left: 4px solid var(--saffron);
    color: var(--ink);
    background: #fff1e5
}

.academic-results h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem)
}

.academic-results .academic-table-wrap {
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 12px 34px rgba(76, 37, 11, .06)
}

.academic-results .academic-table-wrap:focus-visible {
    outline: 3px solid rgba(229, 112, 34, .4);
    outline-offset: 3px
}

.result-summary-table thead th:first-child {
    width: 16%
}

.client-toppers-table {
    min-width: 620px
}

.client-toppers-table thead th:first-child {
    width: 16%
}

.client-toppers-table thead th:nth-child(2) {
    width: 44%
}

.toppers-table {
    min-width: 820px
}

.toppers-table thead th:first-child {
    width: 12%
}

.toppers-block {
    margin-top: clamp(30px, 4vw, 46px)
}

.table-scroll-hint {
    display: none;
    margin: 0 0 -14px;
    color: var(--muted);
    font-size: .72rem;
    text-align: right
}

@media(max-width:820px) {
    .academic-calendar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .surprise-test-panel {
        grid-template-columns: 1fr
    }
}

@media(max-width:620px) {
    .academics-content>.container {
        width: calc(100% - 28px);
        max-width: 100%
    }

    .academic-panel>.section-heading h2 {
        font-size: 1.9rem;
        overflow-wrap: anywhere
    }

    .academic-panel {
        margin-bottom: 40px;
        padding-bottom: 40px
    }

    .table-scroll-hint {
        display: block;
        margin: 0 0 8px
    }

    .academic-table-wrap {
        margin-top: 16px
    }

    .academic-results .academic-table-wrap {
        margin-top: 0
    }

    .academic-pathways {
        padding: 28px 18px
    }

    .academic-calendar-grid,
    .academic-schedule-grid {
        grid-template-columns: 1fr
    }

    .academic-schedule-block li {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px
    }

    .surprise-test-panel ol {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

/* Student rules page */
.student-rules-content {
    background: linear-gradient(180deg, #fffaf5, #fff 32%, #fff8f1)
}

.student-rules-detail {
    min-width: 0
}

.student-rules-panel {
    position: relative;
    margin-bottom: clamp(42px, 5vw, 64px);
    padding: 0 0 clamp(38px, 5vw, 56px);
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none
}

.student-rules-panel::before {
    display: none
}

.student-rules-panel:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0
}

.student-rules-panel>.section-heading {
    margin-bottom: clamp(28px, 4vw, 40px);
    padding-bottom: 0;
    border-bottom: 0
}

.student-rules-panel>.section-heading h2 {
    margin-top: 7px;
    color: var(--navy)
}

.student-rules-panel>.section-heading p {
    max-width: 760px;
    margin: 10px auto 0;
    color: var(--muted)
}

.student-rules-list,
.student-subrules {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: student-rule
}

.student-rules-list>li,
.student-subrules>li {
    position: relative;
    min-height: 44px;
    margin: 0;
    padding: 14px 16px 14px 58px;
    border-bottom: 1px solid rgba(23, 50, 77, .11);
    color: var(--ink);
    background: #fff;
    line-height: 1.8
}

.student-rules-list>li:nth-child(even),
.student-subrules>li:nth-child(even) {
    background: #fff8f1
}

.student-rules-list>li::before,
.student-subrules>li::before {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    background: #17324d;
    font-family: var(--font-en);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1
}

.student-rules-list>li {
    counter-increment: student-rule
}

.student-rules-list>li::before {
    content: counter(student-rule)
}

.student-subrules {
    counter-reset: student-subrule;
    margin-top: 14px;
    border: 1px solid rgba(23, 50, 77, .12)
}

.student-subrules>li {
    counter-increment: student-subrule;
    padding-left: 56px
}

.student-subrules>li:last-child,
.student-rules-list>li:last-child {
    border-bottom: 0
}

.student-subrules>li::before {
    content: attr(data-label);
    color: #17324d;
    background: #f6ccb0;
    font-family: var(--font-bengali)
}

.student-rules-list>li>strong {
    display: block;
    margin-bottom: 4px;
    color: #17324d;
    font-weight: 700
}

.student-uniform-panel {
    background: transparent
}

.uniform-rules {
    margin-top: 0;
    border: 0;
    background: transparent
}

.uniform-rules>li {
    padding-left: 58px
}

.uniform-rules>li::before {
    color: #fff;
    background: #17324d
}

@media(max-width:620px) {
    .student-rules-panel {
        margin-bottom: 38px;
        padding: 0 0 34px
    }

    .student-rules-panel>.section-heading {
        margin-bottom: 22px
    }

    .student-rules-list>li,
    .student-subrules>li {
        padding: 13px 12px 13px 50px;
        line-height: 1.72
    }

    .student-rules-list>li::before,
    .student-subrules>li::before {
        top: 13px;
        left: 10px;
        width: 28px;
        height: 28px
    }
}

/* School prayer page */
.school-prayer-content {
    background: linear-gradient(180deg, #fffaf5, #fff 34%, #fff8f1)
}

.school-prayer-detail {
    min-width: 0
}

.prayer-panel {
    margin: 0 0 clamp(42px, 5vw, 64px);
    padding: 0 0 clamp(38px, 5vw, 56px);
    border-bottom: 1px solid var(--line)
}

.prayer-panel:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0
}

.prayer-panel>.section-heading {
    margin-bottom: clamp(26px, 4vw, 38px)
}

.prayer-panel>.section-heading>span {
    color: var(--saffron-dark)
}

.prayer-panel>.section-heading h2 {
    margin-top: 7px;
    color: var(--navy)
}

.prayer-verse {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(23, 50, 77, .14);
    border-top: 4px solid var(--saffron);
    background: #fff;
    box-shadow: 0 14px 38px rgba(76, 37, 11, .07);
    text-align: center
}

.prayer-verse::before {
    content: "“";
    position: absolute;
    top: 4px;
    left: 18px;
    color: rgba(229, 112, 34, .18);
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1
}

.prayer-verse p {
    position: relative;
    margin: 0 0 1.45em;
    color: var(--ink);
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.9
}

.prayer-verse p:last-child {
    margin-bottom: 0
}

.prayer-panel:nth-child(even) .prayer-verse {
    background: #fffaf5
}

@media(max-width:620px) {
    .prayer-panel {
        margin-bottom: 38px;
        padding-bottom: 34px
    }

    .prayer-verse {
        padding: 26px 16px 24px
    }

    .prayer-verse p {
        font-size: 17px;
        line-height: 1.85
    }
}

/* Mukul Medha Puraskar */
.mukul-award-content {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(229, 112, 34, .1), transparent 25rem),
        linear-gradient(180deg, #fffaf5, #fff 42%, #fff8f1)
}

.mukul-award-page,
.mukul-award-content .container,
.mukul-award-article,
.mukul-award-article section {
    min-width: 0;
    max-width: 100%
}

.mukul-award-article {
    min-width: 0;
    color: var(--ink);
    font-family: var(--font-bn)
}

.mukul-award-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: clamp(32px, 6vw, 82px);
    align-items: center;
    margin-bottom: clamp(42px, 6vw, 74px);
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(153, 75, 23, .16);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff 0%, #fff5e9 100%);
    box-shadow: 0 22px 65px rgba(76, 37, 11, .11)
}

.mukul-award-eyebrow,
.mukul-more-heading>span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--saffron-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em
}

.mukul-award-eyebrow::before {
    width: 34px;
    height: 2px;
    background: var(--saffron);
    content: ""
}

.mukul-award-heading h2 {
    margin: 14px 0 16px;
    color: #71380f;
    font-family: var(--font-bn);
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    line-height: 1.14;
    text-align: left !important
}

.mukul-award-heading>p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    line-height: 1.75;
    text-align: left !important
}

.mukul-award-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px
}

.mukul-award-meta span {
    padding: 8px 13px;
    border: 1px solid rgba(229, 112, 34, .22);
    border-radius: 999px;
    color: #71380f;
    background: rgba(255, 255, 255, .8);
    font-size: .85rem;
    font-weight: 700
}

.mukul-award-portrait {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: 0;
    overflow: hidden;
    justify-self: end;
    border: 1px solid rgba(112, 56, 15, .16);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(76, 37, 11, .14)
}

.mukul-award-portrait::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--saffron), #ffb05d);
    content: ""
}

.mukul-award-portrait img {
    width: 100%;
    height: clamp(310px, 35vw, 430px);
    object-fit: cover;
    object-position: center 23%
}

.mukul-award-portrait figcaption {
    position: relative;
    padding: 14px 18px 15px 34px;
    border-top: 1px solid rgba(112, 56, 15, .1);
    color: var(--muted);
    background: #fff;
    font-size: .87rem;
    line-height: 1.55;
    text-align: left !important
}

.mukul-award-portrait figcaption::before {
    position: absolute;
    top: 22px;
    left: 18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--saffron);
    content: ""
}

.mukul-award-story {
    max-width: 1120px;
    margin-inline: auto
}

.mukul-award-lead {
    max-width: 940px;
    margin: 0 auto clamp(32px, 5vw, 52px);
    color: #49372d;
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    line-height: 1.95;
    text-align: center !important
}

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

.mukul-prize-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(76, 37, 11, .08)
}

.mukul-prize-card-featured {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(145deg, #a54d17, #e57022)
}

.mukul-prize-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 14px;
    color: var(--saffron-dark);
    background: #fff0df;
    font-size: 1.25rem
}

.mukul-prize-card-featured .mukul-prize-icon {
    color: #fff;
    background: rgba(255, 255, 255, .18)
}

.mukul-prize-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-bn);
    font-size: 1.3rem;
    line-height: 1.35
}

.mukul-prize-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.72
}

.mukul-prize-card-featured p {
    color: rgba(255, 255, 255, .86)
}

.mukul-prize-amounts {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .2)
}

.mukul-prize-amounts strong {
    font-size: 1.28rem
}

.mukul-prize-amounts span {
    align-self: center;
    color: rgba(255, 255, 255, .76);
    font-size: .82rem
}

.mukul-prize-scale {
    display: grid;
    gap: 8px;
    margin-top: auto
}

.mukul-prize-scale span,
.mukul-single-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #68411f;
    background: #fff4e8;
    font-size: .86rem
}

.mukul-single-amount {
    margin-top: auto;
    padding: 14px
}

.mukul-single-amount strong {
    color: var(--saffron-dark);
    font-size: 1.35rem
}

.mukul-trust-note {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: clamp(32px, 5vw, 54px) 0;
    padding: 24px clamp(22px, 4vw, 38px);
    border-left: 5px solid var(--saffron);
    border-radius: 0 16px 16px 0;
    background: #fff1e3
}

.mukul-trust-note>span {
    color: var(--saffron);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: .7
}

.mukul-trust-note p {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.75
}

.mukul-more-awards {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.6fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: start;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 20px;
    color: #fff;
    background: #63330f
}

.mukul-more-heading h3 {
    margin: 10px 0 0;
    color: #fff;
    font-family: var(--font-bn);
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    line-height: 1.35
}

.mukul-more-heading>span {
    color: #ffc58d
}

.mukul-more-awards ul {
    display: grid;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none
}

.mukul-more-awards li {
    position: relative;
    padding-left: 32px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.75
}

.mukul-more-awards li::before {
    position: absolute;
    top: 5px;
    left: 0;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    color: #63330f;
    background: #ffc58d;
    content: "✓";
    font-family: var(--font-en);
    font-size: .72rem;
    font-weight: 700
}

@media(max-width:900px) {
    .mukul-award-intro {
        grid-template-columns: 1fr .75fr;
        gap: 28px
    }

    .mukul-award-prize-grid {
        grid-template-columns: 1fr 1fr
    }

    .mukul-prize-card-featured {
        grid-column: 1/-1
    }
}

@media(max-width:680px) {
    .mukul-award-page .page-hero h1 {
        font-size: 1.85rem;
        overflow-wrap: anywhere
    }

    .mukul-award-intro,
    .mukul-more-awards {
        grid-template-columns: 1fr
    }

    .mukul-award-intro {
        padding: 24px 18px
    }

    .mukul-award-heading h2,
    .mukul-award-heading>p {
        text-align: center !important
    }

    .mukul-award-heading h2 {
        font-size: clamp(2rem, 11vw, 3rem);
        overflow-wrap: anywhere
    }

    .mukul-award-eyebrow,
    .mukul-award-meta {
        justify-content: center
    }

    .mukul-award-portrait {
        width: min(100%, 390px);
        margin-inline: auto
    }

    .mukul-award-portrait img {
        height: clamp(280px, 105vw, 400px);
        object-position: center 20%
    }

    .mukul-award-prize-grid {
        grid-template-columns: 1fr
    }

    .mukul-prize-card-featured {
        grid-column: auto
    }

    .mukul-trust-note {
        align-items: flex-start
    }
}

/* Faculty and staff directory */
.faculty-page-content {
    background: linear-gradient(180deg, #fffaf5, #fff 28%, #fff8f1)
}

.faculty-directory,
.faculty-group,
.faculty-table-wrap {
    min-width: 0;
    max-width: 100%
}

.faculty-group {
    margin-bottom: clamp(34px, 5vw, 54px);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 14px 40px rgba(76, 37, 11, .07)
}

.faculty-group:last-child {
    margin-bottom: 0
}

.faculty-group-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff1e5
}

.faculty-group-heading>span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--saffron);
    font-family: var(--font-display);
    font-weight: 700
}

.faculty-group-heading p,
.faculty-group-heading h3 {
    margin: 0
}

.faculty-group-heading p {
    color: var(--saffron-dark);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.faculty-group-heading h3 {
    margin-top: 3px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    overflow-wrap: anywhere
}

.faculty-group-heading>strong {
    color: var(--muted);
    font-size: .76rem;
    white-space: nowrap
}

.faculty-table-wrap {
    width: 100%;
    overflow-x: auto
}

.faculty-table {
    min-width: 760px;
    table-layout: fixed
}

.faculty-table th,
.faculty-table td {
    padding: 13px 16px;
    background: #fff
}

.faculty-table thead th {
    color: #fff;
    background: var(--saffron-dark);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase
}

.faculty-table thead th:first-child,
.faculty-table tbody td:first-child {
    width: 66px;
    text-align: center
}

.faculty-table thead th:nth-child(2) {
    width: 29%
}

.faculty-table thead th:nth-child(3) {
    width: 31%
}

.faculty-table tbody th {
    color: var(--ink);
    font-weight: 700
}

.faculty-table tbody td {
    color: var(--muted);
    font-size: .88rem
}

.faculty-table tbody tr:nth-child(even) th,
.faculty-table tbody tr:nth-child(even) td {
    background: #fffaf5
}

.faculty-table-compact thead th:nth-child(2) {
    width: 42%
}

@media(max-width:900px) {
    .faculty-table-wrap {
        padding: 16px;
        overflow: visible;
        background: #fffaf5
    }

    .faculty-table {
        display: block;
        width: 100%;
        min-width: 0;
        background: transparent
    }

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

    .faculty-table tbody {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .faculty-table tbody tr {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-content: start;
        min-width: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-top: 3px solid var(--saffron);
        background: #fff;
        box-shadow: 0 7px 20px rgba(76, 37, 11, .06)
    }

    .faculty-table tbody tr:nth-child(even) th,
    .faculty-table tbody tr:nth-child(even) td {
        background: #fff
    }

    .faculty-table tbody td,
    .faculty-table tbody th {
        width: auto !important;
        padding: 0;
        border: 0;
        text-align: left
    }

    .faculty-table tbody td:first-child {
        grid-column: 1;
        grid-row: 1 / span 4;
        display: grid;
        place-items: center;
        align-self: stretch;
        width: 44px !important;
        color: #fff;
        background: var(--saffron) !important;
        font-family: var(--font-display);
        font-weight: 700
    }

    .faculty-table tbody th {
        grid-column: 2;
        padding: 15px 15px 10px;
        font-size: 1rem;
        line-height: 1.3
    }

    .faculty-table tbody td:not(:first-child) {
        grid-column: 2;
        padding: 8px 15px;
        border-top: 1px solid var(--line);
        line-height: 1.4
    }

    .faculty-table tbody td:not(:first-child)::before {
        display: block;
        margin-bottom: 2px;
        color: var(--saffron-dark);
        font-size: .59rem;
        font-weight: 700;
        letter-spacing: .09em;
        text-transform: uppercase
    }

    .faculty-table tbody td:nth-child(3)::before {
        content: "Qualification"
    }

    .faculty-table tbody td:nth-child(4)::before {
        content: "Designation / Role"
    }

    .faculty-table-compact tbody td:nth-child(3)::before {
        content: "Role"
    }

    .faculty-table tbody td:last-child {
        padding-bottom: 14px
    }
}

@media(max-width:576px) {
    .faculty-table-wrap {
        padding: 12px
    }

    .faculty-table tbody {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .faculty-directory>.section-heading {
        padding: 30px 18px
    }

    .faculty-group-heading {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        padding: 16px
    }

    .faculty-group-heading>span {
        width: 40px;
        height: 40px
    }

    .faculty-group-heading>strong {
        grid-column: 2
    }
}

/* Keep the faculty tables intact and horizontally scrollable on smaller screens. */
@media(max-width:900px) {
    .faculty-table-wrap {
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        background: #fff;
        -webkit-overflow-scrolling: touch
    }

    .faculty-table {
        display: table;
        width: 100%;
        min-width: 760px;
        table-layout: fixed;
        background: #fff
    }

    .faculty-table thead {
        position: static;
        display: table-header-group;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal
    }

    .faculty-table tbody {
        display: table-row-group
    }

    .faculty-table tbody tr {
        display: table-row;
        border: 0;
        background: #fff;
        box-shadow: none
    }

    .faculty-table tbody th,
    .faculty-table tbody td,
    .faculty-table tbody td:first-child,
    .faculty-table tbody td:not(:first-child) {
        display: table-cell;
        width: auto !important;
        padding: 13px 16px;
        border: inherit;
        color: var(--muted);
        background: #fff;
        font-family: inherit;
        font-size: .88rem;
        font-weight: 400;
        line-height: 1.5;
        text-align: left;
        vertical-align: middle
    }

    .faculty-table tbody th {
        color: var(--ink);
        font-weight: 700
    }

    .faculty-table thead th:first-child,
    .faculty-table tbody td:first-child {
        width: 66px !important;
        color: var(--muted);
        background: #fff !important;
        text-align: center
    }

    .faculty-table tbody td:not(:first-child)::before {
        content: none;
        display: none
    }

    .faculty-table tbody tr:nth-child(even) th,
    .faculty-table tbody tr:nth-child(even) td {
        background: #fffaf5
    }
}

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

    .hero-orbit,
    .float-note {
        animation: none
    }

    .content-card {
        transition: none
    }
}

/* Full-viewport original illustrated homepage banner */
.hero-banner {
    isolation: isolate;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(9, 25, 41, .9) 0%, rgba(13, 37, 58, .74) 38%, rgba(13, 37, 58, .25) 67%, rgba(13, 37, 58, .08) 100%), url('../images/banners/home-hero-original.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.hero-banner .hero-grid {
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    mask-image: linear-gradient(to right, #000, transparent 65%)
}

.hero-banner .hero-inner {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 119px);
    padding-block: clamp(70px, 10vh, 120px)
}

.hero-banner .hero-copy {
    max-width: 735px
}

.hero-banner h1 {
    color: #fff;
    text-shadow: 0 3px 28px rgba(0, 0, 0, .22)
}

.hero-banner h1 em {
    color: #ffb24e
}

.hero-banner .hero-copy>p {
    color: #eef4f7;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .28)
}

.hero-banner .kicker {
    color: #ffc16f
}

.hero-banner .button.outline {
    border-color: rgba(255, 255, 255, .78);
    color: #fff;
    background: rgba(13, 37, 58, .18);
    backdrop-filter: blur(4px)
}

.hero-banner .trust-row {
    color: #fff
}

.hero-banner .trust-row span::before {
    color: #ffb24e
}

@media(max-width:820px) {
    .hero-banner {
        background-position: 64% center
    }

    .hero-banner .hero-inner {
        min-height: calc(100svh - 109px);
        padding-block: 70px
    }

    .hero-banner .hero-copy {
        max-width: 650px
    }

    .hero-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, rgba(7, 22, 37, .88), rgba(7, 22, 37, .48))
    }
}

@media(max-width:576px) {
    body {
        overflow-x: hidden
    }

    .header-inner {
        gap: 8px
    }

    .brand {
        flex: 1 1 auto;
        width: calc(100% - 52px);
        gap: 9px
    }

    .brand-text {
        min-width: 0
    }

    .brand-text strong {
        max-width: 185px;
        font-size: .82rem
    }

    .brand-text small {
        font-size: .49rem;
        letter-spacing: .08em
    }

    .menu-button {
        flex: 0 0 44px
    }

    .hero-banner {
        background-position: 70% center
    }

    .hero-banner .hero-inner {
        min-height: calc(100svh - 72px);
        padding-block: 58px
    }

    .hero-banner .hero-copy {
        width: 100%;
        min-width: 0
    }

    .hero-banner h1 {
        max-width: 100%;
        font-size: clamp(1.9rem, 9vw, 2.4rem);
        overflow-wrap: anywhere;
        word-break: normal
    }

    .hero-banner h1 em {
        display: block
    }

    .hero-banner .hero-copy>p {
        max-width: 100%;
        font-size: .94rem
    }

    .hero-banner .trust-row {
        max-width: 100%;
        gap: 10px 14px
    }

    .hero-banner .trust-row span {
        white-space: nowrap
    }
}

/* Image-led academic pathway system */
.pathway-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px
}

.pathway-card {
    grid-column: span 2;
    overflow: hidden
}

.pathway-card.featured {
    grid-column: span 3
}

.pathway-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform .45s ease
}

.pathway-card:hover .pathway-image {
    transform: scale(1.035)
}

.pathway-card .card-body {
    position: relative
}

.pathway-label {
    display: inline-flex;
    width: max-content;
    margin: -38px 0 16px;
    padding: 7px 11px;
    color: #fff;
    background: var(--saffron);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(103, 54, 5, .2)
}

.pathway-card h3 {
    font-size: 1.55rem
}

.pathway-card.featured h3 {
    font-size: 1.75rem
}

@media(max-width:900px) {
    .pathway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .pathway-card,
    .pathway-card.featured {
        grid-column: span 1
    }

    .pathway-card:last-child {
        grid-column: 1/-1
    }

    .pathway-card:last-child .pathway-image {
        aspect-ratio: 2/1
    }
}

@media(max-width:576px) {
    .pathway-grid {
        grid-template-columns: 1fr
    }

    .pathway-card,
    .pathway-card.featured,
    .pathway-card:last-child {
        grid-column: auto
    }

    .pathway-card:last-child .pathway-image {
        aspect-ratio: 16/10
    }
}

/* Responsive image gallery and Student Journeys */
.journey-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    max-width: none
}

.journey-heading>div {
    max-width: 730px
}

.gallery-page-link {
    flex: none;
    padding-bottom: 5px
}

.journey-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
    gap: 18px
}

.journey-main,
.journey-tile {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #132b40;
    box-shadow: 0 12px 30px rgba(23, 45, 69, .12)
}

.journey-main {
    aspect-ratio: 16/10
}

.journey-main img,
.journey-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

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

.journey-tile {
    aspect-ratio: 4/3
}

.journey-overlay,
.journey-tile span {
    z-index: 1
}

.gallery-lightbox-link::after,
.gallery-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(6, 22, 36, .28));
    opacity: .55;
    transition: opacity .3s ease
}

.gallery-lightbox-link:hover img,
.gallery-lightbox-link:focus-visible img,
.gallery-link:hover img,
.gallery-link:focus-visible img {
    transform: scale(1.045)
}

.gallery-lightbox-link:hover::after,
.gallery-lightbox-link:focus-visible::after,
.gallery-link:hover::after,
.gallery-link:focus-visible::after {
    opacity: 1
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
    columns: auto
}

.gallery-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 45, 69, .08);
    break-inside: auto
}

.gallery-card--featured {
    grid-column: span 2;
    grid-row: span 2
}

.gallery-link {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e7edf1
}

.gallery-card--featured .gallery-link {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto
}

.gallery-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.gallery-overlay {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    color: #fff;
    background: rgba(9, 29, 45, .72);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(4px)
}

.gallery-link:hover .gallery-overlay,
.gallery-link:focus-visible .gallery-overlay {
    opacity: 1;
    transform: none
}

.gallery-card figcaption {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 15px;
    color: #30475c;
    font-size: .84rem;
    font-weight: 700
}

.gallery-card--featured figcaption {
    font-family: var(--font-display);
    font-size: 1.08rem
}

.fancybox__caption {
    font-family: var(--font-body);
    font-weight: 600
}

@media(max-width:1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:820px) {
    .journey-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px
    }

    .journey-grid {
        grid-template-columns: 1fr
    }

    .journey-main {
        aspect-ratio: 16/9
    }

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

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

    .gallery-card--featured {
        grid-column: 1/-1;
        grid-row: auto
    }

    .gallery-card--featured .gallery-link {
        aspect-ratio: 16/9
    }

    .gallery-overlay {
        opacity: 1;
        transform: none
    }
}

@media(max-width:520px) {
    .journey-side {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .journey-main {
        aspect-ratio: 4/3
    }

    .journey-tile {
        aspect-ratio: 16/10
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

    .gallery-card--featured {
        grid-column: auto
    }

    .gallery-card--featured .gallery-link,
    .gallery-link {
        aspect-ratio: 4/3
    }

    .gallery-card figcaption {
        min-height: 0
    }

    .gallery-overlay {
        right: 10px;
        bottom: 10px
    }
}

@media(hover:none) {

    .gallery-lightbox-link:hover img,
    .gallery-link:hover img {
        transform: none
    }
}

@media(prefers-reduced-motion:reduce) {

    .journey-main img,
    .journey-tile img,
    .gallery-card img,
    .gallery-overlay,
    .gallery-lightbox-link::after,
    .gallery-link::after {
        transition: none
    }
}

/* Homepage Student Journeys slider */
.journey-slider {
    position: relative;
    min-width: 0
}

.journey-track {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    border-radius: 10px
}

.journey-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start
}

.journey-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px
}

.journey-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 7px 20px rgba(23, 45, 69, .09);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease
}

.journey-arrow:hover,
.journey-arrow:focus-visible {
    color: #fff;
    background: var(--navy);
    transform: translateY(-2px)
}

.journey-dots {
    display: flex;
    align-items: center;
    gap: 8px
}

.journey-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #c4ced6;
    cursor: pointer;
    transition: width .25s ease, background .25s ease
}

.journey-dot.active {
    width: 28px;
    background: var(--saffron)
}

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

@media(max-width:820px) {
    .journey-track {
        border-radius: 8px
    }

    .journey-controls {
        margin-top: 18px
    }
}

@media(max-width:520px) {
    .journey-arrow {
        width: 40px;
        height: 40px
    }

    .journey-slide {
        align-content: start
    }
}

@media(prefers-reduced-motion:reduce) {
    .journey-track {
        scroll-behavior: auto
    }

    .journey-arrow,
    .journey-dot {
        transition: none
    }
}

/* Equal-size gallery cards */
.journey-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch
}

.journey-side {
    display: contents
}

.journey-main,
.journey-tile {
    width: 100%;
    aspect-ratio: 4/3
}

.journey-overlay,
.journey-tile span {
    inset: auto 0 0;
    padding: 45px 16px 15px
}

.journey-overlay small {
    font-size: .62rem
}

.journey-overlay h3 {
    margin: 4px 0 0;
    font-size: 1rem;
    line-height: 1.25
}

.gallery-card--featured {
    grid-column: auto;
    grid-row: auto
}

.gallery-card--featured .gallery-link,
.gallery-link {
    aspect-ratio: 4/3
}

.gallery-card--featured figcaption,
.gallery-card figcaption {
    min-height: 54px;
    font-family: var(--font-body);
    font-size: .84rem
}

@media(max-width:1180px) {
    .journey-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:820px) {
    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .journey-main,
    .journey-tile {
        aspect-ratio: 4/3
    }

    .gallery-card--featured {
        grid-column: auto
    }

    .gallery-card--featured .gallery-link {
        aspect-ratio: 4/3
    }
}

@media(max-width:520px) {
    .journey-grid {
        grid-template-columns: 1fr
    }

    .journey-main,
    .journey-tile {
        aspect-ratio: 16/10
    }

    .gallery-card--featured .gallery-link,
    .gallery-link {
        aspect-ratio: 4/3
    }
}

/* Center-focused Student Journeys carousel */
.journey-showcase {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    outline: none
}

.journey-stage {
    position: relative;
    height: clamp(350px, 32vw, 440px);
    isolation: isolate
}

.journey-card {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: clamp(225px, 21vw, 290px);
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 13px;
    background: #173047;
    box-shadow: 0 16px 38px rgba(14, 37, 56, .16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -46%) scale(.72);
    transition: transform .5s cubic-bezier(.22, .75, .28, 1), width .5s cubic-bezier(.22, .75, .28, 1), opacity .4s ease, filter .4s ease, box-shadow .4s ease
}

.journey-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.journey-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(7, 23, 37, .9));
    opacity: .7;
    transition: opacity .4s ease
}

.journey-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 46px 18px 17px;
    color: #fff;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity .35s ease, transform .35s ease
}

.journey-card-caption small {
    display: block;
    margin-bottom: 5px;
    color: #ffc271;
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .13em
}

.journey-card-caption strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.32rem);
    line-height: 1.15
}

.journey-card.is-active {
    z-index: 5;
    width: clamp(430px, 36vw, 500px);
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -54%) scale(1);
    box-shadow: 0 26px 58px rgba(14, 37, 56, .28)
}

.journey-card.is-active .journey-card-caption {
    opacity: 1;
    transform: none
}

.journey-card.is-prev,
.journey-card.is-next {
    z-index: 4;
    width: clamp(320px, 28vw, 390px);
    opacity: .9;
    pointer-events: auto;
    filter: saturate(.82)
}

.journey-card.is-prev {
    transform: translateX(calc(-50% - clamp(280px, 27vw, 375px))) translateY(-48%) scale(.9)
}

.journey-card.is-next {
    transform: translateX(calc(-50% + clamp(280px, 27vw, 375px))) translateY(-48%) scale(.9)
}

.journey-card.is-far-prev,
.journey-card.is-far-next {
    z-index: 2;
    opacity: .62;
    pointer-events: auto;
    filter: saturate(.65)
}

.journey-card.is-far-prev {
    transform: translateX(calc(-50% - clamp(480px, 43vw, 595px))) translateY(-44%) scale(.78)
}

.journey-card.is-far-next {
    transform: translateX(calc(-50% + clamp(480px, 43vw, 595px))) translateY(-44%) scale(.78)
}

.journey-card.is-hidden {
    z-index: 0;
    visibility: hidden
}

.journey-card:hover img,
.journey-card:focus-visible img {
    transform: scale(1.035)
}

.journey-card:focus-visible {
    outline: 3px solid #ffb65f;
    outline-offset: 4px
}

.journey-showcase .journey-controls {
    position: relative;
    z-index: 8;
    margin-top: 4px
}

.journey-showcase .journey-arrow {
    display: inline-flex;
    width: auto;
    min-width: 118px;
    height: 44px;
    gap: 9px;
    padding: 0 17px;
    border-radius: 5px;
    font-size: .9rem;
    font-weight: 700
}

.journey-status {
    min-width: 62px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums
}

@media(max-width:1199px) {
    .journey-stage {
        height: 390px
    }

    .journey-card.is-active {
        width: clamp(390px, 42vw, 455px)
    }

    .journey-card.is-prev,
    .journey-card.is-next {
        width: clamp(280px, 31vw, 340px)
    }

    .journey-card.is-prev {
        transform: translateX(calc(-50% - clamp(235px, 27vw, 310px))) translateY(-48%) scale(.88)
    }

    .journey-card.is-next {
        transform: translateX(calc(-50% + clamp(235px, 27vw, 310px))) translateY(-48%) scale(.88)
    }

    .journey-card.is-far-prev {
        transform: translateX(calc(-50% - clamp(410px, 44vw, 500px))) translateY(-44%) scale(.72)
    }

    .journey-card.is-far-next {
        transform: translateX(calc(-50% + clamp(410px, 44vw, 500px))) translateY(-44%) scale(.72)
    }
}

@media(max-width:991px) {
    .journey-stage {
        height: 350px
    }

    .journey-card.is-active {
        width: clamp(390px, 58vw, 480px)
    }

    .journey-card.is-prev,
    .journey-card.is-next {
        z-index: 3;
        width: clamp(245px, 34vw, 300px);
        opacity: .68
    }

    .journey-card.is-prev {
        transform: translateX(calc(-50% - 34vw)) translateY(-47%) scale(.82)
    }

    .journey-card.is-next {
        transform: translateX(calc(-50% + 34vw)) translateY(-47%) scale(.82)
    }

    .journey-card.is-far-prev,
    .journey-card.is-far-next {
        visibility: hidden;
        opacity: 0;
        pointer-events: none
    }
}

@media(max-width:767px) {
    .journey-stage {
        height: clamp(255px, 72vw, 365px)
    }

    .journey-card,
    .journey-card.is-active {
        top: 50%;
        width: min(calc(100% - 8px), 560px);
        aspect-ratio: 16/10;
        transform: translate(-50%, -50%) scale(1)
    }

    .journey-card.is-prev,
    .journey-card.is-next,
    .journey-card.is-far-prev,
    .journey-card.is-far-next {
        visibility: hidden;
        opacity: 0;
        pointer-events: none
    }

    .journey-showcase .journey-controls {
        gap: 10px;
        margin-top: 14px
    }

    .journey-showcase .journey-arrow {
        min-width: 104px;
        height: 42px;
        padding-inline: 14px
    }

    .journey-status {
        min-width: 52px
    }
}

@media(max-width:380px) {
    .journey-showcase .journey-arrow {
        min-width: 44px
    }

    .journey-showcase .journey-arrow span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important
    }

    .journey-status {
        min-width: 46px
    }
}

@media(prefers-reduced-motion:reduce) {

    .journey-card,
    .journey-card img,
    .journey-card::after,
    .journey-card-caption {
        transition: none
    }
}

/* Student success carousel */
.success-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    max-width: none
}

.success-heading>div {
    max-width: 730px
}

.success-controls {
    display: flex;
    flex: none;
    gap: 9px
}

.success-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 7px 20px rgba(23, 45, 69, .08);
    font-size: 1.05rem;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, opacity .2s ease
}

.success-controls button:hover:not(:disabled),
.success-controls button:focus-visible {
    color: #fff;
    background: var(--navy)
}

.success-controls button:disabled {
    opacity: .35;
    cursor: not-allowed
}

.success-slider {
    min-width: 0;
    overflow: hidden
}

.success-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 3px 2px 24px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.success-track::-webkit-scrollbar {
    display: none
}

.success-card {
    display: flex;
    flex: 0 0 calc((100% - 44px)/3);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(23, 45, 69, .08);
    scroll-snap-align: start
}

.success-photo {
    position: relative;
    flex: 0 0 42%;
    min-height: 275px;
    overflow: hidden;
    background: #dce5eb
}

.success-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.success-card:hover .success-photo img {
    transform: scale(1.035)
}

.success-photo span {
    position: absolute;
    left: 9px;
    bottom: 9px;
    padding: 5px 7px;
    border-radius: 3px;
    color: #fff;
    background: rgba(8, 27, 43, .74);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase
}

.success-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 22px 18px
}

.success-year {
    color: var(--saffron-dark);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.success-body h3 {
    margin: 7px 0 15px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.13
}

.success-body dl {
    display: grid;
    gap: 7px;
    margin: 0
}

.success-body dl div {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
    font-size: .76rem
}

.success-body dt {
    color: var(--muted)
}

.success-body dd {
    margin: 0;
    color: #30475c;
    font-weight: 700
}

.success-body>p {
    margin: auto 0 0;
    padding-top: 15px;
    color: var(--navy);
    font-size: .77rem;
    font-weight: 700
}

@media(max-width:1100px) {
    .success-card {
        flex-basis: calc((100% - 22px)/2)
    }
}

@media(max-width:760px) {
    .success-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }

    .success-card {
        flex-basis: min(88%, 430px)
    }

    .success-photo {
        min-height: 250px
    }
}

@media(max-width:520px) {
    .success-track {
        gap: 14px
    }

    .success-card {
        flex-basis: 100%;
        flex-direction: column
    }

    .success-photo {
        flex-basis: auto;
        min-height: 0;
        aspect-ratio: 16/10
    }

    .success-body {
        min-height: 245px
    }

    .success-controls button {
        width: 42px;
        height: 42px
    }
}

@media(prefers-reduced-motion:reduce) {
    .success-track {
        scroll-behavior: auto
    }

    .success-photo img,
    .success-controls button {
        transition: none
    }
}

/* Demo spiritual and school media */
.media-box {
    position: relative;
    overflow: hidden
}

.media-box>h3 {
    padding-right: 105px
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 5px 8px;
    border: 1px solid rgba(255, 182, 95, .42);
    border-radius: 999px;
    color: #ffd29d;
    background: rgba(233, 130, 22, .13);
    font-size: .57rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.media-box>.demo-badge {
    position: absolute;
    top: 28px;
    right: 28px
}

.audio-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px 0 18px
}

.media-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 50%;
    color: #172f47;
    background: linear-gradient(135deg, #ffb45b, #e98216);
    font-family: var(--font-display);
    font-size: 1.45rem
}

.audio-item strong,
.audio-item span {
    display: block
}

.audio-item strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem
}

.audio-item span {
    margin-top: 3px;
    color: #aebfcd;
    font-size: .76rem
}

.media-audio {
    display: block;
    width: 100%;
    height: 44px;
    border-radius: 6px;
    filter: sepia(.08) saturate(.8)
}

.media-note {
    margin: 14px 0 0;
    color: #91a8ba;
    font-size: .72rem
}

.demo-video {
    position: relative;
    aspect-ratio: 16/9;
    margin-top: 23px;
    overflow: hidden;
    border-radius: 7px;
    background: #071826
}

.demo-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 20, 33, .05), rgba(5, 20, 33, .82))
}

.demo-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.demo-video:hover img {
    transform: scale(1.025)
}

.demo-video>.demo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2
}

.demo-video-play {
    position: absolute;
    left: 50%;
    top: 46%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding-left: 4px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 50%;
    color: #fff;
    background: rgba(233, 130, 22, .9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%)
}

.demo-video-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff
}

.demo-video strong,
.demo-video small {
    display: block
}

.demo-video strong {
    font-family: var(--font-display);
    font-size: 1.13rem
}

.demo-video small {
    margin-top: 2px;
    color: #cfdae2
}

@media(max-width:576px) {
    .media-box>h3 {
        padding-right: 0
    }

    .media-box>.demo-badge {
        position: static;
        margin-bottom: 2px
    }

    .audio-item {
        margin-top: 18px
    }

    .demo-video {
        margin-top: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    .demo-video img {
        transition: none
    }
}

.media-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: #071826
}

.media-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.video-embed {
    aspect-ratio: 16/9;
    margin-top: 23px
}

.audio-embed {
    aspect-ratio: 16/7;
    margin-top: 4px
}

@media(max-width:576px) {
    .audio-embed {
        aspect-ratio: 16/9
    }
}

/* Keep desktop submenus connected to their parent trigger */

/* Reference palette: rkmabaranagore.org — orange, peach and dark red. */
/* Image banners and dedicated submenu pages */
.page-hero.inner-banner {
    isolation: isolate;
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 75px 0;
    background: #4c250b
}

.inner-banner .inner-banner-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%
}

.page-hero.inner-banner::after {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(48, 23, 8, .9), rgba(76, 37, 11, .65) 55%, rgba(76, 37, 11, .25))
}

.inner-banner h1 {
    color: #fff
}

.inner-banner p,
.inner-banner .breadcrumbs {
    color: #fff5ed
}

.inner-banner .container {
    min-width: 0
}

.inner-banner h1 {
    overflow-wrap: break-word
}

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

.detail-sidebar {
    display: none
}

.detail-sidebar nav {
    display: grid
}

.detail-sidebar a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    color: #4c250b;
    font-weight: 600
}

.detail-sidebar a:last-child {
    border: 0
}

.detail-sidebar a:hover,
.detail-sidebar a[aria-current=page] {
    background: var(--saffron-soft)
}

.detail-content {
    min-width: 0
}

.detail-content>.section {
    padding: 0
}

.detail-content>.soft {
    padding: 25px;
    border-radius: 10px
}

.detail-content .feature-split,
.detail-content.feature-split {
    gap: 28px
}

.detail-content .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.detail-content .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.detail-content h2,
.detail-content h3 {
    color: #ff9a32
}

.detail-content>.content-card {
    transform: none;
    box-shadow: none
}

.detail-content .card-art {
    height: 100px
}

@media(max-width:900px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .detail-sidebar {
        position: static
    }

    .detail-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:576px) {
    .page-hero.inner-banner {
        min-height: 270px;
        padding: 48px 0
    }

    .detail-sidebar nav,
    .detail-content .card-grid,
    .detail-content .reason-grid {
        grid-template-columns: 1fr
    }

    .detail-content>.soft {
        padding: 18px
    }

    .inner-banner h1 {
        font-size: 2.4rem
    }
}

/* Local vector icons: consistent rendering without icon fonts or CDNs. */
.ui-icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex: none;
    vertical-align: -.18em;
    overflow: visible
}

.button {
    gap: 9px
}

.text-link .ui-icon {
    margin-left: 5px
}

.menu-button {
    line-height: 1;
    color: #4c250b
}

.menu-button .ui-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle
}

.footer-icon {
    color: #f6ccb0;
    line-height: 1
}

.footer-icon .ui-icon {
    width: 20px;
    height: 20px
}

.footer-contact .footer-icon {
    display: grid;
    grid-template-columns: none;
    place-items: center
}

.journey-arrow,
.success-controls button {
    color: #4c250b
}

.journey-arrow .ui-icon,
.success-controls .ui-icon {
    width: 20px;
    height: 20px
}

.media-symbol .ui-icon {
    width: 26px;
    height: 26px
}

.submenu-toggle {
    color: #4c250b
}

.submenu-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px
}

.submenu-toggle[aria-expanded=true]::after {
    transform: rotate(225deg);
    margin-top: 4px
}

.trust-row span::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 6px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    vertical-align: 3px
}

.header {
    background: #fff5ed;
    border-bottom-color: var(--line)
}

.utility {
    background: var(--saffron-soft);
    color: #4c250b
}

.utility a {
    color: #4c250b
}

.nav>a,
.nav-label>a,
.submenu a {
    color: #4c250b
}

.nav>a:hover,
.nav-label>a:hover,
.submenu a:hover,
.nav>a[aria-current=page] {
    color: var(--navy)
}

.button.saffron,
.nav-cta {
    color: #301708 !important;
    background: var(--saffron)
}

.pathway-label {
    color: #301708;
    background: var(--saffron-soft)
}

.hero-banner {
    background-image: linear-gradient(90deg, rgba(48, 20, 8, .92), rgba(76, 37, 11, .75) 38%, rgba(76, 37, 11, .25) 67%, rgba(76, 37, 11, .08)), url('../images/banners/home-hero-original.jpg')
}

.hero-banner h1 em,
.hero-banner .kicker,
.hero-banner .trust-row span::before,
.stat strong {
    color: #f6ccb0
}

.hero-banner .hero-copy>p {
    color: #fff5ed
}

.hero-banner .button.outline {
    background: rgba(76, 37, 11, .2)
}

.page-hero,
.card-art {
    background: linear-gradient(120deg, #ff9a32, #994b17)
}

.page-hero p,
.breadcrumbs,
.navy .section-heading p,
.placeholder {
    color: #f6ccb0
}

.feature-copy p,
.hero-copy>p,
.lead {
    color: var(--muted)
}

.gallery-card figcaption,
.success-body dd,
.submenu a {
    color: #4c250b
}

.footer {
    color: #f6ccb0;
    background: linear-gradient(145deg, #4c250b, #701b0d 68%, #ff9a32)
}

.footer-cta {
    color: #4c250b;
    background: linear-gradient(115deg, #e57022, #f6ccb0)
}

.footer-cta p {
    color: #4c250b
}

.footer-brand span {
    color: #f6ccb0
}

.footer-about p,
.footer-links a,
.footer-contact a,
.footer-contact div {
    color: #f6ccb0
}

.footer-contact small,
.copyright {
    color: #eeb188
}

.footer-meta i {
    background: #eeb188
}

.audio-item span,
.media-note {
    color: #f6ccb0
}

.media-symbol {
    color: #4c250b;
    background: linear-gradient(135deg, #f6ccb0, #e57022)
}

.success-controls button:hover:not(:disabled),
.journey-arrow:hover {
    background: var(--navy)
}

:focus-visible {
    outline-color: #994b17
}

.navy :focus-visible,
.footer :focus-visible {
    outline-color: #f6ccb0
}

@media(max-width:820px) {
    .hero-banner::after {
        background: linear-gradient(90deg, rgba(48, 20, 8, .88), rgba(48, 20, 8, .48))
    }
}

@media(min-width:1181px) {
    .nav-group>.submenu {
        top: 100%
    }

    .nav-group::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 3px
    }
}

/* =========================================================
   SPIRITUAL AUDIO + SCHOOL VIDEO
   ========================================================= */

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.media-box {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.media-box-header {
    margin-bottom: 24px;
}

.media-box h3 {
    margin: 5px 0 0;
    color: #fff;
}

.media-label {
    display: inline-block;
    color: #ffb45b;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   AUDIO
   ========================================================= */

.audio-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.media-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #172f47;
    background: linear-gradient(135deg, #ffb45b, #e98216);
    font-family: var(--font-display);
    font-size: 1.5rem;
    box-shadow: 0 8px 22px rgba(233, 130, 22, 0.22);
}

.audio-content strong,
.audio-content span {
    display: block;
}

.audio-content strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.audio-content span {
    margin-top: 4px;
    color: #aebfcd;
    font-size: 0.78rem;
}


/* Native HTML5 audio player */

.audio-player {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: rgba(5, 20, 33, 0.75);
}

.audio-player audio {
    display: block;
    width: 100%;
    height: 42px;
}


/* =========================================================
   YOUTUBE VIDEO
   ========================================================= */

.media-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: #071826;
}

.video-embed {
    aspect-ratio: 16 / 9;
}

.media-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.media-note {
    margin: 14px 0 0;
    color: #91a8ba;
    font-size: 0.74rem;
    line-height: 1.6;
}


/* =========================================================
   HOVER
   ========================================================= */

.audio-box,
.video-box {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.audio-box:hover,
.video-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 180, 91, 0.24);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .media-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .media-box {
        padding: 26px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .media-box {
        padding: 20px;
        border-radius: 12px;
    }

    .media-grid {
        gap: 18px;
    }

    .audio-item {
        gap: 12px;
        margin-bottom: 18px;
    }

    .media-symbol {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .audio-player {
        padding: 12px;
    }

    .audio-player audio {
        height: 40px;
    }

    .video-embed {
        aspect-ratio: 16 / 9;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .audio-box,
    .video-box {
        transition: none;
    }

}

/* Head of Institution message photograph */
.hoi-message-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(35, 23, 14, .14)
}

.hoi-message-layout {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.35fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start
}

.hoi-message-copy {
    min-width: 0
}

.hoi-message-copy h3 {
    margin: 0 0 16px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem)
}

.hoi-message-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover
}

.hoi-message-image figcaption {
    padding: 14px 18px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center
}

.gallery-media-section {
    max-width: 980px;
    margin: clamp(64px, 8vw, 100px) auto 0
}

.gallery-media-section .section-heading {
    margin-bottom: 28px
}

.gallery-media-section .video-embed {
    margin-top: 0;
    box-shadow: 0 20px 55px rgba(23, 45, 69, .18)
}

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

.school-video-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(23, 45, 69, .1)
}

.school-video-card .video-embed {
    margin-top: 0;
    border: 0;
    border-radius: 0
}

.school-video-copy {
    padding: 22px 24px 26px
}

.school-video-copy > span {
    color: var(--saffron-dark);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.school-video-copy h3 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.45rem
}

.school-video-copy p {
    margin: 0;
    color: var(--muted)
}

.school-video-placeholder-visual {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--navy), #234b69);
    color: #fff
}

.school-video-placeholder-visual span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding-left: 4px;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    font-size: 1.45rem
}

@media (max-width: 1050px) {
    .school-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 700px) {
    .school-video-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 760px) {
    .hoi-message-layout {
        grid-template-columns: 1fr
    }
}

/* Science stream: subject content with supporting image */
.science-program {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
    align-items: start;
    gap: clamp(30px, 5vw, 58px)
}

.science-program .section-heading {
    max-width: 680px;
    margin-bottom: 28px
}

.science-subject-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: science-subject
}

.science-subject-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    min-height: 66px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.science-subject-list li:hover {
    border-color: var(--saffron);
    transform: translateX(4px);
    box-shadow: 0 9px 24px rgba(76, 37, 11, .08)
}

.subject-number {
    display: grid;
    align-self: stretch;
    place-items: center;
    color: #fff;
    background: var(--saffron);
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700
}

.science-subject-list h3 {
    margin: 0;
    padding: 13px 16px;
    color: var(--ink);
    font-family: var(--font-en);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.45
}

.science-subject-list h3 small {
    color: var(--saffron-dark);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap
}

.science-program-visual {
    position: sticky;
    top: 125px;
    overflow: hidden;
    margin: 0;
    background: var(--ink);
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.science-program-visual img {
    width: 100%;
    height: clamp(390px, 48vw, 620px);
    object-fit: cover
}

.science-program-visual figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 5px;
    padding: 56px 25px 24px;
    color: #fff;
    background: linear-gradient(transparent, rgba(48, 36, 30, .94))
}

.science-program-visual figcaption strong {
    font-family: var(--font-display);
    font-size: 1.35rem
}

.science-program-visual figcaption span {
    font-size: .82rem;
    line-height: 1.5
}

@media (max-width: 900px) {
    .science-program {
        grid-template-columns: 1fr
    }

    .science-program-visual {
        position: relative;
        top: auto;
        order: -1
    }

    .science-program-visual img {
        height: clamp(280px, 58vw, 470px)
    }
}

@media (max-width: 520px) {
    .science-subject-list li {
        grid-template-columns: 42px minmax(0, 1fr)
    }

    .science-subject-list h3 {
        padding: 12px;
        font-size: .84rem
    }
}

/* Complete footer navigation mirrors the header menu. */
@media (min-width: 1101px) {
    .footer-grid {
        grid-template-columns: 1.25fr .78fr .85fr 1fr 1.15fr;
        gap: 30px
    }
}

/* Shared autoplay controls for homepage carousels. */
.slider-autoplay-toggle span {
    display: block;
    font-size: .72rem;
    line-height: 1
}

.journey-controls .slider-autoplay-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    font-size: .72rem
}

.journey-controls .slider-autoplay-toggle span {
    width: auto;
    margin: 0;
    text-align: center;
    transform: none
}

.success-controls .slider-autoplay-toggle[aria-pressed="true"],
.journey-controls .slider-autoplay-toggle[aria-pressed="true"] {
    color: #fff;
    background: var(--navy)
}

/* =========================================================
   EVENTS: homepage carousel, listing and detail pages
   ========================================================= */
.home-events {
    overflow: hidden
}

.event-card {
    flex-direction: column
}

.event-card-image,
.event-list-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--cream)
}

.event-card-image {
    height: 220px
}

.event-card-image img,
.event-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease
}

.event-card:hover .event-card-image img,
.event-list-card:hover .event-list-image img {
    transform: scale(1.035)
}

.event-date {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    min-width: 58px;
    padding: 8px 10px;
    color: #fff;
    background: var(--saffron);
    border-radius: 5px;
    box-shadow: 0 8px 22px rgba(48, 23, 8, .2);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.1;
    text-align: center
}

.event-date strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 0
}

.event-card-body,
.event-list-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column
}

.event-card-body {
    padding: 22px
}

.event-category {
    color: var(--saffron-dark);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.event-card-body h3,
.event-list-body h3 {
    margin: 7px 0 11px;
    color: var(--navy);
    font-family: var(--font-display);
    line-height: 1.2
}

.event-card-body h3 {
    font-size: 1.4rem
}

.event-card-body p,
.event-list-body>p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.65
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 700
}

.event-details-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 16px;
    color: var(--saffron-dark);
    font-size: .78rem;
    font-weight: 700
}

.event-view-all {
    margin-top: 18px
}

/* Homepage event slides use the same cards as the Events listing. */
.home-events .event-list-card {
    flex: 0 0 calc((100% - 44px)/3);
    grid-template-columns: 1fr;
    scroll-snap-align: start
}

.home-events .event-list-image,
.home-events .event-card-image {
    height: 230px;
    min-height: 230px
}

.home-events .event-list-body,
.home-events .event-card-body {
    padding: 25px
}

.home-events .event-facts {
    margin-top: auto
}

.demo-content-note {
    margin-bottom: 55px;
    padding: 16px 20px;
    color: #5a341b;
    background: var(--cream);
    border: 1px solid var(--line);
    border-left: 4px solid var(--saffron);
    border-radius: 6px;
    font-size: .86rem
}

.event-listing-section+.event-listing-section {
    margin-top: 90px
}

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

.events-page .event-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    padding: 4px
}

.events-page .event-list-card {
    min-width: 0
}

/* Secondary Section subject combinations */
.secondary-banner-copy+p {
    display: none
}

.secondary-subjects .section-heading {
    max-width: 780px
}

.secondary-assessment {
    margin-top: 75px;
    padding-top: 65px;
    border-top: 1px solid var(--line)
}

.secondary-assessment .section-heading {
    margin-right: auto;
    margin-left: auto
}

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

.secondary-subject-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(76, 37, 11, .07)
}

.secondary-class-label {
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 20px 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--saffron), var(--saffron-dark));
    text-align: center
}

.secondary-class-label small {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.secondary-class-label strong {
    margin-top: 5px;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.05
}

.secondary-subject-copy {
    padding: 23px
}

.secondary-subject-copy h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.18rem
}

.secondary-subject-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none
}

.secondary-subject-copy li {
    padding: 6px 10px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 700
}

.secondary-additional {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    margin-top: 28px;
    padding: 28px;
    color: #fff;
    background: linear-gradient(130deg, var(--navy-2), #4c250b);
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.secondary-additional>div>span {
    color: var(--saffron-soft);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.secondary-additional h3 {
    margin: 5px 0 7px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.55rem
}

.secondary-additional p {
    max-width: 560px;
    margin: 0;
    color: var(--saffron-soft)
}

.secondary-additional ul {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.secondary-additional li {
    min-width: 130px;
    padding: 14px 16px;
    color: var(--ink);
    background: #fff;
    border-radius: 7px
}

.secondary-additional li strong,
.secondary-additional li span {
    display: block
}

.secondary-additional li span {
    margin-top: 3px;
    color: var(--muted);
    font-size: .65rem
}

@media(max-width:900px) {
    .secondary-subject-grid,
    .secondary-additional {
        grid-template-columns: 1fr
    }
}

@media(max-width:520px) {
    .secondary-subject-card {
        grid-template-columns: 82px minmax(0, 1fr)
    }

    .secondary-class-label strong {
        font-size: 1.18rem
    }

    .secondary-subject-copy {
        padding: 19px 16px
    }

    .secondary-additional {
        padding: 23px 18px
    }

    .secondary-additional ul {
        flex-direction: column
    }
}

.event-list-card {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(76, 37, 11, .08);
    transition: transform .25s ease, box-shadow .25s ease
}

.event-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.event-list-image {
    height: 230px;
    min-height: 230px
}

.event-list-body {
    padding: 27px
}

.event-list-body h3 {
    font-size: 1.5rem
}

.event-facts {
    display: grid;
    gap: 7px;
    margin: auto 0 20px;
    padding-top: 15px;
    border-top: 1px solid var(--line)
}

.event-facts>div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    font-size: .76rem
}

.event-facts dt {
    color: var(--muted)
}

.event-facts dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700
}

.event-button {
    align-self: flex-start;
    padding: 10px 16px;
    color: #301708;
    background: var(--saffron)
}

.past-events {
    padding-top: 70px;
    border-top: 1px solid var(--line)
}

.event-list-grid.compact .event-list-card {
    grid-template-columns: 1fr
}

.event-list-grid.compact .event-list-image {
    height: 220px;
    min-height: 220px
}

.event-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
    align-items: start;
    gap: clamp(30px, 5vw, 64px)
}

.event-detail-hero {
    overflow: hidden;
    margin: 0 0 42px;
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.event-detail-hero img {
    width: 100%;
    max-height: 560px;
    object-fit: cover
}

.event-detail-hero figcaption {
    padding: 10px 16px;
    color: var(--muted);
    background: var(--cream);
    font-size: .72rem
}

.event-detail-main .section-heading {
    max-width: 760px
}

.event-detail-copy {
    color: var(--muted)
}

.event-detail-copy h3 {
    margin: 30px 0 9px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.45rem
}

.event-detail-copy ul {
    display: grid;
    gap: 8px;
    padding-left: 22px
}

.event-bilingual-copy {
    margin-top: 35px;
    padding: 24px;
    background: var(--cream);
    border-left: 4px solid var(--saffron)
}

.event-info-card {
    position: sticky;
    top: 125px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--saffron);
    border-radius: 10px;
    box-shadow: var(--shadow)
}

.event-info-card h2 {
    margin: 8px 0 23px;
    font-size: 1.8rem
}

.event-info-card dl {
    display: grid;
    gap: 0;
    margin: 0 0 25px
}

.event-info-card dl>div {
    padding: 13px 0;
    border-bottom: 1px solid var(--line)
}

.event-info-card dt {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.event-info-card dd {
    margin: 3px 0 0;
    color: var(--ink);
    font-weight: 700
}

.event-info-card dd small {
    color: var(--saffron-dark)
}

.event-enquiry {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: .76rem
}

@media(max-width:1100px) {
    .event-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .home-events .event-list-card {
        flex-basis: calc((100% - 22px)/2)
    }
}

@media(max-width:900px) {
    .event-detail-layout {
        grid-template-columns: 1fr
    }

    .event-info-card {
        position: static
    }
}

@media(max-width:700px) {
    .event-card-image {
        height: 205px
    }

    .event-list-card,
    .event-list-grid.compact .event-list-card,
    .home-events .event-list-card {
        grid-template-columns: 1fr
    }

    .event-list-grid {
        grid-template-columns: 1fr
    }

    .home-events .event-list-card {
        flex-basis: 100%
    }

    .event-list-image,
    .event-list-grid.compact .event-list-image,
    .home-events .event-list-image,
    .home-events .event-card-image {
        min-height: 230px;
        height: 230px
    }

    .event-list-body,
    .event-info-card {
        padding: 22px 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    .event-card-image img,
    .event-list-image img,
    .event-list-card {
        transition: none
    }
}

/* Important change

Replace:

<iframe src="https://www.youtube-nocookie.com/embed/...">

from the Audio / Spiritual Content section with:

<audio controls preload="metadata">
    <source src="assets/audio/spiritual-audio.mp3" type="audio/mpeg">
</audio> */

/* Warm media section, inspired by the footer contact panel. */
.section.school-media {
    color: #4c250b;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(255, 255, 255, .55), transparent 55%),
        linear-gradient(125deg, #f4a15d 0%, #f6ccb0 55%, #fff0df 100%);
    border-block: 1px solid #edbc94;
}

.school-media .section-heading h2,
.school-media .media-box h3,
.school-media .audio-item strong {
    color: #4c250b;
}

.school-media .section-heading>span,
.school-media .media-label {
    color: #7c360f;
}

.school-media .section-heading p,
.school-media .audio-content span,
.school-media .audio-item span,
.school-media .media-note {
    color: #68503f;
}

.school-media .media-box {
    background: rgba(255, 250, 244, .94);
    border: 1px solid rgba(153, 75, 23, .18);
    box-shadow: 0 16px 40px rgba(110, 53, 18, .10);
}

.school-media .media-box:hover {
    border-color: rgba(153, 75, 23, .35);
    box-shadow: 0 20px 45px rgba(110, 53, 18, .14);
}

.school-media .audio-player {
    background: #f8e4d2;
    border-color: #ebc4a4;
}

.school-media .media-symbol {
    color: #4c250b;
    background: linear-gradient(135deg, #ffb76d, #f3cbab);
    box-shadow: 0 8px 20px rgba(153, 75, 23, .12);
}

.school-media .media-embed {
    border-color: #ebc4a4;
}

/* The homepage currently presents video only; keep the featured film full width. */
.school-media .media-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1040px;
    margin-inline: auto
}

.school-media .video-box {
    padding: clamp(22px, 3.5vw, 38px)
}

.school-media .video-box .media-box-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px
}

.school-media .video-box .media-embed {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(76, 37, 11, .12)
}

.school-media .video-box .video-embed {
    aspect-ratio: 16 / 8
}

.school-media .video-box .media-note {
    margin-top: 16px;
    text-align: center
}

@media (max-width: 576px) {
    .school-media .video-box .media-box-header {
        display: block
    }

    .school-media .video-box .video-embed {
        aspect-ratio: 16 / 9
    }
}

/* Homepage magazine: load the PDF only when requested. */
.magazine-section {
    background: #fff5ed;
    border-top: 1px solid var(--line)
}

.magazine-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 70px)
}

.magazine-cover {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(76, 37, 11, .12)
}

.magazine-cover img {
    display: block;
    width: 100%;
    height: auto
}

.magazine-copy {
    min-width: 0
}

.magazine-copy h2 {
    margin: 12px 0 16px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: #4c250b
}

.magazine-copy p {
    color: #68503f
}

.magazine-file-info {
    font-size: .82rem
}

.magazine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px
}

.magazine-actions .outline {
    color: #4c250b;
    border-color: #994b17
}

@media(max-width:820px) {
    .magazine-layout {
        grid-template-columns: 1fr
    }

    .magazine-cover {
        max-width: 600px
    }
}

@media(max-width:420px) {
    .magazine-actions {
        flex-direction: column
    }

    .magazine-actions .button {
        width: 100%
    }
}

/* Notices and announcements */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.notice-board {
    overflow: hidden
}

.notice-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px
}

.notice-heading-row .section-heading {
    margin-bottom: 0
}

.notice-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 10px 0;
    border-bottom: 2px solid var(--saffron);
    color: var(--navy);
    font-size: .86rem;
    font-weight: 700
}

.notice-view-all span {
    color: var(--saffron-dark);
    font-size: 1.15rem;
    transition: transform .2s ease
}

.notice-view-all:hover span {
    transform: translateX(4px)
}

.notice-list {
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff
}

.notice-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-width: 0;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    transition: background-color .2s ease, border-color .2s ease
}

.notice-item:last-child {
    border-bottom: 0
}

.notice-item:hover {
    background: var(--cream)
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase
}

.notice-date span {
    color: var(--saffron-dark);
    font-family: var(--font-display);
    font-size: 1.85rem;
    line-height: 1
}

.notice-copy {
    min-width: 0
}

.notice-type {
    display: block;
    margin-bottom: 3px;
    color: var(--saffron-dark);
    font-family: var(--font-en);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase
}

.notice-copy h3 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-bn);
    font-size: 1rem;
    line-height: 1.55
}

.notice-copy h3 a {
    overflow-wrap: anywhere
}

.notice-copy h3 a:hover {
    text-decoration: underline;
    text-decoration-color: var(--saffron);
    text-underline-offset: 4px
}

.notice-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--navy);
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap
}

.notice-action b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--saffron);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    transition: transform .2s ease
}

.notice-action:hover b {
    transform: translateX(3px)
}

.notice-board a:focus-visible,
.notice-archive a:focus-visible,
.notice-archive summary:focus-visible {
    outline: 3px solid var(--saffron-dark);
    outline-offset: 4px
}

.notice-archive-note {
    margin: -18px 0 30px;
    padding: 13px 16px;
    border-left: 3px solid var(--saffron);
    background: var(--cream);
    color: var(--muted);
    font-size: .86rem
}

.notice-sessions {
    display: grid;
    gap: 18px
}

.notice-session,
.notice-month {
    border: 1px solid var(--line);
    background: #fff
}

.notice-session>summary,
.notice-month>summary {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 17px 22px;
    color: var(--navy);
    cursor: pointer;
    list-style: none
}

.notice-session>summary::-webkit-details-marker,
.notice-month>summary::-webkit-details-marker {
    display: none
}

.notice-session>summary {
    background: var(--cream)
}

.notice-session-index {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--saffron);
    color: #fff;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700
}

.notice-session-title {
    display: grid;
    gap: 2px;
    min-width: 0
}

.notice-session-title strong {
    font-family: var(--font-display);
    font-size: 1.25rem
}

.notice-session-title small {
    color: var(--muted);
    font-size: .76rem
}

.notice-count {
    margin-left: auto;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap
}

.notice-chevron {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease
}

.notice-session[open]>summary .notice-chevron,
.notice-month[open]>summary .notice-chevron {
    transform: rotate(225deg)
}

.notice-session-content {
    padding: 20px
}

.notice-month>summary {
    min-height: 64px;
    padding: 14px 18px
}

.notice-month>summary h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.08rem
}

.notice-month .notice-list {
    border-width: 1px 0 0
}

.notice-month .notice-item {
    padding-inline: 18px
}

@media(max-width:820px) {
    .notice-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px
    }

    .notice-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px 18px
    }

    .notice-action {
        grid-column: 2;
        justify-self: start;
        padding: 0
    }

    .notice-session>summary {
        gap: 12px;
        padding-inline: 16px
    }

    .notice-session-content {
        padding: 14px
    }

    .notice-count {
        font-size: .7rem
    }
}

@media(max-width:576px) {
    .notice-heading-row {
        margin-bottom: 24px
    }

    .notice-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px
    }

    .notice-date {
        border-bottom: 1px solid var(--line);
        padding-bottom: 10px
    }

    .notice-date span {
        font-size: 1.5rem
    }

    .notice-action {
        grid-column: 1;
        justify-content: space-between;
        width: 100%;
        padding: 4px 0
    }

    .notice-session>summary {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .notice-session-index {
        width: 36px;
        height: 36px
    }

    .notice-session-title {
        flex: 1
    }

    .notice-session-title strong {
        font-size: 1.08rem
    }

    .notice-session>summary .notice-count {
        order: 3;
        width: 100%;
        margin-left: 48px
    }

    .notice-session>summary .notice-chevron {
        margin-top: 10px
    }

    .notice-session-content {
        padding: 10px
    }

    .notice-month>summary {
        gap: 10px;
        padding-inline: 13px
    }

    .notice-month>summary h3 {
        font-size: 1rem
    }

    .notice-month .notice-item {
        padding-inline: 14px
    }
}

.notice-archive,
.notice-session,
.notice-month,
.notice-session-title {
    min-width: 0;
    max-width: 100%
}

.notice-archive {
    overflow: hidden
}

.notice-session-title strong,
.notice-session-title small {
    overflow-wrap: anywhere
}

.notice-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0
}

.notice-actions .notice-action {
    gap: 6px;
    padding-inline: 7px
}

.notice-actions .notice-action b {
    width: 25px;
    height: 25px;
    font-size: 1rem
}

@media(max-width:820px) {
    .notice-actions {
        grid-column: 2;
        justify-content: flex-start;
        flex-wrap: wrap
    }

    .notice-actions .notice-action {
        grid-column: auto
    }
}

@media(max-width:576px) {
    .notice-actions {
        grid-column: 1;
        justify-content: flex-start;
        width: 100%
    }

    .notice-actions .notice-action {
        width: auto;
        flex: 1 1 auto;
        justify-content: space-between
    }
}

/* Alumni directory, carousel and form */
.alumni-home {
    background: #fff
}

.alumni-view-all {
    margin-top: 18px
}

.alumni-slide {
    min-height: 245px
}

.alumni-monogram {
    display: grid;
    place-items: center;
    flex: 0 0 92px;
    align-self: stretch;
    color: #fff;
    background: linear-gradient(145deg, var(--navy), var(--saffron-dark));
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700
}

.alumni-slide .success-body {
    padding: 20px 17px
}

.alumni-slide .success-body h3 {
    margin-bottom: 12px
}

.alumni-slide .success-body dl div {
    grid-template-columns: 52px minmax(0, 1fr)
}

.alumni-contact a {
    display: inline-block;
    max-width: 100%;
    color: var(--saffron-dark);
    overflow-wrap: anywhere;
    word-break: break-word;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px
}

.alumni-contact a:hover,
.alumni-contact a:focus-visible {
    text-decoration-color: currentColor
}

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

.alumni-profile {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--saffron);
    background: #fff;
    box-shadow: 0 12px 32px rgba(76, 37, 11, .08)
}

.alumni-profile-head {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.alumni-profile-head .alumni-monogram {
    align-self: auto;
    flex-basis: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 1.1rem
}

.alumni-profile-head span {
    color: var(--saffron-dark);
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.alumni-profile h3 {
    margin: 2px 0 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.35rem
}

.alumni-details {
    display: grid;
    gap: 8px;
    margin: 20px 0
}

.alumni-details>div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    min-width: 0
}

.alumni-details dt {
    color: var(--muted);
    font-size: .78rem
}

.alumni-details dd {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700
}

.alumni-work {
    padding: 14px 0;
    border-top: 1px solid var(--line)
}

.alumni-work h4,
.alumni-profile blockquote strong {
    display: block;
    margin: 0 0 4px;
    color: var(--navy);
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase
}

.alumni-work p,
.alumni-profile blockquote p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem
}

.alumni-profile blockquote {
    margin: auto 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line)
}

.alumni-join {
    margin-top: 80px;
    padding: clamp(28px, 5vw, 55px);
    background: var(--cream)
}

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

.alumni-form .field input,
.alumni-form .field textarea {
    min-width: 0;
    border-color: var(--line);
    border-radius: 4px
}

.alumni-form label {
    color: var(--navy);
    font-size: .82rem;
    font-weight: 700
}

.alumni-form label span {
    color: var(--saffron-dark)
}

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

.alumni-form .form-note {
    max-width: 580px;
    margin: 8px 0 0
}

.alumni-page,
.alumni-home {
    overflow: hidden
}

@media(max-width:1100px) {
    .alumni-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:820px) {
    .alumni-directory {
        grid-template-columns: 1fr
    }

    .alumni-form {
        grid-template-columns: 1fr
    }

    .alumni-form .field.full {
        grid-column: auto
    }
}

@media(max-width:520px) {
    .alumni-slide {
        min-height: 0;
        flex-direction: row
    }

    .alumni-monogram {
        flex-basis: 70px
    }

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

    .alumni-profile {
        padding: 19px
    }

    .alumni-details>div {
        grid-template-columns: 62px minmax(0, 1fr)
    }
}

.alumni-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(350px, .75fr);
    align-items: start;
    gap: 32px
}

.alumni-layout .alumni-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.alumni-layout .alumni-join {
    margin-top: 0;
    padding: 30px
}

.alumni-layout .alumni-join .section-heading {
    margin-bottom: 26px
}

.alumni-layout .alumni-join .section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.65rem)
}

.alumni-layout .alumni-form {
    grid-template-columns: 1fr;
    gap: 14px
}

.alumni-layout .alumni-form .field.full {
    grid-column: auto
}

.alumni-layout .alumni-form .button {
    width: 100%
}

@media(max-width:1100px) {
    .alumni-layout .alumni-directory {
        grid-template-columns: 1fr
    }
}

@media(max-width:900px) {
    .alumni-layout {
        grid-template-columns: 1fr
    }

    .alumni-layout .alumni-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .alumni-layout .alumni-join {
        margin-top: 20px
    }
}

@media(max-width:620px) {
    .alumni-layout .alumni-directory {
        grid-template-columns: 1fr
    }

    .alumni-layout .alumni-join {
        padding: 24px 18px
    }
}

.success-view-all {
    margin-top: 18px
}

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

.achievement-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 4px solid var(--saffron);
    background: #fff;
    box-shadow: 0 10px 28px rgba(76, 37, 11, .08)
}

.achievement-card>img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover
}

.achievement-card>div {
    min-width: 0;
    padding: 23px
}

.achievement-card span {
    color: var(--saffron-dark);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.achievement-card h3 {
    margin: 6px 0 16px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.45rem
}

.achievement-card dl {
    display: grid;
    gap: 8px;
    margin: 0
}

.achievement-card dl div {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 9px;
    font-size: .8rem
}

.achievement-card dt {
    color: var(--muted)
}

.achievement-card dd {
    margin: 0;
    font-weight: 700;
    overflow-wrap: anywhere
}

@media(max-width:900px) {
    .achievement-directory {
        grid-template-columns: 1fr
    }
}

@media(max-width:520px) {
    .achievement-card {
        grid-template-columns: 1fr
    }

    .achievement-card>img {
        min-height: 0;
        aspect-ratio: 16/10
    }

    .achievement-card>div {
        padding: 19px
    }
}

.submenu-group {
    position: relative
}

.submenu-parent {
    display: flex;
    align-items: center
}

.submenu-parent>a {
    flex: 1
}

.nested-submenu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer
}

.nested-submenu-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg)
}

.nested-submenu {
    position: absolute;
    top: -10px;
    left: calc(100% + 9px);
    display: none;
    min-width: 190px;
    padding: 9px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--saffron);
    background: #fff;
    box-shadow: var(--shadow)
}

.submenu-group:hover>.nested-submenu,
.submenu-group:focus-within>.nested-submenu,
.submenu-group.open>.nested-submenu {
    display: block
}

@media(max-width:1180px) {
    .submenu-parent>a {
        padding: 9px 12px
    }

    .nested-submenu-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px
    }

    .nested-submenu-toggle::after {
        transform: rotate(135deg)
    }

    .nested-submenu-toggle[aria-expanded=true]::after {
        transform: rotate(-45deg)
    }

    .nested-submenu {
        position: static;
        display: none;
        min-width: 0;
        margin: 0 4px 8px 16px;
        padding: 3px 3px 3px 9px;
        border: 0;
        border-left: 2px solid var(--saffron);
        box-shadow: none
    }

    .submenu-group:hover>.nested-submenu {
        display: none
    }

    .submenu-group.open>.nested-submenu {
        display: block
    }
}

.nested-submenu {
    left: 100%
}

.lang-bn,
[lang="bn"] {
    font-family: var(--font-bengali) !important;
    font-style: normal;
    letter-spacing: 0;
    word-spacing: normal;
    font-synthesis: none
}

.lang-bn :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption, th, td, label),
[lang="bn"] :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption, th, td, label) {
    font-family: var(--font-bengali) !important;
    font-style: normal;
    letter-spacing: 0;
    word-spacing: normal;
    font-synthesis: none
}

[lang="en"],
.lang-bn [lang="en"],
[lang="bn"] [lang="en"] {
    font-family: var(--font-en) !important;
    font-synthesis: initial
}

.notice-copy.lang-bn {
    font-size: 1rem
}

.lang-bn .kicker,
.lang-bn dt,
.lang-bn dd,
.lang-bn .notice-type {
    font-family: var(--font-en)
}

.achievement-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.achievement-card {
    grid-template-columns: 1fr
}

.achievement-card>img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16/10
}

.achievement-card>div {
    padding: 21px
}

@media(max-width:1100px) {
    .achievement-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:700px) {
    .achievement-directory {
        grid-template-columns: 1fr
    }
}

/* About page: school profile */
.school-profile {
    position: relative;
    align-items: stretch;
    gap: 0;
    margin-block: clamp(56px, 7vw, 96px);
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 70px rgba(76, 37, 11, .11)
}

.school-profile::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--saffron)
}

.school-profile-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 64px)
}

.school-profile-copy h2 {
    max-width: 560px;
    margin-bottom: 14px;
    letter-spacing: -.02em
}

.school-profile-copy .lead {
    max-width: 590px;
    margin: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    font-size: 1.06rem;
    line-height: 1.7
}

.school-profile-table {
    margin: 24px 0 0;
    overflow: visible;
    border: 0
}

.school-profile-table table {
    min-width: 0;
    background: transparent
}

.school-profile-table th,
.school-profile-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    line-height: 1.45
}

.school-profile-table th {
    width: 45%;
    padding-right: 24px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase
}

.school-profile-table td {
    color: var(--ink);
    font-size: .92rem;
    font-weight: 700
}

.school-profile-table tr:last-child th,
.school-profile-table tr:last-child td {
    border-bottom: 0
}

.school-profile-photo {
    min-height: 100%;
    overflow: hidden;
    background: var(--cream)
}

.school-profile-photo::before {
    display: none
}

.school-profile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(48, 36, 30, .58))
}

.school-profile-photo img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    aspect-ratio: auto;
    object-fit: cover;
    box-shadow: none
}

.school-profile-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    min-width: 160px;
    padding: 16px 20px;
    border-top: 3px solid var(--saffron);
    color: #fff;
    background: rgba(48, 36, 30, .88);
    backdrop-filter: blur(8px)
}

.school-profile-badge strong,
.school-profile-badge span {
    display: block
}

.school-profile-badge strong {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1
}

.school-profile-badge span {
    margin-top: 6px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase
}

@media(max-width:820px) {
    .school-profile {
        gap: 0
    }

    .school-profile-photo {
        order: -1
    }

    .school-profile-photo img {
        min-height: 0;
        aspect-ratio: 16/9
    }

    .school-profile-copy {
        padding: clamp(28px, 6vw, 48px)
    }
}

@media(max-width:576px) {
    .school-profile {
        margin-block: 42px
    }

    .school-profile-copy {
        padding: 28px 22px
    }

    .school-profile-table th,
    .school-profile-table td {
        display: block;
        width: 100%;
        padding-right: 0
    }

    .school-profile-table th {
        padding-bottom: 3px;
        border-bottom: 0
    }

    .school-profile-table td {
        padding-top: 0
    }

    .school-profile-badge {
        right: 14px;
        bottom: 14px;
        min-width: 135px;
        padding: 12px 15px
    }

    .school-profile-badge strong {
        font-size: 1.5rem
    }
}

/* About page editorial layout */
.about-content {
    position: relative;
    padding: 0 0 clamp(70px, 8vw, 110px);
    background: linear-gradient(180deg, #fffaf6 0, #fff 360px)
}

.about-container {
    position: relative
}

.about-section-nav {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: clamp(42px, 6vw, 76px);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 46px rgba(76, 37, 11, .1);
    transform: translateY(-24px)
}

.about-section-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 16px 20px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    font-size: .79rem;
    font-weight: 700;
    line-height: 1.25;
    transition: color .2s ease, background-color .2s ease
}

.about-section-nav a:last-child {
    border-right: 0
}

.about-section-nav a:hover,
.about-section-nav a:focus-visible {
    color: var(--saffron-dark);
    background: var(--cream)
}

.about-section-nav span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--saffron);
    font-family: var(--font-display);
    font-size: .74rem
}

.about-panel {
    scroll-margin-top: 120px;
    margin: 0 0 clamp(54px, 7vw, 92px)
}

.about-message,
.about-history {
    position: relative;
    padding: clamp(30px, 5vw, 62px);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 55px rgba(76, 37, 11, .08)
}

.about-message::before,
.about-history::before,
.about-vision::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--saffron)
}

.about-message>div,
.about-history>div {
    display: grid;
    grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 72px)
}

.about-message h3,
.about-history h3,
.about-vision h3 {
    position: relative;
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -.02em
}

.about-message h3::before,
.about-history h3::before,
.about-vision h3::before {
    display: block;
    margin-bottom: 13px;
    color: var(--saffron-dark);
    font-family: var(--font-en);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

.about-message h3::before {
    content: "01 / Leadership"
}

.about-history h3::before {
    content: "02 / Our roots"
}

.about-vision h3::before {
    content: "04 / Our direction"
}

.about-message .lang-bn,
.about-history>div>p {
    grid-column: 2
}

.about-message .lang-bn {
    max-width: 850px
}

.about-message .lang-bn p,
.about-history p {
    margin: 0 0 1em;
    color: var(--ink)
}

.about-message .lang-bn p:first-child {
    margin-top: 0;
    font-size: 1.08em;
    color: var(--saffron-dark)
}

.about-message .lang-bn p:nth-last-child(2) {
    margin-top: 26px;
    margin-bottom: 8px;
    color: var(--muted)
}

.about-message .lang-bn p:last-child {
    width: max-content;
    min-width: 210px;
    margin: 0;
    padding: 14px 18px;
    border-left: 3px solid var(--saffron);
    background: var(--cream)
}

.about-history h3 {
    grid-column: 1;
    grid-row: 1 / span 5
}

.about-history>div>p:last-child {
    margin-bottom: 0
}

.about-page .school-profile {
    margin-block: 0 clamp(54px, 7vw, 92px)
}

.about-page .school-profile-copy .kicker::after {
    content: "03";
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    margin-left: 5px;
    border-radius: 50%;
    color: #fff;
    background: var(--saffron);
    font-size: .58rem;
    letter-spacing: 0
}

.about-vision {
    position: relative;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid var(--line);
    background: var(--cream)
}

.about-vision>div:first-child>div {
    display: grid;
    grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px)
}

.about-vision h3 {
    grid-column: 1
}

.about-vision .lang-bn {
    grid-column: 2;
    max-width: 850px
}

.about-vision .lang-bn p {
    margin: 0 0 1em;
    color: var(--ink)
}

.about-vision .lang-bn p:last-child {
    margin-bottom: 0
}

.about-emblem {
    margin-top: clamp(44px, 6vw, 72px);
    padding-top: clamp(38px, 5vw, 58px);
    border-top: 1px solid var(--line)
}

.about-emblem .hero-logo-shell {
    width: min(300px, 72%);
    padding: 28px
}

.about-emblem .feature-copy {
    padding: clamp(22px, 4vw, 44px);
    background: #fff;
    box-shadow: 0 14px 42px rgba(76, 37, 11, .08)
}

.about-emblem .feature-copy h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem)
}

@media(max-width:900px) {
    .about-section-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .about-section-nav a:nth-child(2) {
        border-right: 0
    }

    .about-section-nav a:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .about-message>div,
    .about-history>div,
    .about-vision>div:first-child>div {
        grid-template-columns: 1fr
    }

    .about-message h3,
    .about-history h3,
    .about-vision h3 {
        margin-bottom: 28px
    }

    .about-message .lang-bn,
    .about-history>div>p,
    .about-vision .lang-bn {
        grid-column: 1
    }

    .about-history h3 {
        grid-row: auto
    }

    .about-page .school-profile {
        margin-bottom: clamp(54px, 7vw, 92px)
    }
}

@media(max-width:576px) {
    .about-content {
        padding-bottom: 60px
    }

    .about-section-nav {
        grid-template-columns: 1fr;
        margin-bottom: 38px;
        transform: translateY(-16px)
    }

    .about-section-nav a {
        min-height: 58px;
        padding: 11px 14px;
        border-right: 0;
        border-bottom: 1px solid var(--line) !important
    }

    .about-section-nav a:last-child {
        border-bottom: 0 !important
    }

    .about-section-nav span {
        flex-basis: 30px;
        height: 30px
    }

    .about-message,
    .about-history,
    .about-vision {
        padding: 27px 21px
    }

    .about-message h3,
    .about-history h3,
    .about-vision h3 {
        margin-bottom: 22px;
        font-size: 1.75rem
    }

    .about-message .lang-bn p:last-child {
        min-width: 0;
        width: 100%
    }

    .about-emblem {
        margin-top: 42px;
        padding-top: 34px
    }

    .about-emblem .hero-logo-shell {
        width: min(220px, 70%)
    }

    .about-emblem .feature-copy {
        padding: 24px 20px
    }
}

/* About page: top-heading content layout */
.about-content {
    padding: clamp(58px, 7vw, 90px) 0;
    background: #fff
}

.about-container,
.about-panel,
.about-panel>div,
.about-panel .lang-bn {
    min-width: 0;
    max-width: 100%
}

.about-panel .lang-bn {
    overflow-wrap: break-word;
    word-break: normal
}

.about-panel {
    margin: 0 0 clamp(56px, 7vw, 88px);
    scroll-margin-top: 120px
}

.about-message,
.about-history,
.about-vision {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none
}

.about-message::before,
.about-history::before,
.about-vision::before {
    display: none
}

.about-message>div,
.about-history>div,
.about-vision>div:first-child>div {
    display: block
}

.about-message h3,
.about-history h3,
.about-vision h3 {
    margin: 0 0 28px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -.02em
}

.about-message h3::before,
.about-history h3::before,
.about-vision h3::before {
    display: none
}

.about-message h3::after,
.about-history h3::after,
.about-vision h3::after,
.about-profile-heading h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 14px;
    background: var(--saffron)
}

.about-message .lang-bn,
.about-history>div>p,
.about-vision .lang-bn {
    max-width: 980px;
    margin-inline: 0;
    grid-column: auto
}

.about-message .lang-bn {
    padding: 0;
    border-left: 0;
    background: transparent
}

.about-message .lang-bn p:first-child {
    font-size: 1em;
    color: var(--ink)
}

.about-message .lang-bn p:nth-last-child(2) {
    margin-top: 26px;
    color: var(--muted)
}

.about-message .lang-bn p:last-child {
    background: var(--cream)
}

.about-message,
.about-history {
    padding-bottom: clamp(50px, 6vw, 76px);
    border-bottom: 1px solid var(--line)
}

.about-history h3 {
    grid-row: auto
}

.about-history p {
    max-width: 1000px
}

.about-page .school-profile {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
    align-items: stretch;
    margin-bottom: clamp(56px, 7vw, 88px)
}

.about-profile-heading {
    grid-column: 1/-1;
    padding: clamp(32px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
    background: var(--cream)
}

.about-profile-heading h2 {
    margin: 8px 0 14px;
    /* color: var(--ink); */
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -.02em
}

.about-profile-heading .lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted)
}

.about-page .school-profile-copy {
    padding: clamp(30px, 4vw, 50px)
}

.about-page .school-profile-copy .kicker::after {
    display: none
}

.about-page .school-profile-photo img {
    min-height: 520px
}

.about-vision {
    padding: 0
}

.about-vision>div:first-child {
    padding-bottom: clamp(42px, 6vw, 68px);
    border-bottom: 1px solid var(--line)
}

.about-vision .lang-bn {
    max-width: 1000px
}

.about-emblem {
    grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(34px, 5vw, 56px);
    border: 1px solid var(--line);
    background: var(--cream)
}

.about-emblem-section {
    padding: 0
}

.about-emblem-section .about-emblem {
    margin-top: 0
}

.about-emblem .feature-copy {
    padding: 0;
    background: transparent;
    box-shadow: none
}

@media(max-width:820px) {
    .about-page .school-profile {
        grid-template-columns: 1fr
    }

    .about-profile-heading {
        grid-column: 1
    }

    .about-page .school-profile-photo {
        order: 0
    }

    .about-page .school-profile-photo img {
        min-height: 0;
        aspect-ratio: 16/9
    }

    .about-emblem {
        grid-template-columns: 1fr;
        text-align: left
    }

    .about-emblem .hero-logo-shell {
        margin-inline: auto
    }
}

@media(max-width:576px) {
    .about-content {
        padding: 50px 0
    }

    .about-message,
    .about-history,
    .about-vision {
        padding: 0
    }

    .about-message h3,
    .about-history h3,
    .about-vision h3 {
        margin-bottom: 22px;
        font-size: 1.9rem
    }

    .about-message .lang-bn {
        padding: 0
    }

    .about-profile-heading {
        padding: 26px 21px
    }

    .about-profile-heading h2 {
        font-size: 1.9rem
    }

    .about-page .school-profile-copy {
        padding: 26px 21px
    }

    .about-emblem {
        padding: 28px 20px
    }
}

/* Full-width editorial copy across content pages */
.content-wrap .prose,
.content-wrap .section-heading {
    width: 100%;
    max-width: none
}

.about-message .lang-bn,
.about-history>div>p,
.about-history p,
.about-vision .lang-bn,
.about-profile-heading .lead {
    width: 100%;
    max-width: none
}

/* Ramakrishna-inspired page canvas and tighter section rhythm */
body {
    background: #fff9f3
}

main {
    background: linear-gradient(180deg, #fffaf5 0%, #fff 38%, #fff8f0 100%)
}

.section {
    padding: clamp(52px, 6vw, 82px) 0
}

.section.soft {
    background: #fff1e5
}

.content-wrap {
    padding: clamp(54px, 6vw, 72px) 0
}

.about-content {
    padding: clamp(48px, 6vw, 72px) 0;
    background: linear-gradient(180deg, #fffaf5, #fff 30%, #fff8f1)
}

.about-panel {
    margin-bottom: clamp(42px, 5vw, 64px)
}

.about-message,
.about-history {
    padding-bottom: clamp(38px, 5vw, 56px)
}

.about-page .school-profile,
.about-emblem-section {
    margin-bottom: clamp(42px, 5vw, 64px)
}

.about-vision>div:first-child {
    padding-bottom: clamp(34px, 5vw, 52px)
}

@media(max-width:576px) {
    .section {
        padding: 44px 0
    }

    .content-wrap,
    .about-content {
        padding: 42px 0
    }

    .about-panel,
    .about-page .school-profile,
    .about-emblem-section {
        margin-bottom: 38px
    }

    .about-message,
    .about-history {
        padding-bottom: 34px
    }
}

/* =========================================================
   PDF STYLE BENGALI CONTENT
   ========================================================= */

.pdf-content-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    color: #000;
    background: transparent;

    font-family: var(--font-bengali);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    word-spacing: normal;

    text-align: left;
}


/* PDF heading */

.pdf-content-title {
    margin: 0 0 18px;
    padding: 0;

    color: #000;

    font-family: var(--font-bengali);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;

    text-align: left;
}


/* Paragraphs */

.pdf-content-section p {
    margin: 0 0 12px;
    padding: 0;

    color: #000;

    font-family: var(--font-bengali);
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;

    text-align: left;
}


/* English words inside Bengali content */

.pdf-content-section [lang="en"] {
    font-family: inherit;
}


/* Remove decorative website effects */

.pdf-content-section,
.pdf-content-section p {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 991px) {

    .pdf-content-section {
        font-size: 17px;
        line-height: 1.7;
    }

    .pdf-content-title {
        font-size: 21px;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 576px) {

    .pdf-content-section {
        font-size: 16px;
        line-height: 1.75;
    }

    .pdf-content-title {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .pdf-content-section p {
        margin-bottom: 11px;
    }

}

.mukul-award-article .mukul-award-intro .section-heading p {
    margin-right: auto;
    margin-left: auto;
    text-align: center
}

/* Site-wide typography alignment requested for every page. */
.section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center
}

h2 {
    font-family: var(--font-display);
    font-weight: 700;
    text-align: center !important
}

.kicker {
    justify-content: center;
    width: 100%;
    text-align: center !important
}

p {
    text-align: justify !important
}

/* Professional heading scale: compact, readable, and consistent across pages. */
.hero h1 {
    font-size: clamp(2rem, 3.4vw, 2.8rem)
}

.page-hero h1 {
    font-size: clamp(2rem, 3.2vw, 3rem)
}

.section-heading h2,
.feature-copy h2,
.footer-cta h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.45rem);
    line-height: 1.18;
}

.page-hero p {
    font-size: clamp(.96rem, 1.25vw, 1.1rem)
}

.alumni-join-page {
    max-width: 900px
}

/* Dedicated alumni registration page. */
.alumni-join-page .alumni-join {
    position: relative;
    margin-top: 0;
    padding: clamp(30px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fffaf3 100%);
    box-shadow: 0 18px 42px rgba(76, 37, 11, .09)
}

.alumni-join-page .alumni-join::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 92px;
    height: 4px;
    border-radius: 0 0 99px 99px;
    background: var(--saffron);
    content: "";
    transform: translateX(-50%)
}

.alumni-join-page .section-heading {
    max-width: 630px;
    margin: 0 auto 34px
}

.alumni-join-page .section-heading h2 {
    margin-top: 8px
}

.alumni-join-page .alumni-form {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(126, 77, 27, .14);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(76, 37, 11, .04)
}

.alumni-join-page .alumni-form .field.full {
    grid-column: 1 / -1
}

.alumni-join-page .alumni-form input,
.alumni-join-page .alumni-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #d9cbb9;
    background: #fffdf9;
    font: inherit
}

.alumni-join-page .alumni-form input:focus,
.alumni-join-page .alumni-form textarea:focus {
    border-color: var(--saffron);
    outline: 3px solid rgba(221, 141, 41, .16)
}

.alumni-join-page .alumni-form textarea {
    min-height: 132px;
    resize: vertical
}

.alumni-join-page .alumni-form .button {
    min-width: 230px
}

@media (max-width: 640px) {
    .alumni-join-page .alumni-join {
        border-radius: 10px
    }

    .alumni-join-page .alumni-form {
        padding: 20px 16px
    }
}

/* Higher-secondary pathway cards */
.stream-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.stream-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(76, 37, 11, .08);
    transition: transform .25s ease, box-shadow .25s ease
}

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

.stream-card-image {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden
}

.stream-card-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 45%, rgba(48, 36, 30, .58))
}

.stream-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.stream-card:hover .stream-card-image img {
    transform: scale(1.05)
}

.stream-card-image>span {
    position: absolute;
    right: 18px;
    bottom: 13px;
    z-index: 1;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700
}

.stream-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px
}

.stream-label {
    color: var(--saffron-dark);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.stream-card-content h3 {
    margin: 7px 0 10px;
    font-family: var(--font-display);
    font-size: 1.65rem
}

.stream-card-content p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.7
}

.stream-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: var(--saffron-dark);
    font-size: .82rem;
    font-weight: 700
}

.stream-link span {
    transition: transform .2s ease
}

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

@media (max-width: 1050px) {
    .stream-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 700px) {
    .stream-grid {
        grid-template-columns: 1fr
    }

    .stream-card-image {
        height: 220px
    }
}

@media (prefers-reduced-motion: reduce) {
    .stream-card,
    .stream-card-image img,
    .stream-link span {
        transition: none
    }
}

/* Unified H2 typography across all pages and components. */
h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.45rem) !important;
    font-weight: 700 !important;
    line-height: 1.2
}
