/* ═══════════════════════════════════════════
   CHINTON — Light Editorial Design System
   English: IBM Plex Serif + Inter (The Daily Star stack)
   Bangla: Kalpurush (local)
   ═══════════════════════════════════════════ */

@font-face {
    font-family: 'Kalpurush';
    src: url('../fonts/kalpurush/Kalpurush.woff2') format('woff2'),
         url('../fonts/kalpurush/Kalpurush.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0980-09FF, U+200C-200D, U+09E6-09EF;
}

:root {
    /* ── Surfaces (cool neutrals — no pink cast) ── */
    --surface-base: #fafbfc;
    --surface-raised: #ffffff;
    --surface-sunken: #f3f5f8;
    --surface-tint-sky: #eef3fa;
    --surface-tint-blue: #e8f0fa;
    --surface-tint-warm: #f9f7f3;
    --surface-tint-rose: var(--surface-tint-sky);

    /* ── Primary UI (blue-led — calm, editorial) ── */
    --primary: #2563ab;
    --primary-hover: #1a4f8f;
    --primary-light: #4a82c9;
    --primary-soft: #eef4fc;
    --primary-muted: #d4e3f5;

    /* ── Logo brand (magenta — sparing use: চিন্তন, rare accent) ── */
    --brand: #c4207a;
    --brand-soft: #f7f3f6;
    --magenta: var(--brand);
    --magenta-bright: #d9368f;
    --magenta-soft: var(--brand-soft);

    /* ── Supporting palette ── */
    --blue-deep: #1c2d50;
    --blue-mid: var(--primary);
    --blue-soft: var(--primary-soft);
    --cyan: #3a9fd4;
    --gold-warm: #d4922a;
    --gold-soft: #faf5eb;
    --peach: #f5ebe3;

    /* Panel / legacy aliases */
    --navy: var(--blue-deep);
    --accent: var(--primary);

    /* ── Ink ── */
    --ink: #141322;
    --ink-2: #3d3f4f;
    --muted: #7a7f8c;

    /* ── Aliases ── */
    --white: var(--surface-base);
    --cream: var(--surface-sunken);
    --blush: var(--primary-soft);
    --mist: var(--surface-tint-blue);
    --lavender: #f0f2f8;
    --rose: var(--brand);
    --rose-light: color-mix(in srgb, var(--primary) 8%, white);
    --blue: var(--primary);
    --blue-light: color-mix(in srgb, var(--primary) 10%, white);
    --amber: color-mix(in srgb, var(--gold-warm) 12%, white);
    --gold: var(--gold-warm);

    /* ── Gradients (blue + gold — no red/pink wash) ── */
    --gradient-hero: linear-gradient(148deg, #fff 0%, var(--surface-tint-sky) 35%, var(--surface-tint-warm) 100%);
    --gradient-brand: linear-gradient(135deg, var(--blue-deep) 0%, var(--primary) 55%, var(--primary-light) 100%);
    --gradient-brand-soft: linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, white), color-mix(in srgb, var(--gold-warm) 5%, white));
    --gradient-issue: linear-gradient(150deg, color-mix(in srgb, var(--primary) 6%, white), #fff);
    --gradient-cfp: linear-gradient(150deg, color-mix(in srgb, var(--gold-warm) 8%, white), #fff);
    --gradient-nl: linear-gradient(135deg, var(--surface-tint-sky) 0%, #fff 50%, var(--surface-tint-warm) 100%);

    --border: color-mix(in srgb, var(--ink) 7%, transparent);
    --shadow-sm: 0 2px 12px color-mix(in srgb, var(--ink) 4%, transparent);
    --shadow-md: 0 8px 32px color-mix(in srgb, var(--ink) 7%, transparent);
    --shadow-lg: 0 20px 56px color-mix(in srgb, var(--ink) 9%, transparent);
    --shadow-brand: 0 6px 24px color-mix(in srgb, var(--primary) 20%, transparent);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-pill: 100px;
    /* Daily Star English + Kalpurush for any Bangla glyphs in the same string */
    --serif: 'IBM Plex Serif', 'Kalpurush', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', 'Kalpurush', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'IBM Plex Serif', 'Kalpurush', Georgia, serif;
    /* Bangla-first (dedicated BN UI / titles) */
    --bn: 'Kalpurush', 'Noto Sans Bengali', sans-serif;
    --max: 1200px;
    --site-header-offset: 170px;
    --chinton-slider-height: 300px;
    --chinton-slider-height-md: 240px;
    --chinton-slider-height-sm: 200px;
    /* Category listing banners — 50% of shared slider height */
    --chinton-section-hero-height: 150px;
    --chinton-section-hero-height-md: 120px;
    --chinton-section-hero-height-sm: 100px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--surface-base);
    -webkit-font-smoothing: antialiased;
}

[lang="bn"], .lang-bn, .bn,
h1[lang="bn"], h2[lang="bn"], h3[lang="bn"], h4[lang="bn"],
h1.bn, h2.bn, h3.bn, h4.bn,
.listing-title.bn, .listing-title-bn {
    font-family: var(--bn) !important;
    letter-spacing: 0;
}

/* ambient mesh — blue & gold only */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 50% at 10% 15%, color-mix(in srgb, var(--primary) 5%, transparent), transparent 55%),
        radial-gradient(ellipse 55% 45% at 90% 10%, color-mix(in srgb, var(--cyan) 5%, transparent), transparent 50%),
        radial-gradient(ellipse 45% 35% at 70% 90%, color-mix(in srgb, var(--gold-warm) 5%, transparent), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-hover); }

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 400;
    line-height: 1.15;
}

/* ─── SITE TOP (PPT banner + menu below) ─── */
.site-shell { position: relative; z-index: 1; overflow-x: clip; }

.site-top-sticky {
    position: sticky;
    top: 0;
    z-index: 300;
    background: #fff;
}

