:root {
    --bg:#ffffff;
    --text:#000000;
    --accent:#ffb400;
    --caption-bg:#f3f3f3;
    --header-height:72px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
/*body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.65}*/
body{
    font-family:"Source Sans 3", Arial, sans-serif;background:var(--bg);color:var(--text);line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ===== HEADER ===== */
header{position:fixed;top:0;left:0;width:100%;height:var(--header-height);background:var(--bg);display:flex;align-items:center;justify-content:space-between;padding:0 1rem;box-shadow:0 1px 4px rgba(0,0,0,.08);z-index:1000}
header h1{font-size:1.6rem;font-weight:700;letter-spacing:.04em}
nav{display:flex;gap:1.6rem;transition:transform .3s ease}
nav a{font-size:.83rem;text-transform:uppercase;letter-spacing:.07em;position:relative}
nav a::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:2px;background:var(--accent);transition:width .2s ease}
nav a:hover::after,nav a.active::after{width:100%}
.hamburger{display:none;flex-direction:column;gap:5px;border:none;background:transparent;padding:.3rem;cursor:pointer}
.hamburger span{width:24px;height:2px;background:var(--text);transition:transform .3s ease,opacity .3s ease}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== SECTIONS ===== */
section{max-width:1200px;margin:0 auto;padding:calc(var(--header-height)+2rem) 1rem 4rem}
section h2{font-size:1.8rem;margin-bottom:1.5rem}
section {
    padding-top: calc(var(--header-height) - 3rem);
    padding-bottom: calc(var(--header-height) - 3rem);
    padding-left:1rem;padding-right:1rem;}

/* ===== BUTTONS ===== */
.btn{padding:.45rem 1rem;border:2px solid var(--text);border-radius:4px;background:transparent;cursor:pointer;font-size:.86rem;transition:background .25s,color .25s}
.btn:hover{background:var(--text);color:var(--bg)}

/* ===== HERO VIDEO ===== */
#heroVideo{
    width:100%;
    margin:0;                       /* flush with edges */
}
#heroVideo iframe{
    width:100%;
    aspect-ratio:16/9;              /* keeps it responsive */
    border:none;
    display:block;
}
/* hero layout tweaks */
#heroVideo{position:relative;}
#heroVideo iframe{width:100%;aspect-ratio:16/9;border:none;display:block;}

/* ===== HERO IMAGE CARD ===== */
#heroImage{
    /*padding-left:1rem;padding-right:1rem;      !* same side-gutters as other sections *!*/
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: calc(var(--header-height) - 3rem);

}
#heroImage .hero-card{
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}
#heroImage img{
    width:100%;
    height:auto;
    display:block;
}

/* play/pause button */
#heroToggle{
    position:absolute;bottom:1.2rem;right:1.2rem;
    padding:.55rem .9rem;border:none;border-radius:50%;
    background:rgba(0,0,0,.6);color:#fff;font-size:1rem;
    cursor:pointer;transition:opacity .25s;
}
#heroToggle:hover{opacity:.8;}

