:root {
    --bg-canvas: #ffffff;
    --bg-pale: #f1f5f9;
    --text-primary: #1e293b;
    --text-muted: #475569;
    --accent: #dc2626;
    --font-serif: Charter, Cambria, Georgia, serif;
    --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glass: 0 12px 32px -4px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(241, 245, 249, 0.7);
}

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

body {
    font-family: var(--font-serif);
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    hyphens: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p { margin-bottom: 1.5rem; }

.label {
    font-variant: small-caps;
    text-transform: lowercase;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pull-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.3;
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
    margin: 4rem 0;
    font-style: italic;
    color: var(--text-primary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.narrow-reading {
    max-width: 72ch;
    margin: 0 auto;
}

.massive-space {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

/* Header */
.site-header {
    position: relative;
    background: var(--bg-canvas);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.brand {
    font-variant: small-caps;
    text-transform: lowercase;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-variant: small-caps;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
    position: relative;
}

.main-nav a::after, .link-expand::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-kinetic);
}

.main-nav a:hover::after, .link-expand:hover::after {
    width: 100%;
}

.link-expand {
    display: inline-block;
    position: relative;
    font-weight: bold;
    color: var(--accent);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--bg-pale);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
}

/* Components */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-variant: small-caps;
    text-transform: lowercase;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s var(--ease-kinetic), background 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #b91c1c; /* Darker crimson */
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 3rem;
    border-radius: 0;
    box-shadow: var(--shadow-glass);
    transition: transform 0.4s var(--ease-kinetic);
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* Specific Layouts */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem 0;
    align-items: center;
}

.hero-text h1 { margin-bottom: 2rem; }

.hero-collage {
    position: relative;
    height: 600px;
    width: 100%;
}

.hero-img {
    position: absolute;
    border-radius: 0;
    box-shadow: var(--shadow-glass);
}

.hero-img-1 { top: 0; left: 0; width: 65%; height: 60%; z-index: 1; }
.hero-img-2 { top: 20%; right: 0; width: 55%; height: 50%; z-index: 2; border: 4px solid var(--bg-canvas); }
.hero-img-3 { bottom: 0; left: 15%; width: 50%; height: 45%; z-index: 3; border: 4px solid var(--bg-canvas); }

.diagonal-band {
    background: var(--bg-pale);
    clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
    padding: 10vw 0;
    margin: 8rem 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.image-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 60vh;
    margin: 6rem 0;
}

/* Forms */
.form-group { margin-bottom: 2rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-variant: small-caps;
    text-transform: lowercase;
    font-weight: bold;
}
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--text-muted);
    background: transparent;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    border-radius: 0;
    color: var(--text-primary);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.site-footer {
    border-top: 4px solid var(--accent);
    background: var(--bg-canvas);
    padding: 6rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-variant: small-caps;
    text-transform: lowercase;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }

.footer-bottom {
    border-top: 1px solid var(--bg-pale);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal-links { display: flex; gap: 1.5rem; }

/* Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-kinetic);
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .hero-collage {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    .hero-collage { height: 400px; }
    .diagonal-band { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); }
    .pull-quote { font-size: 1.5rem; padding-left: 1rem; }
    .site-header { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