.site-header {
    position: relative;
    z-index: 1;
    width: 100%;
    background:
        radial-gradient(ellipse 55% 90% at 8% 20%, color-mix(in srgb, #3a9fd4 7%, transparent), transparent 58%),
        radial-gradient(ellipse 45% 80% at 92% 15%, color-mix(in srgb, #f0a03a 6%, transparent), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
    border-bottom: 0;
    box-shadow: none;
    padding-bottom: 0;
}
.site-header::after {
    content: "";
    display: block;
    height: 1px;
    margin: 0 16px;
    max-width: calc(var(--max) + 32px);
    margin-inline: auto;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, #f0a03a 50%, transparent) 25%,
        color-mix(in srgb, #c4207a 35%, transparent) 50%,
        color-mix(in srgb, #3a9fd4 50%, transparent) 75%,
        transparent
    );
    opacity: .4;
}

.site-top-sticky .wrap {
    padding-top: 0;
    padding-bottom: 0;
}

/* PPT banner — outer border #00B0F0; home fill #8FE2FF, other pages white */
.site-banner {
    --banner-border: #00b0f0;
    --banner-fill: #ffffff;
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr) 219px;
    align-items: stretch;
    min-height: 118px;
    border: 1px solid var(--banner-border);
    background: var(--banner-fill);
    overflow: hidden;
}
.site-banner--home {
    --banner-fill: #8fe2ff;
}
.site-banner--inner {
    --banner-fill: #ffffff;
}
.site-banner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: #fff;
    border: 0;
    text-decoration: none;
}
.site-banner-logo img {
    display: block;
    width: 92px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
}
.site-banner-center {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    padding: 0 12px 21px;
    background: var(--banner-fill);
}
.site-banner-wordmark {
    display: block;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}
.site-banner-wordmark-img {
    display: block;
    width: auto;
    height: 71px;
    max-width: min(100%, 560px);
    object-fit: contain;
}
.site-banner-tagline {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0;
    padding: 0 9px 21px 8px;
    text-align: right;
    font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
    font-size: 14pt;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    color: #4472c4;
    background: var(--banner-fill);
    border: 0;
}
.site-banner-tagline span {
    display: block;
    white-space: nowrap;
}
.site-banner-tagline span + span {
    margin-top: 0.08em;
}

.site-nav-menu {
    background: #fff;
    border: 0;
}
.site-nav-menu .wrap {
    padding-top: 0;
    padding-bottom: 0;
}
.site-nav-menu .nav-menu-rail {
    position: relative;
    width: 100%;
    min-width: 0;
    display: block;
    overflow: hidden;
}
.site-nav-menu .nav-links-viewport::before {
    background: linear-gradient(90deg, #fff, transparent);
}
.site-nav-menu .nav-links-viewport::after {
    background: linear-gradient(270deg, #fff, transparent);
}

/* Home slider height */
.home-hero {
    width: 100%;
    height: var(--chinton-slider-height);
    min-height: var(--chinton-slider-height);
    max-height: var(--chinton-slider-height);
    overflow: hidden;
}
/* Category banners — half height */
.section-hero,
.section-hero.has-photos {
    width: 100%;
    height: var(--chinton-section-hero-height);
    min-height: var(--chinton-section-hero-height);
    max-height: var(--chinton-section-hero-height);
    overflow: hidden;
}
.section-hero-inner {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
.home-hero-inner {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
.home-hero-card {
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}
.home-hero-copy {
    min-width: 0;
    min-height: 0;
}
.home-hero-copy h1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-hero-inner .container {
    height: 100%;
    max-height: 100%;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}
.section-hero .listing-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    font-size: clamp(1.1rem, 2.6vw, 1.65rem);
    line-height: 1.15;
}
.section-hero .listing-title.is-bilingual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55em;
    white-space: normal;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.section-hero .listing-title.is-bilingual .listing-title-en,
.section-hero .listing-title.is-bilingual .listing-title-bn {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    white-space: normal;
}
.section-hero-slide-copy {
    display: none !important;
}
.section-hero-dots {
    flex-shrink: 0;
    margin-top: 8px;
}
@media (max-width: 991px) {
    .home-hero {
        height: var(--chinton-slider-height-md);
        min-height: var(--chinton-slider-height-md);
        max-height: var(--chinton-slider-height-md);
    }
    .section-hero,
    .section-hero.has-photos {
        height: var(--chinton-section-hero-height-md);
        min-height: var(--chinton-section-hero-height-md);
        max-height: var(--chinton-section-hero-height-md);
    }
}
@media (max-width: 576px) {
    .home-hero {
        height: var(--chinton-slider-height-sm);
        min-height: var(--chinton-slider-height-sm);
        max-height: var(--chinton-slider-height-sm);
    }
    .section-hero,
    .section-hero.has-photos {
        height: var(--chinton-section-hero-height-sm);
        min-height: var(--chinton-section-hero-height-sm);
        max-height: var(--chinton-section-hero-height-sm);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-brand img {
    height: 48px;
    width: auto;
    display: block;
}
.nav-brand span {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
}
.nav-brand .bn {
    font-family: var(--bn);
    font-size: 12px;
    color: var(--brand);
    display: block;
    line-height: 1;
    margin-top: 1px;
}

.nav-menu-rail {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: block;
    overflow: hidden;
}
.nav-links-viewport {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}
.nav-links-viewport::before,
.nav-links-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s var(--ease);
}
.nav-links-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #fff, transparent);
}
.nav-links-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #fff, transparent);
}
.nav-menu-rail.can-slide:not(.at-start) .nav-links-viewport::before,
.nav-menu-rail.can-slide:not(.at-end) .nav-links-viewport::after {
    opacity: 1;
}
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    touch-action: pan-x;
    min-height: 56px;
}
.nav-menu-rail.can-slide .nav-links {
    justify-content: flex-start;
    padding-inline: 28px;
    min-height: 56px;
}
.nav-links.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.nav-links::-webkit-scrollbar { display: none; width: 0; height: 0; }
.nav-links a {
    display: block;
    padding: 0;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    color: #1a2744;
    border-radius: 0;
    text-decoration: none;
    transition: color .2s var(--ease);
    white-space: nowrap;
    background: transparent;
    line-height: 1.15;
}
.nav-links a:hover,
.nav-links a.active {
    background: transparent;
    color: var(--primary);
}
.nav-links .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin-top: 8px;
}
.nav-links .dropdown-item {
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 14px;
}
.nav-links .dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }
.category-nav-item {
    position: relative;
    flex: 0 0 auto;
}
.category-nav-item.active > .category-primary,
.category-nav-item.active > .category-primary-bn {
    background: transparent;
    color: var(--primary);
    font-weight: 700;
}
/* Category menu — EN/BN same size */
.category-nav-stack .category-primary,
.nav-links a.category-primary:not(.category-primary-bn) {
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2744;
    letter-spacing: .01em;
}
.category-primary-bn,
.nav-links a.category-primary-bn,
.category-nav-stack .category-primary-bn {
    font-family: var(--bn);
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: #c4207a;
    margin-top: 2px;
}
.category-nav-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 14px;
    min-height: 56px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: max-content;
    border-right: 1px solid color-mix(in srgb, #1a2744 12%, transparent);
}
.category-nav-stack:last-child { border-right: 0; }
.category-nav-stack .category-primary {
    padding: 0;
    text-align: center;
    border-radius: 0;
}
.category-nav-stack .category-primary-bn {
    color: #c4207a;
    background: transparent;
}
.category-nav-stack .category-primary:hover,
.category-nav-stack .category-primary-bn:hover {
    background: transparent;
    color: var(--primary);
}
.category-nav-stack.active .category-primary,
.category-nav-stack.active .category-primary-bn {
    background: transparent;
    color: var(--primary);
    font-weight: 700;
}
.category-nav-item:not(.category-nav-stack) {
    display: flex;
    align-items: center;
    padding: 0 14px;
    min-height: 56px;
    border-right: 1px solid color-mix(in srgb, #1a2744 12%, transparent);
}
.category-nav-item:not(.category-nav-stack):last-child { border-right: 0; }
.nav-slide-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    transition: .2s var(--ease);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.nav-slide-prev { left: 2px; }
.nav-slide-next { right: 2px; }
.nav-menu-rail.can-slide .nav-slide-btn {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.nav-slide-btn:hover:not(:disabled) {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    background: #fff;
}
.nav-menu-rail.can-slide .nav-slide-btn:disabled {
    opacity: .28;
    cursor: default;
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    font-size: 16px;
}
.nav-btn:hover { background: var(--primary-soft); color: var(--primary); }
.nav-cta {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: #fff !important;
    text-decoration: none;
    box-shadow: var(--shadow-brand);
    transition: .2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--primary) 28%, transparent);
    color: #fff !important;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--ink);
    padding: 6px;
}

.reader-action-dock {
    position: fixed;
    z-index: 250;
    right: 20px;
    top: 46%;
    display: grid;
    gap: 10px;
}
.reader-action {
    display: inline-flex;
    align-items: center;
    gap: 0;
    max-width: 56px;
    overflow: hidden;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(147, 51, 79, .28);
    transition:
        max-width .28s var(--ease),
        padding .28s var(--ease),
        gap .28s var(--ease),
        transform .2s var(--ease),
        box-shadow .2s var(--ease);
}
.reader-action-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
}
.reader-action-label {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    padding-right: 0;
    overflow: hidden;
    transition: opacity .2s var(--ease), max-width .28s var(--ease), padding .28s var(--ease);
}
.reader-action:hover,
.reader-action:focus-visible {
    color: #fff;
    max-width: 240px;
    transform: translateX(-4px);
    gap: 2px;
    box-shadow: 0 16px 34px rgba(147, 51, 79, .34);
}
.reader-action:hover .reader-action-label,
.reader-action:focus-visible .reader-action-label {
    opacity: 1;
    max-width: 180px;
    padding-right: 18px;
}
.reader-action-submit { background: linear-gradient(135deg, var(--primary), #93334f); }

.support-fab {
    position: fixed;
    z-index: 260;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 20px 8px 8px;
    background: linear-gradient(135deg, #173f5f, #226780);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-pill);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 38px rgba(23, 63, 95, .3);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .22s var(--ease);
}
.support-fab:hover {
    color: #fff;
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 20px 46px rgba(23, 63, 95, .38);
}
.support-fab-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #1b5872;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(10, 42, 61, .2);
}
.support-fab-text { display: grid; line-height: 1.15; }
.support-fab-text small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #bfe2ef;
}
.support-fab-text strong { font-size: 14px; font-weight: 800; letter-spacing: .01em; }

.search-drop {
    display: none;
    padding: 0 20px 12px;
    max-width: var(--max);
    margin: 0 auto;
}
.search-drop.open { display: block; }
.search-drop input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    font-size: 15px;
    background: rgba(255,252,250,.9);
    outline: none;
    box-shadow: var(--shadow-sm);
}
.search-drop input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }

/* ─── TOP RIBBON ─── */
.site-ribbon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 20px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 9px 20px 8px;
    color: var(--muted);
}
.site-ribbon-end {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.site-ribbon-links {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.site-ribbon-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    transition: color .22s var(--ease), background .22s var(--ease);
}
.site-ribbon-links a i {
    font-size: 13px;
    color: color-mix(in srgb, var(--gold-warm) 70%, var(--primary));
    transition: color .22s var(--ease);
}
.site-ribbon-links a:hover {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 7%, transparent);
    transform: none;
}
.site-ribbon-links a:hover i { color: var(--primary); }
.site-ribbon-links a.active {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, #fff);
    box-shadow: none;
}
.site-ribbon-links a.active i {
    color: var(--primary);
}
.site-ribbon-end .lang-switch {
    padding-left: 10px;
    border-left: 1px solid color-mix(in srgb, #1c2d50 10%, transparent);
}

@media (max-width: 900px) {
    .site-ribbon {
        justify-content: flex-end;
        padding: 8px 16px 7px;
        gap: 8px;
    }
    .site-ribbon-end {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
@media (max-width: 576px) {
    .site-ribbon {
        padding: 7px 12px 6px;
        gap: 6px;
    }
    .site-ribbon-end { gap: 8px; }
    .site-ribbon-links a { padding: 5px 8px; font-size: 12px; }
    .site-ribbon-links a i { font-size: 12px; }
    .site-ribbon-links a span { display: none; }
    .site-ribbon-end .lang-switch {
        padding-left: 8px;
    }
}
/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: .25s var(--ease);
}
.btn-rose {
    background: var(--gradient-brand);
    color: #fff !important;
    box-shadow: var(--shadow-brand);
}
.btn-rose:hover { transform: translateY(-2px); box-shadow: 0 10px 32px color-mix(in srgb, var(--primary) 25%, transparent); color: #fff !important; }
.btn-soft {
    background: var(--surface-raised);
    color: var(--ink) !important;
    border: 1px solid var(--border);
}
.btn-soft:hover { background: var(--primary-soft); color: var(--primary) !important; }
.btn-ghost {
    background: transparent;
    color: var(--ink) !important;
    border: 1.5px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary) !important; }

/* ─── LABELS ─── */
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary);
}
.tag-blue { background: var(--blue-light); color: var(--blue-deep); }
.tag-amber { background: var(--amber); color: color-mix(in srgb, var(--gold-warm) 80%, var(--ink)); }

/* ─── PAGE HERO (inner pages) ─── */
.page-banner {
    padding: 48px 0 40px;
    text-align: center;
}
.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-top: 8px;
}
.page-banner p { color: var(--muted); margin-top: 8px; }

/* ─── BENTO TILES (shared) ─── */
.tile {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    transition: .3s var(--ease);
}
.tile:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.tile-body { padding: 24px; }
.tile h3 {
    font-size: 1.2rem;
    margin: 8px 0;
    line-height: 1.3;
}
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a:hover { color: var(--primary); }
.tile p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.tile-meta { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ─── NEWSLETTER ─── */
.nl-band {
    margin: 0 20px 48px;
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius);
    background: var(--gradient-nl);
    border: 1px solid var(--border);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nl-band::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 4%, transparent);
    top: -120px; right: -60px;
}
.nl-band::after {
    content: '';
    position: absolute;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--gold-warm) 5%, transparent);
    bottom: -80px; left: -40px;
}
.nl-band h3 { font-size: 1.75rem; margin-bottom: 8px; position: relative; }
.nl-band > p { color: var(--muted); margin-bottom: 24px; position: relative; }
.nl-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}
.nl-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 13px 18px;
    font-size: 14px;
    background: rgba(255,255,255,.8);
    outline: none;
}
.nl-form input:focus { border-color: var(--primary); }
.nl-form button {
    border: none;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 13px 22px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    white-space: nowrap;
}
.nl-form button:hover { filter: brightness(1.08); }

