/* ==========================================================================
   BIBT — Institutional design system
   ========================================================================== */

:root {
    --navy-950: #061527;
    --navy-900: #0a2a52;
    --navy-800: #0e3a6b;
    --blue: #14549b;
    --blue-dark: #0e447f;
    --gold: #c8a24a;
    --gold-light: #e2c983;
    --gold-deep: #8f7026;
    --paper: #f7f5f0;
    --paper-2: #efece4;
    --white: #ffffff;
    --ink: #14202e;
    --ink-soft: #33414f;
    --muted: #5b6776;
    --line: #e3e0d8;
    --line-dark: rgba(255, 255, 255, 0.14);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 2px 10px rgba(10, 42, 82, 0.05);
    --shadow-md: 0 18px 50px rgba(10, 42, 82, 0.12);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --header-pad: 0 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

address {
    font-style: normal;
}

::selection {
    background: rgba(200, 162, 74, 0.3);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

body.is-locked {
    overflow: hidden;
}

/* ---------- Layout ---------- */

.section-shell {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 24px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--navy-900);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: top 0.25s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--navy-900);
}

.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 20px;
}

.kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.kicker--gold {
    color: var(--gold);
}

.section-title {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    margin-bottom: 18px;
}

.section-title--light {
    color: #fff;
}

.section-lede {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 54ch;
}

.section-lede--light {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
                border-color 0.3s var(--ease), transform 0.3s var(--ease),
                box-shadow 0.3s var(--ease);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-950);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-large {
    padding: 17px 34px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    margin-top: 26px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--blue);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link span {
    transition: transform 0.25s var(--ease);
}

.text-link:hover {
    color: var(--navy-900);
    border-color: var(--gold);
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link--light {
    color: var(--gold-light);
}

.text-link--light:hover {
    color: #fff;
    border-color: var(--gold-light);
}

/* ---------- Reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(10, 42, 82, 0.1);
}

.header-shell {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    flex-shrink: 0;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

.crest-star {
    fill: var(--gold);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--navy-900);
}

.brand-full {
    margin-top: 4px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    max-width: 290px;
    line-height: 1.35;
}

.brand-motto {
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 10.5px;
    font-style: italic;
    letter-spacing: 0.03em;
    color: var(--gold-deep);
}

/* Header navigation column */
.header-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.utility-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    height: 34px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    transition: height 0.35s var(--ease), opacity 0.3s var(--ease);
}

.site-header.is-scrolled .utility-bar {
    height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.utility-links a {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 0 13px;
    border-left: 1px solid var(--line);
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}

.utility-links a:first-child {
    border-left: 0;
    padding-left: 0;
}

.utility-links a:last-child {
    padding-right: 0;
}

.utility-links a:hover {
    color: var(--blue);
}

.utility-apply {
    color: var(--blue) !important;
    font-weight: 700 !important;
}

.utility-links--right {
    padding-left: 0;
    border-left: 0;
}

.utility-links--right a:first-child {
    border-left: 1px solid var(--line);
    padding-left: 13px;
}

.utility-fb {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1877f2 !important;
    font-weight: 600 !important;
}

.utility-fb:hover {
    color: var(--navy-900) !important;
}

.utility-fb svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* Main nav */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    height: 66px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink);
    position: relative;
    transition: color 0.25s var(--ease);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
    color: var(--blue);
}

.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after {
    transform: scaleX(1);
}

.chevron {
    width: 11px;
    height: 11px;
    margin-top: 1px;
    transition: transform 0.3s var(--ease);
    opacity: 0.7;
}

.nav-item:hover .chevron,
.nav-item.is-open .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% - 6px);
    left: -22px;
    min-width: 248px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    z-index: 50;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 2px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.dropdown a:hover {
    background: var(--paper);
    color: var(--blue);
}

.dropdown a span {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
}

.dropdown a small {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
}

.dropdown--wide {
    min-width: 375px;
}

.dropdown--wide a {
    padding: 11px 14px;
}

