/* =========================================================
   Beyond the Mainstream: Studying North-East India
   Public site stylesheet

   Palette: deep tea-garden forest green, terracotta (Assam clay)
   and fresh tea-leaf lime, on a pale sage paper.
   Fonts:   Playfair Display (headings) + Plus Jakarta Sans (text)

   NOTE: the old variable names (--ink, --gold, --cream ...) are kept
   on purpose so every page that uses them keeps working.
   ========================================================= */

:root {
    /* forest */
    --ink: #0B2E26;
    --ink-2: #12463A;
    --ink-3: #1B6B54;
    /* accents */
    --lime: #CDE86B;
    --lime-2: #EAF6B8;
    --terra: #D4501F;
    --terra-light: #FF8F66;
    --terra-dark: #B13A12;
    --teal: #1B8F7A;
    /* legacy names -> new colours */
    --gold: var(--terra);
    --gold-light: var(--lime);
    --gold-dark: var(--terra-dark);
    --crimson: var(--terra);
    /* paper */
    --cream: #F4F6EF;
    --cream-2: #E7EEDA;
    --paper: #FFFFFF;
    --line: #D9E1CB;
    --text: #17231E;
    --muted: #586861;

    --radius: 26px;
    --shadow-sm: 0 4px 14px rgba(11, 46, 38, .07);
    --shadow-md: 0 18px 40px -16px rgba(11, 46, 38, .28);
    --shadow-lg: 0 36px 70px -26px rgba(11, 46, 38, .5);
    --ease: cubic-bezier(.16, 1, .3, 1);

    --font-display: 'Playfair Display', 'Noto Sans Bengali', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Noto Sans Bengali', 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: 100px; }

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: 4px; width: 0;
    background: linear-gradient(90deg, var(--lime), var(--terra), var(--ink-3));
    z-index: 1000; transition: width .1s linear;
}
.to-top {
    position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px;
    border-radius: 16px; border: 0; cursor: pointer;
    background: var(--ink); color: var(--lime);
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(20px) rotate(-20deg); pointer-events: none;
    transition: all .45s var(--ease); z-index: 90;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--terra); color: #fff; transform: translateY(-5px) rotate(6deg); }

/* ---------- Navigation (floating pill) ---------- */
.site-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: top .4s var(--ease); }
.nav-inner {
    width: min(1220px, 100% - 32px); margin-inline: auto;
    display: flex; align-items: center; gap: 18px;
    padding: 9px 12px 9px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 12px 32px -16px rgba(11, 46, 38, .4);
    transition: background .4s, box-shadow .4s, transform .5s var(--ease);
    animation: navDrop 1s var(--ease) both;
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
.site-nav.scrolled .nav-inner { background: rgba(255, 255, 255, .94); box-shadow: 0 20px 44px -18px rgba(11, 46, 38, .55); }
.site-nav.scrolled { top: 8px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark {
    position: relative; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; object-fit: cover;
    font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; color: var(--lime);
    background: linear-gradient(145deg, var(--ink-2), var(--ink));
    transition: transform .6s var(--ease);
}
.brand-mark::after {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    border: 1.5px dashed var(--terra); animation: spin 16s linear infinite;
}
.brand:hover .brand-mark { transform: scale(1.08) rotate(-10deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .2px; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra-dark); }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
    position: relative; text-decoration: none; color: var(--ink);
    font-size: .86rem; font-weight: 600; padding: 9px 15px; border-radius: 999px;
    transition: color .3s, background .3s; white-space: nowrap;
}
.nav-links a:hover { background: rgba(11, 46, 38, .07); }
.nav-links a.active { background: var(--ink); color: var(--lime); }

.nav-issn {
    font-size: .76rem; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
    color: var(--ink); padding: 9px 16px; border-radius: 999px; background: var(--lime);
}
.nav-issn i { margin-right: 6px; color: var(--terra-dark); }

.nav-toggle { display: none; background: var(--ink); border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; margin-left: auto; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--lime); border-radius: 2px; transition: all .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.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: 700 .92rem var(--font-body); text-decoration: none;
    transition: transform .4s var(--ease), box-shadow .4s, background .3s, color .3s;
    position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn i { transition: transform .35s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }
.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-gold { background: var(--terra); color: #fff; box-shadow: 0 14px 28px -12px rgba(212, 80, 31, .85); }
.btn-gold:hover { background: var(--terra-dark); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--lime); }
.btn-navy { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -14px rgba(11, 46, 38, .9); }
.btn-navy:hover { background: var(--ink-3); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 14px 28px -14px rgba(205, 232, 107, .9); }
.btn-lime:hover { background: var(--lime-2); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: 168px 0 150px;
    background:
        linear-gradient(to bottom, transparent calc(100% - 160px), var(--cream) 100%),
        radial-gradient(760px 480px at 92% 8%, rgba(205, 232, 107, .55), transparent 62%),
        radial-gradient(640px 460px at -4% 70%, rgba(212, 80, 31, .11), transparent 62%),
        var(--cream);
}
/* drifting contour lines, like a hill map */
.hero::before, .page-hero::before {
    content: ''; position: absolute; inset: -12%; pointer-events: none;
    background: repeating-radial-gradient(circle at 78% 34%, transparent 0 30px, rgba(11, 46, 38, .06) 30px 31.5px);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    animation: contour 28s ease-in-out infinite alternate;
}
@keyframes contour { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 3%, 0) scale(1.08); } }