/* ─── FOOTER ─── */
.site-foot {
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    background: var(--cream);
}
.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.foot-brand img { height: 48px; margin-bottom: 12px; }
.foot-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 280px; }
.foot-col h6 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 14px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--primary); }
.foot-social { display: flex; gap: 8px; margin-top: 16px; }
.foot-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 15px;
    transition: .2s;
}
.foot-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.foot-copy {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ─── LEGACY HELPERS ─── */
.section-pad { padding: 64px 0; }
.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    height: 100%;
    transition: .25s;
}
.article-card:hover { box-shadow: var(--shadow-md); }
.article-card .card-body { padding: 20px; }
.article-card .card-title { font-family: var(--serif); font-size: 1.15rem; }
.article-card .card-title a { color: var(--ink); text-decoration: none; }
.category-badge { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.author-meta { font-size: 12px; color: var(--muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
    .nav-toggle { display: none; }
    .site-banner {
        grid-template-columns: 64px minmax(0, 1fr) minmax(102px, 32%);
        align-items: stretch;
        min-height: 72px;
        padding: 0;
    }
    .site-banner-logo {
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px 5px;
        background: #fff;
    }
    .site-banner-logo img {
        width: 100%;
        max-width: 52px;
        max-height: 52px;
    }
    .site-banner-center {
        display: flex;
        align-items: center;
        align-self: stretch;
        justify-content: flex-start;
        padding: 4px 6px 4px 10px;
        background: var(--banner-fill);
    }
    .site-banner-wordmark-img {
        height: clamp(22px, 4vw, 30px);
        max-width: 100%;
    }
    .site-banner-tagline {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        align-self: stretch;
        padding: 4px 6px 4px 2px;
        font-size: 8pt;
        line-height: 1.05;
        background: var(--banner-fill);
    }
    .site-banner-tagline span { white-space: nowrap; }
    .nav-links,
    .nav-menu-rail.can-slide .nav-links { min-height: 50px; }
    .category-nav-stack,
    .category-nav-item:not(.category-nav-stack) { min-height: 50px; padding: 0 10px; }
    .category-nav-stack .category-primary,
    .category-nav-stack .category-primary-bn { font-size: 13px !important; }
    .reader-action-dock {
        top: auto;
        right: auto;
        left: 14px;
        bottom: 18px;
        display: flex;
        width: max-content;
        max-width: calc(100vw - 110px);
    }
    .reader-action { max-width: 52px; }
    .reader-action-icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 20px; }
    .reader-action:hover,
    .reader-action:focus-visible { max-width: 220px; }
    .support-fab { right: 14px; bottom: 14px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .site-banner {
        grid-template-columns: 54px minmax(0, 1fr) minmax(88px, 34%);
        min-height: 64px;
        padding: 0;
    }
    .site-banner-logo { padding: 3px 4px; }
    .site-banner-logo img {
        max-width: 44px;
        max-height: 44px;
    }
    .site-banner-center { padding: 3px 4px 3px 8px; }
    .site-banner-wordmark-img { height: clamp(18px, 5vw, 24px); }
    .site-banner-tagline {
        padding: 3px 4px 3px 2px;
        font-size: 6.5pt;
        line-height: 1.02;
    }
    .nav-links,
    .nav-menu-rail.can-slide .nav-links { min-height: 46px; }
    .category-nav-stack,
    .category-nav-item:not(.category-nav-stack) { min-height: 46px; padding: 0 8px; }
    .category-nav-stack .category-primary,
    .category-nav-stack .category-primary-bn { font-size: 12px !important; }
    .nav-cta { padding: 7px 12px; font-size: 12px; }
    .reader-action-label { font-size: 12px; }
    .support-fab { padding: 6px; }
    .support-fab-text { display: none; }
    .support-fab-icon { width: 46px; height: 46px; flex-basis: 46px; font-size: 20px; }
    .foot-grid { grid-template-columns: 1fr; }
    .nl-form { flex-direction: column; }
}

/* ═══════════════════════════════════════════
   AUTH PAGES — light, logo-matched
   ═══════════════════════════════════════════ */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, color-mix(in srgb, var(--primary) 6%, white), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 15%, color-mix(in srgb, var(--cyan) 5%, white), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 95%, color-mix(in srgb, var(--gold-warm) 5%, white), transparent 45%),
        var(--surface-base);
}
.auth-page { width: 100%; max-width: 440px; }
.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    margin-bottom: 28px;
}
.auth-brand img { height: 72px; margin-bottom: 10px; }
.auth-brand .bn {
    font-family: var(--bn);
    font-size: 17px;
    color: var(--brand);
    font-weight: 600;
}
.auth-brand .sub {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 4px;
}
.auth-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}
.auth-card h1 {
    font-family: var(--serif);
    font-size: 1.75rem;
    margin: 0 0 6px;
    color: var(--ink);
}
.auth-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.auth-field { margin-bottom: 18px; }
.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.auth-input-wrap { position: relative; }
.auth-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 15px;
}
.auth-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    font-family: var(--sans);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-base);
    color: var(--ink);
    outline: none;
    transition: .2s;
}
.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
    background: #fff;
}
.auth-input.is-error { border-color: #c45c4a; }
.auth-error { font-size: 12px; color: #c45c4a; margin-top: 5px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.auth-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.auth-check input { accent-color: var(--primary); margin-top: 3px; }
.auth-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--sans);
    cursor: pointer;
    box-shadow: var(--shadow-brand);
    transition: .2s;
}
.auth-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.auth-link { color: var(--primary); font-weight: 600; font-size: 13px; text-decoration: none; }
.auth-link:hover { color: var(--primary-hover); }
.auth-foot { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.auth-back {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}
.auth-back:hover { color: var(--primary); }
.alert-ch {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.alert-ch.error { background: #fef3f1; border: 1px solid #f5d0cb; color: #9b4438; }
.alert-ch.success { background: #edf9f0; border: 1px solid #c3e6cb; color: #155724; }

/* ═══════════════════════════════════════════
   PANEL / DASHBOARD — light sidebar
   ═══════════════════════════════════════════ */
.panel-body {
    font-family: var(--sans);
    background: var(--surface-base);
    color: var(--ink-2);
    min-height: 100vh;
}
.panel-sidebar {
    width: 252px;
    height: 100vh;
    height: 100dvh;
    background: var(--surface-raised);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.panel-sidebar .brand {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 0;
    text-align: left;
}
.panel-sidebar .brand img {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 32px;
    width: auto;
    margin: 0;
    align-self: center;
}
.panel-sidebar .brand h5 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.15;
    color: var(--ink);
    font-weight: 400;
    white-space: nowrap;
}
.panel-sidebar .brand small {
    grid-column: 2;
    grid-row: 2;
    display: block;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 1px;
    white-space: nowrap;
}
.panel-nav { padding: 12px 10px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.panel-nav .nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 14px 12px 6px;
}
.panel-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: .15s;
}
.panel-nav a i { width: 18px; font-size: 16px; color: var(--muted); }
.panel-nav a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.panel-nav a:hover i { color: var(--primary); }
.panel-nav a.active {
    background: color-mix(in srgb, var(--primary) 10%, white);
    color: var(--primary);
    font-weight: 600;
}
.panel-nav a.active i { color: var(--primary); }
.panel-topbar {
    margin-left: 252px;
    background: color-mix(in srgb, var(--surface-raised) 90%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
}
.panel-topbar h6 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.panel-content { margin-left: 252px; padding: 28px; }
.panel-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.panel-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--ink);
    padding: 14px 20px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.btn-navy, .btn-accent {
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    cursor: pointer;
    transition: .2s;
}
.btn-navy { background: var(--gradient-brand); box-shadow: var(--shadow-brand); }
.btn-navy:hover { filter: brightness(1.06); color: #fff !important; }
.btn-accent { background: var(--primary); }
.btn-accent:hover { background: var(--primary-hover); color: #fff !important; }
.panel-body .form-control:focus,
.panel-body .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.panel-body .card { border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.panel-body .card-header { background: #fff; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 600; }

@media (max-width: 991px) {
    .panel-sidebar { width: 100%; position: relative; height: auto; }
    .panel-topbar, .panel-content { margin-left: 0; }
}

/* ═══════════════════════════════════════════
   INNER PAGES — shared light sections
   ═══════════════════════════════════════════ */
.page-banner {
    background: linear-gradient(180deg, var(--surface-tint-sky) 0%, var(--surface-base) 100%);
    padding: 36px 0 32px;
    border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(1.5rem, 3vw, 1.85rem); margin: 0; }
.page-banner .breadcrumb { font-size: 13px; margin-bottom: 8px; }
.page-banner .breadcrumb a { color: var(--blue-mid); }
.sidebar-box {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.sidebar-box h6 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 16px;
}
.stat-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.stat-card .stat-num { font-family: var(--serif); font-size: 28px; color: var(--primary); line-height: 1; }
.stat-card .stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.section-pad { padding: 48px 0; position: relative; z-index: 1; }
.article-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
}
.article-card-link:hover {
    color: inherit;
    text-decoration: none;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.article-card .card-body { padding: 16px; }
.article-card .card-title { font-size: 15px; margin: 8px 0 6px; color: var(--ink); }
.article-card-visual {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
}
.article-card-visual-title {
    font-family: var(--serif);
    color: rgba(255,255,255,.92);
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    font-style: italic;
}
.article-card-excerpt {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}
.article-card-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--cover-accent, var(--primary)) 16%, #fff),
        #fffaf7 58%,
        #fff
    );
    border-bottom: 1px solid var(--border);
}
.article-card-cover-bg {
    position: absolute;
    inset: -14%;
    z-index: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(24px) saturate(1.12);
    transform: scale(1.1);
    opacity: .58;
}
.article-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .48)),
        radial-gradient(ellipse 88% 72% at 50% 108%, color-mix(in srgb, var(--cover-accent, var(--primary)) 24%, transparent), transparent 68%);
}
.article-card-cover--sm {
    height: 150px;
    padding: 8px 10px;
}
.article-card-cover--md {
    height: 182px;
    padding: 8px 12px;
}
.article-card-cover--lg {
    min-height: 236px;
    padding: 10px 14px;
}
.article-card-cover-photo {
    position: relative;
    z-index: 2;
    display: block;
    height: 100%;
    width: auto;
    max-width: min(60%, 156px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 13px;
    border: 2px solid rgba(255, 255, 255, .88);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, .18),
        0 0 0 1px color-mix(in srgb, var(--cover-accent, var(--primary)) 16%, transparent);
    background: #fff;
}
.article-card-cover.is-round .article-card-cover-photo {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-position: center center;
}
.article-card-cover--lg .article-card-cover-photo {
    max-width: min(64%, 196px);
    border-radius: 15px;
}
.article-card-cover.is-round.article-card-cover--lg .article-card-cover-photo {
    border-radius: 50%;
}
.article-card-cover-fallback {
    display: grid;
    place-items: center;
    width: min(60%, 156px);
    height: auto;
    aspect-ratio: 3 / 4;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(
        145deg,
        var(--cover-accent, var(--primary)),
        color-mix(in srgb, var(--cover-accent, var(--primary)) 65%, #000)
    );
}
.article-card-cover.is-round .article-card-cover-fallback {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
.article-card-cover--lg .article-card-cover-fallback {
    max-width: min(64%, 196px);
}
.author-filter-trigger {
    position: relative;
    z-index: 2;
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent);
    cursor: pointer;
}
.author-filter-trigger:hover { color: var(--primary-hover); }
.author-filter-link {
    position: relative;
    z-index: 2;
    color: inherit;
    text-decoration: none;
}
.author-filter-link:hover { color: var(--primary); }
.articles-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.articles-toolbar-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.articles-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}
.articles-category-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid var(--primary-muted);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
}
.articles-filter-sidebar {
    position: sticky;
    top: var(--site-header-offset);
    background: linear-gradient(180deg, #fff 0%, var(--surface-sunken) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.articles-filter-sidebar h6 {
    color: var(--navy);
    margin-bottom: 8px;
}
.articles-filter-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 14px;
}
.author-filter-form-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.author-filter-form-sidebar .author-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}
.author-filter-form-sidebar .author-filter-control {
    width: 100%;
    min-width: 0;
}
.author-filter-search-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.author-filter-search-row .author-filter-control { flex: 1; }
.author-filter-clear {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.author-filter-clear:hover { text-decoration: underline; }
.author-filter-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.author-filter-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.author-filter-sidebar-control {
    width: 100%;
    min-width: 0;
}
.author-filter-sidebar-submit {
    padding: 10px 14px;
}
.articles-filter-clear {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.articles-filter-clear:hover { text-decoration: underline; }
.articles-author-filter { margin-left: auto; }
.author-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.author-filter-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    margin: 0;
    white-space: nowrap;
}
.author-filter-control {
    width: auto;
    min-width: 220px;
}
.author-filter-submit {
    padding: 9px 14px;
    line-height: 1;
}
.tile.bento-article { cursor: pointer; }
.tile.bento-article h3 { color: var(--ink); }
.category-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
}
.author-meta { font-size: 11px; color: var(--muted); margin-top: 8px; }
.content-prose { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.content-prose h2, .content-prose h3, .content-prose h4 { color: var(--navy); margin: 1.4em 0 0.6em; }
.content-prose p { margin-bottom: 1em; }
.content-prose ul, .content-prose ol { margin-bottom: 1em; padding-left: 1.4em; }
.content-prose blockquote { border-left: 4px solid var(--primary); padding-left: 16px; color: var(--muted); font-style: italic; }
.panel-stat { border-left: 3px solid var(--primary); }
.panel-stat.blue { border-left-color: var(--blue-mid); }
.panel-stat.gold { border-left-color: var(--gold-warm); }
.badge-now { font-size: 10px; font-weight: 700; padding: 2px 8px; background: var(--primary-soft); color: var(--primary); border-radius: 10px; margin-left: 4px; }

/* Language switcher — segmented pill */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid color-mix(in srgb, #1c2d50 10%, transparent);
    border-radius: 999px;
    background:
        linear-gradient(180deg, #fff, color-mix(in srgb, var(--surface-tint-sky) 40%, #fff));
    box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 4px 14px color-mix(in srgb, #1c2d50 5%, transparent);
}
.lang-sep { display: none; }
.lang-switch .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 34px;
    padding: 7px 12px;
    text-decoration: none;
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2 !important;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-sizing: border-box;
    position: relative;
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-switch .lang-btn.bn,
.lang-switch .lang-btn[lang="bn"] {
    font-family: var(--bn) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}
.lang-switch .lang-btn:hover {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, #fff);
    border-color: color-mix(in srgb, var(--primary) 42%, transparent);
}
.lang-switch .lang-btn.active {
    color: #fff;
    background: var(--gradient-brand);
    border-color: transparent;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 28%, transparent);
}
.lang-switch .lang-btn.active::after { display: none; }

@media (max-width: 576px) {
    .lang-switch { gap: 2px; padding: 2px; flex-wrap: nowrap; }
    .lang-switch .lang-btn,
    .lang-switch .lang-btn.bn,
    .lang-switch .lang-btn[lang="bn"] {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 12px !important;
        white-space: nowrap;
    }
}

/* Article filters */
.filter-select, .filter-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
    background: #fff;
    color: var(--ink);
}
.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 12%, white);
}
.filter-btn {
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
}
.filter-btn:hover { background: var(--primary-hover); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-muted);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}
.filter-chip a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}
@media (max-width: 991px) {
    .articles-filter-sidebar { position: static; }
}
@media (max-width: 767px) {
    .articles-author-filter { width: 100%; margin-left: 0; }
    .author-filter-form { width: 100%; }
    .author-filter-control { flex: 1; min-width: 0; width: 100%; }
}
.lang-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.92);
    color: var(--blue-deep);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════
   PAGINATION — site + admin/list panels
   ═══════════════════════════════════════════ */
