/* ───────────────────────────────────────────────────────────────────────────
   HELHEIMR FLAGSHIP TEMPLE — STYLES
   Deep mist, bone, and rot palette with sickly green accents
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Death palette */
    --bg-deep: #0D0F0D;
    --bg-void: #080A08;
    --bg-rot: #141A14;
    --bg-card: rgba(20, 26, 20, 0.6);
    --fg-bone: #C8C4B8;
    --fg-dim: #8A877C;
    --fg-muted: #5C5A52;
    --accent-rot: #6B8E6B;
    --accent-rot-bright: #8AAF8A;
    --accent-mist: #4A5A4A;
    --accent-mist-bright: #6B7D6B;
    --border-subtle: rgba(107, 142, 107, 0.12);
    --border-medium: rgba(107, 142, 107, 0.2);
    --glow-mist: rgba(107, 142, 107, 0.08);
    --glow-strong: rgba(107, 142, 107, 0.15);
    --font-display: 'Cinzel', 'Georgia', serif;
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;
    --font-decorative: 'Cinzel Decorative', 'Cinzel', serif;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    --container-padding: clamp(1.25rem, 4vw, 3rem);
    --header-height: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--fg-bone);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ── Mist Canvas ────────────────────────────────────────────────────────── */
#mist-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 var(--container-padding);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.main-nav.scrolled {
    background: rgba(8, 10, 8, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 1px 0 var(--border-subtle), 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 128px;
    width: auto;
    transition: filter var(--transition-base);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 8px rgba(107, 142, 107, 0.4));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-dim);
    text-decoration: none;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-rot);
    transition: width var(--transition-slow);
}

.nav-link:hover {
    color: var(--fg-bone);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--fg-bone);
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 3rem) var(--container-padding) 4rem;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-rot);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-decorative);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.title-runic {
    display: block;
    font-size: clamp(4rem, 10vw, 8rem);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #C8C4B8 0%, #6B8E6B 40%, #8AAF8A 70%, #C8C4B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.title-divider {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-rot), transparent);
    margin: 1rem 0;
}

.title-trans {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--fg-dim);
    font-family: var(--font-display);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--fg-dim);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(107, 142, 107, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-rot-bright);
}

.meta-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-rot);
    box-shadow: 0 0 8px rgba(107, 142, 107, 0.6);
}

.meta-domain {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--fg-dim);
    letter-spacing: 0.08em;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    background: var(--accent-rot);
    color: var(--bg-void);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-rot-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 142, 107, 0.25);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--fg-bone);
}

.btn-ghost:hover {
    background: var(--accent-rot);
    color: var(--bg-void);
    border-color: var(--accent-rot);
}

/* Mascot */
.hero-mascot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-img {
    max-width: 100%;
    height: auto;
    max-height: 520px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    z-index: 2;
    position: relative;
}

.mascot-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 142, 107, 0.15) 0%, rgba(42, 58, 42, 0.05) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: mascotGlow 6s ease-in-out infinite;
}

@keyframes mascotGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.9; }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent-rot), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
    border-radius: 1px;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section {
    position: relative;
    padding: 8rem 0;
    z-index: 1;
}

.section-name {
    background: linear-gradient(180deg, rgba(8,10,8,0) 0%, rgba(13,15,13,0.4) 50%, rgba(8,10,8,0) 100%);
}

.section-bg-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(107, 142, 107, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-number {
    display: block;
    font-family: var(--font-decorative);
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent-rot);
    letter-spacing: 0.3em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 600;
    color: var(--fg-bone);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--fg-dim);
    font-style: italic;
}

/* ── Name Grid ──────────────────────────────────────────────────────────── */
.name-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.name-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-rot), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.name-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-subtle);
}

.name-card:hover::before {
    opacity: 1;
}

.card-icon {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-bone);
    margin-bottom: 0.75rem;
}

.card-runic, .card-ascii, .card-unicode {
    font-family: var(--font-decorative);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-rot);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.card-ascii {
    color: var(--fg-muted);
}

.card-unicode {
    color: var(--accent-rot-bright);
}

.card-body {
    font-size: 0.95rem;
    color: var(--fg-dim);
    line-height: 1.7;
}

