/* ABSOLUTE GEOMETRIC CONSTRAINT */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* Typographical Engine */
    --font-base: "Grotesque-Dense", sans-serif;
    --color-mass: #000000;
    --color-void: #FFFFFF;
    
    /* Prospect Park Tier Physics */
    --fluid-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --kinetic-lift: -4px;
}

body {
    background-color: var(--color-void);
    color: var(--color-mass);
    font-family: var(--font-base);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.monolith-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100vw;
    min-height: 100vh;
}

.pentacle-node {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Force rigid left-alignment across all axes */
    padding: clamp(2rem, 5vw, 6rem);
    border-right: 1px solid var(--color-mass);
    position: relative;
    transition: background-color 0.4s var(--fluid-ease);
}

.pentacle-node:last-child {
    border-right: none;
}

/* MONOLITH ROUTING VECTORS */
.monolith-routing {
    text-decoration: none !important;
    color: var(--color-mass) !important;
    display: block;
    width: 100%;
    transform-origin: left center;
    transition: transform 0.5s var(--fluid-ease), opacity 0.5s var(--fluid-ease);
    will-change: transform, opacity;
}

.monolith-routing:visited,
.monolith-routing:active,
.monolith-routing:focus {
    text-decoration: none !important;
    color: var(--color-mass) !important;
    outline: none;
}

.monolith-routing:hover {
    transform: translateY(var(--kinetic-lift));
    opacity: 0.6;
}

.monolith-routing:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

h1 {
    font-size: clamp(2.5rem, 6vw + 1rem, 5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 clamp(1rem, 3vw, 2rem) 0;
    cursor: pointer;
    color: var(--color-mass);
    width: 100%; /* Prevent typographical overflow */
}

.kinetic-data {
    display: flex;
    flex-direction: column;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 0.8;
    width: 100%;
}

/* KINETIC VIEWPORT OVERRIDE - RIGID STACKING */
@media (max-width: 768px) {
    .monolith-grid {
        grid-template-columns: 1fr; /* Absolute single column */
        grid-template-rows: auto auto; /* Scale to content density */
        height: auto;
    }
    
    .pentacle-node {
        grid-column: 1 / -1; /* Span total viewport width */
        justify-content: flex-start; /* Reset vertical centering to top-load content */
        padding: 2rem; /* Hard lock padding to prevent fluid calculation drift */
        border-right: none;
        border-bottom: 1px solid var(--color-mass);
        min-height: 50vh; /* Maintain Two of Pentacles spatial duality */
    }

    .pentacle-node:last-child {
        border-bottom: none;
    }
}