/* Search trigger */
.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.search-btn svg {
    width: 19px;
    height: 19px;
}

.search-btn:hover {
    background: var(--paper);
    color: var(--blue);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin: auto 0;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--navy-900);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Hero Showreel — Full-Bleed Institutional Design
   ========================================================================== */

.hero {
    position: relative;
    height: clamp(580px, 76vh, 710px);
    background: var(--navy-950);
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-media {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s var(--ease), visibility 1.2s;
}

.hero-media.is-active {
    opacity: 1;
    visibility: visible;
}

/* Soft tonal wash fills left text zone so there is never flat empty space */
.hero-bg-wash {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(36px) saturate(1.15) brightness(0.38);
    transform: scale(1.14);
}

/* Crisp subject layer seamlessly feathered out of the left navy shade */
.hero-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 78%;
    height: 100%;
    object-fit: cover;
    object-position: center var(--pos-y, 46%);
    filter: contrast(1.03) saturate(1.04);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 14%, rgba(0, 0, 0, 0.88) 28%, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 14%, rgba(0, 0, 0, 0.88) 28%, #000 42%);
}

/* Extended widescreen campus photographs: full canvas with building pinned cleanly on the right above quicklinks */
.hero-media--widescreen .hero-img {
    width: 100%;
    height: calc(100% - 54px);
    top: 0;
    right: 0;
    bottom: 54px;
    object-fit: cover;
    object-position: right center;
    filter: none;
    transform-origin: right center;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 94%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 94%, transparent 100%);
}

/* Slight upward lift on Slide 01 so the lower signboard clears the quicklinks bar */
.hero-media[data-slide="0"] .hero-img {
    height: calc(100% - 68px);
    bottom: 68px;
}

/* Portrait photographs use the same seamless feathered blend, sized to portrait proportions to avoid heavy cropping */
.hero-media--portrait .hero-img {
    width: clamp(360px, 45vw, 640px);
    height: calc(100% - 48px);
    top: 0;
    right: 0;
    bottom: 48px;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 16%, rgba(0, 0, 0, 0.9) 32%, #000 46%),
        linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 16%, rgba(0, 0, 0, 0.9) 32%, #000 46%),
        linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
    mask-composite: intersect;
}

.hero-media.is-active .hero-img {
    animation: heroZoom 9s ease-out forwards;
}

.hero-media--widescreen.is-active .hero-img {
    animation: none;
}

.hero-media--portrait.is-active .hero-img {
    animation: heroPortraitZoom 9s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.015); }
    to   { transform: scale(1.075); }
}

@keyframes heroWidescreenZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.025); }
}

@keyframes heroPortraitZoom {
    from { transform: scale(1.005); }
    to   { transform: scale(1.035); }
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(6, 21, 39, 0.88) 0%, rgba(6, 21, 39, 0.7) 32%, rgba(6, 21, 39, 0.2) 56%, rgba(6, 21, 39, 0.03) 100%),
        linear-gradient(0deg, rgba(6, 21, 39, 0.82) 0%, rgba(6, 21, 39, 0.24) 24%, transparent 46%);
}

/* ---------- Editorial Headline & Copy ---------- */

.hero-inner {
    position: relative;
    z-index: 3;
    width: min(1200px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-bottom: 124px;
}

.hero-copy-stack {
    display: grid;
    grid-template-areas: "copy";
    max-width: 620px;
}

.hero-chapter-copy {
    grid-area: copy;
    pointer-events: none;
}

.hero-chapter-copy.is-active {
    pointer-events: auto;
}

.hero-chapter-copy .hero-kicker,
.hero-chapter-copy .hero-title,
.hero-chapter-copy .hero-sub,
.hero-chapter-copy .hero-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.hero-chapter-copy.is-active .hero-kicker { opacity: 1; transform: none; transition-delay: 0.12s; }
.hero-chapter-copy.is-active .hero-title  { opacity: 1; transform: none; transition-delay: 0.24s; }
.hero-chapter-copy.is-active .hero-sub    { opacity: 1; transform: none; transition-delay: 0.36s; }
.hero-chapter-copy.is-active .hero-cta    { opacity: 1; transform: none; transition-delay: 0.48s; }

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.gold-rule {
    display: inline-block;
    width: 44px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.9rem, 5.5vw, 4.9rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

/* ---------- Bottom Story Rail & Controls ---------- */

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 80px));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    z-index: 4;
}

