/* --- CSS VARIABLES (Aesthetic Olive/Sage Palette) --- */
:root {
    --bg-primary: #fbfbf9;       /* Cream/Off-white */
    --bg-secondary: #f3f4ee;     /* Soft Sage tint */
    --text-primary: #1c2419;     /* Deep forest dark charcoal */
    --text-muted: #55604e;       /* Muted olive gray */
    --accent-olive: #4a5d43;     /* Classical Olive Green */
    --accent-dark: #2d3b27;      /* Rich Deep Sage */
    --accent-light: #809675;     /* Soft light olive */
    --glass-bg: rgba(243, 244, 238, 0.6);
    --glass-border: rgba(74, 93, 67, 0.1);
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .logo {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --- REUSABLE COMPONENTS --- */
.section-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-desc {
    max-width: 600px;
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-olive);
    color: #ffffff;
    border: 1px solid var(--accent-olive);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-olive);
    border: 1px solid var(--accent-light);
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-olive);

}

/* --- NAVIGATION --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(251, 251, 249, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 93, 67, 0.05);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    color: var(--accent-dark);
}

.logo span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0 5px;
    color: var(--accent-light);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-links a:not(.btn-nav) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent-olive);
}

/* --- FIXED NAVIGATION CALL-TO-ACTION BUTTON --- */
.btn-nav {
    border: 1px solid var(--accent-olive);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--accent-olive);
    background-color: transparent; /* Clean resting state background */
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

/* Combines both hover and active class exceptions safely */
.btn-nav:hover, 
.nav-links .btn-nav.active-link {
    color: #ffffff !important; /* Force stark white text contrast */
    background-color: var(--accent-olive) !important; /* Force smooth dark olive fill background */
    border-color: var(--accent-olive);
    text-decoration: none;
}

/* Deepens color slightly on hover if it's already active */
.nav-links .btn-nav.active-link:hover {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 80px 24px 120px 24px;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.subheading {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-olive);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Minimalist / Abstract Visual representation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    width: 320px;
    height: 420px;
    background-color: var(--accent-olive);
    border-radius: 160px 160px 0 0; /* Classic arch structure */
    position: relative;
    
    /* Image Alignment Properties */
    background-size: cover;        /* Ensures your picture fills the whole arch */
    background-position: center;   /* Keeps your face centered inside the frame */
    background-repeat: no-repeat;
    opacity: 0.95;                 /* Slight adjustment so your image pops sharply */
}

.abstract-shape::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 320px;
    height: 420px;
    border: 1px solid var(--accent-light);
    border-radius: 160px 160px 0 0;
}

/* --- SERVICES SECTION --- */
.services {
    background-color: #ffffff;
}

.services h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    border-left: 3px solid var(--accent-olive);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 93, 67, 0.06);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--accent-olive);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

/* --- BLOG SECTION (Masonry-Inspired Layout) --- */
.blog h2 {
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.blog-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background: transparent;
    border-bottom: 1px solid rgba(74, 93, 67, 0.15);
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.blog-card h3 a:hover {
    color: var(--accent-olive);
}

.blog-card p {
    margin-bottom: 24px;
    font-size: 1rem;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-olive);
    align-self: flex-start;
}

.read-more:hover {
    color: var(--accent-dark);
    letter-spacing: 0.05em;
}

/* --- FOOTER / CONTACT (Glassmorphism elements) --- */
.footer {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
    padding: 60px 24px 30px 24px;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
}

.contact-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    box-shadow: 0 20px 40px rgba(74, 93, 67, 0.04);
}

.contact-box h2 {
    font-size: 2.3rem;
    margin-bottom: 16px;
}

.contact-box p {
    max-width: 500px;
    margin: 0 auto 32px auto;
}

.footer-bottom {
    border-top: 1px solid rgba(74, 93, 67, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent-light);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual {
        display: none; /* Simplifies layout on smaller tablets */
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .nav-links {
        display: none; /* Easily expandable with a quick JS hamburger line later */
    }
    .section-container {
        padding: 60px 24px;
    }
}

/* --- AMENDED ABOUT PAGE SPECIFIC STYLES --- */

.active-link {
    color: var(--accent-olive) !important;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 4px;
}

.about-hero {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    padding-top: 60px;
    padding-bottom: 20px;
}

.about-hero h1 {
    font-size: 3.2rem;
    max-width: 850px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

/* Bio Section Layout Structure */
.bio-section {
    background-color: var(--bg-primary);
    padding-top: 40px;
    padding-bottom: 120px;
}

.bio-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 400px 1fr; /* Exact fixed width for graphic, flexible for text */
    gap: 80px;
    align-items: start;
}

/* Left Graphic Column Customization */
.bio-graphic {
    position: sticky;
    top: 120px; /* Floats smoothly as the user reads your story */
}

.portrait-frame {
    position: relative;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(74, 93, 67, 0.08);
    box-shadow: 0 16px 40px rgba(74, 93, 67, 0.03);
}

.portrait-placeholder {
    width: 100%;
    height: 460px;
    background-color: var(--bg-secondary);
    border-radius: 2px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    
    /* Image Alignment Properties */
    background-size: cover;        /* Fills the frame perfectly without distorting aspect ratio */
    background-position: center;   /* Keeps the portrait centered */
    background-repeat: no-repeat;
    
    /* Subtle fallback elegant academic grid layer */
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(74, 93, 67, 0.02) 20px, rgba(74, 93, 67, 0.02) 40px);
}

