:root {
    --bg: #080a0d;
    --surface: #101419;
    --surface-2: #151a20;
    --line: rgba(255, 255, 255, 0.09);
    --text: #e9e6de;
    --muted: #92969b;
    --accent: #b99b63;
    --accent-light: #d1b77e;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background:
        radial-gradient(circle at 75% 8%, rgba(185,155,99,.08), transparent 28rem),
        radial-gradient(circle at 10% 45%, rgba(255,255,255,.025), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
    z-index: 20;
}
.background-grid {
    position: fixed; inset: 0; pointer-events: none; opacity: .13;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 70px 70px;
}
a { color: inherit; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(8,10,13,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1280px; margin: auto; min-height: 82px; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand-mark {
    width: 43px; height: 43px; display: grid; place-items: center;
    border: 1px solid rgba(185,155,99,.55); color: var(--accent-light);
    font-family: "Roboto Slab", serif; font-weight: 700; font-size: 13px; letter-spacing: 1px;
}
.eyebrow, .section-label {
    display: block; color: var(--accent); font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
}
.brand h1 { font-family: "Roboto Slab", serif; font-size: 16px; line-height: 1.2; }
.desktop-nav { display: flex; gap: 23px; }
.desktop-nav a, .mobile-nav a {
    color: var(--muted); text-decoration: none; font-size: 12px; transition: color .2s;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--accent-light); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

main { position: relative; z-index: 1; }
.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 105px 0; }

/* HERO */
.hero {
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    align-items: center;
    gap: 35px;
    padding-top: 65px;
    padding-bottom: 50px;
}
.hero-copy { position: relative; z-index: 3; }
.hero h2 {
    margin-top: 18px; font-family: "Roboto Slab", serif;
    font-size: clamp(48px, 6.6vw, 84px); line-height: .98;
    font-weight: 500; letter-spacing: -3px;
}
.hero h2 strong { color: var(--accent-light); font-weight: 600; }
.hero p { max-width: 620px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.hero p strong { color: var(--text); }
.hero-meta { display: flex; gap: 35px; margin-top: 38px; }
.hero-meta div { padding-left: 14px; border-left: 1px solid var(--accent); }
.hero-meta span {
    display: block; color: var(--muted); font-size: 8px; letter-spacing: 1.5px;
}
.hero-meta strong {
    display: block; margin-top: 3px; color: var(--text);
    font-family: "Roboto Slab", serif; font-size: 16px;
}
.hero-line { width: 120px; height: 1px; background: var(--accent); margin-top: 42px; }

/* Character */
.hero-character-wrap {
    position: relative;
    height: 650px;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    isolation: isolate;
}
.character-glow {
    position: absolute;
    width: 360px;
    height: 520px;
    right: 15px;
    bottom: 0;
    background: radial-gradient(ellipse, rgba(185,155,99,.17), transparent 67%);
    filter: blur(12px);
    z-index: -1;
}
.hero-character {
    position: relative;
    z-index: 2;
    width: min(100%, 485px);
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 25px rgba(0,0,0,.55));
    transform: translateY(8px);
}
.hero-character-caption {
    position: absolute;
    z-index: 4;
    right: 4px;
    bottom: 24px;
    padding: 13px 17px;
    max-width: 245px;
    border-left: 1px solid var(--accent);
    background: rgba(8,10,13,.72);
    backdrop-filter: blur(12px);
}
.hero-character-caption span {
    display: block; color: var(--accent-light); font-size: 10px; font-weight: 800; letter-spacing: 1.7px;
}
.hero-character-caption small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.4; }

.section-heading {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px;
}
.section-heading h2 { margin-top: 7px; font-family: "Roboto Slab", serif; font-size: clamp(30px,4vw,47px); font-weight: 500; }
.file-number, .counter {
    color: var(--muted); font-size: 10px; letter-spacing: 1.5px;
    text-transform: uppercase; white-space: nowrap;
}
.profile-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
}
.profile-card {
    min-height: 140px; padding: 25px; background: var(--surface);
    display: flex; flex-direction: column; justify-content: space-between;
}
.profile-card span { color: var(--muted); font-size: 9px; letter-spacing: 1.7px; }
.profile-card strong { color: var(--text); font-size: 14px; font-weight: 600; }