.hero-story-bar {
    flex: 1;
    max-width: 820px;
    min-width: 0;
}

.hero-caption-line {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.hero-frame-num {
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
    color: var(--gold-light);
    flex-shrink: 0;
}

.hero-caption-sep {
    color: rgba(200, 162, 74, 0.6);
    flex-shrink: 0;
}

/* 5-Chapter Proportional Story Rail (2 + 2 + 3 + 4 + 2 = 13 equal segments) */
.hero-story-rail {
    display: grid;
    grid-template-columns: 2fr 2fr 3fr 4fr 2fr;
    gap: 16px;
}

.rail-chapter {
    min-width: 0;
}

.rail-label {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}

.rail-label span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(226, 201, 131, 0.65);
}

.rail-label:hover,
.rail-chapter.is-active .rail-label {
    color: #ffffff;
}

.rail-chapter.is-active .rail-label span {
    color: var(--gold-light);
}

.rail-segments {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.rail-seg {
    position: relative;
    flex: 1;
    height: 13px;
    padding: 5px 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.rail-seg::before {
    content: "";
    display: block;
    width: 100%;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.26);
    transition: background 0.25s var(--ease);
}

.rail-seg:hover::before {
    background: rgba(255, 255, 255, 0.58);
}

.rail-seg i {
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 2.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.rail-seg.is-passed i {
    transform: scaleX(1);
    opacity: 0.62;
}

.hero-transport {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hero-circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    background: rgba(6, 21, 39, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-circle-btn:hover {
    background: rgba(6, 21, 39, 0.6);
    border-color: #fff;
}

.hero-circle-btn svg {
    width: 15px;
    height: 15px;
}

.hero-pause .icon-play {
    display: none;
}

.hero-pause.is-paused .icon-pause {
    display: none;
}

.hero-pause.is-paused .icon-play {
    display: block;
}

/* ==========================================================================
   Quick links
   ========================================================================== */

.quicklinks {
    position: relative;
    z-index: 10;
    width: min(1200px, calc(100% - 80px));
    margin: -58px auto 0;
}

.quicklinks-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 24px 60px rgba(6, 21, 39, 0.16);
}

.quicklink {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 26px 26px;
    border-left: 1px solid var(--line);
    transition: background 0.3s var(--ease);
}

.quicklink:first-child {
    border-left: 0;
}

.quicklink:hover {
    background: var(--paper);
}

.ql-icon {
    width: 26px;
    height: 26px;
    color: var(--blue);
    flex-shrink: 0;
}

.ql-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.ql-copy strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-900);
}

.ql-copy small {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
}

.ql-arrow {
    margin-left: auto;
    font-size: 17px;
    color: var(--gold);
    transition: transform 0.25s var(--ease);
}

.quicklink:hover .ql-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Affiliations
   ========================================================================== */

.affiliates {
    padding: 74px 0 78px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.affiliates-head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 34px;
}

.affiliates-head::before,
.affiliates-head::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.affiliates-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.affiliates-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.affiliate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 0 1 calc((100% - 72px) / 5);
    padding: 28px 20px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.affiliate:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 162, 74, 0.55);
    box-shadow: var(--shadow-md);
}

.affiliate img {
    width: 104px;
    height: 104px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: saturate(0.92);
    transition: filter 0.3s var(--ease);
}

.affiliate:hover img {
    filter: saturate(1.05);
}

.affiliate--bare {
    justify-content: center;
    padding: 28px 20px;
}

.affiliate--bare img {
    width: 122px;
    height: 122px;
}