.ch-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    width: 100%;
}
.ch-pagination-meta {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .01em;
}
.ch-pagination-meta strong {
    color: var(--ink);
    font-weight: 700;
}
.ch-pagination-list.pagination {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.ch-pagination .page-item {
    margin: 0;
}
.ch-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.ch-pagination .page-link i {
    font-size: 14px;
    line-height: 1;
}
.ch-pagination .page-item:not(.disabled):not(.active) .page-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.ch-pagination .page-item.active .page-link {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.ch-pagination .page-item.disabled .page-link {
    color: color-mix(in srgb, var(--muted) 70%, #fff);
    background: transparent;
    opacity: 1;
    pointer-events: none;
}
.ch-pagination-simple .ch-pagination-list {
    margin-left: auto;
    margin-right: auto;
}
.ch-pagination-simple .page-link {
    min-width: auto;
    padding: 0 16px;
}

/* Default Bootstrap pagination fallback (if any raw links() remain) */
.pagination:not(.ch-pagination-list) {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.pagination:not(.ch-pagination-list) .page-link {
    border: 0;
    border-radius: 9px;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 13px;
    background: transparent;
}
.pagination:not(.ch-pagination-list) .page-item.active .page-link {
    background: var(--gradient-brand);
    color: #fff;
}
.pagination:not(.ch-pagination-list) .page-item.disabled .page-link {
    color: var(--muted);
    background: transparent;
}

.card-footer .ch-pagination,
.panel-body .ch-pagination {
    padding: 4px 0;
}
.panel-body .card-footer {
    display: flex;
    justify-content: flex-end;
    background: #fff;
}

@media (max-width: 576px) {
    .ch-pagination {
        flex-direction: column;
        align-items: stretch;
    }
    .ch-pagination-meta {
        text-align: center;
    }
    .ch-pagination-list.pagination {
        justify-content: center;
        width: 100%;
    }
    .ch-pagination .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
    }
}

/* ═══════════════════════════════════════════
   SITE OPENING — red theater curtain + welcome
   ═══════════════════════════════════════════ */
html.intro-pending body,
body.intro-active {
    overflow: hidden;
}
html.intro-pending .site-shell,
body.intro-active .site-shell {
    visibility: hidden;
}
body.intro-active .site-intro {
    display: block;
    opacity: 1;
    visibility: visible;
}
html.intro-revealing .site-shell {
    visibility: visible;
    animation: introHomeReveal 1.45s cubic-bezier(.16, 1, .3, 1) .2s both;
}
@keyframes introHomeReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.992);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    overflow: hidden;
    pointer-events: auto;
    background: #120608;
}
.site-intro.is-exiting,
.site-intro.is-launching {
    pointer-events: none;
}
.site-intro.is-launching {
    animation: introLaunchWipe 1.65s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes introLaunchWipe {
    0% {
        opacity: 1;
        clip-path: circle(130% at 50% 44%);
        transform: scale(1);
    }
    45% {
        opacity: 1;
        clip-path: circle(14% at 50% 42%);
        transform: scale(1.01);
    }
    100% {
        opacity: 0;
        clip-path: circle(0% at 50% 42%);
        transform: scale(1.04);
    }
}

/* ── Proscenium / rod ── */
.site-intro-proscenium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    z-index: 6;
    pointer-events: none;
}
.site-intro-valance {
    position: absolute;
    inset: 0 0 auto;
    height: 28px;
    background:
        repeating-linear-gradient(90deg, #5c0810 0 18px, #8b1420 18px 36px, #6e0e16 36px 54px),
        linear-gradient(180deg, #7a1018, #4a060c);
    box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.site-intro-valance::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 6px;
    background: linear-gradient(180deg, rgba(0,0,0,.35), transparent);
}
.site-intro-rod {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(180deg, #e8c96a, #b8922e 45%, #8b6914);
    box-shadow: 0 3px 8px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35);
}

.site-intro-curtain {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    background: #120608;
    cursor: pointer;
}
.site-intro.is-stage .site-intro-curtain,
.site-intro.is-exiting .site-intro-curtain,
.site-intro.is-launching .site-intro-curtain {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .6s ease, visibility .6s ease;
}

.site-intro-curtain-half {
    position: absolute;
    top: 34px;
    bottom: 0;
    width: 50.5%;
    z-index: 3;
    will-change: transform;
    transition: transform 3.4s cubic-bezier(.16, 1, .3, 1);
    overflow: hidden;
    background: #5c0a10;
}
.site-intro-curtain-left {
    left: 0;
    transform-origin: top left;
}
.site-intro-curtain-right {
    right: 0;
    transform-origin: top right;
}

/* Gathered folds (kuchi) — no jul/swag */
.site-intro-curtain-folds {
    position: absolute;
    inset: 0 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding-top: 2px;
    background: linear-gradient(180deg, #3d060a 0%, #5c0a10 12%, #4a080c 100%);
}
.site-intro-fold {
    position: relative;
    flex: 1 1 0;
    min-width: 18px;
    margin: 0 -1px;
    transform-origin: top center;
    background:
        linear-gradient(
            90deg,
            #3a060a 0%,
            #6e1016 18%,
            #a82228 42%,
            #8f1820 58%,
            #5c0a10 82%,
            #3d060a 100%
        );
    box-shadow:
        inset 2px 0 5px rgba(255,255,255,.07),
        inset -5px 0 12px rgba(0,0,0,.38),
        2px 0 10px rgba(0,0,0,.22);
    clip-path: polygon(10% 0, 90% 0, 98% 100%, 2% 100%);
}
.site-intro-fold::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 18%, transparent 78%, rgba(0,0,0,.18) 100%);
    pointer-events: none;
}
.site-intro-fold::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 18%;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.12));
    pointer-events: none;
}