/* ===== BIO ===== */
#bio .bio-wrap{display:flex;flex-direction:column;gap:1.5rem}
.button-row{display:flex;flex-wrap:wrap;gap:.75rem}
/* ===== BIO CARD ===== */
#bio .bio-card{
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    padding:2rem;
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}
#bio .bio-card p{line-height:1.7;}
/* ===== BIO BUTTONS ===== */
.button-row{
    display:flex;
    flex-wrap:wrap;
    gap:.8rem;
    margin-top:.5rem;
}
.button-row a,
.button-row button{
    display:flex;
    align-items:center;
    gap:.45rem;
    padding:.55rem 1rem;
    border:2px solid var(--text);
    background:transparent;
    border-radius:4px;
    font-size:.9rem;
    cursor:pointer;
    transition:background .25s,color .25s;
    text-decoration:none;
    color:var(--text);
}
.button-row a:hover,
.button-row button:hover{
    background:var(--text);
    color:#fff;
}
/* pdf icon special colour */
.button-row .pdf i{color:#550000;}
/* ===== BIO BUTTON–CARDS ===== */
.button-row{
    display:flex;flex-wrap:wrap;gap:.8rem;margin-top:.5rem;
}

/* shared card look */
.button-row .btn-card{
    display:inline-flex;align-items:center;gap:.5rem;
    padding:.65rem 1.2rem;
    background:#fff;
    border:1px solid #d5d5d5;
    border-radius:6px;
    box-shadow:0 2px 6px rgba(0,0,0,.05);
    font:600 .9rem/1.1 "Source Sans 3",sans-serif;
    color:#000;text-decoration:none;
    transition:box-shadow .25s,background .25s,color .25s;
}
.button-row .btn-card:hover{
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* pdf special styling */
.button-row .btn-pdf{
    background:#550000;
    border-color:#550000;
    color:#fff;
}
.button-row .btn-pdf i{color:#fff;}

/* icon sizing */
.button-row img{height:20px;}
.button-row i{font-size:1.05rem;}
/* ===== BIO CARD-BUTTON HOVER (no fill, darker border) ===== */
.button-row .btn-card:hover{
    background:#fff;          /* stay white */
    color:#000;
    border-color:#000;        /* bold black border */
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* the special maroon CV button keeps its original behaviour */

/* ===== HERO-BIO COMBO CARD ===== */
#heroBio{
    /*padding-left:1rem;padding-right:1rem;          !* same gutters *!*/
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: calc(var(--header-height) - 3rem);

}
#heroBio .hb-card{
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    overflow:hidden;
    display:flex;
    flex-direction:column;                         /* mobile stack */
}

/* desktop split */
@media(min-width:768px){
    #heroBio .hb-card{flex-direction:row;}
    #heroBio .hb-photo,
    #heroBio .hb-text {flex:0 0 50%;max-width:50%;}
}

/* photo pane */
#heroBio .hb-photo{position:relative;min-height:340px;}
#heroBio .hb-photo img{
    position:absolute;inset:0;
    width:100%;height:100%;object-fit:cover;
}

/* text pane */
#heroBio .hb-text{
    padding:2rem;
    display:flex;
    flex-direction:column;
    gap:1.25rem;
}
#heroBio .hb-text p{line-height:1.7;}
#heroBio .button-row{margin-top:.25rem;}         /* keep buttons as before */

/* ===== TESTIMONIAL SLIDER ===== */
.slider{position:relative;overflow:hidden}
.slide-track{display:flex;transition:transform .5s ease}
.testimonial{flex:0 0 100%;padding:1rem;text-align:center}
.testimonial p{font-style:italic;margin-bottom:.5rem}
.testimonial span{font-weight:600}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.05);border:none;font-size:1.4rem;padding:.2rem .6rem;cursor:pointer}
.slider-btn.prev{left:6px}
.slider-btn.next{right:6px}

/* ===== TESTIMONIAL MARQUEE ===== */
#testimonials{
    overflow:hidden;                 /* hide cards peeking outside */
    /*padding:4rem 1rem;               !* generous breathing room *!*/
}

#testimonials h2{margin-bottom:2rem;}

.testi-track{
    display:flex;
    gap:1.5rem;
}

.testi-card{
    flex:0 0 320px;                  /* column width */
    background:#f7f7f7;
    border-radius:12px;
    box-shadow:0 1px 4px rgba(0,0,0,.06);
    padding:1.5rem;
    transition:transform .25s,background .25s;
    display:flex;flex-direction:column;gap:.75rem;
}

.testi-card:hover{
    background:#fff;
    transform:scale(1.04);
}

.testi-card .author{
    font-weight:700;
    margin-bottom:.15rem;
}
.testi-card .role{
    font-size:.85rem;
    opacity:.7;
    margin-bottom:.6rem;
}
.testi-card p{line-height:1.55;}

/* section height: allow two masonry rows and overflow hidden */
#testimonials{
    height:480px;                    /* tweak if needed */
    position:relative;
}