.affiliate figcaption {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.4;
    text-wrap: balance;
}


/* ==========================================================================
   Message from faculty
   ========================================================================== */

.message {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(20, 84, 155, 0.38), transparent 55%),
        var(--navy-900);
    color: #fff;
    overflow: hidden;
}

.message::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 88px 88px;
    pointer-events: none;
}

.message-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
}

.message-quote {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.9vw, 2.5rem);
    font-weight: 400;
    line-height: 1.38;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 8px 0 30px;
    padding-left: 2px;
}

.message-author {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    line-height: 1.7;
    margin-bottom: 34px;
}

.message-author span {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
}

.seal-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.seal {
    width: min(260px, 100%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.42));
}

.seal-arc-text {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    fill: var(--gold-light);
}

.seal-bottom {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    fill: var(--gold);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 54px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 38px;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.stat-value {
    font-family: var(--serif);
    font-size: clamp(2.3rem, 3.4vw, 3.1rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--navy-900);
}

.stat-unit {
    font-size: 0.6em;
    color: var(--gold-deep);
    margin-left: 2px;
}

.stat-label {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.45;
}

/* ==========================================================================
   Academics
   ========================================================================== */

.academics {
    padding: 112px 0 120px;
    background: var(--paper);
}

.section-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 54px;
}

.section-head .section-title {
    margin-bottom: 0;
    max-width: 15ch;
}

.section-head-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 6px;
}

.section-head-aside p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 42ch;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.program-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
                border-color 0.3s var(--ease);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.program-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-2);
}

.program-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.program-card:hover .program-media img {
    transform: scale(1.06);
}

.program-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.program-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 22px 26px;
}

.program-school {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
}

.program-body h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.program-body h3 a {
    transition: color 0.25s var(--ease);
}

.program-body h3 a:hover {
    color: var(--blue);
}

.program-name {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

.program-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    margin-top: auto;
    margin-bottom: 18px;
    border-top: 1px solid var(--line);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.program-meta span + span {
    padding-left: 14px;
    border-left: 1px solid var(--line);
}

.program-body .text-link {
    align-self: flex-start;
    font-size: 11px;
}

/* ==========================================================================
   Why BIBT
   ========================================================================== */

.why {
    padding: 120px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.why-visual {
    position: relative;
}

.why-visual::before {
    content: "";
    position: absolute;
    inset: -16px 16px 16px -16px;
    border: 1px solid var(--gold);
    z-index: 0;
}

.why-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.why-copy .section-title {
    max-width: 16ch;
}

.why-copy .section-lede {
    margin-bottom: 14px;
}

.why-item {
    display: flex;
    gap: 22px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.why-item:first-of-type {
    margin-top: 22px;
}

.why-num {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--gold-deep);
    line-height: 1.4;
    flex-shrink: 0;
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.why-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 46ch;
}

/* ==========================================================================
   Admissions
   ========================================================================== */

.admissions {
    position: relative;
    padding: 112px 0;
    background:
        radial-gradient(ellipse at 12% 8%, rgba(20, 84, 155, 0.4), transparent 52%),
        var(--navy-950);
    color: #fff;
    overflow: hidden;
}

.admissions::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 96px 96px;
    pointer-events: none;
}

.admissions-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 90px;
    align-items: start;
}

.admissions-copy .section-lede {
    margin-bottom: 28px;
}

.steps {
    margin-top: 10px;
}

.step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line-dark);
}

.step-num {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--gold);
    line-height: 1.6;
    flex-shrink: 0;
    width: 28px;
}

.step h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 6px;
}

.step p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.64);
    max-width: 46ch;
}

.dates-card {
    padding: 34px 32px 30px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 3px solid var(--gold);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.dates-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.dates-card h3 {
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 22px;
}

.dates-list {
    margin-bottom: 4px;
}

.dates-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid var(--line-dark);
}

