/* EXTENDING THE CORE AESTHETIC */
:root {
    --midnight: #0d0d0d;
    --safety-yellow: #ffd23f;
    --heart-red: #ff3f3f;
    --clean-white: #ffffff;
}

body {
    background-color: var(--midnight);
    color: var(--clean-white);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

/* --- STICKY HEADER STYLES --- */
.sticky-header {
    position: fixed; /* 'fixed' works better than 'sticky' for injected content */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.95); /* Deep Midnight */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 9999; /* Highest priority */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Adjust the content so it doesn't hide behind the fixed header */
body {
    padding-top: 80px; /* Pushes content down to make room for header */
}

/* --- MISSING STRUCTURAL CLASSES --- */

/* 1. The Container (Holds everything together) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* 2. Post Meta (The "ESTABLISHED 2026" text) */
.post-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--safety-yellow);
    margin-top: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 3. Ensure the Post Header text aligns correctly */
.post-header {
    text-align: center;
    margin-bottom: 40px;
}

/* NAV LINKS & LOGO STYLING */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.nav-icon {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--clean-white);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.sticky-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.sticky-nav a:hover {
    color: var(--safety-yellow);
}

/* ANIMATED NAV */
.mechanic-nav {
    margin-bottom: 40px;
}

.mechanic-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mechanic-nav a:hover {
    color: var(--safety-yellow);
    letter-spacing: 4px; /* Text "stretches" on hover */
}

/* THE BREEZY LINK UPGRADE */
.blog-link {
    color: var(--safety-yellow);
    text-decoration: none;
    position: relative;
    padding: 2px 0;
}

.blog-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--safety-yellow);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.blog-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* LOG PREVIEW STYLING */
.log-preview {
    margin-top: 100px;
    width: 100%;
    max-width: 600px;
}

.log-preview h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--heart-red);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 63, 63, 0.3);
    padding-bottom: 10px;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin: 20px 0;
}

.date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    opacity: 0.4;
    margin-right: 15px;
}
/* THE GEAR ASSEMBLY */
.engine-room {
    position: fixed;
    bottom: -50px;
    right: -50px;
    opacity: 0.2; /* Subtle, like it's behind a casing */
    pointer-events: none; /* Won't block clicks */
    z-index: -1;
}

.gear {
    position: absolute;
    transform-origin: center;
}

/* Large Gear: Slow and heavy */
.gear-large {
    width: 250px;
    height: 250px;
    bottom: 40px;
    right: 40px;
    animation: rotateCounterClockwise 15s linear infinite;
}

/* Small Gear: Faster and meshed */
.gear-small {
    width: 120px;
    height: 120px;
    bottom: 180px; /* Positioned to 'mesh' with the large one */
    right: 200px;
    animation: rotateClockwise 8s linear infinite;
}

/* ANIMATIONS */
@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
/* --- 404 ERROR STATE STYLES --- */

/* 1. The Red Alert Background */
body.error-state {
    background: radial-gradient(circle at center, #1a0d0d 0%, #0d0d0d 100%);
}

/* 2. Tint the gears red for the error page */
body.error-state .engine-room img {
    filter: sepia(100%) hue-rotate(-50deg) saturate(300%) opacity(0.4);
}

.error-container {
    text-align: center;
    z-index: 10;
}

/* 3. The Glitch Text Effect */
.glitch {
    font-size: 8rem;
    font-weight: 600;
    color: var(--clean-white);
    position: relative;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -10px;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Create the cyan offset */
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

/* Create the red offset */
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #ff0051;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

/* The Glitch Animation Keyframes */
@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    20% { clip: rect(80px, 9999px, 90px, 0); }
    40% { clip: rect(10px, 9999px, 50px, 0); }
    60% { clip: rect(50px, 9999px, 20px, 0); }
    80% { clip: rect(90px, 9999px, 60px, 0); }
    100% { clip: rect(20px, 9999px, 80px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(10px, 9999px, 80px, 0); }
    20% { clip: rect(50px, 9999px, 20px, 0); }
    40% { clip: rect(20px, 9999px, 60px, 0); }
    60% { clip: rect(90px, 9999px, 10px, 0); }
    80% { clip: rect(40px, 9999px, 30px, 0); }
    100% { clip: rect(60px, 9999px, 50px, 0); }
}
/* --- BLOG POST SPECIFIC STYLES --- */

/* 1. Cinematic Header */
.post-header {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
    position: relative;
    text-align: center;
}

.header-img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Slight rounding for a finished look */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--safety-yellow);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 10px 0;
    color: var(--clean-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 2. Reading Experience (The Content Engine) */
.post-content {
    max-width: 700px; /* Narrower than the header for easier reading */
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.8; /* "Airy" spacing */
    color: rgba(255, 255, 255, 0.9);
}

.post-content p {
    margin-bottom: 25px;
}

/* The "Hook" Paragraph */
.intro-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--safety-yellow);
    border-left: 3px solid var(--safety-yellow);
    padding-left: 20px;
}