/* stack cards offset to mimic masonry */
.testi-card:nth-child(4n+3){margin-top:2.5rem;}
.testi-card:nth-child(4n+2){margin-top:1.25rem;}
/* scroll window trims overflow */
.testi-window{
    overflow:hidden;          /* hide excess cards */
    cursor:grab;
}

/* hide scrollbar if any browser shows one */
.testi-window::-webkit-scrollbar{display:none;}

/* ===== TESTIMONIAL – CARD WRAPPER ===== */
/*#testimonials{padding-left:1rem;padding-right:1rem;}*/

#testimonials .testi-cardbox{
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    padding:2rem;
    overflow:hidden;                /* keeps cards / cursor inside radius */
}

#testimonials h2{margin:0 0 1.5rem;}
/* ===== TESTIMONIAL FONT SIZE ===== */
#testimonials .testi-card p {
    font-size: 12px;
}


/* ===== MIXING GRID ===== */
.mix-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.mix-item{display:flex;flex-direction:column;align-items:center}
.cover-wrap{position:relative;width:100%}
.cover-wrap img{width:100%;height:auto}
.play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border:none;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.7rem;cursor:pointer;transition:background .25s}
.play-btn:hover{background:rgba(0,0,0,.75)}
.play-btn.paused::before{content:"\25B6"}
.play-btn.playing::before{content:"\23F8"}
.caption{background:var(--caption-bg);text-align:center;padding:.75rem .5rem;width:100%}
.caption h3{font-size:1rem;font-weight:600}
.caption p{font-size:.9rem;letter-spacing:.04em}
.caption em{font-size:.85rem;font-style:italic}
/* ===== MIXING – mobile two-up ===== */
@media (max-width:1024px){
    #mixing .mix-grid{
        grid-template-columns:repeat(2,1fr);  /* two per row */
        gap:1rem;                              /* slightly tighter gap */
    }
}
/* ===== LIVE VIDEO SLIDER ===== */
.video-wrapper{position:relative;}
.video-track{
    display:flex;
    gap:1rem;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:1rem;
}
.video-track::-webkit-scrollbar{display:none;}          /* hide scrollbar */
.video-slide{flex:0 0 320px;scroll-snap-align:center;}
iframe{width:100%;aspect-ratio:16/9;border:none;}

.video-nav{
    position:absolute;top:50%;transform:translateY(-50%);
    background:rgba(0,0,0,.05);border:none;
    font-size:1.4rem;padding:.2rem .6rem;cursor:pointer;
}
.video-nav.prev{left:6px;background: white;}
.video-nav.next{right:6px;background: white;}
/* ===== LIVE SOUND CARD ===== */
#live .live-card{
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    padding:2rem;
    overflow:hidden;              /* keeps arrow buttons inside radius */
}

#live .video-wrapper{margin-top:1.5rem;}  /* space below <h2> */



/* ===== MUSIC FOR FILM ===== */
#music-film .film-grid{
    display:grid;
    gap:1.5rem;
}
#music-film .film-card{
    background:var(--bg);
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
#music-film iframe{width:100%;aspect-ratio:16/9;border:none;}
#music-film .film-info{padding:1rem 1.25rem;}
#music-film .film-info h3{margin:0 0 .4rem;font-size:1.1rem;}
#music-film .film-info p{line-height:1.5;}

@media(min-width:768px){
    #music-film .film-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));}
}
/* ===== GALLERY ===== */
#gallery .filter-controls{
    display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.25rem;
}
#gallery .filter-btn{
    padding:.35rem .9rem;border:2px solid var(--text);
    background:transparent;border-radius:4px;font-size:.8rem;cursor:pointer;
    transition:background .25s,color .25s;
}
#gallery .filter-btn.active,
#gallery .filter-btn:hover{background:var(--text);color:var(--bg);}
#gallery .gallery-grid{
    display:grid;gap:.5rem;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
}
#gallery .gallery-item img{
    width:100%;height:140px;object-fit:cover;
    transition:transform .35s;
}
#gallery .gallery-item:hover img{transform:scale(1.05);}

