:root {
    --pink: #ef347c;
    --pink-deep: #c41e63;
    --pink-soft: #f4c3d4;
    --royal: #0123B4;
    --royal-mid: #1a3fd0;
    --leaf: #f6f0e2;
    --leaf-edge: #efe6d2;
    --ink: #1d1730;
    --muted: #6b6174;
    --gold: #c9a24a;
    --silver: #c0c0c0;
    --platinum: #8e9aaf;
    --line: rgba(29, 23, 48, .16);
    --cloth: #0b1348;
    --shadow: 0 18px 40px rgba(6, 10, 36, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background-color: var(--cloth);
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(239, 52, 124, .2), transparent 42%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, .018) 3px),
        linear-gradient(180deg, #121a58 0%, #0b1348 55%, #081036 100%);
    font-family: "EB Garamond", "Cormorant Garamond", "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.7;
    letter-spacing: .01em;
    padding: 1.6rem 1.2rem 3.2rem;
}
body.locale-bn { font-family: "Noto Serif Bengali", "Hind Siliguri", "EB Garamond", serif; }
img, video { max-width: 100%; }

.leaf {
    max-width: 76rem;
    margin-left: auto;
    margin-right: auto;
    background:
        linear-gradient(90deg, rgba(28, 22, 16, .06), transparent 28px, transparent calc(100% - 28px), rgba(28, 22, 16, .05)),
        var(--leaf);
    box-shadow: var(--shadow);
}

.aab-header,
.hero-folio,
.section,
.page-head,
.aab-footer {
    max-width: 76rem;
    margin-left: auto;
    margin-right: auto;
    background:
        linear-gradient(90deg, rgba(28, 22, 16, .055), transparent 32px, transparent calc(100% - 32px), rgba(28, 22, 16, .045)),
        var(--leaf);
    box-shadow: var(--shadow);
}
.aab-header { margin-top: 0; }
.hero-folio,
.section,
.page-head,
.aab-footer { margin-top: 1.15rem; }
.section.pt-0 { padding-top: 2.2rem; }

.container {
    max-width: none !important;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* ——— Header: centered running title ——— */
.aab-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--leaf);
    border-bottom: none;
}
.aab-toprow { padding: 1.15rem 0 .35rem; }
.aab-toprow::after {
    content: "";
    display: block;
    width: min(36rem, calc(100% - 2rem));
    height: 1px;
    margin: .7rem auto 0;
    background: var(--ink);
    opacity: .28;
}
.aab-toprow-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .65rem;
}
.aab-logo {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    text-decoration: none;
    color: var(--ink);
}
.aab-header-tools {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.aab-logout-form { margin: 0; }
.aab-account-btn { display: none !important; }

.aab-logo .mark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--royal);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Cormorant Garamond", "Noto Serif Bengali", serif;
    border: 1px solid var(--ink);
    box-shadow: 0 0 0 3px var(--leaf), 0 0 0 4px var(--pink);
}
.aab-logo strong {
    display: block;
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    font-size: 1.7rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.15;
    letter-spacing: .02em;
}
.aab-logo small {
    color: var(--muted);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .58rem;
    font-weight: 600;
}

.aab-navrow { padding: 0 0 .75rem; }
.aab-navrow-inner {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.aab-navrow .navbar-collapse { flex: 1 1 auto; }
.aab-navrow .navbar-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: .1rem;
}
.aab-header .nav-link {
    color: var(--ink) !important;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .35rem .55rem !important;
    background: transparent !important;
    border-radius: 0;
    white-space: nowrap;
}
.aab-header .nav-link.active,
.aab-header .nav-link:hover {
    color: var(--pink) !important;
    background: transparent !important;
}
.aab-header .dropdown-menu {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--leaf);
    box-shadow: 4px 4px 0 rgba(1, 35, 180, .12);
    margin-top: .4rem;
}
.aab-header .navbar-toggler {
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: .3rem .45rem;
}

.lang-pair {
    display: inline-flex;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 0;
    flex-shrink: 0;
}
.lang-switch {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: .66rem;
    line-height: 1;
    padding: .32rem .48rem;
    letter-spacing: .08em;
}
.lang-switch.active,
.lang-switch:hover { background: var(--pink); color: #fff; }

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .2rem .15rem;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    border: none;
    letter-spacing: .04em;
    font-size: .92rem;
}
.points-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .65rem;
    border-radius: 0;
    background: var(--royal);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .8rem;
}
.points-chip:hover { color: var(--pink-soft); }