.card-body strong {
    color: var(--fg-bone);
    font-weight: 600;
}

/* ── Punycode Explainer ─────────────────────────────────────────────────── */
.punycode-explainer {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    text-align: center;
}

.explainer-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-rot);
    margin-bottom: 1rem;
    display: block;
}

.explainer-code {
    display: block;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 1.25rem;
    color: var(--fg-bone);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.explainer-note {
    font-size: 0.9rem;
    color: var(--fg-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.explainer-note strong {
    color: var(--fg-bone);
}

/* ── Pronunciation ──────────────────────────────────────────────────────── */
.section-pronunciation {
    background: var(--bg-void);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.pronunciation-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.pronunciation-main {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2.5rem;
}

.ipa-display {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.ipa-text {
    display: block;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--fg-bone);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.ipa-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-rot);
}

.phoneme {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.phoneme:last-child {
    border-bottom: none;
}

.phoneme-symbol {
    display: block;
    font-family: var(--font-decorative);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-rot);
    margin-bottom: 0.5rem;
}

.phoneme-desc {
    display: block;
    font-size: 0.95rem;
    color: var(--fg-dim);
    line-height: 1.7;
}

.phoneme-desc strong {
    color: var(--fg-bone);
}

.pronunciation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.sidebar-card:hover {
    border-color: var(--border-medium);
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-bone);
    margin-bottom: 1rem;
}

.sidebar-text {
    font-size: 0.95rem;
    color: var(--fg-dim);
    line-height: 1.7;
}

.sidebar-text strong {
    color: var(--fg-bone);
}

.sidebar-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 1.25rem 0;
}

.kin-list {
    list-style: none;
    padding: 0;
}

.kin-list li {
    font-size: 0.9rem;
    color: var(--fg-dim);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
    line-height: 1.6;
}

.kin-list li:last-child {
    border-bottom: none;
}

.kin-list li strong {
    color: var(--accent-rot);
    font-weight: 600;
}

.accent-card {
    border-left: 2px solid var(--accent-rot);
}

/* ── Realm Section ──────────────────────────────────────────────────────── */
.realm-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.lead-text {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--fg-dim);
    line-height: 1.8;
}

.lead-text strong {
    color: var(--fg-bone);
    font-weight: 600;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.domain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-rot), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.domain-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.domain-card:hover::before {
    opacity: 1;
}

.domain-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
}

.domain-icon svg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.domain-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg-bone);
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.domain-desc {
    font-size: 0.9rem;
    color: var(--fg-dim);
    line-height: 1.65;
}

.domain-desc strong {
    color: var(--fg-bone);
}

/* ── Myths Section ──────────────────────────────────────────────────────── */
.section-myths {
    background: var(--bg-void);
    border-top: 1px solid var(--border-subtle);
}

.myths-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.myths-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-rot), rgba(107, 142, 107, 0.1));
}

.myth-card {
    position: relative;
    padding-bottom: 3.5rem;
}

.myth-card:last-child {
    padding-bottom: 0;
}

.myth-marker {
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent-rot);
    box-shadow: 0 0 0 3px var(--bg-void), 0 0 0 4px var(--accent-rot), 0 0 15px rgba(107, 142, 107, 0.3);
    transform: translateX(-5px);
}

.myth-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.myth-content:hover {
    border-color: var(--border-medium);
}

.myth-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-rot);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(107, 142, 107, 0.08);
    border-radius: 100px;
}

.myth-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--fg-bone);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.myth-text {
    font-size: 0.95rem;
    color: var(--fg-dim);
    line-height: 1.8;
}

.myth-text strong {
    color: var(--fg-bone);
}

/* ── Pantheon Section ───────────────────────────────────────────────────── */
.section-pantheon {
    padding: 6rem 0;
}

.pantheon-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.pantheon-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-rot), var(--accent-mist-bright), transparent);
}

.pantheon-text {
    position: relative;
    z-index: 1;
}

.pantheon-eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-rot);
    margin-bottom: 1rem;
}

