/* ============================================
   courthouse.stream - Styles
   Surreal Courthouse Evidence Board
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --deep-umber: #1C1108;
    --aged-parchment: #E8D8B4;
    --sepia-ink: #6B4F3A;
    --burnt-sienna: #8B4513;
    --bone-white: #D4C4A8;
    --shadow-brown: #2E2218;
    --tarnished-gold: #A0873A;
    --charcoal-fade: #3B2F1E;

    --font-heading: 'Commissioner', sans-serif;
    --font-body: 'Lora', serif;
    --font-typewriter: 'Special Elite', cursive;
}

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

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

body {
    background-color: var(--deep-umber);
    color: var(--sepia-ink);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
}

/* ---- Noise Texture Overlay ---- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#courtNoise);
    mix-blend-mode: multiply;
    opacity: 0.08;
    pointer-events: none;
    z-index: 9999;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--aged-parchment);
    transition: font-weight 300ms ease;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
}

h2:hover {
    font-weight: 800;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.06em;
}

.exhibit-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--burnt-sienna);
    display: block;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.typewriter-label {
    font-family: var(--font-typewriter);
    font-size: 0.75rem;
    color: var(--sepia-ink);
    display: block;
}

.legal-prose {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--bone-white);
}

.exhibit-caption {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--bone-white);
    margin-top: 0.75rem;
    font-style: italic;
}

/* ============================================
   OPENING SECTION
   ============================================ */
.section-opening {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--deep-umber);
    overflow: hidden;
}

.stamp-container {
    text-align: center;
    position: relative;
}

.stamp-text {
    position: relative;
    display: inline-block;
}

.stamp-domain {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--aged-parchment);
    display: block;
    opacity: 0;
    transform: translateY(-30px);
    animation: stampDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    transition: font-weight 300ms ease;
}

.stamp-domain:hover {
    font-weight: 800;
}

@keyframes stampDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    60% {
        opacity: 1;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stamp-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 135, 58, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: burstExpand 0.8s ease-out 0.8s forwards;
    pointer-events: none;
}

@keyframes burstExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 0.6;
    }
    100% {
        width: 600px;
        height: 600px;
        opacity: 0;
    }
}

.stamp-line {
    width: 0;
    height: 1px;
    background: var(--tarnished-gold);
    margin: 2rem auto 0;
    animation: drawLine 1.2s ease-out 1.2s forwards;
}

@keyframes drawLine {
    to {
        width: min(80vw, 600px);
    }
}

.stamp-case-number {
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 2s forwards;
}

.stamp-date {
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 2.4s forwards;
}

.seal-mark {
    position: absolute;
    top: 15%;
    right: 10%;
    opacity: 0;
    transform: translateY(-20px);
    animation: stampDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s forwards;
}

.seal-circle {
    width: 90px;
    height: 90px;
    border: 2px dashed var(--burnt-sienna);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    animation: sealBlur 0.3s ease-out 2.5s forwards;
    filter: blur(2px);
}

.seal-circle.seal-final {
    width: 110px;
    height: 110px;
    transform: rotate(-8deg);
}

@keyframes sealBlur {
    to {
        filter: blur(0);
    }
}

