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

body{
    background:#1C1A16;
    color:#B5A894;
    font-family:'Inter',sans-serif;
    font-size:1rem;
    line-height:1.7;
    overflow-x:hidden;
}

h1,h2,h3{
    font-family:'Bebas Neue',sans-serif;
    color:#E8DCC8;
    letter-spacing:0.08em;
    text-transform:uppercase;
}

/* DOSSIER LAYOUT */
.dossier-layout{
    display:flex;
    min-height:100vh;
}

/* SIDEBAR */
.sidebar{
    width:220px;
    min-height:100vh;
    background:#3A2F1F;
    border-right:2px solid #6B5B3E;
    display:flex;
    flex-direction:column;
    padding-top:2rem;
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    z-index:10;
}

.folder-tab{
    position:relative;
    padding:0.9rem 1.2rem;
    cursor:pointer;
    border-bottom:1px solid rgba(107,91,62,0.3);
    clip-path:polygon(0 0,90% 0,100% 50%,90% 100%,0 100%);
    background:#3A2F1F;
    transition:background 0.3s ease,color 0.3s ease;
}
.folder-tab:hover{background:#4E2A1B}
.folder-tab.active{
    background:#6B5B3E;
    border-left:3px solid #B8963E;
}
.tab-label{
    font-family:'DM Mono',monospace;
    font-size:0.75rem;
    text-transform:uppercase;
    letter-spacing:0.15em;
    color:#B5A894;
}
.folder-tab.active .tab-label{color:#E8DCC8}

.sidebar-footer{
    margin-top:auto;
    padding:1.5rem 1rem;
    border-top:1px solid #6B5B3E;
}
.classification-mark{
    font-family:'DM Mono',monospace;
    font-size:0.7rem;
    color:#C41E3A;
    letter-spacing:0.2em;
    text-transform:uppercase;
    border:1px solid #C41E3A;
    padding:0.25rem 0.5rem;
    display:inline-block;
}

/* CONTENT VIEWPORT */
.content-viewport{
    margin-left:220px;
    flex:1;
    min-height:100vh;
}

/* BRIEFING CARD */
.briefing-card{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
}
.contour-bg{
    position:absolute;
    inset:0;
    background:
        radial-gradient(ellipse at 30% 40%,rgba(139,115,85,0.06) 0%,transparent 60%),
        radial-gradient(ellipse at 70% 60%,rgba(184,150,62,0.04) 0%,transparent 50%);
}
.card-border{
    border:2px solid #6B5B3E;
    padding:4rem 3rem;
    text-align:center;
    position:relative;
    max-width:700px;
    width:90%;
}
.card-border::before,.card-border::after{
    content:'';
    position:absolute;
    width:20px;height:20px;
    border-color:#B8963E;
    border-style:solid;
}
.card-border::before{top:-3px;left:-3px;border-width:3px 0 0 3px}
.card-border::after{bottom:-3px;right:-3px;border-width:0 3px 3px 0}

.title-main{
    font-size:clamp(3rem,8vw,10rem);
    line-height:1;
    color:#E8DCC8;
    margin-bottom:1rem;
}
.dot{color:#B8963E}
.stamp{
    font-family:'DM Mono',monospace;
    color:#C41E3A;
    font-size:0.85rem;
    letter-spacing:0.2em;
    border:2px solid #C41E3A;
    display:inline-block;
    padding:0.3rem 1rem;
    margin-bottom:1.5rem;
    transform:rotate(-2deg);
}
.subtitle{
    font-family:'DM Mono',monospace;
    color:#B8963E;
    font-size:1rem;
    margin-bottom:0.5rem;
}
.subtitle-sub{
    color:#7A6B55;
    font-size:0.9rem;
}

/* SECTION CONTOUR */
.section-contour{
    padding:0.5rem 2rem;
    overflow:hidden;
}
.section-contour svg{width:100%;height:60px}

/* DOSSIER SECTIONS */
.dossier-section{
    padding:4rem 3rem;
    max-width:800px;
}
.section-heading{
    font-size:clamp(1.8rem,4vw,3.5rem);
    margin-bottom:2rem;
    color:#E8DCC8;
    border-bottom:1px solid #6B5B3E;
    padding-bottom:0.5rem;
}

/* REDACTED BLOCKS */
.redacted-block{
    position:relative;
    margin-bottom:1.5rem;
    cursor:pointer;
}
.redaction-bar{
    position:absolute;
    inset:0;
    background:#1C1A16;
    z-index:2;
    transition:opacity 0.6s ease;
    display:flex;
    align-items:center;
    padding:0 1rem;
}
.redaction-bar::before{
    content:'[REDACTED — CLICK TO REVEAL]';
    font-family:'DM Mono',monospace;
    font-size:0.7rem;
    color:#C41E3A;
    letter-spacing:0.15em;
    text-transform:uppercase;
}
.redacted-block[data-revealed="true"] .redaction-bar{
    opacity:0;
    pointer-events:none;
}
.redacted-text{
    color:#B5A894;
    line-height:1.8;
    padding:1rem;
    background:rgba(59,47,31,0.3);
    border-left:2px solid #6B5B3E;
}

/* DOCUMENT NOTE */
.document-note{
    background:rgba(184,150,62,0.06);
    border:1px solid #6B5B3E;
    padding:1.2rem 1.5rem;
    margin-top:1.5rem;
    font-size:0.9rem;
    color:#7A6B55;
}
.note-marker{
    font-family:'DM Mono',monospace;
    color:#B8963E;
    font-weight:500;
    margin-right:0.5rem;
    font-size:0.8rem;
    letter-spacing:0.1em;
}

/* TIMELINE */
.timeline{
    border-left:2px solid #6B5B3E;
    padding-left:2rem;
    margin-left:1rem;
}
.timeline-entry{
    position:relative;
    margin-bottom:2.5rem;
    opacity:0;
    transform:translateY(20px);
    transition:opacity 0.5s ease,transform 0.5s ease;
}
.timeline-entry.visible{
    opacity:1;
    transform:translateY(0);
}
.timeline-entry::before{
    content:'';
    position:absolute;
    left:-2.55rem;top:0.3rem;
    width:10px;height:10px;
    border:2px solid #B8963E;
    background:#1C1A16;
    border-radius:50%;
}
.timeline-year{
    font-family:'Bebas Neue',sans-serif;
    font-size:1.6rem;
    color:#B8963E;
    letter-spacing:0.1em;
}
.timeline-content h3{
    font-family:'Inter',sans-serif;
    font-size:1rem;
    font-weight:600;
    text-transform:none;
    letter-spacing:0;
    margin:0.3rem 0;
    color:#E8DCC8;
}
.timeline-content p{
    color:#7A6B55;
    font-size:0.9rem;
}

/* SOURCE LIST */
.source-list{list-style:none}
.source-item{
    padding:0.8rem 1rem;
    border-bottom:1px solid rgba(107,91,62,0.3);
    font-family:'DM Mono',monospace;
    font-size:0.8rem;
    letter-spacing:0.05em;
    color:#B5A894;
}
.source-item::before{
    content:'▸ ';
    color:#B8963E;
}

/* FILE FOOTER */
.file-footer{
    display:flex;
    justify-content:space-between;
    margin-top:3rem;
    padding-top:1rem;
    border-top:1px solid #6B5B3E;
}
.file-id,.file-class{
    font-family:'DM Mono',monospace;
    font-size:0.7rem;
    letter-spacing:0.15em;
    color:#7A6B55;
    text-transform:uppercase;
}

/* MOBILE */
@media(max-width:768px){
    .sidebar{
        position:relative;
        width:100%;
        min-height:auto;
        flex-direction:row;
        flex-wrap:wrap;
        padding:0.5rem;
    }
    .folder-tab{
        clip-path:none;
        flex:1;
        text-align:center;
        padding:0.6rem;
    }
    .sidebar-footer{display:none}
    .content-viewport{margin-left:0}
    .dossier-layout{flex-direction:column}
    .dossier-section{padding:2rem 1.5rem}
    .card-border{padding:2rem 1.5rem}
    .file-footer{flex-direction:column;gap:0.5rem}
}