.dates-list dt {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.dates-list dd {
    font-size: 12.5px;
    color: #fff;
    text-align: right;
}

.dates-note {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.dates-note a {
    color: var(--gold-light);
    border-bottom: 1px solid rgba(226, 201, 131, 0.4);
}

/* ==========================================================================
   Campus life
   ========================================================================== */

.campus {
    padding: 116px 0;
    background: var(--paper);
}

.campus-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: repeat(2, 236px);
    gap: 18px;
}

.campus-shot {
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
}

.campus-shot--tall {
    grid-row: span 2;
}

.campus-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out);
}

.campus-shot:hover img {
    transform: scale(1.05);
}

.campus-shot figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 38px 20px 16px;
    background: linear-gradient(0deg, rgba(6, 21, 39, 0.75), transparent);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fff;
}

.campus-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
    background: var(--white);
    border: 1px solid var(--line);
}

.campus-info > div {
    padding: 26px 30px;
    border-left: 1px solid var(--line);
}

.campus-info > div:first-child {
    border-left: 0;
}

.campus-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
}

.campus-info p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.campus-tour p {
    color: var(--muted);
    margin-bottom: 12px;
}

.campus-tour .text-link {
    font-size: 11px;
}

/* ==========================================================================
   News
   ========================================================================== */

.news {
    padding: 116px 0 120px;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-2);
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.news-card:hover .news-media img {
    transform: scale(1.05);
}

.news-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-cat {
    color: var(--gold-deep);
    padding-right: 10px;
    border-right: 1px solid var(--line);
}

.news-meta time {
    color: var(--muted);
    font-weight: 500;
}

.news-body h3 {
    font-size: 1.32rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-body h3 a {
    transition: color 0.25s var(--ease);
}

.news-body h3 a:hover {
    color: var(--blue);
}

.news-body > p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 20px;
}

.news-body .text-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 11px;
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.cta {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--navy-950);
    padding: 130px 0;
    isolation: isolate;
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    z-index: -2;
}

.cta-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(14, 58, 107, 0.55), transparent 70%),
        linear-gradient(0deg, rgba(6, 21, 39, 0.92), rgba(6, 21, 39, 0.78));
    z-index: -1;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta .kicker {
    justify-content: center;
}

.cta-title {
    font-size: clamp(2.7rem, 5.4vw, 4.6rem);
    line-height: 1.06;
    color: #fff;
    margin-bottom: 22px;
}

.cta-title em {
    font-style: italic;
    color: var(--gold-light);
}

.cta-sub {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
    max-width: 58ch;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 38px;
}

/* ==========================================================================
   About strip
   ========================================================================== */

.about-strip {
    padding: 96px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-brand .section-title {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    margin-bottom: 0;
}

.about-copy p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 16px;
    max-width: 58ch;
}

.about-copy .text-link {
    margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.66);
    padding: 78px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.8fr 1fr;
    gap: 54px;
    padding-bottom: 58px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 18px;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 3px;
    background: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 36ch;
    margin-bottom: 22px;
}

.socials {
    display: flex;
    gap: 9px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
                border-color 0.25s var(--ease);
}

.socials a svg {
    width: 16px;
    height: 16px;
}

.socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-950);
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.66);
    transition: color 0.25s var(--ease);
}

.footer-col a:hover {
    color: #fff;
}

.footer-col address {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.footer-phones a {
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 22px 0 26px;
    border-top: 1px solid var(--line-dark);
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(200, 162, 74, 0.6);
    background: rgba(6, 21, 39, 0.86);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--gold-light);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
                visibility 0.35s, background 0.25s var(--ease);
}

.back-top svg {
    width: 18px;
    height: 18px;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-top:hover {
    background: var(--gold);
    color: var(--navy-950);
}

/* ==========================================================================
   Search overlay
   ========================================================================== */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(6, 21, 39, 0.62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding-top: 12vh;
    overflow-y: auto;
}

.search-panel {
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.search-bar > svg {
    width: 20px;
    height: 20px;
    color: var(--muted);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink);
}

.search-bar input::placeholder {
    color: var(--muted);
}

.search-close {
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px;
    transition: color 0.25s var(--ease);
}

.search-close:hover {
    color: var(--navy-900);
}

.search-results {
    padding: 20px 22px 26px;
}

.search-hint {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 12px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tags a {
    padding: 7px 13px;
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink-soft);
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
                border-color 0.25s var(--ease);
}

.search-tags a:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}