body.is-home .aab-header {
    margin-bottom: 0;
    box-shadow: none;
}
body.is-home .hero-folio {
    margin-top: 0;
    box-shadow: var(--shadow);
}

.medal, .medal-lg {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--leaf), 0 0 0 3px currentColor;
}
.medal-lg {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--gold), #fff3b0);
    margin: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px var(--leaf), 0 0 0 3px var(--ink);
}

/* ——— Buttons as letterpress marks ——— */
.btn-aab,
.btn-aab-outline,
.btn-aab-light {
    border-radius: 0;
    padding: .7rem 1.4rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 700;
    font-family: "EB Garamond", "Noto Serif Bengali", serif;
    transition: background .2s ease, color .2s ease;
}
.btn-aab {
    background: var(--pink);
    color: #fff;
    border: 1px solid var(--pink);
    box-shadow: none;
}
.btn-aab:hover { background: var(--pink-deep); color: #fff; border-color: var(--pink-deep); }
.btn-aab-outline,
.btn-aab-light {
    border: 1px solid var(--royal);
    color: var(--royal);
    background: transparent;
}
.btn-aab-outline:hover,
.btn-aab-light:hover { background: var(--royal); color: #fff; }

/* ——— Title-page hero ——— */
.hero-folio {
    padding: 0 0 2.6rem;
    color: var(--ink);
}
.hero-folio-page {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2rem 1.4rem 0;
    text-align: center;
}
.hero-folio-imprint {
    margin: 0 0 .35rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 700;
    color: var(--royal);
}
.hero-folio-ornament {
    display: block;
    color: var(--pink);
    font-size: 1.15rem;
    line-height: 1;
    margin: .15rem 0 .85rem;
}
.hero-folio .eyebrow {
    color: var(--muted);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: .68rem;
    margin-bottom: .7rem;
}
.hero-folio h1 {
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    font-size: clamp(3rem, 6.4vw, 5.1rem);
    line-height: 1.12;
    color: var(--royal);
    font-weight: 600;
    font-style: italic;
    margin: 0;
}
.hero-folio .hero-rule {
    width: 4.5rem;
    height: 1px;
    background: var(--ink);
    margin: 1rem auto;
    opacity: .45;
}
.hero-folio .lead {
    color: var(--ink);
    font-size: 1.4rem;
    font-style: italic;
    margin: 0 auto;
    max-width: 38rem;
}
.hero-folio-frontis {
    width: 17rem;
    height: 17rem;
    margin: 1.5rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--ink);
    box-shadow: 0 0 0 6px var(--leaf), 0 0 0 7px var(--pink);
    background: #ddd4c0;
}
.hero-folio-frontis img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(.18) contrast(1.05);
}
.hero-folio .hero-actions,
.hero-folio .tier-row,
.hero-folio .hero-sponsors {
    justify-content: center;
}
.hero-folio .hero-actions { margin: 1.5rem 0 1rem; }
.hero-folio .hero-sponsors { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0 1rem; }
.tier-row { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.hero-sponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: .95rem;
}
.hero-sponsors .section-kicker,
.d-flex .section-kicker {
    display: inline-block;
    text-align: left;
    color: var(--pink);
    margin: 0;
}
.hero-sponsors .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pink);
}
.hero-scroll { display: none; }

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

.sponsor-name {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .45rem 0;
    font-weight: 600;
}
.sponsor-name img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.event-hero-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid var(--line);
}

/* ——— Leaves / sections ——— */
.section { padding: 3.2rem 0 3.4rem; }
.section-soft { background: var(--leaf-edge); }
.section-title {
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    color: var(--royal);
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
}
.section .text-center .section-title,
#membership .section-title { text-align: center; }
.section-kicker {
    display: block;
    text-align: center;
    color: var(--pink);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .66rem;
    font-weight: 700;
    margin-bottom: .35rem;
}
.view-all {
    color: var(--royal);
    font-weight: 600;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 3px;
    letter-spacing: 0;
    text-transform: none;
    font-size: 1rem;
}
.view-all:hover { color: var(--pink); }