.pantheon-title {
    font-family: var(--font-decorative);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--fg-bone);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pantheon-body {
    font-size: 1rem;
    color: var(--fg-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pantheon-body strong {
    color: var(--fg-bone);
}

.pantheon-body:last-of-type {
    margin-bottom: 2rem;
}

.pantheon-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pantheon-mascot-img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    opacity: 0.9;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.main-footer {
    background: var(--bg-void);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    font-family: var(--font-decorative);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fg-bone);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--fg-muted);
    line-height: 1.6;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.footer-value {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--fg-dim);
    letter-spacing: 0.04em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-seal {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.footer-logomark {
    height: 48px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(0.5);
}

.footer-bottom {
    text-align: center;
}

.footer-credit {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

/* ── Scroll Reveal ──────────────────────────────────────────────────────── */
.reveal-up,
.reveal-scale {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    transform: translateY(30px) scale(0.95);
}

.reveal-up.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content { gap: 2rem; }
    .name-grid { grid-template-columns: repeat(2, 1fr); }
    .domains-grid { grid-template-columns: repeat(2, 1fr); }
    .pronunciation-grid { grid-template-columns: 1fr; }
    .pantheon-content { grid-template-columns: 1fr; }
    .pantheon-mascot { order: -1; }
    .mascot-img { max-height: 380px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(8, 10, 8, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
        z-index: 99;
    }
    .nav-links.active { opacity: 1; pointer-events: all; }
    .nav-links.active .nav-link { font-size: 1.1rem; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-mascot { order: -1; }
    .mascot-img { max-height: 280px; }
    .title-divider { margin: 1rem auto; }
    .hero-meta { justify-content: center; }
    
.meta-badge-alt {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A0A0A0;
    background: rgba(255,255,255,0.03);
}

.meta-domain-alt {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A0A0A0;
    background: rgba(255,255,255,0.03);
}

.hero-cta { justify-content: center; }
    
    .name-grid { grid-template-columns: 1fr; }
    .domains-grid { grid-template-columns: 1fr; }
    
    .myths-timeline { padding-left: 2rem; }
    .myth-marker { left: -2rem; }
    
    .pantheon-content { padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .section { padding: 5rem 0; }
        flex-direction: column;
}

@media (max-width: 480px) {
    .mascot-img { max-height: 220px; }
    .title-runic { font-size: 3.5rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .name-card, .pronunciation-main, .sidebar-card, .myth-content { padding: 1.5rem; }
    .pantheon-content { padding: 1.5rem; }
    .btn-primary { padding: 0.85rem 1.75rem; font-size: 0.8rem; }
}

/* ── Reduced Motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    #mist-canvas { display: none; }
    .reveal-up, .reveal-scale { opacity: 1; transform: none; }
}

/* ── Selection ──────────────────────────────────────────────────────────── */
::selection {
    background: rgba(107, 142, 107, 0.3);
    color: var(--fg-bone);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-rot);
}

/* Tier Classification Section */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tier-grid-single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tier-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    text-align: left;
    transition: all 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease-out;
}

.tier-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tier-card:hover::before {
    transform: scaleX(1);
}

.tier-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.tier-domain {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #A0A0A0;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.tier-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #A0A0A0;
}

.tier-body strong {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .tier-grid {
        grid-template-columns: 1fr;
    }
}



/* ===== AD PAGE VARIABLES (auto-generated) ===== */
:root {
  --nav-height: 72px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --max-width: 1200px;

  --classic-gold: #C0C0C0;
  --pale-gold: #E8E8E8;
  --gold-dim: #808080;
  --gold-bright: #E8E8E8;
  --text-gold: #C0C0C0;

  --bg-primary: #0D0F0D;
  --bg-secondary: #0A0A0A;
  --bg-nav: rgba(13, 15, 13, 0.95);
  --bg-card: rgba(30, 58, 95, 0.8);
  --bg-elevated: rgba(20, 26, 20, 0.6);

  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted: #A0A0A0;
  --font-greek: 'Georgia', 'Times New Roman', serif;

  --gradient-card: linear-gradient(135deg, rgba(30,58,95,0.85), rgba(13,15,13,0.92));
  --gradient-gold: linear-gradient(135deg, var(--classic-gold), var(--gold-bright));
  --shadow-gold: 0 0 30px rgba(192, 192, 192, 0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

  --success: #4ade80;
  --black: #000000;
}


/* ===== HOME / LEASE PAGE STYLES ===== */

/* Global Strip (shared across all pages) */
.global-strip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.global-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem clamp(1.5rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.global-brand {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #D4AF37;
    text-decoration: none;
}
.global-links {
    display: flex;
    gap: 1.5rem;
}
.global-links a {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s;
}
.global-links a:hover {
    color: #D4AF37;
}

/* Tab nav adjustment */
.tab-nav {
    top: 40px;
}
.tab-nav .nav-link.active {
    color: var(--classic-gold);
}
.tab-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--classic-gold);
}

/* Lease Header */
.lease-header {
    padding-top: calc(40px + var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid rgba(192,192,192,0.06);
}
.lease-domain {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--classic-gold);
    margin-bottom: 1rem;
}
.lease-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.lease-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Current Endorsements */
.endorsement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.endorsement-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.25rem;
    background: var(--gradient-card);
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}
.endorsement-slot.empty:hover {
    border-color: rgba(192,192,192,0.3);
    box-shadow: var(--shadow-card), var(--shadow-gold);
    transform: translateY(-4px);
}
.slot-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}
.slot-status {
    font-size: 0.75rem;
    color: #2ecc71;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.slot-cta {
    margin-top: auto;
    padding: 0.5rem 1.25rem;
    background: rgba(192,192,192,0.1);
    border: 1px solid rgba(192,192,192,0.25);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--classic-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}
.slot-cta:hover {
    background: var(--classic-gold);
    color: #0A0A0A;
}

/* Ad Zone Cards */
.ad-zone-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.ad-zone-card {
    background: var(--gradient-card);
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.ad-zone-card:hover {
    border-color: rgba(192,192,192,0.25);
    box-shadow: var(--shadow-card), 0 20px 60px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}
.ad-zone-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(192,192,192,0.06);
}
.ad-tier {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    background: rgba(192,192,192,0.08);
    border: 1px solid rgba(192,192,192,0.15);
    border-radius: 100px;
    color: var(--classic-gold);
    margin-bottom: 0.75rem;
}
.ad-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}
.ad-dims {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.ad-zone-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ad-price-row {
    margin-bottom: 1.25rem;
}
.ad-price {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
}
.ad-currency {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--classic-gold);
    margin-top: 0.3rem;
}
.ad-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--classic-gold);
    line-height: 1;
}
.ad-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 0.4rem;
    margin-left: 0.25rem;
}
.ad-ppm {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}
.ad-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.ad-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}
.ad-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--classic-gold);
    font-size: 0.75rem;
}
.btn-ad-select {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    background: var(--gradient-gold);
    color: #0A0A0A;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-ad-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192,192,192,0.35);
}