.site-intro-curtain-left .site-intro-fold {
    transform: perspective(900px) rotateY(calc(3deg + var(--fold-i) * 0.35deg));
}
.site-intro-curtain-left .site-intro-fold:nth-child(odd) {
    background: linear-gradient(90deg, #42080c 0%, #761218 20%, #b02028 45%, #861820 62%, #520a10 85%, #42080c 100%);
}
.site-intro-curtain-right .site-intro-fold {
    transform: perspective(900px) rotateY(calc(-3deg - var(--fold-i) * 0.35deg));
    background: linear-gradient(270deg, #3a060a 0%, #6e1016 18%, #a82228 42%, #8f1820 58%, #5c0a10 82%, #3d060a 100%);
}
.site-intro-curtain-right .site-intro-fold:nth-child(odd) {
    background: linear-gradient(270deg, #42080c 0%, #761218 20%, #b02028 45%, #861820 62%, #520a10 85%, #42080c 100%);
}

.site-intro.is-opening .site-intro-fold,
.site-intro.is-stage .site-intro-fold {
    transition: transform 3.4s cubic-bezier(.16, 1, .3, 1);
}
.site-intro.is-opening .site-intro-curtain-left .site-intro-fold {
    transform: perspective(900px) rotateY(calc(12deg + var(--fold-i) * 0.8deg)) scaleX(.94);
}
.site-intro.is-opening .site-intro-curtain-right .site-intro-fold {
    transform: perspective(900px) rotateY(calc(-12deg - var(--fold-i) * 0.8deg)) scaleX(.94);
}

.site-intro-curtain-hem {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24px;
    background:
        repeating-linear-gradient(90deg, #5c0a10 0 14px, #6e1016 14px 28px),
        linear-gradient(180deg, #7a1218, #3d060a);
    border-top: 3px solid #c9a227;
    box-shadow: 0 -6px 18px rgba(0,0,0,.35);
    z-index: 2;
}
.site-intro-curtain-hem::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 10px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.2));
}

.site-intro-curtain-gap {
    position: absolute;
    top: 34px;
    left: 50%;
    bottom: 0;
    width: 0;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(255,220,180,.12), transparent 70%);
    z-index: 2;
    opacity: 0;
    transition: width 3.4s cubic-bezier(.16, 1, .3, 1), opacity 1.4s ease .35s;
}
.site-intro.is-opening .site-intro-curtain-gap,
.site-intro.is-stage .site-intro-curtain-gap {
    width: min(42vw, 320px);
    opacity: 1;
}

/* Curtain open — slow gather to sides */
.site-intro.is-opening .site-intro-curtain-left,
.site-intro.is-stage .site-intro-curtain-left {
    transform: translateX(-88%) scaleX(1.08) skewY(-1deg);
    transition-delay: .15s;
}
.site-intro.is-opening .site-intro-curtain-right,
.site-intro.is-stage .site-intro-curtain-right {
    transform: translateX(88%) scaleX(1.08) skewY(1deg);
    transition-delay: .15s;
}

/* ── Logo open button ── */
.site-intro-open {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: opacity .55s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}
.site-intro-open:focus-visible {
    outline: 2px solid #e8c96a;
    outline-offset: 10px;
    border-radius: 50%;
}
.site-intro-open-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -58%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,220,160,.28) 0%, rgba(201,169,39,.12) 42%, transparent 72%);
    animation: introOpenHalo 3s ease-in-out infinite;
    pointer-events: none;
}
.site-intro-open-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 148px;
    height: 148px;
    transform: translate(-50%, -58%);
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 39, .35);
    box-shadow:
        0 0 0 10px rgba(201, 169, 39, .08),
        0 0 0 22px rgba(255, 255, 255, .04);
    animation: introOpenRing 2.8s ease-in-out infinite;
    pointer-events: none;
}
.site-intro-open-logo {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,.45));
    transition: transform .55s cubic-bezier(.16, 1, .3, 1), filter .55s ease;
    animation: introOpenLogoFloat 4s ease-in-out infinite;
}
.site-intro-open-label {
    position: relative;
    z-index: 2;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(201, 169, 39, .5);
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(8px);
    color: rgba(255,240,210,.96);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    animation: introHintPulse 2.4s ease-in-out infinite;
}
.site-intro-open:hover .site-intro-open-logo,
.site-intro-open:focus-visible .site-intro-open-logo {
    transform: scale(1.06);
    filter: drop-shadow(0 20px 36px rgba(201, 169, 39, .35));
}
.site-intro.is-activating .site-intro-open-logo {
    animation: introOpenLogoTap .7s cubic-bezier(.16, 1, .3, 1) forwards;
}
.site-intro.is-activating .site-intro-open-halo {
    animation: introOpenHaloBurst .7s cubic-bezier(.16, 1, .3, 1) forwards;
}
.site-intro.is-opening .site-intro-open,
.site-intro.is-stage .site-intro-open {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -38%) scale(.92);
}
@keyframes introOpenHalo {
    0%, 100% { opacity: .75; transform: translate(-50%, -58%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -58%) scale(1.08); }
}
@keyframes introOpenRing {
    0%, 100% { opacity: .7; transform: translate(-50%, -58%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -58%) scale(1.05); }
}
@keyframes introOpenLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes introOpenLogoTap {
    0% { transform: scale(1); }
    40% { transform: scale(1.14); filter: drop-shadow(0 0 36px rgba(201,169,39,.55)); }
    100% { transform: scale(1.08); }
}
@keyframes introOpenHaloBurst {
    0% { opacity: .8; transform: translate(-50%, -58%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -58%) scale(1.65); }
}
@keyframes introHintPulse {
    0%, 100% { opacity: .75; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

/* ── Welcome stage ── */
.site-intro-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1) .15s, visibility 1s ease .15s, transform 1.15s cubic-bezier(.16, 1, .3, 1) .1s;
}
.site-intro-stage[hidden] {
    display: none !important;
}
.site-intro.is-stage .site-intro-stage,
.site-intro.is-opening .site-intro-stage {
    display: grid;
}
.site-intro.is-stage .site-intro-stage {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.site-intro.is-launching .site-intro-stage {
    transition: opacity .65s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
    transform: scale(1.08);
    opacity: 0;
}

.site-intro-launch-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.95), transparent 65%);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}
.site-intro.is-launching .site-intro-launch-flash {
    animation: introLaunchFlash .9s ease forwards;
}
@keyframes introLaunchFlash {
    0% { opacity: 0; }
    30% { opacity: .85; }
    100% { opacity: 0; }
}

