
        @font-face {
            font-family: "Advercase";
            src: url("assets/aquilea/fonts/advercase-regular.woff2") format("woff2");
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: "Advercase";
            src: url("assets/aquilea/fonts/advercase-bold.woff2") format("woff2");
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: "Druk Cond";
            src: url("assets/aquilea/fonts/druk-cond-super.otf") format("opentype");
            font-weight: 900;
            font-style: normal;
            font-display: swap;
            unicode-range: U+0020-0022, U+0027, U+002C-002E, U+0030-0039, U+003F, U+0041-005A, U+0061-007A, U+2018-2019, U+201C-201D;
        }

        @font-face {
            font-family: "Druk Cond";
            src: local("Impact"), local("Arial Black"), local("Arial Bold");
            font-weight: 900;
            font-style: normal;
            font-display: swap;
            size-adjust: 70%;
            unicode-range: U+00C0-017F, U+0300-036F;
        }

        :root {
            --black: #050505;
            --black-soft: #0d0908;
            --red: #c9231b;
            --red-deep: #8f1f1e;
            --cream: #f5efdf;
            --cream-soft: #fff8e8;
            --brown: #4a1918;
            --smoke: #b8ada0;
            --line: rgba(201, 35, 27, 0.52);
            --line-soft: rgba(245, 239, 223, 0.15);
            --max: 1180px;
            --radius: 6px;
        }

        * {
            box-sizing: border-box;
            letter-spacing: 0 !important;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background:
                repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 10px),
                repeating-linear-gradient(0deg, rgba(201, 35, 27, 0.035) 0 1px, transparent 1px 12px),
                var(--black);
            color: var(--cream);
            font-family: "Advercase", Arial, sans-serif;
            font-size: 16px;
            line-height: 1.45;
            -webkit-font-smoothing: antialiased;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            background:
                linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.48) 45%, rgba(5, 5, 5, 0.94)),
                linear-gradient(180deg, rgba(201, 35, 27, 0.18), transparent 260px);
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        input,
        textarea {
            font: inherit;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            border-bottom: 1px solid var(--line-soft);
            background: rgba(5, 5, 5, 0.88);
            backdrop-filter: blur(18px);
        }

        .nav {
            width: min(100% - 32px, var(--max));
            min-height: 82px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 22px;
        }

        .nav-brand {
            display: inline-flex;
            align-items: center;
            flex: 0 0 auto;
        }

        .nav-brand img {
            width: 86px;
            height: 56px;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            color: var(--smoke);
            font-size: 14px;
        }

        .nav-links a:hover {
            color: var(--cream);
        }

        .nav-account { flex: 0 0 auto; border: 1px solid var(--red); border-radius: var(--radius); background: var(--red); color: var(--cream-soft); padding: 12px 18px; font-size: 14px; }
        .nav-account:hover { background: var(--red-deep); }

        main {
            overflow: hidden;
        }

        .section {
            border-top: 1px solid var(--line-soft);
        }

        .section-inner {
            width: min(100% - 32px, var(--max));
            margin: 0 auto;
            padding: 76px 0;
        }

        .eyebrow {
            color: var(--red);
            font-family: Georgia, "Times New Roman", serif;
            font-size: 18px;
            text-transform: uppercase;
        }

        h1,
        h2,
        h3 {
            margin: 0;
            font-weight: 400;
            line-height: 0.98;
        }

        h1,
        h2 {
            font-family: Georgia, "Times New Roman", serif;
        }

        h1 {
            max-width: 760px;
            font-size: 66px;
            color: var(--cream-soft);
        }

        h2 {
            font-size: 52px;
            color: var(--cream-soft);
        }

        h3 {
            font-family: Georgia, "Times New Roman", serif;
            font-size: 30px;
            text-transform: uppercase;
        }

        p {
            margin: 0;
            color: var(--smoke);
        }

        .lead {
            max-width: 620px;
            font-size: 19px;
            color: var(--cream);
        }

        .hero {
            position: relative;
            min-height: 670px;
            display: flex;
            align-items: center;
            border-top: 0;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, var(--black) 0%, rgba(5, 5, 5, 0.86) 42%, rgba(5, 5, 5, 0.38) 74%, rgba(5, 5, 5, 0.92) 100%),
                url("assets/aquilea/logo-mansion-red.webp") right -110px bottom -170px / 760px auto no-repeat;
            opacity: 0.98;
        }

        .hero::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 38%;
            background: linear-gradient(180deg, transparent, var(--black));
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 1;
            width: min(100% - 32px, var(--max));
            margin: 0 auto;
            padding: 38px 0 46px;
        }

        .hero-wordmark {
            width: 430px;
            max-width: 82vw;
            margin: 0 0 10px -22px;
        }

        .hero-copy {
            display: grid;
            gap: 20px;
        }

        .hero-actions,
        .inline-actions {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 14px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 52px;
            padding: 0 24px;
            border-radius: var(--radius);
            border: 1px solid var(--red);
            background: var(--red);
            color: var(--cream-soft);
            font-weight: 700;
            line-height: 1;
        }

        .btn:hover {
            background: #e02b22;
        }

        .btn.secondary {
            background: transparent;
            color: var(--red);
        }

        .btn.secondary:hover {
            background: rgba(201, 35, 27, 0.12);
        }

        .btn.light {
            background: var(--cream);
            border-color: var(--cream);
            color: var(--red);
        }

        .section-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 28px;
        }

        .section-head p {
            max-width: 520px;
        }

        .filter-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 24px;
        }

        .filter-chip {
            border: 1px solid var(--line);
            border-radius: 999px;
            background: rgba(201, 35, 27, 0.07);
            color: var(--cream);
            padding: 8px 12px;
            font-size: 13px;
            cursor: default;
        }

        button.filter-chip {
            appearance: none;
            cursor: pointer;
        }

        .filter-chip.active,
        button.filter-chip:hover {
            background: var(--red);
            color: var(--cream-soft);
        }

        .program-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
        }

        .event-card {
            position: relative;
            min-height: 330px;
            overflow: hidden;
            border: 1px solid var(--line-soft);
            border-radius: var(--radius);
            background: #120b0a;
        }

        .event-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.7) contrast(1.15);
            opacity: 0.55;
        }

        .event-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.92)),
                linear-gradient(45deg, rgba(201, 35, 27, 0.22), transparent 54%);
        }

        .event-content {
            position: relative;
            z-index: 1;
            height: 100%;
            min-height: 330px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .tag {
            align-self: flex-start;
            border: 1px solid var(--red);
            border-radius: 4px;
            color: var(--red);
            background: rgba(5, 5, 5, 0.72);
            padding: 4px 7px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .event-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .event-time {
            color: var(--red);
            font-size: 14px;
            font-weight: 700;
            margin-top: auto;
        }

        .event-content h3 {
            color: var(--cream-soft);
            margin-top: 8px;
        }

        .event-content p {
            font-size: 14px;
            color: var(--cream);
        }

        .event-content .course-subtitle {
            margin-top: 2px;
            color: var(--red);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .course-meta {
            display: grid;
            gap: 6px;
            margin: 12px 0;
            color: var(--cream);
            font-size: 13px;
        }

        .course-meta span {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            border-bottom: 1px solid rgba(245, 239, 223, 0.14);
            padding-bottom: 6px;
        }

        .course-meta b {
            color: var(--red);
            font-weight: 700;
        }

        .course-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 6px;
        }

        .course-actions .btn {
            min-height: 40px;
            padding: 0 14px;
            font-size: 13px;
        }

        .staff-card {
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 18px;
            background: rgba(201, 35, 27, 0.06);
        }

        .staff-card strong {
            display: block;
            color: var(--cream-soft);
            font-family: Georgia, "Times New Roman", serif;
            font-size: 23px;
            font-weight: 400;
            line-height: 1.05;
            margin-bottom: 8px;
        }

        .staff-card span {
            color: var(--smoke);
            font-size: 13px;
        }

        .cream-section {
            background:
                linear-gradient(90deg, rgba(201, 35, 27, 0.14), transparent 24%, transparent 78%, rgba(201, 35, 27, 0.12)),
                var(--cream);
            color: var(--brown);
        }

        .cream-section h2,
        .cream-section h3,
        .cream-section .lead {
            color: var(--brown);
        }

        .cream-section p {
            color: rgba(74, 25, 24, 0.78);
        }

        .carta-board {
            margin-top: 30px;
            background: var(--cream);
            border: 1px solid rgba(74, 25, 24, 0.24);
            border-radius: var(--radius);
            padding: 36px;
            color: var(--brown);
        }

        .carta-note {
            margin: 0 0 26px;
            color: var(--red-deep);
            font-size: 13px;
            font-style: italic;
        }

        .carta-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 30px 34px;
            align-items: start;
        }

        .carta-group h3 {
            font-family: Georgia, "Times New Roman", serif;
            font-size: 30px;
            text-transform: uppercase;
            color: var(--red);
            margin: 0 0 12px;
        }

        .carta-group + .carta-group {
            margin-top: 0;
        }

        .carta-item {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: baseline;
            gap: 4px 12px;
            padding: 7px 0;
            border-bottom: 1px dashed rgba(143, 31, 30, 0.3);
        }

        .carta-item:last-child {
            border-bottom: 0;
        }

        .carta-item strong {
            font-size: 14px;
            text-transform: uppercase;
        }

        .carta-price {
            font-family: Georgia, "Times New Roman", serif;
            font-size: 21px;
            color: var(--red);
            white-space: nowrap;
        }

        .carta-item small {
            flex-basis: 100%;
            font-size: 12px;
            text-transform: uppercase;
            color: rgba(74, 25, 24, 0.72);
        }

        .house-layout {
            display: grid;
            grid-template-columns: 0.9fr 1.2fr 0.9fr;
            gap: 28px;
            align-items: center;
        }

        .house-art {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 420px;
        }

        .house-art img {
            width: 100%;
            max-width: 460px;
        }

        .house-point {
            border-top: 1px solid var(--line);
            padding-top: 18px;
            margin-top: 28px;
        }

        .nfc-layout,
        .staff-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
            align-items: start;
        }

        .flow-list {
            counter-reset: flow;
            display: grid;
            gap: 10px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .flow-list li {
            counter-increment: flow;
            display: grid;
            grid-template-columns: 42px 1fr;
            gap: 12px;
            align-items: center;
            border-bottom: 1px solid var(--line-soft);
            padding: 12px 0;
            color: var(--cream);
        }

        .flow-list li::before {
            content: counter(flow);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border: 1px solid var(--red);
            border-radius: 50%;
            color: var(--red);
            font-family: Georgia, "Times New Roman", serif;
            font-size: 22px;
        }

        .staff-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .contact-footer {
            background: var(--black);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr repeat(4, 1fr);
            gap: 28px;
            align-items: start;
        }

        .footer-logo {
            width: 140px;
            margin-bottom: 16px;
        }

        .footer-label {
            color: var(--red);
            font-family: Georgia, "Times New Roman", serif;
            font-size: 20px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .small-note {
            margin-top: 18px;
            color: rgba(245, 239, 223, 0.48);
            font-size: 13px;
        }

        @media (max-width: 980px) {
            .nav {
                min-height: 72px;
            }

            .nav-links {
                display: none;
            }

            h1 {
                font-size: 54px;
            }

            h2 {
                font-size: 44px;
            }

            .hero {
                min-height: 630px;
            }

            .hero::before {
                background:
                    linear-gradient(90deg, var(--black) 0%, rgba(5, 5, 5, 0.82) 55%, rgba(5, 5, 5, 0.62)),
                    url("assets/aquilea/logo-mansion-red.webp") right -150px bottom -110px / 620px auto no-repeat;
            }

            .program-grid,
            .carta-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .house-layout,
            .nfc-layout,
            .staff-layout,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .house-art {
                min-height: 260px;
            }
        }

        @media (max-width: 640px) {
            body {
                font-size: 15px;
            }

            .nav {
                width: calc(100% - 24px);
                gap: 12px;
            }

            .nav-brand img {
                width: 72px;
                height: 48px;
            }

            .hero-inner,
            .section-inner {
                width: calc(100% - 24px);
            }

            .section-inner {
                padding: 52px 0;
            }

            h1 {
                font-size: 39px;
            }

            h2 {
                font-size: 36px;
            }

            h3 {
                font-size: 26px;
            }

            .carta-grid {
                grid-template-columns: 1fr;
            }

            .carta-board {
                padding: 24px 18px;
            }

            .hero-wordmark {
                width: 300px;
                margin-left: -20px;
            }

            .hero {
                min-height: 610px;
            }

            .lead {
                font-size: 17px;
            }

            .hero-actions,
            .inline-actions {
                align-items: stretch;
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }

            .section-head {
                display: block;
            }

            .section-head p {
                margin-top: 12px;
            }

            .program-grid,
            .staff-grid {
                grid-template-columns: 1fr;
            }

            .event-card,
            .event-content {
                min-height: 280px;
            }

        }
    