/* Hekaweb Services */
.hekaweb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.hekaweb-card {
    background: var(--gradient-card);
    border: 1px solid rgba(192,192,192,0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.hekaweb-card:hover {
    border-color: rgba(192,192,192,0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.hekaweb-service {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}
.hekaweb-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.hekaweb-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--classic-gold);
}
.hekaweb-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.hekaweb-contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(192,192,192,0.08);
}
.hekaweb-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hekaweb-note strong {
    color: var(--text-primary);
}

/* ===== RESPONSIVE LEASE PAGE ===== */
@media (max-width: 1024px) {
    .endorsement-grid,
    .ad-zone-cards,
    .hekaweb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .endorsement-grid,
    .ad-zone-cards,
    .hekaweb-grid {
        grid-template-columns: 1fr;
    }
    .lease-header {
        padding-top: calc(40px + var(--nav-height) + 2.5rem);
        padding-bottom: 2.5rem;
    }
    .global-links {
        display: none;
    }
}

/* ===== ENDORSEMENT HERO ===== */
.endorsement-hero {
    padding-top: calc(40px + var(--nav-height) + 3rem);
    padding-bottom: 3rem;
    text-align: center;
    background: linear-gradient(180deg, #0D0F0D 0%, #0A0A0A 50%, #0A0A0A 100%);
    border-bottom: 1px solid rgba(192,192,192,0.08);
    position: relative;
    overflow: hidden;
}
.endorsement-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 30%, rgba(192,192,192,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.endorsement-hero-content {
    position: relative;
    z-index: 1;
}
.endorsement-mascot {
    margin-bottom: 1.25rem;
}
.endorsement-mascot-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(192,192,192,0.2));
}
.endorsement-eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.endorsement-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.endorsement-greek {
    color: var(--classic-gold);
}
.endorsement-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
    background: var(--bg-primary);
    border-top: 1px solid rgba(192,192,192,0.06);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.step-card {
    background: var(--gradient-card);
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192,192,192,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.step-card .step-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--classic-gold);
    margin-bottom: 1rem;
    line-height: 1;
}
.step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}
.step-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 12 SACRED SPACES ===== */
.spaces-section {
    background: linear-gradient(180deg, #0A0A0A 0%, #0D0F0D 30%, #0A0A0A 60%, #0D0F0D 100%);
    border-top: 1px solid rgba(192,192,192,0.06);
    border-bottom: 1px solid rgba(192,192,192,0.06);
}
.spaces-legend {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}
.spaces-layout {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Space Row Layouts */
.space-row {
    display: flex;
    gap: 2rem;
}
.space-row--sidebar {
    align-items: stretch;
}
.space-row--sidebar .space-slot--narrow {
    flex-shrink: 0;
}
.space-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.space-row--halves > .space-slot {
    flex: 1;
}
.space-row--triple > .space-slot:nth-child(1) {
    flex: 2;
}
.space-row--triple > .space-slot:nth-child(2) {
    flex: 1.2;
}
.space-row--triple > .space-slot:nth-child(3) {
    flex: 1;
}
.space-row--quad > .space-slot:nth-child(1),
.space-row--quad > .space-slot:nth-child(2) {
    flex: 1;
}
.space-row--quad > .space-slot:nth-child(3) {
    flex: 2.5;
}

/* Individual Space Slot */
.space-slot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
}
.space-slot--narrow {
    flex: none;
    width: 260px;
}
.space-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.space-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--classic-gold);
    opacity: 0.4;
    line-height: 1;
    min-width: 36px;
}
.space-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.space-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}
.space-dims {
    font-family: 'Consolas', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.space-exclusive {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--classic-gold);
    padding: 0.25rem 0.75rem;
    background: rgba(192,192,192,0.08);
    border: 1px solid rgba(192,192,192,0.2);
    border-radius: 100px;
}

