/* ============================================================
   causality.club — Styles
   Skeuomorphic-dreamy dark-neon magazine experience
   ============================================================ */

/* ----------------------------------------------------------
   CSS Variables (from DESIGN.md palette)
   ---------------------------------------------------------- */
:root {
    /* Backgrounds */
    --obsidian-night: #0A0A12;
    --charcoal-fog: #161622;
    --dark-umber: #2A1F1A;
    --worn-copper: #6B4226;
    /* Neon */
    --electric-magenta: #FF2D8A;
    --deep-cyan: #00E5FF;
    --spectral-violet: #B44DFF;
    /* Text */
    --lunar-white: #E8E4F0;
    --fog-gray: #8A8698;
    /* Warm */
    --brass-glow: #D4A847;
    /* Cork */
    --cork-tan: #C4A97D;
    /* Gradients */
    --neon-horizon: linear-gradient(135deg, #FF2D8A 0%, #B44DFF 50%, #00E5FF 100%);
    --mountain-silhouette: linear-gradient(180deg, #0A0A12 0%, #161622 40%, #1A1028 70%, #2A1040 100%);
    --brass-surface: linear-gradient(145deg, #D4A847 0%, #6B4226 40%, #2A1F1A 100%);
    /* Typography */
    --font-display: 'Exo 2', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    --font-annotation: 'Caveat', cursive;
    --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--obsidian-night);
    color: var(--lunar-white);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* SVG filters container — hidden */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ----------------------------------------------------------
   Film Grain Overlay
   ---------------------------------------------------------- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.08;
    mix-blend-mode: overlay;
    width: 100vw;
    height: 100vh;
    background: repeat;
    filter: url(#grain-1);
    animation: grain-shift 0.6s steps(5) infinite;
}

@keyframes grain-shift {
    0%   { filter: url(#grain-1); }
    20%  { filter: url(#grain-2); }
    40%  { filter: url(#grain-3); }
    60%  { filter: url(#grain-4); }
    80%  { filter: url(#grain-5); }
    100% { filter: url(#grain-1); }
}

/* ----------------------------------------------------------
   Magazine Container (scroll-snap)
   ---------------------------------------------------------- */
.magazine {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
.magazine::-webkit-scrollbar {
    width: 0;
    display: none;
}

.magazine {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ----------------------------------------------------------
   Spread (full viewport section)
   ---------------------------------------------------------- */
.spread {
    min-height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.spread-inner {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

/* ----------------------------------------------------------
   Folio (left/right halves)
   ---------------------------------------------------------- */
.folio {
    width: 48%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4vh 4vw;
}

.folio-left {
    align-items: flex-start;
}

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

/* ----------------------------------------------------------
   Central Gutter (stitched leather seam)
   ---------------------------------------------------------- */
.gutter {
    width: 4%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gutter-seam {
    width: 2px;
    height: 80%;
    background: repeating-linear-gradient(
        to bottom,
        var(--worn-copper) 0px,
        var(--worn-copper) 8px,
        transparent 8px,
        transparent 16px
    );
    position: relative;
    opacity: 0.6;
}

.gutter-seam::before,
.gutter-seam::after {
    content: '';
    position: absolute;
    left: -3px;
    width: 8px;
    height: 4px;
}

/* Stitch X marks along the seam */
.gutter-seam::before {
    top: 0;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 80%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 6px,
        var(--worn-copper) 6px,
        var(--worn-copper) 7px,
        transparent 7px,
        transparent 14px
    );
    transform: rotate(20deg);
    opacity: 0.3;
}

.gutter-seam::after {
    top: 0;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 80%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 6px,
        var(--worn-copper) 6px,
        var(--worn-copper) 7px,
        transparent 7px,
        transparent 14px
    );
    transform: rotate(-20deg);
    opacity: 0.3;
}

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
.spread-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lunar-white);
    /* Brass embossing */
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 0 var(--brass-glow),
        0 0 20px rgba(212, 168, 71, 0.15);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.body-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: var(--lunar-white);
    margin-bottom: 1.25rem;
}

.body-text strong,
.body-text b {
    font-weight: 600;
}

.annotation {
    font-family: var(--font-annotation);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 400;
    color: var(--fog-gray);
}

.mono-label {
    font-family: var(--font-mono);
    font-size: clamp(0.65rem, 0.9vw, 0.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--fog-gray);
    line-height: 1.9;
}

/* ----------------------------------------------------------
   Bounce-Enter Animation
   ---------------------------------------------------------- */
@keyframes bounce-enter {
    0%   { transform: translateY(60px) scale(0.9); opacity: 0; }
    40%  { transform: translateY(-12px) scale(1.02); opacity: 1; }
    65%  { transform: translateY(5px) scale(0.99); opacity: 1; }
    85%  { transform: translateY(-2px) scale(1.005); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.bounce-in {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.bounce-in.visible {
    animation: bounce-enter 900ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ----------------------------------------------------------
   SPREAD 1: Opening / Arrival
   ---------------------------------------------------------- */
.spread-1 {
    background: var(--mountain-silhouette);
}

/* Brass Plate */
.brass-plate {
    background: var(--brass-surface);
    padding: 2rem 3rem;
    border-radius: 4px;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(212, 168, 71, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 168, 71, 0.08);
    margin-top: 40vh;
}

.brass-plate::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(212, 168, 71, 0.25);
    border-radius: 2px;
    pointer-events: none;
}

.brass-plate-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--obsidian-night);
    text-shadow:
        0 1px 0 rgba(212, 168, 71, 0.6),
        0 -1px 0 rgba(0, 0, 0, 0.3);
}

.tagline {
    margin-top: 1.5rem;
}

/* Mountain Scene */
.mountain-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mountain-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.mountain-bg {
    height: 45%;
    background: var(--obsidian-night);
    clip-path: polygon(
        0% 100%, 0% 65%, 8% 55%, 18% 60%, 28% 40%, 38% 50%,
        48% 35%, 58% 45%, 68% 30%, 78% 42%, 88% 38%, 100% 50%, 100% 100%
    );
    opacity: 0.5;
    filter: blur(4px);
    z-index: 1;
}

.mountain-mid {
    height: 40%;
    background: #161622;
    clip-path: polygon(
        0% 100%, 0% 70%, 10% 55%, 20% 65%, 30% 45%, 42% 55%,
        52% 38%, 62% 50%, 72% 35%, 82% 48%, 92% 42%, 100% 55%, 100% 100%
    );
    opacity: 0.7;
    filter: blur(2px);
    z-index: 2;
}

.mountain-fg {
    height: 35%;
    background: #1A1028;
    clip-path: polygon(
        0% 100%, 0% 75%, 5% 65%, 15% 70%, 25% 50%, 35% 60%,
        45% 42%, 55% 52%, 65% 38%, 75% 48%, 85% 44%, 95% 55%, 100% 60%, 100% 100%
    );
    z-index: 3;
}

.neon-ridgeline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    clip-path: polygon(
        0% 75%, 5% 65%, 15% 70%, 25% 50%, 35% 60%,
        45% 42%, 55% 52%, 65% 38%, 75% 48%, 85% 44%, 95% 55%, 100% 60%,
        100% 60.3%, 95% 55.3%, 85% 44.3%, 75% 48.3%, 65% 38.3%, 55% 52.3%,
        45% 42.3%, 35% 60.3%, 25% 50.3%, 15% 70.3%, 5% 65.3%, 0% 75.3%
    );
    background: var(--electric-magenta);
    filter: drop-shadow(0 -2px 6px var(--electric-magenta)) drop-shadow(0 -4px 15px rgba(255, 45, 138, 0.4));
    z-index: 4;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

/* Glass Pane */
.glass-pane {
    position: relative;
    z-index: 10;
    background: rgba(22, 22, 34, 0.7);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(232, 228, 240, 0.1);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    margin-top: auto;
    margin-bottom: 8vh;
    align-self: flex-end;
    margin-right: 4vw;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--fog-gray);
    border-bottom: 2px solid var(--fog-gray);
    transform: rotate(45deg);
    animation: scroll-bob 2s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes scroll-bob {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(6px); }
}

/* ----------------------------------------------------------
   SPREAD 2: Thesis / Investigation
   ---------------------------------------------------------- */
.spread-2 {
    background: var(--charcoal-fog);
}

/* Notebook Page */
.notebook-page {
    background: var(--dark-umber);
    border-radius: 3px;
    padding: 3rem 2.5rem 3rem 3.5rem;
    position: relative;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        inset 0 -1px 3px rgba(212, 168, 71, 0.1),
        4px 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 90%;
    overflow: hidden;
}

/* Leather grain on notebook */
.notebook-page::before {
    content: '';
    position: absolute;
    inset: 0;
    filter: url(#leather-noise);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.notebook-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 28px,
        rgba(232, 228, 240, 0.04) 28px,
        rgba(232, 228, 240, 0.04) 29px
    );
    pointer-events: none;
    z-index: 0;
}

/* Ragged left margin */
.notebook-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    width: 1px;
    height: 100%;
    background: rgba(255, 45, 138, 0.15);
    z-index: 0;
}

.notebook-content {
    position: relative;
    z-index: 1;
}

.margin-note {
    position: absolute;
    bottom: -2rem;
    right: 0;
    transform: rotate(-2deg);
    color: var(--electric-magenta);
    opacity: 0.7;
}

/* Compass Container */
.compass-container {
    position: relative;
    width: clamp(250px, 35vw, 400px);
    height: clamp(250px, 35vw, 400px);
}

.compass-rose {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 45, 138, 0.2));
}

.compass-needle {
    transform-origin: 200px 200px;
    transition: transform 0.3s ease-out;
    filter: drop-shadow(0 0 8px var(--electric-magenta));
}

/* Orbiting annotations */
.orbit-annotations {
    position: absolute;
    inset: -2rem;
}

.orbit-label {
    position: absolute;
    font-family: var(--font-annotation);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: var(--fog-gray);
    white-space: nowrap;
    transform-origin: center;
    transition: transform 0.3s ease-out;
}

/* ----------------------------------------------------------
   SPREAD 3: Gallery / Evidence
   ---------------------------------------------------------- */
.spread-3 {
    background: var(--charcoal-fog);
}

.cork-board {
    width: 100%;
    height: 100vh;
    background: var(--cork-tan);
    position: relative;
    overflow: hidden;
}

/* Cork texture overlay */
.cork-board::before {
    content: '';
    position: absolute;
    inset: 0;
    filter: url(#cork-noise);
    opacity: 0.08;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.cork-board::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.cork-board .spread-inner {
    position: relative;
    z-index: 2;
}

.cork-board .spread-title {
    color: var(--obsidian-night);
    text-shadow:
        -1px -1px 0 rgba(196, 169, 125, 0.5),
        1px 1px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

/* Photo Cards */
.photo-card {
    position: relative;
    width: clamp(180px, 22vw, 280px);
    border-radius: 6px;
    overflow: visible;
    transform: rotate(var(--rotation, 0deg));
    margin-bottom: 1.5rem;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-card:hover {
    transform: rotate(0deg) scale(1.04);
    z-index: 10;
}

.photo-inner {
    background: var(--charcoal-fog);
    border-radius: 6px;
    padding: 1rem;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.photo-gradient {
    width: 100%;
    height: 120px;
    border-radius: 3px;
    background: linear-gradient(
        135deg,
        var(--neon, #FF2D8A) 0%,
        var(--charcoal-fog) 60%,
        var(--obsidian-night) 100%
    );
    margin-bottom: 0.75rem;
    position: relative;
}

/* Grain on photos */
.photo-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    filter: url(#grain-3);
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.photo-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lunar-white);
    margin-bottom: 0.25rem;
}

.photo-date {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--fog-gray);
}

/* Pin on cork */
.pin {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #E8E4F0 0%, #D4A847 40%, #6B4226 100%);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.cork-note {
    color: var(--obsidian-night);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    transform: rotate(-3deg);
    margin-top: 1rem;
    opacity: 0.8;
}

/* ----------------------------------------------------------
   SPREAD 4: Conclusion / Portal
   ---------------------------------------------------------- */
.spread-4 {
    background: var(--obsidian-night);
}

.spread-merged {
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.portal-content {
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.portal-title {
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 0 var(--brass-glow),
        0 0 30px rgba(255, 45, 138, 0.2),
        0 0 60px rgba(180, 77, 255, 0.1);
}

.portal-text {
    color: var(--lunar-white);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.portal-annotation {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--electric-magenta);
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.5),
        0 0 10px var(--electric-magenta),
        0 0 25px rgba(255, 45, 138, 0.4);
    margin-top: 1rem;
}

/* Neon center line */
.neon-center-line {
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: #FFFFFF;
    z-index: 1;
    box-shadow:
        0 0 2px #FFFFFF,
        0 0 6px var(--electric-magenta),
        0 0 15px var(--electric-magenta),
        0 0 30px rgba(255, 45, 138, 0.5),
        0 0 50px rgba(255, 45, 138, 0.25);
    animation: neon-flicker 4s ease-in-out infinite;
}

@keyframes neon-flicker {
    0%, 100% { opacity: 0.8; }
    25%      { opacity: 1; }
    50%      { opacity: 0.85; }
    75%      { opacity: 0.95; }
}

/* Neon divider */
.neon-divider {
    width: 120px;
    height: 2px;
    margin: 2rem auto;
    background: #FFFFFF;
    box-shadow:
        0 0 2px #FFFFFF,
        0 0 6px var(--electric-magenta),
        0 0 15px var(--electric-magenta),
        0 0 30px rgba(255, 45, 138, 0.5),
        0 0 50px rgba(255, 45, 138, 0.25);
}

/* Portal glow */
.portal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 77, 255, 0.08) 0%, rgba(255, 45, 138, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: portal-breathe 6s ease-in-out infinite;
}

@keyframes portal-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* ----------------------------------------------------------
   Navigation Rivets
   ---------------------------------------------------------- */
.spread-nav {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 100;
}

.rivet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 40% 35%, rgba(212, 168, 71, 0.6) 0%, rgba(107, 66, 38, 0.8) 60%, rgba(42, 31, 26, 1) 100%);
    box-shadow:
        inset 0 1px 2px rgba(212, 168, 71, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.rivet:hover {
    background: radial-gradient(circle at 40% 35%, rgba(212, 168, 71, 0.9) 0%, rgba(107, 66, 38, 0.9) 60%, rgba(42, 31, 26, 1) 100%);
    box-shadow:
        inset 0 1px 2px rgba(212, 168, 71, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(212, 168, 71, 0.3);
}

.rivet.active {
    background: radial-gradient(circle at 40% 35%, #E8E4F0 0%, #D4A847 50%, #6B4226 100%);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(212, 168, 71, 0.4);
}

/* ----------------------------------------------------------
   Neon Text Utility
   ---------------------------------------------------------- */
.neon-text-magenta {
    color: #FFFFFF;
    text-shadow:
        0 0 2px #FFFFFF,
        0 0 6px var(--electric-magenta),
        0 0 15px var(--electric-magenta),
        0 0 30px rgba(255, 45, 138, 0.5);
}

.neon-text-cyan {
    color: #FFFFFF;
    text-shadow:
        0 0 2px #FFFFFF,
        0 0 6px var(--deep-cyan),
        0 0 15px var(--deep-cyan),
        0 0 30px rgba(0, 229, 255, 0.5);
}

/* ----------------------------------------------------------
   Responsive Adjustments
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .spread-inner {
        flex-direction: column;
    }

    .folio {
        width: 100%;
        height: auto;
        min-height: 45vh;
        padding: 3vh 5vw;
    }

    .gutter {
        width: 100%;
        height: 2rem;
        flex-direction: row;
    }

    .gutter-seam {
        width: 60%;
        height: 2px;
        background: repeating-linear-gradient(
            to right,
            var(--worn-copper) 0px,
            var(--worn-copper) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .gutter-seam::before,
    .gutter-seam::after {
        display: none;
    }

    .brass-plate {
        margin-top: 20vh;
    }

    .compass-container {
        width: clamp(200px, 60vw, 300px);
        height: clamp(200px, 60vw, 300px);
        margin: 2rem auto;
    }

    .photo-card {
        width: clamp(160px, 50vw, 260px);
    }

    .spread-nav {
        right: 0.75rem;
    }

    .portal-content {
        padding: 1rem;
    }

    .cork-board {
        height: auto;
        min-height: 100vh;
    }
}
