/* ── Category page redesign (Theatre first) ───────────────────────────────── */
/* Compact masthead + what's-on strip + portfolio wall of past work.
   Replaces the paragraph+portrait hero that used to open each category page. */

.gh-cat-page {
    --gh-cat-cream: #ede9df;
    --gh-cat-ink: #1a1a1a;
    --gh-cat-ink-soft: #3a3a3a;
    --gh-cat-rule: rgba(26, 26, 26, 0.12);
    --gh-cat-green: #00a654;
    --gh-cat-tile: #141414;
    --gh-cat-tile-text: #f5f1e6;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-right, 0px));
    color: var(--gh-cat-ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
@media (min-width: 760px) {
    .gh-cat-page { padding: 0 2rem; }
}

/* ── Masthead ────────────────────────────────────────────────────────────── */
.gh-cat-mast {
    padding: 2.25rem 0 1.5rem;
}
.gh-cat-page .gh-cat-mast__title {
    margin: 0 0 1rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--gh-cat-ink);
}
.gh-cat-mast__lead {
    margin: 0;
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.55;
    color: var(--gh-cat-ink-soft);
    max-width: 56ch;
}

/* Standfirst — italic editorial deck between the strip and the Body of
   Work. Visually feels like a magazine subhead introducing the archive. */
.gh-cat-standfirst {
    margin: 2.5rem 0 0;
    max-width: 68ch;
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.5;
    color: var(--gh-cat-ink);
    padding-left: 1.1rem;
    border-left: 2px solid var(--gh-cat-green);
}

/* ── Running strip ───────────────────────────────────────────────────────── */
.gh-cat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 2.5rem;
    padding: 0.95rem 0;
    border-top: 1px solid var(--gh-cat-rule);
    border-bottom: 1px solid var(--gh-cat-rule);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.gh-cat-strip__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.15rem 0;
}
.gh-cat-strip__tag {
    font-weight: 700;
    color: var(--gh-cat-green);
    flex-shrink: 0;
}
.gh-cat-strip__tag--dim { color: var(--gh-cat-ink-soft); }
.gh-cat-strip__body { color: var(--gh-cat-ink); }
.gh-cat-strip__body a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--gh-cat-rule);
    text-underline-offset: 3px;
}
.gh-cat-strip__body a:hover { text-decoration-color: var(--gh-cat-ink); }
.gh-cat-strip__sep { color: var(--gh-cat-ink-soft); margin: 0 0.4em; }

/* ── Body of work (portfolio wall) ───────────────────────────────────────── */
.gh-cat-work { margin-top: 0; }
.gh-cat-work__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 2.25rem 0 1.1rem;
}
.gh-cat-page .gh-cat-work__title {
    margin: 0;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gh-cat-ink);
}
.gh-cat-work__count {
    margin: 0;
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--gh-cat-ink-soft);
    font-size: 14px;
}

.gh-cat-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
/* Orphan handling: if the last tile would sit alone in its row (count %3 == 1),
   let it span the full row so the gallery doesn't end on a lonely square. */
.gh-cat-wall > a:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
}
.gh-cat-wall > a:last-child:nth-child(3n+1) .gh-cat-tile__title {
    font-size: clamp(26px, 3.2vw, 42px);
}
.gh-cat-wall > a:last-child:nth-child(3n+1) .gh-cat-tile__img {
    opacity: 0.5;
}

.gh-cat-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--gh-cat-tile);
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    color: inherit;
}
.gh-cat-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    filter: grayscale(1) contrast(0.95);
    transition: opacity 420ms ease, filter 420ms ease, transform 1.6s ease;
    transform: scale(1.02);
}
.gh-cat-tile:hover .gh-cat-tile__img,
.gh-cat-tile:focus-visible .gh-cat-tile__img {
    opacity: 1;
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}
.gh-cat-tile__text {
    position: absolute;
    inset: 0;
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: var(--gh-cat-tile-text);
    pointer-events: none;
}
/* Dark gradient under the bottom third keeps the title readable even when
   the image reveal is bright. */
