/* ============================================================
   diplomatic.wiki - Styles
   Hexagonal honeycomb layout with watercolor diplomatic aesthetic
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --burgundy: #5B1A2E;
    --wine: #8C2F4B;
    --fog: #F2EDE4;
    --parchment: #E8DFD0;
    --glacier: #7BA7B5;
    --charcoal: #2A2228;
    --gold: #C9A84C;

    --font-display: 'Stint Ultra Expanded', serif;
    --font-body: 'Crimson Pro', serif;
    --font-mono: 'Overpass Mono', monospace;

    --hex-size: 320px;
    --hex-gap: 4px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.72;
    letter-spacing: 0.015em;
    color: var(--charcoal);
    background-color: var(--fog);
    overflow-x: hidden;
}

/* ---- SVG Filters (hidden) ---- */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ============================================================
   SCROLL PROGRESS HEXAGON
   ============================================================ */
#scroll-progress-hex {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

#scroll-progress-hex.visible {
    opacity: 1;
}

#scroll-progress-hex svg {
    width: 100%;
    height: 100%;
}

#progress-hex-bg {
    stroke: var(--parchment);
}

#progress-hex-fill {
    stroke: var(--burgundy);
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    transition: stroke-dashoffset 0.1s linear;
}

/* ============================================================
   COMPASS ROSE NAVIGATION
   ============================================================ */
#compass-rose {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    z-index: 1001;
    cursor: pointer;
}

.compass-center {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: compass-pulse 3s ease-in-out infinite;
}

@keyframes compass-pulse {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.3)); }
    50% { filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.6)); }
}

.compass-center svg {
    width: 100%;
    height: 100%;
}

#compass-rose:hover .compass-center {
    transform: rotate(30deg) scale(1.1);
}

.compass-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#compass-rose:hover .compass-menu,
#compass-rose.active .compass-menu {
    pointer-events: auto;
    opacity: 1;
}

.compass-link {
    position: absolute;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.compass-link .compass-hex {
    width: 32px;
    height: 32px;
    background: var(--wine);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background 0.3s ease, transform 0.3s ease;
}

.compass-link:hover .compass-hex {
    background: var(--gold);
    transform: scale(1.15);
}

.compass-link::after {
    content: attr(data-label);
    position: absolute;
    right: 110%;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.compass-link:hover::after {
    opacity: 1;
}

/* Position compass links in a radial layout */
#compass-rose:hover .compass-link:nth-child(1),
#compass-rose.active .compass-link:nth-child(1) {
    transform: translate(calc(-50% + 0px), calc(-50% - 52px));
}
#compass-rose:hover .compass-link:nth-child(2),
#compass-rose.active .compass-link:nth-child(2) {
    transform: translate(calc(-50% + 45px), calc(-50% - 26px));
}
#compass-rose:hover .compass-link:nth-child(3),
#compass-rose.active .compass-link:nth-child(3) {
    transform: translate(calc(-50% + 45px), calc(-50% + 26px));
}
#compass-rose:hover .compass-link:nth-child(4),
#compass-rose.active .compass-link:nth-child(4) {
    transform: translate(calc(-50% + 0px), calc(-50% + 52px));
}
#compass-rose:hover .compass-link:nth-child(5),
#compass-rose.active .compass-link:nth-child(5) {
    transform: translate(calc(-50% - 45px), calc(-50% + 26px));
}
#compass-rose:hover .compass-link:nth-child(6),
#compass-rose.active .compass-link:nth-child(6) {
    transform: translate(calc(-50% - 45px), calc(-50% - 26px));
}

/* ============================================================
   ZONE: VALLEY FLOOR / HERO
   ============================================================ */
.zone-valley {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--fog);
}

.hero-hexagon {
    position: relative;
    width: min(85vw, 900px);
    height: min(75vh, 700px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--parchment);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.hero-hexagon.slide-out {
    transform: translateY(-120vh);
    opacity: 0;
}

.mountain-landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mountain-layer {
    transition: transform 0.1s linear;
}

.mountain-far {
    transform: translateY(0);
}

.mountain-mid {
    transform: translateY(0);
}

.mountain-near {
    transform: translateY(0);
}

/* Fog animations in hero */
.fog-layer {
    animation: fog-drift 60s linear infinite;
}

.fog-1 {
    animation-duration: 80s;
}

.fog-2 {
    animation-duration: 60s;
    animation-direction: reverse;
}

@keyframes fog-drift {
    0% { transform: translateX(0); }
    50% { transform: translateX(100px); }
    100% { transform: translateX(0); }
}

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

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--burgundy), var(--wine), var(--glacier));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--charcoal);
    line-height: 1.72;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-in-up 1.2s ease 0.6s forwards;
}

.hero-label {
    font-family: var(--font-mono);
    font-weight: 300;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine);
    opacity: 0;
    animation: fade-in-up 1.2s ease 1.2s forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wax Seal Decorations */