/* 3. Blockquotes (Scripture or Emphasis) */
blockquote {
    margin: 40px 0;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--heart-red);
    font-family: 'JetBrains Mono', monospace;
    font-style: italic;
    color: var(--clean-white);
    position: relative;
}

/* Add a decorative quote mark */
blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.2;
    font-family: serif;
}

.signature {
    margin-top: 50px;
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
    color: var(--safety-yellow);
}

.post-footer {
    margin-top: 80px;
    margin-bottom: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
    max-width: 700px;
    text-align: center;
}
/* --- LOG BOOK (posts/index.html) STYLES --- */

.log-header {
    text-align: center;
    margin-bottom: 60px;
}

.log-header h1 {
    font-size: 3rem;
    color: var(--clean-white);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 63, 63, 0.5); /* Subtle red glow */
}

.subtitle {
    font-family: 'JetBrains Mono', monospace;
    color: var(--safety-yellow);
    opacity: 0.8;
}
/* --- BLOG HEADINGS (The 'JetBrains' Technical Look) --- */

/* 1. Define the variables if you haven't yet, 
   or just rely on the ones we made earlier */
:root {
    --heart-red: #ff3f3f;
}

/* 2. The Manual Classes (blog-h1, blog-h2...) */
.blog-h1,
.blog-h2,
.blog-h3 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--heart-red);
    text-transform: uppercase;
    margin-top: 40px;       /* Breathing room above */
    margin-bottom: 20px;    /* Space before the text starts */
    line-height: 1.2;
}

/* Specific Styling per level */
.blog-h1 {
    font-size: 2rem;
    letter-spacing: 3px;
    border-bottom: 2px solid rgba(255, 63, 63, 0.3); /* Subtle red underline */
    padding-bottom: 10px;
}

.blog-h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    /* Optional: A small "bolt" next to H2s */
    border-left: 4px solid var(--safety-yellow); 
    padding-left: 15px;
}

.blog-h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: bold;
    opacity: 0.9;
}

/* 3. AUTO-APPLY (Inside .post-content only) */
/* This means you can just use <h2>Title</h2> in your post 
   and it will look like the code above automatically. */

.post-content h1 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--heart-red);
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
    letter-spacing: 3px;
    border-bottom: 2px solid rgba(255, 63, 63, 0.3);
    padding-bottom: 10px;
}

.post-content h2 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--heart-red);
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    border-left: 4px solid var(--safety-yellow);
    padding-left: 15px;
}

.post-content h3 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--heart-red);
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
/* THE CARD GRID */
.log-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between cards */
}

.log-card {
    background: rgba(255, 255, 255, 0.05); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-left: 3px solid transparent; /* Hidden accent bar */
}

/* Hover Effect: The card lifts up slightly */
.log-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 210, 63, 0.3);
    border-left: 3px solid var(--safety-yellow); /* Accent bar appears */
    background: rgba(255, 255, 255, 0.08);
}

.log-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    margin-bottom: 15px;
    opacity: 0.6;
}

.log-tag {
    color: var(--heart-red);
    font-weight: bold;
}

.log-content h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.log-content h2 a {
    text-decoration: none;
    color: var(--clean-white);
    transition: color 0.2s;
}

.log-content h2 a:hover {
    color: var(--safety-yellow);
}

.log-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.read-more {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--safety-yellow);
    text-decoration: none;
    border-bottom: 1px dashed var(--safety-yellow);
    padding-bottom: 3px;
    align-self: flex-start;
}

.read-more:hover {
    border-bottom-style: solid;
}

