
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #FCFAF5;
    --bg-secondary: #F4F1EA;
    --text-primary: #1C1C1C;
    --text-secondary: #4A4A4A;
    --accent-crimson: #7A1A2B;
    --accent-gold: #B89758;
    --line-color: rgba(28, 28, 28, 0.12);
    --header-height: 90px;
    --container-width: 1280px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--text-primary);
}

a {
    color: var(--accent-crimson);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--text-primary);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

/* Structural Grids & Lines */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.has-border-top { border-top: 1px solid var(--line-color); }
.has-border-bottom { border-bottom: 1px solid var(--line-color); }
.has-border-left { border-left: 1px solid var(--line-color); }

/* Header */
header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(252, 250, 245, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--line-color);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 4px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
    font-weight: 400;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-crimson);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}
nav a:hover, nav a.active {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-primary);
}

/* Page Layouts */
main {
    padding-top: var(--header-height);
    min-height: calc(100vh - 300px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--accent-crimson);
    color: var(--accent-crimson);
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}
.btn:hover {
    background: var(--accent-crimson);
    color: #fff;
}
.btn-solid {
    background: var(--accent-crimson);
    color: #fff;
}
.btn-solid:hover {
    background: #5a121e;
    border-color: #5a121e;
}

/* Footer */
footer {
    background-color: var(--text-primary);
    color: #fff;
    padding: 100px 0 40px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: rgba(255,255,255,0.5); }
.footer-brand p {
    margin-top: 24px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    max-width: 300px;
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* Typography Helpers */
.kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-crimson);
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}

.display-1 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.display-2 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.2; margin-bottom: 20px; }
.display-3 { font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.3; margin-bottom: 16px; }

.lead { font-size: 1.25rem; color: var(--text-secondary); max-width: 700px; line-height: 1.6; }

/* Mobile Adaptations */
@media (max-width: 900px) {
    .grid-container { display: flex; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--line-color);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    nav ul.active { display: flex; }
    nav ul li { text-align: center; margin-bottom: 16px; }
    nav ul li:last-child { margin-bottom: 0; }
    .menu-toggle { display: block; }
    
    .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
}

/* Specific Section Styles */

/* Hero Sections */
.hero-minimal {
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.hero-minimal .vertical-label {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Image + Text Split */
.split-section {
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-section.alt { grid-template-columns: 5fr 7fr; }
.split-content { padding-right: 40px; }
.split-image img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; }

/* Grid Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 80px 0;
}
.niche-card {
    padding: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--line-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.niche-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--accent-crimson); transition: width 0.3s ease;
}
.niche-card:hover::before { width: 100%; }
.niche-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.niche-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.niche-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; }
.niche-card .icon-wrapper { font-size: 2rem; color: var(--accent-gold); margin-bottom: 24px; font-family: serif; font-style: italic; }

/* Methodology Steps */
.methodology { padding: 120px 0; background: var(--bg-secondary); }
.method-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}
.method-step::after {
    content: ''; position: absolute; left: 40px; top: 100px; bottom: -60px; width: 1px; background: var(--line-color);
}
.method-step:last-child::after { display: none; }
.method-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.4;
}

/* Typography Section */
.text-section { max-width: 800px; margin: 0 auto; padding: 100px 0; }
.text-section h2 { margin-top: 40px; margin-bottom: 20px; }
.text-section p { margin-bottom: 24px; font-size: 1.1rem; color: var(--text-secondary); }
.text-section blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--accent-crimson);
    border-left: 2px solid var(--accent-gold);
    padding-left: 32px;
    margin: 40px 0;
    font-style: italic;
}

/* Mobile Enhancements for Layouts */
@media (max-width: 900px) {
    .split-section, .split-section.alt { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
    .split-content { padding-right: 0; order: 2; }
    .split-image { order: 1; }
    .hero-minimal { padding: 80px 0; text-align: center; min-height: 60vh; }
    .hero-minimal .vertical-label { display: none; }
    .lead { margin-left: auto; margin-right: auto; }
    .method-step { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .method-step::after { display: none; }
    .method-num { margin: 0 auto; }
}

@media (max-width: 480px) {
    .display-1 { font-size: 2.5rem; }
    .display-2 { font-size: 2rem; }
    .niche-card { padding: 24px; }
}
