/* GG095 Brand Tokens */
:root {
    --brand-primary: #A68A5B; /* Brass accent */
    --color-background-dark: #0B0C0D; /* Near-black */
    --color-background-mid: #2A2F36; /* Slate */
    --color-text-light: #FAFAF7; /* Warm white */
    --color-text-faded: rgba(250, 250, 247, 0.7); 
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-default: 1rem;
    --shadow-cinematic: 0 5px 20px rgba(0, 0, 0, 0.5); 
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-background-dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-light);
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.subtitle {
    font-size: 1.3rem;
    color: var(--color-text-faded);
    margin-top: 1rem;
}

/* Buttons and Links */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* Slightly sharper edge than CLARA */
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}

.button.primary {
    background-color: var(--brand-primary);
    color: var(--color-background-dark);
}

.button.primary:hover {
    background-color: #bfa577;
    transform: translateY(-2px);
}

.button.secondary {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.button.secondary:hover {
    background-color: rgba(166, 138, 91, 0.1);
    transform: translateY(-2px);
}

.button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header and Navigation */
.header {
    background-color: var(--color-background-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-background-mid);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 2px;
}

.nav a {
    color: var(--color-text-faded);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-text-light);
}

/* Sections */
.section {
    padding: 7rem 0;
    border-bottom: 1px solid var(--color-background-mid);
}

.section h2 {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-primary);
    margin: 10px auto 0;
}

.dark-bg {
    background-color: var(--color-background-mid);
}

/* Hero Section */
.hero {
    background: var(--color-background-dark);
    text-align: center;
    padding: 10rem 0 12rem;
}

.hero h1 {
    font-size: 5rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.hero .subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Work Grid */
.work-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.work-card {
    background-color: var(--color-background-dark);
    border-radius: var(--radius-default);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-cinematic);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--color-background-mid);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.placeholder-image {
    width: 100%;
    height: 250px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-faded);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-background-mid);
}

.work-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    color: var(--brand-primary);
}

.work-card .tagline {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-faded);
}

/* Services Grid */
.services-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #202327;
    padding: 2.5rem;
    border-radius: var(--radius-default);
    border-left: 4px solid var(--brand-primary);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-faded);
}

/* About Section */
.about-bio {
    text-align: center;
}

.bio-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--color-text-faded);
}

/* Journal Teaser */
.journal-teaser .teaser-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #202327;
    padding: 2rem;
    border-radius: var(--radius-default);
    border: 1px solid var(--brand-primary);
    text-align: left;
}

.journal-teaser h3 {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.journal-teaser .date {
    font-size: 0.9rem;
    color: var(--color-text-faded);
    margin-bottom: 1rem;
    display: block;
}

.read-more {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

/* Contact Form */
.contact-form {
    text-align: center;
    padding-bottom: 10rem;
}

.contact-form h2 {
    margin-bottom: 2rem;
}

.form-grid {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-grid input, .form-grid textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-background-mid);
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-grid textarea {
    grid-column: 1 / -1;
    min-height: 150px;
    resize: vertical;
}

.form-grid button {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-faded);
    padding: 2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-background-mid);
}

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

.footer-links a {
    color: var(--color-text-faded);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* --- Modal Styling --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); /* Dark overlay */
    padding-top: 60px;
}

.modal-content {
    background-color: var(--color-background-dark);
    margin: 5% auto; 
    padding: 2rem;
    border: 1px solid var(--brand-primary);
    width: 90%;
    max-width: 800px;
    border-radius: var(--radius-default);
    box-shadow: 0 0 40px rgba(166, 138, 91, 0.2);
    position: relative;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: var(--color-text-faded);
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--brand-primary);
    text-decoration: none;
    cursor: pointer;
}

.placeholder-modal-image {
    width: 100%;
    height: 300px;
    background-color: #1a1a1a;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.modal-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--brand-primary);
}

.modal-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-faded);
}

.modal-text strong {
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.modal-contact-btn {
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 1000px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .work-grid .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 600px) {
    .header .container {
        flex-wrap: wrap;
    }
    .nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
    .nav a {
        margin: 0 0.75rem;
    }
    .header .button {
        margin-left: auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .section {
        padding: 4rem 0;
    }
    .form-grid input, .form-grid textarea {
        grid-column: 1 / -1;
    }
}