.page-head {
    background: var(--leaf);
    color: var(--ink);
    padding: 2.6rem 0 2rem;
    margin-bottom: 0;
    text-align: center;
}
.page-head h2 {
    margin: 0;
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    font-weight: 600;
    font-style: italic;
    color: var(--royal);
    font-size: clamp(2.3rem, 4.4vw, 3.3rem);
}
.page-head h2::before {
    content: "❧";
    display: block;
    color: var(--pink);
    font-size: 1rem;
    font-style: normal;
    margin-bottom: .55rem;
}

/* Catalog entries — like a contents page */
.section .row.g-4,
.section .row.g-3,
#membership .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.section .row.g-4 > [class*="col-"],
.section .row.g-3 > [class*="col-"],
#membership .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.card-aab {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    height: auto;
    display: flex;
    gap: 1.4rem;
    align-items: stretch;
    padding: 1.25rem 0;
}
.card-aab:hover {
    transform: none;
    box-shadow: none;
}
a.card-aab { text-decoration: none; color: inherit; }
.card-aab .thumb {
    width: 9rem;
    height: 9rem;
    flex-shrink: 0;
    overflow: hidden;
    background: #ddd4c0;
    border-radius: 50%;
    border: 1px solid var(--ink);
}
.card-aab .thumb img,
.card-aab .thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(.12);
    transition: filter .3s ease;
}
.card-aab:hover .thumb img { transform: none; filter: none; }
.card-aab .body { padding: .15rem 0 .1rem; }
.card-aab h4, .card-aab h5 {
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    color: var(--royal);
    font-weight: 600;
    font-style: italic;
    font-size: 1.75rem;
}
.chip {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pink);
    border: none;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.meta { color: var(--muted); font-size: .9rem; }