.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: var(--lime); top: -150px; left: -90px; opacity: .45; }
.blob-2 { width: 480px; height: 480px; background: var(--terra); bottom: -220px; right: -120px; opacity: .2; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; background: var(--teal); top: 40%; left: 44%; opacity: .14; animation-delay: -10s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(50px, 40px, 0) scale(1.18); } }

.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--cream)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .74rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
    color: var(--ink); padding: 9px 18px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    animation: fadeUp 1s var(--ease) both;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--terra); position: relative; flex-shrink: 0; }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--terra); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.hero-title {
    font-family: var(--font-display); font-weight: 900; color: var(--ink);
    font-size: clamp(3rem, 7.2vw, 5.9rem); line-height: 1; letter-spacing: -1.5px;
    margin: 26px 0 16px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 0 .13em; margin-bottom: -.06em; }
.hero-title .line > span {
    display: inline-block; transform: translateY(115%);
    animation: lineUp 1.2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 150ms + 250ms);
}
.hero-title .line:nth-child(2) > span {
    background: linear-gradient(90deg, var(--terra), var(--ink-3), var(--terra));
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: lineUp 1.2s var(--ease) forwards, shine 7s linear 1.5s infinite;
    animation-delay: calc(var(--i, 0) * 150ms + 250ms), 1.5s;
}
@keyframes lineUp { to { transform: none; } }
@keyframes shine { to { background-position: -220% 0; } }

.hero-sub {
    position: relative; padding-left: 62px;
    font-family: var(--font-display); font-style: italic; font-weight: 600;
    font-size: clamp(1.25rem, 2.5vw, 1.85rem); line-height: 1.3; color: var(--ink-3);
    animation: fadeUp 1s .75s var(--ease) both;
}
.hero-sub::before {
    content: ''; position: absolute; left: 0; top: 50%; height: 3px; width: 46px; border-radius: 3px; background: var(--terra);
    transform-origin: left; animation: growX 1s 1s var(--ease) both;
}
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-lead { max-width: 560px; font-size: 1.08rem; color: var(--muted); margin-top: 18px; animation: fadeUp 1s .85s var(--ease) both; }
.hero-lead:empty { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; animation: fadeUp 1s .95s var(--ease) both; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; animation: fadeUp 1s 1.1s var(--ease) both; }
.hero-chips li { font-size: .8rem; font-weight: 600; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); color: var(--ink); }
.hero-chips li:empty { display: none; }
.hero-chips i { color: var(--terra); margin-right: 6px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Hero art: an arch "window" slider */
.hero-art { position: relative; min-width: 0; width: 100%; max-width: 470px; margin-left: auto; animation: fadeUp 1.2s .3s var(--ease) both; }
.art-sun {
    position: absolute; z-index: 0; width: 64%; aspect-ratio: 1; right: -16%; top: -9%; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--lime-2), var(--lime) 70%);
    translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 22px);
    animation: sunPulse 7s ease-in-out infinite;
}
@keyframes sunPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.art-frame {
    position: absolute; z-index: 1; inset: 0; transform: translate(-22px, 24px);
    border-radius: 999px 999px 36px 36px; border: 2px dashed rgba(11, 46, 38, .38);
    animation: sway 9s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: translate(-22px, 24px) rotate(-1.5deg); } to { transform: translate(-12px, 32px) rotate(1.5deg); } }
