/* GP Mastering - Header Styles Matching Original Squarespace Site */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Family Hierarchy - Matching Original Squarespace Site */
body {
    font-family: 'Roboto', ui-sans-serif, system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
}

.site-wrapper {
    min-height: 100vh;
    position: relative;
}

/* ===== HEADER STRUCTURE ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transform: translateY(0px);
    transition: transform 0.2s ease;
}

.tweak-fixed-header-style-scroll-back .header.scrolled-up {
    transform: translateY(0px);
}

.tweak-fixed-header-style-scroll-back .header.scrolled-down {
    transform: translateY(-100%);
}

/* Header announcement bar wrapper */
.header-announcement-bar-wrapper {
    position: relative;
    width: 100%;
}

/* Header border */
.header-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: transparent;
    z-index: 1;
}

.header-border[data-header-border="true"] {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
}

/* Header drop shadow - CRITICAL FOR ORIGINAL LOOK */
.header-dropshadow {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}

.header-dropshadow[data-header-dropshadow="true"] {
    box-shadow: 0px 12px 12px 0px rgba(0, 0, 0, 0.08);
}

/* Header background solid */
.header-background-solid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: -1;
    opacity: 1;
}

/* Header inner container */
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1vw 3.1vw;
    min-height: 80px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

/* Container fluid utility */
.container--fluid {
    width: 100%;
    padding-left: 3.1vw;
    padding-right: 3.1vw;
    margin: 0 auto;
    max-width: 1920px;
}

/* Header background theme */
.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: -1;
}

.theme-bg--primary {
    background: #fff;
}

/* ===== DESKTOP HEADER ===== */
.header-display-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-display-mobile {
    display: none;
}

/* Header layout - nav left */
.header-layout-nav-left .header-title-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header-layout-nav-left .header-nav {
    order: 1;
}

.header-layout-nav-left .header-title {
    order: 2;
    margin-left: 40px;
}

/* ===== LOGO STYLES ===== */
.header-title {
    flex-shrink: 0;
}

.header-title-logo {
    display: block;
    line-height: 0;
}

.header-title-logo a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.header-title-logo img,
.header-logo {
    display: block;
    height: 132px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

/* ===== NAVIGATION STYLES ===== */
.header-nav {
    display: flex;
    align-items: center;
}

.header-nav-wrapper {
    display: flex;
    align-items: center;
}

.header-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.header-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.header-nav-item a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-nav-item a:hover,
.header-nav-item--active a {
    color: #666;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions--right {
    justify-content: flex-end;
}

/* ===== MOBILE HEADER STYLES ===== */
.header-burger {
    display: none;
    position: relative;
    z-index: 1001;
}

.header-burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1002;
}

.burger-box {
    width: 24px;
    height: 18px;
    position: relative;
}

.burger-inner {
    position: absolute;
    width: 100%;
    height: 100%;
}

.top-bun,
.patty,
.bottom-bun {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.top-bun {
    top: 0;
}

.patty {
    top: 50%;
    transform: translateY(-50%);
}

.bottom-bun {
    bottom: 0;
}

/* Burger animation when active */
.header-burger.active .top-bun {
    transform: translateY(8px) rotate(45deg);
    background: hsla(0,0%,90.19607843%,1);
}

.header-burger.active .patty {
    opacity: 0;
    background: hsla(0,0%,90.19607843%,1);
}

.header-burger.active .bottom-bun {
    transform: translateY(-9px) rotate(-45deg);
    background: hsla(0,0%,90.19607843%,1);
}

/* ===== MOBILE MENU ===== */
.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header-menu.active {
    opacity: 1;
    visibility: visible;
}

.header-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
}

.header-menu-nav {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    padding-top: 100px;
}

