:root {
    --bg-color: #f8f8f8;
    --text-color: #1a1a1a;
    --accent-color: #555555;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    padding: 60px 40px; /* Increased padding */
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(248,248,248,0.98);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

header.scrolled {
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 60px; /* Increased gap */
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.5;
}

main {
    padding-top: 180px; /* Increased top padding */
}

/* Typography Scale */
h1.huge {
    font-size: 10vw;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
}

h2.large {
    font-size: 5vw;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

p.intro {
    font-size: 1.8rem;
    font-weight: 300;
    max-width: 800px;
    margin-bottom: 60px;
    line-height: 1.4;
}

/* Sections */
section {
    padding: 100px 40px;
    border-bottom: 1px solid var(--border-color);
}

section.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

/* Grid Layout */
.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* border handled by section */
}

.grid-item {
    padding: 80px 40px;
    border-right: 1px solid var(--border-color);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

.grid-item:last-child {
    border-right: none;
}

.grid-item:hover {
    background-color: #1a1a1a;
    color: white;
}

.grid-item:hover .arrow {
    transform: translateX(10px);
}

.number {
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0.5;
    margin-bottom: 20px;
}

.grid-item h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.grid-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.arrow {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

/* Split Section */
.split-section {
    display: flex;
    min-height: 80vh;
    padding: 0; /* Override default section padding */
}

.text-block {
    flex: 1;
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.solid-block {
    flex: 1;
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solid-block span {
    font-size: 10vw;
    font-weight: 900;
    color: #f8f8f8; /* Subtle blend */
}

/* Content Page Styles */
.content-header {
    padding: 100px 40px 60px;
    border-bottom: 1px solid var(--border-color);
}

.content-body {
    display: flex;
    padding: 0;
}

.sidebar {
    width: 30%;
    padding: 80px 40px;
    border-right: 1px solid var(--border-color);
}

.main-text {
    width: 70%;
    padding: 80px 60px;
}

.main-text p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
}

.service-row {
    display: flex;
    padding: 60px 40px;
    border-bottom: 1px solid var(--border-color);
    align-items: baseline;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row h3 {
    width: 30%;
    font-size: 2rem;
}

.service-row p {
    width: 70%;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 80px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.5;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-col a {
    color: var(--text-color);
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
    header { padding: 30px 20px; }
    nav ul { display: none; } /* Simplified for prototype */
    
    .grid-section {
        grid-template-columns: 1fr;
    }
    
    .grid-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        height: auto;
    }
    
    .split-section {
        flex-direction: column;
    }
    
    .text-block, .sidebar, .main-text {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 60px 30px;
    }

    h1.huge { font-size: 15vw; }
    h2.large { font-size: 10vw; }
    
    .service-row {
        flex-direction: column;
    }
    .service-row h3 { width: 100%; margin-bottom: 20px; }
    .service-row p { width: 100%; }
}