.hero-slider {
    position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 5;
    border-radius: 999px 999px 36px 36px; overflow: hidden;
    border: 7px solid #fff; background: var(--ink-2); box-shadow: var(--shadow-lg);
    animation: unveil 1.5s .35s var(--ease) backwards;
}
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 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, .65); background: linear-gradient(150deg, var(--ink-3), var(--ink)); }
.slide-placeholder i { font-size: 3rem; color: var(--lime); }
.hero-slider::after { content: ''; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(to top, rgba(11, 46, 38, .6), transparent); pointer-events: none; z-index: 2; }
.hero-slider .swiper-pagination { z-index: 3; bottom: 18px !important; }
.hero-slider .swiper-pagination-bullet { background: #fff; opacity: .55; width: 8px; height: 8px; transition: all .3s; }
.hero-slider .swiper-pagination-bullet-active { background: var(--lime); opacity: 1; width: 28px; border-radius: 6px; }

.float-badge {
    position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; max-width: 240px;
    padding: 11px 18px; border-radius: 16px; font-size: .8rem; font-weight: 700; line-height: 1.35; color: var(--ink);
    background: #fff; box-shadow: var(--shadow-md);
    translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -14px);
    animation: bob 5s ease-in-out infinite;
}
.float-badge i { color: var(--teal); font-size: 1.05rem; }
.fb-1 { top: 9%; left: -34px; }
.fb-2 { bottom: 9%; right: -26px; animation-delay: -2.5s; }
.fb-2 i { color: var(--terra); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* wave (inner-page banners) */
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; fill: var(--cream); }

/* ---------- Key facts: one dark strip ---------- */
.facts {
    position: relative; z-index: 5; margin-top: -78px; overflow: hidden;
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 12px; border-radius: 30px;
    background: linear-gradient(135deg, var(--ink), var(--ink-2));
    box-shadow: var(--shadow-lg);
}
.facts::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(205, 232, 107, .13) 50%, transparent 65%);
    transform: translateX(-100%); animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.fact { position: relative; display: flex; align-items: center; gap: 15px; padding: 20px 22px; border-radius: 20px; transition: background .4s; }
.fact + .fact::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .14); }
.fact:hover { background: rgba(255, 255, 255, .06); }
.fact-icon {
    flex-shrink: 0; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.15rem; color: var(--ink); background: var(--lime); transition: transform .6s var(--ease);
}
.fact:hover .fact-icon { transform: rotate(-12deg) scale(1.12); }
.fact:nth-child(2) .fact-icon { background: var(--terra-light); }
.fact:nth-child(3) .fact-icon { background: var(--lime-2); }
.fact:nth-child(4) .fact-icon { background: #8FD6C5; }
.fact small { display: block; font-size: .68rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.fact strong { display: block; font-size: .96rem; line-height: 1.35; color: #fff; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0 100px; position: relative; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--ink); color: #fff; overflow: hidden; }
.section-dark::before {
    content: ''; position: absolute; inset: -10%; pointer-events: none;
    background: repeating-radial-gradient(circle at 12% 90%, transparent 0 34px, rgba(205, 232, 107, .07) 34px 35.5px);
    animation: contour 30s ease-in-out infinite alternate;
}
.section-dark > .container { position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head-center { justify-content: center; text-align: center; }
.kicker {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
    font-size: .76rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--terra-dark);
}
.kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 0 rgba(212, 80, 31, .5); animation: kick 2.2s ease-out infinite; }
@keyframes kick { to { box-shadow: 0 0 0 12px rgba(212, 80, 31, 0); } }
.section-dark .kicker { color: var(--lime); }
.section-dark .kicker::before { background: var(--lime); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; color: var(--ink); letter-spacing: -.5px; }
.section-title::after {
    content: ''; display: block; width: 74px; height: 5px; border-radius: 5px; margin-top: 16px;
    background: linear-gradient(90deg, var(--terra), var(--lime)); transition: width 1.1s .3s var(--ease);
}
.section-head-center .section-title::after { margin-inline: auto; }
.js .reveal:not(.in) .section-title::after { width: 0; }
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--muted); margin-top: 14px; max-width: 520px; }

