/* =========================================================
   Pergatsi Bali — tema merah putih
   ========================================================= */
:root {
    --red: #C8102E;
    --red-600: #A60C25;
    --red-700: #7E0A1C;
    --red-50: #FFF3F4;
    --red-100: #FFE1E4;
    --ink: #1B1416;
    --ink-2: #4A3F42;
    --muted: #7B6E71;
    --line: #F0E3E5;
    --paper: #FFFFFF;
    --bg: #FFFCFC;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(126, 10, 28, .05), 0 12px 32px -12px rgba(126, 10, 28, .18);
    --shadow-lg: 0 30px 60px -20px rgba(126, 10, 28, .35);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font: 600 15px/1 var(--font); cursor: pointer; transition: .2s ease;
    white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 16, 46, .7); }
.btn-primary:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--red-50); color: var(--red-600); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(126, 10, 28, .5); }
.site-header::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, var(--red) 50%, #fff 50%); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand strong em { font-style: normal; color: var(--red); }
.brand small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: .2s; }
.nav a:not(.btn):hover { color: var(--red); background: var(--red-50); }
.nav a.active { color: var(--red); background: var(--red-50); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--red-50); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--red); border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 0; overflow: hidden; padding: 72px 0 140px; }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(600px 400px at 85% 20%, rgba(255, 255, 255, .12), transparent 70%),
        linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%);
    z-index: -2;
}
/* Lengkung putih di bawah, mengikuti belahan merah-putih logo */
.hero::after {
    content: ''; position: absolute; left: -10%; right: -10%; bottom: -90px; height: 160px;
    background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-text { color: #fff; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--red);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #FFD8DD; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; color: #fff; margin: 16px 0 20px; }
.hero h1 span { color: var(--red); background: #fff; padding: 0 .18em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--red); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-disc {
    position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(180deg, #fff 0 50%, #fff 50%);
    box-shadow: var(--shadow-lg), 0 0 0 14px rgba(255, 255, 255, .14), 0 0 0 28px rgba(255, 255, 255, .07);
    display: grid; place-items: center;
}
.hero-disc img { width: 82%; animation: float 7s ease-in-out infinite; }
.ball {
    position: absolute; width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    font: 800 24px/1 var(--display);
    box-shadow: 0 14px 24px -10px rgba(0, 0, 0, .35), inset -6px -8px 0 rgba(0, 0, 0, .08);
    animation: float 6s ease-in-out infinite;
}
.ball::after { content: ''; position: absolute; top: 14%; left: 20%; width: 30%; height: 22%; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(1px); }
.ball-red { background: var(--red); color: #fff; }
.ball-white { background: #fff; color: var(--red); border: 2px solid var(--red-100); }
.ball.b1 { top: 4%; left: -4%; animation-delay: -1s; }
.ball.b2 { bottom: 8%; right: -6%; width: 78px; height: 78px; font-size: 30px; animation-delay: -3s; }
.ball.b3 { bottom: -2%; left: 14%; width: 52px; height: 52px; font-size: 20px; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats {
    position: relative; margin-top: -72px; z-index: 2;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(30px, 4vw, 44px)/1 var(--display); color: var(--red); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--red-50), #fff); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 10px 0 0; max-width: 640px; }
.section-head p { max-width: 520px; color: var(--muted); margin: 10px 0 0; }
.link-more { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: '→'; transition: transform .2s; }
.link-more:hover::after { transform: translateX(4px); }

/* About on home */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute; right: -18px; bottom: -22px; background: #fff; border-radius: 18px;
    padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; border: 1px solid var(--line);
}
.about-badge img { width: 48px; height: 48px; }
.about-badge b { display: block; font-family: var(--display); font-size: 18px; }
.about-badge span { font-size: 13px; color: var(--muted); }
.about-text h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 10px; }
.about-text .lead { font-size: 18px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.checks li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03); transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column; color: var(--ink);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--red-50); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px; background: var(--red-50); color: var(--red);
}
.card-img .tag { position: absolute; top: 14px; left: 14px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-date { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-date svg { width: 15px; height: 15px; fill: var(--red); }
.card h3 { font-size: 21px; margin: 10px 0; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.card .link-more { margin-top: auto; font-size: 14px; }

/* Featured news (list page) */
.news-featured { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 40px; color: var(--ink); }
.news-featured:hover { color: var(--ink); }
.news-featured .card-img { aspect-ratio: auto; min-height: 340px; }
.news-featured .card-body { padding: 40px; justify-content: center; }
.news-featured h2 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.gallery-grid.compact { columns: unset; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item {
    position: relative; display: block; margin: 0 0 16px; border-radius: 16px; overflow: hidden;
    break-inside: avoid; background: var(--red-50); cursor: zoom-in; border: 0; padding: 0; width: 100%;
}
.gallery-grid.compact .g-item { margin: 0; aspect-ratio: 1; }
.gallery-grid.compact .g-item img { height: 100%; object-fit: cover; }
.g-item img { width: 100%; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; text-align: left;
    background: linear-gradient(transparent, rgba(40, 4, 10, .82)); color: #fff;
    font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .3s;
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-item figcaption small { display: block; font-weight: 500; opacity: .8; font-size: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: 600 14px var(--font); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(20, 4, 8, .92);
    display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #fff; margin-top: 16px; font-weight: 600; }
.lightbox figcaption small { display: block; opacity: .7; font-weight: 400; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; cursor: pointer; transition: .2s; display: grid; place-items: center; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Pengurus ---------- */
.people-group + .people-group { margin-top: 56px; }
.people-group > h3 { font-size: 22px; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.people-group > h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.person {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px;
    text-align: center; position: relative; overflow: hidden; transition: .25s;
}
.person::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 84px; background: linear-gradient(135deg, var(--red), var(--red-600)); }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar {
    position: relative; width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 16px;
    border: 5px solid #fff; box-shadow: 0 10px 24px -10px rgba(126, 10, 28, .5);
    background: var(--red-50); display: grid; place-items: center; overflow: hidden;
    font: 800 34px var(--display); color: var(--red);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h4 { font-size: 18px; margin: 0 0 6px; }
.person .role { display: inline-block; font-size: 13px; font-weight: 700; color: var(--red); background: var(--red-50); padding: 4px 12px; border-radius: 999px; }
.person p { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.person.lead-person { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 28px; text-align: left; align-items: center; padding: 32px; }
.person.lead-person::before { inset: 0 auto 0 0; width: 120px; height: auto; }
.person.lead-person .avatar { width: 150px; height: 150px; margin: 0; font-size: 44px; }
.person.lead-person h4 { font-size: 26px; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff; padding: 72px 0 84px;
    background: linear-gradient(135deg, var(--red), var(--red-700));
}
.page-hero::after {
    content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14) 50%, rgba(255, 255, 255, .05) 50%);
}
.page-hero .eyebrow { color: #FFD8DD; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 12px 0 10px; color: #fff; }
.page-hero p { max-width: 640px; color: rgba(255, 255, 255, .85); font-size: 17px; margin: 0; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: 8px; }
.crumbs a { color: #fff; }

/* ---------- Profil ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose { font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: 30px; color: var(--ink); margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.vm-card { border-radius: var(--radius); padding: 36px; background: #fff; border: 1px solid var(--line); }
.vm-card.red { background: linear-gradient(135deg, var(--red), var(--red-600)); color: #fff; border: 0; }
.vm-card.red h3 { color: #fff; }
.vm-card h3 { font-size: 26px; display: flex; align-items: center; gap: 12px; }
.vm-card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); }
.vm-card.red .icon { background: rgba(255, 255, 255, .18); }
.vm-card .icon svg { width: 22px; height: 22px; fill: var(--red); }
.vm-card.red .icon svg { fill: #fff; }
.vm-card.red p { font-size: 19px; line-height: 1.55; }
.misi { list-style: none; padding: 0; margin: 0; counter-reset: m; }
.misi li { counter-increment: m; position: relative; padding: 10px 0 10px 48px; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.misi li:last-child { border: 0; }
.misi li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: 9px; font: 800 18px var(--display); color: var(--red); }
.side-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.side-card img { width: 160px; margin: 0 auto 16px; }
.side-card h4 { font-size: 18px; }
.side-card dl { text-align: left; margin: 20px 0 0; font-size: 14px; }
.side-card dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-top: 14px; }
.side-card dd { margin: 2px 0 0; font-weight: 600; }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.rule { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; }
.rule b { font: 800 34px var(--display); color: var(--red); display: block; }
.rule span { color: var(--muted); font-size: 14px; }

/* ---------- Article ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-head { padding: 56px 0 28px; text-align: center; }
.article-head h1 { font-size: clamp(30px, 4.6vw, 48px); margin: 16px 0; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.article-cover { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 40px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.article-body p:first-child::first-letter { float: left; font: 800 64px/0.9 var(--display); color: var(--red); padding: 6px 10px 0 0; }
.article-body h2 { font-size: 26px; color: var(--ink); margin-top: 1.4em; }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
.share { display: flex; gap: 8px; align-items: center; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-weight: 700; font-size: 13px; }
.share a:hover { background: var(--red); color: #fff; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- CTA band ---------- */
.cta {
    position: relative; overflow: hidden; border-radius: 32px; padding: 56px;
    background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff;
    display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); right: -80px; bottom: -160px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 600px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: #1A0E11; color: rgba(255, 255, 255, .7); padding: 72px 0 0; margin-top: 96px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light img { background: #fff; border-radius: 50%; padding: 2px; width: 56px; height: 56px; }
.brand-light small { color: rgba(255, 255, 255, .55); }
.footer-brand p { margin-top: 20px; max-width: 380px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: var(--font); letter-spacing: 0; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.socials a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; }
.socials a:hover { background: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-disc img, .ball { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .rules { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .gallery-grid.compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed; top: 80px; left: 12px; right: 12px; flex-direction: column; align-items: stretch;
        background: #fff; border-radius: 20px; padding: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s;
    }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav a:not(.btn) { padding: 14px 16px; }
    .nav-cta { margin: 8px 0 0; }
    .hero { padding: 40px 0 120px; }
    .hero::after { bottom: -110px; }
    .hero-grid, .about-grid, .news-featured, .vm-grid, .cta { grid-template-columns: 1fr; }
    .hero-visual { max-width: 300px; order: -1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .about-grid { gap: 48px; }
    .about-badge { right: 12px; }
    .news-featured .card-img { min-height: 220px; aspect-ratio: 16/10; }
    .news-featured .card-body { padding: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .person.lead-person { grid-template-columns: 1fr; text-align: center; }
    .person.lead-person::before { inset: 0 0 auto 0; width: auto; height: 84px; }
    .person.lead-person .avatar { margin: 0 auto; }
    .cta { padding: 40px 28px; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .news-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2 140px; column-gap: 10px; }
    .g-item { margin-bottom: 10px; border-radius: 12px; }
    .gallery-grid.compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .brand small { display: none; }
    .brand strong { font-size: 18px; }
    .stat { padding: 22px 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .rules { grid-template-columns: 1fr 1fr; gap: 12px; }
    .vm-card { padding: 28px 22px; }
    .lightbox { padding: 60px 12px; }
    .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
    .lb-prev { left: calc(50% - 56px); }
    .lb-next { right: calc(50% - 56px); }
    .article-body { font-size: 17px; }
    .hero-lead { font-size: 16px; }
}
