/* ========================================================================
   morzannaa.ru — Антоновское государство
   ======================================================================== */

:root {
    --bg: #0c0a11;
    --bg-2: #13101c;
    --panel: #191527;
    --line: #2e2742;
    --gold: #d8b25c;
    --gold-soft: #f2dda6;
    --crimson: #e0304a;
    --purple: #8b5cf6;
    --text: #efeaf7;
    --muted: #a096b5;
    --parchment: #efe0bd;
    --parchment-2: #e2cfa2;
    --ink: #35281a;
    --nav-h: 66px;
    --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

/* height: auto обязателен: атрибуты width/height в разметке задают браузеру
   подсказку по высоте, которая иначе перебивает aspect-ratio */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #1a1204; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #322a45; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* фоновое свечение */
.aura {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(720px 460px at 12% 8%, rgba(139, 92, 246, .16), transparent 65%),
        radial-gradient(680px 420px at 88% 22%, rgba(216, 178, 92, .12), transparent 65%),
        radial-gradient(900px 540px at 50% 100%, rgba(224, 48, 74, .09), transparent 70%);
}

/* ============================== ИНТРО ================================== */

#intro {
    position: fixed; inset: 0; z-index: 900;
    min-height: 100vh;
    background:
        radial-gradient(900px 600px at 50% 45%, #1c1729 0%, var(--bg) 70%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 30px; padding: 30px 20px;
    text-align: center;
}
/* после проигрывания интро становится обычной первой секцией страницы */
#intro.done { position: relative; inset: auto; z-index: 1; }

.morph {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: clamp(90px, 18vw, 180px);
    width: 100%;
}

.morph-name {
    position: absolute;
    font-family: "Unbounded", "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: clamp(52px, 13vw, 152px);
    letter-spacing: .04em;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

/* АНТОН */
#nameAnton {
    color: #cfc7de;
    opacity: 0;
    transform: scale(.94);
    transition: opacity .55s var(--ease), transform .55s var(--ease),
                filter .5s var(--ease);
}
#intro.step-anton #nameAnton { opacity: 1; transform: scale(1); }
#intro.step-strike #nameAnton { color: #8e849f; }
#intro.step-anna  #nameAnton {
    opacity: 0;
    transform: scale(.82) translateY(-26px);
    filter: blur(6px);
}

/* красная линия */
.strike {
    position: absolute;
    left: 50%; top: 50%;
    height: clamp(6px, 1.1vw, 13px);
    width: 0;
    background: linear-gradient(90deg, #ff5c6e, var(--crimson) 45%, #a3132a);
    border-radius: 4px;
    transform: translate(-50%, -50%) rotate(-4deg);
    box-shadow: 0 0 26px rgba(224, 48, 74, .85), 0 0 70px rgba(224, 48, 74, .45);
    opacity: 0;
}
#intro.step-strike .strike,
#intro.step-anna .strike {
    opacity: 1;
    width: min(112%, 1120px);
    transition: width .42s cubic-bezier(.7, .05, .35, 1), opacity .12s linear;
}
#intro.step-anna .strike {
    opacity: 0;
    transition: opacity .5s ease .25s, width .42s cubic-bezier(.7,.05,.35,1);
}

/* АННА */
#nameAnna {
    opacity: 0;
    transform: scale(1.22);
    filter: blur(14px);
    /* Крайние цвета совпадают, поэтому плитка градиента стыкуется без шва,
       а мягкие переходы между стопами убирают полосы. */
    background: linear-gradient(100deg,
        #c79a44  0%,
        #dcb768 10%,
        #efd79c 20%,
        #fdf1cf 28%,
        #efd79c 36%,
        #dcb768 46%,
        #c79a44 56%,
        #dcb768 68%,
        #efd79c 80%,
        #dcb768 90%,
        #c79a44 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    text-shadow: none;
}
#intro.step-anna #nameAnna {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
    animation: shimmer 7s linear 1s infinite;
}
/* сдвиг ровно на одну плитку — цикл замыкается без рывка */
@keyframes shimmer {
    from { background-position:    0% 50%; }
    to   { background-position: -200% 50%; }
}

