/* ============================================================
   Amamiya Honpo — Victorian Cabinet of Digital Curiosities
   Design: victorian-ornate × tech-mono, asymmetric, gradient
   ============================================================ */

/* ----- Design Palette (all 12 colors) ----- */
:root {
    --color-ebony:       #0D0A07;
    --color-mahogany:    #1A1208;
    --color-walnut:      #2C1F0E;
    --color-leather:     #4A3520;
    --color-teak:        #7D5A35;
    --color-brass:       #C9A84C;
    --color-parchment:   #E8D5A3;
    --color-vellum:      #F5EDD8;
    --color-verdigris:   #3A5A6E;
    --color-teal-deep:   #1B3A4B;
    --color-steel-grey:  #B8C4CC;
    --color-steel-blue:  #7A9BAD;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    background-color: #0D0A07;
    background-image: radial-gradient(ellipse at 50% 50%, #1A1208 0%, #0D0A07 70%);
    color: #B8C4CC;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ----- Overlay Effects ----- */
#vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(13, 10, 7, 0.45) 100%);
    pointer-events: none;
    z-index: 900;
}

#scanlines {
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.04) 1px,
        rgba(0, 0, 0, 0.04) 2px
    );
    pointer-events: none;
    z-index: 901;
}

/* ----- Typography ----- */
.playfair {
    font-family: 'Playfair Display', serif;
}

h1, h2, .section-title, #hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #E8D5A3;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
    animation: gaslight-pulse 4s ease-in-out infinite;
}

h3, .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #E8D5A3;
}

.section-label, .annotation-label, .card-meta-tag, .ann-meta-tag, .meta-tag {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C9A84C;
}

.nav-label, #nav-close, .cta-primary, .card-cta {
    font-family: 'Cinzel Decorative', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.body-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #B8C4CC;
    margin-bottom: 20px;
}

.annotation-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #7A9BAD;
    display: block;
    margin-top: 2px;
}

.card-body {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    line-height: 1.65;
    color: #B8C4CC;
    margin-bottom: 16px;
}

.ornamental-numeral, .pull-quote-numeral {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

.footer-hash, .prov-year, .spec-item {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
}

/* ----- Gaslight Pulse Animation ----- */
@keyframes gaslight-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(201, 168, 76, 0.3); }
    50% { text-shadow: 0 0 35px rgba(201, 168, 76, 0.5), 0 0 8px rgba(201, 168, 76, 0.2); }
}

/* ----- Navigation ----- */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
    padding: 20px 40px;
    background: linear-gradient(180deg, rgba(13, 10, 7, 0.9) 0%, transparent 100%);
}

#nav-collapsed {
    display: flex;
    align-items: center;
    gap: 16px;
}

#nav-sigil {
    display: flex;
    align-items: center;
}

#nav-toggle {
    background: none;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #C9A84C;
    cursor: pointer;
    padding: 7px 16px;
    transition: all 0.3s ease;
    font-family: 'Cinzel Decorative', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#nav-toggle:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: #C9A84C;
    color: #E8D5A3;
}

/* ----- Navigation Drawer ----- */
#nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 10, 7, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

#nav-drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    background: linear-gradient(135deg, #2C1F0E, #1A1208);
    border-right: 2px solid #4A3520;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

#nav-drawer.open {
    transform: translateX(0);
}

#nav-drawer-inner {
    padding: 48px 32px;
}

.nav-drawer-header {
    margin-bottom: 40px;
}

.nav-drawer-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: #C9A84C;
    text-align: center;
    margin: 12px 0;
    font-weight: 400;
    text-shadow: none;
    animation: none;
}

#nav-list {
    list-style: none;
    margin-bottom: 48px;
}

#nav-list li {
    border-bottom: 1px solid rgba(74, 53, 32, 0.5);
}

#nav-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    text-decoration: none;
    transition: all 0.25s ease;
}

#nav-list a:hover {
    padding-left: 8px;
}

.nav-ornament {
    color: #C9A84C;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.nav-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: #E8D5A3;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
}

#nav-list a:hover .nav-text {
    color: #F5EDD8;
}

#nav-close {
    background: none;
    border: 1px solid rgba(74, 53, 32, 0.8);
    color: #7D5A35;
    cursor: pointer;
    padding: 10px 20px;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#nav-close:hover {
    border-color: #C9A84C;
    color: #C9A84C;
}

/* ----- Cabinet Rule ----- */
.cabinet-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}

.rule-thin {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4A3520, #4A3520, transparent);
}

.rule-thick {
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    margin-bottom: 3px;
}

.cabinet-rule-double {
    margin: 24px 0;
}

/* ----- Hero Section ----- */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#hero-inner {
    display: flex;
    align-items: flex-start;
    padding: 0 0 0 8%;
    gap: 0;
    min-height: calc(100vh - 80px);
    align-items: center;
}

#hero-left {
    width: 52%;
    padding-right: 40px;
    padding-top: 30px;
    z-index: 1;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.meta-separator {
    color: #4A3520;
    font-size: 10px;
}