/* ===== MOBILE NAV ===== */
@media(max-width:768px){
    nav{position:fixed;top:var(--header-height);right:0;background:var(--bg);flex-direction:column;padding:1rem;width:220px;transform:translateX(100%);box-shadow:-1px 0 4px rgba(0,0,0,.08)}
    nav.open{transform:translateX(0)}
    .hamburger{display:flex}
    #bio .bio-wrap{flex-direction:column}
    .mix-grid{grid-template-columns:1fr}
}
/* ===== GALLERY REFINEMENTS ===== */

/* 1) Make each gallery tile a square, a bit larger, and show hand cursor */
#gallery .gallery-item{
    aspect-ratio:1/1;            /* perfect square */
    overflow:hidden;
    cursor:pointer;              /* 👆 hand on hover */
}

/* 2) Enlarged thumbnails: 6 per row on a 1200 px container */
#gallery .gallery-grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

/* 3) Ensure the image fills the square nicely */
#gallery .gallery-item img{
    width:100%;height:100%;object-fit:cover;
}
/* ===== LIGHTBOX ===== */
#lightboxOverlay{
    position:fixed;inset:0;                     /* full-screen */
    background:rgba(0,0,0,.85);
    display:none;align-items:center;justify-content:center;
    z-index:2000;
}
#lightboxOverlay.show{display:flex;}          /* toggled by JS */
#lightboxOverlay img{
    max-width:90vw;max-height:90vh;border-radius:6px;
}
.lb-nav, #lbClose{
    position:absolute;color:#fff;cursor:pointer;
    user-select:none;font-size:2.5rem;line-height:1;
    padding:.25rem .6rem;
}
#lbPrev{left:2%;top:50%;transform:translateY(-50%);}
#lbNext{right:2%;top:50%;transform:translateY(-50%);}
#lbClose{top:2%;right:2%;font-size:2rem;}

/* ===== CONTACT (final clean version) ===== */
#contact{
    padding-left:1rem;            /* gentle side-padding, same as other sections */
    padding-right:1rem;
}

/* card wrapper */
#contact .contact-card{
    max-width:1200px;             /* aligns with main content width */
    margin:0 auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    display:flex;
    flex-direction:column;        /* mobile stack */
    overflow:hidden;              /* clip rounded corners */
}

/* side-by-side on ≥768 px */
@media(min-width:768px){
    #contact .contact-card{flex-direction:row;}
    #contact .photo-side,
    #contact .form-side{flex:0 0 50%;max-width:50%;}
}

/* photo pane keeps same height as form */
#contact .photo-side{position:relative;min-height:320px;}
#contact .photo-side img{
    position:absolute;inset:0;
    width:100%;height:100%;
    object-fit:cover;
    padding:2rem;
    border-radius: 38px;
}

/* form pane */
#contact .form-side{padding:2rem;}

#contact form{display:grid;gap:1rem;}

/* fields */
#contact input,
#contact textarea{
    width:100%;
    padding:.85rem 1rem;
    border:1px solid #000;
    border-radius:4px;
    background:#fff;
    color:#000;
}
#contact input:focus,
#contact textarea:focus{
    outline:none;
    box-shadow:0 0 0 2px rgba(0,0,0,.18);
}

/* button */
#contact button{
    width:fit-content;
    padding:.75rem 2.2rem;
    background:#000;
    color:#fff;
    border:none;
    border-radius:4px;
    font-weight:600;
    cursor:pointer;
    transition:opacity .25s,transform .15s;
}
#contact button:hover{opacity:.9;}
#contact button:active{transform:translateY(1px);}
@media (max-width:767px){
    #contact .photo-side{display:none;}
}
@media (max-width:1024px) {
    section {
        padding: 2vw;
    }
}

