:root {
    /* Color Palette derived from aesthetic artwork */
    --clr-brown-deep: #2C1608;
    --clr-brown-rich: #4A2810;
    --clr-ochre: #D98834;
    --clr-cream: #F5ECD5;
    --clr-teal-muted: #5F7A76;
    --clr-black: #111111;
    --clr-white: #FFFFFF;

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--clr-cream);
    color: var(--clr-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--clr-brown-deep);
}

h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 600;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    color: var(--clr-ochre);
}

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

p {
    font-size: 1.125rem;
    color: #444;
    margin-bottom: var(--space-lg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--space-md) 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 236, 213, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(44, 22, 8, 0.05);
}

.navbar.scrolled {
    padding: var(--space-sm) 5%;
    background: rgba(245, 236, 213, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
    height: 70px;
    display: flex;
    align-items: center;
    overflow: hidden; /* Visually cut off any excess bounds */
}

.logo-img {
    height: 350px; /* Keep it very large to zoom in on the actual logo content */
    width: auto;
    display: block;
    margin: -140px 0; /* Crop out the top and bottom white space from the layout flow */
    mix-blend-mode: multiply; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    color: var(--clr-brown-deep);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-ochre);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: var(--clr-brown-deep);
    color: var(--clr-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--clr-ochre);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 136, 52, 0.4);
}

.btn-hero {
    display: inline-block;
    background: var(--clr-ochre);
    color: var(--clr-white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: var(--space-md);
    transition: var(--transition-fast);
    box-shadow: 0 10px 25px rgba(217, 136, 52, 0.3);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(217, 136, 52, 0.5);
    background: #E59A45;
}

.link-styled {
    font-weight: 600;
    color: var(--clr-ochre);
    font-size: 1.1rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.link-styled:hover {
    gap: 1rem;
    color: var(--clr-brown-deep);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 22, 8, 0.7), rgba(44, 22, 8, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: var(--space-md);
}

.hero-title {
    color: var(--clr-white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--space-lg) auto;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: var(--space-xl);
    transition: var(--transition-fast);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* About Section */
.about-section {
    padding: var(--space-xxl) 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.founder-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--clr-ochre);
    border-left: 4px solid var(--clr-brown-rich);
    padding-left: var(--space-md);
    margin: var(--space-xl) 0;
    font-style: italic;
}

.founder-quote footer {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--clr-brown-deep);
    margin-top: var(--space-sm);
    font-style: normal;
    font-weight: 600;
}

.founder-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 22, 8, 0.15);
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.glass-card:hover .founder-img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Selection Section */
.selection-section {
    padding: var(--space-xxl) 0;
    background: var(--clr-white);
}

.text-center {
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto var(--space-xl) auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.card {
    padding: var(--space-lg);
    text-align: left;
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.bg-ochre { background: var(--clr-ochre); }
.bg-brown { background: var(--clr-brown-rich); }
.bg-teal { background: var(--clr-teal-muted); }

/* Process Section */
.process-section {
    padding: var(--space-xxl) 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--space-xl) auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(44, 22, 8, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: var(--space-lg);
}

.timeline-item .dot {
    position: absolute;
    left: 31px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--clr-ochre);
    border: 4px solid var(--clr-cream);
    box-shadow: 0 0 0 4px rgba(217, 136, 52, 0.2);
}

/* Footer */
.footer {
    background: var(--clr-brown-deep);
    color: var(--clr-white);
    padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer h2, .footer h4 {
    color: var(--clr-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .split-layout { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-item .dot { left: 11px; }
}