.intro-sub {
    font-size: clamp(11px, 2.4vw, 14px);
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
#intro.step-socials .intro-sub { opacity: 1; transform: none; }

.socials {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.social {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(25, 21, 39, .72);
    backdrop-filter: blur(10px);
    font-weight: 700; font-size: 15px;
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s,
                background .25s;
}
.social svg { width: 20px; height: 20px; flex: none; }
.social:hover {
    transform: translateY(-3px);
    border-color: var(--accent, var(--gold));
    box-shadow: 0 12px 30px -12px var(--accent, var(--gold));
    background: rgba(35, 29, 54, .9);
}
.social.tg      { --accent: #229ED9; }
.social.twitch  { --accent: #9146FF; }
.social.yt      { --accent: #FF0000; }
.social.tiktok  { --accent: #ffffff; }
.social.mail    { --accent: var(--gold); }

#intro .socials .social {
    opacity: 0; transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease),
                border-color .25s, box-shadow .25s, background .25s;
}
#intro.step-socials .socials .social { opacity: 1; transform: none; }
#intro.step-socials .socials .social:hover { transform: translateY(-3px); }
#intro.step-socials .socials .social:nth-child(1) { transition-delay: .00s; }
#intro.step-socials .socials .social:nth-child(2) { transition-delay: .07s; }
#intro.step-socials .socials .social:nth-child(3) { transition-delay: .14s; }
#intro.step-socials .socials .social:nth-child(4) { transition-delay: .21s; }
#intro.step-socials .socials .social:nth-child(5) { transition-delay: .28s; }

.skip {
    position: absolute; top: 22px; right: 22px;
    background: none; border: 1px solid var(--line); color: var(--muted);
    border-radius: 999px; padding: 8px 16px; cursor: pointer;
    font: 600 13px "Manrope", sans-serif;
    transition: color .2s, border-color .2s;
}
.skip:hover { color: var(--text); border-color: var(--gold); }
#intro.step-socials .skip { opacity: 0; pointer-events: none; transition: opacity .4s; }

.scroll-hint {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
    color: var(--muted); font-size: 12px; letter-spacing: .28em;
    text-transform: uppercase;
    opacity: 0; transition: opacity .6s ease .3s;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
#intro.step-socials .scroll-hint { opacity: 1; }
.scroll-hint span { animation: bob 1.9s ease-in-out infinite; font-size: 18px; }
@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: .5; }
    50%      { transform: translateY(7px); opacity: 1; }
}

/* ============================== НАВБАР ================================= */

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 800;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(12, 10, 17, .72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transform: translateY(-100%);
    transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.nav.visible { transform: none; border-bottom-color: var(--line); }
/* ссылки строго по центру полосы: плашка эфира и бургер вынуты из потока,
   иначе они смещали бы центр вбок */
.nav .wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; position: relative;
}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
    padding: 8px 13px; border-radius: 9px; font-size: 14px; font-weight: 600;
    color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }

.live-pill {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    display: none; align-items: center; gap: 7px;
    background: var(--crimson); color: #fff;
    padding: 7px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 0 20px rgba(224, 48, 74, .55);
}
.live-pill.on { display: inline-flex; }
.live-pill i {
    width: 7px; height: 7px; border-radius: 50%; background: #fff;
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.burger {
    display: none; background: none; border: 1px solid var(--line);
    color: var(--text); border-radius: 9px; padding: 8px 12px; cursor: pointer;
    font-size: 17px; line-height: 1;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
}

/* ============================== СЕКЦИИ ================================= */

main { position: relative; z-index: 1; background: var(--bg); }

section { padding: clamp(70px, 11vw, 130px) 0; }

.sec-head { margin-bottom: 44px; }
.sec-kicker {
    display: inline-block;
    font-size: 12px; letter-spacing: .36em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px;
}
.sec-head h2 {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(28px, 5.2vw, 48px);
    font-weight: 800; margin: 0; letter-spacing: -.01em; line-height: 1.1;
}
.sec-head p { color: var(--muted); max-width: 62ch; margin: 14px 0 0; }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
    opacity: 1; transform: none;
    transition: opacity .75s var(--ease), transform .75s var(--ease);
}

/* --- о ней и о коте --- */
.about, .anton-card {
    display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px); align-items: center;
}

/* вертикальный портрет вместо квадратного кадра.
   Два класса в селекторе — правило объявлено выше базового .portrait img,
   поэтому нужна большая специфичность, иначе aspect-ratio: 1 победит. */
.portrait.portrait-tall img { aspect-ratio: 3 / 4; object-position: center 22%; }

/* второе фото полароидом на углу главного портрета.
   .portrait img (класс+тег) специфичнее одного .polaroid — без .portrait
   в селекторе width:100% оттуда побеждал бы и растягивал картинку. */
.portrait .polaroid {
    position: absolute; right: clamp(-26px, -4vw, -14px); bottom: clamp(-22px, -3vw, -12px);
    width: clamp(96px, 17vw, 140px); aspect-ratio: 3 / 4;
    object-fit: cover; object-position: center 18%;
    border-radius: 12px; border: 5px solid #f4ecd8;
    box-shadow: 0 18px 34px -14px #000, 0 0 0 1px rgba(0,0,0,.25);
    transform: rotate(6deg);
    transition: transform .35s var(--ease);
}
.portrait:hover .polaroid { transform: rotate(2deg) scale(1.04); }

/* широкая фотополоса под блоком «О ней» */
.photo-band {
    position: relative; margin: clamp(38px, 6vw, 66px) 0 0;
    border-radius: 26px; overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 34px 70px -46px #000;
}
.photo-band img {
    width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 46%;
}
.photo-band::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(12, 10, 17, .82) 100%);
}
.photo-band figcaption {
    position: absolute; left: clamp(18px, 3vw, 30px); bottom: clamp(14px, 2.4vw, 22px);
    z-index: 1; color: var(--gold-soft);
    font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}