/* ===== HEADER LAYOUT REWORK ===== */
/* ===== HEADER: switch to grid for perfect centering ===== */
header{
    display:grid;
    grid-template-columns:1fr auto 1fr;   /* 3 columns: flexible | nav | flexible */
    align-items:center;
    gap:1rem;
}

.logo{justify-self:start;font-weight:400;}         /* left */
nav{justify-self:center;}                          /* center */
.header-right{justify-self:end;display:flex;gap:.9rem;} /* right */
/* nav centered via flex-grow */
nav{flex:1;display:flex;gap:1.6rem;justify-content:center;}

/* socials + burger block */
.header-right{display:flex;align-items:center;gap:.9rem;}
.social-link i{font-size:1.1rem;}
.social-link{color:var(--text);transition:opacity .25s;}
.social-link:hover{opacity:.7;}

/* hide socials on mobile, keep burger */
@media(max-width:768px){
    .social-link{display:none;}
}
/* ===== HEADER minor fixes ===== */

/* 1. Tweak grid columns so center stays put even when nav collapses */


/* 2. Keep burger pinned to far-right on mobile */
@media (max-width:768px){
    .hamburger{
        position:absolute;
        right:1rem;
        top:50%;
        transform:translateY(-50%);
    }
}
/* ===== HEADER RESPONSIVE SIZING ===== */

/* let nav wrap instead of overflowing */

@media (max-width:1400px){        header{
    grid-template-columns:auto 1fr auto;   /* logo | flexible | social+burger */
}}
/* step 1 – medium desktops */
@media (max-width:1100px){
    .logo{font-size:1.3rem;}       /* down from 1.6rem */
    nav a{font-size:.78rem;}
    nav{gap:1.2rem;}
    nav{
        flex-wrap:wrap;                /* two rows if needed */
        row-gap:.4rem;                 /* small gap if it wraps */
        justify-content:center;
    }

}

/* step 2 – narrow desktops / large tablets */
@media (max-width:960px){
    .logo{font-size:1.15rem;}
    nav a{font-size:.72rem;letter-spacing:.05em;}
    nav{gap:1rem;}
}

/* ===== FOOTER ===== */
footer{
    background:#000;
    color:#fff;
    text-align:center;
    padding:2.5rem 1rem 2rem;
    font-size:.95rem;
}
footer .footer-top{
    margin-bottom:2rem;
}
footer .footer-top a.mail{
    font-weight:700;
    color:#fff;
    text-decoration:none;
}
footer .socials{
    display:flex;
    justify-content:center;
    gap:2.5rem;
    font-size:1.7rem;
    margin-top:2rem;
}
footer .socials a{color:#fff;transition:opacity .25s;}
footer .socials a:hover{opacity:.7;}

footer .copyright{
    font-size:.8rem;
    opacity:.75;
    margin-top:1.5rem;
}

/* ===== SOUND DESIGN (refined) ===== */
/*#sound-design{background:#f5f5f5;}           !* light panel strip *!*/
#sound-design .sd-card{
    display:flex;
    flex-direction:column;                     /* mobile first */
    background:var(--bg);
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    overflow:hidden;                           /* trim rounded corners */
}
#sound-design iframe{
    width:100%;
    aspect-ratio:16/9;
    border:none;
}
#sound-design .sd-info{
    padding:1.5rem;
}
#sound-design .sd-info h3{
    margin:0 0 .5rem;
    font-size:1.25rem;
}
#sound-design .sd-info p{
    line-height:1.6;
}

@media(min-width:768px){
    #sound-design .sd-card{flex-direction:row;}
    #sound-design iframe,
    #sound-design .sd-info{
        flex:0 0 50%;
        max-width:50%;
    }
    #sound-design .sd-info{padding:2rem 2rem 2rem 1.75rem;}
}
/* ───── CAROUSEL WRAPPER (adds no visual changes except scroll) ───── */
#sound-design .sd-window{
    overflow:hidden;          /* masks off-screen slides */
    position:relative;        /* anchors arrows */
}

/* rail that slides left / right */
#sound-design .sd-track{
    display:flex;
    transition:transform .45s ease; /* smooth slide */
}

