/* Core Potter's Clay Design Token Matrix */
:root {
    --clay-50: #f7f5ef;
    --clay-100: #ece5d5;
    --clay-200: #dbcbad;
    --clay-300: #c6ab7e;
    --clay-400: #b58f5a;
    --clay-500: #a67d4c;
    --clay-600: #865e3c;
    --clay-700: #734c35;
    --clay-800: #614132;
    --clay-900: #54382f;
    --clay-950: #301d18;
}

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

html, body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--clay-950);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    html, body {
        height: 100%;
        overflow: hidden;
    }
}

/* Dual Layout Screen Splitter Base */
.split-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 768px) {
    .split-container {
        flex-direction: row;
        height: 100vh;
    }
}

/* ⬛ LEFT SIDE PANEL */
.left-panel {
    background-color: var(--clay-950);
    color: var(--clay-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    flex-shrink: 0;
}

.left-panel h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, var(--clay-50), var(--clay-200), var(--clay-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .left-panel {
        flex: 1;
        padding: 40px;
    }
    .left-panel h1 { 
        font-size: 3.5rem; 
    }
}

.left-panel::after {
    content: '';
    position: absolute;
    background: linear-gradient(to right, var(--clay-800), var(--clay-700));
    bottom: 0; left: 0; width: 100%; height: 1px;
}

@media (min-width: 768px) {
    .left-panel::after {
        top: 0; right: 0; bottom: 0; left: auto;
        width: 1px; height: 100%;
        background: linear-gradient(to bottom, var(--clay-900), var(--clay-800), var(--clay-950));
    }
}

/* ⬜ RIGHT SIDE PANEL */
.right-panel {
    background-color: var(--clay-50);
    color: var(--clay-950);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 24px;
    flex: 1;
    min-height: 0;
}

@media (min-width: 768px) {
    .right-panel {
        flex: 2;
        padding: 40px;
        overflow-y: auto;
    }
}

.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (min-width: 768px) {
    .content-wrapper {
        padding-bottom: 0;
    }
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--clay-900);
    margin-bottom: 12px;
}

p.description {
    font-size: 15px;
    color: var(--clay-800);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Navigation List Styling */
.nav-links {
    width: 100%;
    margin-bottom: 24px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links a {
    display: inline-block;
    color: var(--clay-900);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.nav-links a::before {
    content: "→ ";
    color: var(--clay-500);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--clay-600);
    transform: translateX(3px);
}

/* Architecture Badges */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    font-size: 10px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: var(--clay-100);
    color: var(--clay-700);
    border: 1px solid var(--clay-200);
    text-transform: uppercase;
}

/* Footer */
footer {
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--clay-200);
    text-align: left;
    margin-top: auto;
}

footer p {
    font-size: 12px;
    color: var(--clay-600);
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.5;
}

footer a {
    color: var(--clay-800);
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline;
}