/* The Frame */
.space-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(30,58,95,0.92), rgba(13,15,13,0.97));
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.5s ease;
    box-sizing: border-box;
}
.space-frame-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(192,192,192,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.space-frame:hover {
    border-color: rgba(192,192,192,0.3);
}

.space-frame-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(92,155,209,0.06), rgba(10,10,10,0.12));
}
.space-placeholder-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192,192,192,0.08);
    border: 1px solid rgba(192,192,192,0.18);
    border-radius: 6px;
    color: var(--classic-gold);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.space-placeholder-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Proportional Frame Sizes */

/* Elite reserve button inside frame */

/* Frame-type specific button sizing */

/* Frame is the interactive element */
.space-frame {
    cursor: pointer;
}

/* Elegant "Available" hover label */
.space-frame-content::after {
    content: 'Available';
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-family: var(--font-display);
    font-size: clamp(0.28rem, 0.7vw, 0.5rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(192,192,192,0.5);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
}
.space-frame:hover .space-frame-content::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    color: rgba(192,192,192,0.75);
}

/* Refined glow on hover */
.space-frame:hover {
    border-color: rgba(192,192,192,0.25);
    box-shadow: 0 0 20px rgba(192,192,192,0.06), inset 0 0 30px rgba(192,192,192,0.03);
}
.space-frame:hover .space-frame-glow {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   ARCHETYPE ANIMATIONS — NIKE
   ═══════════════════════════════════════════════════════════════ */

/* Frame is the interactive element */
.space-frame {
    cursor: pointer;
}

/* Shimmer sweep across frame */
.space-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192,192,192,0.06), transparent);
    transform: skewX(-20deg);
    animation: shimmer-sweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Archetype symbol replaces diamond */
.space-placeholder-logo {
    font-size: 0;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
}
.space-placeholder-logo::before {
    content: '✦';
    font-size: 1.1rem;
    color: var(--classic-gold);
    animation: nike-symbol 3s ease-in-out infinite;
    display: block;
}