.wax-seal {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #7a2940, var(--burgundy) 50%, #3d0f1b 100%);
    box-shadow:
        0 2px 6px rgba(42, 34, 40, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.seal-tl {
    top: 22%;
    left: 8%;
}

.seal-br {
    bottom: 22%;
    right: 8%;
}

/* Fog Transition */
.fog-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 5;
}

.fog-band {
    position: absolute;
    width: 120%;
    left: -10%;
    border-radius: 50%;
    background: var(--fog);
    filter: blur(20px);
}

.fog-band-1 {
    bottom: -10px;
    height: 60px;
    opacity: 0.7;
    animation: fog-band-drift 40s ease-in-out infinite;
}

.fog-band-2 {
    bottom: 10px;
    height: 40px;
    opacity: 0.5;
    animation: fog-band-drift 55s ease-in-out infinite reverse;
}

.fog-band-3 {
    bottom: 30px;
    height: 30px;
    opacity: 0.3;
    animation: fog-band-drift 35s ease-in-out infinite;
}

@keyframes fog-band-drift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(40px); }
}

/* ============================================================
   ZONE: MID-SLOPE / CONTENT GRID
   ============================================================ */
.zone-midslope {
    position: relative;
    padding: 8vh 0;
    min-height: 250vh;
    background: var(--fog);
}

/* Contour lines background */
.contour-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.contour-bg svg {
    width: 100%;
    height: 100%;
}

/* Hexagonal Row Layout */
.hex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--hex-gap);
    padding: 2vh 4vw;
    position: relative;
    z-index: 1;
    margin-bottom: calc(var(--hex-gap) * -1 - 20px);
}

.hex-row-offset {
    padding-left: calc(4vw + var(--hex-size) / 2 + var(--hex-gap) / 2);
    padding-right: calc(4vw + var(--hex-size) / 2 + var(--hex-gap) / 2);
}

/* Hexagonal Cell */
.hex-cell {
    width: var(--hex-size);
    height: calc(var(--hex-size) * 1.1547);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--parchment);
    position: relative;
    flex-shrink: 0;
    cursor: default;
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
    will-change: transform;
}

.hex-cell:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 16px rgba(42, 34, 40, 0.15));
}

.hex-cell-wide {
    width: calc(var(--hex-size) * 1.8);
    height: calc(var(--hex-size) * 1.8 * 1.1547);
}

.hex-cell-featured {
    box-shadow: none;
}

.hex-inner {
    position: absolute;
    top: 12%;
    left: 10%;
    right: 10%;
    bottom: 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.hex-cell:hover .hex-inner {
    border-color: var(--wine);
    box-shadow: inset 0 0 20px rgba(91, 26, 46, 0.08);
}

/* Heatmap variation */
.hex-heatmap {
    background: rgba(91, 26, 46, calc(var(--heat, 0.5) * 0.15));
}

/* Cell typography */
.cell-label {
    font-family: var(--font-mono);
    font-weight: 300;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 0.5rem;
}

.cell-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cell-body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.cell-date {
    font-family: var(--font-mono);
    font-weight: 300;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--glacier);
    margin-top: auto;
}

/* Slide-Reveal Animation */
.slide-reveal {
    opacity: 0;
    transform: translateX(var(--slide-origin, 100px));
    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease-out;
    transition-delay: calc(var(--stagger-index, 0) * 120ms);
}

.slide-reveal.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Quill Divider */
.quill-divider {
    display: flex;
    justify-content: center;
    padding: 3vh 10vw;
    position: relative;
    z-index: 1;
}

.quill-divider svg {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* Ink Splatter */
.ink-splatter-group {
    position: relative;
    height: 20px;
    margin: 1vh 0;
    z-index: 1;
}

.ink-dot {
    position: absolute;
    left: var(--dot-x, 50%);
    top: calc(50% + var(--dot-y, 0px));
    width: var(--dot-size, 6px);
    height: var(--dot-size, 6px);
    border-radius: 50%;
    background: var(--charcoal);
    opacity: var(--dot-opacity, 0.2);
    pointer-events: none;
}

/* Timeline Visualization */
.timeline-viz {
    width: 100%;
    padding: 0.5rem 0;
}

.timeline-bar {
    position: relative;
    height: 32px;
    width: 100%;
    background: rgba(232, 223, 208, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.timeline-era {
    position: absolute;
    top: 0;
    left: var(--era-start, 0%);
    width: var(--era-width, 20%);
    height: 100%;
    background: linear-gradient(135deg, var(--burgundy), var(--wine));
    opacity: var(--era-opacity, 0.5);
    border-radius: 2px;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2px 4px;
}

.timeline-era:hover {
    opacity: 1;
}

.era-label {
    font-family: var(--font-mono);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--fog);
    white-space: nowrap;
}

/* Altitude Chart */
.altitude-chart {
    width: 100%;
    padding: 0.5rem 0;
}

.altitude-chart-svg {
    width: 100%;
    height: auto;
    max-height: 100px;
}

.chart-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 2s ease-out;
}

.chart-line.drawn {
    stroke-dashoffset: 0;
}

/* Fog transition to summit */
.fog-transition-summit {
    position: relative;
    height: 200px;
    margin-top: 6vh;
    z-index: 1;
}

.fog-band-dark-1 {
    bottom: -10px;
    height: 80px;
    opacity: 0.6;
    background: var(--charcoal);
    animation: fog-band-drift 45s ease-in-out infinite;
}

.fog-band-dark-2 {
    bottom: 20px;
    height: 60px;
    opacity: 0.4;
    background: var(--charcoal);
    animation: fog-band-drift 60s ease-in-out infinite reverse;
}

.fog-band-dark-3 {
    bottom: 50px;
    height: 40px;
    opacity: 0.25;
    background: var(--charcoal);
    animation: fog-band-drift 38s ease-in-out infinite;
}

/* ============================================================
   ZONE: SUMMIT / SYNTHESIS
   ============================================================ */
.zone-summit {
    position: relative;
    min-height: 150vh;
    background: var(--charcoal);
    padding: 10vh 0;
    overflow: hidden;
}

.summit-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4vw;
}

