
:root {
    --bg-main: #F9F8F6;
    --text-main: #2C3329;
    --text-muted: #5C6359;
    --primary: #4A5D4E;
    --primary-dark: #324035;
    --primary-light: #E8EBE9;
    --accent: #D4A373;
    --accent-hover: #C39262;
    --accent-light: #FAEDDF;
    --white: #FFFFFF;
    --border: #D1D5D1;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-dark);
}

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

a:hover {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.text-lg { font-size: 1.25rem; line-height: 1.6; }
.text-sm { font-size: 0.9rem; }
.italic-serif { font-family: var(--font-heading); font-style: italic; }

.section-padding { padding: var(--space-xl) 0; }
.section-padding-sm { padding: var(--space-lg) 0; }

/* Header */
header {
    background-color: var(--bg-main);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--accent);
    font-style: italic;
}

.nav-desktop {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 8px 2px;
}
.nav-desktop a:hover, .nav-desktop a.active {
    color: var(--accent);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border: 1px solid var(--primary);
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Mobile Nav */
.nav-mobile {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--bg-main);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 99;
    flex-direction: column;
    gap: 1.5rem;
}
.nav-mobile.active {
    display: flex;
}
.nav-mobile a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    display: block;
    padding: 6px 0;
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* Images */
.img-wrap {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}
.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.img-wrap:hover img {
    transform: scale(1.03);
}
.aspect-square { aspect-ratio: 1/1; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-portrait { aspect-ratio: 4/5; }

/* Hero Sections */
.hero-split {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: var(--space-md);
}
.hero-split h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: var(--space-md);
}
.hero-split .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    max-width: 90%;
}

.hero-full {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: var(--primary-dark);
}
.hero-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 51, 41, 0.5);
    z-index: 1;
}
.hero-full img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-full .content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}
.hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.hero-full p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
}

/* Feature Cards (Programs) */
.program-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.program-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.program-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.program-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}
.program-card .link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Core Philosophy */
.philosophy-section {
    background-color: var(--primary-dark);
    color: var(--primary-light);
}
.philosophy-section h2, .philosophy-section h3 {
    color: var(--accent-light);
}
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.philosophy-item {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}
.philosophy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

/* Blockquote */
.quote-block {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.quote-block blockquote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}
.quote-block cite {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Article Styles for Depth */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
}
.article-content h2 {
    font-size: 2.5rem;
    margin: 3rem 0 1.5rem;
}
.article-content p {
    margin-bottom: 1.5rem;
}
.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.article-content li {
    margin-bottom: 0.5rem;
}
.drop-cap::first-letter {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.75rem;
    color: var(--accent);
}

/* Footer */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: var(--space-lg) 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.footer-links h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    background-color: var(--bg-main);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Specific Sections */
.methodology-steps {
    border-left: 2px solid var(--primary-light);
    margin-left: 1rem;
    padding-left: 2rem;
}
.method-step {
    position: relative;
    margin-bottom: 3rem;
}
.method-step::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--accent);
    border: 4px solid var(--bg-main);
}
.method-step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .menu-toggle { display: block; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-split { flex-direction: column; text-align: center; padding-top: 2rem; }
    .hero-split .subtitle { max-width: 100%; margin: 0 auto 2rem; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .section-padding { padding: 4rem 0; }
    
    /* Ensure no horizontal scroll */
    .container { padding: 0 16px; }
    body { width: 100%; }
}


/* Motion / color-scheme preferences */
:root { color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