.search-result-list {
    display: flex;
    flex-direction: column;
}

.search-result-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 2px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink);
    transition: color 0.2s var(--ease);
}

.search-result-list a:first-child {
    border-top: 0;
}

.search-result-list a:hover {
    color: var(--blue);
}

.search-result-list small {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
}

.search-empty {
    font-size: 13.5px;
    color: var(--muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
    .header-shell {
        width: calc(100% - 40px);
        gap: 24px;
    }

    .nav-list {
        gap: 22px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-media {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 1024px) {
    html {
        scroll-padding-top: 72px;
    }

    .affiliate {
        flex-basis: calc((100% - 36px) / 3);
    }

    .header-shell {
        width: calc(100% - 32px);
        align-items: center;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .brand {
        padding: 12px 0;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .brand-full {
        font-size: 8.5px;
        max-width: 240px;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(10, 42, 82, 0.12);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        padding: 0 20px 18px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    }

    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .utility-bar,
    .site-header.is-scrolled .utility-bar {
        height: auto;
        opacity: 1;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 2px 18px;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

    .utility-links--right {
        padding-left: 0;
        border-left: 0;
    }

    .utility-links--right a:first-child {
        border-left: 0;
        padding-left: 0;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
        padding: 8px 0 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
    }

    .nav-item {
        display: block;
        height: auto;
        border-bottom: 1px solid var(--line);
    }

    .nav-link {
        width: 100%;
        height: auto;
        padding: 15px 0;
        justify-content: space-between;
        font-size: 14.5px;
    }

    .nav-link::after {
        display: none;
    }

    .chevron {
        width: 13px;
        height: 13px;
    }

    .dropdown,
    .dropdown--wide {
        position: static;
        min-width: 0;
        padding: 2px 0 12px 14px;
        margin-left: 2px;
        border: 0;
        border-left: 1px solid var(--line);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-item.is-open > .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 9px 12px;
    }

    .search-btn {
        width: 100%;
        height: 48px;
        border-radius: 0;
        justify-content: flex-start;
        gap: 12px;
        border-top: 1px solid var(--line);
        padding: 0 2px;
        margin-top: 6px;
    }

    .search-btn::after {
        content: "Search BIBT";
        font-size: 13.5px;
        font-weight: 600;
    }

    .hero {
        height: clamp(580px, 78vh, 720px);
    }

    .hero-inner,
    .hero-controls,
    .quicklinks {
        width: calc(100% - 48px);
    }

    .hero-controls {
        bottom: 72px;
    }

    .hero-img {
        width: 84%;
    }

    .hero-media--widescreen .hero-img {
        width: 100%;
        height: calc(100% - 48px);
        object-position: 86% center;
    }

    .hero-media--portrait .hero-img {
        width: clamp(320px, 50vw, 520px);
        height: calc(100% - 44px);
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(6, 21, 39, 0.94) 0%, rgba(6, 21, 39, 0.84) 44%, rgba(6, 21, 39, 0.36) 72%, rgba(6, 21, 39, 0.14) 100%),
            linear-gradient(0deg, rgba(6, 21, 39, 0.84) 0%, rgba(6, 21, 39, 0.3) 28%, transparent 50%);
    }

    .message-grid,
    .admissions-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .seal-wrap {
        justify-content: flex-start;
        padding-top: 0;
    }

    .seal {
        width: 220px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .why-visual {
        max-width: 480px;
    }

    .why-visual img {
        aspect-ratio: 5 / 4;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .section-head .section-title {
        max-width: 20ch;
    }

    .section-head-aside {
        max-width: 56ch;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 44px;
    }

    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .section-shell {
        width: calc(100% - 48px);
    }

    .affiliate {
        flex-basis: calc((100% - 18px) / 2);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .stat {
        padding: 24px 28px;
        border-left: 1px solid var(--line);
    }

    .stat:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .stat:nth-child(-n + 2) {
        padding-top: 42px;
    }

    .stat:nth-child(n + 3) {
        padding-bottom: 42px;
        border-top: 1px solid var(--line);
    }

    .campus {
        padding: 92px 0;
    }

    .campus-grid {
        grid-template-rows: repeat(2, 200px);
    }

    .campus-info {
        grid-template-columns: 1fr;
    }

    .campus-info > div {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 22px 24px;
    }

    .campus-info > div:first-child {
        border-top: 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card:last-child {
        grid-column: span 2;
    }

    .news-card:last-child .news-media {
        aspect-ratio: 16 / 9;
    }

    .cta {
        min-height: 500px;
        padding: 110px 0;
    }

    .quicklinks {
        margin-top: -44px;
    }

    .quicklinks-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .quicklink {
        border-top: 1px solid var(--line);
        padding: 22px 22px;
    }

    .quicklink:nth-child(odd) {
        border-left: 0;
    }

    .quicklink:nth-child(-n + 2) {
        border-top: 0;
    }
}

@media (max-width: 640px) {
    .section-shell {
        width: calc(100% - 36px);
    }

    .affiliates {
        padding: 52px 0 56px;
    }

    .affiliates-head {
        gap: 14px;
        margin-bottom: 24px;
    }

    .affiliates-title {
        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .affiliates-grid {
        gap: 12px;
    }

    .affiliate {
        flex-basis: calc((100% - 12px) / 2);
    }

    .affiliate {
        padding: 22px 14px 18px;
        gap: 12px;
    }

    .affiliate img {
        width: 82px;
        height: 82px;
    }

    .affiliate--bare {
        padding: 22px 14px;
    }

    .affiliate--bare img {
        width: 96px;
        height: 96px;
    }

    .affiliate figcaption {
        font-size: 9.5px;
        letter-spacing: 0.08em;
    }

    .brand-full {
        display: none;
    }

    .brand-motto {
        font-size: 9.5px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .hero {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        padding-bottom: 52px;
    }

    .hero-slides {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 10;
        min-height: 220px;
        max-height: 340px;
        overflow: hidden;
        background: var(--navy-950);
    }

    .hero-img,
    .hero-media--portrait .hero-img,
    .hero-media--widescreen .hero-img {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        object-fit: cover;
        object-position: center var(--pos-y, 46%);
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
        animation: none;
    }

    .hero-media--widescreen .hero-img {
        object-position: 90% center;
    }

    .hero-media[data-slide="0"] .hero-img {
        height: 100%;
        bottom: 0;
        object-position: 90% center;
    }

    .hero-media--portrait .hero-img {
        object-fit: contain;
        object-position: center center;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-shade {
        display: none;
    }

    .hero-inner {
        width: calc(100% - 36px);
        height: auto;
        padding: 28px 0 24px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9.5vw, 3rem);
    }

    .hero-sub {
        font-size: 0.96rem;
    }

    .hero-cta {
        margin-top: 22px;
        gap: 10px;
    }

    .hero-cta .btn {
        flex: 1 1 auto;
        min-width: 160px;
        padding: 13px 18px;
        font-size: 11.5px;
    }

    .hero-controls {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: calc(100% - 36px);
        margin: 0 auto;
        padding-bottom: 10px;
        gap: 16px;
    }

    .hero-story-rail {
        gap: 8px;
    }

    .rail-label {
        display: none;
    }

    .rail-segments {
        margin-top: 0;
        gap: 3px;
    }

    .hero-circle-btn {
        width: 36px;
        height: 36px;
    }

    .quicklinks {
        width: calc(100% - 36px);
        margin-top: -32px;
    }

    .quicklinks-inner {
        grid-template-columns: 1fr;
    }

    .quicklink {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 18px 20px;
    }

    .quicklink:nth-child(2) {
        border-top: 1px solid var(--line);
    }

    .message {
        padding: 82px 0;
    }

    .message-quote {
        font-size: 1.5rem;
    }

    .seal {
        width: 180px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat,
    .stat:nth-child(odd) {
        padding: 20px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .stat:first-child {
        border-top: 0;
        padding-top: 34px;
    }

    .stat:last-child {
        padding-bottom: 34px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-media {
        aspect-ratio: 3 / 2;
    }

    .program-media img {
        object-position: center 30%;
    }

    .why-visual {
        max-width: 100%;
    }

    .why-visual img {
        aspect-ratio: 3 / 2;
    }

    .why {
        padding: 84px 0;
    }

    .why-item {
        gap: 16px;
    }

    .admissions {
        padding: 84px 0;
    }

    .dates-card {
        padding: 26px 22px;
    }

    .campus-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .campus-shot--tall {
        grid-row: auto;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .campus-shot:not(.campus-shot--tall) {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .campus-shot img {
        object-position: center 35%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-media,
    .news-card:last-child .news-media {
        aspect-ratio: 3 / 2;
    }

    .news-card:last-child {
        grid-column: auto;
    }

    .cta {
        min-height: 0;
        padding: 96px 0;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .about-strip {
        padding: 76px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 44px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 72px;
    }

    .back-top {
        right: 16px;
        bottom: 16px;
    }

    .search-overlay {
        padding-top: 8vh;
    }
}

/* ==========================================================================
   Program Catalog Enhancements (Filter Tabs, 3-Col Grid, Cost Row, Fee Note)
   ========================================================================== */

.program-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
}

.program-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
                border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.program-filter-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 2px;
    background: var(--paper);
    font-size: 10px;
    color: var(--muted);
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.program-filter-btn:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.program-filter-btn.is-active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
    box-shadow: 0 8px 20px rgba(10, 42, 82, 0.16);
}

.program-filter-btn.is-active span {
    background: rgba(200, 162, 74, 0.25);
    color: var(--gold-light);
}

.program-grid--catalog {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card.is-hidden {
    display: none;
}

.program-card {
    position: relative;
}

.program-meta {
    gap: 10px;
    font-size: 10.5px;
}

.program-meta span + span {
    padding-left: 10px;
}

.program-cost-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
}

.program-cost-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.program-cost-val {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}

.program-fee-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding: 18px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    font-size: 13.5px;
    color: var(--ink-soft);
}

.program-fee-note svg {
    width: 20px;
    height: 20px;
    color: var(--gold-deep);
    flex-shrink: 0;
}

.program-fee-note strong {
    color: var(--navy-900);
}

/* ==========================================================================
   Contact & Connect Hub
   ========================================================================== */

.contact-hub {
    padding: 108px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy-900);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
                border-top-color 0.25s var(--ease);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--gold);
}

.contact-card--featured {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(20, 84, 155, 0.35), transparent 60%),
        var(--navy-950);
    border-color: var(--navy-900);
    border-top-color: var(--gold);
    color: #fff;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--navy-900);
    margin-bottom: 20px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card--featured .contact-icon {
    background: rgba(200, 162, 74, 0.16);
    border-color: rgba(200, 162, 74, 0.45);
    color: var(--gold-light);
}

.contact-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

.contact-card--featured .contact-kicker {
    color: var(--gold-light);
}

.contact-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.contact-card--featured h3 {
    color: #fff;
}

.contact-detail {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 18px;
}

.contact-card--featured .contact-detail {
    color: rgba(255, 255, 255, 0.72);
}

.contact-number-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 18px;
}

.contact-number-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-900);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.contact-number-link:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}

.contact-card .text-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 11px;
}

@media (max-width: 1120px) {
    .program-grid--catalog {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .program-grid--catalog,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hub {
        padding: 80px 0;
    }

    .program-fee-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 18px;
    }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