#hero-title {
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 900;
    color: #F5EDD8;
    line-height: 1.0;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.2), 0 0 80px rgba(201, 168, 76, 0.1);
}

#hero-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: #7A9BAD;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.hero-meta-block {
    margin-bottom: 40px;
    border-left: 2px solid rgba(201, 168, 76, 0.3);
    padding-left: 16px;
}

.hero-meta-block .meta-tag {
    display: block;
    margin-bottom: 6px;
    color: #7A9BAD;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
}

/* ----- Vertical Rule (Hero) ----- */
#hero-rule {
    width: 2px;
    background: linear-gradient(180deg, transparent, #C9A84C 20%, #C9A84C 80%, transparent);
    align-self: stretch;
    margin: 40px 0;
    flex-shrink: 0;
}

#hero-right {
    flex: 1;
    padding: 40px 5% 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hero-annotation {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-left: 1px solid rgba(74, 53, 32, 0.6);
}

.hero-annotation .annotation-label {
    display: block;
    margin-bottom: 3px;
}

#hero-crest {
    margin-top: 24px;
    align-self: center;
}

#hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 8%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.scroll-arrow {
    color: #C9A84C;
    font-size: 18px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ----- CTA Buttons ----- */
.cta-primary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid #C9A84C;
    color: #C9A84C;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Cinzel Decorative', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover {
    color: #E8D5A3;
    border-color: #E8D5A3;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2), inset 0 0 20px rgba(201, 168, 76, 0.05);
}

.cta-primary:hover::before {
    opacity: 1;
}

/* ----- Cabinet Sections ----- */
.cabinet-section {
    padding: 80px 8% 80px;
    position: relative;
}

.cabinet-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 31, 14, 0.3) 0%, rgba(26, 18, 8, 0.3) 100%);
    pointer-events: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.section-ornament {
    color: #C9A84C;
    font-size: 16px;
    flex-shrink: 0;
}

.section-label {
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 4vw, 56px);
    margin-bottom: 40px;
    line-height: 1.1;
}

/* ----- Cabinet Two-Column Layout ----- */
.cabinet-layout {
    display: grid;
    grid-template-columns: 58% 38%;
    gap: 4%;
    position: relative;
    z-index: 1;
}

.cabinet-col-primary {
    /* Primary narrative column */
}

.cabinet-col-secondary {
    /* Annotative metadata column */
    padding-top: 24px;
}

.annotation-block {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: rgba(26, 18, 8, 0.6);
    border-left: 2px solid #4A3520;
    border-bottom: 1px solid rgba(74, 53, 32, 0.4);
}

.annotation-block .annotation-label {
    display: block;
    margin-bottom: 4px;
}

.side-ornament {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    opacity: 0.6;
}

/* ----- Reveal Animation ----- */
.reveal-section {
    clip-path: inset(0 0 0 0);
}