.filter-bar { display: flex; gap: 8px; margin-bottom: 50px; flex-wrap: wrap; }
.filter {
    border: 1px solid var(--line); background: transparent; color: var(--muted);
    padding: 9px 15px; font-family: inherit; font-size: 10px; letter-spacing: .8px;
    text-transform: uppercase; cursor: pointer; transition: .2s;
}
.filter:hover, .filter.active { border-color: rgba(185,155,99,.65); color: var(--accent-light); background: rgba(185,155,99,.06); }

.district-block { margin-bottom: 70px; }
.district-block:last-child { margin-bottom: 0; }
.district-title { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.district-number { color: var(--accent); font-size: 10px; letter-spacing: 1px; }
.district-title h3 { font-family: "Roboto Slab", serif; font-size: 20px; font-weight: 500; }
.timeline { position: relative; display: grid; gap: 10px; }
.timeline::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 100px; width: 1px; background: var(--line);
}
.timeline-card {
    position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 28px;
    padding: 23px 25px; border: 1px solid var(--line); background: rgba(16,20,25,.72);
    transition: transform .25s,border-color .25s,background .25s;
}
.timeline-card:hover { transform: translateX(5px); border-color: rgba(185,155,99,.35); background: rgba(185,155,99,.035); }
.timeline-card .date { position: relative; z-index: 1; color: var(--accent); font-size: 10px; font-weight: 700; line-height: 1.4; padding-top: 2px; }
.timeline-content { padding-left: 28px; border-left: 1px solid var(--line); }
.timeline-content span { color: var(--muted); font-size: 11px; }
.timeline-content h4 { margin-top: 5px; font-family: "Roboto Slab",serif; font-size: 17px; line-height: 1.35; font-weight: 600; }
.timeline-content p { margin-top: 8px; color: var(--muted); font-size: 11px; }
.timeline-card.current { border-color: rgba(185,155,99,.5); background: rgba(185,155,99,.05); }
.current-badge { display: inline-block; margin-top: 12px; color: var(--accent-light); font-size: 9px; letter-spacing: 1.4px; }
.district-block.hidden { display: none; }

.senior-section { padding-top: 60px; }
.senior-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.senior-card {
    min-height: 300px; padding: 28px; border: 1px solid var(--line); background: var(--surface);
    display: flex; flex-direction: column; transition: transform .25s,border-color .25s;
}
.senior-card:hover { transform: translateY(-4px); border-color: rgba(185,155,99,.35); }
.card-top { display: flex; justify-content: space-between; color: var(--accent); font-size: 9px; letter-spacing: 1.5px; }
.senior-card h3 { margin-top: 65px; font-family: "Roboto Slab",serif; font-size: 24px; line-height: 1.2; }
.senior-card p { margin-top: 14px; color: var(--muted); font-size: 12px; }
.senior-card time { margin-top: auto; padding-top: 24px; color: var(--text); font-size: 10px; }
.senior-card.featured { border-color: rgba(185,155,99,.35); background: linear-gradient(145deg,rgba(185,155,99,.09),var(--surface)); }
.senior-card.featured > strong { margin-top: 12px; color: var(--accent-light); font-size: 12px; letter-spacing: 1px; }


/* =========================================================
   СЕМЕЙНОЕ ДРЕВО
   ========================================================= */

.simple-tree {
    width: 100%;
    padding: 10px 0 25px;
    overflow-x: auto;
}

/* Главный человек */