/* Network Graph */
.network-graph-container {
    width: min(90vw, 800px);
    margin-bottom: 8vh;
}

.treaty-network {
    width: 100%;
    height: auto;
}

.network-edge {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 2s ease-in-out;
}

.network-edge.drawn {
    stroke-dashoffset: 0;
}

.network-node {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.network-node.visible {
    opacity: 1;
}

/* Summit Text */
.summit-text {
    max-width: 700px;
    text-align: center;
    margin-bottom: 10vh;
}

.summit-heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fog);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--parchment), var(--glacier));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.summit-heading.revealed {
    opacity: 1;
    transform: translateY(0);
}

.summit-body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.72;
    color: var(--parchment);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease 0.3s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.summit-body.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Final Phrase */
.summit-final {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.final-phrase {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 4.5rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: var(--fog);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 2s ease, transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-phrase.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Summit Mountains Footer */
.summit-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.summit-mountains svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================================
   HEXAGONAL CELL DISSOLVE (Summit Zone)
   For cells that transition from hexagon to rectangle
   ============================================================ */
.hex-cell.dissolving {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   WATERCOLOR WASH OVERLAY EFFECT
   ============================================================ */
.hex-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(91, 26, 46, 0.03),
        rgba(123, 167, 181, 0.03),
        rgba(91, 26, 46, 0.02)
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.hex-cell.revealed::before {
    opacity: 1;
}

/* Mountain silhouette on cells at low opacity */
.hex-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background:
        linear-gradient(
            to top,
            rgba(91, 26, 46, 0.04) 0%,
            transparent 60%
        );
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   GILDED BORDER ON FEATURED HEXAGONS
   ============================================================ */
.hex-cell-wide::before,
.hex-cell-featured::before {
    background: linear-gradient(
        135deg,
        rgba(201, 168, 76, 0.06),
        transparent 40%,
        rgba(201, 168, 76, 0.04)
    );
    opacity: 1;
}

/* ============================================================
   RESPONSIVE / MOBILE ADAPTATION
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --hex-size: 90vw;
    }

    .hex-cell {
        clip-path: none;
        border-radius: 12px;
        height: auto;
        min-height: 200px;
        width: 90vw;
        background: var(--parchment);
        border: 1px solid var(--parchment);
    }

    .hex-cell-wide {
        width: 90vw;
        height: auto;
        min-height: 240px;
    }

    .hex-cell-featured {
        width: 90vw;
        height: auto;
        min-height: 220px;
    }

    .hex-inner {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 2rem 1.5rem;
    }

    .hex-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 2vh 5vw;
        margin-bottom: 0;
    }

    .hex-row-offset {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .hero-hexagon {
        width: 95vw;
        height: 80vh;
        clip-path: polygon(50% 2%, 98% 25%, 98% 75%, 50% 98%, 2% 75%, 2% 25%);
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    #compass-rose {
        top: 16px;
        right: 16px;
    }

    .compass-link::after {
        display: none;
    }

    .summit-final {
        min-height: 40vh;
    }

    .final-phrase {
        font-size: clamp(1.5rem, 8vw, 3rem);
    }

    .cell-title {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .wax-seal {
        display: none;
    }

    .network-graph-container {
        width: 95vw;
    }

    .contour-bg {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-hexagon {
        clip-path: none;
        border-radius: 16px;
        height: 75vh;
    }

    .hex-cell {
        border-radius: 8px;
    }
}

/* ============================================================
   ADDITIONAL TEXTURE & DETAIL
   ============================================================ */

/* Subtle paper texture on body via gradient noise simulation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(91, 26, 46, 0.02), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(123, 167, 181, 0.02), transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.015), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure all zones stack above body pseudo */
.zone {
    position: relative;
    z-index: 1;
}

/* Selection color */
::selection {
    background: rgba(140, 47, 75, 0.25);
    color: var(--charcoal);
}

/* Scrollbar styling (Webkit) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--fog);
}

::-webkit-scrollbar-thumb {
    background: var(--wine);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy);
}
