﻿:root {
    --bg: #F5F6F8;
    --surface: #FFFFFF;
    --fg: #16202B;
    --muted: #56626E;
    --line: #DDE1E7;
    --ink: #0E2A33;
    --ink-fg: #EAF2F3;
    --ink-muted: #9DB7BC;
    --accent: #0F6B73;
    --gold: #B07A12;
    --gold-soft: #F3E7CC;
    --saffron: #D85A00;
    --saffron-soft: #FEF0E6;
    --rose: #9B1C4E;
    --rose-soft: #FCE8F0;
    --focus: #B07A12;
    --f-display: 'Segoe UI',Arial,sans-serif;
    --f-body: 'Hind','Segoe UI',system-ui,sans-serif;
    --f-deva: 'Tiro Devanagari Hindi','Noto Serif Devanagari',serif;
    --f-mono: 'JetBrains Mono',ui-monospace,Menlo,monospace;
    --radius: 10px;
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0B1418;
        --surface: #122128;
        --fg: #E6EEF0;
        --muted: #97AAB0;
        --line: #223540;
        --ink: #071014;
        --ink-fg: #EAF2F3;
        --ink-muted: #8FA9AF;
        --accent: #4FB8C0;
        --gold: #E0B04A;
        --gold-soft: #2A2312;
        --saffron: #F4845F;
        --saffron-soft: #2B1208;
        --rose: #D46A96;
        --rose-soft: #2A0A18;
        --focus: #E0B04A;
        color-scheme: dark
    }
}

:root[data-theme="dark"] {
    --bg: #0B1418;
    --surface: #122128;
    --fg: #E6EEF0;
    --muted: #97AAB0;
    --line: #223540;
    --ink: #071014;
    --ink-fg: #EAF2F3;
    --ink-muted: #8FA9AF;
    --accent: #4FB8C0;
    --gold: #E0B04A;
    --gold-soft: #2A2312;
    --saffron: #F4845F;
    --saffron-soft: #2B1208;
    --rose: #D46A96;
    --rose-soft: #2A0A18;
    --focus: #E0B04A;
    color-scheme: dark
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.65;
    padding-inline: 0;
    margin: 0
}

a:link {
    color: #100596;
    text-decoration: none;
}
    a:hover {
        color: #002147;
        text-decoration: none;
    }
img {
    max-width: 100%;
    height: auto;
    display: block
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px
}
.text-white{
    color:#fff;
}
.college-sidebar {
    width: 100%;
    padding:15px;
   
    border-radius: 14px;
    text-decoration:none;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}
    .college-sidebar a {
        color: #100596;
        text-decoration: none;
    }
.college-sidebar-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px;
    color: #ffffff;
    background: linear-gradient( 135deg, #0f3d68, #1769aa );
    overflow: hidden;
}

    .college-sidebar-title::after {
        content: "";
        position: absolute;
        width: 90px;
        height: 90px;
        right: -30px;
        top: -35px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
    }


.sidebar-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 22px;
    flex-shrink: 0;
}


.college-sidebar-title strong {
    display: block;
    font-size: 17px;
    letter-spacing: .2px;
}


.college-sidebar-title small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}

.wrap {
    width: 100%;
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 20px
}

h1, h2, h3 {
    font-family: var(--f-display);
    line-height: 1.12;
    text-wrap: balance;
    margin: 0
}

.deva {
    font-family: var(--f-deva)
}

.eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #eee;
}
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* ── nav ─────────────────────────────────────── */
.nav {
    position: sticky;
    top: env(safe-area-inset-top,0px);
    z-index: 20;
    background: var(--ink);
    color: var(--ink-fg);
    border-bottom: 1px solid rgba(255,255,255,.08)
}

    .nav .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        height: 56px
    }

.brand {
    font-family: var(--f-display);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    color: var(--ink-fg)
}

.nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    overflow-x: auto;
    scrollbar-width: none
}

.nav a {
    text-decoration: none;
    color: var(--ink-muted);
    white-space: nowrap;
    padding: 4px 2px
}

    .nav a:hover {
        color: var(--ink-fg)
    }

@media(max-width:700px) {
    .nav ul {
        gap: 12px
    }

    .brand {
        display: none
    }
}

