/* =========================================================
   SWRJILU - Public site
   Palette: Midnight navy + antique gold on warm ivory,
   with a crimson (gamosa) and teal accent.
   ========================================================= */

:root {
    --ink: #0A1A33;
    --ink-2: #112A52;
    --ink-3: #1B3D73;
    --gold: #D4A24C;
    --gold-light: #F1CF8A;
    --gold-dark: #A87722;
    --crimson: #B4232F;
    --teal: #14868C;
    --cream: #FAF6EE;
    --cream-2: #F3ECDC;
    --paper: #FFFFFF;
    --line: #E8E0D0;
    --text: #1D2433;
    --muted: #5F6878;

    --radius: 22px;
    --shadow-sm: 0 4px 14px rgba(10, 26, 51, .06);
    --shadow-md: 0 18px 40px -14px rgba(10, 26, 51, .20);
    --shadow-lg: 0 34px 70px -24px rgba(10, 26, 51, .45);
    --ease: cubic-bezier(.16, 1, .3, 1);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold), var(--crimson), var(--teal));
    z-index: 1000; transition: width .1s linear;
}
.to-top {
    position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
    border-radius: 50%; border: 0; cursor: pointer;
    background: var(--ink); color: var(--gold-light);
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: all .4s var(--ease); z-index: 90;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--ink); transform: translateY(-4px); }

/* ---------- Navigation ---------- */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0;
    transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-nav.scrolled {
    background: rgba(10, 26, 51, .82);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 8px 0;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
}
.nav-inner {
    width: min(1240px, 100% - 40px); margin-inline: auto;
    display: flex; align-items: center; gap: 22px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 14px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--ink);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 8px 20px -6px rgba(212, 162, 76, .7);
    transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: 2px; }
