.testimonial-card {
    padding: 16px 20px;
    background: var(--surface-glass);
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
}

.testimonial-card i {
    color: var(--colour-text);
}
@import url('https://fonts.cdnfonts.com/css/monaco');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Playfair+Display:wght@400;600;700&display=swap');


:root {
    --colour-naf: hsl(240, 5%, 20%);
    --colour-accent: hsl(240, 55%, 65%);
    --colour-socials: white;
    --colour-navText: hsl(240, 25%, 95%);
    --colour-tabs: hsl(240, 55%, 65%);

    --colour-body: hsl(240, 5%, 10%);
    --colour-text: hsl(240, 25%, 90%);

    --active-fontSize: 18px;
    --alternate-fontSize: 12px;
    --active-fontFamily: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Monaco', sans-serif;
    --title-fontFamily: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Monaco', sans-serif;
    --title-gradient-start: hsl(230, 80%, 70%);
    --title-gradient-end: hsl(170, 70%, 60%);

    /* Surfaces */
    --surface-glass: hsla(240, 10%, 16%, 0.65);
    --surface-border: 1px solid rgba(255, 255, 255, 0.08);
    --surface-radius: 16px;
    --surface-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --backdrop-blur: 10px;

    /* Layout constants */
    --header-height: 60px;
    --footer-height: 60px;
    --page-vertical-padding: 48px; /* reduced to tighten space above/below content */
}

/*@media (prefers-color-scheme: light) {
    :root {
        
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --colour-body: hsl(240, 5%, 10%);
        --colour-text: hsl(240, 25%, 90%);
    }
}*/


a {
    text-decoration: none;
    color: var(--colour-text);
}

input::placeholder,
textarea::placeholder {
    color: var(--colour-socials);
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/logo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--colour-body);
    background-attachment: fixed;
    color: var(--colour-text);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* top-align content for consistent spacing */
    align-items: center;
    font-family: var(--active-fontFamily);
    font-size: var(--active-fontSize);
    line-height: 1.6;
    letter-spacing: 0.2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content-container {
    min-height: calc(100vh - (var(--header-height) + var(--footer-height)));
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    overflow: auto;
    /* Include header/footer and the desired visible page padding */
    padding-top: calc(var(--header-height) + var(--page-vertical-padding));
    padding-bottom: calc(var(--footer-height) + var(--page-vertical-padding));
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* no longer used; consolidated to main/youtube-section */

@media only screen and (max-width: 620px) {
    body {
        margin: 0;
        font-size: 3vw;
    }

    p {
        margin: 0;
        font-size: 3vw;
    }
}

header {
    background: linear-gradient(0deg, rgba(20, 20, 30, 0.85) 0%, rgba(20, 20, 30, 0.55) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--colour-navText);
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header a,
.link-nav {
    color: var(--colour-navText);
}

h3,
p {
    margin: 0;
    font-size: var(--active-fontSize);
}

.logo {
    /* background-color: red; */
    width: 40px;
    height: 40px;
}

.logo > img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

.storeLinks {
    /* background-color: red; */
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.tab-active {
    color: var(--colour-accent);
    font-weight: 600;
    background-color: rgba(120, 140, 255, 0.12);
    border: 1px solid rgba(120, 140, 255, 0.25);
    border-radius: 10px;
}

main {
    width: 100%;
    height: auto; /* allow expansion to prevent child overflow */
    padding: 28px 20px; /* reduced vertical padding to lessen whitespace */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto; /* vertical spacing handled by .content-container */
    background: var(--surface-glass);
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    box-shadow: var(--surface-shadow);
}

/* Removed page-specific padding overrides to keep spacing consistent site-wide */

.hero {
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-family: var(--title-fontFamily);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--title-gradient-start), var(--title-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--colour-text);
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}

.youtube-section {
    width: 100%;
    display: block;
}

.youtube-section iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    max-width: 100%;
}

/* Grid layout variant for pages with multiple videos */
.youtube-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .youtube-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .youtube-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Simple video card container for sectioned content */
.video-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto; /* let outer grids control spacing */
    padding: 20px;
    background: var(--surface-glass);
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    box-sizing: border-box;
    overflow: hidden; /* clip inner shadows to avoid visual overlap */
}

.video-card h2 {
    margin: 0 0 10px 0;
    text-align: center;
    /* Smaller heading just for video sections */
    font-size: clamp(1.125rem, 2.6vw, 1.75rem);
}