/* Floating particles inside frame */
.space-frame-content::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(192,192,192,0.4);
    top: 60%;
    left: 25%;
    animation: float-up 4s ease-in-out infinite;
    pointer-events: none;
}
.space-frame-content .particle-2,
.space-frame-content .particle-3 {
    display: none;
}

/* Elegant "Available" hover label */
.space-frame-content::after {
    content: 'Available';
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-family: var(--font-display);
    font-size: clamp(0.28rem, 0.7vw, 0.5rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(192,192,192,0.5);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
}
.space-frame:hover .space-frame-content::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    color: rgba(192,192,192,0.75);
}

/* Refined glow on hover */
.space-frame:hover {
    border-color: rgba(192,192,192,0.25);
    box-shadow: 0 0 20px rgba(192,192,192,0.06), inset 0 0 30px rgba(192,192,192,0.03);
}
.space-frame:hover .space-frame-glow {
    opacity: 0.7;
}

@keyframes nike-symbol {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px rgba(192,192,192,0.3)); }
    25% { transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 0 8px rgba(192,192,192,0.6)); }
    50% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 4px rgba(192,192,192,0.4)); }
    75% { transform: scale(1.15) rotate(-5deg); filter: drop-shadow(0 0 8px rgba(192,192,192,0.6)); }
}

@keyframes shimmer-sweep {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}
@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    15% { opacity: 0.6; }
    85% { opacity: 0.6; }
    100% { transform: translateY(-30px) scale(0.3); opacity: 0; }
}
@keyframes available-pulse {
    0%, 100% { opacity: 0.25; transform: translateX(-50%) translateY(4px) scale(0.92); }
    50% { opacity: 0.85; transform: translateX(-50%) translateY(0) scale(1); }
}

.space-frame--hero {
    aspect-ratio: 1200 / 400;
    border-top: 3px solid var(--classic-gold);
}
.space-frame--column {
    aspect-ratio: 300 / 600;
}
.space-frame--inline {
    aspect-ratio: 800 / 300;
    max-height: 240px;
}
.space-frame--content {
    aspect-ratio: 600 / 280;
    max-height: 220px;
}
.space-frame--half {
    aspect-ratio: 500 / 280;
    max-height: 220px;
}
.space-frame--ribbon {
    aspect-ratio: 700 / 180;
    max-height: 160px;
}
.space-frame--badge {
    aspect-ratio: 400 / 150;
    max-height: 140px;
}
.space-frame--text {
    aspect-ratio: 350 / 120;
    max-height: 120px;
}
.space-frame--emblem {
    aspect-ratio: 250 / 100;
    max-height: 100px;
}
.space-frame--footer {
    aspect-ratio: 1200 / 100;
    max-height: 100px;
}
.space-frame--throne {
    aspect-ratio: 1200 / 400;
    max-height: 300px;
    background: linear-gradient(145deg, rgba(192,192,192,0.06), rgba(30,58,95,0.95));
    border-color: rgba(192,192,192,0.25);
}
.space-frame--throne .space-frame-content {
    background: linear-gradient(135deg, rgba(192,192,192,0.05), rgba(92,155,209,0.1));
}

/* Space Footer (Price + Reserve, outside frame) */