/* карточка кота — картинка справа на широких экранах */
.anton-card { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
.anton-card > div { order: -1; }
.anton-card .btn-line { display: inline-block; margin-top: 6px; }
.portrait { position: relative; }
.portrait img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 26px;
    border: 1px solid var(--line);
    filter: saturate(1.05);
}
.portrait::after {
    content: ""; position: absolute; inset: -18px; border-radius: 34px;
    background: radial-gradient(circle at 50% 50%, rgba(216,178,92,.22), transparent 68%);
    z-index: -1;
}
.portrait figcaption {
    position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
    background: var(--panel); border: 1px solid var(--gold);
    color: var(--gold-soft);
    padding: 6px 16px; border-radius: 999px;
    font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
    white-space: nowrap;
}
.about h3 {
    font-family: "Unbounded", sans-serif; font-size: clamp(24px, 4vw, 38px);
    margin: 0 0 10px;
}
.about .lead { color: var(--muted); font-size: 17px; margin: 0 0 26px; }

.facts { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.facts li {
    display: flex; gap: 12px; align-items: flex-start;
    background: rgba(25, 21, 39, .6);
    border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
    font-size: 15px;
}
.facts b { color: var(--gold-soft); font-weight: 700; }

/* --- twitch --- */
#live-section { display: none; }
#live-section.on { display: block; }
.player {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 20px; overflow: hidden;
    border: 1px solid var(--crimson);
    box-shadow: 0 30px 80px -40px var(--crimson);
    background: #000;
}
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; color: var(--muted); }
.live-meta b { color: var(--text); }

/* --- расписание --- */
.cal-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.cal-title {
    font-family: "Unbounded", sans-serif; font-size: clamp(19px, 3vw, 26px);
    margin: 0; text-transform: capitalize;
}
.cal-nav { display: flex; gap: 8px; }
.cal-nav button, .btn-line {
    background: rgba(25,21,39,.7); border: 1px solid var(--line); color: var(--text);
    border-radius: 11px; padding: 9px 15px; cursor: pointer;
    font: 600 14px "Manrope", sans-serif;
    transition: border-color .2s, color .2s, transform .2s;
}
.cal-nav button:hover, .btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }

.calendar {
    /* minmax(0, 1fr), иначе длинное название события распирает колонку */
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px;
    background: rgba(19, 16, 28, .55);
    border: 1px solid var(--line); border-radius: 22px; padding: 16px;
}
.calendar .dow {
    text-align: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); padding: 4px 0 8px;
}
.cell {
    position: relative;
    min-width: 0;
    min-height: 92px; border-radius: 13px;
    background: rgba(255,255,255,.02);
    border: 1px solid transparent;
    padding: 8px; display: flex; flex-direction: column; gap: 5px;
    text-align: left; cursor: default; color: inherit;
    font: inherit;
    transition: border-color .2s, background .2s, transform .2s;
}
.cell.other { opacity: .3; }
.cell.past  { opacity: .48; }
.cell.has:hover { border-color: var(--gold); background: rgba(216,178,92,.07);
                  cursor: pointer; transform: translateY(-2px); }
.cell.today { border-color: var(--gold); background: rgba(216,178,92,.09); }
.cell .num { font-size: 13px; font-weight: 700; color: var(--muted); }
.cell.today .num { color: var(--gold); }
.chip {
    font-size: 11px; font-weight: 700; line-height: 1.25;
    border-radius: 7px; padding: 4px 6px; color: #fff;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 100%; min-width: 0;
}
.chip.stream  { background: linear-gradient(135deg, #8b5cf6, #6d33cc); }
.chip.art     { background: linear-gradient(135deg, #34a3b3, #217a87); }
.chip.special { background: linear-gradient(135deg, #e3b558, #b8862a); color: #241802; }
.chip.off     { background: #302943; color: var(--muted); }
.chip.cancelled { text-decoration: line-through; opacity: .55; }

.cal-legend {
    display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px;
    font-size: 13px; color: var(--muted);
}
.cal-legend i { width: 11px; height: 11px; border-radius: 4px; display: inline-block;
                margin-right: 6px; vertical-align: -1px; }

.upcoming {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px; margin-top: 22px;
}
.up-card {
    background: linear-gradient(180deg, rgba(139,92,246,.14), rgba(25,21,39,.6));
    border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px;
}
.up-card.has-pic { padding: 0; overflow: hidden; }
.up-card.has-pic .when { padding-top: 16px; }
.up-card.has-pic .when, .up-card.has-pic .what, .up-card.has-pic .note {
    padding-left: 20px; padding-right: 20px;
}
.up-card.has-pic .note { padding-bottom: 18px; }
.up-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.up-card .when { font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
                 color: var(--gold); margin-bottom: 8px; }
.up-card .what { font-weight: 700; font-size: 17px; }
.up-card .note { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* модалка дня */
.day-modal {
    position: fixed; inset: 0; z-index: 950;
    background: rgba(8, 6, 12, .78);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.day-modal.on { display: flex; }
.day-modal .box {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 22px; padding: 28px; width: min(460px, 100%);
    max-height: 80vh; overflow: auto;
    animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.day-modal h4 { font-family: "Unbounded", sans-serif; margin: 0 0 18px; font-size: 20px; }
.day-modal .item { border-top: 1px solid var(--line); padding: 14px 0; }
.day-modal .item:first-of-type { border-top: none; padding-top: 0; }
.day-modal .time { color: var(--gold); font-weight: 700; }
.day-modal .ev-pic {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: 12px; border: 1px solid var(--line); margin-bottom: 12px;
}
.day-modal .cancel-note { color: var(--crimson); font-weight: 700; font-size: 13px; }

/* --- конституция --- */
#constitution { position: relative; }

.scroll-outer { position: relative; padding: 26px 0; }

.rod {
    height: 26px; border-radius: 13px;
    background: linear-gradient(180deg, #6b4a24, #3d2812 45%, #241608);
    box-shadow: 0 8px 26px -10px #000, inset 0 1px 0 rgba(255,255,255,.16);
    position: relative;
    width: calc(100% + 26px); margin-left: -13px;
}
.rod::before, .rod::after {
    content: ""; position: absolute; top: 50%; width: 20px; height: 38px;
    transform: translateY(-50%); border-radius: 6px;
    background: linear-gradient(180deg, var(--gold-soft), #966c22);
    box-shadow: 0 4px 14px -4px #000;
}
.rod::before { left: -12px; }
.rod::after  { right: -12px; }

.parchment {
    background:
        radial-gradient(circle at 15% 12%, rgba(255,255,255,.5), transparent 35%),
        radial-gradient(circle at 85% 88%, rgba(160,120,60,.16), transparent 40%),
        linear-gradient(180deg, var(--parchment), var(--parchment-2));
    color: var(--ink);
    padding: clamp(28px, 5vw, 62px);
    font-family: "PT Serif", Georgia, serif;
    position: relative;
    box-shadow: inset 0 0 70px rgba(120, 85, 40, .3);
    overflow: hidden;
}
.parchment::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        repeating-linear-gradient(96deg, rgba(120,85,40,.035) 0 2px, transparent 2px 7px);
}

.const-title { text-align: center; margin-bottom: 34px; }
.const-title h3 {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(19px, 3.6vw, 32px);
    letter-spacing: .06em; margin: 0 0 10px; color: #2a1f12;
    text-transform: uppercase;
}
.const-title .sub {
    font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
    color: #7a5a30;
}
.const-rule {
    width: 130px; height: 2px; margin: 16px auto 0;
    background: linear-gradient(90deg, transparent, #8a6427, transparent);
}

.const-body { position: relative; }
.const-body.collapsed { max-height: 460px; overflow: hidden; }
.const-body.collapsed::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
    background: linear-gradient(180deg, transparent, var(--parchment-2) 82%);
}

.chapter { margin-bottom: 30px; }
.chapter h4 {
    font-family: "Unbounded", sans-serif;
    font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
    color: #6b4a1e; margin: 0 0 14px;
    border-bottom: 1px solid rgba(107, 74, 30, .3); padding-bottom: 8px;
}
.article { display: flex; gap: 14px; margin-bottom: 12px; line-height: 1.6; }
.article .no {
    flex: none; font-weight: 700; color: #8a6427; min-width: 74px;
    font-size: 14px; padding-top: 2px;
}
.article p { margin: 0; font-size: 16.5px; }

.const-actions { text-align: center; margin-top: 26px; position: relative; z-index: 2; }
.btn-seal {
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    color: #2a1c04; border: none; border-radius: 999px;
    padding: 13px 30px; cursor: pointer;
    font: 800 14px "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase;
    box-shadow: 0 12px 30px -14px #000;
    transition: transform .2s var(--ease), filter .2s;
}
.btn-seal:hover { transform: translateY(-2px); filter: brightness(1.07); }

.seal-stamp {
    width: 108px; height: 108px; margin: 34px auto 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #d8455c, #8e0f24 70%);
    box-shadow: 0 10px 26px -10px rgba(0,0,0,.7), inset 0 -6px 14px rgba(0,0,0,.35);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #ffe0e4; text-align: center;
    font-family: "Unbounded", sans-serif; font-size: 10px; letter-spacing: .12em;
    transform: rotate(-8deg);
    border: 3px double rgba(255, 220, 225, .55);
    line-height: 1.5;
}
.seal-stamp span:first-child { font-size: 26px; }

/* --- сотрудничество --- */
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.contact-card {
    display: flex; align-items: center; gap: 16px;
    background: rgba(25,21,39,.62); border: 1px solid var(--line);
    border-radius: 20px; padding: 22px 24px;
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.contact-card:hover {
    transform: translateY(-4px); border-color: var(--gold);
    box-shadow: 0 24px 50px -30px var(--gold);
}
.contact-card .ic {
    width: 48px; height: 48px; flex: none; border-radius: 15px;
    background: linear-gradient(135deg, rgba(216,178,92,.28), rgba(139,92,246,.24));
    display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.contact-card .t { font-weight: 700; }
.contact-card .s { color: var(--muted); font-size: 14px; }

/* --- подвал --- */
footer {
    position: relative;
    /* z-index выше, чем у main (там 1): коты торчат над кромкой подвала,
       а main с непрозрачным фоном иначе закрашивает их сверху */
    z-index: 2;
    border-top: 1px solid var(--line);
    padding: 62px 0 44px;
    color: var(--muted); font-size: 14px;
    background: linear-gradient(180deg, rgba(25, 21, 39, .55), transparent 55%);
}
footer a { color: inherit; }

/* коты лежат и сидят на кромке подвала */
/* кот на кромке подвала: золотой силуэт с тёмным контуром для чёткости края.
   Родителю footer нужен z-index выше, чем у main, иначе непрозрачный фон
   main закрашивает всё, что торчит выше кромки. */
.footer-cats {
    position: absolute; left: 0; right: 0; bottom: 100%;
    height: 140px; pointer-events: none;
    color: var(--gold-soft);
}
.footer-cats .cat {
    position: absolute; bottom: -14px; display: block;
    left: 50%; transform: translateX(-50%);
    height: 116px;
    stroke: rgba(12, 10, 17, .6); stroke-width: 1.4px; paint-order: stroke fill;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .6))
            drop-shadow(0 0 16px rgba(216, 178, 92, .35));
}
.footer-cats .eyes { color: var(--bg); }

.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(28px, 5vw, 56px);
    padding-bottom: 32px;
}

.f-seal {
    width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid var(--gold);
    box-shadow: 0 0 0 5px rgba(216, 178, 92, .07);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px;
}
.f-name {
    font-family: "Unbounded", sans-serif; font-weight: 800;
    letter-spacing: .16em; font-size: 17px; color: var(--text);
}
.f-motto {
    margin: 8px 0 0; color: var(--gold-soft);
    font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.f-sub { margin: 14px 0 0; font-size: 13.5px; max-width: 34ch; line-height: 1.6; }

.f-col { display: flex; flex-direction: column; align-items: flex-start; }
.f-col h4 {
    margin: 0 0 14px; color: var(--gold);
    font: 700 11px "Manrope", sans-serif;
    letter-spacing: .26em; text-transform: uppercase;
}
.f-col a {
    padding: 5px 0; font-size: 14.5px;
    transition: color .2s, transform .2s;
}
.f-col a:hover { color: var(--gold-soft); transform: translateX(3px); }

.footer-bottom {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-top: 1px solid var(--line); padding-top: 22px;
    font-size: 13px;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ============================== АДАПТИВ ================================ */

@media (max-width: 900px) {
    .about, .anton-card { grid-template-columns: 1fr; }
    .anton-card > div { order: 0; }   /* на узком экране картинка сверху */
    .portrait { max-width: 280px; margin: 0 auto 24px; }
}

@media (max-width: 700px) {
    .photo-band img { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
    .burger { display: block; }
    /* уводим плашку левее бургера, иначе они лягут друг на друга */
    .live-pill { right: 56px; }
    .nav-links {
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: rgba(12,10,17,.97);
        border-bottom: 1px solid var(--line);
        padding: 10px 20px 18px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; }
    /* подвал в одну колонку, котов оставляем двух */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .f-col { align-items: center; }
    .f-seal { margin-left: auto; margin-right: auto; }
    .f-sub { margin-left: auto; margin-right: auto; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-cats { height: 110px; }
    .footer-cats .cat { height: 86px; }

    .calendar { padding: 10px; gap: 5px; }
    .cell { min-height: 62px; padding: 5px; }
    .chip { font-size: 9.5px; padding: 3px 4px; }
    .cell .num { font-size: 11px; }
    .rod { width: calc(100% + 14px); margin-left: -7px; }
}

@media (max-width: 420px) {
    .calendar .dow { font-size: 9px; letter-spacing: .05em; }
    .article { flex-direction: column; gap: 2px; }
    .article .no { min-width: 0; }
}

/* ==================== УВАЖЕНИЕ К НАСТРОЙКАМ ДОСТУПНОСТИ =============== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .scroll-hint span { animation: none; }
}
