:root {
    --bg-color: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #54595F;
    --text-muted: #7A7A7A;
    --accent-color: #0A3F7E;
    --container-width: 1240px;
    /* Synchronized to live home page */
    --container-width-wide: 1240px;
    /* Hero and Home main content */
    --font-main: 'Roboto', sans-serif;
    --font-quotes: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;
}

body.overflow-hidden {
    overflow: hidden;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: var(--bg-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Removed padding override to match container alignment */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 1025px) {
    .header-inner {
        justify-content: flex-start;
    }

    .header-inner .site-info {
        flex: 0 0 59.3%;
        max-width: 59.3%;
        /* Matches live site's approx 735px/1240px ratio */
    }

    /* Live site: 26px more space above the header, menu level with the title */
    .main-header {
        padding-top: 46px;
    }

    .header-inner {
        align-items: flex-start;
    }

    .main-nav {
        margin-top: 7px;
    }

    /* Inner pages have no .header-inner wrapper: same alignment, and the
       page title starts as low as on the live site */
    .header-content {
        align-items: flex-start;
    }

    .page-content .page-title {
        margin-top: 84px;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        margin-top: 22px;
    }

    /* Mobile: the header scrolls away instead of taking a fifth of the screen */
    .main-header {
        position: relative;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        /* iOS Safari: 100vh ignores the toolbar, dvh tracks the visible area */
        height: 100dvh;
        background: white;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-list li a {
        font-size: 24px;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.site-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 41px;
    font-weight: 600;
    line-height: 41px;
    letter-spacing: -0.8px;
    margin-bottom: 5px;
}

.site-tagline {
    font-size: 15px;
    color: var(--text-muted);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    /* Live site: 20px padding each side of every menu link */
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 30px;
    }
}

.nav-list a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    padding-top: 40px;
    /* (Header bottom 40px + Hero top 40px = 80px gap) */
    padding-bottom: 30px;
}

.hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
    min-height: 805px;
    max-width: var(--container-width-wide);
}

.hero-image-container {
    flex: 0 0 59.3%;
    /* Matches live site's approx 735px/1240px ratio */
}

.hero-image {
    width: 100%;
    max-width: 735px;
    /* Enforce live site's max image width */
    height: auto;
    display: block;
}

.hero-testimonials {
    flex: 1;
    padding-left: 20px;
    /* Minor spacing between columns */
}

.testimonial {
    margin-bottom: 0;
}

.testimonial::before {
    content: "“";
    display: block;
    font-size: 110px;
    font-weight: 900;
    color: #E6E9EC;
    font-family: "Times New Roman", Times, serif;
    line-height: 100px;
    height: 60px;
    margin-bottom: 0;
}

.testimonial-text {
    font-family: var(--font-quotes);
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 12px;
    color: rgb(122, 122, 122) !important;
    /* Match live site lighter grey */
}

.testimonial-source {
    display: block;
    font-family: var(--font-quotes);
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    color: #54595F;
}

/* Latest Release */
.latest-release {
    padding: 30px 0;
    text-align: center;
}

.latest-release .container {
    max-width: var(--container-width-wide);
}

.section-title {
    font-size: 21px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.album-title {
    font-size: 38px;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 5px;
    color: #54595F;
}

.label-info {
    font-size: 19px;
    font-weight: 500;
    color: #54595F;
    margin-bottom: 20px;
}

.spotify-embed {
    max-width: 800px;
    margin: 0 auto;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 1em;
    background-color: #333;
    color: white;
    text-decoration: none;
}

.skip-to-content:focus {
    left: 0;
}

/* Subpages */
.page-title {
    font-size: 38px;
    font-weight: 300;
    margin: 40px 0;
    text-align: left;
}

.bio-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.bio-text {
    flex: 2;
}

.bio-image-col {
    flex: 1;
}

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

.bio-section p {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

.sub-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 40px 0;
}

.mini-quote {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid #eee;
}

.mini-quote p {
    font-style: italic;
    margin-bottom: 5px;
}

.mini-quote cite {
    font-size: 14px;
    color: var(--text-muted);
}

.nav-list a.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
}

/* Projects */
.project-list {
    margin-top: 40px;
}

.project-item {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.project-item.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
}

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

.project-images-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.project-info {
    flex: 1;
}

.project-name {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.project-description p {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

.accent-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.accent-link:hover {
    text-decoration: underline;
}

/* Events */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

.empty-msg {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

/* Media */
.media-section {
    margin-bottom: 60px;
}

.video-group {
    margin-bottom: 40px;
}

.video-project-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.video-project-subtitle {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-grid.quad {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {

    .video-grid,
    .video-grid.quad {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .video-grid,
    .video-grid.quad {
        grid-template-columns: 1fr;
    }
}

.video-item {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

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

.audio-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Contact */
.contact-form-container {
    max-width: 800px;
    margin: 40px auto;
}

.clean-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .clean-form .form-row {
        grid-template-columns: 1fr;
    }
}

.clean-form .form-group {
    margin-bottom: 20px;
}

.clean-form input,
.clean-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.clean-form input:focus,
.clean-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background: var(--text-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-color);
}

/* Legal */
.legal-section {
    margin-bottom: 40px;
}

.legal-section ul {
    list-style: none;
    margin-top: 20px;
}

.legal-section li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Footer */
.main-footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        min-height: auto;
    }

    .header-content,
    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-list {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 41px !important;
    }
}
/* Latest release cover + Petropolis video (homepage, April 2026 content) */
.release-media {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.release-cover img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.listen-btn {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    letter-spacing: 1px;
}

.featured-video {
    padding: 40px 0 80px;
    text-align: center;
}

.featured-video .album-title {
    margin-bottom: 20px;
}

/* Click-to-load YouTube: no request to YouTube until the visitor presses play */
.lite-youtube-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}

.lite-youtube-play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lite-youtube-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
    transition: background-color 0.2s ease;
}

.lite-youtube-play:hover::after,
.lite-youtube-play:focus-visible::after {
    background-color: #f00;
}

/* Contact form (Formspree) */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-status {
    margin-top: 15px;
    font-size: 15px;
}

.form-status.is-success {
    color: #2e7d32;
}

.form-status.is-error {
    color: #c62828;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* 404 page */
.not-found-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.not-found-home {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

/* Mobile: bio and projects stack into full-width blocks */
@media (max-width: 767px) {
    /* Bio: French text, photo, English text, quote */
    .bio-grid {
        flex-direction: column;
        gap: 20px;
    }

    .bio-text {
        display: contents;
    }

    .bio-section.french { order: 1; }
    .bio-image-col { order: 2; margin-bottom: 20px; }
    .bio-section.english { order: 3; }
    .bio-grid .mini-quote { order: 4; }

    /* The photo now separates the two languages */
    .bio-grid .section-divider {
        display: none;
    }

    /* Projects: text first, then the image, on every project */
    .project-item,
    .project-item.reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        margin-bottom: 60px;
    }

    .project-info {
        order: -1;
    }
}
