:root {
    --red: #9b1b2e;
    --red-deep: #6e1220;
    --red-dark: #4a0d16;
    --red-bright: #c4233a;
    --gold: #c6a15b;
    --gold-soft: #e7d3a1;
    --cream: #faf6f1;
    --paper: #fffdfb;
    --ink: #1c1214;
    --muted: #6d5c5f;
    --line: rgba(155, 27, 46, 0.16);
    --shadow: 0 18px 50px rgba(74, 13, 22, 0.08);
    --radius: 22px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Source Sans 3", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.6;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
p { margin: 0 0 0.8rem; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: white;
    padding: 0.5rem 0.8rem;
    z-index: 50;
}
.skip:focus { top: 1rem; }

.container {
    width: min(1120px, calc(100% - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    margin: 0 auto;
}
.narrow { width: min(760px, 100%); }

.sticky-head {
    position: sticky;
    top: 0;
    z-index: 30;
}
.topbar {
    background: var(--red-dark);
    color: var(--gold-soft);
    font-size: 0.92rem;
}
.topbar-inner, .header-inner, .footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar-inner { min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.topbar-address { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar img { border-radius: 50%; object-fit: cover; }
.topbar a { color: white; text-decoration: none; }

.site-header {
    background: var(--paper);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 1px 0 var(--gold);
}
.header-inner { min-height: 96px; position: relative; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand img { height: 72px; width: auto; max-width: 100%; display: block; }
.nav { display: flex; align-items: center; gap: 0.08rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.4rem 0.42rem;
    border-radius: 999px;
}
.nav a .fa-solid { color: var(--gold); font-size: 0.82em; width: 1.05em; text-align: center; }
.nav a:hover, .nav a.is-active { color: var(--red); background: rgba(155, 27, 46, 0.08); }
.nav a:hover .fa-solid, .nav a.is-active .fa-solid { color: var(--red); }
.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
}
.nav-toggle .fa-solid { color: var(--red); }

.hero {
    position: relative;
    color: var(--cream);
    background:
        radial-gradient(circle at 15% 20%, rgba(198, 161, 91, 0.22), transparent 32%),
        linear-gradient(155deg, var(--red-dark), var(--red) 58%, #7a1526);
    padding: 3.5rem 0 4rem;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(198, 161, 91, 0.45);
    border-radius: 18px;
    pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-frame {
    display: inline-block;
    max-width: min(760px, 100%);
    margin-bottom: 0.4rem;
}
.hero-frame img { display: block; width: 100%; height: auto; }
.hero-text {
    max-width: 40rem;
    margin: 0.4rem auto 1.3rem;
    font-size: 1.2rem;
}
.hero-actions { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }

.kicker {
    margin: 0 0 0.35rem;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.kicker-light, .page-hero .kicker { color: var(--gold-soft); }
.page-hero .kicker a { color: var(--gold-soft); }

.page-hero {
    background: linear-gradient(155deg, var(--red-dark), var(--red));
    color: var(--cream);
    padding: 1.45rem 0 1.2rem;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0; }
.page-hero .lead { max-width: 38rem; margin: 0.4rem 0 0; color: rgba(250, 246, 241, 0.88); }
.page-hero .btn { margin-top: 1rem; }

.article-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 1.55rem;
    border-bottom: 1px solid rgba(198, 161, 91, 0.5);
    background:
        radial-gradient(circle at 92% 0%, rgba(198, 161, 91, 0.28), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(198, 161, 91, 0.14), transparent 28%),
        linear-gradient(155deg, var(--red-dark), var(--red) 62%, #7a1526);
}
.article-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
}
.crumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.crumb a { color: var(--gold-soft); text-decoration: none; }
.crumb a:hover { color: white; }
.crumb .fa-chevron-right { color: var(--gold); font-size: 0.55rem; }
.article-facts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.article-date, .article-views {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.22rem 0.75rem 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(231, 211, 161, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-soft);
    font-size: 0.95rem;
}
.article-date i, .article-views i { color: var(--gold); }
.article-hero h1 {
    max-width: 16em;
    font-size: clamp(2.15rem, 4.6vw, 3.25rem);
    color: white;
}
.hero-ornament {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.95rem;
}
.hero-ornament span {
    height: 1px;
    width: 4.2rem;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-ornament i {
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}

.section { padding: 1.65rem 0; }
.section-band { background: rgba(155, 27, 46, 0.045); }
.section-red {
    color: var(--cream);
    background:
        radial-gradient(circle at 12% 20%, rgba(198, 161, 91, 0.2), transparent 34%),
        linear-gradient(155deg, var(--red-dark), var(--red) 62%, #7a1526);
}
.section.section-red .kicker { color: var(--gold-soft); }
.section.section-red h2 { color: white; font-size: clamp(1.55rem, 2.4vw, 2.05rem); margin-bottom: 0.45rem; }
.section.section-red .intro-copy { color: rgba(250, 246, 241, 0.92); }
.section.section-red .rule i { background: var(--gold); }
.section h2, .sheet h2, .contact-card h2, .panel h2, .stack h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    margin: 0 0 0.45rem;
    color: var(--red-deep);
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1.2rem;
    align-items: start;
}
.intro-copy { font-size: 1.12rem; color: var(--ink); }

.rule { display: flex; align-items: center; gap: 0.55rem; margin: 0.8rem 0 0; }
.rule span { height: 1px; width: 3.2rem; background: var(--gold); display: block; }
.rule i {
    width: 8px;
    height: 8px;
    background: var(--red);
    transform: rotate(45deg);
    display: block;
}

.grid { display: grid; gap: 0.75rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stack { display: grid; gap: 1.3rem; }

.card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(198, 161, 91, 0.28);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.card-media { display: block; aspect-ratio: 3 / 1; background: var(--red-deep); }
.card-media img, .card-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media.is-full { aspect-ratio: auto; background: #f3ece6; }
.card-media.is-full img { height: auto; object-fit: contain; }
.card-fallback {
    background:
        radial-gradient(circle at 50% 42%, rgba(198, 161, 91, 0.45), transparent 36%),
        linear-gradient(160deg, var(--red-dark), var(--red));
}
.card-body { padding: 0.7rem 0.85rem 0.8rem; }
.card h3 { font-size: 1.35rem; margin: 0 0 0.25rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card p { color: var(--muted); margin-bottom: 0.35rem; }
.meta { font-size: 0.92rem; color: var(--red-deep) !important; font-weight: 600; margin-bottom: 0; }

.photo-strip, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}
.photo-strip a, .gallery-grid a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
    background: var(--red-dark);
}
.photo-strip img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; }

.sheet {
    width: min(760px, 100%);
    margin: 0 auto;
    background: var(--paper);
    border-radius: 20px;
    padding: clamp(1rem, 2vw, 1.5rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(198, 161, 91, 0.25);
}
.cover { width: 100%; border-radius: 16px; margin: 0 0 1.2rem; max-height: 460px; object-fit: cover; }
.article-photo,
.rich img {
    float: left;
    width: min(210px, 38%);
    max-width: 38%;
    height: auto;
    max-height: none;
    margin: 0.15rem 1rem 0.5rem 0;
    border-radius: 14px;
    object-fit: contain;
    background: #f3ece6;
    cursor: zoom-in;
}
.article-photo .cover {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    border-radius: 14px;
    object-fit: contain;
    background: #f3ece6;
}
.rich p:has(> img:only-child) { margin: 0; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 1rem;
    align-items: start;
}
.article-layout .sheet { width: 100%; margin: 0; }
.article-side {
    position: sticky;
    top: 7.2rem;
    background: var(--paper);
    border: 1px solid rgba(198, 161, 91, 0.28);
    border-radius: 20px;
    padding: 0.9rem;
    box-shadow: var(--shadow);
}
.article-side form { margin: 0; }
.article-side h2 { font-size: 1.35rem; margin: 0.85rem 0 0.5rem; }
.vote-actions { display: flex; gap: 0.4rem; }
.vote-actions .like-button { width: auto; padding: 0.55rem 0.7rem; white-space: nowrap; }
.like-button span {
    min-width: 1.3rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: rgba(155, 27, 46, 0.08);
    font-size: 0.85rem;
}
.like-button.is-liked { color: var(--red); border-color: var(--red); }
.like-button.is-liked i { color: var(--red); }
.like-button.is-disliked { color: var(--ink); border-color: var(--ink); }
.like-button.is-disliked i { color: var(--red-deep); }
.share-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    padding: 0;
    background: white;
    cursor: pointer;
}
.share-link:hover { background: var(--cream); color: var(--red-deep); }
.share-link i { font-size: 1rem; }
.share-link .fa-facebook-f { color: #1877f2; }
.share-link .fa-whatsapp { color: #25d366; }
.share-link .fa-telegram { color: #229ed9; }
.share-link .fa-x-twitter { color: #111; }
.share-link .fa-viber { color: #7360f2; }
.share-link .fa-linkedin-in { color: #0a66c2; }
.toast-stack {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 90;
    display: grid;
    gap: 0.5rem;
    width: min(360px, calc(100% - 2rem));
}
.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 0.7rem 0.75rem 0.85rem;
    border-radius: 14px;
    background: white;
    box-shadow: 0 16px 40px rgba(74, 13, 22, 0.16);
    border: 1px solid var(--line);
    animation: toast-in 0.28s ease;
}
.toast p { margin: 0; flex: 1; }
.toast-success { border-color: #b7e4c7; }
.toast-success i { color: #1b7a3a; }
.toast-error { border-color: #f3c1c6; }
.toast-error i { color: var(--red); }
.toast-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.toast.is-out { opacity: 0; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}
.comments { clear: both; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.comments h2 { font-size: 1.7rem; }
.comment-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.65rem; }
.comment {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
}
.comment strong { display: block; }
.comment time { color: var(--muted); font-size: 0.85rem; }
.comment p { margin: 0.35rem 0 0; white-space: pre-wrap; }
.comment-form label { display: block; font-weight: 700; margin: 0.75rem 0 0.3rem; }
.comment-form input, .comment-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
}
.rich { overflow-wrap: break-word; }
.rich p { margin: 0 0 1rem; }
.rich iframe, .rich video, .rich embed { max-width: 100%; }
.rich pre { max-width: 100%; overflow-x: auto; }
.rich table { width: 100%; }
.rich h2, .rich h3 { color: var(--red-deep); margin: 1.4rem 0 0.5rem; }
.rich a { font-weight: 700; }
.rich ul, .rich ol { margin: 0 0 1rem 1.2rem; padding: 0; }
.rich blockquote {
    margin: 0 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
    color: var(--muted);
}
.rich em { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.filters a {
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    color: var(--red-deep);
    background: white;
    font-weight: 600;
}
.filters a.is-active, .filters a:hover { background: var(--red); color: white; border-color: var(--red); }

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
.pager a {
    min-width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    text-decoration: none;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--red-deep);
    font-weight: 700;
}
.pager a.is-active { background: var(--red); color: white; border-color: var(--red); }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.3rem; align-items: start; }
.contact-card, .form-card, .panel {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(198, 161, 91, 0.25);
}
.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.contact-list span {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}
.form-card label, .stack-form label, .auth-card label { display: block; font-weight: 700; margin: 0.85rem 0 0.3rem; }
.form-card input, .form-card textarea, .stack-form input, .stack-form textarea, .stack-form select, .auth-card input {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex !important; align-items: center; gap: 0.5rem; font-weight: 600 !important; }
.check input { width: auto; }
.form-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--red);
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
}
.btn:hover { background: var(--red-deep); }
.btn-gold { background: var(--gold); color: var(--red-dark); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-light { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-light:hover { background: white; color: var(--red-dark); }
.btn-ghost { background: white; color: var(--red-deep); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--cream); }
.btn-danger { background: #8d1d1d; }

.alert { padding: 0.8rem 0.95rem; border-radius: 12px; margin: 0 0 1rem; }
.alert-success { background: #e7f6ec; color: #14532d; }
.alert-error { background: #fde8ea; color: var(--red-deep); }
.empty {
    background: white;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    color: var(--muted);
    border: 1px dashed var(--line);
}

.site-footer {
    color: rgba(250, 246, 241, 0.9);
    background:
        radial-gradient(circle at 0% 0%, rgba(198, 161, 91, 0.16), transparent 32%),
        linear-gradient(180deg, #641422 0%, var(--red-dark) 28%, #3a0a11 100%);
    padding: 0 0 0.85rem;
}
.footer-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem 0;
}
.footer-ornament span {
    height: 1px;
    width: min(160px, 18vw);
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-ornament i {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr 1.15fr;
    gap: 1.4rem 2rem;
    padding-top: 1.15rem;
    align-items: start;
}
.footer-logo {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    background: var(--paper);
    border-radius: 18px;
    padding: 0.55rem 0.85rem 0.4rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.footer-logo img { width: 250px; max-width: 100%; display: block; }
.footer-motto {
    margin: 0.75rem 0 0;
    max-width: 18rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--gold-soft);
}
.site-footer h2 {
    color: white;
    font-size: 1.45rem;
    margin: 0 0 0.75rem;
}
.site-footer h2::after {
    content: "";
    display: block;
    width: 2.4rem;
    height: 2px;
    margin-top: 0.4rem;
    background: var(--gold);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.28rem 0.8rem;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.12rem 0;
}
.footer-links .fa-solid { width: 1.05em; color: var(--gold); font-size: 0.82em; text-align: center; }
.footer-links a:hover .fa-solid { color: white; }
.footer-contact { display: grid; gap: 0.65rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact > li > .fa-solid {
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(198, 161, 91, 0.16);
    color: var(--gold);
    font-size: 0.72rem;
}
.footer-contact small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}
.footer-contact a, .footer-contact span { color: var(--cream); }
.socials { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.9rem 0 0; }
.socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(198, 161, 91, 0.45);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.9rem;
}
.socials a:hover { background: rgba(255, 255, 255, 0.08); }
.footer-base {
    margin-top: 1.15rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(198, 161, 91, 0.28);
    font-size: 0.88rem;
    color: rgba(250, 246, 241, 0.72);
}
.footer-base p { margin: 0; }
.diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(28, 18, 20, 0.88);
    display: grid;
    place-items: center;
    z-index: 80;
    padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; border-radius: 12px; }
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: white;
    color: var(--red-dark);
    font-size: 1.6rem;
    cursor: pointer;
}
body.lightbox-open { overflow: hidden; }

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.4rem;
    background:
        radial-gradient(circle at 80% 0%, rgba(198, 161, 91, 0.25), transparent 28%),
        linear-gradient(160deg, var(--red-dark), var(--red));
}
.auth-card {
    width: min(440px, 100%);
    background: var(--paper);
    border-radius: 28px;
    padding: 1.8rem 1.4rem 1.5rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.auth-card img { width: 92px; height: 92px; object-fit: cover; border-radius: 50%; }
.auth-card h1 { margin: 0.6rem 0 0.2rem; color: var(--red-deep); font-size: 2.6rem; }
.auth-card form { text-align: left; }
.auth-card .btn { width: 100%; margin-top: 1rem; }
.hint { color: var(--muted); font-size: 0.92rem; text-align: left; margin-top: 1rem; }

.admin-body { background: #f3ece8; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side {
    background: var(--red-dark);
    color: var(--cream);
    padding: 1.2rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: white;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.35rem;
    padding: 0.2rem 0.4rem 0.6rem;
}
.admin-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: white; }
.admin-nav { display: grid; gap: 0.25rem; }
.admin-nav a {
    color: rgba(250, 246, 241, 0.88);
    text-decoration: none;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.admin-nav a span { display: inline-flex; align-items: center; gap: 0.55rem; }
.admin-nav a .fa-solid { width: 1.15em; color: var(--gold); text-align: center; }
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(255, 255, 255, 0.1); color: white; }
.admin-nav a:hover .fa-solid, .admin-nav a.is-active .fa-solid { color: var(--gold-soft); }
.badge {
    background: var(--gold);
    color: var(--red-dark);
    border-radius: 999px;
    min-width: 1.4rem;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.05rem 0.4rem;
}
.logout-form { margin-top: auto; }
.logout-form button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: transparent;
    color: var(--gold-soft);
    border: 1px solid rgba(198, 161, 91, 0.4);
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    cursor: pointer;
}
.admin-top a { display: inline-flex; align-items: center; gap: 0.4rem; }
.admin-top a .fa-solid { font-size: 0.85em; }
.admin-main { min-width: 0; }
.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--paper);
    border-bottom: 3px solid var(--red);
}
.admin-top h1 { margin: 0; font-size: 2.3rem; color: var(--red-deep); }
.admin-top a { font-weight: 700; }
.admin-content { padding: 1.3rem; }
.toolbar { margin-bottom: 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.stat {
    background: white;
    border-radius: 18px;
    padding: 1rem;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid rgba(198, 161, 91, 0.3);
}
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.stat small { display: block; margin-top: 0.45rem; color: var(--muted); font-size: 0.82rem; line-height: 1.3; }
.stat small.is-up { color: #1d6b3a; }
.stat small.is-down { color: var(--red); }
.period-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.period-nav a {
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
}
.period-nav a.is-active, .period-nav a:hover { background: var(--red); color: white; border-color: var(--red); }
.admin-content .panel { margin-bottom: 0.8rem; }
.admin-content .panel h2 { margin: 0; font-size: 1.7rem; }
.stats-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }
.stats-columns-3 { grid-template-columns: repeat(3, 1fr); }
.stats-columns .panel { margin-bottom: 0; }
.meter-list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.7rem; font-size: 0.95rem; }
.meter-top span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meter-top strong { font-variant-numeric: tabular-nums; }
.meter { height: 8px; background: rgba(155, 27, 46, 0.08); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 999px; }
.trend-scroll { overflow-x: auto; }
.trend { display: flex; align-items: flex-end; gap: 3px; min-height: 180px; padding-top: 0.6rem; }
.trend.is-long { min-width: 760px; }
.trend-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.trend-bars { height: 148px; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.trend-bars span { display: block; width: 42%; max-width: 10px; border-radius: 4px 4px 0 0; }
.trend-views { background: var(--red); }
.trend-visitors { background: var(--gold); }
.trend-col small { display: block; height: 1.7rem; margin-top: 0.25rem; font-size: 0.68rem; line-height: 1.15; color: var(--muted); text-align: center; }
.trend-legend { display: flex; gap: 1rem; margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9rem; }
.trend-legend i { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: 0.3rem; vertical-align: -1px; }
.swatch-views { background: var(--red); }
.swatch-visitors { background: var(--gold); }
.path-sub { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.stats-note { color: var(--muted); font-size: 0.92rem; margin: 0.2rem 0 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.panel-head, .message-view form { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.table-wrap { overflow-x: auto; background: white; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
tr.is-unread td { font-weight: 700; }
.actions { display: flex; gap: 0.7rem; align-items: center; white-space: nowrap; }
.actions form { margin: 0; }
.actions button, .admin-photos button {
    background: none;
    border: 0;
    color: var(--red);
    cursor: pointer;
    font-weight: 700;
    padding: 0;
}
.editor-bar { display: flex; justify-content: flex-end; margin: 0.35rem 0 0.45rem; }
.editor-source-toggle { padding: 0.4rem 0.85rem; font-size: 0.92rem; }
.quill-holder[hidden], .html-source[hidden] { display: none; }
.html-source {
    min-height: 320px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
}
.stack-form { max-width: 820px; }
.stack-form h2 { margin-top: 1.4rem; }
.narrow { max-width: 480px; }
.current-file img { width: 160px; border-radius: 12px; }
.admin-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1rem 0; }
.admin-photos figure {
    margin: 0;
    background: white;
    border-radius: 16px;
    padding: 0.6rem;
    border: 1px solid var(--line);
}
.admin-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.ql-toolbar, .ql-container { border-color: var(--line) !important; background: white; border-radius: 12px; }
.ql-toolbar { border-radius: 12px 12px 0 0; }
.ql-container { border-radius: 0 0 12px 12px; min-height: 220px; font-size: 1.05rem; }
.message-body { margin: 1rem 0; white-space: pre-wrap; }

@media (max-width: 1100px) {
    .stats-columns-3 { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .grid-3, .stat-grid, .footer-grid, .admin-photos { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.25rem; }
    .footer-motto { margin: 0; }
    .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .topbar { font-size: 0.84rem; }
    .topbar-inner { min-height: 40px; gap: 0.65rem; }
    .topbar a { flex: none; font-weight: 700; padding: 0.45rem 0; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-side {
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem 1rem;
    }
    .article-side h2 { width: 100%; margin: 0.15rem 0 0; font-size: 1.2rem; }
    .vote-actions { flex: 1 1 16rem; flex-wrap: wrap; }
    .vote-actions .like-button { flex: 1 1 9rem; justify-content: center; min-height: 44px; white-space: normal; }
    .nav-toggle { display: inline-flex; flex: 0 0 auto; min-height: 44px; }
    .header-inner { min-height: 76px; gap: 0.65rem; }
    .brand img { height: auto; max-height: 58px; max-width: calc(100% - 0.25rem); }
    body.nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(28, 18, 20, 0.45);
        z-index: 25;
    }
    .nav {
        display: none;
        position: absolute;
        z-index: 40;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 0.4rem;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .nav a { min-height: 48px; padding: 0.7rem 0.9rem; font-size: 1.05rem; border-radius: 12px; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { position: sticky; top: 0; z-index: 20; padding: 0.75rem 0.75rem 0.65rem; gap: 0.55rem; }
    .admin-brand { font-size: 1.2rem; padding: 0.1rem 0.25rem 0.15rem; }
    .admin-nav {
        display: flex;
        overflow-x: auto;
        gap: 0.35rem;
        margin: 0 -0.75rem;
        padding: 0 0.75rem 0.2rem;
        scrollbar-width: none;
    }
    .admin-nav::-webkit-scrollbar { display: none; }
    .admin-nav a { white-space: nowrap; min-height: 44px; }
    .logout-form { margin-top: 0; }
    .logout-form button { width: auto; min-height: 44px; }
    .admin-top { padding: 0.85rem 1rem; }
    .admin-top h1 { font-size: clamp(1.55rem, 5vw, 2rem); }
    .admin-content { padding: 0.9rem; }
    .ql-toolbar { overflow-x: auto; }
    .hero::before { inset: 8px; }
    .form-card input, .form-card textarea, .comment-form input, .comment-form textarea,
    .stack-form input, .stack-form textarea, .stack-form select, .auth-card input {
        font-size: 16px;
    }
}
@media (max-width: 640px) {
    .container { width: min(1120px, calc(100% - 1.25rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
    .grid-4, .grid-3, .grid-2, .footer-grid, .form-row, .stats-columns { grid-template-columns: 1fr; }
    .gallery-grid, .photo-strip, .stat-grid, .admin-photos { grid-template-columns: 1fr 1fr; }
    .footer-base, .admin-top { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    .footer-base { align-items: center; text-align: center; }
    .footer-brand { display: block; }
    .footer-motto { margin: 0.75rem 0 0; }
    .section { padding: 1.35rem 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    .page-hero { padding: 1.2rem 0 1rem; }
    .page-hero h1, .article-hero h1 { overflow-wrap: break-word; }
    .page-hero.article-hero { padding: 1.35rem 0 1.15rem; }
    .article-hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); max-width: none; }
    .article-photo, .rich img {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 0.9rem;
    }
    .article-photo .cover { max-height: min(72vw, 320px); object-fit: contain; }
    .contact-list a, .footer-contact a, .rich a, .comment p { overflow-wrap: anywhere; }
    .cover { max-height: 260px; border-radius: 12px; }
    .sheet, .contact-card, .form-card, .panel { padding: 0.9rem 0.85rem; border-radius: 16px; }
    .btn { min-height: 48px; }
    .form-card .btn, .comment-form .btn, .auth-card .btn { width: 100%; }
    .filters a { display: inline-flex; align-items: center; min-height: 40px; }
    .pager a { min-width: 2.75rem; height: 2.75rem; }
    .share-link { width: 2.75rem; height: 2.75rem; }
    .socials a { min-height: 44px; padding: 0.4rem 0.85rem; }
    .footer-links a { min-height: 36px; }
    .site-footer { padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px)); }
    .lightbox { padding: max(3.2rem, calc(env(safe-area-inset-top, 0px) + 2.6rem)) 0.75rem max(1rem, env(safe-area-inset-bottom, 0px)); }
    .lightbox img { max-height: calc(100dvh - 5.5rem); border-radius: 8px; }
    .lightbox-close {
        top: max(0.65rem, env(safe-area-inset-top, 0px));
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        width: 2.75rem;
        height: 2.75rem;
    }
    .toast-stack { top: max(0.75rem, env(safe-area-inset-top, 0px)); right: max(0.75rem, env(safe-area-inset-right, 0px)); }
    .auth-card { padding: 1.35rem 1rem 1.15rem; border-radius: 22px; }
    .auth-card h1 { font-size: 2.15rem; }
    .panel-head, .message-view form { flex-direction: column; align-items: flex-start; }
    .stat { padding: 0.75rem; }
    .stat strong { font-size: 1.85rem; }
    th, td { padding: 0.6rem 0.65rem; }
    .actions { flex-wrap: wrap; white-space: normal; }
    .intro-copy { font-size: 1.05rem; }
}
@media (max-width: 380px) {
    .header-inner { min-height: 68px; }
    .brand img { max-height: 48px; }
    .nav-toggle { padding: 0.4rem 0.7rem; }
    .stat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Public redesign — inspired by the approved Doina Carașului concept */
.public-body {
    --wine: #65131d;
    --wine-deep: #371014;
    --wine-bright: #a50f25;
    --ivory: #f8f2e8;
    --ivory-deep: #eee2d0;
    --charcoal: #221719;
    --antique-gold: #c9a457;
    --antique-gold-light: #ecd59e;
    margin: 0;
    color: var(--charcoal);
    background: var(--ivory);
    font-family: var(--sans);
}
.public-body .container { width: min(1180px, calc(100% - 3rem)); }
.public-body h1,
.public-body h2,
.public-body h3 { font-family: var(--serif); }
.public-body a { transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }

.public-body .topbar {
    min-height: 34px;
    background: var(--wine);
    color: rgba(255, 249, 239, 0.92);
    font-size: 0.78rem;
}
.public-body .topbar-inner { min-height: 34px; }
.public-body .topbar-contact,
.public-body .topbar-socials {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}
.public-body .topbar-contact a,
.public-body .topbar-contact span,
.public-body .topbar-socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: inherit;
    text-decoration: none;
}
.public-body .topbar-contact .fa-solid { color: var(--antique-gold-light); }
.public-body .topbar-socials { gap: 0.85rem; font-size: 0.88rem; }
.public-body .topbar-socials a:hover { color: white; transform: translateY(-1px); }

.public-body .sticky-head { top: 0; z-index: 60; }
.public-body .site-header {
    background: rgba(255, 252, 247, 0.97);
    border: 0;
    box-shadow: 0 1px 0 rgba(101, 19, 29, 0.08);
    backdrop-filter: blur(14px);
}
.public-body .header-inner { min-height: 86px; }
.public-body .brand img { width: 300px; height: auto; max-height: 72px; object-fit: contain; }
.public-body .nav { gap: clamp(0.5rem, 1.5vw, 1.45rem); }
.public-body .nav a {
    position: relative;
    padding: 0.75rem 0.05rem;
    border-radius: 0;
    color: #2b2324;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.public-body .nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.42rem;
    left: 0;
    height: 2px;
    background: var(--wine-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.public-body .nav a:hover,
.public-body .nav a.is-active { color: var(--wine-bright); background: transparent; }
.public-body .nav a:hover::after,
.public-body .nav a.is-active::after { transform: scaleX(1); }
.public-body .nav-toggle {
    color: var(--wine);
    border-color: rgba(101, 19, 29, 0.2);
    background: var(--ivory);
}

.home-hero {
    position: relative;
    min-height: clamp(530px, 48vw, 700px);
    overflow: hidden;
    color: white;
    background: var(--wine-deep);
}
.home-hero-media,
.home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-hero-media { object-fit: cover; object-position: center 44%; }
.home-hero-shade {
    background:
        linear-gradient(90deg, rgba(40, 7, 12, 0.91) 0%, rgba(73, 10, 20, 0.72) 34%, rgba(73, 10, 20, 0.22) 62%, rgba(21, 12, 8, 0.08) 100%),
        linear-gradient(0deg, rgba(41, 8, 13, 0.5), transparent 48%);
}
.home-hero-inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding-top: 5rem;
    padding-bottom: clamp(3.2rem, 6vw, 5.8rem);
}
.home-hero-copy { width: min(760px, 67%); }
.hero-kicker {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 0 0.9rem;
    color: var(--antique-gold-light);
    font-family: var(--serif);
    font-size: clamp(0.82rem, 1.3vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.hero-kicker span { width: 3rem; height: 1px; background: var(--antique-gold); }
.hero-kicker span:last-child { display: none; }
.home-hero h1 {
    max-width: 760px;
    margin: 0 0 1.45rem;
    color: #fffaf1;
    font-size: clamp(3.4rem, 6vw, 6.3rem);
    line-height: 0.88;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.24);
}
.public-body .hero-actions { justify-content: flex-start; gap: 0.75rem; }
.public-body .btn {
    min-height: 46px;
    padding: 0.72rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1;
}
.public-body .btn .fa-solid { font-size: 0.78em; margin-left: 0.35rem; }
.public-body .btn-primary { background: var(--wine-bright); color: white; }
.public-body .btn-primary:hover { background: #c20f2c; transform: translateY(-2px); }
.public-body .btn-outline { color: #fffaf1; background: rgba(35, 10, 13, 0.18); border-color: rgba(236, 213, 158, 0.76); }
.public-body .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: white; transform: translateY(-2px); }
.public-body .btn-gold { background: var(--antique-gold-light); color: var(--wine-deep); border-color: rgba(255, 255, 255, 0.3); }
.public-body .btn-gold:hover { background: white; transform: translateY(-2px); }

.home-intro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 50%, rgba(201, 164, 87, 0.09), transparent 31%),
        var(--ivory);
    border-bottom: 1px solid rgba(101, 19, 29, 0.08);
}
.home-intro-grid {
    min-height: 250px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1.22fr) minmax(260px, 0.78fr);
    align-items: center;
    gap: 2.3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.home-intro-emblem { display: grid; place-items: center; }
.home-intro-emblem img { width: 180px; filter: drop-shadow(0 12px 22px rgba(79, 13, 23, 0.12)); }
.eyebrow {
    margin: 0 0 0.25rem;
    color: var(--antique-gold);
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.home-intro-copy { position: relative; z-index: 2; }
.home-intro-copy h2 {
    margin: 0 0 0.55rem;
    color: var(--wine);
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.9;
    text-transform: uppercase;
}
.home-intro-copy > p:last-child { max-width: 650px; margin: 0; color: #4a4142; line-height: 1.55; }
.home-intro-landscape {
    align-self: stretch;
    margin-right: calc((100vw - min(1180px, calc(100vw - 3rem))) / -2);
    background:
        linear-gradient(90deg, var(--ivory) 0%, rgba(248, 242, 232, 0.35) 30%, rgba(248, 242, 232, 0.05) 100%),
        url("../img/hero-ensemble.jpg") center / cover no-repeat;
    filter: grayscale(1) sepia(0.35);
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 24%);
    mask-image: linear-gradient(90deg, transparent, black 24%);
}

.home-showcase { display: grid; grid-template-columns: 1.06fr 0.94fr; min-height: 405px; }
.showcase-tradition {
    position: relative;
    color: white;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.035) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(315deg, rgba(255,255,255,0.035) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(135deg, #7f0d1f, #4c0b14);
}
.showcase-tradition::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 30px;
    background:
        repeating-linear-gradient(0deg, transparent 0 8px, rgba(236, 213, 158, 0.26) 8px 9px),
        repeating-linear-gradient(45deg, transparent 0 7px, rgba(236, 213, 158, 0.18) 7px 9px);
    border-right: 1px solid rgba(236, 213, 158, 0.25);
}
.showcase-journal { position: relative; overflow: hidden; background: var(--ivory); }
.showcase-journal-media,
.showcase-journal-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.showcase-journal-media { object-fit: cover; object-position: 76% center; }
.showcase-journal-shade {
    background: linear-gradient(90deg, #fbf6ed 0%, rgba(251,246,237,0.98) 47%, rgba(251,246,237,0.62) 67%, rgba(251,246,237,0.08) 100%);
}
.showcase-inner { position: relative; z-index: 2; padding: 2rem clamp(1.5rem, 4vw, 4.5rem); }
.showcase-inner-left { width: min(690px, 100%); margin-left: auto; }
.showcase-inner-right { width: min(640px, 100%); margin-right: auto; padding-left: clamp(2rem, 4.5vw, 5rem); }
.showcase-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.showcase-head h2,
.gallery-head h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(2rem, 3vw, 3rem);
    text-transform: uppercase;
}
.showcase-head a,
.gallery-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    border: 1px solid rgba(236, 213, 158, 0.55);
    border-radius: 7px;
    padding: 0.45rem 0.75rem;
    color: var(--antique-gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}
.showcase-head a:hover { background: rgba(255,255,255,0.08); color: white; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.story-card {
    position: relative;
    min-height: 275px;
    overflow: hidden;
    border: 1px solid rgba(236, 213, 158, 0.7);
    border-radius: 8px;
    color: white;
}
.story-card img,
.story-card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-card img { object-fit: cover; transition: transform 0.45s ease; }
.story-card-shade { background: linear-gradient(0deg, rgba(42, 4, 10, 0.96), rgba(42, 4, 10, 0.08) 72%); }
.story-card-kicker {
    position: absolute;
    right: 4.2rem;
    bottom: 3.05rem;
    left: 1rem;
    color: var(--antique-gold-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.story-card-title {
    position: absolute;
    right: 4.2rem;
    bottom: 1rem;
    left: 1rem;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1;
}
.story-card-icon {
    position: absolute;
    right: 1rem;
    bottom: 0.85rem;
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--antique-gold-light);
    border-radius: 50%;
    color: var(--antique-gold-light);
}
.story-card:hover img { transform: scale(1.045); }
.story-card:hover .story-card-icon { background: var(--antique-gold-light); color: var(--wine-deep); }
.showcase-empty { color: rgba(255,255,255,0.8); }
.showcase-inner-right .eyebrow { margin-top: 0.1rem; }
.showcase-inner-right h2 {
    max-width: 16em;
    margin: 0.15rem 0 0.75rem;
    color: var(--wine);
    font-size: clamp(1.55rem, 2vw, 2.05rem);
    line-height: 1.15;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.journal-meta { display: flex; align-items: center; gap: 0.65rem; margin: 0.45rem 0; font-weight: 700; text-transform: uppercase; }
.journal-meta .fa-regular,
.journal-meta .fa-solid { width: 1.2rem; color: var(--wine-bright); text-align: center; }
.journal-description { max-width: 405px; margin: 0.9rem 0 1.1rem; color: #4c4142; line-height: 1.45; }

.home-gallery { padding: 1.45rem 0 1.65rem; background: #fffaf2; }
.gallery-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.gallery-head h2 { color: var(--wine); white-space: nowrap; }
.gallery-rule { height: 1px; flex: 1; background: linear-gradient(90deg, var(--antique-gold), rgba(201, 164, 87, 0.1)); }
.gallery-head a { color: var(--wine-bright); border-color: rgba(165, 15, 37, 0.35); }
.gallery-head a:hover { color: white; background: var(--wine-bright); }
.home-photo-strip { display: grid; grid-template-columns: 1.05fr 1.4fr 1.05fr 1.05fr 1.05fr 1.05fr; gap: 0.55rem; }
.home-photo-strip a { display: block; min-width: 0; height: 135px; overflow: hidden; border-radius: 6px; background: var(--wine-deep); }
.home-photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease, filter 0.35s ease; }
.home-photo-strip a:hover img { transform: scale(1.05); filter: saturate(1.08); }
.home-photo-strip .illustrative-3 img { object-position: 50% 24%; }
.home-photo-strip .illustrative-5 img { object-position: 74% 35%; }
.home-photo-strip .illustrative-6 img { object-position: 22% 48%; transform: scale(1.5); }
.home-photo-strip .illustrative-6:hover img { transform: scale(1.57); }

.join-band {
    color: #fff8ec;
    background:
        linear-gradient(90deg, rgba(42, 4, 10, 0.2), rgba(101, 19, 29, 0.04) 38% 62%, rgba(42, 4, 10, 0.2)),
        url("../img/folk-floral-band.jpg") center / cover no-repeat,
        var(--wine);
    border-top: 1px solid var(--antique-gold);
    border-bottom: 1px solid rgba(236, 213, 158, 0.45);
}
.join-band-inner { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.join-band h2 { flex: 0 0 auto; margin: 0; color: inherit; font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.join-rule { width: clamp(70px, 11vw, 160px); height: 1px; background: var(--antique-gold); }
.join-band .btn { margin-left: clamp(0.5rem, 3vw, 3rem); }

.public-body .page-hero {
    position: relative;
    overflow: hidden;
    padding: 4.8rem 0 4rem;
    color: #fff9ef;
    background:
        radial-gradient(circle at 84% 20%, rgba(201, 164, 87, 0.18), transparent 28%),
        repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.025) 16px 17px),
        linear-gradient(135deg, var(--wine-deep), var(--wine));
    border-bottom: 3px solid var(--antique-gold);
}
.public-body .page-hero::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -10rem;
    width: 27rem;
    aspect-ratio: 1;
    border: 1px solid rgba(236, 213, 158, 0.16);
    transform: rotate(45deg);
}
.public-body .page-hero .container { position: relative; z-index: 1; }
.public-body .page-hero h1 { color: inherit; font-size: clamp(3.5rem, 7vw, 6.8rem); line-height: 0.9; }
.public-body .page-hero .lead { color: rgba(255,249,239,0.82); font-size: 1.15rem; }
.public-body .section { background: var(--ivory); }
.public-body .section-band { background: #fffaf2; }
.public-body .section-red { background: var(--wine); color: white; }
.public-body .section h2,
.public-body .sheet h2,
.public-body .contact-card h2,
.public-body .panel h2,
.public-body .stack h2 { color: var(--wine); }
.public-body .sheet,
.public-body .contact-card,
.public-body .form-card,
.public-body .panel,
.public-body .card { border-color: rgba(201, 164, 87, 0.32); background: #fffaf4; }
.public-body .card { border-radius: 10px; box-shadow: 0 16px 45px rgba(68, 15, 24, 0.08); }
.public-body .card-media { background: var(--wine); }
.public-body .card-fallback {
    background:
        radial-gradient(circle at 50% 45%, rgba(201,164,87,0.33), transparent 32%),
        repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,0.04) 18px 20px),
        linear-gradient(145deg, var(--wine-deep), var(--wine));
}
.public-body .card h3 a { color: var(--charcoal); }
.public-body .card h3 a:hover { color: var(--wine-bright); }
.public-body .kicker { color: var(--wine-bright); }
.public-body .kicker-light,
.public-body .page-hero .kicker,
.public-body .page-hero .kicker a { color: var(--antique-gold-light); }
.public-body .text-link { color: var(--wine-bright); }
.public-body .filters a.is-active,
.public-body .filters a:hover,
.public-body .pager a.is-active { background: var(--wine); border-color: var(--wine); }

.public-body .site-footer {
    position: relative;
    padding: 2.2rem 0 0;
    color: rgba(255, 248, 238, 0.76);
    background:
        radial-gradient(circle at 78% 15%, rgba(201,164,87,0.08), transparent 26%),
        #211416;
}
.public-body .footer-grid { grid-template-columns: 1.35fr 1.05fr 1.15fr 0.65fr; gap: 2.2rem; align-items: start; }
.public-body .footer-grid.has-no-socials { grid-template-columns: 1.35fr 1.05fr 1.15fr; }
.public-body .footer-brand img { width: min(320px, 100%); max-height: none; }
.public-body .footer-brand p { margin: 0.55rem 0 0; color: rgba(255,248,238,0.68); }
.public-body .site-footer h2 {
    margin: 0 0 0.75rem;
    color: var(--antique-gold-light);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.public-body .site-footer h2::after { display: none; }
.footer-nav-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.public-body .footer-links { display: grid; gap: 0.22rem; }
.public-body .footer-links a { color: rgba(255,248,238,0.8); font-size: 0.88rem; }
.public-body .footer-links a:hover { color: white; }
.footer-contact-compact p { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0 0 0.55rem; font-size: 0.86rem; }
.footer-contact-compact .fa-solid { width: 1rem; margin-top: 0.25rem; color: var(--antique-gold-light); text-align: center; }
.footer-contact-compact a { color: inherit; }
.footer-socials { display: flex; gap: 0.65rem; }
.footer-socials a {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(236,213,158,0.28);
    border-radius: 50%;
    color: var(--antique-gold-light);
}
.footer-socials a:hover { color: var(--wine-deep); background: var(--antique-gold-light); }
.public-body .footer-base {
    margin-top: 1.5rem;
    padding: 0.8rem 0 0.9rem;
    border-top-color: rgba(236,213,158,0.18);
    color: rgba(255,248,238,0.55);
    font-size: 0.77rem;
}
.footer-divider { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(236,213,158,0.32), transparent); }

@media (max-width: 1080px) {
    .public-body .brand img { width: 250px; }
    .public-body .nav { gap: 0.85rem; }
    .public-body .nav a { font-size: 0.86rem; }
    .home-intro-grid { grid-template-columns: 170px 1fr 240px; gap: 1.5rem; }
    .home-intro-emblem img { width: 150px; }
    .home-showcase { grid-template-columns: 1fr; }
    .showcase-inner-left,
    .showcase-inner-right { width: min(880px, 100%); margin: 0 auto; padding: 2.5rem 3rem; }
    .showcase-journal { min-height: 420px; }
    .home-photo-strip { grid-template-columns: repeat(3, 1fr); }
    .home-photo-strip a { height: 180px; }
    .public-body .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-follow { grid-column: 3; }
}

@media (max-width: 860px) {
    .public-body .container { width: min(100% - 2rem, 720px); }
    .public-body .header-inner { min-height: 76px; }
    .public-body .brand img { width: 230px; height: auto; max-width: 68vw; }
    .public-body .nav {
        top: calc(100% + 1px);
        border-radius: 0 0 12px 12px;
        border-top: 0;
        padding: 0.8rem;
    }
    .public-body .nav a { padding: 0.65rem 0.75rem; }
    .public-body .nav a::after { display: none; }
    .public-body .nav a:hover,
    .public-body .nav a.is-active { color: white; background: var(--wine); border-radius: 7px; }
    .home-hero { min-height: 610px; }
    .home-hero-media { object-position: 61% center; }
    .home-hero-shade { background: linear-gradient(90deg, rgba(49,7,13,0.9), rgba(64,8,17,0.5) 70%, rgba(20,8,8,0.12)); }
    .home-hero-copy { width: min(630px, 88%); }
    .home-hero h1 { font-size: clamp(3.7rem, 10vw, 5.6rem); }
    .home-intro-grid { grid-template-columns: 150px 1fr; min-height: 0; }
    .home-intro-landscape { display: none; }
    .home-photo-strip { grid-template-columns: repeat(2, 1fr); }
    .join-band-inner { flex-wrap: wrap; padding-top: 1.3rem; padding-bottom: 1.3rem; }
    .join-rule { display: none; }
    .join-band .btn { margin-left: 1rem; }
    .public-body .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-follow { grid-column: auto; }
}

@media (max-width: 640px) {
    .join-band {
        background:
            linear-gradient(90deg, rgba(42, 4, 10, 0.2), rgba(101, 19, 29, 0.04) 38% 62%, rgba(42, 4, 10, 0.2)),
            url("../img/folk-floral-band.jpg") center / 100% auto no-repeat,
            var(--wine);
    }
    .public-body .topbar-inner { flex-direction: row; align-items: center; }
    .public-body .topbar-contact { width: 100%; justify-content: space-between; gap: 0.65rem; }
    .public-body .topbar-contact span { max-width: 53%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .public-body .topbar-socials { display: none; }
    .home-hero { min-height: 580px; }
    .home-hero-inner { align-items: flex-end; padding-bottom: 2.4rem; }
    .home-hero-copy { width: 100%; }
    .hero-kicker { max-width: 90%; font-size: 0.75rem; line-height: 1.4; }
    .hero-kicker span { width: 2rem; }
    .home-hero h1 { font-size: clamp(3.1rem, 15vw, 4.3rem); line-height: 0.91; }
    .public-body .hero-actions { flex-direction: column; align-items: flex-start; }
    .home-intro-grid { grid-template-columns: 1fr; text-align: center; padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .home-intro-emblem img { width: 140px; }
    .home-intro-copy > p:last-child { font-size: 0.98rem; }
    .showcase-inner-left,
    .showcase-inner-right { padding: 2rem 1rem; }
    .showcase-head { align-items: flex-start; }
    .showcase-head h2 { max-width: 55%; font-size: 2rem; }
    .showcase-head a { text-align: right; }
    .story-grid { grid-template-columns: 1fr; }
    .story-card { min-height: 300px; }
    .showcase-journal { min-height: 510px; }
    .showcase-journal-media { object-position: 68% center; }
    .showcase-journal-shade { background: linear-gradient(90deg, #fbf6ed 0%, rgba(251,246,237,0.96) 72%, rgba(251,246,237,0.4) 100%); }
    .showcase-inner-right h2 { max-width: 16em; }
    .journal-description { max-width: 85%; }
    .gallery-head { flex-wrap: wrap; }
    .gallery-head h2 { width: 100%; white-space: normal; font-size: 2.15rem; }
    .home-photo-strip { grid-template-columns: 1fr 1fr; }
    .home-photo-strip a { height: 135px; }
    .join-band-inner { justify-content: space-between; }
    .join-band h2 { font-size: 2.7rem; }
    .join-band .btn { margin-left: 0; }
    .public-body .page-hero { padding: 3.4rem 0 3rem; }
    .public-body .footer-grid { grid-template-columns: 1fr; }
    .public-body .footer-brand img { width: 280px; }
    .footer-nav-columns { max-width: 300px; }
    .public-body .footer-base { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
    .footer-divider { display: none; }
}

/* Mobile pass: readable type, 44px taps, no sideways scroll */
@media (max-width: 860px) {
    .public-body .nav-toggle { display: inline-flex; min-height: 44px; flex: 0 0 auto; }
    .public-body .brand { min-width: 0; }
    .public-body .brand img {
        width: auto;
        height: auto;
        max-height: 56px;
        max-width: min(220px, calc(100vw - 8.75rem));
    }
    .public-body .nav { display: none; }
    .public-body .nav.is-open { display: flex; }
    .public-body .nav a {
        min-height: 48px;
        font-size: 1.05rem;
        display: flex;
        align-items: center;
    }
    .public-body .topbar-contact a { min-height: 44px; }
    .article-side { order: -1; }
    .home-hero h1,
    .home-intro-copy h2,
    .showcase-inner-right h2,
    .join-band h2,
    .public-body .page-hero h1 {
        line-height: 1.02;
        overflow-wrap: break-word;
    }
}
@media (max-width: 640px) {
    .public-body .container {
        width: min(720px, calc(100% - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    }
    .home-hero { min-height: clamp(400px, 68dvh, 500px); }
    .home-hero-inner { padding-top: 1.6rem; padding-bottom: 1.5rem; }
    .home-hero-copy { width: 100%; }
    .home-hero h1 { font-size: clamp(2.05rem, 10.5vw, 2.75rem); margin-bottom: 1rem; }
    .hero-kicker { font-size: 0.72rem; letter-spacing: 0.08em; }
    .public-body .hero-actions { width: 100%; align-items: stretch; }
    .public-body .hero-actions .btn { width: 100%; justify-content: center; }
    .home-intro-copy h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .showcase-head { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
    .showcase-head h2 { max-width: none; font-size: clamp(1.65rem, 7.5vw, 2rem); }
    .showcase-head a,
    .gallery-head a { min-height: 44px; text-align: left; }
    .story-card { min-height: 200px; }
    .showcase-journal { min-height: 0; }
    .showcase-inner-right h2 { max-width: none; }
    .journal-description { max-width: none; }
    .gallery-head h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
    .join-band-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.35rem;
        padding-bottom: 1.35rem;
    }
    .join-band h2 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
    .join-band .btn { width: min(100%, 280px); margin-left: 0; justify-content: center; }
    .public-body .page-hero { padding: 1.55rem 0 1.3rem; }
    .public-body .page-hero h1 { font-size: clamp(1.95rem, 9.5vw, 2.6rem); }
    .public-body .page-hero .lead { font-size: 1.02rem; }
    .public-body .footer-links a { min-height: 40px; display: inline-flex; align-items: center; }
    .footer-socials a { width: 2.75rem; height: 2.75rem; }
    .public-body .footer-brand img { width: min(230px, 100%); }
    .public-body .site-footer { padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)); }
    .footer-contact-compact a { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
    .public-body .brand img { max-height: 46px; max-width: calc(100vw - 8.4rem); }
    .public-body .topbar-contact span { display: none; }
    .public-body .topbar-contact { justify-content: flex-start; }
}