.inner-inscription {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--accent-light);
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(74, 93, 67, 0.15);
    padding-top: 8px;
    width: 100%;
}

/* Right Text Column: The Structural Fixes */
.bio-text {
    max-width: 42rem; /* The absolute sweet spot for editorial layout reading lengths */
    display: flex;
    flex-direction: column;
}

.bio-mini-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.bio-text h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Sculpted Premium Intro Paragraph styling */
.bio-text .lead-text {
    font-size: 1.35rem;
    color: var(--accent-dark);
    font-family: var(--font-serif);
    line-height: 1.5;
    margin-bottom: 32px;
    position: relative;
}

/* Essay Body Alignment */
.essay-body {
    border-top: 1px solid rgba(74, 93, 67, 0.1);
    padding-top: 32px;
}

.essay-body p {
    margin-bottom: 24px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Elegant, isolated blockquote formatting */
.bio-text blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.45rem;
    color: var(--accent-olive);
    line-height: 1.45;
    margin: 40px 0;
    padding-left: 28px;
    border-left: 2px solid var(--accent-olive);
}

/* Approach / Process Values Layout */
.approach-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(74, 93, 67, 0.05);
}

.approach-section h2 {
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.approach-card {
    padding-top: 24px;
    border-top: 1px solid var(--bg-secondary);
}

.approach-card h3 {
    font-size: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

/* Responsive Adaptive States */
@media (max-width: 1024px) {
    .bio-container {
        grid-template-columns: 1fr; /* Drops graphic above text cleanly on smaller tablet sizes */
        gap: 56px;
    }
    
    .bio-graphic {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .bio-text {
        max-width: 100%; /* Spans evenly but safely inside container padding limits */
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.3rem;
    }
    .bio-text h2 {
        font-size: 2.2rem;
    }
}

/* --- SERVICES PAGE SPECIFIC STYLES --- */

.services-hero {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
}

.services-hero h1 {
    font-size: 3.2rem;
    max-width: 850px;
    margin: 0 auto 20px auto;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Offerings Cards System */
.offerings-section {
    background-color: var(--bg-primary);
    padding-bottom: 100px;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.offering-card {
    background-color: #ffffff;
    border: 1px solid rgba(74, 93, 67, 0.06);
    padding: 48px 40px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(74, 93, 67, 0.02);
    transition: var(--transition);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(74, 93, 67, 0.05);
}

.card-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    display: block;
}

.offering-card h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.offering-desc {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 28px;
    color: var(--text-muted);
}

.offering-features {
    list-style: none;
    margin-bottom: 40px;
    border-top: 1px solid var(--bg-secondary);
    padding-top: 24px;
}

.offering-features li {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.offering-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-olive);
    font-weight: bold;
}

.offering-footer {
    margin-top: auto;
}

.offering-target {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-light);
    display: block;
    line-height: 1.4;
}

/* Process Timeline (Horizontal on desktops, vertical on mobile) */
.process-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(74, 93, 67, 0.05);
}

.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

.process-step {
    border-top: 2px solid var(--accent-olive);
    padding-top: 24px;
}

.process-step h3 {
    font-size: 1.3rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Minimal Grid Layout */
.faq-section {
    background-color: var(--bg-secondary);
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px 64px;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Quick Media Fixes for services adjustments */
@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 2.4rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- ARCHIVE PAGE SPECIFIC STYLES --- */

.archive-wrapper {
    background-color: var(--bg-primary);
    padding: 80px 0 120px 0;
    border-bottom: 1px solid rgba(74, 93, 67, 0.05);
}

.archive-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 320px 1fr; /* Fixed descriptive side panel, long scrolling column */
    gap: 96px;
    align-items: start;
}

/* Sidebar Styling */
.archive-sidebar {
    position: sticky;
    top: 120px;
}

.archive-sidebar h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.sidebar-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* Sidebar Custom List Filters */
.archive-filters {
    border-top: 1px solid rgba(74, 93, 67, 0.1);
    padding-top: 32px;
}

.filter-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--accent-light);
    display: block;
    margin-bottom: 20px;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filter-item {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    display: inline-block;
}

.filter-item:hover {
    color: var(--accent-olive);
    transform: translateX(4px);
}

.active-filter {
    color: var(--accent-dark) !important;
    font-weight: 600;
    position: relative;
}

/* Right-Side Article Stream */
.archive-feed {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.archive-year-group {
    display: flex;
    flex-direction: column;
}

.year-marker {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--accent-light);
    font-style: italic;
    border-bottom: 1px solid rgba(74, 93, 67, 0.1);
    padding-bottom: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.feed-list {
    display: flex;
    flex-direction: column;
}

/* Clean Editorial Line Item */
.archive-row {
    display: grid;
    grid-template-columns: 80px 1fr; /* Distinct floating dates aligned on a clean vertical axis */
    padding: 32px 0;
    border-bottom: 1px solid rgba(74, 93, 67, 0.05);
}

.archive-row:last-child {
    border-bottom: none;
}

.archive-date {
    font-size: 0.95rem;
    color: var(--accent-light);
    font-weight: 500;
    padding-top: 4px;
}

.archive-body {
    max-width: 40rem; /* Ensures essay text entries remain crisp and easy on the eye */
}

.archive-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.archive-body h2 {
    font-size: 1.65rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.archive-body h2 a:hover {
    color: var(--accent-olive);
}

.archive-body p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Responsive Structural Collapse */
@media (max-width: 992px) {
    .archive-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .archive-sidebar {
        position: relative;
        top: 0;
    }

    .sidebar-intro {
        margin-bottom: 24px;
    }

    .archive-filters {
        padding-top: 20px;
    }

    .filter-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .archive-feed {
        gap: 48px;
    }
}

@media (max-width: 600px) {
    .archive-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px 0;
    }
    
    .archive-sidebar h1 {
        font-size: 2.5rem;
    }
}

/* --- INDIVIDUAL BLOG POST SPECIFIC STYLES --- */

.post-layout-wrapper {
    background-color: var(--bg-primary);
    padding: 80px 24px 120px 24px;
}

.post-container {
    max-width: 42rem; /* Strict typographic limit ensuring crisp readability line-lengths */
    margin: 0 auto;
}

/* Post Header Element layouts */
.post-header {
    margin-bottom: 40px;
    text-align: left;
}

.post-meta-top {
    font-size: 0.88rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-title {
    font-size: 3rem;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Table of contents Summary styling */
.post-summary-box {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(74, 93, 67, 0.06);
    padding: 24px 32px;
    border-radius: 4px;
    margin-bottom: 48px;
}

.post-summary-box h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.post-summary-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-summary-box a {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.post-summary-box a:hover {
    color: var(--accent-olive);
    padding-left: 2px;
}

/* Central Essay Core Typography Rules */
.post-body-content h2 {
    font-size: 1.85rem;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.post-body-content h3 {
    font-size: 1.3rem;
    color: var(--accent-dark);
    margin-top: 32px;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.post-body-content p {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Bullet item overrides within the reading pane */
.post-body-content ul {
    list-style: none;
    margin-bottom: 28px;
    padding-left: 8px;
}

.post-body-content ul li {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.post-body-content ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

/* Blockquote pulled styling */
.post-body-content blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-olive);
    line-height: 1.45;
    margin: 44px 0;
    padding-left: 24px;
    border-left: 3px solid var(--accent-olive);
}

/* Post Footer Details */
.post-footer {
    margin-top: 64px;
    border-top: 1px solid rgba(74, 93, 67, 0.1);
    padding-top: 40px;
}

.author-signature {
    background-color: var(--bg-secondary);
    padding: 24px;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.back-to-archive a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-olive);
}

.back-to-archive a:hover {
    color: var(--accent-dark);
}

/* Tiny Device Adaptations */
@media (max-width: 768px) {
    .post-title {
        font-size: 2.2rem;
    }
    .post-layout-wrapper {
        padding: 40px 20px 80px 20px;
    }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */

.contact-page-wrapper {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 100px 24px 140px 24px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.contact-page-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Asymmetric editorial spacing */
    gap: 96px;
    align-items: center;
    width: 100%;
}

/* Info Side Styling */
.contact-info-panel h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

/* Availability Status Bar Component */
.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid rgba(74, 93, 67, 0.08);
    padding: 10px 18px;
    border-radius: 30px;
    margin-bottom: 48px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--accent-light);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(128, 150, 117, 0.2);
}

.availability-status p {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--accent-dark);
}

.alternative-comms h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.alternative-comms p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.direct-email-link {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--accent-olive);
    font-weight: 600;
    border-bottom: 1px dashed var(--accent-light);
}

.direct-email-link:hover {
    color: var(--accent-dark);
    border-bottom-style: solid;
}

/* Glassmorphic Contact Input Panel Form */
.glass-contact-form {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(74, 93, 67, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 30px 60px rgba(74, 93, 67, 0.04);
}

.form-row {
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
}

/* Custom Styled Inputs fields */
.glass-contact-form input,
.glass-contact-form select,
.glass-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(74, 93, 67, 0.15);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.glass-contact-form input:focus,
.glass-contact-form select:focus,
.glass-contact-form textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent-olive);
    box-shadow: 0 0 0 3px rgba(74, 93, 67, 0.08);
}

/* Custom styling override for native browser dropdown lists */
.glass-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5d43' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

/* Responsive Adaptive Viewports for Form Layout */
@media (max-width: 992px) {
    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    .contact-info-panel h1 {
        font-size: 2.6rem;
    }
    .contact-lead {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .glass-contact-form {
        padding: 32px 24px;
    }
    .contact-page-wrapper {
        padding-top: 60px;
    }
}