/* PAGINATION */
.pagination {
    margin-top: 60px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
    align-items: center;
}

.pagination a {
    color: var(--clean-white);
    text-decoration: none;
}

.pagination a:hover {
    color: var(--safety-yellow);
}

.pagination .current {
    color: var(--safety-yellow);
    border: 1px solid var(--safety-yellow);
    padding: 5px 10px;
    border-radius: 4px;
}

.pagination .disabled {
    opacity: 0.3;
    cursor: default;
}

/* Active Nav State */
.mechanic-nav a.active {
    color: var(--safety-yellow);
    border-bottom: 1px solid var(--safety-yellow);
}
/* --- ABOUT PAGE (ID CARD) STYLES --- */

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
    align-items: flex-start;
    margin-top: 40px;
}

/* 1. The ID Card (The Visual Anchor) */
.id-card {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    position: relative;
    /* Creating a "Hole Punch" look at the top */
    clip-path: polygon(
        0% 0%, 
        45% 0%, 45% 5%, 55% 5%, 55% 0%, /* The notch */
        100% 0%, 100% 100%, 0% 100%
    );
}

/* Gold border effect for the card */
.id-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 210, 63, 0.1);
    pointer-events: none;
}

.id-header {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--safety-yellow);
    border-bottom: 2px solid var(--heart-red);
    padding-bottom: 5px;
    margin-bottom: 20px;
    margin-top: 10px; /* Space for the notch */
}

.id-photo-frame {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 4px;
}

.id-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    filter: grayscale(100%); /* Keeps the noir vibe */
}

.id-details {
    text-align: center;
}

.id-details h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--clean-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.role {
    font-family: 'JetBrains Mono', monospace;
    color: var(--heart-red);
    font-size: 0.8rem;
    margin-bottom: 25px;
}

/* The Grid of Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 4px;
}

.stat-box label {
    display: block;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'JetBrains Mono', monospace;
}

.stat-box span {
    font-size: 0.85rem;
    color: var(--safety-yellow);
    font-weight: 600;
}

.barcode {
    font-family: 'Code39', sans-serif; /* Fallback to sans if no font */
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-top: 20px;
    letter-spacing: 4px;
    transform: scaleY(0.5); /* Squishes text to look like bars */
}

/* 2. The Bio Text Section */
.bio-text {
    flex: 2;
    min-width: 300px;
}

.bio-text h1 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.signature-block {
    margin-top: 50px;
    opacity: 0.8;
}

.sig-img {
    height: 60px; /* Adjust based on your signature image */
}
/* --- SUPPORT PAGE (SHOP) STYLES --- */

.shop-header {
    text-align: center;
    margin-bottom: 40px;
}

.shop-header h1 {
    font-size: 3rem;
    color: var(--clean-white);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 5px;
}

.shop-header p {
    color: var(--safety-yellow);
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.8;
}