.brand-sub { font-size: .68rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-light); opacity: .85; }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
    position: relative; text-decoration: none; color: rgba(255, 255, 255, .82);
    font-size: .88rem; font-weight: 500; padding: 9px 14px; border-radius: 999px;
    transition: color .3s, background .3s;
    white-space: nowrap;
}
.nav-links a::after {
    content: ''; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px;
    background: var(--gold); border-radius: 2px; transform: translateX(-50%);
    transition: width .35s var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a:hover::after, .nav-links a.active::after { width: 26px; }
.nav-links a.active { color: var(--gold-light); }

.nav-issn {
    font-size: .78rem; font-weight: 600; letter-spacing: 1px; white-space: nowrap;
    color: var(--gold-light); padding: 8px 14px; border-radius: 999px;
    border: 1px solid rgba(241, 207, 138, .35); background: rgba(241, 207, 138, .08);
}
.nav-issn i { margin-right: 6px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: all .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 .95rem var(--font-body); text-decoration: none;
    transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s;
    position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(212, 162, 76, .9); }
.btn-gold:hover { box-shadow: 0 18px 34px -10px rgba(212, 162, 76, 1); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-ghost i { transition: transform .3s var(--ease); }
.btn-ghost:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-navy { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(10, 26, 51, .8); }
.btn-navy:hover { background: var(--ink-3); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    padding: 150px 0 190px;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(36, 80, 143, .65), transparent 60%),
        radial-gradient(700px 420px at -5% 105%, rgba(20, 134, 140, .35), transparent 60%),
        linear-gradient(160deg, var(--ink) 0%, #0D2145 55%, #123764 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 85%);
    mask-image: linear-gradient(to bottom, #000 20%, transparent 85%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: #D4A24C; top: -140px; left: -80px; opacity: .22; }
.blob-2 { width: 520px; height: 520px; background: #1B6FD1; bottom: -200px; right: -120px; opacity: .30; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; background: #B4232F; top: 38%; left: 46%; opacity: .16; animation-delay: -10s; }
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(50px, 40px, 0) scale(1.15); }
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold-light); padding: 9px 18px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(241, 207, 138, .3);
    backdrop-filter: blur(6px);
    animation: fadeUp 1s var(--ease) both;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-title {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(3.4rem, 9vw, 7rem); line-height: 1; letter-spacing: 4px;
    margin: 26px 0 22px; display: flex; flex-wrap: wrap;
}
.hero-title span {
    display: inline-block;
    background: linear-gradient(180deg, #fff 20%, var(--gold-light) 60%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    opacity: 0; transform: translateY(60px) rotateX(-70deg);
    animation: letterIn 1s var(--ease) forwards;
    animation-delay: calc(var(--i) * 80ms + 250ms);
}
@keyframes letterIn { to { opacity: 1; transform: none; } }

.hero-lead { max-width: 560px; font-size: 1.1rem; color: rgba(255, 255, 255, .78); animation: fadeUp 1s .5s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; animation: fadeUp 1s .65s var(--ease) both; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; animation: fadeUp 1s .8s var(--ease) both; }
.hero-chips li { font-size: .82rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.hero-chips i { color: var(--gold); margin-right: 6px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Hero art / slider */
.hero-art { position: relative; animation: fadeUp 1.2s .35s var(--ease) both; }
.art-frame {
    position: absolute; inset: 0; transform: translate(22px, 22px) rotate(3deg);
    border-radius: 30px; border: 2px solid rgba(212, 162, 76, .55);
    background: linear-gradient(135deg, rgba(212, 162, 76, .18), rgba(212, 162, 76, 0));
    animation: sway 9s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: translate(22px, 22px) rotate(3deg); } to { transform: translate(14px, 30px) rotate(5deg); } }
.hero-slider {
    position: relative; width: 100%; aspect-ratio: 4 / 4.6; border-radius: 30px; overflow: hidden;
    box-shadow: var(--shadow-lg); background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .15);
}
.hero-art { min-width: 0; }
.hero-slider .swiper-wrapper, .hero-slider .swiper-slide { height: 100%; }
.hero-slider .swiper-slide { position: relative; }
.hero-slider .swiper-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slider .swiper-slide.slide-placeholder { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: rgba(255, 255, 255, .6); background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); }
.slide-placeholder i { font-size: 3rem; color: var(--gold); }
.hero-slider::after { content: ''; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(to top, rgba(10, 26, 51, .65), transparent); pointer-events: none; z-index: 2; }
.hero-slider .swiper-pagination { z-index: 3; bottom: 16px !important; }
.hero-slider .swiper-pagination-bullet { background: #fff; opacity: .5; width: 8px; height: 8px; transition: all .3s; }
.hero-slider .swiper-pagination-bullet-active { background: var(--gold); opacity: 1; width: 26px; border-radius: 6px; }

.float-badge {
    position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 14px; font-size: .82rem; font-weight: 600; color: var(--ink);
    background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-md);
    animation: bob 5s ease-in-out infinite;
}
.float-badge i { color: var(--teal); }
.fb-1 { top: 8%; left: -28px; }
.fb-2 { bottom: 10%; right: -22px; animation-delay: -2.5s; }
.fb-2 i { color: var(--crimson); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--cream); }

/* ---------- Key facts ---------- */
.facts {
    position: relative; z-index: 5; margin-top: -92px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.fact {
    display: flex; align-items: center; gap: 16px; padding: 22px;
    background: var(--paper); border-radius: 20px; border: 1px solid var(--line);
    box-shadow: var(--shadow-md); transition: transform .4s var(--ease), box-shadow .4s;
}
.fact:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fact-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.2rem; color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transition: transform .5s var(--ease);
}
.fact:hover .fact-icon { transform: rotate(-10deg) scale(1.1); }
.fact:nth-child(2) .fact-icon { background: linear-gradient(135deg, #7FD0D4, var(--teal)); color: #fff; }
.fact:nth-child(3) .fact-icon { background: linear-gradient(135deg, #E77A83, var(--crimson)); color: #fff; }
.fact:nth-child(4) .fact-icon { background: linear-gradient(135deg, #7FA6E8, var(--ink-3)); color: #fff; }
.fact small { display: block; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact strong { display: block; font-size: .98rem; line-height: 1.35; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--cream-2); position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head-center { justify-content: center; text-align: center; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; position: relative; padding-left: 36px; }
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 2px; background: var(--gold); }
.section-head-center .kicker { padding-left: 0; }
.section-head-center .kicker::before { display: none; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; color: var(--ink); }
.section-sub { color: var(--muted); margin-top: 8px; max-width: 520px; }

.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.nav-btn {
    width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 1rem;
    transition: all .35s var(--ease);
}
.nav-btn:hover { background: var(--ink); color: var(--gold-light); transform: scale(1.08); }
.nav-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* ---------- Issue cards ---------- */
.issues-swiper { padding: 14px 6px 56px; margin: 0 -6px; overflow: hidden; }
.issues-swiper .swiper-slide { height: auto; }
.issue-card {
    height: 100%; display: flex; flex-direction: column;
    background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .25s ease-out, box-shadow .4s;
    will-change: transform;
}
.issue-card:hover { box-shadow: var(--shadow-lg); }
.issue-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream-2); }
.issue-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.issue-card:hover .issue-cover img { transform: scale(1.07); }
.issue-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 26, 51, .35), transparent 45%); pointer-events: none; }
.issue-cover-empty { display: grid; place-items: center; font-size: 3.5rem; color: var(--gold); background: linear-gradient(135deg, var(--cream-2), #fff); }
.issue-vol {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    font-size: .75rem; font-weight: 700; letter-spacing: 1px; color: var(--ink);
    padding: 6px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35);
}
.issue-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; flex: 1; justify-content: space-between; }
.issue-body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--ink); }

.issues-pagination { bottom: 8px !important; }
.issues-pagination .swiper-pagination-bullet { background: var(--ink); opacity: .25; transition: all .3s; }
.issues-pagination .swiper-pagination-bullet-active { background: var(--gold-dark); opacity: 1; width: 26px; border-radius: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.05rem; margin: 18px 0 28px; }
.about-card {
    position: relative; padding: 3px; border-radius: 28px;
    background: linear-gradient(135deg, var(--gold), var(--crimson), var(--teal));
    background-size: 200% 200%; animation: gradShift 8s ease infinite;
    box-shadow: var(--shadow-lg);
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.about-card-inner { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff; border-radius: 25px; padding: 44px 38px; }
.about-card-inner > i { font-size: 2rem; color: var(--gold); margin-bottom: 14px; }
.about-card-inner p { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; font-weight: 600; }
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lang-row span { padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--gold-light); border: 1px solid rgba(241, 207, 138, .4); background: rgba(241, 207, 138, .08); }

/* ---------- Explore cards ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.explore-card {
    position: relative; text-decoration: none; padding: 30px 26px 34px; border-radius: var(--radius);
    background: var(--paper); border: 1px solid var(--line); overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.explore-card::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, var(--ink), var(--ink-3));
    transform: translateY(101%); transition: transform .5s var(--ease);
}
.explore-card > * { position: relative; z-index: 1; transition: color .35s; }
.explore-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.explore-card:hover::before { transform: none; }
.explore-card:hover h3 { color: #fff; }
.explore-card:hover p { color: rgba(255, 255, 255, .7); }
.ex-icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 20px;
    font-size: 1.3rem; color: var(--gold-dark); background: var(--cream-2); transition: all .4s var(--ease);
}
.explore-card:hover .ex-icon { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.explore-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.explore-card p { font-size: .9rem; color: var(--muted); }
.ex-arrow { position: absolute !important; right: 22px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--ink); font-size: .8rem; transition: all .4s var(--ease); }
.explore-card:hover .ex-arrow { background: var(--gold); color: var(--ink); transform: translateX(4px); }

/* ---------- CTA ---------- */
.cta-wrap { padding-bottom: 20px; }
.cta {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding: 54px 56px; border-radius: 32px; color: #fff;
    background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); box-shadow: var(--shadow-lg);
}
.cta-glow { position: absolute; width: 380px; height: 380px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 162, 76, .55), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.cta p { color: rgba(255, 255, 255, .72); margin-top: 6px; }
.cta > *:not(.cta-glow) { position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 100px; padding: 80px 0 0; background: var(--ink); color: #fff; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--crimson), var(--teal), var(--gold)); background-size: 200% 100%; animation: gradShift 8s linear infinite; }
.footer-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; left: -160px; bottom: -240px; background: radial-gradient(circle, rgba(20, 134, 140, .35), transparent 65%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 56px; }
.footer-about p { color: rgba(255, 255, 255, .62); margin-top: 20px; max-width: 420px; font-size: .95rem; }
.footer-col h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--gold); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 255, 255, .66); text-decoration: none; transition: color .3s, transform .3s var(--ease); display: inline-block; }
.footer-col ul:not(.contact-list) a:hover { color: var(--gold-light); transform: translateX(6px); }
.footer-col a.brand-footer { display: flex; color: #fff; }
.contact-list li { display: flex; gap: 14px; color: rgba(255, 255, 255, .66); font-size: .93rem; }
.contact-list i { color: var(--gold); margin-top: 5px; width: 16px; text-align: center; }
.contact-list a:hover { color: var(--gold-light); }
.footer-bottom { position: relative; margin-top: 56px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; color: rgba(255, 255, 255, .5); font-size: .88rem; }
.footer-bottom i { color: var(--crimson); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* ---------- Inner page ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff; text-align: center; padding: 150px 0 120px;
    background:
        radial-gradient(700px 360px at 80% 0%, rgba(36, 80, 143, .6), transparent 60%),
        linear-gradient(160deg, var(--ink), #0D2145 60%, #123764);
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.1; animation: fadeUp 1s var(--ease) both; }
.title-rule { display: block; width: 70px; height: 4px; border-radius: 4px; margin: 22px auto 0; background: linear-gradient(90deg, var(--gold), var(--crimson)); animation: grow 1s .3s var(--ease) both; }
@keyframes grow { from { width: 0; } to { width: 70px; } }
.crumbs { display: inline-flex; align-items: center; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.crumbs a { text-decoration: none; color: var(--gold-light); }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: .6rem; opacity: .6; }

.page-wrap { position: relative; z-index: 3; margin-top: -60px; max-width: 960px; }
.prose-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 54px 56px; box-shadow: var(--shadow-lg); }
.empty-state { text-align: center; }
.empty-state i { font-size: 3rem; color: var(--gold); margin-bottom: 14px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* Typography for admin-edited / Word-pasted content */
.prose { color: var(--text); font-size: 1.04rem; line-height: 1.85; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.25; margin: 1.6em 0 .6em; }
.prose h2 { font-size: 1.7rem; } .prose h3 { font-size: 1.35rem; } .prose h4 { font-size: 1.1rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 1em; }
.prose a { color: var(--ink-3); text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color .25s; }
.prose a:hover { color: var(--crimson); }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-dark); }
.prose img { height: auto; border-radius: 16px; margin: 1.2em auto; box-shadow: var(--shadow-md); }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 14px 14px 0; font-style: italic; }
.prose hr { border: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--ink); color: #fff; font-weight: 600; }
.prose tr:nth-child(even) td { background: var(--cream); }
.prose iframe, .prose video { max-width: 100%; border-radius: 16px; }