/* ── hero ────────────────────────────────────── */
.hero {
    background: var(--ink);
    color: var(--ink-fg);
    position: relative;
    overflow: hidden;
    padding-block: 64px 56px
}

    .hero::before {
        content: "हिन्दी";
        position: absolute;
        right: -2%;
        top: -6%;
        font-family: var(--f-deva);
        font-size: clamp(220px,34vw,460px);
        line-height: 1;
        color: rgba(79,184,192,.09);
        pointer-events: none;
        white-space: nowrap
    }

    .hero .grid {
        position: relative;
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 48px;
        align-items: end
    }

    .hero h1 {
        font-size: clamp(38px,6.4vw,76px);
        font-weight: 600;
        letter-spacing: -.02em;
        margin-block: 14px 6px
    }

    .hero .hi {
        font-family: var(--f-deva);
        font-size: clamp(22px,3vw,32px);
        color: var(--ink-muted);
        margin: 0 0 18px
    }

    .hero .role {
        font-size: 19px;
        max-width: 34em;
        color: var(--ink-fg)
    }

        .hero .role b {
            color: #E0B04A;
            font-weight: 600
        }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px
}

.chip {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 99px;
    padding: 3px 13px;
    font-size: 13.5px;
    color: var(--ink-fg)
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px
}

    .btn.p {
        background: #E0B04A;
        color: #FFF;

    }

    .btn.s {
        border: 1px solid rgba(255,255,255,.35);
        color: var(--ink-fg)
    }

    .btn:hover {
        filter: brightness(1.08)
    }

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.14)
}

.stat {
    background: var(--ink);
    padding: 18px 18px 16px
}

    .stat b {
        display: block;
        font-family: var(--f-display);
        font-size: clamp(34px,4vw,48px);
        font-weight: 600;
        line-height: 1;
        font-variant-numeric: tabular-nums;
        color: #fff
    }

    .stat span {
        font-size: 13px;
        color: var(--ink-muted)
    }

@media(max-width:860px) {
    .hero .grid {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

/* ── metrics bar ─────────────────────────────── */
.metrics {
    border-bottom: 1px solid var(--line);
    background: var(--surface)
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 20px 0
}

.metric {
    padding: 0 20px;
    border-right: 1px solid var(--line)
}

    .metric:first-child {
        padding-left: 0
    }

    .metric:last-child {
        border: 0
    }

    .metric strong {
        font-size: 32px;
        line-height: 1.2;
        font-weight: 500;
        display: block;
        color: var(--accent)
    }

    .metric span {
        font-size: 14px;
        color: var(--muted);
        display: block;
        margin-top: 7px
    }

@media(max-width:640px) {
    .metric-grid {
        grid-template-columns: 1fr 1fr
    }

    .metric {
        border-bottom: 1px solid var(--line);
        padding: 14px 16px
    }

        .metric:nth-child(even) {
            border-right: 0
        }
}

/* ── sections ────────────────────────────────── */
section {
    padding-block: 26px 8px
}

.section-alt {
    background: linear-gradient(135deg,#f0f7f8 0%,#fefaf4 100%)
}

:root[data-theme="dark"] .section-alt, :root:not([data-theme="light"]) .section-alt {
    background: linear-gradient(135deg,#0d1f26 0%,#141208 100%)
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .section-alt {
        background: linear-gradient(135deg,#0d1f26 0%,#141208 100%)
    }
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

    .head h2 {
        font-size: clamp(28px,4vw,44px);
        font-weight: 600;
        margin-top: 8px;
        max-width: 20em;
    }

    .head h3 {
        font-size: clamp(27px,4vw,44px);
        font-weight: 600;
        margin-top: 8px;
        max-width: 20em;
        color: #fff;
    }

    .head p {
        max-width: 34em;
        color: var(--muted);
        margin: 10px 0 0
    }

.ctrl {
    display: flex;
    gap: 8px
}

    .ctrl button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: var(--surface);
        color: var(--fg);
        font-size: 18px;
        cursor: pointer;
        transition: border-color .15s,color .15s
    }

        .ctrl button:hover {
            border-color: var(--accent);
            color: var(--accent)
        }

/* ── sliders ─────────────────────────────────── */
.track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 20px 20px;
    margin-inline: -20px;
    scroll-padding-inline: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent
}

    .track > * {
        flex: 0 0 min(340px,82%);
        scroll-snap-align: start
    }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0
}

    .card h3 {
        font-size: 21px;
        font-weight: 600
    }

    .card p {
        margin: 0;
        color: var(--muted);
        font-size: 15.5px
    }

    .card .tag {
        font-family: var(--f-mono);
        font-size: 11.5px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--accent)
    }

    .card .dv {
        font-family: var(--f-deva);
        font-size: 19px;
        color: var(--gold)
    }

.dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 2px
}

    .dots i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--line);
        transition: .2s
    }

        .dots i.on {
            background: var(--accent);
            width: 22px;
            border-radius: 4px
        }

