/* ============================================
   LAUWINER EMPIRE — Royal Stylesheet
   Aesthetic: imperial / baroque / heraldic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    /* The imperial palette */
    --burgundy-deep: #4a0f1a;
    --burgundy: #6b1322;
    --burgundy-light: #8a2235;
    --gold-leaf: #c9a961;
    --gold-bright: #d4af37;
    --gold-pale: #e8d59c;
    --gold-dark: #8b7233;
    --ivory: #f4ecd8;
    --ivory-warm: #ebe1c8;
    --parchment: #f7f0dc;
    --ink: #1f1410;
    --ink-soft: #3a2820;
    --shadow-deep: rgba(31, 20, 16, 0.4);

    /* Typography scale */
    --font-royal: 'Cinzel', 'Trajan Pro', serif;
    --font-display: 'Cormorant Garamond', 'EB Garamond', serif;
    --font-body: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--parchment);
    background-image:
        radial-gradient(ellipse at top, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(74, 15, 26, 0.06) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.10 0 0 0 0 0.05 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   TOP RIBBON — language / date strip
   ============================================ */
.top-ribbon {
    background: linear-gradient(180deg, var(--burgundy-deep) 0%, var(--burgundy) 100%);
    color: var(--gold-pale);
    font-family: var(--font-royal);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid var(--gold-dark);
}

.top-ribbon .inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-ribbon .langs a {
    color: var(--gold-pale);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.top-ribbon .langs a:hover,
.top-ribbon .langs a.active {
    color: var(--gold-bright);
}

.top-ribbon .motto {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--gold-leaf);
}

/* ============================================
   MASTHEAD — crown, title, crest
   ============================================ */
.masthead {
    background:
        linear-gradient(180deg, var(--parchment) 0%, var(--ivory-warm) 100%);
    border-bottom: 2px solid var(--gold-leaf);
    position: relative;
    padding: 28px 0 24px;
}

.masthead::before,
.masthead::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold-leaf) 20%,
        var(--gold-bright) 50%,
        var(--gold-leaf) 80%,
        transparent 100%);
}

.masthead::before { top: 0; }
.masthead::after { bottom: -6px; height: 1px; opacity: 0.6; }

.masthead .inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.masthead .crest-left,
.masthead .crest-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.masthead .crest-right { justify-content: flex-end; }

.crest-svg {
    width: 72px;
    height: 80px;
    filter: drop-shadow(0 2px 4px var(--shadow-deep));
}

.masthead .title-block {
    text-align: center;
}

.masthead .eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--burgundy);
    font-size: 16px;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.masthead h1 {
    font-family: var(--font-royal);
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.18em;
    color: var(--ink);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 6px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.masthead h1 .ampersand {
    color: var(--burgundy);
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 400;
    margin: 0 6px;
}

.masthead .sub {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--ink-soft);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.masthead .meta-side {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4;
    text-align: left;
}

.masthead .meta-side.right { text-align: right; }

.masthead .meta-side .label {
    font-family: var(--font-royal);
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--gold-dark);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

/* ============================================
   PRIMARY NAVIGATION
   ============================================ */
.primary-nav {
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
    border-bottom: 1px solid var(--gold-dark);
    box-shadow: 0 2px 8px var(--shadow-deep);
    position: relative;
    z-index: 100;
}

.primary-nav::before,
.primary-nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold-leaf);
    opacity: 0.5;
}
.primary-nav::before { top: 3px; }
.primary-nav::after { bottom: 3px; }

.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 16px 22px;
    color: var(--gold-pale);
    text-decoration: none;
    font-family: var(--font-royal);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s, background 0.3s;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold-bright);
    transition: width 0.4s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-list > li:hover > a {
    color: var(--gold-bright);
    background: rgba(0, 0, 0, 0.15);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after,
.nav-list > li:hover > a::after {
    width: 60%;
}

/* Separators between top-level items */
.nav-list > li:not(:last-child)::after {
    content: '✦';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-dark);
    font-size: 8px;
    pointer-events: none;
}

/* Dropdown submenus */
.nav-list .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 100%);
    border: 1px solid var(--gold-leaf);
    border-top: 3px solid var(--gold-bright);
    min-width: 260px;
    padding: 12px 0;
    box-shadow: 0 12px 28px var(--shadow-deep);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.nav-list > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-list .submenu li a {
    display: block;
    padding: 9px 24px;
    color: var(--ink-soft);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.04em;
    transition: all 0.25s;
    border-left: 2px solid transparent;
}

.nav-list .submenu li a:hover {
    background: rgba(74, 15, 26, 0.06);
    color: var(--burgundy);
    border-left-color: var(--gold-bright);
    padding-left: 32px;
}