.tree-person {
    width: 190px;
    min-height: 125px;
    padding: 20px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(185,155,99,.10),
            rgba(15,17,18,.98)
        );

    border: 1px solid rgba(185,155,99,.35);

    border-radius: 14px;

    box-shadow: 0 12px 30px rgba(0,0,0,.25);

    transition: .2s ease;
}

.tree-person:hover {
    transform: translateY(-3px);
    border-color: rgba(185,155,99,.75);
}

.tree-relation {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tree-person strong {
    color: var(--text);

    font-family: "Roboto Slab", serif;

    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Главный персонаж */

.root-person {
    width: 230px;
    min-height: 150px;

    margin: 0 auto;

    border-color: rgba(185,155,99,.75);

    box-shadow:
        0 18px 45px rgba(0,0,0,.35),
        0 0 0 6px rgba(185,155,99,.04);
}

.root-person .tree-relation {
    color: var(--accent-light);
}
.root-person .tree-relation .nation {
    margin-top: 15px;
}
.root-person strong {
    color: var(--accent-light);
    font-size: 17px;
}


/* =========================================================
   ЛИНИИ
   ========================================================= */

.tree-down-line {
    width: 1px;
    height: 35px;

    margin: 0 auto;

    background: var(--accent);
}

.small-line {
    height: 25px;
}


/* =========================================================
   ЗАГОЛОВКИ
   ========================================================= */

.parents-title {
    margin: 0 auto 18px;

    color: var(--accent);

    text-align: center;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.small-title {
    margin-bottom: 15px;
}

.tiny-title {
    margin-bottom: 10px;

    font-size: 7px;
    letter-spacing: 1.3px;
}


/* =========================================================
   ОТЕЦ + МАТЬ АЛЕКСАНДРА
   ========================================================= */

.parents-grid {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;
}

.family-side {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 25px 20px;

    border: 1px solid var(--line);

    background: rgba(16,20,25,.45);
}


/* =========================================================
   РОДИТЕЛИ ОТЦА / МАТЕРИ
   ========================================================= */

.grandparents-grid {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.ancestor-branch {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
}

.ancestor-person {
    width: 160px;
    min-height: 115px;
}

.ancestor-person strong {
    font-size: 11px;
}


/* =========================================================
   ПРАДЕДУШКИ / ПРАБАБУШКИ
   ========================================================= */

.great-grandparents {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.small-person {
    width: 100%;
    min-height: 105px;

    padding: 12px 8px;

    border-color: rgba(255,255,255,.10);

    background: var(--surface);
}

.small-person .tree-relation {
    font-size: 6px;
    letter-spacing: 1px;
}

.small-person strong {
    font-size: 9px;
    line-height: 1.35;
}


/* =========================================================
   ВЫДЕЛЕННЫЙ ЧЕЛОВЕК
   ========================================================= */

.tree-person.highlighted {
    border: 2px solid var(--accent);

    background:
        linear-gradient(
            145deg,
            rgba(185,155,99,.20),
            rgba(185,155,99,.04)
        ),
        var(--surface);

    box-shadow:
        0 0 0 5px rgba(185,155,99,.06),
        0 12px 35px rgba(185,155,99,.13);
}

.tree-person.highlighted .tree-relation {
    color: var(--accent-light);
}

.tree-person.highlighted strong {
    color: var(--accent-light);
}


/* =========================================================
   ЛЕГЕНДА
   ========================================================= */

.tree-legend {
    width: fit-content;
    max-width: 100%;

    margin: 35px auto 0;
    padding-top: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 20px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 8px;
}

.legend-dot {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 5px;

    border-radius: 50%;

    background: var(--accent);

    vertical-align: middle;
}

.legend-dot.female {
    opacity: .55;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 700px) {

    .simple-tree {
        overflow-x: auto;

        padding-left: 5px;
        padding-right: 5px;
    }

    /*
       Дерево специально не ужимаем.
       На маленьком экране его можно прокрутить
       горизонтально.
    */

    .simple-tree {
        min-width: 760px;
    }

    .parents-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .family-side {
        padding: 20px 10px;
    }

    .grandparents-grid {
        gap: 12px;
    }

    .tree-person {
        width: 150px;
        min-height: 110px;
    }

    .root-person {
        width: 190px;
        min-height: 130px;
    }

    .ancestor-person {
        width: 135px;
        min-height: 105px;
    }

    .small-person {
        min-height: 95px;
    }

    .small-person strong {
        font-size: 8px;
    }

}



.signature-box {
    min-height: 370px; display: grid; grid-template-columns: 1fr 220px; gap: 50px; align-items: center;
    padding: 55px; border: 1px solid var(--line);
    background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.signature-paper { max-width: 520px; }
.signature-paper > span { color: var(--muted); font-size: 10px; letter-spacing: 1.5px; }
.signature-placeholder { min-height: 125px; display: flex; align-items: center; }
.signature-placeholder img { max-width: 100%; max-height: 115px; object-fit: contain; }
#signatureFallback { display: none; }
.fake-signature {
    display: block; font-family: "Roboto Slab",serif; font-style: italic; font-size: 40px;
    color: #28241c; background: #e5dfd1; padding: 10px 30px; transform: rotate(-3deg);
}
.signature-placeholder small { color: var(--muted); font-size: 9px; margin-left: 15px; }
.signature-line { width: 100%; border-bottom: 1px solid rgba(255,255,255,.25); }
.signature-paper > small { color: var(--muted); font-size: 9px; }
.seal {
    width: 170px; height: 170px; border: 1px solid rgba(185,155,99,.5); border-radius: 50%;
    outline: 1px solid rgba(185,155,99,.18); outline-offset: 8px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: var(--accent); transform: rotate(-8deg); font-size: 9px; letter-spacing: 2px;
}
.seal strong { margin: 4px 0; font-family: "Roboto Slab",serif; font-size: 25px; letter-spacing: 3px; }

.site-footer { border-top: 1px solid var(--line); position: relative; z-index: 1; }
.footer-inner {
    width: min(1120px,calc(100% - 40px)); min-height: 90px; margin: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    color: #5f6368; font-size: 9px; letter-spacing: .5px;
}
.creator a { color: #777b80; text-decoration: none; transition: color .2s; }
.creator a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
    .great-grandparents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .family-intro { text-align: left; }
    .generation-2 { flex-direction: column; gap: 10px; }
    .parents-level::before, .parents-level .family-node::before { display: none; }
    .grandparents-grid,
    .great-grandparents-grid { grid-template-columns: 1fr; gap: 25px; }
    .grandparent-connectors { display: none; }
    .grandparents-grid .family-branch::before,
    .grandparents-grid .pair-grid .family-node::before { display: none; }
    .pair-grid,
    .ancestral-column .pair-grid { grid-template-columns: 1fr; }
    .ancestral-column .branch-heading { min-height: auto; margin-bottom: 10px; }
    .family-node.main-person h3 { font-size: 21px; }
}

@media (max-width: 1000px) {
    .hero { grid-template-columns: minmax(0,1fr) 400px; gap: 10px; }
    .hero-character-wrap { height: 600px; }
    .profile-grid { grid-template-columns: repeat(2,1fr); }
    .great-grandparents { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .menu-toggle {
        display: flex; width: 42px; height: 42px; border: 1px solid var(--line);
        background: transparent; flex-direction: column; justify-content: center;
        align-items: center; gap: 5px; cursor: pointer;
    }
    .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--text); transition: .2s; }
    .mobile-nav {
        max-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 18px;
        padding: 0 28px; transition: max-height .3s,padding .3s;
    }
    .mobile-nav.open { max-height: 270px; padding: 20px 28px 25px; border-top: 1px solid var(--line); }
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
    .hero-copy { padding-top: 20px; }
    .hero-character-wrap { height: 590px; max-width: 560px; margin: -15px auto 0; width: 100%; }
    .hero-character-caption { right: 0; bottom: 15px; }
    .signature-box { grid-template-columns: 1fr; }
    .seal { margin: 10px auto 0; }
}
@media (max-width: 650px) {
    .header-inner { min-height: 70px; padding: 0 18px; }
    .brand h1 { font-size: 13px; }
    .brand-mark { width: 38px; height: 38px; }
    .section { width: min(100% - 28px,1120px); padding: 75px 0; }
    .hero { padding-top: 55px; }
    .hero h2 { font-size: clamp(42px,14vw,68px); letter-spacing: -2px; }
    .hero p { font-size: 13px; }
    .hero-meta { gap: 20px; }
    .hero-character-wrap { height: 500px; }
    .hero-character { width: 115%; }
    .character-glow { right: 50%; transform: translateX(50%); }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .section-heading h2 { font-size: 31px; }
    .profile-grid { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .timeline-card { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
    .timeline-content { padding-left: 0; border-left: 0; }
    .timeline-content h4 { font-size: 16px; }
    .district-title h3 { font-size: 17px; }
    .senior-grid { grid-template-columns: 1fr; }
    .senior-card { min-height: 270px; }
    .senior-card h3 { margin-top: 45px; font-size: 21px; }

    .family-intro { text-align: left; }
    .tree-level { flex-direction: column; gap: 10px; }
    .level-2 { max-width: none; }
    .level-2::before, .level-2 .family-node::before { display: none; }
    .tree-connector { height: 25px; }
    .family-node, .family-node.main-person { max-width: none; width: 100%; }
    .level-4, .great-grandparents { grid-template-columns: 1fr; }
    .ancestor-pair, .great-grandparents .ancestor-pair { grid-template-columns: 1fr; }
    .great-grandparents { gap: 16px; }
    .great-grandparents .family-node { min-height: 105px; }

    .signature-box { padding: 30px 22px; }
    .fake-signature { font-size: 28px; padding: 8px 15px; }
    .footer-inner { min-height: 75px; flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
}


/* QUOTE */
.quote-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.quote-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 70px 45px;
    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(185, 155, 99, 0.07),
            rgba(16, 20, 25, 0.95) 45%,
            rgba(185, 155, 99, 0.04)
        );

    border: 1px solid rgba(185, 155, 99, 0.18);
    border-radius: 4px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    overflow: hidden;
}


.quote-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 90px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--accent);
}


.quote-mark {
    position: absolute;
    top: 18px;
    left: 28px;

    font-family: "Roboto Slab", serif;
    font-size: 82px;
    line-height: 1;
    color: rgba(185, 155, 99, 0.18);
    user-select: none;
}


.quote-box blockquote {
    position: relative;
    margin: 0 auto;

    max-width: 760px;

    font-family: "Roboto Slab", serif;
    font-size: clamp(21px, 2.2vw, 30px);
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: 0.01em;

    color: var(--text);
}


.quote-box blockquote br + * {
    color: var(--accent-light);
}


.quote-line {
    width: 45px;
    height: 1px;
    margin: 28px auto 15px;

    background: var(--accent);
}


.quote-caption {
    display: block;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;

    color: var(--muted);
}

@media (max-width: 650px) {
    .quote-section {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .quote-box {
        padding: 48px 25px 35px;
    }

    .quote-mark {
        top: 12px;
        left: 15px;
        font-size: 65px;
    }

    .quote-box blockquote {
        font-size: 20px;
        line-height: 1.5;
    }

    .quote-line {
        margin-top: 22px;
    }
}

/* ГОСУДАРСТВЕННЫЕ НАГРАДЫ */

.awards-section {
    padding-top: 40px;
}

.award-card {
    position: relative;
    min-height: 300px;
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    border: 1px solid rgba(185, 155, 88, .42);

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(185,155,99,.13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(185,155,99,.055),
            var(--surface) 42%,
            rgba(185,155,99,.025)
        );
    
        box-shadow:
        0 20px 60px rgba (0, 0, 0, .30),
        inset 0 1px 0 rgba(255, 255,255,.035);

        isolation: isolate;
        
        transition:
            transform .3s ease,
            border-color .3s ease,
            box-shadow .3s ease;
}

.award-card:hover {
    transform: translateY(-6px);

    border-color: rgba(185,155,99,.65);

    box-shadow:
        0 28px 70px rgba(0,0,0,.42),
        0 0 25px rgba(185,155,99,.08),
        inset 0 1px 0 rgba(255,255,255,.05);
}
.award-card::before {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent),
        var(--accent-light),
        var(--accent),
        transparent
    );

    opacity: .8;
}

.award-card::after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;

    width: 180px;
    height: 1px;

    background: linear-gradient(
        90deg, var(--accent),
        transparent
    );

    opacity: .55;
}


.award-shine {
    position: absolute;
    top: -30%;
    left: -35%;

    width: 18%;
    height: 160%;
    transform: rotate(22deg);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.16),
        rgba(255,230,170,.32),
        rgba(255,255,255,.10),
        transparent
    );

    filter: blur(5px);

    pointer-events: none;
    z-index: 5;

    animation: awardShine 6s ease-in-out infinite;
}