.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.nav-btn {
    width: 54px; height: 54px; border-radius: 18px; cursor: pointer;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 1rem;
    transition: all .4s var(--ease);
}
.nav-btn:hover { background: var(--ink); color: var(--lime); transform: translateY(-3px); }
.nav-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* ---------- Issue cards ---------- */
.issues-swiper { padding: 18px 6px 60px; margin: 0 -6px; overflow: hidden; }
.issues-swiper .swiper-slide { height: auto; }
.issue-card {
    position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
    background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .55s var(--ease), box-shadow .5s, border-color .4s;
}
.issue-card::before {
    content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(205, 232, 107, .3), transparent 62%);
    opacity: 0; transition: opacity .4s;
}
.issue-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--lime); }
.issue-card:hover::before { opacity: 1; }
.issue-cover { position: relative; display: block; text-decoration: none; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream-2); }
.issue-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.issue-card:hover .issue-cover img { transform: scale(1.08) rotate(-.8deg); }
.issue-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 46, 38, .4), transparent 45%); pointer-events: none; }
.issue-cover-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; text-align: center; font-size: 3rem; color: var(--lime); background: linear-gradient(160deg, var(--ink), var(--ink-3)); }
.issue-cover-empty b { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; letter-spacing: 1px; color: #fff; }
.issue-vol {
    position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
    font-size: .7rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
    padding: 7px 14px; border-radius: 999px; background: var(--terra); box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .45);
}
.issue-vol::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.issue-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 14px; 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); }
.issue-count { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--ink-3); background: var(--lime-2); padding: 4px 12px; border-radius: 999px; margin-top: -4px; }

.issues-pagination { bottom: 10px !important; }
.issues-pagination .swiper-pagination-bullet { background: var(--ink); opacity: .22; transition: all .3s; }
.issues-pagination .swiper-pagination-bullet-active { background: var(--terra); opacity: 1; width: 28px; 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 30px; }
.section-dark .about-copy p { color: rgba(255, 255, 255, .72); }

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.about-card {
    position: relative; padding: 3px; border-radius: 32px;
    background: conic-gradient(from var(--ang), var(--lime), var(--terra), var(--teal), var(--lime));
    animation: rotateBorder 7s linear infinite; box-shadow: var(--shadow-lg);
}
@keyframes rotateBorder { to { --ang: 360deg; } }
.about-card-inner { background: var(--cream); color: var(--ink); border-radius: 29px; padding: 46px 40px; }
.about-card-inner > i { font-size: 2.2rem; color: var(--terra); margin-bottom: 14px; display: block; }
.about-card-inner p { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; font-weight: 700; }
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lang-row:empty { display: none; }
.lang-row span { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink); background: var(--lime); }