.header-menu-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.header-menu-nav-item a {
    display: block;
    padding: 20px 3.1vw;
    color: #000;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.header-menu-nav-item a:hover,
.header-menu-nav-item--active a {
    color: #666;
}

.header-menu-nav-item-content {
    display: block;
}

/* Utility classes */
.showOnMobile {
    display: none;
}

.showOnDesktop {
    display: block;
}

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

/* ===== MAIN CONTENT OFFSET ===== */
#page,
.container[role="main"] {
    margin-top: calc(132px + 2vw);
    min-height: calc(100vh - 132px - 2vw);
}

/* ===== RESPONSIVE DESIGN - Matching Original Squarespace Breakpoints ===== */

/* Mobile Hidden - Show only on desktop (433px and above) */
.mobile-hidden {
    display: block;
}

/* Desktop Hidden - Show only on mobile (432px and below) */
.desktop-hidden {
    display: none;
}

/* Mobile visibility breakpoint matching original site */
@media screen and (max-width: 432px) {
    .mobile-hidden {
        display: none;
    }
    
    .desktop-hidden {
        display: block;
    }
}

/* SubDesktop Hidden - Show only on desktop (433px and above) */
@media screen and (max-width: 432px) {
    .subDesktop-hidden {
        display: none;
    }
}

@media screen and (min-width: 433px) {
    .desktop-hidden {
        display: none;
    }
}

/* ===== STANDARD TABLET/MOBILE BREAKPOINTS ===== */
@media (max-width: 1024px) {
    /* Show mobile elements */
    .header-display-desktop {
        display: none;
    }
    
    .header-display-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .header-burger {
        display: block;
    }
    
    .showOnMobile {
        display: block;
    }
    
    .showOnDesktop {
        display: none;
    }
    
    /* Adjust header padding for mobile */
    .header-inner {
        padding: 6vw 3.1vw;
        min-height: 60px;
    }
    
    /* Mobile logo sizing */
    .header-title-logo img,
    .header-logo {
        height: 30px;
        max-height: 30px;
    }
    
    /* Adjust main content offset for mobile */
    #page,
    .container[role="main"] {
        margin-top: calc(60px + 12vw);
        min-height: calc(100vh - 60px - 12vw);
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 4vw 3vw;
    }
    
    .container--fluid {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    
    .header-menu-nav-item a {
        padding: 15px 3vw;
        font-size: 14px;
    }
}

/* Typography Hierarchy */
h1, .heading-extra-large {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2, .heading-large {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h3, .heading-medium {
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h4, h5, h6, .heading-small {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paragraph text uses Roboto (already set in body) */
p, .paragraph-large, .paragraph-medium, .paragraph-small {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
}

/* Navigation uses Oswald like the original site */
.header-nav-item a {
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Button text uses Poppins */
.sqs-button-element,
.btn,
button {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
}

/* Menu items in mobile navigation */
.header-menu-nav-item a {
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
}

/* Squarespace body classes for template consistency */
body.tweak-fixed-header {
    --header-fixed-top-offset: 0px;
}

body.tweak-fixed-header-style-scroll-back {
    --header-height: auto;
}

/* Default link styles - underlined to match original Squarespace site */
a {
    text-decoration: underline;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* No underlines for UI elements - navigation, buttons, logos, etc. */
.header-title a,
.header-title-logo a,
.header-nav-item a,
.header-menu-nav-item a,
.header-burger-btn,
.header-menu-close-btn,
.sqs-button-element,
.sqs-button-element--primary,
.btn,
button,
.image-slide-anchor,
.slide a,
.gallery-item a,
.sqs-svg-icon--wrapper {
    text-decoration: none !important;
}

/* Content area links - styled like original with underlines only */
p a, 
.sqs-html-content a,
.entry-content a,
.blog-content a,
.post-content a,
.article-content a,
.page-content a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

p a:hover,
.sqs-html-content a:hover,
.entry-content a:hover,
.blog-content a:hover,
.post-content a:hover,
.article-content a:hover,
.page-content a:hover {
    color: inherit;
    text-decoration: underline;
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

/* Site Wrapper */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Site Wrapper */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.theme-bg--primary {
    background-color: #ffffff;
}

/* Header Layout - Centered */
.header-title-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.header-title {
    flex-shrink: 0;
    text-align: center;
}

.header-title-logo img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation */
.header-nav {
    flex: none;
    text-align: center;
}

.header-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

.header-nav-item {
    position: relative;
}

.header-nav-item a {
    text-decoration: none !important;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav-item a:hover,
.header-nav-item--active a {
    color: #007acc;
}

.header-nav-item--active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007acc;
}

/* Mobile Header */
.header-display-mobile {
    display: none;
}

.header-burger {
    display: none;
    cursor: pointer;
}

.header-burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-box {
    width: 24px;
    height: 18px;
    position: relative;
}


/* Mobile Menu - Exact Squarespace Style */
.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111111;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.header-menu.open {
    opacity: 1;
    visibility: visible;
}

.header-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111111;
}

.header-menu-nav {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1001;
}

.header-menu-nav-list {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.header-menu-nav-folder {
    width: 100%;
}

.header-menu-nav-folder-content {
    width: 100%;
}

.header-menu-nav-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.header-menu-nav-item {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}

.header-menu-nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 8.5vmin;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 20px 30px;
    transition: all 0.2s ease;
    width: 100%;
    min-height: 60px;
    position: relative;
}

.header-menu-nav-item a:hover,
.header-menu-nav-item--active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.header-menu-nav-item-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: transform 0.2s ease;
}

.header-menu-nav-item a:hover .header-menu-nav-item-content {
    transform: translateX(2px);
}

/* Main Content */
main {
    flex: 1;
}

/* Button Styles */
.sqs-button-element--primary {
    background: #007acc;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #007acc;
    margin: 5px;
}

.sqs-button-element--primary:hover {
    background: #005c99;
    border-color: #005c99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Gallery Styles */
.sqs-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.slide {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide:hover {
    transform: translateY(-5px);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

fieldset {
    border: none;
}

.image-slide-anchor {
    display: block;
    width: 100%;
    height: 100%;
}

/* Service Items */
.service-item {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Service item headings use Oswald for strong emphasis */
.service-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Service item text uses Roboto */
.service-item p {
    color: #666;
    line-height: 1.6;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
}

/* Additional specific selectors to ensure complete coverage */
.site-title,
.header-title,
.site-header-title {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
}

/* Form elements use Poppins */
input, 
textarea, 
select,
.form-field,
.field-element {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

/* Footer text uses Roboto */
.footer,
.footer p,
.footer-text,
.sqs-html-content p {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
}

/* Blog and content areas */
.blog-title,
.entry-title,
.post-title {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.blog-content,
.entry-content,
.post-content {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
}

/* Meta information uses Poppins */
.meta,
.metadata,
.blog-meta,
.post-meta,
.entry-meta {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 0.9em;
}

/* Video Background Specific Styles */
.sqs-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.sqs-video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-display-desktop {
        display: none;
    }
    
    .header-display-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .header-burger {
        display: block;
    }
    
    .header-title-logo img {
        height: 50px;
    }
    
    .header-inner {
        padding: 10px 20px;
    }
    
    
    .sqs-gallery-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-item {
        padding: 20px 15px;
        margin: 10px 0;
    }
}

/* Music page styles */
.music-page {
    padding: 20px;
}

.music-credits {
    margin-bottom: 20px;
}

.music-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.music-playlist-links {
    margin-bottom: 20px;
}

.music-playlist-links div {
    margin-bottom: 10px;
}

.music-left-column {
    width: 100%;
}

.music-embed {
    margin-bottom: 30px;
}

.music-embed iframe {
    border-radius: 12px;
}

.music-youtube .intrinsic {
    max-width: 100%;
}

.music-youtube .embed-block-wrapper {
    padding-bottom: 56.27198%;
}

.music-right-column {
    /* Right column specific styles if needed */
}

.music-right-text {
    text-align: center;
    white-space: pre-wrap;
    margin-bottom: 30px;
}

.music-tidal-embed {
    margin-bottom: 30px;
}

.music-tidal-embed iframe,
.music-tidal-iframe {
    width: 100%;
    max-width: 100%;
}

.music-main-spotify .intrinsic {
    max-width: 100%;
}

.music-main-spotify .embed-block-wrapper {
    padding-bottom: 77.19298%;
}

.music-main-spotify iframe {
    border-radius: 12px;
}

.music-additional-spotify iframe {
    border-radius: 12px;
}

/* Dark theme for video section */
.dark {
    background: #000;
    color: #fff;
}

/* Text shadow for better readability over video */
.dark h1,
.dark h2,
.dark h3,
.dark p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

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

/* Squarespace Color Variables */
:root {
    --white-hsl: 0,0%,100%;
    --accent-hsl: 30.58823529,33.33333333%,70%;
    --darkAccent-hsl: 0,0%,18.82352941%;
    --black-hsl: 0,0%,0%;
    --lightAccent-hsl: 30.58823529,33.33333333%,94%;
}

/* Footer Styles - Squarespace Exact Match */
footer.sections {
    background: hsla(var(--accent-hsl), 1);
    color: hsla(var(--white-hsl), 1);
    margin-top: auto;
    position: relative;
    z-index: 100;
}

.page-section.black {
    background: hsla(var(--accent-hsl), 1);
    color: hsla(var(--white-hsl), 1);
    min-height: 10vh;
}

/* Only apply accent background to footer sections */
.page-section.black .section-background {
    background: hsla(var(--accent-hsl), 1);
}

/* Homepage section should have white background */
.page-section.dark .section-background {
    background: hsla(var(--white-hsl), 1);
}

/* Footer specific content-wrapper styling */
footer .content-wrapper {
    padding-top: calc(4vmax / 10);
    padding-bottom: calc(4vmax / 10);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content {
    padding: 10px;
}

.sqs-layout.sqs-grid-12.columns-12 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.sqs-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
}

.sqs-col-12.span-12 {
    width: 100%;
    text-align: center;
}

/* Squarespace Social Icons Styling */
.sqs-block.socialaccountlinks-v2-block {
    margin-bottom: 20px;
}

.sqs-svg-icon--outer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sqs-svg-icon--list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sqs-svg-icon--wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    box-shadow: 0 0 0 2px inset;
    border: none;
    position: relative;
    z-index: 110;
    pointer-events: auto;
}

.sqs-svg-icon--wrapper:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.sqs-svg-icon--wrapper div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sqs-svg-icon--social {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sqs-svg-icon--wrapper:hover .sqs-svg-icon--social {
    fill: currentColor;
}

/* Social Icons Specific Classes */
.social-icon-alignment-center {
    text-align: center;
    justify-content: center;
}

.social-icons-size-small .sqs-svg-icon--wrapper {
    width: 40px;
    height: 40px;
}

.social-icons-shape-circle .sqs-svg-icon--wrapper {
    border-radius: 50%;
}

.social-icons-style-border .sqs-svg-icon--wrapper {
    box-shadow: 0 0 0 2px inset;
    border: none;
}

/* HTML Block for Contact Text */
.sqs-block.html-block {
    margin-top: 20px;
}

.sqs-html-content {
    color: hsla(var(--white-hsl), 1);
}

.sqs-html-content p {
    color: hsla(var(--white-hsl), 1);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: pre-wrap;
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer .content-wrapper {
        padding-top: calc(3vmax / 10);
        padding-bottom: calc(3vmax / 10);
    }
    
    .sqs-layout.sqs-grid-12.columns-12 {
        padding: 0 15px;
    }
    
    .sqs-svg-icon--list {
        gap: 12px;
    }
    
    .sqs-svg-icon--wrapper {
        width: 35px;
        height: 35px;
    }
    
    .sqs-svg-icon--social {
        width: 16px;
        height: 16px;
    }
    
    .sqs-html-content p {
        font-size: 12px;
        padding: 0 10px;
    }
}

/* Mobile Menu Close Button */
.header-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1002;
}

.header-menu-close-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: opacity 0.2s ease;
}

.header-menu-close-btn:hover {
    opacity: 0.7;
}

.header-menu-close-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #000;
    top: 50%;
    left: 0;
    transform-origin: center;
}

.close-line-1 {
    transform: translateY(-50%) rotate(45deg);
}

.close-line-2 {
    transform: translateY(-50%) rotate(-45deg);
}

/* Contact Page Styles */
.contact-page {
    padding: 60px 20px;
    min-height: 70vh;
    max-width: 95vw;
    margin: 0 auto;
}

.contact-content {
    width: 100%;
    margin: 0 auto;
}

.whatsapp-contact {
    text-align: center;
    margin-bottom: 40px;
}

.whatsapp-contact p {
    white-space: pre-wrap;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form-title {
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

/* Form Success/Error Messages */
.success-message {
    margin-bottom: 20px;
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    text-align: center;
}

.error-message {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group fieldset {
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.form-group legend {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    padding: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* Name Field Specific */
.name-fields {
    display: flex;
    gap: 10px;
}

.name-field {
    flex: 1;
}

.name-field label {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Form Inputs */
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-textarea {
    resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-item {
    margin-bottom: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-text {
    font-size: 14px;
}

/* Required Versions specific */
.required-versions legend {
    margin-bottom: 10px;
}

.notes-section {
    margin-bottom: 30px;
}

/* Submit Button */
.submit-section {
    text-align: left;
}

.submit-button {
    background: #000;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #333;
}

/* Hidden Success Message */
#success-message {
    display: none;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

/* Page-specific CSS for other pages */
.page-container {
    padding: 60px 20px;
    min-height: 70vh;
    max-width: 95vw;
    margin: 0 auto;
}

.page-content {
    width: 100%;
    margin: 0 auto;
}

.page-title {
    margin-bottom: 30px;
    text-align: center;
}

.page-section {
    margin-bottom: 40px;
    text-align: center;
}

.page-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.page-list li {
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* Music Page Styles */
.music-page {
    padding: 60px 20px;
    min-height: 70vh;
}

.music-credits {
    text-align: center;
    margin-bottom: 40px;
}

.music-credits p {
    text-align: center;
    white-space: pre-wrap;
    margin-bottom: 20px;
}

.music-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.music-left-column {
    display: flex;
    flex-direction: column;
}

.music-playlist-links {
    display: grid;
    grid-template-columns: 3fr 4fr;
    gap: 20px;
    margin-bottom: 20px;
}

.music-playlist-links p {
    text-align: center;
    white-space: pre-wrap;
}

.music-embed {
    margin-bottom: 30px;
}

.music-embed iframe {
    border-radius: 12px;
    width: 100%;
}

.music-youtube {
    max-width: 100%;
}

.music-youtube .embed-block-wrapper {
    padding-bottom: 56.27198%;
}

.music-right-column {
    display: flex;
    flex-direction: column;
}

.music-right-column p {
    text-align: center;
    white-space: pre-wrap;
    margin-bottom: 30px;
}

.music-tidal iframe {
    width: 100%;
    max-width: 100%;
}

.music-spotify-main .embed-block-wrapper {
    padding-bottom: 77.19298%;
}

.music-spotify-main iframe {
    border-radius: 12px;
    width: 100%;
}

/* Responsive Design for Music Page */
@media (max-width: 968px) {
    .music-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .music-playlist-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .music-page {
        padding: 40px 15px;
    }
}

/* Responsive Design for Form */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 15px;
    }
    
    .name-fields {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-button {
        width: 100%;
        padding: 15px;
    }
}

/* === PAGE CONTENT STYLES === */

/* Common page container styles */
.page-container {
    padding: 60px 20px;
    min-height: 70vh;
}

.page-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-text {
    white-space: pre-wrap;
    margin-bottom: 20px;
}

.page-text-small-margin {
    white-space: pre-wrap;
    margin-bottom: 15px;
}

.page-text-tiny-margin {
    white-space: pre-wrap;
    margin-bottom: 10px;
}

.page-text-center {
    text-align: center;
    white-space: pre-wrap;
}

/* Page specific styles */
.why-mastering-container {
    padding: 60px 20px;
    min-height: 70vh;
}

.gear-list-title {
    text-align: center;
    white-space: pre-wrap;
    margin-bottom: 30px;
}

.gear-list-section {
    white-space: pre-wrap;
    margin-bottom: 20px;
}

.gear-list-items {
    margin-bottom: 30px;
}

.gear-list-items li p {
    white-space: pre-wrap;
    margin-bottom: 10px;
}

.plugins-container {
    padding: 60px 20px;
    min-height: 70vh;
}

.plugins-content {
    text-align: center;
}

.plugins-text {
    white-space: pre-wrap;
}

/* About Me page styles */
.aboutme-container {
    padding: 60px 20px;
    min-height: 70vh;
}

.aboutme-header {
    text-align: center;
    margin-bottom: 40px;
}

.aboutme-title {
    text-align: center;
    white-space: pre-wrap;
}

.aboutme-image-container {
    text-align: center;
    margin-bottom: 40px;
}

.aboutme-image-wrapper {
    display: inline-block;
    max-width: 467px;
    width: 100%;
}

.aboutme-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.aboutme-credits {
    text-align: center;
    white-space: pre-wrap;
}

/* Namae page styles */
.namae-container {
    padding: 60px 20px;
    min-height: 70vh;
}

.namae-header {
    margin-bottom: 40px;
}

.namae-title {
    text-align: center;
    white-space: pre-wrap;
}

.namae-images-container {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.namae-image-wrapper {
    flex: 1;
    max-width: 48%;
    min-width: 300px;
}

.namae-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* === END PAGE CONTENT STYLES === */

/* Header Logo */
.header-logo {
    display: block;
}

/* Footer Section Specific */
.footer-section {
    min-height: 10vh;
}

.footer-contact-text {
    text-align: center;
    white-space: pre-wrap;
}

/* === END ADDITIONAL STYLES === */


/* === Custom updates (2025-09-10) === */
/* Wider spacing across header nav on desktop */
@media (min-width: 1024px) {
  .header-nav-list { justify-content: space-between; gap: 32px; }
  .header-inner { padding-left: 4vw; padding-right: 4vw; }
}

/* Fix mobile 'Listen' button clipping on homepage */
@media (max-width: 768px) {
  .homepage .page-section { overflow: visible; }
  .sqs-button-element--tertiary { display: inline-block; }
  .button-wrapper-left, .button-wrapper-right { overflow: visible !important; }
}

/* Remove rounded corners from homepage gallery slides/images */
.homepage .slide, .homepage .slide img { border-radius: 0 !important; }

/* Make specific pages justified and full width */
.page-justify-full .page-content-wrapper { max-width: none !important; width: 100%; padding-left: 3.1vw; padding-right: 3.1vw; }
.page-justify-full .page-text, 
.page-justify-full .page-text-tiny-margin, 
.page-justify-full p { text-align: justify; }

/* Music page: tidy playlist grid and normalize iframe sizes */
.music-page .music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; align-items: start; }
.music-page .music-embed iframe { width: 100% !important; height: 380px !important; border: 0; }
@media (max-width: 600px) {
  .music-page .music-embed iframe { height: 352px !important; }
}


/* === Fix pass 2 (2025-09-10) === */
/* Prevent horizontal overflow on all pages */
html, body { max-width: 100%; overflow-x: hidden; }

/* Header nav spacing more horizontal */
@media (min-width: 1024px) {
  .header-nav-list { justify-content: center; gap: 4vw !important; }
}

/* MUSIC PAGE LAYOUT */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;                 /* controls space between embeds */
    align-items: start;
}

/* Each embed/playlist box */
.music-embed {
    background: #000;            /* optional: keeps dark background even if iframe transparent */
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 380px;               /* FIXED height for uniformity */
}

/* Force all iframes to fill their box */
.music-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* Home mobile images not cut */
@media (max-width: 768px) {
  .homepage .sqs-gallery-container, .homepage .sqs-gallery {
     flex-wrap: wrap !important;
     overflow: visible !important;
  }
  .homepage .slide img {
     width: auto !important;
     height: auto !important;
     max-width: 100% !important;
     max-height: 100% !important;
     object-fit: contain !important;
  }
}


/* === Custom modifications === */
.playlists {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.playlist-item {
  width: 100%;
  height: 200px;           /* equal height */
  object-fit: cover;       /* for images */
  text-align: center;
}
.playlist-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
footer .social-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.home-section img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
/* --- Music Page Grid Override --- */
.music-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Every embed container equal height */
.music-embed {
    width: 100% !important;
    height: 380px !important;     /* pick one uniform height */
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Make iframes fill the box */
.music-embed iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}
.music-embed {
    margin-bottom: 0.5rem;   /* tiny vertical space */
}