@keyframes awardShine {
    0% {
        left: -35%;
        opacity: 0;
    }

    10% {
        opacity: .8;
    }

    25% {
        left: 115%;
        opacity: .45;
    }
    30%,
    100% {
        left: 115%;
        opacity: 0;
    }
}

.award-medal {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-right: 1px solid rgba(185,155,99,.18);

    overflow: hidden;
}

.medal-glow {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;

    background:
    radial-gradient(
        circle,
        rgba(185, 155,99,.30),
        rgba(185,155,9,.12) 35%,
        transparent 70%
    );

    filter: blur(10px);

    animation: medalGlow 3.5s ease-in-out infinite;

}

@keyframes medalGlow {
    0%,
    100% {
        transform: scale(.92);
        opacity: .65;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

}

.award-medal img {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 190px;

    object-fit: contain;

    filter:
        drop-shadow(0 15px 18px rgba(0,0,0,.55))
        drop-shadow(0 0 18px rgba(185,155,99,.20));

    transition:
        transform .4s ease,
        filter .4s ease;
}

.award-card .award-medal img {
    transform: scale(1.045) rotate (-1deg);

    filter:
    drop-shadow(0 18px 22px rgba(0,0,0,.60))
    drop-shadow(0 0 28px rgba(185,155,99,.38));
}

.award-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 45px 55px;
}

.award-date {
    display: inline-block;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(185,155,99,.28);

    background: rgba(185,155,99,.055);

    color: var(--accent-light);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.award-content h3 {
    margin-top: 20px;
    color: var(--text);
    font-family: 'Roboto Slab', serif;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 600;
}

.award-line {
    width: 55px;
    height: 1px;
    margin-top: 25px;
    background: var(--accent);
}

.award-status {
    display: block;
    margin-top: 13px;
    color: var(--accent);
    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.award-number {
    position: absolute;

    top: 25px;
    right: 28px;
    color: rgba(185,155,99,.20);
    font-family: "Roboto Slab", serif;

    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

@media (max-width: 700px){
    .awards-section {
        padding-top: 25;
    }

    .award-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .award-medal {
        min-height: 250px;
        border-right: 0;
        border-bottom: 1px solid rgba(185,155,99,.18);
    }

    .award-medal img {
        width: 165px;
        height: 165px;
    }

    .medal-glow {
        width: 200px;
        height: 200px;
    }

    .award-content {
        padding: 32px 25px 35px;
    }

    .award-content h3 {
        font-size: 27px;
        padding-right: 30px;
    }

    .award-number {
        top: 18px;
        right: 20px;
        font-size: 30px;
    }
}