.gh-cat-tile__text::before {
    content: "";
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
    z-index: -1;
}
.gh-cat-tile__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.gh-cat-tile__eyebrow { display: inline-flex; align-items: center; min-height: 1em; }
.gh-cat-tile__role {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 241, 230, 0.72);
}
.gh-cat-tile__press {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gh-cat-green);
}
.gh-cat-tile__year {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(245, 241, 230, 0.65);
}
.gh-cat-tile__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.gh-cat-tile__director {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(245, 241, 230, 0.78);
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.gh-cat-page .gh-cat-tile__title {
    margin: 0;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--gh-cat-tile-text);
}
/* Subtle inner frame — echoes stage proscenium / film gate. */
.gh-cat-tile::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(245, 241, 230, 0.08);
    pointer-events: none;
    z-index: 1;
    transition: border-color 420ms ease, inset 420ms ease;
}
.gh-cat-tile:hover::after, .gh-cat-tile:focus-visible::after {
    border-color: rgba(245, 241, 230, 0.24);
    inset: 6px;
}

/* ── Programs ────────────────────────────────────────────────────────────── */
.gh-cat-progs {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gh-cat-rule);
}
.gh-cat-page .gh-cat-progs__head {
    margin: 0 0 1.25rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gh-cat-ink);
}
.gh-cat-progs__list {
    display: flex;
    flex-direction: column;
}
.gh-cat-prog {
    padding: 1.25rem 0;
    display: grid;
    grid-template-columns: 140px minmax(220px, 1.1fr) 2fr;
    gap: 2rem;
    align-items: baseline;
    border-top: 1px solid var(--gh-cat-rule);
}
.gh-cat-prog:last-child { border-bottom: 1px solid var(--gh-cat-rule); }
.gh-cat-prog__when {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gh-cat-ink);
}
.gh-cat-prog__name {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--gh-cat-ink);
}
.gh-cat-prog__desc {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--gh-cat-ink-soft);
    min-width: 0;
}

/* ── Credit (philosophy quote) ───────────────────────────────────────────── */
.gh-cat-credit {
    margin: 4rem 0 3rem;
    padding: 2rem 0 0;
    border-top: 1px solid var(--gh-cat-rule);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}
.gh-cat-credit__tag {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gh-cat-ink-soft);
}
.gh-cat-credit__quote {
    margin: 0;
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.55;
    max-width: 60ch;
    color: var(--gh-cat-ink);
}
.gh-cat-credit__cite {
    display: block;
    margin-top: 0.9rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
}

/* ── Single production page ──────────────────────────────────────────────── */

.gh-prod { padding-top: 0; }

.gh-prod__hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--gh-cat-tile);
    margin-top: 1.5rem;
    border-radius: 12px;
}
.gh-prod__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gh-prod__hero-cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 0.6rem 0 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--gh-cat-ink-soft);
}
.gh-prod__hero-cap__people {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-style: italic;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    color: var(--gh-cat-ink);
}
.gh-prod__hero-cap__credit {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
}

.gh-prod__mast {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem 3rem;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--gh-cat-rule);
    align-items: baseline;
}
.gh-prod__back {
    grid-column: 1 / -1;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
    text-decoration: none;
    transition: color 0.15s;
}
.gh-prod__back:hover { color: var(--gh-cat-green); }

.gh-cat-page .gh-prod__title {
    margin: 0;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--gh-cat-ink);
    max-width: 20ch;
}
.gh-prod__title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}
.gh-prod__designation {
    display: inline-block;
    width: auto;
    align-self: flex-start;
    padding: 5px 11px 4px;
    background: var(--gh-cat-ink);
    color: var(--gh-cat-cream);
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.4;
}

.gh-prod__meta {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-self: end;
}
.gh-prod__meta-row {
    display: grid;
    grid-template-columns: 110px auto;
    gap: 0.75rem;
    align-items: baseline;
}
.gh-prod__meta-tag {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 2px 7px 1px;
    background: var(--gh-cat-ink);
    color: var(--gh-cat-cream);
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    vertical-align: 2px;
    line-height: 1.4;
}
.gh-prod__meta dt {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
    margin: 0;
}
.gh-prod__meta dd {
    margin: 0;
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-size: 17px;
    color: var(--gh-cat-ink);
}