/* ── book cards ──────────────────────────────── */
.book {
    border-top: 4px solid var(--accent)
}

    .book.tr {
        border-top-color: var(--gold)
    }

    .book.edited {
        border-top-color: var(--saffron)
    }

    .book.chapter {
        border-top-color: var(--rose)
    }

    .book .yr {
        font-family: var(--f-mono);
        font-size: 12px;
        color: var(--muted)
    }

    .book h3 {
        font-family: var(--f-deva);
        font-size: 21px;
        font-weight: 400;
        line-height: 1.35
    }

    .book small {
        font-family: var(--f-mono);
        font-size: 11.5px;
        color: var(--muted);
        word-break: break-all
    }

.press {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    background: var(--gold-soft);
    color: var(--gold);
    padding: 1px 10px;
    border-radius: 99px;
    font-weight: 600
}

.badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11.5px;
    padding: 2px 10px;
    border-radius: 99px;
    font-weight: 600;
    font-family: var(--f-mono)
}

    .badge.intl {
        background: rgba(15,107,115,.12);
        color: var(--accent)
    }

    .badge.natl {
        background: var(--saffron-soft);
        color: var(--saffron)
    }

    .badge.state {
        background: var(--rose-soft);
        color: var(--rose)
    }

    .badge.chapter {
        background: var(--rose-soft);
        color: var(--rose)
    }

    .badge.edited {
        background: var(--saffron-soft);
        color: var(--saffron)
    }

/* ── award cards ─────────────────────────────── */
.award {
    background: var(--ink);
    color: var(--ink-fg);
    border-color: transparent
}

    .award .y {
        font-family: var(--f-display);
        font-size: 46px;
        font-weight: 600;
        color: #E0B04A;
        line-height: 1
    }

    .award p {
        color: var(--ink-muted)
    }

    .award h3 {
        font-family: var(--f-deva);
        font-weight: 400;
        font-size: 19px;
        line-height: 1.4
    }

/* ── split / panels ──────────────────────────── */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

@media(max-width:860px) {
    .two {
        grid-template-columns: 1fr
    }
}

.two > * {
    min-width: 0
}

.tl {
    list-style: none;
    margin: 0;
    padding: 0 0 0 22px;
    border-left: 2px solid var(--line)
}

    .tl li {
        position: relative;
        padding: 0 0 22px 16px
    }

        .tl li::before {
            content: "";
            position: absolute;
            left: -29px;
            top: 9px;
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 0 4px var(--bg)
        }

    .tl b {
        font-family: var(--f-display);
        font-size: 18px;
        font-weight: 600
    }

    .tl .m {
        font-family: var(--f-mono);
        font-size: 12px;
        color: var(--muted);
        display: block
    }

    .tl span.s {
        display: block;
        color: var(--muted);
        font-size: 15px
    }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px
}

    .panel h3 {
        font-size: 22px;
        margin-bottom: 14px
    }

.list {
    list-style: none;
    margin: 0;
    padding: 0
}

    .list li {
        padding: 12px 0;
        border-top: 1px solid var(--line);
        font-size: 15.5px
    }

        .list li:first-child {
            border-top: 0;
            padding-top: 0
        }

    .list .j {
        display: block;
        font-family: var(--f-mono);
        font-size: 11.5px;
        color: var(--muted);
        margin-top: 2px
    }

    .list .t {
        font-family: var(--f-deva);
        font-size: 17px
    }

.patent {
    border-left: 4px solid var(--gold);
    padding: 4px 0 4px 16px;
    margin-bottom: 16px
}

    .patent b {
        font-family: var(--f-mono);
        font-size: 11.5px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--gold);
        display: block
    }

    .patent p {
        margin: 4px 0 0;
        font-family: var(--f-display);
        font-size: 19px;
        line-height: 1.35
    }