/* ---------- Explore cards ---------- */
.explore-grid { counter-reset: ex; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.explore-card {
    counter-increment: ex; position: relative; text-decoration: none; overflow: hidden; isolation: isolate;
    padding: 34px 26px 38px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.explore-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--ink), var(--ink-3));
    clip-path: circle(0 at 100% 100%); transition: clip-path .8s var(--ease);
}
.explore-card::after {
    content: counter(ex, decimal-leading-zero); position: absolute; top: 16px; right: 22px;
    font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; line-height: 1; color: rgba(11, 46, 38, .07); transition: color .5s;
}
.explore-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.explore-card:hover::before { clip-path: circle(150% at 100% 100%); }
.explore-card:hover::after { color: rgba(205, 232, 107, .22); }
.explore-card h3, .explore-card p { transition: color .4s; }
.explore-card:hover h3 { color: #fff; }
.explore-card:hover p { color: rgba(255, 255, 255, .75); }
.ex-icon {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; margin-bottom: 22px;
    font-size: 1.3rem; color: var(--ink-3); background: var(--lime-2); transition: all .5s var(--ease);
}
.explore-card:hover .ex-icon { background: var(--lime); color: var(--ink); transform: rotate(-10deg) scale(1.1); }
.explore-card h3 { font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.explore-card p { font-size: .9rem; color: var(--muted); max-width: 90%; }
.ex-arrow { position: absolute; right: 22px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--ink); font-size: .8rem; transition: all .5s var(--ease); }
.explore-card:hover .ex-arrow { background: var(--terra); color: #fff; transform: translateX(4px) rotate(-45deg); }

/* ---------- 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: 58px 58px; border-radius: 36px; color: #fff;
    background: linear-gradient(120deg, #B83A12 0%, var(--terra) 50%, #EE7440 100%);
    background-size: 160% 160%; animation: gradShift 10s ease infinite; box-shadow: var(--shadow-lg);
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta::before {
    content: ''; position: absolute; width: 520px; height: 520px; right: -120px; bottom: -300px; border-radius: 50%; pointer-events: none;
    border: 2px solid rgba(255, 255, 255, .22); box-shadow: 0 0 0 40px rgba(255, 255, 255, .06), 0 0 0 80px rgba(255, 255, 255, .04);
    animation: sunPulse 8s ease-in-out infinite;
}
.cta-glow { position: absolute; width: 360px; height: 360px; left: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .88); margin-top: 6px; }
.cta > *:not(.cta-glow) { position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-gold { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .6); }
.cta .btn-gold:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 100px; padding: 84px 0 0; background: var(--ink); color: #fff; overflow: hidden; border-radius: 52px 52px 0 0; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--lime), var(--terra), var(--teal), var(--lime)); background-size: 200% 100%; animation: gradShift 8s linear infinite; }
.footer-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; bottom: -260px; background: radial-gradient(circle, rgba(205, 232, 107, .22), 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-about p:empty { display: none; }
.footer-col h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 24px; position: relative; padding-bottom: 14px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 4px; border-radius: 4px; background: var(--lime); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .3s, transform .35s var(--ease); display: inline-block; }
.footer-col ul:not(.contact-list) a:hover { color: var(--lime); transform: translateX(7px); }
.footer-col a.brand-footer { display: flex; color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--lime); }
.site-footer .brand-mark { background: var(--lime); color: var(--ink); }
.site-footer .brand-mark::after { border-color: var(--lime); }
.contact-list li { display: flex; gap: 14px; color: rgba(255, 255, 255, .68); font-size: .93rem; }
.contact-list i { color: var(--lime); margin-top: 5px; width: 16px; text-align: center; }
.contact-list a:hover { color: var(--lime); }
.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, .55); font-size: .88rem; }
.footer-bottom a { color: var(--lime); }

/* ---------- Inner-page banner ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff; text-align: center; padding: 160px 0 120px;
    background:
        radial-gradient(700px 380px at 85% 0%, rgba(27, 107, 84, .75), transparent 62%),
        radial-gradient(520px 320px at 0% 100%, rgba(27, 143, 122, .3), transparent 62%),
        linear-gradient(160deg, var(--ink), #0F3A30 60%, var(--ink-2));
}
.page-hero::before { background: repeating-radial-gradient(circle at 84% 30%, transparent 0 28px, rgba(205, 232, 107, .09) 28px 29.5px); }
.page-hero .blob-1 { background: var(--lime); opacity: .25; }
.page-hero .blob-2 { background: var(--terra); opacity: .1; }
.page-hero .container { position: relative; }
.page-hero-sm { padding: 140px 0 100px; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .08); color: var(--lime); border-color: rgba(205, 232, 107, .4); box-shadow: none; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 3.7rem); line-height: 1.12; animation: fadeUp 1s var(--ease) both; }
.title-rule { display: block; width: 74px; height: 5px; border-radius: 5px; margin: 24px auto 0; background: linear-gradient(90deg, var(--lime), var(--terra)); animation: grow 1s .3s var(--ease) both; }
@keyframes grow { from { width: 0; } to { width: 74px; } }
.crumbs { display: inline-flex; align-items: center; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .75); margin-bottom: 18px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.crumbs a { text-decoration: none; color: var(--lime); }
.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: 32px; padding: 54px 56px; box-shadow: var(--shadow-lg); }
.empty-state { text-align: center; }
.empty-state i { font-size: 3rem; color: var(--terra); 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(--terra); text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color .25s; }
.prose a:hover { color: var(--terra-dark); }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--terra); }
.prose img { height: auto; border-radius: 18px; margin: 1.2em auto; box-shadow: var(--shadow-md); }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--terra); background: var(--cream); border-radius: 0 16px 16px 0; font-style: italic; }
.prose hr { border: 0; height: 3px; background: linear-gradient(90deg, var(--terra), var(--lime), 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: 16px; border-left: 4px solid var(--terra);
    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: 36px 28px 32px; border-radius: 26px; 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: 280px; height: 280px; right: -90px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(205, 232, 107, .5), transparent 65%); }
.person-card > * { position: relative; }
.person-card p { margin: 0 !important; color: rgba(255, 255, 255, .82) !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: 800; letter-spacing: 2.5px; color: var(--ink) !important; background: var(--lime); }
.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(--lime) !important; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px) scale(.98); 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 11px; font-size: .82rem; }
}
@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; margin: 0; flex-direction: column; gap: 4px; padding: 14px;
        background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); border-radius: 28px; box-shadow: var(--shadow-lg);
        opacity: 0; transform: translateY(-14px) scale(.97); pointer-events: none; transition: all .4s var(--ease);
    }
    .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links a { padding: 14px 18px; font-size: .95rem; }

    .hero { padding: 140px 0 150px; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-art { max-width: 420px; margin: 0 auto; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(3)::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .section { padding: 76px 0 70px; }
    .facts { grid-template-columns: 1fr; margin-top: -90px; border-radius: 26px; }
    .fact + .fact::before { left: 8%; right: 8%; top: 0; bottom: auto; width: auto; height: 1px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .fb-1 { left: -6px; } .fb-2 { right: -6px; }
    .prose-card { padding: 30px 22px; border-radius: 24px; }
    .cta { padding: 40px 26px; border-radius: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .site-footer { border-radius: 34px 34px 0 0; }
    .brand-sub { display: none; }
    .brand-name { font-size: .95rem; }
    .page-hero { padding: 135px 0 100px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-title .line > span { transform: none; }
    .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Issue page (issue.php)
   ========================================================= */
.eyebrow-center { margin-bottom: 16px; }
.issue-wrap { max-width: 1000px; }
.issue-sheet { padding: 48px 52px; }

.issue-h { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); margin: 0 0 22px; line-height: 1.2; }
.issue-h > i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: .95rem; color: var(--ink); background: var(--lime); }
.issue-h .count { font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--ink-3); background: var(--lime-2); padding: 3px 12px; border-radius: 999px; }
.issue-h:not(:first-child) { margin-top: 52px; }

