/* --- PLAYWRITING PORTFOLIO BRANDING CSS --- */
:root {
    --ice-blue: #86B3C5;
    --muted-rose: #A88186;
    --pale-mint: #B9E7E7;
    --white: #FFFFFF;
    --slate-grey: #4E6068;
    
    --header-font: 'Courier Prime', monospace;
    --body-font: 'Lora', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--white);
    color: var(--slate-grey);
    line-height: 1.8;
}

/* --- LAYOUT CONTAINERS --- */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 0;
}

.container-narrow {
    width: 90%;
    max-width: 750px;
    margin: 0 auto;
    padding: 80px 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .logo, th {
    font-family: var(--header-font);
    color: var(--slate-grey);
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--muted-rose);
}

.section-title {
    margin-bottom: 50px;
}

p {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

/* --- NAVIGATION --- */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--pale-mint);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--slate-grey);
    text-decoration: none;
    font-family: var(--header-font);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ice-blue);
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--pale-mint);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.main-title {
    font-size: 4rem;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.subtitle {
    font-family: var(--header-font);
    font-size: 1.3rem;
    color: var(--slate-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-divider {
    width: 60px;
    border: 0;
    border-top: 2px solid var(--muted-rose);
    margin: 25px auto;
}

.hero-quote {
    font-style: italic;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--white);
}

/* --- FEATURED WORKS --- */
.featured-section {
    background-color: #F4FAFA;
    border-top: 1px solid var(--pale-mint);
    border-bottom: 1px solid var(--pale-mint);
}

.play-entry {
    background-color: var(--white);
    border: 1px solid var(--pale-mint);
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(78, 96, 104, 0.05);
}

.play-entry h3 {
    font-size: 1.8rem;
    margin: 15px 0;
}

.play-meta {
    display: flex;
    gap: 10px;
}

.tag-rose, .tag-slate {
    font-family: var(--header-font);
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 700;
}

.tag-rose { background-color: var(--muted-rose); color: var(--white); }
.tag-slate { background-color: var(--slate-grey); color: var(--white); }

.narrative-block p {
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.narrative-block p:last-child {
    margin-bottom: 0;
}

/* --- PUBLICATIONS GRID --- */
.publications-section {
    background-color: var(--white);
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .pub-grid { grid-template-columns: 1fr; }
}

.pub-card {
    border-left: 4px solid var(--ice-blue);
    background-color: #F8FBFB;
    padding: 30px;
}

.pub-card h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.pub-meta {
    font-family: var(--header-font);
    font-size: 0.9rem;
    color: var(--muted-rose);
    margin-bottom: 15px;
}

.pub-desc {
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* --- PRODUCTION HISTORY TABLE --- */
.history-section {
    background-color: #F4FAFA;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 1.05rem;
}

.history-table th, .history-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--pale-mint);
}

.history-table th {
    background-color: var(--slate-grey);
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-table tbody tr {
    background-color: var(--white);
    transition: background-color 0.2s;
}

.history-table tbody tr:hover {
    background-color: #EDF7F7;
}

/* --- CONTACT FORM --- */
.contact-section {
    background-color: var(--white);
    border-top: 1px solid var(--pale-mint);
}

.contact-sub {
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.contact-form {
    background-color: #F8FBFB;
    border: 1px solid var(--pale-mint);
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--header-font);
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ice-blue);
    background-color: var(--white);
    font-family: var(--body-font);
    font-size: 1.05rem;
    color: var(--slate-grey);
}

.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--muted-rose);
}

.btn-submit {
    display: inline-block;
    background-color: var(--slate-grey);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    font-family: var(--header-font);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--muted-rose);
}

/* --- FOOTER --- */
footer {
    background-color: var(--slate-grey);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    font-family: var(--header-font);
    font-size: 0.85rem;
}

/* --- PRESS & REVIEWS STYLES --- */
.press-section {
    background-color: var(--white);
    border-top: 1px solid var(--pale-mint);
}

.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .press-grid { grid-template-columns: 1fr; }
}

.press-card {
    background-color: #F8FBFB;
    border-top: 3px solid var(--muted-rose);
    padding: 40px;
    box-shadow: 0 4px 12px rgba(78, 96, 104, 0.03);
}

.press-card blockquote {
    font-family: var(--body-font);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--slate-grey);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
}

.press-source {
    font-family: var(--header-font);
    font-size: 0.9rem;
    color: var(--slate-grey);
    text-transform: uppercase;
    text-align: right;
    margin-bottom: 0;
}

/* --- ABOUT GRID RESPONSIVENESS --- */
.about-split-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* When the screen is 768px wide or smaller (tablets and phones) */
@media (max-width: 768px) {
    .about-split-wrapper {
        grid-template-columns: 1fr; /* Stacks layout into 1 column */
        gap: 30px;
    }
    
    .about-split-wrapper div {
        text-align: center; /* Centers image and text text elements on mobile */
    }
}

/* --- SCRIPT METADATA SPECIFICATIONS --- */
.play-specs {
    font-family: var(--header-font);
    font-size: 0.85rem;
    color: var(--slate-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    
    margin-top: -5px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--pale-mint);
}

.play-specs span {
    display: inline-block;
    position: relative;
}

/* Adds a subtle elegant dot separator between the metadata points on desktop */
.play-specs span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -14px;
    color: var(--muted-rose);
}

@media (max-width: 768px) {
    .play-specs {
        flex-direction: column;
        gap: 5px;
        padding-bottom: 20px;
    }
    .play-specs span:not(:last-child)::after {
        content: ""; /* Removes the dot separator when stacked vertically on phones */
    }
}