:root {
    --bg-deep: #07080b;
    --bg-panel: rgba(15, 17, 22, 0.92);
    --bg-panel-solid: #0f1116;
    --bg-inset: #0a0b0f;
    --gold: #c9a45c;
    --gold-bright: #e5ca8b;
    --gold-dim: rgba(201, 164, 92, 0.28);
    --steel: #8c93a0;
    --steel-border: rgba(152, 160, 175, 0.28);
    --crimson: #8f2b2b;
    --text-main: #eae5d8;
    --text-muted: #9e9c95;
    --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-deep);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.65;
    background: transparent;
    overflow-x: hidden;
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

#ember-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-smog {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 8, 11, 0.34) 0%, rgba(7, 8, 11, 0.56) 52%, rgba(7, 8, 11, 0.88) 100%),
        url('../img/methyn-bg.webp') center top / cover no-repeat,
        #07080b;
    filter: saturate(0.92) contrast(1.05);
}

.bg-vignette {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
}

.wrap {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(14, 16, 22, 0.92) 0%, rgba(8, 9, 13, 0.82) 100%);
    border-top: 1px solid rgba(201, 164, 92, 0.22);
    border-bottom: 1px solid rgba(201, 164, 92, 0.34);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
    background: linear-gradient(180deg, rgba(11, 13, 18, 0.97) 0%, rgba(7, 8, 11, 0.94) 100%);
    border-bottom-color: rgba(201, 164, 92, 0.52);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.68);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 7px;
    height: 7px;
    transform: translateX(-50%) rotate(45deg);
    background: #14161d;
    border: 1px solid var(--gold);
    box-shadow: 0 0 12px rgba(201, 164, 92, 0.55);
    pointer-events: none;
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-mini {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-mini:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.brand-logo-mini {
    height: 30px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    position: relative;
    padding: 6px 2px;
    color: #cbc7bc;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
    color: var(--gold-bright);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.nav-sep {
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
    background: rgba(201, 164, 92, 0.42);
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(201, 164, 92, 0.48);
    background: linear-gradient(180deg, rgba(44, 35, 22, 0.72) 0%, rgba(18, 20, 27, 0.92) 100%);
    color: var(--gold-bright);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 232, 178, 0.14);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-discord-btn:hover {
    border-color: var(--gold-bright);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 232, 178, 0.24), 0 0 18px rgba(201, 164, 92, 0.24);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0 8px;
    border: 1px solid var(--steel-border);
    background: rgba(17, 19, 24, 0.9);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--gold-bright);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* UI Panel frame matching Methyn UI 2026 */
.ui-panel {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--steel-border);
    box-shadow:
        inset 0 0 0 1px rgba(201, 164, 92, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 42px rgba(0, 0, 0, 0.6);
}

.panel-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.panel-corners i {
    position: absolute;
    width: 11px;
    height: 11px;
    border-color: var(--gold);
    border-style: solid;
    opacity: 0.72;
}

.panel-corners i:nth-child(1) { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.panel-corners i:nth-child(2) { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.panel-corners i:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.panel-corners i:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding: 78px 0 64px;
}

.hero-seal {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: min(460px, 86vw);
    height: min(460px, 86vw);
    color: var(--gold);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero-logo-wrap {
    margin: 6px auto 4px;
    max-width: 760px;
}

.hero-logo {
    width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85));
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px auto 22px;
}

.orn-line {
    width: 110px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.orn-line:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.orn-gem {
    width: 9px;
    height: 9px;
    border: 1px solid var(--gold-bright);
    background: rgba(201, 164, 92, 0.25);
    transform: rotate(45deg);
}

.hero-lead {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #c2bfb5;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-methyn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--gold);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-primary {
    background: linear-gradient(180deg, rgba(201, 164, 92, 0.24), rgba(143, 111, 54, 0.14));
    color: var(--gold-bright);
}

.btn-primary:hover {
    background: linear-gradient(180deg, rgba(201, 164, 92, 0.36), rgba(143, 111, 54, 0.24));
    border-color: var(--gold-bright);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(18, 20, 26, 0.85);
    border-color: var(--steel-border);
    color: #d6d2c6;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

/* Sections */
.section {
    padding: 46px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #efe7d3;
}

.section-sub {
    margin: 0 auto;
    max-width: 600px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Classes Panel */
.classes-panel {
    padding: 24px;
}

.class-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--steel-border);
}

.class-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-inset);
    border: 1px solid var(--steel-border);
    color: #b7b5ac;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.class-tab img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(201, 164, 92, 0.35);
}

.class-tab:hover {
    border-color: rgba(201, 164, 92, 0.55);
    color: var(--text-main);
}

.class-tab.is-active {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(201, 164, 92, 0.16), rgba(14, 16, 20, 0.95));
    color: var(--gold-bright);
}

.class-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: center;
}

.class-card[hidden] {
    display: none;
}

.class-medallion-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.medallion-ring {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    padding: 6px;
    background: radial-gradient(circle, rgba(201, 164, 92, 0.2), rgba(20, 22, 28, 0.95));
    border: 2px solid var(--gold);
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.75);
}

