@import url("../../header.css");

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: #161616; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body.no-scroll { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }

/* Workshop page header refinements — layered over the shared header.css */
header {
    height: 65px;
    border-bottom: 1px solid rgba(22, 22, 22, .08);
    box-shadow: 0 1px 12px rgba(0, 0, 0, .025);
}
header .home-link {
    gap: 0;
    padding: 0;
}
header h1 {
    height: 65px;
    line-height: 1;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.012em;
}
header h1::after {
    transform: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
}
header h1:hover::after { padding-right: 0; }
header h1::before {
    width: 38px;
    height: 38px;
    margin-right: 11px;
}
header ul {
    height: 65px;
    line-height: 65px;
    font-size: 14px;
    font-weight: 550;
    letter-spacing: .005em;
}
header li { margin-right: 1.15vw; }
header nav a {
    padding: 0;
    line-height: 34px;
    transition: color .2s ease;
}
.page-hero { max-width: 1440px; padding: 132px 5vw 72px; }
.back-link { display: inline-block; margin-bottom: 52px; color: #666; font-size: .82rem; text-decoration: none; }
.back-link:hover { color: #c46851; }
.eyebrow, .workshop-kicker, .section-label { color: #c46851; font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.page-hero h2, .workshop h3, .workshop h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
.page-hero h2 { margin: 12px 0 24px; font-size: clamp(3.4rem, 8vw, 7.6rem); line-height: .88; }
.hero-lead { max-width: 780px; color: #4e4e4e; font: 1.28rem/1.7 Georgia, serif; }

.workshop-nav { position: sticky; top: 65px; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 12px 5vw; border-block: 1px solid #ddd; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.workshop-nav > span { color: #777; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.workshop-nav div { display: flex; gap: 8px; }
.workshop-nav a { padding: 9px 14px; border: 1px solid #bbb; border-radius: 99px; font-size: .77rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.workshop-nav a:hover { color: #fff; border-color: #c46851; background: #c46851; }

.workshop { padding: 96px 5vw 112px; scroll-margin-top: 125px; }
.workshop-heading { display: grid; grid-template-columns: 70px minmax(300px, 1.15fr) minmax(280px, .85fr); gap: 30px; align-items: end; margin-bottom: 58px; }
.workshop-number { color: #c46851; font: italic 1.1rem Georgia, serif; }
.workshop h3 { margin-top: 10px; max-width: 900px; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1; }
.workshop-summary { max-width: 520px; color: #5a5a5a; line-height: 1.75; }
.workshop h4 { margin: 12px 0 24px; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.08; }
.feature-copy > p:not(.section-label), .body-copy p { color: #555; line-height: 1.75; }
.feature-copy > p + p, .body-copy p + p { margin-top: 1.15em; }
figcaption { margin-top: 10px; color: #777; font-size: .7rem; letter-spacing: .04em; }
.zoomable { cursor: zoom-in; transition: filter .25s, transform .4s; }
figure { overflow: hidden; }
figure:hover .zoomable { filter: brightness(.94); }

.bamboo-feature { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(380px, 1.28fr); gap: 8vw; align-items: start; max-width: 1350px; margin: auto; }
.portrait { max-width: 610px; }
.portrait img { aspect-ratio: 1086/1536; object-fit: cover; }
.feature-copy { position: sticky; top: 145px; padding-top: 18px; }
.workshop-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 72px; border-block: 1px solid #ddd; }
.workshop-facts.four { grid-template-columns: repeat(4, 1fr); margin: 0 0 88px; }
.workshop-facts.three { margin-top: 78px; }
.workshop-facts div { padding: 20px 18px 22px 0; border-right: 1px solid #ddd; }
.workshop-facts div + div { padding-left: 20px; }
.workshop-facts div:last-child { border-right: 0; }
.workshop-facts span, .people-line > span { display: block; margin-bottom: 6px; color: #888; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.workshop-facts strong { font: 500 .94rem/1.4 Georgia, serif; }
.external-link { display: inline-block; margin-top: 28px; color: #c46851; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.external-link:hover { text-decoration: underline; }

.people-line { display: grid; grid-template-columns: 160px 1fr; gap: 28px; max-width: 1350px; margin: 82px auto 0; padding: 26px 0; border-block: 1px solid #ddd; }
.people-line p { font: 1rem/1.8 Georgia, serif; }
.people-line a { text-decoration-color: rgba(196,104,81,.5); text-underline-offset: 4px; }
.people-line a:hover { color: #c46851; }
.people-line .muted { color: #888; }

.mirror { background: #f3f0eb; }
.wide-hero { max-width: 1600px; margin: 0 auto 0; }
.wide-hero img { aspect-ratio: 16/8.5; object-fit: cover; }
.mirror .workshop-facts { max-width: 1600px; margin-inline: auto; }
.editorial-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; max-width: 1350px; margin: 0 auto 92px; }
.body-copy { padding-top: 6px; }
.question-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1500px; margin: 0 auto 88px; border-block: 1px solid #cfcac3; }
.question-grid div { min-height: 160px; padding: 22px; border-right: 1px solid #cfcac3; }
.question-grid div:last-child { border-right: 0; }
.question-grid span { color: #c46851; font: italic .82rem Georgia, serif; }
.question-grid p { margin-top: 44px; font: 1.05rem/1.5 Georgia, serif; }
.photo-story { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, 18vw); gap: 14px; max-width: 1600px; margin: 0 auto 96px; }
.photo-story figure { background: #ddd; }
.photo-story img { height: 100%; object-fit: cover; }
.photo-story .photo-wide { grid-column: span 2; }
.photo-story .photo-tall { grid-row: span 2; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; max-width: 1350px; margin: 0 auto; }
.outcomes h4 { font-size: clamp(1.8rem, 3vw, 3rem); }
.keyword-list { display: flex; flex-wrap: wrap; align-content: start; gap: 9px; padding-top: 4px; }
.keyword-list span { padding: 8px 13px; border: 1px solid #bbb5ae; border-radius: 99px; color: #5f5b56; font-size: .78rem; font-weight: 650; }

.phygital { color: #f5f2ed; background: #191817; }
.phygital .workshop-summary, .phygital .body-copy p { color: #c8c3bc; }
.cycling-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1500px; margin: auto; }
.cycling-gallery figure { background: #090909; }
.cycling-gallery img { aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.phygital .workshop-facts, .phygital .workshop-facts div { border-color: #4d4944; }
.phygital .workshop-facts span, .phygital figcaption { color: #99938d; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 5vw; background: rgba(0,0,0,.9); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(0,0,0,.2); font-size: 1.5rem; cursor: pointer; }
footer { display: flex; justify-content: space-between; padding: 36px 5vw; color: #777; border-top: 1px solid #ddd; font-size: .75rem; }
footer a { text-decoration: none; }

@media (max-width: 900px) {
    .workshop-heading { grid-template-columns: 40px 1fr; }
    .workshop-summary { grid-column: 2; }
    .bamboo-feature { grid-template-columns: .8fr 1.2fr; gap: 6vw; }
    .feature-copy { position: static; }
    .workshop-facts.four { grid-template-columns: repeat(2, 1fr); }
    .question-grid { grid-template-columns: repeat(2, 1fr); }
    .question-grid div:nth-child(2) { border-right: 0; }
    .question-grid div:nth-child(-n+2) { border-bottom: 1px solid #cfcac3; }
    .photo-story { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(200px, 35vw); }
}

@media (max-width: 1300px) {
    header h1 { font-size: 0; }
    header h1::before { width: 40px; height: 40px; margin-right: 0; }
    header ul {
        height: auto;
        line-height: 1.2;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
    }
}

@media (max-width: 650px) {
    .page-hero { padding: 106px 22px 58px; }
    .back-link { margin-bottom: 34px; }
    .hero-lead { font-size: 1.05rem; }
    .workshop-nav { top: 54px; padding-inline: 22px; overflow-x: auto; }
    .workshop-nav > span { display: none; }
    .workshop-nav div { min-width: max-content; }
    .workshop { padding: 64px 22px 82px; }
    .workshop-heading { display: block; }
    .workshop-number { margin-bottom: 20px; }
    .workshop-summary { margin-top: 24px; }
    .bamboo-feature, .editorial-copy, .outcomes, .cycling-gallery { grid-template-columns: 1fr; }
    .feature-copy { padding-top: 30px; }
    .workshop-facts, .workshop-facts.four { grid-template-columns: 1fr; margin-bottom: 54px; }
    .workshop-facts div, .workshop-facts div + div { padding: 15px 0; border-right: 0; border-top: 1px solid #ddd; }
    .people-line { grid-template-columns: 1fr; gap: 10px; margin-top: 58px; }
    .wide-hero img { aspect-ratio: 4/3; }
    .question-grid { grid-template-columns: 1fr; }
    .question-grid div { min-height: auto; border-right: 0; border-bottom: 1px solid #cfcac3; }
    .question-grid p { margin-top: 18px; }
    .photo-story { grid-template-columns: 1fr; grid-auto-rows: 270px; }
    .photo-story .photo-wide { grid-column: auto; }
    .photo-story .photo-tall { grid-row: auto; }
    footer { padding-inline: 22px; }
}

::selection { color: #fff; background: #c46851; }
