/* ============================================================
   WORKSHOP.CSS - Shared across workshop-*.html and related files
   Workshop layout, timeline, and content-specific styles
   ============================================================ */

/* Workshop Top Bar Navigation */
.workshop-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    z-index: 100;
    padding: 0 2rem;
    border-bottom: 1px solid var(--border);
}

.workshop-top-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.workshop-top-bar a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.workshop-top-bar a:hover {
    color: var(--accent);
}

.workshop-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Tag Styles for Workshop */
.tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.tag-fact {
    background: #e8f0eb;
    color: var(--tag-fact);
}

.tag-fiction {
    background: #ece8f0;
    color: var(--tag-fiction);
}

/* Workshop Content Container */
.workshop-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 2rem 4rem;
}

/* Sample Content Container (used in sample.html) */
.sample-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 2rem 4rem;
}

/* Workshop Header */
.workshop-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.workshop-header h1 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.workshop-header .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.workshop-header .intro {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Sample Header (sample.html specific) */
.sample-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.sample-header h1 {
    font-family: 'EB Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.sample-header .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.sample-header .author {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Workshop Body Text */
.workshop-body {
    line-height: 1.8;
    margin: 3rem 0;
}

.workshop-body p {
    margin-bottom: 1.25rem;
}

.workshop-body h2 {
    font-family: 'EB Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.workshop-body h2:first-child {
    margin-top: 0;
}

.workshop-body h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-style: italic;
}

/* Sample Body Text */
.sample-body {
    line-height: 1.8;
    margin: 3rem 0;
}

.sample-body p {
    margin-bottom: 1.25rem;
}

.sample-body p:first-child {
    margin-top: 0;
}

.chapter-heading {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Epigraph (sample.html) */
.epigraph {
    text-align: center;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-light);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.epigraph p {
    margin-bottom: 0.75rem;
}

.epigraph .attribution {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Workshop Lists */
.workshop-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.workshop-body li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.workshop-body li:before {
    content: "\25C6";
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

/* Note Boxes */
.note-box {
    background: var(--bg-alt);
    border-left: 3px solid var(--accent-light);
    padding: 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
}

/* Section Breaks */
.section-break {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: var(--text-light);
}

/* Timeline Items */
.timeline-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-item .phase {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.timeline-item p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text);
}

.timeline-item p:last-child {
    margin-bottom: 0;
}

/* Revision Timeline (editorial pages) */
.revision-timeline {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.revision-timeline .version {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.revision-timeline .version:first-child {
    margin-top: 0;
}

.revision-timeline p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Version Table */
.version-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.version-table th {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border);
}

.version-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.version-table tr:last-child td {
    border-bottom: none;
}

.version-table .delta-minus {
    color: var(--tag-faction);
    font-weight: 500;
}

.version-table .delta-plus {
    color: var(--tag-fact);
    font-weight: 500;
}

.version-table .delta-zero {
    color: var(--text-light);
    font-weight: 500;
}

/* Decision Boxes */
.decision-box {
    background: white;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 4px 4px 0;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.decision-box .decision-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.decision-box p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.decision-box p:last-child {
    margin-bottom: 0;
}

/* Issue Cards (editorial pages) */
.issue-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.issue-card .issue-id {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.issue-card .issue-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.issue-card p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.issue-card p:last-child {
    margin-bottom: 0;
}

.issue-status {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 0.5rem;
}

.status-implemented {
    background: #e8f0eb;
    color: var(--tag-fact);
}

.status-closed {
    background: var(--bg-alt);
    color: var(--text-light);
}

.status-held {
    background: #f0e8ec;
    color: var(--tag-faction);
}

/* Navigation Links */
.workshop-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.workshop-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Call-to-Action Boxes */
.sample-cta {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
}

.sample-cta h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.sample-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.sample-cta a {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.sample-cta a:hover {
    background: var(--accent);
}

/* Footer */
footer {
    max-width: var(--max-width);
    margin: 4rem auto 0;
    padding: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .version-table {
        font-size: 0.8rem;
    }

    .version-table th,
    .version-table td {
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .workshop-header h1 {
        font-size: 2rem;
    }

    .sample-header h1 {
        font-size: 2rem;
    }

    .workshop-content {
        padding: 80px 1rem 60px;
    }

    .sample-content {
        padding: 80px 1rem 60px;
    }

    .workshop-top-bar {
        padding: 0 1rem;
    }

    .workshop-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .workshop-header h1 {
        font-size: 1.75rem;
    }

    .sample-header h1 {
        font-size: 1.75rem;
    }

    body {
        font-size: 17px;
    }

    .workshop-content,
    .sample-content {
        padding: 76px 1rem 48px;
    }

    .workshop-top-bar a {
        font-size: 13px;
    }

    .workshop-label {
        font-size: 10px;
    }

    .workshop-body h2 {
        font-size: 1.35rem;
    }

    .timeline-item,
    .revision-timeline,
    .issue-card,
    .decision-box {
        padding: 1rem;
    }

    .note-box {
        padding: 1rem;
    }

    .sample-cta {
        padding: 1.25rem;
    }

    .version-table {
        font-size: 0.75rem;
    }

    .version-table th,
    .version-table td {
        padding: 0.4rem 0.4rem;
    }
}