/* each slide = one full-width card */
#sound-design .sd-card{
    flex:0 0 100%;            /* takes 100 % of the track viewport */
    max-width:100%;
}

/* arrows */
#sound-design .sd-nav{
    position:absolute;top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,.08);
    border:none;font-size:1.6rem;
    padding:.25rem .8rem;cursor:pointer;
    z-index:10;               /* sit above iframe */
}
#sound-design .sd-nav.prev{left:12px;}
#sound-design .sd-nav.next{right:12px;}
#sound-design .sd-nav:hover{background:rgba(0,0,0,.15);}
/* ───── SOUND DESIGN ───── */
#sound-design {
    /*background: #f0f0f0;       !* light grey strip *!*/
    padding: 3rem 1rem;        /* room above title & below card */
}

/* center the title */
#sound-design > h2 {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}

/* container to center the card */
.sd-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* white card with shadow */
.sd-cardbox {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
    position: relative;        /* for arrows */
}

/* carousel window */
.sd-window {
    position: relative;
    overflow: hidden;
}

/* track slides left/right */
.sd-track {
    display: flex;
    transition: transform .45s ease;
}

/* each slide = full card width */
.sd-card {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;    /* mobile stack */
}

/* inner layout exactly as before */
.sd-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}
.sd-info {
    padding: 1.5rem;
}
@media(min-width:768px) {
    .sd-card { flex-direction: row; }
    .sd-card iframe,
    .sd-info {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .sd-info { padding: 2rem 2rem 2rem 1.75rem; }
}

/* nav arrows */
.sd-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.08);
    border: none;
    font-size: 1.6rem;
    padding: .3rem .7rem;
    cursor: pointer;
    z-index: 2;
}
.sd-nav.prev { left: 12px; background: #f4f4f4 !important;border-radius: 50%;}
.sd-nav.next { right: 12px; background: white#f4f4f4 !important;border-radius: 50%;}
.sd-nav:hover { background: rgba(0,0,0,.15); }

#sound-design .sd-info p {
    margin-block: 1rem 0;  /* 1rem top, 0 left/right, 1rem bottom */
}

/* ===== DIALOGUE EDITING ===== */
#dialogue { padding:3rem 1rem; }
#dialogue .cardbox {
    max-width:1200px; margin:0 auto;
    background:#fff; border-radius:8px;
    padding:2rem; box-shadow:0 4px 14px rgba(0,0,0,.06);
}
#dialogue h2 { margin-top:0; }
#dialogue .intro {
    margin-bottom:1.5rem; line-height:1.6;
}

.waveforms {
    display:flex; flex-direction:column;
    gap:2rem; margin-bottom:2rem;
}
@media(min-width:768px){
    .waveforms { flex-direction:row; }
}
.waveform-panel {
    flex:1; background:#fafafa;
    border-radius:6px; padding:1rem;
    display:flex; flex-direction:column;
}
.waveform-panel h3 {
    margin-top:0; font-size:1.1rem;
}
.waveform-panel .wave-btn {
    margin-top:.75rem; padding:.5rem 1rem;
    border:1px solid #000; border-radius:4px;
    background:#fff; cursor:pointer;
    align-self:start;
}

/* inline spectrogram under each panel */
.waveform-panel .spectrogram-panel {
    margin-top:1rem; text-align:center;
}
.waveform-panel .spectrogram-panel img {
    width:100%; border-radius:4px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.daw-screenshot {
    text-align:center; margin-top:1rem;
}
.daw-screenshot img {
    max-width:100%; border-radius:6px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.daw-screenshot .caption {
    font-size:.85rem; opacity:.7; margin-top:.5rem;
}
/* ===== YouTube embed styling (reuse screenshot styles) ===== */
.daw-screenshot {
    text-align: center;
    margin-top: 1rem;
}
.daw-screenshot iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.daw-screenshot .caption {
    font-size: .85rem;
    opacity: .7;
    margin-top: .5rem;
    background: white;
}