/* Credits (cast + creative team) */
.gh-prod__credits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem 0 1rem;
    border-bottom: 1px solid var(--gh-cat-rule);
}
.gh-prod__credits-col { min-width: 0; }
.gh-cat-page .gh-prod__credits-head {
    margin: 0 0 1.25rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gh-cat-ink);
    line-height: 1.2;
}
.gh-prod__credits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.gh-prod__credits-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--gh-cat-rule);
    align-items: baseline;
}
.gh-prod__credits-row--creative { grid-template-columns: auto 1fr; }
.gh-prod__credits-row--creative .gh-prod__credits-role { grid-column: 1; }
.gh-prod__credits-row--creative .gh-prod__credits-name { grid-column: 2; text-align: right; }
.gh-prod__credits-name {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-size: 17px;
    color: var(--gh-cat-ink);
}
.gh-prod__credits-role {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
}

/* Press rail */
.gh-prod__press {
    padding: 2.5rem 0 5rem;
}
.gh-cat-page .gh-prod__press-head {
    margin: 0 0 1.5rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gh-cat-ink);
}
.gh-prod__press-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}
.gh-prod__press-item { margin: 0; }
.gh-prod__press-link {
    display: block;
    padding: 1.25rem 1.4rem;
    background: var(--gh-cat-cream);
    border: 1px solid var(--gh-cat-rule);
    border-radius: 10px;
    text-decoration: none;
    color: var(--gh-cat-ink);
    transition: border-color 0.2s, transform 0.2s;
    height: 100%;
    box-sizing: border-box;
}
.gh-prod__press-link:hover {
    border-color: var(--gh-cat-ink);
    transform: translateY(-1px);
}
.gh-prod__press-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.gh-prod__press-pub {
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gh-cat-green);
    font-weight: 700;
}
.gh-prod__press-date {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    color: var(--gh-cat-ink-soft);
}
.gh-prod__press-head-line {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--gh-cat-ink);
}
.gh-prod__press-quote {
    margin: 0.75rem 0;
    padding-left: 0.9rem;
    border-left: 2px solid var(--gh-cat-green);
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--gh-cat-ink);
}
.gh-prod__press-quote cite {
    display: block;
    margin-top: 0.4rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
}
.gh-prod__press-cta {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: "Kollektif-bold", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gh-cat-ink-soft);
    border-bottom: 1px solid var(--gh-cat-rule);
    padding-bottom: 2px;
}
.gh-prod__press-link:hover .gh-prod__press-cta {
    color: var(--gh-cat-ink);
    border-bottom-color: var(--gh-cat-ink);
}

/* Body copy */
.gh-prod__body {
    padding: 2.5rem 0 4rem;
    max-width: 62ch;
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--gh-cat-ink);
}
.gh-prod__body p { margin: 0 0 1rem; }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
    .gh-cat-mast { padding: 1.5rem 0 1rem; }
    .gh-cat-page .gh-cat-mast__title { margin: 0 0 0.75rem; }
    .gh-cat-strip { flex-direction: column; gap: 0.9rem; padding: 1rem 0; }
    .gh-cat-strip__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        letter-spacing: 0.1em;
    }
    .gh-cat-strip__body { font-size: 12.5px; letter-spacing: 0.08em; }
    .gh-cat-work__head { padding: 1.5rem 0 0.9rem; }
    .gh-cat-wall { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .gh-cat-prog { grid-template-columns: 1fr; gap: 0.3rem; padding: 1rem 0; }
    .gh-cat-prog__when { order: -1; }
    .gh-cat-credit { grid-template-columns: 1fr; gap: 0.75rem; }
    /* Touch devices: tiles sit at a middle brightness instead of hover-dark. */
    .gh-cat-tile__img { opacity: 0.42; filter: grayscale(0.6); }
}
@media (max-width: 480px) {
    .gh-cat-wall { grid-template-columns: 1fr; }
    .gh-cat-tile { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
    .gh-prod__hero { aspect-ratio: 4 / 3; margin-top: 0.5rem; }
    .gh-prod__mast { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 0 1rem; }
    .gh-prod__meta { align-self: start; }
    .gh-prod__credits { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem 0 0.5rem; }
    .gh-prod__press-list { grid-template-columns: 1fr; }
}