/* Mobile toggle (hidden on desktop) */
.nav-toggle {
    display: none;
}

/* ============================================
   HERO — for landing page
   ============================================ */
.hero {
    position: relative;
    padding: 100px 32px 120px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(74, 15, 26, 0.04) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent 0,
            transparent 30px,
            rgba(201, 169, 97, 0.04) 30px,
            rgba(201, 169, 97, 0.04) 31px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.hero .ornament-top {
    margin: 0 auto 32px;
    display: block;
}

.hero h2 {
    font-family: var(--font-royal);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy-deep);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero .latin {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.4vw, 28px);
    color: var(--gold-dark);
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.hero .latin .drop {
    color: var(--burgundy);
    font-weight: 500;
}

.hero p.lede {
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--ink-soft);
}

.hero .seal {
    position: absolute;
    width: 180px;
    height: 180px;
    opacity: 0.08;
    pointer-events: none;
}

.hero .seal.left { top: 20px; left: 40px; }
.hero .seal.right { bottom: 20px; right: 40px; transform: scaleX(-1); }

/* Ornamental divider */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    color: var(--gold-leaf);
}

.ornament::before,
.ornament::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-leaf), transparent);
}

.ornament .glyph {
    margin: 0 18px;
    font-size: 14px;
    letter-spacing: 0.4em;
    color: var(--gold-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-royal);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
    color: var(--gold-pale);
    border: 1px solid var(--gold-leaf);
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 12px rgba(74, 15, 26, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(201, 169, 97, 0.4);
    pointer-events: none;
    transition: inset 0.3s;
}

.btn:hover {
    color: var(--gold-bright);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 6px 18px rgba(74, 15, 26, 0.45);
    transform: translateY(-1px);
}

.btn:hover::before {
    inset: 5px;
}

.btn.ghost {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--gold-dark);
    box-shadow: none;
}

.btn.ghost:hover {
    background: var(--burgundy);
    color: var(--gold-bright);
}

.btn-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FEATURE GRID (homepage cards)
   ============================================ */
.section {
    padding: 80px 32px;
    max-width: 1320px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title .kicker {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold-dark);
    font-size: 16px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title h3 {
    font-family: var(--font-royal);
    font-size: 38px;
    letter-spacing: 0.1em;
    color: var(--burgundy-deep);
    text-transform: uppercase;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background:
        linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 100%);
    border: 1px solid var(--gold-leaf);
    padding: 36px 28px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.4s;
    box-shadow: 0 4px 14px rgba(31, 20, 16, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 169, 97, 0.5);
    pointer-events: none;
    transition: inset 0.4s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 15, 26, 0.2);
    border-color: var(--gold-bright);
}

.feature-card:hover::before {
    inset: 10px;
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--burgundy);
}

.feature-card h4 {
    font-family: var(--font-royal);
    font-size: 16px;
    letter-spacing: 0.12em;
    color: var(--burgundy-deep);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ============================================
   PAGE LAYOUT (for interior pages)
   ============================================ */
.page-header {
    background:
        linear-gradient(180deg, rgba(74, 15, 26, 0.95) 0%, rgba(74, 15, 26, 0.88) 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='p' x='0' y='0' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M10 0L20 10L10 20L0 10Z' fill='none' stroke='%23c9a961' stroke-width='0.3' opacity='0.3'/%3E%3C/pattern%3E%3Crect width='100' height='100' fill='url(%23p)'/%3E%3C/svg%3E");
    color: var(--gold-pale);
    padding: 80px 32px 70px;
    text-align: center;
    border-bottom: 3px solid var(--gold-bright);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.page-header .breadcrumb {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--gold-leaf);
    margin-bottom: 14px;
    letter-spacing: 0.1em;
}

.page-header .breadcrumb a {
    color: var(--gold-leaf);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb a:hover { color: var(--gold-bright); }

.page-header h2 {
    font-family: var(--font-royal);
    font-size: clamp(30px, 4.5vw, 52px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header .subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    color: var(--gold-pale);
    letter-spacing: 0.05em;
    max-width: 720px;
    margin: 0 auto;
}

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 32px 100px;
}

.page-content h3 {
    font-family: var(--font-royal);
    font-size: 26px;
    letter-spacing: 0.08em;
    color: var(--burgundy-deep);
    text-transform: uppercase;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gold-leaf);
    position: relative;
}

.page-content h3::before {
    content: '✦';
    position: absolute;
    left: -28px;
    color: var(--gold-bright);
    font-size: 14px;
    top: 8px;
}

.page-content h3:first-child { margin-top: 0; }

.page-content p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 20px;
    color: var(--ink);
}

.page-content p.lead {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--burgundy);
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.page-content p.lead::first-letter {
    font-family: var(--font-royal);
    font-size: 56px;
    float: left;
    line-height: 0.9;
    padding: 6px 10px 0 0;
    color: var(--gold-dark);
    font-weight: 700;
}

.page-content blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--burgundy);
    border-left: 3px solid var(--gold-bright);
    padding: 8px 0 8px 28px;
    margin: 32px 0;
    line-height: 1.6;
}