/* Divider */
.spaces-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}
.spaces-divider span {
    flex: 1;
    height: 1px;
    background: rgba(192,192,192,0.12);
}
.spaces-divider em {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Full Page Slot Special */
.space-slot--fullpage .space-name {
    color: var(--classic-gold);
}
.space-slot--fullpage .space-num {
    opacity: 0.8;
}

/* ===== RESPONSIVE SPACES ===== */
@media (max-width: 1024px) {
    .space-row--sidebar {
        flex-direction: column;
    }
    .space-row--sidebar .space-slot--narrow {
        width: 100%;
        max-width: 320px;
    }
    .space-row--sidebar .space-frame--column {
        max-height: 360px;
        aspect-ratio: 3 / 2;
    }
    .space-row--halves,
    .space-row--triple,
    .space-row--quad {
        flex-wrap: wrap;
    }
    .space-row--halves > .space-slot,
    .space-row--triple > .space-slot,
    .space-row--quad > .space-slot {
        flex: 1 1 calc(50% - 1rem);
        min-width: 240px;
    }
    .space-row--quad > .space-slot:nth-child(3) {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .spaces-layout {
        gap: 1rem;
    }
    .space-row {
        gap: 0.5rem;
    }
    .space-slot {
        gap: 0.35rem;
    }
    .space-row--sidebar {
        flex-direction: row;
    }
    .space-row--sidebar .space-slot--narrow {
        width: 80px;
        max-width: none;
    }
    .space-row--sidebar .space-frame--column {
        flex: 1;
        aspect-ratio: auto;
        min-height: 0;
    }
    .space-row--halves,
    .space-row--triple,
    .space-row--quad {
        flex-wrap: nowrap;
    }
    .space-row--halves > .space-slot,
    .space-row--triple > .space-slot,
    .space-row--quad > .space-slot {
        flex: 1 1 auto;
        min-width: 0;
    }
    .space-row--quad > .space-slot:nth-child(3) {
        flex: 2.5;
    }
    .space-frame--hero,
    .space-frame--throne {
        max-height: none;
    }
    .space-frame--inline {
        max-height: none;
    }
    .space-frame--content,
    .space-frame--half {
        max-height: none;
    }
    .space-row--triple > .space-slot:nth-child(2) {
        flex: 1.8;
    }
    .space-row--quad > .space-slot:nth-child(2) {
        flex: 1.5;
    }
    .space-frame-content {
        gap: 0.15rem;
    }
    .space-frame-content .space-placeholder-logo {
        font-size: 0.7rem;
    }
    .space-meta {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .space-num {
        font-size: 0.6rem;
    }
    .space-name {
        font-size: 0.65rem;
    }
    .space-exclusive {
        margin-left: 0;
        font-size: 0.5rem;
    }
}

.booking-error {
    background: rgba(255,107,107,0.08);
    border: 1px solid rgba(255,107,107,0.2);
    color: #ff6b6b;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ===== BOOKING MODAL ===== */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
}
.booking-modal-panel {
    position: relative;
    background: linear-gradient(145deg, rgba(30,58,95,0.98), rgba(13,15,13,0.99));
    border: 1px solid rgba(192,192,192,0.15);
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.booking-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.booking-modal-close:hover { color: var(--classic-gold); }
.booking-modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.booking-modal-title span { color: var(--classic-gold); }
.booking-modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.booking-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}
.booking-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(192,192,192,0.12);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}
.booking-input:focus { border-color: var(--classic-gold); }
.booking-input::placeholder { color: var(--text-muted); }
.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(192,192,192,0.08);
    margin-top: 0.5rem;
}
.booking-price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.booking-price-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--classic-gold);
}
.booking-submit {
    background: var(--classic-gold);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}
.booking-submit:hover { opacity: 0.9; }
.booking-submit--secondary {
    background: transparent;
    color: var(--classic-gold);
    border: 1px solid rgba(192,192,192,0.3);
}
.booking-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}
.booking-toggle {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(192,192,192,0.12);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.booking-toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s;
}
.booking-toggle-btn.active {
    background: rgba(192,192,192,0.15);
    color: var(--classic-gold);
}
.booking-char-limit {
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    margin-left: 0.4rem;
}
.booking-char-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin: -0.4rem 0 0.4rem 0;
    transition: color 0.2s;
}
.booking-char-count.booking-char-count--near {
    color: var(--gold-dim);
}
.booking-char-count.booking-char-count--over {
    color: #c44;
}
.booking-upload-zone {
    border: 2px dashed rgba(192,192,192,0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
}
.booking-upload-zone:hover,
.booking-upload-zone.dragover {
    border-color: var(--classic-gold);
    background: rgba(192,192,192,0.03);
}
.booking-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.booking-upload-prompt { pointer-events: none; }
.booking-upload-icon {
    font-size: 2rem;
    color: var(--classic-gold);
    display: block;
    margin-bottom: 0.5rem;
}
.booking-upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.booking-upload-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    margin-top: 1rem;
    object-fit: contain;
}
.booking-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}
.booking-live-preview {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(192,192,192,0.08);
}
.booking-live-preview-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.booking-live-preview-frame {
    background: linear-gradient(145deg, rgba(30,58,95,0.92), rgba(13,15,13,0.97));
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.booking-live-preview-frame img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}
.booking-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(192,192,192,0.1);
    border: 2px solid var(--classic-gold);
    color: var(--classic-gold);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.booking-status-icon--error {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: rgba(255,107,107,0.08);
}
.booking-token-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin: 1rem 0;
}
.booking-token-note a {
    color: var(--classic-gold);
    text-decoration: underline;
}
.booking-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(192,192,192,0.15);
    border-top-color: var(--classic-gold);
    border-radius: 50%;
    animation: bookingSpin 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes bookingSpin {
    to { transform: rotate(360deg); }
}