.medallion-art {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.gender-switch {
    display: inline-flex;
    border: 1px solid var(--steel-border);
    background: var(--bg-inset);
}

.gender-btn {
    padding: 7px 14px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.gender-btn.is-active {
    background: rgba(201, 164, 92, 0.22);
    color: var(--gold-bright);
}

.class-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.class-title-row h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 28px;
    color: #f0e6d0;
}

.class-weapons {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.class-role {
    margin: 0 0 12px;
    color: #b7c0cf;
    font-size: 13px;
    font-weight: 500;
}

.class-desc {
    margin: 0 0 20px;
    color: #c2bfb5;
    font-size: 14px;
}

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

.stat-row {
    display: grid;
    grid-template-columns: 38px 1fr 30px;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.stat-name {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.stat-bar {
    height: 7px;
    background: #07080b;
    border: 1px solid rgba(152, 160, 175, 0.26);
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c2424, #c9a45c);
}

.stat-val {
    text-align: right;
    color: #dfd9c8;
    font-variant-numeric: tabular-nums;
}

/* Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pillar-card {
    padding: 24px 22px;
}

.pillar-icon {
    width: 34px;
    height: 34px;
    color: var(--gold);
    margin-bottom: 14px;
}

.pillar-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 18px;
    color: #ece4d0;
}

.pillar-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.coming-soon-panel {
    padding: 46px 28px;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.coming-soon-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: var(--gold);
    opacity: 0.85;
}

.coming-soon-panel h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.06em;
    color: var(--gold-bright);
}

.coming-soon-panel p {
    margin: 0 auto;
    max-width: 520px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-trigger {
    padding: 0;
    border: 0;
    background: #050608;
    cursor: zoom-in;
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 9;
}

.gallery-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-trigger:hover img {
    transform: scale(1.03);
}

.gallery-item figcaption {
    padding: 15px 18px 17px;
    border-top: 1px solid var(--steel-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-item figcaption strong {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--gold-bright);
    font-weight: 600;
}

.gallery-item figcaption span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Roadmap */
.roadmap-list {
    padding: 8px 22px;
}

.roadmap-row {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
}

.roadmap-row + .roadmap-row {
    border-top: 1px solid rgba(152, 160, 175, 0.16);
}

.roadmap-phase {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.roadmap-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.roadmap-main strong {
    color: #ebe4d2;
    font-size: 15px;
    font-weight: 600;
}

.roadmap-main span {
    color: var(--text-muted);
    font-size: 13px;
}

.roadmap-badge {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--steel-border);
    color: #b7b5ac;
}

.status-done .roadmap-badge {
    border-color: rgba(124, 168, 118, 0.45);
    color: #9ecf97;
}

.status-active .roadmap-badge {
    border-color: var(--gold);
    color: var(--gold-bright);
    background: rgba(201, 164, 92, 0.14);
}

/* Waitlist + FAQ */
.bottom-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-bottom: 72px;
}

.waitlist-box, .faq-box {
    padding: 28px;
}

.waitlist-box h2, .faq-box h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 24px;
    color: #efe7d3;
}

.waitlist-desc {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.waitlist-form {
    display: flex;
    gap: 10px;
}

.waitlist-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    background: var(--bg-inset);
    border: 1px solid var(--steel-border);
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 14px;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
}

.form-alert {
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    border: 1px solid;
}

.form-alert.is-ok {
    border-color: rgba(124, 168, 118, 0.55);
    background: rgba(65, 105, 62, 0.22);
    color: #bde6b7;
}

.form-alert.is-err {
    border-color: rgba(196, 86, 86, 0.6);
    background: rgba(120, 32, 32, 0.24);
    color: #f1b3b3;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(152, 160, 175, 0.2);
    background: var(--bg-inset);
    padding: 12px 14px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #e4dcc8;
}

.faq-item p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--gold-dim);
    background: rgba(7, 8, 11, 0.92);
}

.footer-inner {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #88867d;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-family: var(--font-display);
    letter-spacing: 0.16em;
}

.footer-note {
    margin: 0;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(4, 5, 7, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-frame {
    max-width: min(1080px, 94vw);
    margin: 0;
    padding: 12px;
}

.lightbox-frame img {
    max-width: 100%;
    max-height: 78vh;
    display: block;
}

.lightbox-frame figcaption {
    padding: 10px 6px 4px;
    font-size: 13px;
    color: #cfc9ba;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    background: #101217;
    color: var(--gold-bright);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 960px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .bottom-split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .wrap { width: calc(100% - 28px); }
    .main-nav { display: none; }
    .class-tabs { grid-template-columns: repeat(2, 1fr); }
    .class-card { grid-template-columns: 1fr; text-align: center; }
    .class-title-row { justify-content: center; }
    .stat-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .roadmap-row { grid-template-columns: 1fr; gap: 8px; }
    .waitlist-form { flex-direction: column; }
}

.discord-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.discord-link-note {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.discord-link-note strong {
    color: var(--gold-bright);
    font-weight: 600;
}

/* Ornamental section dividers & atmospheric polish */
.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px auto;
    opacity: 0.65;
}

.section-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.45), transparent);
}

.section-divider i {
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    border: 1px solid var(--gold);
    background: rgba(201, 164, 92, 0.22);
    box-shadow: 0 0 10px rgba(201, 164, 92, 0.4);
}

.hero-logo-wrap {
    position: relative;
}

.hero-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 12% 18%;
    background: radial-gradient(ellipse at center, rgba(201, 164, 92, 0.18) 0%, transparent 70%);
    filter: blur(22px);
    z-index: -1;
    pointer-events: none;
}

.pillar-card {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 164, 92, 0.45);
    box-shadow:
        inset 0 0 0 1px rgba(201, 164, 92, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 22px 48px rgba(0, 0, 0, 0.72);
}

.roadmap-row {
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.roadmap-row:hover {
    background: rgba(201, 164, 92, 0.04);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pillars-grid .pillar-card:nth-child(2) { transition-delay: 0.06s; }
.pillars-grid .pillar-card:nth-child(3) { transition-delay: 0.12s; }
.pillars-grid .pillar-card:nth-child(4) { transition-delay: 0.18s; }

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 18px;
        background: rgba(9, 11, 16, 0.97);
        border-bottom: 1px solid rgba(201, 164, 92, 0.38);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 11px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .nav-sep { display: none; }
}