/* 1. The Construction Barrier (Safety Tape) */
.construction-zone {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.safety-tape {
    background: var(--safety-yellow);
    color: var(--midnight);
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 0;
    white-space: nowrap;
    /* The tape pattern */
    background-image: repeating-linear-gradient(
        45deg,
        var(--safety-yellow),
        var(--safety-yellow) 20px,
        #e6bd35 20px,
        #e6bd35 40px
    );
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-2deg); /* Tilted slightly for "rough" look */
    width: 110%; /* Wider than screen to handle tilt */
    margin-left: -5%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.construction-message {
    margin-top: 40px;
    border: 1px dashed var(--heart-red);
    display: inline-block;
    padding: 20px 40px;
    background: rgba(255, 63, 63, 0.1);
    border-radius: 4px;
}

.construction-message h2 {
    color: var(--heart-red);
    text-transform: uppercase;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

/* 2. The Product Grid (Future State) */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Locked State (Blurs the items slightly) */
.shop-grid.locked-state {
    opacity: 0.5;
    pointer-events: none; /* Prevents clicking */
    filter: grayscale(80%);
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.product-image {
    height: 200px;
    background: rgba(0,0,0,0.3);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.placeholder-icon {
    font-size: 4rem; /* Big emoji as placeholder */
    opacity: 0.5;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 10px 0;
    color: var(--clean-white);
}

.price {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    color: var(--safety-yellow);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.buy-btn {
    background: transparent;
    border: 1px solid var(--safety-yellow);
    color: var(--safety-yellow);
    padding: 10px 20px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

/* Disabled Button Style */
.buy-btn.disabled {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}
/* --- UNIVERSAL LINK STYLES (The 'hm-link') --- */

/* 1. Define the class explicitly */
.hm-link {
    color: var(--safety-yellow);      /* The 'Safety' color by default */
    text-decoration: none;
    position: relative;               /* Needed for the underline trick */
    font-weight: 600;                 /* Make links slightly thicker */
    transition: color 0.3s ease;      /* Smooth color change */
    cursor: pointer;
}

/* 2. The "Under the Hood" Expanding Line Animation */
.hm-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);             /* Start hidden (0 width) */
    height: 2px;                      /* Thickness of the underline */
    bottom: -2px;                     /* Sit just below the text */
    left: 0;
    background-color: var(--heart-red); /* The line glows Red on hover */
    transform-origin: bottom right;   /* Animates from right... */
    transition: transform 0.25s ease-out;
}

/* 3. Hover State */
.hm-link:hover {
    color: var(--clean-white);        /* Text brightens to White */
}

.hm-link:hover::after {
    transform: scaleX(1);             /* Line expands to full width */
    transform-origin: bottom left;    /* ...to left */
}

/* --- AUTO-APPLY RULES --- */
/* This automatically turns generic links into hm-links 
   inside your bio and blog posts */
.bio-text p a, 
.post-content p a {
    /* Inherit all the styles from above */
    color: var(--safety-yellow);
    text-decoration: none;
    position: relative;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Duplicate the animation for the auto-links */
.bio-text p a::after,
.post-content p a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--heart-red);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.bio-text p a:hover,
.post-content p a:hover {
    color: var(--clean-white);
}

.bio-text p a:hover::after,
.post-content p a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* --- COMMUNICATIONS ARRAY (The Clipboard) --- */
.comm-terminal {
    margin-top: 60px;
    margin-bottom: 60px;
    background: #1a1a1a; /* Dark gray clipboard backing */
    border: 1px solid #333;
    border-top: 4px solid var(--safety-yellow); /* The "Clip" at the top */
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    
    /* Fix for the z-index/input glitch */
    isolation: isolate; 
    z-index: 1;
}

.comm-header {
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    margin-bottom: 25px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.comm-title {
    font-family: 'JetBrains Mono', monospace;
    color: var(--clean-white);
    font-size: 1.1rem;
    margin: 0;
    text-transform: uppercase;
}

/* --- THE PAPER LOG (The White Box) --- */
#cusdis_thread iframe {
    background: #f4f4f4; /* Off-white paper color */
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 10px; /* Internal padding for the paper */
    width: 100% !important;
    position: relative;
    z-index: 20;
    /* NO FILTERS. Just clean, raw paper. */
}
/* --- ADVOCACY INTAKE FORM (The Hardware) --- */

/* 1. The Form Chassis */
.intake-form {
    background: #f4f4f4; /* The Paper look */
    padding: 25px;
    border-radius: 4px;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.5); /* Deep shadow */
    border: 1px solid #ccc;
}

/* 2. Form Rows (Spacing) */
.form-row {
    margin-bottom: 20px;
}

/* 3. The Labels (// IDENTITY) */
.terminal-label {
    display: block;
    color: #333; /* Dark ink */
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 4. The Inputs (Writeable Fields) */
.terminal-input {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 2px solid #ddd; /* Subtle border */
    border-radius: 4px;
    font-family: 'Poppins', sans-serif; /* Clean font for typing */
    font-size: 0.95rem;
    color: #000;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
}

/* Input Focus State (When you click inside) */
.terminal-input:focus {
    outline: none;
    border-color: var(--safety-yellow); /* Lights up Yellow */
    box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.2);
}

/* 5. The "Initialize" Button */
.terminal-btn {
    width: 100%;
    background: var(--safety-yellow);
    color: var(--midnight);
    border: 2px solid var(--safety-yellow);
    padding: 15px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.terminal-btn:hover {
    background: var(--midnight); /* Invert to Black */
    color: var(--safety-yellow); /* Text becomes Yellow */
    border-color: var(--midnight);
}