/* House of Lekha - Shared Styles */

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

@font-face {
    font-family: "Snell Roundhand Script";
    src: url("https://db.onlinewebfonts.com/t/31ed0189fe1ff1e740a652e0f75b77dc.eot");
    src: url("https://db.onlinewebfonts.com/t/31ed0189fe1ff1e740a652e0f75b77dc.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/31ed0189fe1ff1e740a652e0f75b77dc.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/31ed0189fe1ff1e740a652e0f75b77dc.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/31ed0189fe1ff1e740a652e0f75b77dc.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/31ed0189fe1ff1e740a652e0f75b77dc.svg#Snell Roundhand Script")format("svg");
}

/* CSS Variables */
:root {
    --bg-dark: #1a1a1a;
    --bg-cream: #e8e3d5;
    --text-gold: #c9a961;
    --text-light: #e8e3d5;
    --text-muted: #a39d8e;
    --text-dark: #2a2a2a;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* Page Layout */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px;
    position: relative;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Back Button */
.back-btn {
    position: absolute;
    top: 40px;
    left: 40px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
}

.back-btn:hover {
    color: var(--text-light);
}

.back-btn::before {
    content: "← ";
    margin-right: 5px;
}

/* Main Script Title - House of Lekha / Field Note #X */
.main-title-script {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-style: normal;
    color: var(--text-gold);
    font-family: "Snell Roundhand Script", cursive;
    /* Embossed effect */
    text-shadow: 
        1px 1px 1px rgba(255, 255, 255, 0.1),
        -1px -1px 1px rgba(0, 0, 0, 0.5),
        2px 2px 3px rgba(0, 0, 0, 0.3);
}

/* Name Title - Subalekha Udayasankar */
.name-title {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-family: 'Cormorant Garamond', serif;
}

/* Section Subtitle - PRIVATE ADVISORY, THE WORK, FIELD NOTES */
.section-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin-bottom: 4rem;
    font-family: 'Cormorant Garamond', serif;
}

/* Large Heading - For leaders navigating... / Field Note Titles */
.large-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 3rem;
    max-width: 900px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-light);
}

/* Body Text - Descriptions */
.body-text {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.8;
    max-width: 900px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-family: 'Cormorant Garamond', serif;
}

/* Navigation Links - The Work, Field Notes */
.nav-links {
    display: flex;
    gap: 5rem;
    justify-content: center;
    margin-top: 2rem;
}

.nav-link {
    color: var(--text-gold);
    text-decoration: none;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
    transition: border-color 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
}

.nav-link:hover {
    border-bottom-color: var(--text-gold);
    color: var(--text-gold);
}

/* Contact Info */
.contact-info {
    text-align: center;
    padding-bottom: 40px;
}

.contact-label {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.contact-email {
    color: var(--text-light);
    text-decoration: none;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
}

.contact-email:hover {
    color: var(--text-gold);
}

/* Divider */
.divider {
    width: 100px;
    height: 1px;
    background-color: var(--text-gold);
    margin: 4rem auto;
}

/* Quote Styling */
.quote {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    text-align: center;
    margin: 4rem auto 2rem;
    font-family: 'Cormorant Garamond', serif;
}

.quote-attribution {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.9em;
    color: var(--text-muted);
    font-family: 'Cormorant Garamond', serif;
}

/* Field Notes Specific Styles */
.field-note-container {
    background-color: var(--bg-cream);
    padding: 80px 60px;
    max-width: 1200px;
    width: 90%;
    margin: 60px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.field-note-number {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-family: "Snell Roundhand Script", cursive;
}

.field-note-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-family: 'Cormorant Garamond', serif;
}

.field-note-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-family: 'Cormorant Garamond', serif;
}

.field-note-disclaimer{
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-style: italic;
    line-height: 1.4;
    color: #481212;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 1rem;
    padding-left: 1em;
    border-left-color: #481212;
    border-left-width: 0.3 rem;
    border-left-style: solid;
    
}


.field-note-content {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.9;
    max-width: 100%;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.field-note-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 3rem;
}

.field-note-quote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    line-height: 1.7;
    color: #5a5a5a;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 3rem;
}

/* Field Notes Navigation */
.field-note-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.field-note-nav-link {
    color: var(--text-gold);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
    font-family: 'Cormorant Garamond', serif;
}

.field-note-nav-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-gold);
}

/* Sticky Header for Field Notes */
.back-btn.fixed {
    position: fixed;
    z-index: 100;
}

.back-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

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

.sticky-header .current-note-title {
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    flex: 1;
    text-align: center;
}

.sticky-header .all-notes-link {
    color: var(--text-gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding-right: 20px;
    font-family: 'Cormorant Garamond', serif;
}

.sticky-header .all-notes-link:hover {
    color: var(--text-light);
}

.sticky-header .all-notes-link::before {
    content: "← ";
    margin-right: 5px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .page {
        padding: 40px 20px;
    }
    
    .contact-info {
        padding-bottom: 20px;
    }

    .back-btn {
        top: 20px;
        left: 20px;
    }

    .sticky-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .sticky-header .all-notes-link {
        padding-right: 0;
    }

    .field-note-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .field-note-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .field-note-container {
        padding: 40px 30px;
        width: 95%;
    }
}
