/* -----------------------------------------------
   FONTS
----------------------------------------------- */
@font-face {
    font-family: 'Redaction';
    src: url('/fonts/Redaction-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Redaction';
    src: url('/fonts/Redaction-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Redaction';
    src: url('/fonts/Redaction-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Redaction10';
    src: url('/fonts/Redaction10-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Redaction35';
    src: url('/fonts/Redaction35-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Redaction50';
    src: url('/fonts/Redaction50-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* -----------------------------------------------
   RESET & VARIABLES
----------------------------------------------- */
:root {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #777777;
    --border-color: #e0e0e0;
    --sidebar-width: 300px;
    --font-body: 'Redaction', Georgia, serif;
    --font-ui: 'Redaction10', Georgia, serif;
    --font-title: 'Redaction50', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* -----------------------------------------------
   LAYOUT
----------------------------------------------- */
.layout {
    display: flex;
    min-height: 100vh;
}

/* -----------------------------------------------
   SIDEBAR (Desktop)
----------------------------------------------- */
#sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-color);
    z-index: 100;
    overflow-y: auto;
}

.logo {
    margin-bottom: 3rem;
}

.logo h1 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.logo p {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-info {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    line-height: 1.7;
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--text-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.nav-link {
    font-family: var(--font-ui);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.2s;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::before {
    content: "→ ";
}

/* -----------------------------------------------
   MOBILE HEADER & HAMBURGER MENU
----------------------------------------------- */
#mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 200;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

#mobile-header .mobile-logo {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

#hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: all 0.25s ease;
}

#hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
#hamburger.open span:nth-child(2) {
    opacity: 0;
}
#hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Drawer Menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-color);
    z-index: 199;
    padding: 2.5rem 1.5rem;
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#mobile-menu ul li {
    border-bottom: 1px solid var(--border-color);
}

#mobile-menu .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

#mobile-menu .nav-link.active::before {
    content: "→ ";
}

.mobile-menu-contact {
    margin-top: 2.5rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 2;
}

.mobile-menu-contact a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* -----------------------------------------------
   MAIN CONTENT
----------------------------------------------- */
#content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
}

.section {
    padding: 6rem 5rem;
    max-width: 860px;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child {
    border-bottom: none;
}

/* -----------------------------------------------
   TYPOGRAPHY
----------------------------------------------- */
.section h2 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.section h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.section p {
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    text-align: justify;
    hyphens: auto;
}

.meta {
    font-family: var(--font-ui);
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 2.5rem !important;
    text-align: left !important;
}

.caption {
    font-family: var(--font-ui);
    font-size: 0.8rem !important;
    color: var(--text-secondary);
    text-align: center !important;
    margin-top: -1rem !important;
    margin-bottom: 2.5rem !important;
}

/* -----------------------------------------------
   IMAGE GALLERY (Linz & similar)
----------------------------------------------- */
.gallery {
    margin: 2.5rem 0;
}

.gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.6rem 1rem;
    z-index: 10;
    transition: background 0.2s;
    line-height: 1;
}

.gallery-btn:hover { background: #fff; }
.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
    width: calc(20% - 0.4rem);
    min-width: 60px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; }

.gallery-caption {
    margin-top: 0.5rem !important;
}

/* -----------------------------------------------
   VIDEO — minimal custom player
----------------------------------------------- */
.video-wrapper {
    position: relative;
    margin: 2.5rem 0;
    background: #000;
    overflow: hidden;
}

.video-wrapper .video-container {
    margin: 0;
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* center play button — visible only while paused */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: opacity 0.25s ease, background 0.2s, transform 0.2s;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.video-play-btn:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-wrapper.is-playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    font-size: 1.35rem;
    color: #111;
    line-height: 1;
    margin-left: 3px;
}

/* control bar */
.video-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.6rem 0.85rem 0.65rem;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-controls,
.video-wrapper:focus-within .video-controls,
.video-wrapper:not(.is-playing) .video-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vc-btn {
    flex: 0 0 auto;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    opacity: 0.92;
    transition: opacity 0.15s;
}

.vc-btn:hover {
    opacity: 1;
}

.vc-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.vc-fs svg {
    width: 18px;
    height: 18px;
}

/* scrub bar */
.vc-progress {
    position: relative;
    flex: 1 1 auto;
    height: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}

.vc-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.28);
    transition: height 0.15s ease;
}

.vc-progress:hover .vc-track,
.vc-progress.dragging .vc-track {
    height: 5px;
}

.vc-buffered,
.vc-played {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.vc-buffered {
    background: rgba(255,255,255,0.4);
    width: 0;
}

.vc-played {
    background: #fff;
    width: 0;
}

.vc-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 11px;
    height: 11px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.vc-progress:hover .vc-handle,
.vc-progress.dragging .vc-handle {
    opacity: 1;
}

.vc-progress:focus-visible {
    outline: none;
}

.vc-progress:focus-visible .vc-track {
    height: 5px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}

.vc-time {
    flex: 0 0 auto;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    opacity: 0.92;
}

/* fullscreen */
.video-wrapper:fullscreen,
.video-wrapper:-webkit-full-screen {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-wrapper:fullscreen .video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper:fullscreen video {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    object-fit: contain;
}

/* -----------------------------------------------
   WEBSITE EMBEDS — forced desktop view via scale
   The iframe is always rendered at 1280px wide,
   then scaled down to fit the container.
   scale(0.56) × 1280px ≈ 717px (fits the content area)
   Container height = iframe height × scale = 900 × 0.56 = 504px
----------------------------------------------- */
.embed-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.website-embed {
    position: relative;
    width: 100%;
    height: 700px; /* 1250px × 0.56 */
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #f0f0f0;
    margin-bottom: 0.5rem;
}

.website-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1280px;
    height: 1250px;
    border: none;
    transform: scale(0.56);
    transform-origin: top left;
    pointer-events: auto;
}

.embed-link {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-align: right;
    padding: 0.35rem 0;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.embed-link:hover {
    color: var(--text-primary);
}

@media (max-width: 860px) {
    .website-embed {
        height: 580px;
        display: flex;
        justify-content: center;
    }
    .website-embed iframe {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        transform: none;
    }
}


/* -----------------------------------------------
   MEDIA ELEMENTS
----------------------------------------------- */
.image-grid {
    margin: 2.5rem 0;
    display: grid;
    gap: 1.5rem;
}

.image-grid.two-cols {
    grid-template-columns: 1fr 1fr;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.video-container {
    position: relative;
    width: 100%;
    margin: 2.5rem 0;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.yt-embed {
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.yt-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -----------------------------------------------
   LINKS BOX
----------------------------------------------- */
.links-box {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.links-box a {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: background-color 0.2s, color 0.2s;
}

.links-box a:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

/* -----------------------------------------------
   CV & BIOS SECTION
----------------------------------------------- */
.bios-section,
.cv-lists {
    margin-top: 2rem;
}

.bios-section h3,
.cv-lists h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
}

.bios-section h4 {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.cv-lists ul {
    list-style: none;
    margin-bottom: 0.5rem;
}

.cv-lists li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    text-align: justify;
    hyphens: auto;
}

.cv-lists li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

/* -----------------------------------------------
   PRESS SECTION
----------------------------------------------- */
.press-list {
    list-style: none;
    margin-top: 1.5rem;
}

.press-list li {
    border-bottom: 1px solid var(--border-color);
}

.press-list a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem 0;
    text-decoration: none;
    color: var(--text-primary);
    transition: padding-left 0.2s ease;
}

.press-list a:hover {
    padding-left: 0.75rem;
}

.press-outlet {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
}

.press-title {
    font-family: var(--font-body);
    font-size: 1rem;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* -----------------------------------------------
   RESPONSIVE — MOBILE
----------------------------------------------- */
@media (max-width: 860px) {
    #sidebar {
        display: none;
    }

    #mobile-header {
        display: flex;
    }

    #mobile-menu {
        display: flex;
    }

    #content {
        margin-left: 0;
        width: 100%;
        padding-top: 56px; /* height of mobile header */
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .image-grid.two-cols {
        grid-template-columns: 1fr;
    }

    .links-box {
        flex-direction: column;
    }
}


/* -----------------------------------------------
   IMPRESSUM
----------------------------------------------- */
.impressum {
    margin-top: 1.5rem;
    text-align: left;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.impressum summary {
    cursor: pointer;
    list-style: none;
    padding: 0.4rem 0;
    text-align: center;
}

.impressum summary::-webkit-details-marker {
    display: none;
}

.impressum summary::before {
    content: '\25B8  ';
}

.impressum[open] summary::before {
    content: '\25BE  ';
}

.impressum-body {
    max-width: 46rem;
    margin: 0 auto;
    padding-top: 0.8rem;
    line-height: 1.6;
}

.impressum-body p {
    margin-bottom: 0.8rem;
}

.impressum-body strong {
    font-weight: 600;
}

.impressum-rule {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.2rem 0;
}


/* -----------------------------------------------
   THE NEWS — standing link to the live channels
----------------------------------------------- */
#news-tab {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 210;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-indent: .18em;
    text-transform: uppercase;
    border: 1px solid #000;
    transition: background .15s, color .15s;
    -webkit-tap-highlight-color: transparent;
}

#news-tab svg { width: 15px; height: 13px; fill: currentColor; flex: none; }

#news-tab:hover { background: #fff; color: #000; }

@media (max-width: 899px) {
    /* under the menu bar, tucked below the hamburger it belongs to */
    #news-tab {
        top: calc(56px + 10px);
        right: 1.5rem;
        padding: 7px 12px;
        font-size: 9px;
    }
}

/* ---- Portfolio 2026 additions ---- */
.image-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}
.presentations {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.cv-note {
    color: var(--text-secondary);
    font-size: 0.9em;
}
.upcoming { margin-top: 2.5rem; }
@media (max-width: 768px) {
    .image-grid.three-cols { grid-template-columns: 1fr; }
}
/* Vertical (9:16) videos: keep them phone-sized instead of full column width */
.video-wrapper.portrait {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.video-wrapper.portrait:fullscreen { max-width: none; }
.caption a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.caption a:hover { color: var(--text-primary, #000); }
/* Embedded sites: link under each on desktop; on mobile only the link */
.website-embed + .embed-links { margin-top: 0.75rem; }
@media (max-width: 860px) {
    .website-embed { display: none; }
    .embed-links { margin-top: 0; }
}

/* =====================================================================
   v27 — multi-page layout (header + wide content). Overrides the
   single-page sidebar layout above.
   ===================================================================== */
:root {
    --wrap: 1120px;
    --wrap-wide: 1400px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--wrap-wide); margin-inline: auto; padding-inline: var(--gutter); }
.label {
    font-family: var(--font-ui); font-size: 0.75rem; font-weight: 400;
    text-transform: uppercase; letter-spacing: 0.9px; color: var(--text-secondary);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem var(--gutter);
    background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border-color);
}
.wordmark { font-family: var(--font-title); font-size: 1.35rem; letter-spacing: 0.5px; text-decoration: none; }
.site-header ul { list-style: none; display: flex; gap: 2rem; }
.site-header nav a {
    font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.7px;
    text-decoration: none; color: var(--text-secondary);
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text-primary); }
.menu-toggle {
    display: none; background: none; border: 0; cursor: pointer; color: var(--text-primary);
    font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.7px;
}

/* Home */
.lead { max-width: var(--wrap-wide); margin: 0 auto; padding: var(--gutter) var(--gutter) 0; }
.lead-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.lead-caption { text-align: left !important; margin-top: 0.6rem !important; }
.caption a { color: inherit; }
.statement { padding-block: 5rem 3rem; }
.statement p {
    font-family: var(--font-body); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3;
    max-width: 28em; margin-bottom: 1.5rem;
}
.text-link {
    font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.7px;
    text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.upcoming-strip { padding-block: 1rem 3rem; }
.upcoming-strip ul { list-style: none; border-top: 1px solid var(--border-color); margin-top: 0.75rem; }
.upcoming-strip li { display: flex; gap: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border-color); }
.upcoming-strip li span { font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-secondary); min-width: 5.5rem; padding-top: 0.2rem; }
.works { padding-block: 3rem; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.5rem 2.5rem; margin-top: 1.25rem; }
.work-card { text-decoration: none; display: block; }
.work-card-img { overflow: hidden; background: #f2f2f2; }
.work-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.work-card:hover .work-card-img img { transform: scale(1.03); }
.work-card h3 { font-family: var(--font-title); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin-top: 1rem; }
.work-card-meta { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.3rem; }
.press-strip { padding-block: 3rem 5rem; }
.press-strip p { font-size: 1.15rem; line-height: 1.6; margin: 0.75rem 0 1.25rem; max-width: 40em; }

/* Work pages */
.work-header { padding-block: 3.5rem 2.5rem; }
.back { font-family: var(--font-ui); font-size: 0.78rem; text-decoration: none; color: var(--text-secondary); display: inline-block; margin-bottom: 2rem; }
.work-header h1 { font-family: var(--font-title); font-weight: 400; font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: 0.3px; }
.work-subtitle { font-style: italic; color: var(--text-secondary); font-size: 1.25rem; margin: 0.6rem 0 1.2rem; }
.work-header .meta { margin-bottom: 0 !important; }
.work-hero { margin-bottom: 4rem; }
.work-hero img { width: 100%; max-height: 82vh; object-fit: cover; }
.work-hero .caption { text-align: left !important; margin-top: 0.6rem !important; margin-bottom: 0 !important; }
.work-hero .video-wrapper { margin: 0; }
.work-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; padding-bottom: 3rem; }
.prose p { font-size: 1.08rem; margin-bottom: 1.3rem; text-align: left; hyphens: manual; max-width: 38em; }
.prose p a { text-decoration: underline; text-underline-offset: 2px; }
.facts { position: sticky; top: 5.5rem; font-size: 0.92rem; border-top: 1px solid var(--text-primary); padding-top: 1rem; }
.facts dt { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-secondary); margin-top: 1rem; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin-top: 0.25rem; line-height: 1.5; }
.facts dd a { text-underline-offset: 2px; }
.work-links { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--border-color); }
.work-links a { display: block; padding: 0.65rem 0; border-bottom: 1px solid var(--border-color); text-decoration: none; font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.6px; transition: padding 0.2s; }
.work-links a:hover { padding-left: 0.4rem; }
.chapter-nav { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 1rem 0; margin-bottom: 3rem; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: baseline; }
.chapter-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.chapter-nav a { text-decoration: none; font-size: 1rem; border-bottom: 1px solid var(--border-color); }
.chapter-nav a:hover { border-color: var(--text-primary); }
.films { display: grid; gap: 3rem; padding-bottom: 3rem; }
.film h3 { font-family: var(--font-title); font-weight: 400; font-size: 1.5rem; }
.film .meta { margin: 0.2rem 0 1rem !important; }
.film .video-wrapper { margin: 0; }
.grid { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.narrow { max-width: 640px; }
.grid img { width: 100%; height: auto; }
.gallery-section { padding-bottom: 3rem; }
.gallery-section .caption, .chapter .caption { text-align: left !important; margin: -0.5rem 0 2.5rem !important; }
.chapter { padding-block: 4rem 2rem; border-top: 1px solid var(--border-color); scroll-margin-top: 4rem; }
.chapter h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.chapter .meta { margin: 0.4rem 0 2rem !important; }
.chapter .video-wrapper { margin: 2rem 0; }
.work-pager { display: flex; justify-content: space-between; gap: 2rem; padding-block: 3rem 5rem; border-top: 1px solid var(--border-color); margin-top: 3rem; }
.work-pager a { text-decoration: none; font-family: var(--font-title); font-size: 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.work-pager a.next { text-align: right; }
.cv { padding-block: 2rem 4rem; }
.cv .cv-lists { margin-top: 0; }
.cv .cv-lists li { text-align: left; }
.imprint { padding-bottom: 5rem; font-size: 0.95rem; }
.imprint p { margin-bottom: 1rem; }
.mockup-note { color: #b00; font-family: var(--font-ui); font-size: 0.8rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-color); padding: 3rem var(--gutter) 4rem; font-family: var(--font-ui); font-size: 0.82rem; color: var(--text-secondary); }
.footer-cols { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-name { font-family: var(--font-title); color: var(--text-primary); font-size: 1.05rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text-primary); }

@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .site-header ul {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border-color);
        padding: 0.5rem var(--gutter) 1rem;
    }
    .site-header ul.open { display: flex; }
    .site-header ul li a { display: block; padding: 0.9rem 0; font-size: 1rem; color: var(--text-primary); border-bottom: 1px solid var(--border-color); }
    .lead-media img { aspect-ratio: 4 / 3; }
    .statement { padding-block: 3rem 2rem; }
    .work-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .work-body { grid-template-columns: 1fr; gap: 2rem; }
    .facts { position: static; }
    .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .work-pager a { font-size: 1.1rem; }
    .upcoming-strip li { flex-direction: column; gap: 0.1rem; }
}

/* First work spans the full grid width */
.work-card.featured { grid-column: 1 / -1; }
.work-card.featured .work-card-img img { aspect-ratio: 16 / 7; }
.work-card.featured h3 { font-size: 2.1rem; }
@media (max-width: 860px) {
    .work-card.featured .work-card-img img { aspect-ratio: 4 / 3; }
    .work-card.featured h3 { font-size: 1.6rem; }
}

/* Press page */
.presskit, .bios, .coverage { padding-block: 1rem 3.5rem; }
.downloads { list-style: none; margin-top: 0.75rem; border-top: 1px solid var(--text-primary); }
.downloads li { border-bottom: 1px solid var(--border-color); }
.downloads a, .downloads li.pending { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1rem 0; text-decoration: none; }
.downloads a:hover .dl-label { text-decoration: underline; text-underline-offset: 3px; }
.dl-label { font-family: var(--font-title); font-size: 1.35rem; }
.dl-meta { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-secondary); text-align: right; }
.downloads a .dl-label::after { content: " ↓"; font-family: var(--font-ui); font-size: 0.9rem; }
.presskit-note { font-size: 0.95rem; color: var(--text-secondary); margin-top: 1.25rem; max-width: 42em; }
.presskit-note a { color: var(--text-primary); }
.bio-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 1rem; }
.bios h3 { font-family: var(--font-ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-secondary); font-weight: 400; margin: 1.5rem 0 0.5rem; }
.bios h3:first-child { margin-top: 0; }
.coverage .press-list { margin-top: 0.5rem; }
@media (max-width: 860px) {
    .bio-cols { grid-template-columns: 1fr; gap: 1rem; }
    .downloads a, .downloads li.pending { flex-direction: column; gap: 0.2rem; }
    .dl-meta { text-align: left; }
}
.press-images { padding-block: 1rem 3.5rem; }
.press-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem 1.5rem; margin-top: 1rem; }
.press-image-grid figure { margin: 0; }
.press-image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f2f2f2; }
.press-image-grid figcaption { font-size: 0.8rem; line-height: 1.45; color: var(--text-secondary); margin-top: 0.5rem; }
.press-image-grid figcaption a { color: inherit; }

