:root {
    --primary: #3a6ff7;
    --primary-dark: #254fba;
    --accent: #ffe27a;
    --text: #1f2a44;
    --muted: #5c6884;
    --bg: #f7f9fc;
    --white: #ffffff;
    --border: #e0e6f4;
    font-family: 'Noto Sans KR', sans-serif;
}

body.theme-dark {
    --primary: #8596ff;
    --primary-dark: #5064e0;
    --accent: #ffd166;
    --text: #e6ecff;
    --muted: #a5b4d6;
    --bg: #0b1120;
    --white: #131d35;
    --border: rgba(133, 150, 210, 0.35);
    background: var(--bg);
    color: var(--text);
}

body.theme-dark a:hover,
body.theme-dark a:focus {
    color: var(--primary);
}

body.theme-dark .site-header {
    box-shadow: 0 12px 32px rgba(3, 8, 24, 0.7);
}

body.theme-dark .mega-menu {
    box-shadow: 0 32px 56px rgba(4, 10, 32, 0.75);
}

body.theme-dark .hero {
    --hero-background: radial-gradient(circle at top left, rgba(133, 150, 255, 0.18), transparent 60%),
        linear-gradient(135deg, #0f1c3d 0%, #050b1e 70%) !important;
    --hero-text-color: #e6ecff;
    --hero-body-color: rgba(230, 236, 255, 0.7);
}

body.theme-dark .quick-item,
body.theme-dark .highlight-card,
body.theme-dark .news-card,
body.theme-dark .guide-card,
body.theme-dark .stat-card,
body.theme-dark .resource-card,
body.theme-dark .detail-card,
body.theme-dark .program-card,
body.theme-dark .support-card,
body.theme-dark .contact-card,
body.theme-dark .info-card {
    box-shadow: 0 20px 40px rgba(2, 8, 26, 0.6);
}

body.theme-dark .site-footer {
    background: #080f1f;
    color: rgba(230, 236, 255, 0.82);
}

body.theme-dark .footer-links h3 {
    color: var(--text);
}

body.theme-dark .footer-bottom {
    border-top-color: rgba(133, 150, 210, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
}

.top-bar {
    background: linear-gradient(135deg, #0f1f4c 0%, #274bdb 55%, #6a8bff 100%);
    color: var(--white);
    font-size: 0.9rem;
}

.top-bar a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.top-bar a:hover,
.top-bar a:focus {
    color: inherit;
    text-decoration: underline;
}

.top-bar__content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem;
    padding: 0.55rem 0;
}

.top-bar__section {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar__section--left {
    justify-content: flex-start;
}

.top-bar__section--center {
    justify-content: center;
    text-align: center;
}

.top-bar__section--right {
    justify-content: flex-end;
    text-align: right;
}

.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

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

@media (max-width: 720px) {
    .top-bar__content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    .top-bar__section {
        justify-content: center;
        text-align: center;
    }

    .top-bar__item {
        white-space: normal;
    }
}

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

a:hover,
a:focus {
    color: var(--primary-dark);
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(19, 33, 68, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.logo img {
    height: 3.25rem;
    width: auto;
    display: block;
}

.logo__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--primary);
    letter-spacing: normal;
    text-transform: none;
    text-align: right;
    align-items: flex-end;
    justify-content: flex-end;
}

.logo__line {
    display: block;
}

.logo__line--secondary {
    font-weight: 700;
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .logo img {
        height: 2.75rem;
    }
}

@media (max-width: 640px) {
    .logo {
        gap: 0.5rem;
        font-size: 1.1rem;
        letter-spacing: 0.2em;
    }

    .logo img {
        height: 2.25rem;
    }
}

@media (max-width: 520px) {
    .logo__text {
        display: none;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    font-weight: 500;
    padding: 0.25rem 0;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

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

.main-nav li.has-mega > a {
    display: inline-block;
}

.main-nav li.has-mega > a::after {
    display: none;
}

.has-mega::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 1.25rem;
    pointer-events: none;
}

.has-mega::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 1.25rem;
    pointer-events: none;
}

.mega-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 10px);
    width: min(920px, 90vw);
    background: #0f1f4c;
    color: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 28px 48px rgba(15, 31, 76, 0.32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 20;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.mega-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mega-column {
    display: grid;
    gap: 1.5rem;
}

.mega-section h3,
.mega-heading {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #b8c8ff;
}

.mega-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.mega-submenu {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0 0 0 1rem;
    display: grid;
    gap: 0.35rem;
}

.mega-submenu a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.mega-submenu a:hover,
.mega-submenu a:focus {
    color: var(--accent);
}

.mega-section ul a,
.mega-heading {
    color: var(--white);
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-section ul a:hover,
.mega-section ul a:focus,
.mega-heading:hover,
.mega-heading:focus {
    color: var(--accent);
}

.mega-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
}

.mega-heading::after {
    content: "→";
    font-size: 0.8rem;
}

.mega-promo {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.mega-promo strong {
    font-size: 1.05rem;
}

.mega-promo p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.content-page {
    background: var(--white);
}

.page-hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.page-hero .container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.page-body {
    padding: 3.5rem 0;
    background: var(--bg);
}

.page-body .container {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
}

.info-block,
.info-aside {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 20px 45px rgba(17, 29, 63, 0.08);
}

.info-block h2 {
    margin-top: 0;
    font-size: 1.75rem;
}

.info-list {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.75rem;
    list-style: disc;
}

.info-list li {
    color: var(--muted);
    font-weight: 500;
}

.info-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-aside h3 {
    margin: 0;
    font-size: 1.25rem;
}

.info-aside__time {
    color: var(--muted);
    font-size: 0.95rem;
}

.info-aside .btn {
    text-align: center;
}

.page-detail {
    padding: 3rem 0 5rem;
}

.page-detail .container {
    max-width: 860px;
}

.page-detail h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.page-detail p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.info-block p {
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.info-block .lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.info-aside__lead {
    color: var(--muted);
    line-height: 1.6;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    color: var(--text);
}

.contact-list span {
    color: var(--muted);
    font-weight: 500;
}

.detail-grid {
    display: grid;
    gap: 1.75rem;
}

.detail-card {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(17, 29, 63, 0.08);
}

.detail-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
}

.detail-card p,
.detail-card li {
    color: var(--muted);
    line-height: 1.7;
}

.detail-card ul {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.6rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.98rem;
}

.data-table thead {
    background: var(--bg);
}

.data-table th,
.data-table td {
    border: 1px solid rgba(24, 37, 64, 0.08);
    padding: 0.85rem 1rem;
    text-align: left;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.badge-list span {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(58, 111, 247, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.1rem;
}

.timeline-item {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.timeline-item strong {
    display: block;
    color: var(--text);
}

.resource-grid {
    display: grid;
    gap: 1rem;
}

.resource-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border-radius: 0.9rem;
    background: var(--bg);
    color: var(--text);
    font-weight: 600;
}

.resource-grid a span {
    color: var(--muted);
    font-weight: 500;
}

.status-grid {
    display: grid;
    gap: 1rem;
}

.status-card {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-radius: 1rem;
    background: var(--bg);
}

.status-card strong {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.status-card span {
    color: var(--muted);
}

.highlight-list {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.75rem;
}

.highlight-list li {
    background: var(--bg);
    border-radius: 0.85rem;
    padding: 0.9rem 1.1rem;
    list-style: none;
    color: var(--muted);
    font-weight: 500;
}

.document-callout {
    margin-top: 1.5rem;
    padding: 1.1rem 1.3rem;
    border-radius: 0.9rem;
    background: rgba(58, 111, 247, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
}

@media (min-width: 768px) {
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 960px) {
    .page-body .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

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

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

.cta-group {
    display: flex;
    gap: 0.75rem;
}

.google-translate {
    display: flex;
    align-items: center;
}

.google-translate .goog-te-gadget {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem !important;
    color: var(--primary);
}

.google-translate .goog-te-gadget > span {
    margin: 0;
}

.google-translate .goog-te-combo {
    border-radius: 999px !important;
    padding: 0.5rem 1.4rem !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    background: transparent !important;
    cursor: pointer !important;
}

.google-translate .goog-te-gadget img {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(58, 111, 247, 0.3);
}

.btn.primary:hover,
.btn.primary:focus {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn.ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn.ghost:hover,
.btn.ghost:focus {
    background: rgba(58, 111, 247, 0.08);
    transform: translateY(-1px);
}

.dark-mode-toggle {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(15, 31, 76, 0.25);
    cursor: pointer;
    z-index: 80;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease,
        border-color 0.3s ease;
}

.dark-mode-toggle:hover,
.dark-mode-toggle:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 31, 76, 0.3);
}

.dark-mode-toggle:focus {
    outline: 3px solid rgba(58, 111, 247, 0.35);
    outline-offset: 3px;
}

.dark-mode-toggle__icon {
    font-size: 1.1rem;
    line-height: 1;
}

.dark-mode-toggle__label {
    font-weight: 600;
}

body.theme-dark .dark-mode-toggle {
    border-color: rgba(133, 150, 210, 0.45);
    box-shadow: 0 20px 38px rgba(3, 8, 24, 0.55);
}

@media (max-width: 640px) {
    .dark-mode-toggle {
        left: 1rem;
        bottom: 1rem;
    }
}

.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(15, 31, 76, 0.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 80;
}

.scroll-to-top:focus {
    outline: 3px solid rgba(58, 111, 247, 0.35);
    outline-offset: 3px;
}

.scroll-to-top svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero {
    background: var(
        --hero-background,
        radial-gradient(circle at top left, rgba(58, 111, 247, 0.16), transparent 60%),
        var(--white)
    );
    color: var(--hero-text-color, inherit);
    padding: 4.5rem 0;
}

.hero .container {
    display: grid;
    gap: 3rem;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.hero-text p {
    color: var(--hero-body-color, var(--muted));
    max-width: 32rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
    min-height: 260px;
}

.floating-card {
    background: var(--floating-card-bg, var(--white));
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 22px 40px rgba(34, 57, 120, 0.12);
    max-width: 280px;
    margin-left: auto;
    color: var(--floating-card-color, var(--text));
}

.floating-card strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.floating-card a {
    color: var(--floating-card-link, var(--primary));
}

.department-hero {
    background: linear-gradient(135deg, rgba(58, 111, 247, 0.16) 0%, rgba(23, 41, 92, 0.08) 60%, transparent 100%),
        var(--white);
    padding: 4rem 0 2.5rem;
}

.department-hero .container {
    display: grid;
    gap: 2rem;
}

.department-hero__layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.department-hero__summary {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.department-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(58, 111, 247, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.department-hero__label svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.department-hero h1 {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.department-hero p {
    color: var(--muted);
    max-width: 48rem;
    font-size: 1.05rem;
}

.department-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.5rem;
}

.department-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--bg);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.department-hero .department-tabs {
    margin-top: 2.5rem;
}

.department-tabs {
    border-top: 1px solid rgba(31, 42, 68, 0.08);
    border-bottom: 1px solid rgba(31, 42, 68, 0.08);
    background: var(--white);
}

.department-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.department-tabs [role="tab"] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.department-tabs [role="tab"]:hover,
.department-tabs [role="tab"]:focus,
.department-tabs [role="tab"]:focus-visible {
    background: rgba(58, 111, 247, 0.12);
    color: var(--primary-dark);
}

.department-tabs [role="tab"].is-active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(58, 111, 247, 0.25);
}

.department-hero__faculty {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 1.75rem 1.85rem;
    box-shadow: 0 18px 38px rgba(17, 29, 63, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.department-hero__faculty h2 {
    font-size: 1.35rem;
    margin: 0;
}

.department-hero__faculty-intro {
    color: var(--muted);
    font-size: 0.98rem;
    margin: 0;
    line-height: 1.7;
}

.department-hero__faculty-list {
    display: grid;
    gap: 1.1rem;
}

.faculty-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(58, 111, 247, 0.08);
}

.faculty-card:nth-of-type(2n) {
    background: rgba(18, 184, 134, 0.08);
}

.faculty-card:nth-of-type(3n) {
    background: rgba(255, 123, 90, 0.08);
}

.faculty-card__photo {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1.1rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(17, 29, 63, 0.12);
}

.faculty-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faculty-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.faculty-card__name {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}

.faculty-card__role {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

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

@media (max-width: 960px) {
    .department-hero__layout {
        grid-template-columns: 1fr;
    }

    .department-hero__faculty {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .faculty-card {
        align-items: flex-start;
    }

    .faculty-card__photo {
        width: 3.6rem;
        height: 3.6rem;
        border-radius: 0.9rem;
    }
}

.department-section {
    padding: 3.5rem 0;
}

.department-hero + .department-section {
    padding-top: 0;
}

.department-section:nth-of-type(even) {
    background: var(--bg);
}

.department-layout {
    display: grid;
    gap: 2.5rem;
}

.department-layout--split {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
    gap: 3rem;
}

.department-section h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
}

.department-section p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.department-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.department-list li {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 18px 40px rgba(17, 29, 63, 0.08);
    position: relative;
}

.department-list li::before {
    content: '';
    position: absolute;
    top: 1.8rem;
    left: 1.4rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 0.2rem;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(58, 111, 247, 0.15);
}

.department-list__title {
    margin: 0 0 0.4rem 1.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.department-list__subtitle {
    margin: 0 0 0.75rem 1.6rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.department-list__body {
    margin: 0 0 0 1.6rem;
    color: var(--muted);
    line-height: 1.75;
}

.department-cards {
    display: grid;
    gap: 1.5rem;
}

.department-card {
    background: var(--white);
    border-radius: 1.2rem;
    padding: 1.8rem;
    box-shadow: 0 18px 40px rgba(17, 29, 63, 0.08);
}

.department-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
}

.department-card ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
    color: var(--muted);
    line-height: 1.7;
}

.career-grid {
    display: grid;
    gap: 1.4rem;
}

.career-card {
    background: var(--white);
    border-radius: 1.2rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 16px 32px rgba(17, 29, 63, 0.08);
}

.career-card strong {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.department-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.department-cta .btn {
    min-width: 180px;
}

@media (min-width: 768px) {
    .department-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .department-hero {
        padding: 3.2rem 0 2rem;
    }

    .department-list li::before {
        left: 1.1rem;
    }

    .department-list__title,
    .department-list__subtitle,
    .department-list__body {
        margin-left: 1.35rem;
    }
}

.hero-slider {
    position: relative;
    overflow: hidden;
    --hero-slider-min-height: 24rem;
    --hero-slider-max-height: 38rem;
    --hero-slider-height: clamp(var(--hero-slider-min-height), 68vh, var(--hero-slider-max-height));
}

.hero-slider__track {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 28px 48px rgba(15, 31, 76, 0.16);
    transition: height 0.6s ease;
    background: transparent;
    height: var(--hero-slider-height);
    min-height: var(--hero-slider-min-height);
    max-height: var(--hero-slider-max-height);
}

.hero-slide {
    display: block;
    margin: 0;
    width: 100%;
    --badge-background: var(--accent);
    --badge-color: var(--text);
    --hero-text-color: var(--text);
    --hero-body-color: var(--muted);
    --hero-ghost-color: var(--primary);
    --hero-ghost-border: var(--primary);
    --hero-ghost-hover: rgba(58, 111, 247, 0.08);
    --floating-card-bg: var(--white);
    --floating-card-color: var(--text);
    --floating-card-link: var(--primary);
}

.hero-slider .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: clamp(2rem, 5vh, 3.5rem) 0;
    z-index: 0;
}

.hero-slider .hero .container {
    position: relative;
    z-index: 1;
    height: 100%;
}

.hero-slider__media,
.hero-slider [data-hero-media] {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.hero-slider__media img,
.hero-slider__media video,
.hero-slider__media canvas,
.hero-slider [data-hero-media] img,
.hero-slider [data-hero-media] video,
.hero-slider [data-hero-media] canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide .hero-text h1 {
    color: var(--hero-text-color, var(--text));
}

.hero-slide .hero-text p {
    color: var(--hero-body-color, var(--muted));
}

.hero-slide .badge {
    background: var(--badge-background, var(--accent));
    color: var(--badge-color, var(--text));
}

.hero-slide .btn.ghost {
    color: var(--hero-ghost-color, var(--primary));
    border-color: var(--hero-ghost-border, var(--primary));
}

.hero-slide .btn.ghost:hover,
.hero-slide .btn.ghost:focus {
    background: var(--hero-ghost-hover, rgba(58, 111, 247, 0.08));
}

.hero-slide .floating-card {
    background: var(--floating-card-bg, var(--white));
    color: var(--floating-card-color, var(--text));
    box-shadow: 0 22px 40px rgba(34, 57, 120, 0.12);
}

.hero-slide .floating-card a {
    color: var(--floating-card-link, var(--primary));
}

.js-enabled .hero-slider__track {
    min-height: var(--hero-slider-min-height);
}

.js-enabled .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.js-enabled .hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-slider__controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.hero-slider__control {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    font-size: 1.75rem;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 32px rgba(15, 31, 76, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
}

.hero-slider__control--prev {
    left: clamp(0.75rem, 2vw, 1.5rem);
}

.hero-slider__control--next {
    right: clamp(0.75rem, 2vw, 1.5rem);
}

.hero-slider__control:hover,
.hero-slider__control:focus {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15, 31, 76, 0.22);
}

.hero-slider__dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider__dot.is-active {
    background: var(--primary);
    transform: scale(1.15);
}

.hero-slider__dot:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 62rem) {
    .hero-slider {
        --hero-slider-min-height: 21rem;
        --hero-slider-max-height: 32rem;
        --hero-slider-height: clamp(var(--hero-slider-min-height), 65vh, var(--hero-slider-max-height));
    }

    .hero-slider .hero {
        padding: clamp(1.75rem, 6vh, 2.75rem) 0;
    }
}

@media (max-width: 48rem) {
    .hero-slider {
        --hero-slider-min-height: 18rem;
        --hero-slider-max-height: 26rem;
        --hero-slider-height: clamp(var(--hero-slider-min-height), 60vh, var(--hero-slider-max-height));
    }

    .hero-slider__control {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }

    .hero-slider__control--prev {
        left: clamp(0.5rem, 4vw, 1rem);
    }

    .hero-slider__control--next {
        right: clamp(0.5rem, 4vw, 1rem);
    }
    .hero-slider__track {
        border-radius: 1.5rem;
    }
}

.quick-links {
    padding: 2.5rem 0;
}

.quick-links .container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quick-item,
.program-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(19, 33, 68, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-item:hover,
.quick-item:focus,
.program-card:hover,
.program-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(19, 33, 68, 0.12);
}

.quick-item .icon,
.program-card .icon {
    font-size: 2rem;
}

.quick-item p,
.program-card__content p {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: 4rem 0;
}

#departments.section {
    padding-top: 0;
    padding-bottom: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

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

.split {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.feature-list {
    padding: 0;
    margin: 2rem 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.image-slider {
    --slide-count: 1;
    --control-size: 2.75rem;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    aspect-ratio: 4 / 3;
    box-shadow: 0 16px 36px rgba(34, 57, 120, 0.16);
    background: rgba(58, 111, 247, 0.08);
}

.image-slider__viewport {
    height: 100%;
}

.image-slider__track {
    display: flex;
    height: 100%;
    width: 100%;
    transform: translateX(calc(var(--current-index, 0) * -100%));
    transition: transform 0.6s ease;
    will-change: transform;
}

.image-slider__slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    margin: 0;
}

.image-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-slider__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(13, 24, 53, 0.75) 100%);
}

.image-slider__controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.image-slider__control {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--control-size);
    height: var(--control-size);
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 28px rgba(15, 31, 76, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    touch-action: manipulation;
}

.image-slider__control--prev {
    left: clamp(0.75rem, 2vw, 1.5rem);
}

.image-slider__control--next {
    right: clamp(0.75rem, 2vw, 1.5rem);
}

.image-slider__control:hover,
.image-slider__control:focus-visible {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 31, 76, 0.24);
    background: var(--white);
}

.image-slider__status {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(13, 24, 53, 0.55);
    backdrop-filter: blur(10px);
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}

.image-slider__status-separator {
    opacity: 0.8;
}

@media (max-width: 48rem) {
    .image-slider {
        aspect-ratio: 16 / 10;
    }

    .image-slider__caption {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .image-slider__status {
        font-size: 0.85rem;
        padding: 0.3rem 0.75rem;
        bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-slider__track {
        transition: none;
    }
}

.highlight-card {
    background: linear-gradient(160deg, rgba(58, 111, 247, 0.12), rgba(58, 111, 247, 0));
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: inset 0 0 0 1px rgba(58, 111, 247, 0.16);
}

.highlight-card .stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.highlight-card .number {
    font-size: 2.8rem;
    font-weight: 700;
}

.program-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.program-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.program-card h3 {
    margin: 0;
}

.program-card a {
    font-weight: 600;
    color: var(--primary);
}

.hero--lecture {
    background: linear-gradient(135deg, rgba(58, 111, 247, 0.14) 0%, rgba(255, 226, 122, 0.18) 45%, rgba(255, 255, 255, 0.9) 100%);
}

.lecture-library {
    background: linear-gradient(180deg, rgba(58, 111, 247, 0.08), transparent 65%);
}

.lecture-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.lecture-card {
    background: var(--white);
    border-radius: 1.25rem;
    box-shadow: 0 16px 32px rgba(31, 42, 68, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lecture-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(58, 111, 247, 0.18);
}

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

.lecture-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lecture-number {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.lecture-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.lecture-meta li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--muted);
}

.lecture-meta li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

.lecture-meta strong {
    color: var(--text);
    font-weight: 600;
}

.admissions {
    background: var(--white);
}

.info-list {
    display: grid;
    gap: 1.25rem;
}

.info-list div {
    background: rgba(58, 111, 247, 0.06);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
}

.info-list dt {
    font-weight: 600;
}

.admission-card {
    background: linear-gradient(180deg, rgba(58, 111, 247, 0.14), rgba(58, 111, 247, 0.04));
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 36px rgba(34, 57, 120, 0.14);
}

.admission-card form {
    display: grid;
    gap: 1rem;
}

.admission-card label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.admission-card input {
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    font: inherit;
}

.news {
    background: var(--white);
}

.news-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.news-card {
    padding: 1.2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: flex-start;
}

#news .news-card {
    padding: 0.8rem;
    gap: 0.5rem;
}

#news .news-card h3 {
    font-size: 1.05rem;
}

#news .news-card time,
#news .news-card p,
#news .news-card li {
    font-size: 0.9rem;
}

#news .feature-list {
    margin: 0.75rem 0 0;
    gap: 0.5rem;
}

.news-card .tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.support {
    background: radial-gradient(circle at center, rgba(58, 111, 247, 0.06), transparent 60%);
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1rem;
}

.support-list li {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 26px rgba(34, 57, 120, 0.1);
    display: grid;
    gap: 0.35rem;
}

.support-cta {
    background: linear-gradient(180deg, rgba(255, 226, 122, 0.4), rgba(255, 226, 122, 0.1));
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.campus-video {
    display: grid;
    gap: 0.75rem;
}

.campus-video h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.video-slider {
    display: grid;
    gap: 1.25rem;
}

.video-slider__viewport {
    position: relative;
}

.video-slider__track {
    position: relative;
}

.video-slider__slide {
    display: none;
}

.video-slider__slide.is-active {
    display: block;
    animation: videoSlideFade 360ms ease;
}

.video-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-slider__nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 31, 76, 0.16);
    background: var(--white);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.video-slider__nav:hover,
.video-slider__nav:focus {
    background: rgba(58, 111, 247, 0.1);
    color: var(--primary);
    border-color: rgba(58, 111, 247, 0.28);
    box-shadow: 0 10px 20px rgba(15, 31, 76, 0.08);
}

.video-slider__dots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.video-slider__dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: rgba(15, 31, 76, 0.2);
    border: 0;
    padding: 0;
    transition: background 160ms ease, transform 160ms ease;
}

.video-slider__dot.is-active,
.video-slider__dot:focus,
.video-slider__dot:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.video-slider__dot:focus-visible,
.video-slider__nav:focus-visible {
    outline: 3px solid rgba(58, 111, 247, 0.45);
    outline-offset: 3px;
}

@keyframes videoSlideFade {
    from {
        opacity: 0.4;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.campus-video__description {
    color: var(--muted);
    line-height: 1.6;
}

.stats {
    background: var(--white);
    padding: 3rem 0;
}

.stats .container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat-card {
    background: rgba(58, 111, 247, 0.08);
    border-radius: 1rem;
    text-align: center;
    padding: 1.5rem 1rem;
    font-weight: 600;
}

.stat-card__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.stat-card__logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    display: block;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
}

.cta-banner {
    padding: 1.33rem 0;
    background: linear-gradient(135deg, rgba(58, 111, 247, 0.9), rgba(58, 111, 247, 0.7));
    color: var(--white);
    text-align: center;
}

.cta-banner p {
    max-width: 32rem;
    margin: 0.75rem auto 1.33rem;
}

.video-showcase {
    padding: 4rem 0;
    background: var(--white);
}

.video-showcase h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.video-showcase .video-description {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 2rem;
    color: var(--muted);
}

.video-wrapper {
    position: relative;
    width: min(960px, 100%);
    margin: 0 auto;
    padding-bottom: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 31, 76, 0.15);
    background: #000;
}

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

.site-footer {
    background: #121a2f;
    color: rgba(255, 255, 255, 0.78);
    padding: 2rem 0 1.33rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #fff;
}

.footer-top {
    display: grid;
    gap: 1.67rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 1.67rem;
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-info p {
    margin: 0;
}

.footer-info h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.footer-links a::before {
    content: '\203A';
    font-size: 1rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links a:hover::before,
.footer-links a:focus::before {
    color: #fff;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    font-size: 0.85rem;
}

.social {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-group {
        width: 100%;
        justify-content: center;
    }

    .video-showcase {
        padding: 3rem 0;
    }

    .video-showcase h2 {
        font-size: 1.6rem;
    }

    .video-showcase .video-description {
        margin-bottom: 1.5rem;
    }

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

    .page-body .container {
        grid-template-columns: 1fr;
    }

    .info-block,
    .info-aside {
        padding: 1.75rem;
    }

    .page-hero {
        padding: 4rem 0 2.5rem;
    }
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.page-body .container.container--profile,
.page-detail .container.container--profile {
    display: block;
}

.profile-layout--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
}

.profile-card {
    background: var(--white);
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(31, 42, 68, 0.12);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 6.5rem;
}

.profile-card__photo {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(58, 111, 247, 0.08), rgba(255, 226, 122, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-card__role {
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.02em;
}

.profile-card__name {
    font-size: 1.6rem;
    font-weight: 700;
}

.profile-card__quote {
    margin-top: 0.25rem;
    color: var(--muted);
    font-style: italic;
}

.profile-card__meta dl {
    margin: 0;
    display: grid;
    gap: 1rem;
}

.profile-card__meta dt {
    font-weight: 600;
    color: var(--text);
}

.profile-card__meta dd {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.profile-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 12px 32px rgba(31, 42, 68, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-content .lead {
    font-size: 1.05rem;
    color: var(--muted);
}

.founder-timeline-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, rgba(58, 111, 247, 0.06), transparent 65%);
}

.founder-timeline {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    border-left: 4px solid rgba(58, 111, 247, 0.18);
}

.founder-timeline li {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}

.founder-timeline li::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    left: -10px;
    top: 0.1rem;
    box-shadow: 0 8px 16px rgba(58, 111, 247, 0.25);
}

.founder-timeline time {
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
}

.founder-timeline h3 {
    margin: 0.35rem 0;
}

.founder-timeline p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 960px) {
    .profile-layout,
    .profile-layout--reverse {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
        order: -1;
    }
}

@media (max-width: 720px) {
    .profile-card,
    .profile-content {
        padding: 1.75rem;
    }

    .founder-timeline li {
        padding-left: 1.6rem;
    }

    .founder-timeline li::before {
        left: -12px;
    }
}

@media (max-width: 820px) {
    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        row-gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: relative;
    }

    .main-nav li {
        position: static;
    }

    .mega-menu {
        left: 50%;
        width: min(640px, calc(100vw - 2.5rem));
        transform: translate(-50%, 10px);
    }
}

@media (max-width: 560px) {
    .mega-menu {
        width: calc(100vw - 2rem);
        padding: 1.75rem 1.5rem;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
    }
}