.front-list, .article-list { list-style: none; }
.no { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--terra-dark); background: #fff; border: 1.5px solid rgba(212, 80, 31, .5); }

.front-list li { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 10px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; transition: background .3s, box-shadow .3s, translate .35s var(--ease); }
.front-list li:hover { background: #fff; box-shadow: var(--shadow-md); translate: 4px 0; }
.front-title { flex: 1; min-width: 200px; font-weight: 600; color: var(--ink); line-height: 1.4; }

.article { display: flex; gap: 18px; padding: 24px 26px; margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--terra); border-radius: 20px; box-shadow: var(--shadow-sm); transition: box-shadow .35s, translate .35s var(--ease), border-color .3s; }
.article:hover { box-shadow: var(--shadow-md); translate: 0 -3px; border-left-color: var(--lime); }
.article .no { width: 38px; height: 38px; }
.article-body { min-width: 0; flex: 1; }
.article-author { color: var(--ink-3); font-weight: 800; font-size: .95rem; line-height: 1.4; }
.article-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.45; color: var(--ink); margin: 4px 0 12px; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 500; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); overflow-wrap: anywhere; }
.chip i { color: var(--terra); }
.chip b { color: var(--ink); font-weight: 700; }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pill-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .85rem; font-weight: 700; padding: 9px 18px; border-radius: 999px; transition: all .35s var(--ease); }
.pill-solid { background: var(--ink); color: #fff; box-shadow: 0 10px 20px -12px rgba(11, 46, 38, .9); }
.pill-solid:hover { background: var(--terra); transform: translateY(-2px); }
.pill-outline { color: var(--ink); border: 1.5px solid var(--ink); }
.pill-outline:hover { background: var(--ink); color: var(--lime); transform: translateY(-2px); }
.front-list .pill-link { padding: 8px 16px; }

.issue-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.issue-pager a { display: block; text-decoration: none; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream); transition: all .35s var(--ease); }
.issue-pager a:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-3px); }
.issue-pager small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--terra-dark); margin-bottom: 4px; }
.issue-pager span { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.35; }
.issue-pager a:hover span { color: #fff; }
.issue-pager a:hover small { color: var(--lime); }
.pager-next { text-align: right; grid-column: 2; }

@media (max-width: 640px) {
    .issue-sheet { padding: 30px 18px; }
    .article { padding: 18px 16px; gap: 12px; }
    .article .no { width: 32px; height: 32px; font-size: .78rem; }
    .issue-pager { grid-template-columns: 1fr; }
    .pager-next { grid-column: auto; }
}