/* ---- Sans text sizing (IBM Plex) ---- */
html[data-font] .prose p, html[data-font] .statement p { font-size: 1rem; line-height: 1.65; }
html[data-font] .statement p { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.3; }
html[data-font] .work-subtitle { font-style: normal; }

/* ---- Home slideshow ---- */
.lead { max-width: none; padding: 0; }
.slideshow { position: relative; height: min(86vh, 56vw); min-height: 320px; background: #0b0b0b; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.85); color: #111; font-size: 1.1rem; opacity: 0; transition: opacity .25s;
}
.slideshow:hover .slide-btn, .slide-btn:focus-visible { opacity: 1; }
.slide-prev { left: 1.25rem; } .slide-next { right: 1.25rem; }
.slide-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem var(--gutter) 0; }
.slide-meta .lead-caption { margin: 0 !important; position: relative; min-height: 1.3em; flex: 1; }
.slide-caption { display: none; }
.slide-caption.is-active { display: inline; }
.slide-dots { display: flex; gap: 6px; }
.slide-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #ccc; cursor: pointer; }
.slide-dot.is-active { background: #111; }
@media (max-width: 860px) {
    .slideshow { height: 72vh; }
    .slide-btn { display: none; }
    .slide-meta { flex-direction: column; gap: 0.5rem; }
}

/* Flynn: triptych cover keeps its 3:1 shape */
.work-card.featured .work-card-img img { aspect-ratio: 3 / 1; }
.work-hero img[src*="triptych"] { max-height: none; object-fit: contain; }

/* Prominent links to Flynn's websites inside chapters */
.site-link {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    max-width: 38em; margin: 0.5rem 0 2rem; padding: 1.1rem 1.25rem;
    border: 1px solid var(--text-primary); text-decoration: none; transition: background .2s, color .2s;
}
.site-link:hover { background: var(--text-primary); color: var(--bg-color); }
.site-link-label { font-family: var(--font-title); font-size: 1.3rem; }
.site-link-host { font-family: var(--font-ui); font-size: 0.8rem; opacity: .75; }
.press-line a { text-decoration: none; border-bottom: 1px solid var(--border-color); }
.press-line a:hover { border-color: var(--text-primary); }
@media (max-width: 860px) { .site-link { flex-direction: column; gap: .25rem; } .work-card.featured .work-card-img img { aspect-ratio: 3 / 1; } }
.slide.fit { background: #f3f2ef; }
.slide.fit img { object-fit: contain; }

/* Smaller slideshow, inset like the rest of the page */
.lead { max-width: var(--wrap-wide); margin: 0 auto; padding: var(--gutter) var(--gutter) 0; }
.slideshow { height: min(64vh, 42vw); min-height: 260px; }
.slide-meta { padding: 0.6rem 0 0; }
@media (max-width: 860px) { .slideshow { height: 56vw; min-height: 220px; } }

/* ---- IBM Plex Sans for all text; Redaction50 only for big titles ---- */
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex/IBMPlexSans-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex/IBMPlexSans-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex/IBMPlexSans-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex/IBMPlexSans-SemiBold.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
html[data-font="plex"] { --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; --font-ui: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; }
html[data-font="plex"] .label, html[data-font="plex"] .meta, html[data-font="plex"] .site-header nav a,
html[data-font="plex"] .text-link, html[data-font="plex"] .work-links a, html[data-font="plex"] .facts dt { letter-spacing: 0.06em; }
html[data-font="plex"] .work-header .meta { text-transform: none; letter-spacing: 0; font-size: 0.95rem !important; }

/* ---- Redaction only for big titles & page headings ---- */
/* stays Redaction50: .wordmark, .work-header h1, .work-card h3, .chapter h2 */
.work-subtitle, .film h3, .dl-label, .site-link-label, .work-pager a, .footer-name,
.bios-section h3, .cv-lists h3, .bios h3 { font-family: var(--font-body); }
.film h3 { font-size: 1.2rem; font-weight: 500; }
.dl-label { font-size: 1.1rem; font-weight: 500; }
.site-link-label { font-size: 1.05rem; font-weight: 500; }
.work-pager a { font-size: 1.05rem; font-weight: 500; }
.footer-name { font-weight: 600; letter-spacing: 0.04em; font-size: 0.95rem; }
.cv-lists h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; }
.work-subtitle { font-style: normal; }

/* Slideshow arrows: pixel chevrons, white, soft shadow, no circle */
.slide-btn { width: auto; height: auto; padding: 0.75rem; background: none; border-radius: 0; color: #fff; }
.slide-btn svg { display: block; width: 18px; height: 29px; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.slide-prev { left: 0.75rem; } .slide-next { right: 0.75rem; }
.slide-btn:hover svg { transform: translateX(2px); }
.slide-prev:hover svg { transform: scaleX(-1) translateX(2px); }

/* Hero slideshow: full page width, directly under the nav bar, same height as before */
.lead { max-width: none; margin: 0; padding: 0; }
.slideshow { height: min(64vh, 42vw); min-height: 260px; }
.slide-meta { padding: 0.6rem var(--gutter) 0; }
@media (max-width: 860px) { .slideshow { height: 56vw; min-height: 220px; } }