.site-intro-stage-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 85% 70% at 15% 12%, color-mix(in srgb, var(--primary) 16%, white), transparent 58%),
        radial-gradient(ellipse 75% 60% at 88% 10%, color-mix(in srgb, var(--gold-warm) 14%, white), transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 100%, color-mix(in srgb, var(--brand) 10%, white), transparent 62%),
        radial-gradient(ellipse 40% 35% at 72% 78%, color-mix(in srgb, var(--cyan) 8%, white), transparent 60%),
        linear-gradient(165deg, #ffffff 0%, #f8fbff 38%, #eef4fb 72%, #e8f0fa 100%);
}
.site-intro-stage-pattern {
    position: absolute;
    inset: 0;
    opacity: .045;
    background-image:
        radial-gradient(circle at 1px 1px, var(--blue-deep) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}
.site-intro-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: introOrbDrift 14s ease-in-out infinite;
}
.site-intro-orb--1 {
    width: 280px;
    height: 280px;
    top: 8%;
    left: -4%;
    background: color-mix(in srgb, var(--primary) 22%, transparent);
}
.site-intro-orb--2 {
    width: 220px;
    height: 220px;
    top: 18%;
    right: -2%;
    background: color-mix(in srgb, var(--gold-warm) 24%, transparent);
    animation-delay: -4s;
}
.site-intro-orb--3 {
    width: 320px;
    height: 320px;
    bottom: -8%;
    left: 38%;
    background: color-mix(in srgb, var(--brand) 16%, transparent);
    animation-delay: -8s;
}
@keyframes introOrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(18px, -12px) scale(1.06); }
    66% { transform: translate(-14px, 10px) scale(.96); }
}
.site-intro-stage-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--gold-warm) 75%, transparent),
        color-mix(in srgb, var(--brand) 55%, transparent) 48%,
        color-mix(in srgb, var(--cyan) 75%, transparent)
    );
    opacity: .65;
}