/* ── bars ────────────────────────────────────── */
.bars {
    display: grid;
    gap: 14px
}

.bar {
    display: grid;
    grid-template-columns: 150px 1fr 40px;
    gap: 12px;
    align-items: center;
    font-size: 14.5px
}

    .bar .tr {
        height: 10px;
        background: var(--line);
        border-radius: 6px;
        overflow: hidden
    }

        .bar .tr i {
            display: block;
            height: 100%;
            background: var(--accent);
            border-radius: 6px
        }

    .bar em {
        font-style: normal;
        font-family: var(--f-mono);
        font-size: 13px;
        text-align: right;
        font-variant-numeric: tabular-nums
    }

@media(max-width:480px) {
    .bar {
        grid-template-columns: 110px 1fr 34px
    }
}

.courses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

    .courses span {
        border: 1px solid var(--line);
        background: var(--surface);
        border-radius: 8px;
        padding: 7px 14px;
        font-size: 14.5px
    }

        .courses span small {
            color: var(--muted);
            font-family: var(--f-mono);
            font-size: 11.5px;
            margin-left: 6px
        }

/* ── about ───────────────────────────────────── */
.section {
    padding: 30px 0;
    scroll-margin-top: 82px
}

    .section h2 {
        font-size: 34px;
        line-height: 1.25;
        font-weight: 550
    }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px
}

@media(max-width:860px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }
}

.about-copy p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 18px
}

.about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    border-top: 1px solid var(--line);
    padding-top: 23px;
    margin-top: 25px
}

    .about-meta dt {
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--muted)
    }

    .about-meta dd {
        margin: 5px 0 0;
        font-size: 15px;
        font-weight: 600
    }

/* ── research papers ─────────────────────────── */
.rp-card {
    border-left: 4px solid var(--accent);
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

    .rp-card .title {
        font-family: var(--f-deva);
        font-size: 18px;
        line-height: 1.4;
        color: var(--fg)
    }

    .rp-card .journal {
        font-family: var(--f-mono);
        font-size: 11.5px;
        color: var(--muted)
    }

    .rp-card .label {
        font-family: var(--f-mono);
        font-size: 11px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--accent);
        background: rgba(15,107,115,.1);
        padding: 2px 8px;
        border-radius: 4px;
        align-self: flex-start
    }

.rp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

@media(max-width:760px) {
    .rp-grid {
        grid-template-columns: 1fr
    }
}

/* ── media / news ────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 20px
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

    .news-card .news-img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        background: var(--line)
    }

    .news-card .news-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1
    }

    .news-card .news-src {
        font-family: var(--f-mono);
        font-size: 11.5px;
        color: var(--saffron);
        text-transform: uppercase;
        letter-spacing: .1em
    }

    .news-card .news-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35
    }

    .news-card .news-date {
        font-family: var(--f-mono);
        font-size: 11px;
        color: var(--muted)
    }

.news-placeholder {
    background: linear-gradient(135deg,var(--saffron-soft),var(--gold-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-deva);
    font-size: 36px;
    color: var(--gold);
    height: 160px
}

/* ── gallery ─────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 14px
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--line);
    cursor: pointer
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s
    }

    .gallery-item:hover img {
        transform: scale(1.05)
    }

    .gallery-item .gallery-cap {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent,rgba(14,42,51,.8));
        color: #fff;
        padding: 16px 12px 10px;
        font-size: 13px;
        font-family: var(--f-deva);
        transform: translateY(100%);
        transition: transform .25s
    }

    .gallery-item:hover .gallery-cap {
        transform: translateY(0)
    }

/* ── activity cards ──────────────────────────── */
.act-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

    .act-card img {
        width: 100%;
        height: 180px;
        object-fit: cover
    }

    .act-card .act-body {
        padding: 16px 18px;
        display: flex;
        flex-direction: column;
        gap: 6px
    }

    .act-card .act-tag {
        font-family: var(--f-mono);
        font-size: 11px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--accent)
    }

    .act-card .act-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35
    }

    .act-card .act-desc {
        font-size: 14px;
        color: var(--muted);
        margin: 0
    }

