/* -----------------------------------------------
   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;
}

/* -----------------------------------------------
   VIMEO — custom play overlay
----------------------------------------------- */
.vimeo-wrapper {
    position: relative;
    margin: 2.5rem 0;
}

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

.vimeo-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

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

.vimeo-play-btn.hidden {
    display: none;
}

.play-icon {
    font-size: 1.4rem;
    color: #111;
    line-height: 1;
}

/* -----------------------------------------------
   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;
}

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

.vimeo-embed iframe,
.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;
    }
}