.reveal-section.hidden {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-section.visible {
    clip-path: inset(0 0% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Collections Grid ----- */
.collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* ----- Collection Cards ----- */
.collection-card {
    perspective: 800px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.collection-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.collection-card--offset {
    margin-top: 40px;
}

.card-inner {
    background: linear-gradient(135deg, #2C1F0E, #1A1208);
    border: 1px solid #4A3520;
    padding: 28px 24px;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow:
        0 2px 8px rgba(13, 10, 7, 0.8),
        0 8px 24px rgba(201, 168, 76, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Filigree border accent */
.card-inner::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(74, 53, 32, 0.4);
    pointer-events: none;
}

/* Corner accents */
.card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C 30%, #C9A84C 70%, transparent);
}

.collection-card:hover .card-inner {
    transform: perspective(800px) rotateX(3deg) translateY(-4px);
    box-shadow:
        0 4px 12px rgba(13, 10, 7, 0.9),
        0 12px 32px rgba(201, 168, 76, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.6);
    border-color: rgba(201, 168, 76, 0.4);
}

.card-ornament-top {
    margin-bottom: 20px;
    opacity: 0.9;
}

.card-meta-tag {
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(74, 53, 32, 0.5);
    padding-top: 14px;
    margin-top: 4px;
}

.card-count {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: #7A9BAD;
    letter-spacing: 0.1em;
}

.card-cta {
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: #C9A84C;
    text-decoration: none;
    transition: color 0.25s ease;
}

.card-cta:hover {
    color: #E8D5A3;
}

/* ----- Accordion ----- */
.artifact-accordion {
    position: relative;
    z-index: 1;
}

.accordion-item {
    border-bottom: 1px solid rgba(74, 53, 32, 0.5);
    margin-bottom: 0;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    text-align: left;
    transition: background 0.25s ease;
}

.accordion-trigger:hover {
    background: rgba(201, 168, 76, 0.04);
    padding-left: 8px;
}

.acc-ornament {
    color: #C9A84C;
    font-size: 13px;
    flex-shrink: 0;
    width: 16px;
}

.acc-title {
    flex: 1;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: #E8D5A3;
    letter-spacing: 0.03em;
}

.acc-toggle {
    color: #7D5A35;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.25s ease;
}

.accordion-item.open .acc-toggle {
    transform: rotate(90deg);
    color: #C9A84C;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .accordion-content {
    max-height: 400px;
}

.accordion-inner {
    padding: 8px 0 24px 30px;
    border-left: 1px solid rgba(74, 53, 32, 0.4);
    margin-left: 8px;
    margin-bottom: 8px;
}

.accordion-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.accordion-text {
    flex: 1;
}

.accordion-numeral {
    flex-shrink: 0;
}

.ornamental-numeral {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 80px;
    color: rgba(201, 168, 76, 0.15);
    line-height: 1;
    display: block;
}

.artifact-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(74, 53, 32, 0.4);
}

.spec-item {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: #7A9BAD;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ----- Provenance Panel ----- */
.provenance-panel {
    background: rgba(26, 18, 8, 0.6);
    border: 1px solid #4A3520;
    padding: 24px;
    position: sticky;
    top: 100px;
    z-index: 1;
}

.provenance-header {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(74, 53, 32, 0.5);
}

.provenance-entry {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(74, 53, 32, 0.25);
}

.prov-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #C9A84C;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    width: 40px;
}

.prov-event {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #7A9BAD;
    line-height: 1.4;
}

/* ----- Annotations Section ----- */
.annotations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.annotation-card {
    background: rgba(26, 18, 8, 0.5);
    border: 1px solid rgba(74, 53, 32, 0.6);
    padding: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.annotation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.annotation-card::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, transparent);
    margin-bottom: 16px;
}

.ann-meta-tag {
    margin-bottom: 14px;
    display: block;
}

.ann-quote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #E8D5A3;
    font-style: italic;
    margin-bottom: 16px;
    quotes: "\201C" "\201D";
}

.ann-quote::before { content: open-quote; color: #C9A84C; }
.ann-quote::after { content: close-quote; color: #C9A84C; }

.ann-attribution {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: #7D5A35;
    letter-spacing: 0.1em;
}

/* ----- Pull Quote ----- */
.pull-quote-block {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(44, 31, 14, 0.5), rgba(26, 18, 8, 0.5));
    border: 1px solid rgba(74, 53, 32, 0.5);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pull-quote-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.pull-quote-numeral {
    font-size: 100px;
    color: rgba(201, 168, 76, 0.12);
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

.pull-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #E8D5A3;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* ----- Contact Section ----- */
.contact-details {
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.contact-line {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(74, 53, 32, 0.4);
}

.contact-line .annotation-label {
    display: block;
}

.contact-form-panel {
    background: rgba(26, 18, 8, 0.6);
    border: 1px solid #4A3520;
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

.form-header {
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(74, 53, 32, 0.5);
}

.form-field {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    color: #7D5A35;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(13, 10, 7, 0.6);
    border: 1px solid rgba(74, 53, 32, 0.7);
    color: #B8C4CC;
    padding: 10px 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(122, 155, 173, 0.4);
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(74, 53, 32, 1);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.1);
}

#contact-form .cta-primary {
    width: 100%;
    text-align: center;
    display: block;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1.5px solid #C9A84C;
    padding: 14px 28px;
    margin-top: 8px;
}

/* ----- Footer ----- */
#footer {
    padding: 0 8% 48px;
    position: relative;
    z-index: 1;
}

.footer-rule {
    margin-bottom: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-sigil {
    color: #C9A84C;
    font-size: 20px;
    margin-bottom: 4px;
}

.footer-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 13px;
    letter-spacing: 0.25em;
    color: #C9A84C;
    font-weight: 700;
}

.footer-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #4A3520;
    letter-spacing: 0.05em;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-ornament {
    font-size: 24px;
    color: rgba(201, 168, 76, 0.3);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-meta .meta-tag {
    color: #4A3520;
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
}

.footer-hash {
    color: rgba(74, 53, 32, 0.5);
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
}

/* ----- Depth Teal Accents (#3A5A6E, #1B3A4B) ----- */
.prov-event,
.ann-attribution {
    color: #7A9BAD;
}

.provenance-entry:hover .prov-event {
    color: #3A5A6E;
}

.footer-sub,
.spec-item {
    color: #7A9BAD;
}

/* Deep teal depth plane — used in layered depth backgrounds */
.cabinet-section:nth-child(odd)::before {
    background: linear-gradient(135deg, rgba(44, 31, 14, 0.3) 0%, rgba(27, 58, 75, 0.06) 50%, rgba(26, 18, 8, 0.3) 100%);
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    #hero-inner {
        flex-direction: column;
        padding: 8%;
        padding-top: 120px;
    }

    #hero-left {
        width: 100%;
    }

    #hero-right {
        padding: 40px 0 0;
    }

    #hero-rule {
        display: none;
    }

    .cabinet-layout {
        grid-template-columns: 1fr;
    }

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

    .collection-card--offset {
        margin-top: 0;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-meta {
        align-items: center;
    }

    .accordion-layout {
        flex-direction: column;
    }
}