/* Two-column layout for Electric/Acoustic cards */
.video-card-grid {
    width: 100%;
    max-width: 1200px;
    margin: 12px auto 24px auto; /* consistent vertical spacing */
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px; /* match page side padding */
}

@media (min-width: 900px) {
    .video-card-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* Spacing around the Showreels block */
.video-card-grid + .video-card { margin-top: 24px; }
.guitarist-page .video-card + .video-card { margin-top: 0; }
.guitarist-page .video-card:last-of-type { margin-bottom: 0; }

/* Reduce bottom padding only on Guitarist page to avoid large footer gap */
.guitarist-page .content-container { padding-bottom: calc(var(--footer-height) + 16px); }

/* Remove card backgrounds on the Guitarist page */
.guitarist-page .video-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0; /* align with page padding */
    overflow: visible;
}

/* Prevent any accidental horizontal overflow */
.content-container { overflow-x: hidden; }

/* Ensure iframes behave as block-level and don't cause inline gaps */
.youtube-section iframe { display: block; }

/* Layout: Spotify above video, both on the left of the text */
/* Split section: text and Spotify side-by-side on desktop, stacked on mobile */
.producer-split {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

@media (min-width: 900px) {
    .producer-split {
        grid-template-columns: 1.1fr 0.9fr; /* slightly narrower playlist column */
    }
}

/* Resource card used as grid item (e.g., portfolio button slot) */
.resource-card {
    width: 100%;
    background: var(--surface-glass);
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px; /* no vertical padding to preserve exact 16:9 */
    box-sizing: border-box;
    text-align: center;
    aspect-ratio: 16 / 9; /* Match video tiles */
    box-shadow: var(--surface-shadow);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background-color 180ms ease;
    overflow: hidden;
}

.resource-card .icon {
    color: var(--colour-accent);
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.resource-card .icon svg { width: 48px; height: 48px; }
.resource-card .icon img { width: 48px; height: 48px; object-fit: contain; display: block; }

.resource-card:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(0,0,0,0.45); opacity: 0.98; }
.resource-card:focus-visible { outline: 2px dashed var(--colour-accent); outline-offset: 4px; }

.resource-card-title {
    font-weight: 700;
    color: var(--colour-text);
}

footer {
    background: linear-gradient(0deg, rgba(20, 20, 30, 0.85) 0%, rgba(20, 20, 30, 0.55) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--colour-navText);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Adjust as needed */
}

@media screen and (max-width: 600px) {
    footer p {
        font-size: 3vw;
    }
}


.socials {
    /* background-color: red; */
    width: 80%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.socials > a,
a > svg {
    height: 30px;
    color: var(--colour-accent);
}

/* Ensure image-based icons (e.g., TikTok via CDN) match SVG sizing */
.socials a img {
    height: 30px;
    width: auto;
    display: block;
}

.socials a {
    transition: transform 180ms ease, opacity 180ms ease;
}

.socials a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.text-accent {
    color: var(--colour-accent);
}

.about-me {
    /* background-color: red; */
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* <-- change this to align the text to top/center/bottom flex-start/center/flex-end */
    gap: 20px;
}

.about-portrait {
    width: 15%;
    aspect-ratio: 1;
    border-radius: 5px;
}

.about-info {
    /* background-color: green; */
    width: 75%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.about-title {
    /* background-color: pink; */
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    /* background-color: yellow; */
    width: 70%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-contact {
    /* background-color: red; */
    width: 100%;
    max-width: 1920px;
    height: fit-content;
    display: grid;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

/* New structured form layout */
.form-section { width: 100%; margin-top: 24px; }

.form-details > div { /* generic single-row items */
    min-height: 44px;
}

.form-row-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-details label,
.form-message label {
    font-weight: 600;
}

.label-required { opacity: 0.6; font-weight: 400; }

.form-details {
    /* background-color: yellow; */
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.form-details > div {
    /* background-color: yellow; */
    width: 100%;
    height: auto;
    display: block;
    gap: 10px;
}

.form-details label {
    width: fit-content;
    height: auto;
}

.form-details input {
    background: rgba(255, 255, 255, 0.06);
    color: var(--colour-text);
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 0 20px;
    font-family: var(--active-fontFamily);
    font-size: calc(var(--active-fontSize) / 1.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
}

.form-details select {
    background: rgba(255, 255, 255, 0.06);
    color: var(--colour-text);
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 0 20px;
    font-family: var(--active-fontFamily);
    font-size: calc(var(--active-fontSize) / 1.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
    /* custom dropdown caret */
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B0B7FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 48px;
}

.form-details select:focus {
    border-color: rgba(120, 140, 255, 0.45);
    outline: none;
    box-shadow: 0 0 0 3px rgba(120, 140, 255, 0.15);
}

/* Glass custom select wrapper */
.glass-select {
    position: relative;
    width: 100%;
}

.glass-select .display {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 10px 48px 10px 16px;
    min-height: 44px;
    color: var(--colour-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 100%;
}

.glass-select .caret { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: 0.85; }
.glass-select .caret svg { width: 18px; height: 18px; }

.glass-select.open .menu { display: block; }
.glass-select .menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 30, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow: var(--surface-shadow);
    overflow: hidden;
}

.glass-select .menu button {
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    background: transparent;
    color: var(--colour-text);
    border: 0;
    cursor: pointer;
}

.glass-select .menu button:hover,
.glass-select .menu button[aria-selected="true"] {
    background: rgba(255,255,255,0.06);
}

.form-message {
    /* background-color: green; */
    width: 100%;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    grid-column: 1 / -1; /* span both columns */
}

.form-message label {
    width: fit-content;
    height: auto;
}

.form-message textarea {
    background: rgba(255, 255, 255, 0.06);
    color: var(--colour-text);
    width: 100%;
    min-height: 150px;
    border: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 20px;
    resize: vertical;
    font-family: var(--active-fontFamily);
    font-size: calc(var(--active-fontSize) / 1.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
}

.form-button {
    grid-column: 1 / -1;
    justify-self: start; /* align left */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* tighter so no excess space */
    padding: 15px 22px;
    height: 54px; /* match contact chip height visually */
    width: auto;
    color: var(--colour-text);
    background: var(--surface-glass);
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    box-shadow: var(--surface-shadow);
    font-family: var(--active-fontFamily);
    font-size: 1rem;
    font-weight: 500;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.form-button:hover { transform: translateY(-2px); box-shadow: var(--surface-shadow); }
.form-button:focus-visible { outline: 2px dashed var(--colour-accent); outline-offset: 3px; }

@media (max-width: 700px) {
    .form-contact { grid-template-columns: 1fr; }
    .form-message { grid-column: 1; }
    .form-row-two { grid-template-columns: 1fr; }
}


.dropdown-button {
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid; /* hidden on desktop via media query */
    place-items: center;
    margin-right: 8px;
    margin-left: 10px; /* ensure left spacing */
    cursor: pointer;
    /* Slightly stronger than generic glass for better contrast */
    background: rgba(20, 20, 30, 0.92);
    border: var(--surface-border);
    border-radius: 12px;
    box-shadow: var(--surface-shadow);
    color: var(--colour-navText);
    position: relative;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.dropdown-button:hover { color: var(--colour-accent); }
.dropdown-button:active { transform: scale(0.96); }

.dropdown-line {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}
.dropdown-line:nth-child(1) { top: 14px; }
.dropdown-line:nth-child(2) { top: 21px; }
.dropdown-line:nth-child(3) { top: 28px; }

/* Animate the hamburger into a close icon when open */
.dropdown-button[aria-expanded="true"] .dropdown-line:nth-child(1) {
    transform: translateX(-50%) translateY(7px) rotate(45deg);
}
.dropdown-button[aria-expanded="true"] .dropdown-line:nth-child(2) { opacity: 0; }
.dropdown-button[aria-expanded="true"] .dropdown-line:nth-child(3) {
    transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* Mobile header title shown to the right of the hamburger */
.header-title {
    margin-left: 12px;
    font-family: var(--title-fontFamily);
    font-weight: 700;
    font-size: clamp(1rem, 4.6vw, 1.25rem);
    background: linear-gradient(90deg, var(--title-gradient-start), var(--title-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.tabs {
    z-index: 1;
    background: transparent;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    display: flex;
    align-items: center;
}

.tabs a {
    padding: 8px 12px;
    border-radius: 10px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.tabs a:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--colour-navText);
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-glass);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    min-width: 220px;
    max-width: min(92vw, 320px);
    z-index: 1000;
    padding: 8px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Also allow JS to toggle services menu */
.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--colour-text);
    text-decoration: none;
    transition: background-color 180ms ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--colour-navText);
}

@media screen and (max-width: 900px) {
    .dropdown-button { display: grid; }

    .tabs {
        display: none; /* opened via .open class */
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        transform: none; /* override desktop centering */
        font-size: 5vw;
        /* Darken background for better readability */
        background: rgba(20, 20, 30, 0.92);
        border-top: var(--surface-border);
        box-shadow: var(--surface-shadow);
        padding: 12px 12px 12px 16px; /* extra left padding */
        flex-direction: column;
        gap: 0;
    }

    .tabs.open { display: flex; }

    .tabs a {
        padding: 12px 16px;
        text-align: left; /* ensure left-side padding space */
        width: 100%;
        box-sizing: border-box;
    }

    /* Make top-level links bold; Services block appears inline rather than floating card */
    .tabs > a { font-weight: 700; }
    .dropdown {
        align-items: stretch;
        flex-direction: column; /* stack Services label and submenu vertically on mobile */
    }
    .dropdown > .dropdown-toggle {
        font-weight: 800;
        cursor: default;
        padding-right: 0;
    }

    .dropdown { width: 100%; }
    .dropdown > .dropdown-toggle { width: 100%; }

    .dropdown-menu {
        position: static;
        transform: none !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0; /* no offset to the side */
        width: 100%;
        max-width: none;
        min-width: 0;
        display: block; /* always show on mobile */
    }

    .dropdown.open .dropdown-menu { display: block; }

    .dropdown-menu a {
        padding: 10px 16px 10px 28px; /* indent service links */
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        font-weight: 500;
    }
}

@media screen and (min-width: 900px) {
    .tabs {
        flex-direction: row;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
    }

    .dropdown-button {
        display: none;
    }
}

@media screen and (min-width: 900px) {
    .cloned-tab {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .cloned-tab {
        font-family: var(--title-fontFamily);
        font-weight: 400;
        font-size: 5vw;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 900px) {
    header {
        justify-content: flex-start;
        gap: 10px;
    }
}

/* Hero section for homepage */
.hero {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}

@media screen and (min-width: 600px) {
    .hero { text-align: left; grid-template-columns: 2fr auto; align-items: center; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1, 1);
    white-space: nowrap;
    border: 0;
}

.default-link {
    color: var(--colour-accent);
    text-decoration: underline;
}

.text-with-svg {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-for-testimonials {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
}


.text-with-svg > div:first-child {
    max-width: 650px; /* Adjust as needed */
}

.text-with-button {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
}

@media screen and (min-width: 600px) {
    .text-with-button {
        flex-direction: row;
    }
}

.gigButton {
    font-family: var(--active-fontFamily);
    font-size: 22px;
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    background: linear-gradient(135deg, hsl(240, 70%, 62%), hsl(240, 65%, 55%));
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: auto;
    min-width: 200px;
    margin: 5px;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(80, 90, 200, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.text-with-button > div:first-child {
    max-width: 650px; /* Adjust as needed */
}

h1 {
    font-family: var(--title-fontFamily);
    font-weight: 800;
    background: linear-gradient(90deg, var(--title-gradient-start), var(--title-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Unified bold gradient headings for h2 and h3 */
h2, h3 {
    font-family: var(--title-fontFamily);
    font-weight: 700;
    background: linear-gradient(90deg, var(--title-gradient-start), var(--title-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 { font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 3.5vw, 2rem); line-height: 1.2; }

/* Subtle depth to headings */
h1, h2, h3 { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28); }

/* Make the homepage video area larger */
.index-page main {
    max-width: 1200px;
}

.gigButton:hover,
.buttonZ:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(80, 90, 200, 0.35);
    opacity: 0.95;
}

.gigButton:focus-visible,
.buttonZ:focus-visible,
.tabs a:focus-visible,
.dropdown-button:focus-visible,
a:focus-visible {
    outline: 2px dashed var(--colour-accent);
    outline-offset: 3px;
    border-radius: 8px;
}

.instagram {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

figure[data-behold-id="y3xMZFVqS35iBVnG148q"] {
    width: 70vw; /* Adjust this value as needed */
    padding: 10px;
    max-width: 1000px;
}

.buttonZ {
    font-family: var(--active-fontFamily);
    font-size: 20px;
    border-radius: 12px;
    padding: 10px 16px;
    color: white;
    background: linear-gradient(135deg, hsl(240, 70%, 62%), hsl(240, 65%, 55%));
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: auto;
    min-width: 160px;
    margin: 5px;
    box-shadow: 0 10px 20px rgba(80, 90, 200, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.buttonZ.active {
    background: linear-gradient(135deg, hsl(240, 75%, 70%), hsl(240, 75%, 62%));
}

.gigTabs {
    z-index: 1;
    /*background-color: var(--colour-naf);*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    flex-direction: row;
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.gigSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 350px;
    min-width: 250px;
    margin: 20px;
    /*padding: 10px;*/
    width: 70%;
}

.bookGigiFrame {
    width: 100%;
    height: 500px;
}


.gigSectionContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;

}

.bookGigiFrame {
    margin-bottom: 10px;
}


#myProgress {
    width: 320px;
    background-color: black;
    cursor: pointer;
    border-radius: 10px;
}

#myBar {
    width: 0%;
    height: 5px;
    background-color: var(--colour-accent);
    border-radius: 10px;
}

.logo {
    fill: red;
}

.btn-action {
    cursor: pointer;
    padding-top: 10px;
    width: 30px;
}

.btn-ctn, .infos-ctn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.infos-ctn {
    padding-top: 20px;
}

.btn-ctn > div {
    padding: 5px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.infos-ctn > div {
    margin-bottom: 8px;
    color: white;
}

.first-btn {
    margin-left: 3px;
}

.duration {
    margin-left: 10px;
}

.title {
    margin-left: 10px;
    width: 210px;
    text-align: center;
}

.player-ctn {
    border-radius: 15px;
    width: 320px;
    padding: 10px;
    background-color: var(--colour-naf);

    margin-top: 10px;
}

.playlist-track-ctn {
    display: flex;
    background-color: #464646;
    margin-top: 3px;
    border-radius: 5px;
    cursor: pointer;
}



.playlist-track-ctn > div {
    margin: 10px;
}

.playlist-info-track {
    width: 80%;
}

.playlist-info-track, .playlist-duration {
    padding-top: 7px;
    padding-bottom: 7px;
    color: white;
    font-size: 14px;
    pointer-events: none;
}

.playlist-ctn {
    padding-bottom: 5px;
}

.active-track {
    background: var(--colour-accent);
    color: #ffc266 !important;
    font-weight: bold;

}

.active-track > .playlist-info-track, .active-track > .playlist-duration, .active-track > .playlist-btn-play {
    color: white !important;
}


.playlist-btn-play {
    pointer-events: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

.fas {
    color: white;
    font-size: 20px;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.text-for-offset-testimonials {
    color: grey;
}

.text-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-content h1 {
    font-family: var(--title-fontFamily);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    margin-top: 0; /* remove default top margin */
    margin-bottom: 16px; /* tighter space below titles */
    background: linear-gradient(90deg, var(--title-gradient-start), var(--title-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.title-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--colour-text);
    opacity: 0.9;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* Improve paragraph readability and add feature bullets styling within split */
.producer-split .text-content p {
    max-width: 58ch;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

.feature-list {
    margin: 12px auto 0;
    padding-left: 18px;
    max-width: 58ch;
}

.feature-list li {
    margin: 8px 0;
}

/* Give Spotify embed a subtle surface so it belongs with the content */
.spotify-section iframe {
    border: var(--surface-border);
    box-shadow: var(--surface-shadow);
}

/* CTA below Spotify playlist */
.spotify-cta {
    text-align: center;
    margin-top: 10px;
    font-size: 0.98rem;
    color: var(--colour-text);
    opacity: 0.9;
}

/* Subtitle above the video for smoother flow */
.section-subtitle {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 4px;
}

.contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--surface-glass);
    border: var(--surface-border);
    border-radius: var(--surface-radius);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    transition: transform 180ms ease, box-shadow 180ms ease;
    text-decoration: none;
    color: var(--colour-text);
    white-space: nowrap;
    min-width: 240px; /* keep side by side until container is narrow */
}

.contact-info a:hover {
    transform: translateY(-2px);
    box-shadow: var(--surface-shadow);
}

.contact-info svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-info p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 520px) {
    .contact-info a { min-width: unset; width: 100%; justify-content: center; }
}

/* Desktop-only socials in the header */
.header-socials { display: none; }

@media screen and (min-width: 900px) {
    .header-socials {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-right: auto;
        padding-left: 20px;
    }

    /* Reduce left padding for header socials on Testimonials page */
    .testimonials-page .header-socials {
        padding-left: 12px;
    }
}

.header-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.header-socials a:hover { transform: translateY(-2px); opacity: 0.9; }

/* Size header icons slightly smaller than footer icons */
.header-socials a > svg { height: 24px; }
.header-socials a img { height: 24px; width: auto; display: block; }
