/* ============================================
   EPIDENCE - QUIET WEALTH DESIGN SYSTEM
   Editorial Minimalism | Monocle Aesthetic
   ============================================ */

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Inter:wght@300;400&family=GFS+Neohellenic:wght@400;700&display=swap');

/* Color Palette */
:root {
    --paper-white: #FAF9F6;
    --pure-white: #FFFFFF;
    --deep-charcoal: #333333;
    --red-wine: #6B1C23;
    --muted-grey: #999999;
    --border-grey: #E8E8E8;
    --vellum-overlay: rgba(244, 241, 234, 0.6);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 2.0;
    color: var(--deep-charcoal);
    background-color: var(--paper-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - The Monocle Standard */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
}

h2 {
    font-size: 0.875rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 2rem;
    line-height: 2.0;
}

a {
    color: var(--deep-charcoal);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.6s ease;
}

a:hover {
    color: var(--red-wine);
    border-bottom: 1px solid var(--red-wine);
}

/* Container - High-Density Handbook Column */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 6rem;
}

/* Header - Red Wine */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--red-wine);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: 2rem;
    color: var(--pure-white);
    letter-spacing: 0.05em;
    border-bottom: none;
}

.logo:hover {
    color: var(--pure-white);
    border-bottom: none;
}

nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

nav a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pure-white);
    border-bottom: none;
    transition: opacity 0.6s ease;
}

nav a:hover {
    opacity: 0.7;
    color: var(--pure-white);
    border-bottom: none;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.lang-selector a {
    color: var(--pure-white);
}

.lang-selector span {
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Section - Video with Vellum Overlay */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--vellum-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    color: var(--deep-charcoal);
}

.mantra {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red-wine);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 2.0;
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-tagline {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--deep-charcoal);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Video Section - Elegant Container */
.video-section {
    padding: 5rem 0;
    background-color: var(--paper-white);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border: 1px solid var(--border-grey);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Section Spacing - High-Density */
section {
    padding: 5rem 0;
}

.about {
    background-color: var(--pure-white);
    border-top: 1px solid var(--border-grey);
    border-bottom: 1px solid var(--border-grey);
}

.about p {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Areas of Practice */
.practice {
    background-color: var(--paper-white);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    margin-top: 2rem;
}

.practice-item {
    border: 1px solid var(--border-grey);
    padding: 3rem;
    background-color: var(--pure-white);
    transition: all 0.6s ease;
}

.practice-item:hover {
    border-color: var(--red-wine);
}

.practice-item h3 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 400;
}

.practice-item p {
    font-size: 0.9375rem;
    line-height: 1.9;
    margin-bottom: 0;
}

/* Founder Section */
.founder {
    background-color: var(--pure-white);
    border-top: 1px solid var(--border-grey);
}

.founder-content {
    position: relative;
}

.founder-photo {
    float: left;
    width: 180px;
    height: 180px;
    margin: 0 3rem 2rem 0;
    border: 1px solid var(--border-grey);
    transition: filter 0.6s ease;
    object-fit: cover;
}

.founder-content h2 {
    margin-top: 0;
    margin-bottom: 3rem;
}

.founder-content h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red-wine);
    margin-bottom: 1rem;
}

.founder-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.founder-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Contact Section */
.contact {
    background-color: var(--paper-white);
    text-align: center;
}

.contact p {
    margin-bottom: 2rem;
}

.contact a {
    font-size: 1.125rem;
    color: var(--red-wine);
    border-bottom: 1px solid var(--red-wine);
}

.contact a:hover {
    opacity: 0.7;
}

/* Footer - Private Bank Legal */
footer {
    background-color: var(--pure-white);
    border-top: 1px solid var(--border-grey);
    padding: 3rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-right {
    font-size: 11px;
    color: var(--muted-grey);
    line-height: 1.6;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    font-size: 11px;
    color: var(--muted-grey);
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-right a:hover {
    color: var(--deep-charcoal);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }
    
    .mantra {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }
    
    header {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    nav {
        gap: 1rem;
        font-size: 0.75rem;
    }
    
    .lang-selector {
        display: flex;
        font-size: 0.7rem;
    }
    
    .practice-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-photo {
        float: none;
        display: block;
        margin: 0 auto 2rem auto;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 2rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .video-section {
        padding: 6rem 0;
    }
}