/* Word / Office pasted markup clean-up */
.prose span[style*="Wingdings"] { display: none !important; }
.prose .MsoNormal, .prose .MsoListParagraph,
.prose .MsoNormal span, .prose .MsoListParagraph span {
    font-family: inherit !important; font-size: inherit !important; color: inherit !important;
}
.prose p.MsoNormal, .prose p.MsoListParagraph { margin-bottom: 0 !important; line-height: 1.7 !important; text-indent: 0 !important; }
.prose p.MsoListParagraph {
    position: relative; margin: 0 0 12px !important; padding: 16px 20px 16px 24px !important;
    background: var(--cream); border-radius: 14px; border-left: 4px solid var(--gold);
    text-align: left !important; font-size: .98rem; line-height: 1.6 !important;
    transition: transform .35s var(--ease), box-shadow .35s, background .3s;
}
.prose p.MsoListParagraph:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow-md); }
.prose .MsoListParagraph a { word-break: break-all; }
.prose .MsoNormal span[style*="color: blue"] { color: var(--ink-3) !important; }

/* Person cards (built by main.js from centred role/name blocks) */
.person-card {
    position: relative; text-align: center; margin: 34px 0; padding: 34px 28px 30px; border-radius: 22px; overflow: hidden;
    color: #fff; background: linear-gradient(150deg, var(--ink), var(--ink-3)); box-shadow: var(--shadow-md);
}
.person-card::before { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 162, 76, .5), transparent 65%); }
.person-card > * { position: relative; }
.person-card p { margin: 0 !important; color: rgba(255, 255, 255, .8) !important; font-size: .95rem; line-height: 1.6 !important; }
.person-card .person-role { display: inline-block; margin-bottom: 14px !important; padding: 6px 16px; border-radius: 999px; font-size: .74rem !important; font-weight: 700; letter-spacing: 2.5px; color: var(--ink) !important; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.person-card .person-role strong, .person-card .person-role span { color: var(--ink) !important; }
.person-card .person-name, .person-card .person-name strong, .person-card .person-name span { font-family: var(--font-display) !important; font-size: 1.5rem !important; color: #fff !important; margin-bottom: 6px !important; }
.person-card a, .person-card span[style*="color: blue"] { color: var(--gold-light) !important; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav-issn { display: none; }
    .nav-links a { padding: 9px 10px; font-size: .84rem; }
}
@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 12px; right: 12px; margin: 8px 0 0; flex-direction: column; gap: 4px; padding: 14px;
        background: rgba(10, 26, 51, .96); backdrop-filter: blur(18px); border-radius: 20px; box-shadow: var(--shadow-lg);
        opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none; transition: all .35s var(--ease);
    }
    .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links a { padding: 13px 16px; font-size: .95rem; }
    .nav-links a::after { display: none; }
    .nav-links a.active { background: rgba(212, 162, 76, .14); }
    .site-nav.menu-open { background: rgba(10, 26, 51, .92); }

    .hero { padding: 130px 0 170px; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .section { padding: 72px 0; }
    .facts { grid-template-columns: 1fr; margin-top: -80px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .fb-1 { left: -6px; } .fb-2 { right: -6px; }
    .prose-card { padding: 30px 22px; border-radius: 22px; }
    .cta { padding: 38px 26px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .brand-sub { display: none; }
    .page-hero { padding: 130px 0 100px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-title span { opacity: 1; transform: none; }
    .js .reveal { opacity: 1; transform: none; }
}