.site-intro-stage-inner {
    position: relative;
    z-index: 1;
    width: min(580px, 100%);
    text-align: center;
}
.site-intro-welcome-card {
    padding: 36px 34px 34px;
    border-radius: 28px;
    border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    background:
        linear-gradient(165deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 100%);
    backdrop-filter: blur(18px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.95) inset,
        0 24px 60px color-mix(in srgb, var(--blue-deep) 10%, transparent),
        0 8px 24px color-mix(in srgb, var(--primary) 6%, transparent);
}
.site-intro.is-stage .site-intro-welcome-card {
    animation: introStageIn 1s cubic-bezier(.16, 1, .3, 1) .15s both;
}
.site-intro.is-stage .site-intro-welcome-card > * {
    animation: introStageItem .85s cubic-bezier(.16, 1, .3, 1) both;
}
.site-intro.is-stage .site-intro-logo-wrap { animation-delay: .28s; }
.site-intro.is-stage .site-intro-eyebrow { animation-delay: .38s; }
.site-intro.is-stage .site-intro-title { animation-delay: .46s; }
.site-intro.is-stage .site-intro-title-bn { animation-delay: .52s; }
.site-intro.is-stage .site-intro-tagline { animation-delay: .58s; }
.site-intro.is-stage .site-intro-date { animation-delay: .66s; }
.site-intro.is-stage .site-intro-go { animation-delay: .76s; }
@keyframes introStageItem {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes introStageIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-intro-logo-wrap {
    position: relative;
    width: 148px;
    height: 148px;
    margin: 0 auto 22px;
}
.site-intro-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 14px 28px color-mix(in srgb, var(--blue-deep) 18%, transparent));
    animation: introLogoFloat 4.5s ease-in-out infinite;
}
.site-intro.is-launching .site-intro-logo {
    animation: introLogoLaunch .85s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes introLogoLaunch {
    to { transform: scale(1.35); filter: drop-shadow(0 0 40px rgba(37,99,171,.45)); }
}
.site-intro-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--primary) 6%, transparent),
        0 0 0 18px color-mix(in srgb, var(--brand) 4%, transparent);
    animation: introRingPulse 3.2s ease-in-out infinite;
}
@keyframes introLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes introRingPulse {
    0%, 100% { transform: scale(1); opacity: .85; }
    50% { transform: scale(1.04); opacity: 1; }
}

.site-intro-eyebrow {
    margin: 0 0 6px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
}
.site-intro-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--blue-deep);
    letter-spacing: -.02em;
}
.site-intro-title-bn {
    margin: 4px 0 12px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--brand);
}
.site-intro-tagline {
    margin: 0 0 22px;
    font-family: var(--serif);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    font-style: italic;
    color: var(--ink-2);
}

/* Opening date */
.site-intro-date {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-bottom: 28px;
}
.site-intro-date-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-warm);
}
.site-intro-date-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--gold-warm) 35%, transparent);
    background:
        linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--gold-soft) 80%, #fff) 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,.95) inset,
        0 10px 28px color-mix(in srgb, var(--gold-warm) 14%, transparent);
    text-decoration: none;
    color: inherit;
}
.site-intro-date-day {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 7vw, 3.2rem);
    font-weight: 600;
    line-height: 1;
    color: var(--blue-deep);
    letter-spacing: -.03em;
}
.site-intro-date-meta {
    display: grid;
    gap: 2px;
    text-align: left;
}
.site-intro-date-month {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 600;
    font-style: italic;
    color: var(--brand);
    line-height: 1.1;
}
.site-intro-date-year {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--muted);
}

.site-intro-go {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 196px;
    padding: 15px 32px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow:
        0 1px 0 rgba(255,255,255,.22) inset,
        var(--shadow-brand);
    cursor: pointer;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}
.site-intro-go-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.28) 50%, transparent 62%);
    transform: translateX(-120%);
    animation: introGoShine 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes introGoShine {
    0%, 55%, 100% { transform: translateX(-120%); }
    70% { transform: translateX(120%); }
}
.site-intro-go-text {
    position: relative;
    z-index: 1;
}
.site-intro-go:hover,
.site-intro-go:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 1px 0 rgba(255,255,255,.22) inset,
        0 18px 40px color-mix(in srgb, var(--primary) 34%, transparent);
    color: #fff;
}
.site-intro-go i {
    position: relative;
    z-index: 1;
    font-size: 16px;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.site-intro-go:hover i,
.site-intro-go:focus-visible i {
    transform: translateX(5px);
}
.site-intro.is-launching .site-intro-go {
    transform: scale(1.06);
    box-shadow: 0 0 0 14px color-mix(in srgb, var(--primary) 16%, transparent);
}

@media (max-width: 576px) {
    .site-intro-open-logo {
        width: 92px;
        height: 92px;
    }
    .site-intro-open-ring {
        width: 124px;
        height: 124px;
    }
    .site-intro-open-halo {
        width: 150px;
        height: 150px;
    }
    .site-intro-open-label {
        font-size: 10px;
        padding: 7px 14px;
    }
    .site-intro-welcome-card {
        padding: 28px 22px 26px;
        border-radius: 22px;
    }
    .site-intro-logo-wrap {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }
    .site-intro-logo {
        width: 112px;
        height: 112px;
    }
    .site-intro-date-card {
        padding: 12px 18px;
        gap: 12px;
    }
    .site-intro-go {
        width: 100%;
        max-width: 280px;
    }
}