.seal-text {
    font-family: var(--font-typewriter);
    font-size: 0.85rem;
    color: var(--burnt-sienna);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

/* ============================================
   FLOWING CURVE DIVIDERS
   ============================================ */
.divider-curve {
    width: 100%;
    padding: 1rem 0;
    overflow: hidden;
}

.divider-curve svg {
    width: 100%;
    height: 60px;
    display: block;
}

.divider-curve path {
    stroke: var(--tarnished-gold);
    stroke-width: 1;
    stroke-linecap: round;
    fill: none;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    transition: stroke-dashoffset 2s ease-in-out;
}

.divider-curve.visible path {
    stroke-dashoffset: 0;
}

.divider-testimony {
    max-width: 700px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.divider-testimony svg {
    height: 30px;
}

/* ============================================
   EVIDENCE GRID
   ============================================ */
.section-evidence {
    padding: 2rem;
    background-color: var(--deep-umber);
}

.evidence-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 3fr;
    grid-template-rows: auto;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Grid cell placement */
.cell-a {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.cell-b {
    grid-column: 3 / 4;
    grid-row: 1 / 4;
}

.cell-c {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.cell-d {
    grid-column: 4 / 5;
    grid-row: 2 / 4;
}

.cell-e {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.cell-f {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.cell-g {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

.cell-h {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
}

.cell-i {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
}

.cell-j {
    grid-column: 2 / 5;
    grid-row: 5 / 6;
}

/* ---- Grid Cell Base Styles ---- */
.grid-cell {
    position: relative;
    padding: 1.5rem;
    min-height: 200px;
    background-color: var(--shadow-brown);
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Border animation pseudo-elements */
.grid-cell .border-top,
.grid-cell .border-right,
.grid-cell .border-bottom,
.grid-cell .border-left {
    position: absolute;
    background: var(--burnt-sienna);
    z-index: 1;
}

.grid-cell .border-top {
    top: 0;
    left: 0;
    height: 1px;
    width: 0;
}

.grid-cell .border-right {
    top: 0;
    right: 0;
    width: 1px;
    height: 0;
}

.grid-cell .border-bottom {
    bottom: 0;
    right: 0;
    height: 1px;
    width: 0;
}

.grid-cell .border-left {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 0;
}

/* Border animation when visible — clockwise drawing */
.grid-cell.visible .border-top {
    animation: drawHorizontal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.grid-cell.visible .border-right {
    animation: drawVertical 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.grid-cell.visible .border-bottom {
    animation: drawHorizontalReverse 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.grid-cell.visible .border-left {
    animation: drawVerticalReverse 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

@keyframes drawHorizontal {
    to { width: 100%; }
}

@keyframes drawVertical {
    to { height: 100%; }
}

@keyframes drawHorizontalReverse {
    0% { width: 0; right: 0; left: auto; }
    100% { width: 100%; right: 0; left: auto; }
}

@keyframes drawVerticalReverse {
    0% { height: 0; bottom: 0; top: auto; }
    100% { height: 100%; bottom: 0; top: auto; }
}

/* Cell content fade-in after borders draw */
.grid-cell .cell-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

.grid-cell.visible .cell-content {
    opacity: 1;
    transform: translateY(0);
}

/* ---- CSS Photographs (gradient compositions) ---- */
/* Mimicking long-exposure courtroom interiors */
.css-photograph {
    width: 100%;
    height: 180px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

/* Impossible corridor — elongated light streaks */
.photo-corridors {
    background:
        linear-gradient(175deg, transparent 30%, var(--tarnished-gold) 30.5%, transparent 31%),
        linear-gradient(185deg, transparent 50%, var(--tarnished-gold) 50.3%, transparent 50.6%),
        linear-gradient(170deg, transparent 70%, rgba(160, 135, 58, 0.4) 70.3%, transparent 70.6%),
        linear-gradient(to bottom, var(--deep-umber) 0%, var(--shadow-brown) 40%, var(--deep-umber) 100%);
    height: 220px;
}

/* Contradicting column shadow */
.photo-column {
    background:
        linear-gradient(to right, var(--deep-umber) 35%, var(--shadow-brown) 36%, var(--shadow-brown) 42%, var(--deep-umber) 43%),
        linear-gradient(135deg, transparent 45%, rgba(160, 135, 58, 0.15) 50%, transparent 55%),
        linear-gradient(to bottom, var(--shadow-brown) 0%, var(--deep-umber) 100%);
    height: 300px;
}

/* The bench with three clocks implied */
.photo-bench {
    background:
        radial-gradient(circle 12px at 25% 25%, rgba(160, 135, 58, 0.25) 0%, transparent 100%),
        radial-gradient(circle 12px at 50% 20%, rgba(160, 135, 58, 0.2) 0%, transparent 100%),
        radial-gradient(circle 12px at 75% 28%, rgba(160, 135, 58, 0.3) 0%, transparent 100%),
        repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(107, 79, 58, 0.15) 80px, rgba(107, 79, 58, 0.15) 81px),
        linear-gradient(to bottom, var(--deep-umber) 0%, var(--shadow-brown) 60%, var(--charcoal-fade) 100%);
    height: 160px;
}

/* Self-referencing window */
.photo-window {
    background:
        radial-gradient(ellipse 40% 60% at 50% 40%, rgba(232, 216, 180, 0.15) 0%, transparent 100%),
        linear-gradient(to bottom, var(--shadow-brown) 0%, var(--deep-umber) 30%, var(--shadow-brown) 60%, var(--deep-umber) 100%),
        linear-gradient(to right, var(--deep-umber) 20%, var(--shadow-brown) 21%, var(--shadow-brown) 79%, var(--deep-umber) 80%);
    height: 200px;
}

/* Escher-like stairwell */
.photo-stairs {
    background:
        repeating-linear-gradient(
            180deg,
            var(--deep-umber) 0px,
            var(--deep-umber) 20px,
            var(--shadow-brown) 20px,
            var(--shadow-brown) 22px,
            var(--charcoal-fade) 22px,
            var(--charcoal-fade) 40px
        ),
        linear-gradient(90deg, var(--deep-umber) 0%, transparent 20%, transparent 80%, var(--deep-umber) 100%);
    height: 180px;
}

/* ---- Redacted Text ---- */
.redacted-content {
    padding: 1rem 0;
}

.redacted-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 2;
    background: var(--charcoal-fade);
    color: var(--charcoal-fade);
    padding: 0.25rem 0.5rem;
    transition: color 400ms ease;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    display: inline;
}

.redacted-text:hover {
    color: var(--aged-parchment);
}

/* ---- Rubber Stamp ---- */
.stamp-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.rubber-stamp {
    width: 120px;
    height: 120px;
    border: 2px dashed var(--burnt-sienna);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
    opacity: 0;
    filter: blur(2px);
}

.rubber-stamp.stamp-small {
    width: 70px;
    height: 70px;
    border-width: 1.5px;
    transform: rotate(-8deg);
}

.grid-cell.visible .rubber-stamp {
    animation: stampAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}

@keyframes stampAppear {
    0% {
        opacity: 0;
        transform: rotate(-12deg) translateY(-15px);
        filter: blur(2px);
    }
    60% {
        opacity: 1;
        transform: rotate(-12deg) translateY(2px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: rotate(-12deg) translateY(0);
        filter: blur(0);
    }
}

.stamp-inner-text {
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: var(--burnt-sienna);
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.stamp-small .stamp-inner-text {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
}

.stamp-cell .typewriter-label {
    text-align: center;
    max-width: 280px;
    line-height: 1.5;
}

/* Exhibit J seal area */
.exhibit-j-seal {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* ============================================
   TESTIMONY SECTION
   ============================================ */
.section-testimony {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
}

.section-testimony .section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--aged-parchment);
    margin-bottom: 0.5rem;
}

.section-testimony > .testimony-case-label {
    margin-bottom: 3rem;
    color: var(--sepia-ink);
}

.transcript-block {
    padding: 1.5rem 0 1.5rem 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Left-aligned monospaced indentation marker */
.transcript-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.5rem;
    width: 3px;
    height: 0;
    background: var(--burnt-sienna);
    opacity: 0.4;
    transition: height 0.6s ease 0.2s;
}

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

.transcript-block.visible::before {
    height: calc(100% - 3rem);
}

.speaker-id {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--tarnished-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.testimony-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--bone-white);
}

.testimony-text em {
    color: var(--sepia-ink);
    font-style: italic;
}

/* ============================================
   CLOSING SECTION
   ============================================ */
.section-closing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 2rem;
    background-color: var(--deep-umber);
    position: relative;
}

/* ---- CSS Gavel ---- */
.gavel-container {
    position: relative;
    width: 200px;
    height: 140px;
    cursor: pointer;
}

.gavel {
    position: relative;
    width: 100%;
    height: 100%;
}

.gavel-head {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 45px;
    background: var(--tarnished-gold);
    border-radius: 8px;
    box-shadow:
        inset 0 -4px 8px rgba(28, 17, 8, 0.4),
        inset 0 4px 8px rgba(232, 216, 180, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.gavel-head::before,
.gavel-head::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 55px;
    background: var(--tarnished-gold);
    border-radius: 4px;
    top: -5px;
    box-shadow:
        inset -2px 0 4px rgba(28, 17, 8, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2);
}

.gavel-head::before {
    left: -4px;
}

.gavel-head::after {
    right: -4px;
}

.gavel-handle {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 70px;
    background: linear-gradient(to bottom, var(--burnt-sienna), var(--sepia-ink));
    border-radius: 3px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.gavel-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: clip-path 600ms ease;
    clip-path: none;
}

/* Shadow morphs into raven silhouette on hover */
.gavel-container:hover .gavel-shadow {
    clip-path: polygon(
        35% 0%, 38% 20%, 30% 50%, 20% 70%, 15% 85%, 18% 100%,
        50% 90%, 82% 100%, 85% 85%, 80% 70%, 70% 50%, 62% 20%, 65% 0%
    );
    width: 140px;
    height: 30px;
}

/* ---- Verdict Text ---- */
.verdict-text {
    text-align: center;
    min-height: 4rem;
}

.verdict-letters {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--aged-parchment);
}

.verdict-letters .letter {
    display: inline-block;
    opacity: 0;
}

.verdict-letters .letter.revealed {
    opacity: 1;
    transition: opacity 0.15s ease;
}

/* ---- Scales of Justice ---- */
.scales-container {
    position: relative;
    width: 200px;
    height: 180px;
}

.scales {
    position: relative;
    width: 100%;
    height: 100%;
}

.scales-post {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100px;
    background: linear-gradient(to bottom, var(--tarnished-gold), var(--burnt-sienna));
    border-radius: 2px;
}

.scales-base {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: var(--tarnished-gold);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Beam tilts 2 degrees left/right on 6s infinite loop */
.scales-beam {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 4px;
    background: var(--tarnished-gold);
    border-radius: 2px;
    transform-origin: center center;
    animation: scalesTilt 6s ease-in-out infinite;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

@keyframes scalesTilt {
    0%, 100% {
        transform: translateX(-50%) rotate(2deg);
    }
    50% {
        transform: translateX(-50%) rotate(-2deg);
    }
}

.scales-chain-left,
.scales-chain-right {
    position: absolute;
    top: 24px;
    width: 1px;
    height: 40px;
    background: var(--tarnished-gold);
}

.scales-chain-left {
    left: 28px;
    animation: chainSwingLeft 6s ease-in-out infinite;
    transform-origin: top center;
}

.scales-chain-right {
    right: 28px;
    animation: chainSwingRight 6s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes chainSwingLeft {
    0%, 100% {
        transform: rotate(2deg);
        height: 46px;
    }
    50% {
        transform: rotate(-2deg);
        height: 34px;
    }
}

@keyframes chainSwingRight {
    0%, 100% {
        transform: rotate(-2deg);
        height: 34px;
    }
    50% {
        transform: rotate(2deg);
        height: 46px;
    }
}

.scales-pan-left,
.scales-pan-right {
    position: absolute;
    width: 40px;
    height: 8px;
    background: var(--tarnished-gold);
    border-radius: 0 0 50% 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scales-pan-left {
    left: 8px;
    animation: panLeft 6s ease-in-out infinite;
}

.scales-pan-right {
    right: 8px;
    animation: panRight 6s ease-in-out infinite;
}

@keyframes panLeft {
    0%, 100% {
        top: 70px;
    }
    50% {
        top: 58px;
    }
}

@keyframes panRight {
    0%, 100% {
        top: 58px;
    }
    50% {
        top: 70px;
    }
}

/* ---- Closing Stamp ---- */
.closing-stamp {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(-15px);
}

.closing-stamp.visible {
    animation: stampDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ---- Closing Docket ---- */
.closing-docket {
    opacity: 0;
    text-align: center;
}

.closing-docket.visible {
    animation: fadeIn 1.2s ease-out 0.5s forwards;
}

.closing-docket .typewriter-label {
    color: var(--sepia-ink);
    letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .evidence-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cell-a { grid-column: 1 / 3; grid-row: auto; }
    .cell-b { grid-column: 1 / 2; grid-row: auto; }
    .cell-c { grid-column: 2 / 3; grid-row: auto; }
    .cell-d { grid-column: 1 / 3; grid-row: auto; }
    .cell-e { grid-column: 1 / 2; grid-row: auto; }
    .cell-f { grid-column: 2 / 3; grid-row: auto; }
    .cell-g { grid-column: 1 / 3; grid-row: auto; }
    .cell-h { grid-column: 1 / 3; grid-row: auto; }
    .cell-i { grid-column: 1 / 2; grid-row: auto; }
    .cell-j { grid-column: 2 / 3; grid-row: auto; }
}

@media (max-width: 600px) {
    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .cell-a, .cell-b, .cell-c, .cell-d, .cell-e,
    .cell-f, .cell-g, .cell-h, .cell-i, .cell-j {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .section-testimony {
        padding: 3rem 1.5rem;
    }

    .transcript-block {
        padding-left: 1rem;
    }

    .seal-mark {
        top: 8%;
        right: 5%;
    }

    .stamp-domain {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .section-closing {
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
}