.card-aab .read-more {
    color: var(--royal);
    font-weight: 600;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.card-aab .read-more:hover { color: var(--pink); }

.ad-card .thumb { position: relative; height: 7rem; }
.ad-card .thumb-caption {
    position: absolute;
    inset: auto 0 0;
    padding: .45rem .5rem;
    background: rgba(11, 19, 72, .62);
    color: #fff;
}
.ad-card .thumb-caption h5 { color: #fff; margin: 0; font-size: 1rem; font-style: italic; }
.ad-card .body { padding: .15rem 0; }

.pillar-card {
    background: transparent;
    border: none;
    box-shadow: none;
}
.pillar-card .body {
    padding: 1.3rem 0 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.pillar-index {
    width: auto;
    height: auto;
    border-radius: 0;
    display: block;
    background: transparent;
    color: var(--pink);
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-style: italic;
    font-size: 1.6rem;
    margin: 0 auto .4rem;
}
.pillar-card .section-title {
    border: none;
    margin-bottom: .5rem;
}

.maker-card {
    background: transparent;
    border-radius: 0;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: none;
}
.maker-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--ink);
}
.maker-avatar img { width: 100%; height: 100%; object-fit: cover; }

.tier-panel {
    background: transparent;
    border: none;
    border-bottom: 1px dotted rgba(29, 23, 48, .28);
    border-radius: 0;
    padding: 1.15rem 0 1.05rem;
    text-align: left;
    height: auto;
    box-shadow: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "medal title action"
        ". copy action";
    column-gap: .85rem;
    align-items: center;
}
.tier-panel .medal-lg { grid-area: medal; margin: 0; }
.tier-panel h3 {
    grid-area: title;
    font-family: "Cormorant Garamond", "EB Garamond", serif;
    font-size: 2.05rem;
    margin: 0;
    font-weight: 600;
    font-style: italic;
    color: var(--royal);
}
.tier-panel p {
    grid-area: copy;
    color: var(--muted);
    min-height: 0;
    margin: .2rem 0 0;
}
.tier-panel .btn { grid-area: action; }
.tier-panel.featured {
    background: transparent;
    color: var(--ink);
    transform: none;
    box-shadow: none;
    border-color: rgba(29, 23, 48, .28);
}
.tier-panel.featured p,
.tier-panel.featured h3 { color: inherit; }
.tier-panel.featured h3 { color: var(--pink); }
.tier-panel.featured .btn-aab { background: var(--pink); }

.filter-bar {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0 0 1.1rem;
    margin-bottom: 1.2rem !important;
}

/* ——— Colophon footer ——— */
.aab-footer {
    color: var(--ink);
    padding: 0 0 1.6rem;
    margin-top: 1.15rem;
    background: var(--leaf);
}
.aab-footer::before { display: none; }
.aab-footer-glow { display: none; }
.aab-footer .container { position: relative; z-index: 1; }
.aab-footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    padding: 2.4rem 0 1.8rem;
    border-bottom: 1px solid var(--line);
}
.aab-footer-kicker {
    display: block;
    margin: 0 0 .55rem;
    color: var(--pink);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .66rem;
    background: transparent;
    padding: 0;
    border: none;
}
.aab-footer-cta h2 {
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    color: var(--royal);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 .5rem;
    font-weight: 600;
    font-style: italic;
}
.aab-footer-cta p {
    margin: 0 auto;
    max-width: 32rem;
    color: var(--muted);
}
.aab-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: center;
}
.aab-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.6rem;
    padding: 2rem 0 1.3rem;
}
.aab-footer-brand .aab-logo { color: var(--ink); margin: 0 auto 1rem; }
.aab-footer-brand .aab-logo strong { color: var(--royal); }
.aab-footer-brand .aab-logo small { color: var(--muted); }
.aab-footer-brand > p { color: var(--muted); max-width: 26rem; margin: 0 auto; }
.aab-footer-social {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    justify-content: center;
}
.aab-footer-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
}
.aab-footer-social a:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.aab-footer h5 {
    color: var(--royal);
    font-family: "Cormorant Garamond", "EB Garamond", serif;
    font-size: 1.25rem;
    margin-bottom: .7rem;
    font-weight: 600;
    font-style: italic;
}
.aab-footer-links { list-style: none; padding: 0; margin: 0; }
.aab-footer-links li + li { margin-top: .35rem; }
.aab-footer a { color: var(--royal); text-decoration: none; }
.aab-footer a:hover { color: var(--pink); }
.aab-footer-tiers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1rem;
}
.aab-footer-tier {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--ink) !important;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: .2rem 0;
    font-weight: 600;
}
.aab-footer-tier:hover { background: transparent; color: var(--pink) !important; }
.aab-footer-tier .medal {
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 2px var(--leaf), 0 0 0 3px currentColor;
}
.aab-footer-patrons { display: grid; gap: .35rem; justify-items: center; }
.aab-footer-patrons span {
    display: block;
    color: var(--ink);
    background: transparent;
    border: none;
    padding: 0;
    font-weight: 600;
    font-style: italic;
}
.aab-footer-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25rem;
    margin-top: .2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .92rem;
}
.aab-footer-bar p { margin: 0; }
.aab-footer .btn-aab-light { border-color: var(--royal); color: var(--royal); }
.aab-footer .btn-aab-light:hover { background: var(--royal); color: #fff; }

/* ——— Forms ——— */
.form-card {
    background: transparent;
    border-radius: 0;
    padding: 1.4rem 0 2rem;
    box-shadow: none;
    border: none;
}
.form-card h4 {
    font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif Bengali", serif;
    color: var(--royal);
    font-weight: 600;
    font-style: italic;
}
.form-control, .form-select {
    border-radius: 0;
    padding: .72rem .95rem;
    border-color: rgba(29, 23, 48, .28);
    background: #fffdf6;
    font-family: inherit;
}
.form-control:focus, .form-select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 .15rem rgba(239, 52, 124, .14);
}