/* Reserved badge */
.space-reserved-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--classic-gold);
    padding: 0.5rem 1rem;
    background: rgba(192,192,192,0.08);
    border: 1px solid rgba(192,192,192,0.2);
    border-radius: 6px;
}
.space-reserved-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}
.space-reserved-badge--reserved::before {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}


/* Frame overlay for reserved/live slots */
.space-frame-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(8, 14, 25, 0.85);
    backdrop-filter: blur(2px);
    gap: 0.5rem;
}
.space-frame-overlay-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--classic-gold);
    text-transform: uppercase;
}
.space-frame-overlay-sub {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Live ad inside frame */
.space-live-ad {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}
.space-live-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Upload dimensions emphasis */
.booking-upload-dims {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--classic-gold);
    text-align: center;
    margin-bottom: 1rem;
}


/* My Bookings */
.my-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}
.my-booking-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.my-booking-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.my-booking-item-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.my-booking-item-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.my-booking-item-status--live { color: var(--success); }
.my-booking-item-status--pending { color: #fbbf24; }
.my-booking-item-status--rejected { color: #ff6b6b; }
.my-booking-item-link {
    color: var(--classic-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.my-booking-item-link:hover {
    text-decoration: underline;
}

/* My bookings nav link */
.my-bookings-nav {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    background: var(--bg-elevated);
    border: 1px solid var(--gold-dim);
    color: var(--classic-gold);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.2s;
}
.my-bookings-nav:hover {
    background: rgba(192,192,192,0.1);

    .space-placeholder-logo {
        width: 24px;
        height: 24px;
    }
    .space-placeholder-logo::before {
        font-size: 0.85rem;
    }
    /* Mobile: Available pulses randomly per slot */
    .space-frame-content::after {
        opacity: 0.5;
        animation: available-pulse 3.5s ease-in-out infinite;
    }
    .space-slot:nth-child(1) .space-frame-content::after { animation-delay: 0s; }
    .space-slot:nth-child(2) .space-frame-content::after { animation-delay: 0.7s; }
    .space-slot:nth-child(3) .space-frame-content::after { animation-delay: 1.4s; }
    .space-slot:nth-child(4) .space-frame-content::after { animation-delay: 2.1s; }
    .space-slot:nth-child(5) .space-frame-content::after { animation-delay: 0.3s; }
    .space-slot:nth-child(6) .space-frame-content::after { animation-delay: 1.0s; }
    .space-slot:nth-child(7) .space-frame-content::after { animation-delay: 1.7s; }
    .space-slot:nth-child(8) .space-frame-content::after { animation-delay: 2.4s; }
    .space-slot:nth-child(9) .space-frame-content::after { animation-delay: 0.5s; }
    .space-slot:nth-child(10) .space-frame-content::after { animation-delay: 1.2s; }
    .space-slot:nth-child(11) .space-frame-content::after { animation-delay: 1.9s; }
    .space-slot:nth-child(12) .space-frame-content::after { animation-delay: 2.6s; }
    .space-slot:nth-child(13) .space-frame-content::after { animation-delay: 0.9s; }

}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}
.gallery-item {
    background: var(--gradient-card);
    border: 1px solid rgba(192,192,192,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(192,192,192,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(30,58,95,0.9), rgba(13,15,13,0.95));
    border-bottom: 1px solid rgba(192,192,192,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--space-md);
    text-align: center;
}
.gallery-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--classic-gold);
    letter-spacing: 0.03em;
}
.gallery-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255,215,0,0.1);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.03);
    filter: brightness(1.08);
}
.gallery-caption {
    padding: var(--space-md);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}