/* moot.ing - Victorian Courtroom / Legal Transcript */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #1e1a16;
    font-family: 'Lora', serif;
    color: #c4973a;
    overflow-x: hidden;
}

/* Hero: The Bench */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1612;
}

.courtroom-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 40%, #2a2218, #1a1612);
}

.bench-band {
    position: absolute;
    top: 38%;
    left: 0;
    width: 100%;
    height: 120px;
    background:
        repeating-linear-gradient(
            90deg,
            #3a2418 0px,
            #5a3c28 3px,
            #3a2418 4px,
            #2a2218 8px
        );
    border-top: 3px solid #c4973a;
    border-bottom: 3px solid #8b7355;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gavel-container {
    margin-bottom: 20px;
}

.gavel-svg {
    width: 80px;
    height: 100px;
    opacity: 0;
    transform: translateY(-20px);
    animation: gavelStrike 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

@keyframes gavelStrike {
    0% { opacity: 0; transform: translateY(-20px); }
    70% { opacity: 1; transform: translateY(2px); }
    100% { opacity: 1; transform: translateY(0); }
}

.court-title {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #c4973a;
    letter-spacing: 0.3em;
    opacity: 0;
    animation: titleReveal 0.8s ease-out 1.4s forwards;
}

@keyframes titleReveal {
    0% { opacity: 0; letter-spacing: 0.3em; }
    100% { opacity: 1; letter-spacing: 0.1em; }
}

.court-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 400;
    font-style: italic;
    color: #8b7355;
    margin-top: 8px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.double-rule {
    width: 200px;
    height: 6px;
    border-top: 2px solid #c4973a;
    border-bottom: 2px solid #c4973a;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 2.3s forwards;
}

.double-rule.small {
    width: 120px;
    height: 4px;
    border-top-width: 1px;
    border-bottom-width: 1px;
    margin-top: 12px;
    opacity: 1;
    animation: none;
}

/* Transcript Sections */
.transcript-section {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid #2a2218;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #c4973a;
    letter-spacing: 0.1em;
    text-align: center;
}

.gavel-mini {
    width: 32px;
    height: 40px;
    margin-bottom: 12px;
}

/* Transcript Body */
.transcript-body {
    padding-left: 48px;
    position: relative;
}

.transcript-line {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.transcript-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.line-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 400;
    color: #5a3c28;
    min-width: 24px;
    text-align: right;
    position: absolute;
    left: -40px;
    top: 4px;
}

.transcript-line p {
    font-family: 'Lora', serif;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 400;
    color: #8b7355;
    line-height: 1.8;
}

.speaker {
    font-family: 'Playfair Display SC', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c4973a;
    letter-spacing: 0.05em;
}

.exhibit-stamp {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    color: #8b2e2e;
    padding: 10px 16px;
    border: 1px solid #8b2e2e;
    background: #f5f0e6;
}

/* Verdict Section */
.verdict-section {
    border-bottom: none;
}

.verdict-stamp {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.stamp-text {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #8b2e2e;
    border: 4px solid #8b2e2e;
    padding: 12px 40px;
    transform: rotate(-8deg);
    opacity: 0.7;
    letter-spacing: 0.15em;
}

/* Left border line for transcript area */
.transcript-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: #2a2218;
}

/* Responsive */
@media (max-width: 768px) {
    .transcript-section {
        padding: 40px 20px;
    }

    .transcript-body {
        padding-left: 32px;
    }

    .line-number {
        left: -28px;
    }

    .bench-band {
        height: 80px;
    }
}