/* ── Hindi Day banner ────────────────────────── */
.hd-banner {
    background: linear-gradient(135deg,#ff9933 0%,#ff6600 40%,#fff 40%,#fff 60%,#138808 60%,#138808 100%);
    padding: 2px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px
}

.hd-inner {
    background: var(--surface);
    border-radius: calc(var(--radius) - 2px);
    padding: 36px;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap
}

.hd-emblem {
    font-size: 72px;
    line-height: 1
}

.hd-text h2 {
    font-family: var(--f-deva);
    font-size: clamp(28px,4vw,46px);
    font-weight: 400;
    color: var(--fg);
    margin-bottom: 6px
}

.hd-text .sub {
    font-size: 16px;
    color: var(--muted);
    margin: 0
}

.hd-text .date-chip {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold);
    font-family: var(--f-mono);
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 99px;
    margin-top: 8px;
    font-weight: 600
}

.hd-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media(max-width:640px) {
    .hd-events {
        grid-template-columns: 1fr
    }
}

.hd-event {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    border-left: 4px solid #ff9933
}

    .hd-event h4 {
        font-size: 16px;
        margin: 0 0 4px;
        font-weight: 600
    }

    .hd-event p {
        margin: 0;
        font-size: 14px;
        color: var(--muted)
    }

    .hd-event .hd-meta {
        font-family: var(--f-mono);
        font-size: 11px;
        color: var(--accent);
        margin-top: 6px;
        display: block
    }

/* ── invited lectures ────────────────────────── */
.lec-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.lec-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15,107,115,.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0
}

.lec-body {
    min-width: 0
}

    .lec-body h4 {
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 4px;
        line-height: 1.35
    }

    .lec-body p {
        margin: 0;
        font-size: 14px;
        color: var(--muted)
    }

    .lec-body .lec-meta {
        font-family: var(--f-mono);
        font-size: 11px;
        color: var(--accent);
        margin-top: 6px;
        display: block
    }

.lec-type {
    display: inline-block;
    font-size: 11px;
    font-family: var(--f-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 1px 8px;
    border-radius: 4px;
    margin-bottom: 6px
}

    .lec-type.invited {
        background: rgba(15,107,115,.12);
        color: var(--accent)
    }

    .lec-type.paper {
        background: var(--saffron-soft);
        color: var(--saffron)
    }

    .lec-type.resource {
        background: var(--gold-soft);
        color: var(--gold)
    }

.lec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media(max-width:760px) {
    .lec-grid {
        grid-template-columns: 1fr
    }
}

/* ── video cards ─────────────────────────────── */
.vid-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #000
}

    .vid-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0
    }

.vid-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

    .vid-card .vid-info {
        padding: 14px 16px;
        font-size: 14.5px;
        font-weight: 600
    }

        .vid-card .vid-info span {
            display: block;
            font-size: 12.5px;
            color: var(--muted);
            font-weight: 400;
            margin-top: 2px
        }

/* ── contact ─────────────────────────────────── */
.contact {
    margin-top: 76px;
    background: var(--ink);
    color: var(--ink-fg);
    padding-block: 64px 36px
}

    .contact h2 {
        font-size: clamp(30px,4.5vw,52px);
        font-weight: 600;
        max-width: 16em
    }

.cgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 28px;
    margin-top: 34px
}

    .cgrid div {
        min-width: 0
    }

    .cgrid .k {
        font-family: var(--f-mono);
        font-size: 11.5px;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: #E0B04A;
        display: block;
        margin-bottom: 6px
    }

    .cgrid .v {
        font-size: 17px;
        overflow-wrap: anywhere;
        user-select: all
    }

    .cgrid button {
        margin-top: 8px;
        background: none;
        border: 1px solid rgba(255,255,255,.3);
        color: var(--ink-fg);
        border-radius: 6px;
        padding: 4px 12px;
        font: inherit;
        font-size: 13px;
        cursor: pointer
    }

.foot {
    margin-top: 48px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    color: var(--ink-muted)
}

/* ── section heading strip ───────────────────── */
.sec-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px
}

    .sec-strip h2 {
        font-size: clamp(26px,3.6vw,40px);
        font-weight: 600;
        color: #fff;
    }

    .sec-strip .strip-line {
        flex: 1;
        height: 2px;
        background: var(--line);
        border-radius: 2px
    }

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}