.upgrade-wrap { position: relative; min-height: 420px; }
.upgrade-blur { filter: blur(6px); pointer-events: none; user-select: none; }
.upgrade-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5.5rem 1rem 2rem;
    background: rgba(246, 240, 226, .55);
}
.upgrade-card {
    position: sticky;
    top: 6.5rem;
    background: var(--leaf);
    max-width: 420px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    border-radius: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--ink);
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
}
.community-side,
.community-archive { position: static; }
.community-feed { min-width: 0; }
.community-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; justify-content: center; }
.community-chip {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    border-radius: 0;
    padding: .3rem .75rem;
    font-weight: 600;
    font-size: .86rem;
}
.community-chip.active,
.community-chip:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.community-composer { margin-bottom: 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
.community-now { color: var(--muted); font-size: .92rem; font-weight: 600; margin: 0 0 .85rem; }
.community-post { display: block; height: auto; margin-bottom: .2rem; padding: 1rem 0; }
.community-post:hover { transform: none; }
.community-empty { color: var(--muted); }
.community-pager { margin-top: 1rem; }
.community-months {
    background: transparent;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: .75rem 0 0;
}
.community-months-title { font-weight: 700; color: var(--royal); margin: 0 0 .4rem; }
.community-months a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    border-radius: 0;
    padding: .35rem 0;
}
.community-months a.active,
.community-months a:hover { background: transparent; color: var(--pink); }
.community-archive { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.community-archive-title {
    width: 100%;
    margin: 0 0 .4rem;
    color: var(--royal);
    font-family: "Cormorant Garamond", serif;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-align: center;
}
.community-year-rail {
    display: inline-block;
    width: auto;
    text-align: center;
    text-decoration: none;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
    padding: .28rem .55rem;
    border: 1px solid var(--line);
}
.community-year-rail small { display: block; font-size: .66rem; opacity: .7; }
.community-now a { margin-left: .45rem; color: var(--pink); font-weight: 700; text-decoration: none; }
.community-year-rail.active,
.community-year-rail:hover { color: var(--royal); background: rgba(1, 35, 180, .06); }

.poll-box {
    background: transparent;
    border-radius: 0;
    padding: 1.2rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
}
.poll-box .section-title { text-align: left; }
.progress { height: 4px; background: #e6dcc6; border-radius: 0; }
.progress-bar { border-radius: 0; }

.points-stat {
    background: var(--royal);
    color: #fff;
    border-radius: 0;
    padding: 1rem 1.1rem;
    margin: 1rem 0;
}
.points-stat strong {
    display: block;
    font-size: 1.8rem;
    font-family: "Cormorant Garamond", serif;
    color: #fff;
    font-style: italic;
}
.profile-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--ink);
    box-shadow: 0 0 0 4px var(--leaf), 0 0 0 5px var(--pink);
}

.id-card {
    width: 440px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--royal);
    color: #fff;
    border-radius: 0;
    padding: 1.4rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--pink);
}
.id-card .inner {
    background: rgba(255, 255, 255, .08);
    border-radius: 0;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .16);
}
.id-card h2, .id-card h3 { font-family: "Cormorant Garamond", serif; font-style: italic; }
.prose-card { font-size: 1.12rem; line-height: 1.85; }

@media (min-width: 768px) {
    .aab-header .navbar-toggler { display: none; }
}
@media (max-width: 767.98px) {
    body { padding: .7rem .55rem 2.4rem; }
    .container { padding-left: 1.15rem; padding-right: 1.15rem; }
    .aab-toprow-inner { grid-template-columns: auto 1fr auto; }
    .aab-logo { grid-column: 1; flex-direction: row; text-align: left; gap: .55rem; }
    .aab-header-tools { grid-column: 3; }
    .aab-navrow-inner { flex-wrap: wrap; justify-content: flex-end; }
    .aab-navrow .navbar-collapse {
        flex: 1 1 100%;
        order: 2;
        background: var(--leaf-edge);
        margin: .35rem 0 .4rem;
        padding: .5rem;
        border: 1px solid var(--line);
    }
    .aab-navrow .lang-pair { order: 1; }
    .hero-folio-page { padding-left: 0; padding-right: 0; }
    .card-aab { gap: .8rem; }
    .card-aab .thumb { width: 6.4rem; height: 6.4rem; }
    .tier-panel {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "medal title"
            ". copy"
            ". action";
    }
    .tier-panel .btn { justify-self: start; margin-top: .6rem; }
}
@media (max-width: 575.98px) {
    .aab-header .aab-logo-text { display: none; }
    .aab-signup-btn { display: none !important; }
    .hero-folio h1 { font-size: clamp(2.4rem, 12vw, 3.2rem); }
    .hero-folio-frontis { width: 13.5rem; height: 13.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card-aab, .btn-aab, .btn-aab-outline, .reveal { transition: none; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .aab-header, .aab-footer, .btn-aab, .aab-ui-switch { display: none !important; }
    body { background: #fff; padding: 0; }
}

.aab-ui-switch {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    background: var(--leaf);
    color: var(--ink);
    border: 1px solid var(--ink);
    box-shadow: 4px 4px 0 rgba(1, 35, 180, .16);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    max-width: calc(100vw - 1.4rem);
}
.aab-ui-switch-label {
    padding: .45rem .55rem;
    color: var(--royal);
}
.aab-ui-switch a {
    color: var(--ink);
    text-decoration: none;
    padding: .45rem .55rem;
    border-left: 1px solid var(--line);
}
.aab-ui-switch a.is-on,
.aab-ui-switch a:hover {
    background: var(--pink);
    color: #fff;
}