.page-content blockquote cite {
    display: block;
    font-size: 14px;
    font-style: normal;
    color: var(--gold-dark);
    margin-top: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-royal);
}

.page-content ul,
.page-content ol {
    margin: 16px 0 24px 32px;
}

.page-content ul li,
.page-content ol li {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.page-content ul li::marker { color: var(--gold-bright); }

/* Two-column layout for some pages */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin: 40px 0;
}

@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Decorative card panels */
.panel {
    background:
        linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 100%);
    border: 1px solid var(--gold-leaf);
    padding: 36px;
    margin: 28px 0;
    position: relative;
}

.panel::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 169, 97, 0.4);
    pointer-events: none;
}

.panel h4 {
    font-family: var(--font-royal);
    font-size: 18px;
    letter-spacing: 0.12em;
    color: var(--burgundy);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

/* Tables (for ranks, currency, etc.) */
.royal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background: var(--ivory);
    border: 1px solid var(--gold-leaf);
    font-family: var(--font-body);
}

.royal-table thead {
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
    color: var(--gold-pale);
}

.royal-table th {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-royal);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid var(--gold-bright);
}

.royal-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.4);
    font-size: 16px;
}

.royal-table tr:last-child td { border-bottom: none; }
.royal-table tbody tr:hover { background: rgba(201, 169, 97, 0.08); }

/* ============================================
   FOOTER
   ============================================ */
.royal-footer {
    background:
        linear-gradient(180deg, var(--burgundy-deep) 0%, #2c0810 100%);
    color: var(--gold-pale);
    padding: 70px 32px 30px;
    position: relative;
    border-top: 3px solid var(--gold-bright);
}

.royal-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-col h5 {
    font-family: var(--font-royal);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gold-dark);
}

.footer-col p,
.footer-col a {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--gold-pale);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold-bright); }

.footer-col .footer-crest {
    width: 80px;
    height: 90px;
    margin-bottom: 16px;
}

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--gold-dark);
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--gold-leaf);
    letter-spacing: 0.1em;
}

.footer-bottom .motto-line {
    font-family: var(--font-royal);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gold-bright);
    margin-top: 12px;
    text-transform: uppercase;
}

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.reveal { animation: fadeUp 0.9s ease both; }
.reveal-1 { animation: fadeUp 0.9s ease 0.1s both; }
.reveal-2 { animation: fadeUp 0.9s ease 0.25s both; }
.reveal-3 { animation: fadeUp 0.9s ease 0.4s both; }
.reveal-4 { animation: fadeUp 0.9s ease 0.55s both; }
.reveal-5 { animation: fadeUp 0.9s ease 0.7s both; }

.shimmer { animation: shimmer 4s ease-in-out infinite; }

/* Scroll reveal targets */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.scroll-reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .masthead .inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .masthead .crest-left, .masthead .crest-right { justify-content: center; }
    .masthead .meta-side, .masthead .meta-side.right { text-align: center; }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }

    .nav-toggle {
        display: block;
        background: transparent;
        border: 1px solid var(--gold-leaf);
        color: var(--gold-pale);
        padding: 10px 18px;
        font-family: var(--font-royal);
        font-size: 11px;
        letter-spacing: 0.2em;
        cursor: pointer;
        margin: 10px auto;
    }
    .nav-list { display: none; flex-direction: column; padding-bottom: 12px; }
    .nav-list.open { display: flex; }
    .nav-list > li { width: 100%; text-align: center; }
    .nav-list > li:not(:last-child)::after { display: none; }
    .nav-list .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(0,0,0,0.2);
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .nav-list .submenu li a { color: var(--gold-pale); padding: 8px 24px; }
    .nav-list .submenu li a:hover { background: rgba(0,0,0,0.3); color: var(--gold-bright); }
}

@media (max-width: 600px) {
    .top-ribbon .inner { flex-direction: column; gap: 6px; }
    .masthead h1 { font-size: 24px; }
    .footer-inner { grid-template-columns: 1fr; }
    .section { padding: 60px 20px; }
    .page-content { padding: 50px 20px 70px; }
    .page-content h3::before { display: none; }
}

/* Print niceties */
@media print {
    .top-ribbon, .primary-nav, .royal-footer { display: none; }
}
