/* ============================================
   DESIGN SYSTEM - Brother James Portfolio
   Vanilla CSS Version
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors */
    --color-cream: #ece8dc;
    --color-cream-light: #F9F3E7;
    --color-charcoal: #332e2a;
    --color-blue: #545E68;
    --color-yellow: #9F7A4E;
    --color-red: #853D3E;
    --color-green: #606C59;
    --color-brown: #a26e47;

    /* Typography */
    --font-heading: 'EB Garamond', 'Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;

    /* Shadows */
    --shadow-subtle: 0 1px 3px rgba(51, 46, 42, 0.04);
    --shadow-lift: 0 12px 40px rgba(51, 46, 42, 0.12);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-lift: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.6;
    min-height: 100vh;
    /* Paper texture effect */
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(159, 122, 78, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(96, 108, 89, 0.03) 0%, transparent 50%);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

::selection {
    background-color: var(--color-red);
    color: white;
}

.brotherjames-page ::selection {
    background-color: var(--color-green);
    color: white;
}

.studio-page ::selection {
    background-color: var(--color-blue);
    color: white;
}

.stage-page ::selection {
    background-color: var(--color-red);
    color: white;
}

.websites-page ::selection {
    background-color: var(--color-yellow);
    color: white;
}

.words-page ::selection {
    background-color: var(--color-cream);
    color: var(--color-charcoal);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
}

/* Mobile-only elements — hidden on desktop */
.mobile-only {
    display: none;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 1.5rem 2rem;
    }
}

/* Social Header */
.social-header {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .social-header {
        max-width: 100%;
        padding: 1rem 2rem;
    }
}

/* Match header width to bento grid (container width) */
@media (min-width: 768px) {
    .social-header {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.btn-contact {
    background: var(--color-red);
    border: none;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-cream);
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contact:hover {
    background: rgba(133, 61, 62, 0.8);
    transform: translateY(-2px);
}

.btn-see-more {
    background: rgba(51, 46, 42, 0.1);
    color: var(--color-charcoal);
    border: 1px solid rgba(51, 46, 42, 0.2);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-see-more:hover {
    background: rgba(51, 46, 42, 0.15);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.social-icons a {
    color: rgba(51, 46, 42, 0.3);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: var(--color-charcoal);
}

/* Header social icons - larger and with right margin */
.home-mode-only .social-icons a {
    font-size: 1.2rem;
    margin-right: 20px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* ============================================
   CARDS - BASE STYLES
   ============================================ */

.card {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-lift);
    border: 1px solid rgba(51, 46, 42, 0.08);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

/* Animation on load */
.card[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

.card:nth-child(5) {
    animation-delay: 0.5s;
}

.card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-image {
    position: absolute;
    inset: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(51, 46, 42, 0) 0%,
            rgba(51, 46, 42, 0.5) 100%);
    pointer-events: none;
}

.card-overlay-horizontal {
    background: linear-gradient(to right,
            rgba(51, 46, 42, 0.85) 0%,
            rgba(51, 46, 42, 0.4) 100%);
}

.card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .card-content {
        padding: 2rem;
    }
}

.card-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(249, 243, 231, 0.8);
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.75rem;
    color: var(--color-cream-light);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 2.5rem;
    }
}

.card-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(249, 243, 231, 0.8);
}

.card-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(249, 243, 231, 0.6);
    line-height: 1.6;
    margin-top: 0.75rem;
}

.card-description-italic {
    font-style: italic;
}

.card-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 1rem;
    color: rgba(249, 243, 231, 0.7);
}

.card-icon-top-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin-bottom: 0;
}

.icon-blue {
    color: var(--color-blue);
}

.icon-yellow {
    color: var(--color-yellow);
}

.icon-red {
    color: var(--color-red);
}

.icon-green {
    color: var(--color-green);
}

.icon-brown {
    color: var(--color-brown);
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    background-color: rgba(249, 243, 231, 0.1);
    color: rgba(249, 243, 231, 0.9);
}

.tag-tech {
    font-family: var(--font-mono);
    background-color: rgba(162, 110, 71, 0.1);
    color: var(--color-brown);
    border: 1px solid rgba(162, 110, 71, 0.2);
}

/* Accent Lines */
.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    opacity: 0.8;
}

.card-accent-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.card-accent-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.card-accent-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
    opacity: 0.1;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.accent-blue {
    background-color: var(--color-blue);
}

.accent-yellow {
    background-color: var(--color-yellow);
}

.accent-red {
    background-color: var(--color-red);
}

.accent-green {
    background-color: var(--color-green);
}

.accent-brown {
    background-color: var(--color-brown);
}

.accent-cream {
    background-color: var(--color-cream);
}

/* ============================================
   HERO CARD
   ============================================ */

.card-hero {
    min-height: 600px;
}

@media (min-width: 768px) {
    .card-hero {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        min-height: 300px;
    }
}

.card-hero .card-title {
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    .card-hero .card-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .card-hero .card-title {
        font-size: 4rem;
    }
}

/* ============================================
   ARTIST CARD (Brother James)
   ============================================ */

.card-artist {
    min-height: 400px;
}

@media (min-width: 768px) {
    .card-artist {
        grid-column: 3;
        grid-row: 1 / 5;
        min-height: auto;
    }
}

.card-content-top {
    justify-content: flex-start;
    padding-top: 1.5rem;
}

.card-artist .card-link {
    display: block;
    height: 100%;
}

.card-artist .card-image img {
    object-position: top center;
}

.card-link-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    color: rgba(249, 243, 231, 0.7);
    transition: opacity 0.3s ease;
}

.card-artist:hover .card-link-icon {
    opacity: 1;
}

/* ============================================
   PRODUCER CARD
   ============================================ */

.card-producer {
    min-height: 280px;
    background-color: var(--color-cream-light);
}

@media (min-width: 768px) {
    .card-producer {
        grid-column: 2;
        grid-row: 3 / 5;
    }
}

.card-bg-image {
    position: absolute;
    inset: 0;
    opacity: 0.12;
}

.card-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-producer .card-title,
.card-producer .card-subtitle {
    color: var(--color-charcoal);
}

.card-producer .card-subtitle {
    color: rgba(51, 46, 42, 0.7);
}

.card-hint {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(51, 46, 42, 0.5);
    margin-top: auto;
}

.card-producer .card-content-default {
    position: relative;
    transition: opacity 0.3s ease;
}

.card-producer .card-content-hover {
    position: absolute;
    inset: 0;
    background-color: var(--color-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .card-producer .card-content-hover {
        padding: 2rem;
    }
}

.card-producer:hover .card-content-default {
    opacity: 0;
}

.card-producer:hover .card-content-hover {
    opacity: 1;
}

.credits-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-cream-light);
    margin-bottom: 1rem;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credit-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.credit-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-cream-light);
}

.credit-type {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(249, 243, 231, 0.7);
}

/* ============================================
   DEVELOPER CARD
   ============================================ */

.card-developer {
    min-height: 280px;
    background-color: var(--color-charcoal);
}

@media (min-width: 768px) {
    .card-developer {
        grid-column: 1;
        grid-row: 3 / 5;
    }
}

.card-code-bg {
    position: absolute;
    inset: 0;
    padding: 1rem;
    opacity: 0.06;
    overflow: hidden;
}

.card-code-bg pre {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cream-light);
    white-space: pre-wrap;
    line-height: 1.6;
}

.card-accent-dot {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 10px;
    height: 10px;
    background-color: var(--color-brown);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.card-developer .card-tags {
    margin-top: auto;
}

.card-cursor {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-brown);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-developer:hover .card-cursor {
    opacity: 1;
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ============================================
   WRITER CARD
   ============================================ */

.card-writer {
    min-height: 250px;
    background-color: var(--color-cream-light);
}

@media (min-width: 768px) {
    .card-writer {
        grid-column: 1;
        grid-row: 5 / 7;
    }
}

.card-quote {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(51, 46, 42, 0.05);
    line-height: 1;
    user-select: none;
}

.card-writer .card-title,
.card-writer .card-subtitle {
    color: var(--color-charcoal);
}

.card-writer .card-subtitle {
    color: rgba(51, 46, 42, 0.7);
}

.card-writer .card-description {
    color: rgba(51, 46, 42, 0.5);
    margin-top: auto;
}

/* ============================================
   WEDDINGS CARD
   ============================================ */

.card-weddings {
    min-height: 200px;
}

@media (min-width: 768px) {
    .card-weddings {
        grid-column: 2 / 4;
        grid-row: 5 / 7;
    }
}

.card-weddings .card-content {
    justify-content: center;
}

.card-weddings .card-image img {
    object-position: top center;
}

.card-partner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-partner span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(249, 243, 231, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(51, 46, 42, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 3rem;
    }
}

.footer-credit {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(51, 46, 42, 0.6);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(51, 46, 42, 0.5);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-charcoal);
}

/* ============================================
   MODAL — Premium Frosted Glass
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(51, 46, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(51, 46, 42, 0.06);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    color: rgba(51, 46, 42, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(51, 46, 42, 0.12);
    color: var(--color-charcoal);
}

.modal-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--color-charcoal);
}

.modal-header p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.55);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(51, 46, 42, 0.5);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-charcoal);
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(51, 46, 42, 0.3);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23999%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem top 50%;
    background-size: 0.6rem auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(51, 46, 42, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(51, 46, 42, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.75rem;
}

.btn-submit:hover {
    background-color: rgba(51, 46, 42, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 46, 42, 0.2);
}



.footer-tech {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(51, 46, 42, 0.3);
}

/* ============================================
   SITE FOOTER
   ============================================ */

.site-footer {
    margin-top: 3rem;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(51, 46, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-icons-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icons-footer a {
    color: rgba(51, 46, 42, 0.4);
    font-size: 1rem;
    transition: color 0.2s ease;
}

.social-icons-footer a:hover {
    color: var(--color-charcoal);
}

/* Social Icons Expand/Collapse */
.btn-social-expand {
    background: none;
    border: none;
    color: rgba(51, 46, 42, 0.4);
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1em;
    width: 1em;
}

.btn-social-expand:hover {
    color: var(--color-charcoal);
}

.btn-social-expand.hidden {
    display: none;
}

.social-icons-expanded {
    display: none;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.social-icons-expanded.visible {
    display: flex;
}

.social-icons-expanded a {
    color: rgba(51, 46, 42, 0.4);
    font-size: 1rem;
    transition: color 0.2s ease;
}

.social-icons-expanded a:hover {
    color: var(--color-charcoal);
}

/* Prominent social icons styling */
.social-icon-prominent {
    color: rgba(51, 46, 42, 0.6) !important;
    font-weight: 500;
}

.social-icon-prominent:hover {
    color: var(--color-charcoal) !important;
}

.copyright {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: rgba(51, 46, 42, 0.7);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: rgba(51, 46, 42, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 46, 42, 0.3);
}

/* ============================================
   SUBTLE BACKGROUND IMAGE (for Writer card)
   ============================================ */

.card-bg-subtle {
    opacity: 0.08;
}

/* ============================================
   CARD HOVER & CLICK OVERLAY STATES
   ============================================ */

/* Base state - always visible until hover/click */
.card-content-base {
    transition: opacity 0.3s ease;
}

/* Hover State — Apple-style frosted glass */
.card-hover-state {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-hover-state {
    opacity: 1;
    visibility: visible;
}

.card.click-active .card-hover-state {
    opacity: 0;
    visibility: hidden;
}

.card-hover-state h3,
.card-hover-state h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    text-align: center;
}

.card-hover-state h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.5;
    font-family: var(--font-body);
    font-weight: 500;
}

.hover-list {
    list-style: none;
    text-align: center;
}

.hover-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-charcoal);
    padding: 0.35rem 0;
}

.hover-list-compact li {
    font-size: 0.82rem;
    padding: 0.25rem 0;
    opacity: 0.7;
}

.hover-list li i {
    color: rgba(51, 46, 42, 0.4);
    margin-right: 0.4rem;
    width: 16px;
    font-size: 0.8rem;
}

.hover-hint {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(51, 46, 42, 0.35);
    margin-top: 1.25rem;
}

.hover-bio {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(51, 46, 42, 0.8);
    text-align: center;
    max-width: 380px;
}

/* Click State - detailed options */
.card-click-state {
    position: absolute;
    inset: 0;
    background: var(--color-cream-light);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.card.click-active .card-click-state {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.card.click-active:hover {
    transform: none;
}

.click-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: rgba(51, 46, 42, 0.05);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    color: rgba(51, 46, 42, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.click-close:hover {
    background: rgba(51, 46, 42, 0.1);
    color: var(--color-charcoal);
}

.card-click-state h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.click-desc-main {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(51, 46, 42, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.click-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: auto;
}

.click-options-vertical {
    grid-template-columns: 1fr;
}

.click-options-horizontal {
    grid-template-columns: 1fr 1fr;
}

.click-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(51, 46, 42, 0.03);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.click-option:hover {
    background: rgba(51, 46, 42, 0.06);
    border-color: rgba(51, 46, 42, 0.15);
    transform: translateX(3px);
}

.click-icon {
    font-size: 1.25rem;
    margin-bottom: 0;
    margin-right: 0.5rem;
}

.click-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.click-desc {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(51, 46, 42, 0.5);
    margin-top: 0.15rem;
}

/* Credits grid for producer */
.credits-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.credit-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(51, 46, 42, 0.08);
}

.credit-row span:first-child {
    font-weight: 500;
    color: var(--color-charcoal);
}

.credit-row span:last-child {
    color: rgba(51, 46, 42, 0.5);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

/* Hero card specific adjustments */
.card-hero .card-click-state {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-hero .card-click-state h3 {
    padding-right: 0;
    margin-bottom: 1.5rem;
}

.card-hero .click-options {
    max-width: 320px;
    margin-top: 0;
}

/* Disable hover lift when click state is active */
.card.click-active {
    transform: none !important;
    box-shadow: var(--shadow-lift) !important;
}

/* ============================================
   SECTION-SPECIFIC HOVER/CLICK STYLES
   ============================================ */

/* Developer - Frosted Code Feel */
.card-hover-dev {
    background: rgba(245, 242, 236, 0.78);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    font-family: var(--font-mono);
}

.hover-code-prompt {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--color-brown);
    margin-bottom: 1rem;
}

.prompt-caret {
    color: var(--color-brown);
    animation: blink 1s step-end infinite;
}

.card-hover-dev .hover-list li {
    font-family: var(--font-body);
    color: var(--color-charcoal);
}

.card-hover-dev .hover-list li i {
    margin-right: 0.5rem;
    color: var(--color-brown);
    opacity: 0.6;
    width: 16px;
}

.click-state-dev {
    border-left: 3px solid var(--color-brown);
}

/* Producer - Frosted Studio Feel */
.card-hover-producer {
    background: rgba(245, 242, 236, 0.75);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

.card-hover-producer h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(51, 46, 42, 0.4);
    margin-bottom: 0.75rem;
}

.hover-credits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.credit-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-charcoal);
    padding: 0.35rem 0.75rem;
    background: rgba(51, 46, 42, 0.06);
    border-radius: 100px;
}

.click-state-producer {
    border-left: 3px solid var(--color-blue);
}

/* Artist (Brother James) - Frosted Warm Feel */
.card-hover-artist {
    background: rgba(245, 242, 236, 0.75);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
}

.card-hover-artist .hover-bio {
    font-style: italic;
    max-width: 340px;
    color: rgba(51, 46, 42, 0.75);
}



.artist-header {
    margin-bottom: 1rem;
}

.artist-header h3 {
    margin-bottom: 0.25rem;
}

.click-tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(51, 46, 42, 0.6);
}

.artist-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(51, 46, 42, 0.1);
}

.click-option-primary {
    background: var(--color-green) !important;
    border-color: var(--color-green) !important;
    color: var(--color-cream-light) !important;
}

.click-option-primary .click-label,
.click-option-primary .click-icon-inline {
    color: var(--color-cream-light) !important;
}

.click-option-primary:hover {
    background: rgba(96, 108, 89, 0.85) !important;
    transform: none;
}

/* Cream colored button */
.click-option-cream {
    background: var(--color-cream) !important;
    border-color: var(--color-cream) !important;
    color: var(--color-charcoal) !important;
}

.click-option-cream .click-label,
.click-option-cream .click-icon-inline {
    color: var(--color-charcoal) !important;
}

.click-option-cream:hover {
    background: rgba(236, 232, 220, 0.85) !important;
    transform: none;
}

/* Tan/Light brown colored button */
.click-option-tan {
    background: var(--color-brown) !important;
    border-color: var(--color-brown) !important;
    color: var(--color-cream-light) !important;
}

.click-option-tan .click-label,
.click-option-tan .click-icon-inline {
    color: var(--color-cream-light) !important;
}

.click-option-tan:hover {
    background: rgba(162, 110, 71, 0.85) !important;
    transform: none;
}

.artist-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.artist-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 46, 42, 0.05);
    border-radius: 50%;
    color: rgba(51, 46, 42, 0.5);
    transition: all 0.2s ease;
    font-size: 1rem;
}

.artist-link:hover {
    background: rgba(51, 46, 42, 0.1);
    color: var(--color-charcoal);
}

/* Writer - Frosted Warm Feel */
.card-hover-writer {
    background: rgba(248, 245, 239, 0.78);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

.hover-quote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(51, 46, 42, 0.7);
    text-align: center;
    max-width: 280px;
    line-height: 1.5;
}

.click-state-writer {
    border-left: 3px solid var(--color-cream);
}

/* Weddings - Frosted Warm Feel */
.card-hover-weddings {
    background: rgba(248, 244, 240, 0.78);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
}

.hover-wedding-icon {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.card-hover-weddings .hover-list li i {
    margin-right: 0.5rem;
    color: var(--color-red);
    opacity: 0.5;
    width: 16px;
}

.click-state-weddings {
    border-left: 3px solid var(--color-red);
}

/* Inline icons in click options */
.click-icon-inline {
    font-size: 0.75rem;
    margin-right: 0.5rem;
    opacity: 0.6;
}

/* Font Awesome icon sizing in cards */
.card-icon.fa-solid,
.card-icon.fa-regular {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* ============================================
   LISTEN SECTION
   ============================================ */

.listen-section {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    background-color: transparent;
    text-align: center;
    border: none;
    border-top: 1px solid rgba(51, 46, 42, 0.08);
}

/* Combined Listen & Mailing List Container - Now Stacked */
.listen-mailing-combined {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.listen-section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Tab Switcher */
.listen-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    justify-content: center;
    background: rgba(51, 46, 42, 0.04);
    padding: 0.375rem;
    border-radius: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.listen-tab {
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(51, 46, 42, 0.6);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.listen-tab:hover {
    color: var(--color-charcoal);
    background: rgba(51, 46, 42, 0.05);
}

.listen-tab.active {
    background: var(--color-cream);
    color: var(--color-charcoal);
    box-shadow: 0 2px 8px rgba(51, 46, 42, 0.1);
}

/* Tab Content */
.listen-tab-content {
    display: none;
}

.listen-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0.8;
    }

    to {
        opacity: 1;
    }
}

/* Controls Layout - Slider on left, embeds on right */
.listen-controls {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.listen-slider-control {
    flex: 0 0 auto;
    min-width: 180px;
}

/* Platform Slider - HIDDEN */
.platform-slider {
    display: none;
}

/* Slider Buttons */
.slider-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slider-button {
    padding: 0.5rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-charcoal);
    background: rgba(51, 46, 42, 0.08);
    border: 1px solid rgba(51, 46, 42, 0.12);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.slider-button:hover {
    background: rgba(51, 46, 42, 0.12);
    border-color: rgba(51, 46, 42, 0.15);
}

.slider-button.active {
    background: var(--color-charcoal);
    color: var(--color-cream);
    border-color: var(--color-charcoal);
}

/* Compact Embeds - Right side */
.listen-embeds-compact {
    flex: 1;
    min-width: 300px;
}

.listen-embed {
    display: none;
}

.listen-embed.active {
    display: block;
}

.listen-embed iframe {
    max-width: 100%;
    min-height: 352px;
}

/* Responsive */
@media (max-width: 768px) {
    .listen-mailing-combined {
        padding: 0 1rem;
    }

    .listen-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .listen-slider-control {
        min-width: 100%;
    }

    .listen-embeds-compact {
        min-width: 100%;
    }

    .slider-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .slider-button {
        flex: 1;
        min-width: 100px;
    }
}

/* ============================================
   LISTEN EMBEDS
   ============================================ */

.listen-embeds.expanded {
    margin-top: 1.5rem;
    max-height: 600px;
    padding: 1.5rem 0;
}

.listen-embed {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listen-embed.active {
    display: block;
    opacity: 1;
}

.listen-embed iframe {
    border-radius: 6px;
}

/* ============================================
   MAILING LIST SIGNUP
   ============================================ */

.mailing-signup {
    margin-top: 0;
    margin-bottom: 0;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    background: transparent;
    border-top: 1px solid rgba(51, 46, 42, 0.08);
    border-bottom: none;
    text-align: center;
}

.mailing-signup h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.signup-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.signup-content p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(51, 46, 42, 0.65);
    margin-bottom: 0.9rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.signup-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.signup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    border: 1px solid rgba(51, 46, 42, 0.15);
    border-radius: 3px;
    background: var(--color-cream-light);
    color: var(--color-charcoal);
}

.signup-form input:focus {
    outline: none;
    border-color: var(--color-yellow);
}

.signup-form button {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-red);
    color: var(--color-cream-light);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.signup-form button:hover {
    background: rgba(133, 61, 62, 0.9);
}

/* Inline signup (in Brother James click state) */
.inline-signup {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(51, 46, 42, 0.08);
}

.inline-signup .signup-label {
    color: var(--color-charcoal);
}

.signup-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(51, 46, 42, 0.5);
    margin-bottom: 0.5rem;
}

.signup-form-inline {
    display: flex;
    gap: 0.5rem;
}

.signup-form-inline input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    border: 1px solid rgba(51, 46, 42, 0.12);
    border-radius: 2px;
    background: rgba(51, 46, 42, 0.02);
}

.signup-form-inline button {
    padding: 0.5rem 0.75rem;
    background: var(--color-green);
    color: var(--color-cream-light);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.signup-form-inline button:hover {
    background: rgba(96, 108, 89, 0.85);
}

/* ============================================
   ALBUM COVER
   ============================================ */

.album-cover {
    display: block;
    max-width: 120px;
    margin: 0 auto 1rem;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.album-cover:hover {
    transform: scale(1.03);
}

.album-cover img {
    width: 100%;
    height: auto;
}

/* ============================================
   CASE STUDIES (Developer)
   ============================================ */

.case-studies-btn {
    margin-bottom: 1rem;
}

.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-study-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(162, 110, 71, 0.05);
    border-radius: 2px;
    transition: background 0.2s ease;
}

.case-study-link:hover {
    background: rgba(162, 110, 71, 0.1);
}

.case-study-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-brown);
}

.case-study-link i {
    font-size: 0.65rem;
    color: rgba(51, 46, 42, 0.4);
}

/* ============================================
   LONG CREDITS LIST (Producer)
   ============================================ */

.credits-long-list {
    list-style: none;
    margin-bottom: 1rem;
    max-height: 180px;
    overflow-y: auto;
}

.credits-long-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(51, 46, 42, 0.06);
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.credits-long-list li:last-child {
    border-bottom: none;
}

.credit-artist {
    color: var(--color-charcoal);
    font-weight: 500;
}

.credit-role {
    color: rgba(51, 46, 42, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Credits Paragraph (Producer) */
.credits-paragraph {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(51, 46, 42, 0.8);
    margin-bottom: 1rem;
}

/* ============================================
   HERO CLICK OPTIONS - 2x2 Grid
   ============================================ */

.click-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 280px;
}

.click-option-compact {
    padding: 0.75rem 1rem;
    text-align: center;
    padding: 0.75rem 0.5rem;
    text-align: left;
    gap: 0;
}

.click-option-compact .click-icon {
    font-size: 1.25rem;
    margin-bottom: 0;
    margin-right: 0.4rem;
}

.click-option-compact .click-label {
    font-size: 0.75rem;
}

/* ============================================
   WEDDINGS HORIZONTAL LAYOUT
   ============================================ */

.click-state-horizontal {
    padding: 1.25rem;
}

.weddings-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    height: 100%;
}

.weddings-info {
    flex: 1;
    min-width: 0;
}

.weddings-info h3 {
    margin-bottom: 0.5rem;
}

.weddings-info .click-desc-main {
    margin-bottom: 1rem;
}

.weddings-video {
    flex: 0 0 45%;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

/* ============================================
   NEW PAGES - PAGE NAVIGATION & LAYOUT
   ============================================ */

.page-nav {
    border-bottom: 1px solid rgba(51, 46, 42, 0.08);
    background-color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Scrolled state - minimal navbar */
.page-nav.scrolled {
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.page-nav.scrolled .nav-logo {
    color: white;
    font-size: 0;
}

.page-nav.scrolled .nav-logo::before {
    content: '';
    font-size: 1.1rem;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.page-nav.scrolled .nav-links {
    display: none;
}

.page-nav.scrolled .nav-container {
    justify-content: space-between;
}

.page-nav.scrolled .nav-contact {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-charcoal);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.7;
}

/* Back arrow — subtle branded link back to homepage on subpages */
.nav-back {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(51, 46, 42, 0.35);
    text-decoration: none;
    margin-top: 0.15rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.nav-back i {
    font-size: 0.5rem;
    transition: transform 0.2s ease;
}

.nav-back:hover {
    color: rgba(51, 46, 42, 0.6);
}

.nav-back:hover i {
    transform: translateX(-2px);
}

.nav-logo-group {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo-group:hover .nav-logo,
.nav-logo-group:hover .nav-back {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(51, 46, 42, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-charcoal);
}

/* Page-color hover/active states for nav links */
.nav-links a[href*="brotherjames"]:hover,
.nav-links a[href*="brotherjames"].active {
    color: var(--color-green);
}

.nav-links a[href*="studio"]:hover,
.nav-links a[href*="studio"].active {
    color: var(--color-blue);
}

.nav-links a[href*="stage"]:hover,
.nav-links a[href*="stage"].active {
    color: var(--color-red);
}

.nav-links a[href*="web"]:hover,
.nav-links a[href*="web"].active {
    color: var(--color-yellow);
}

.nav-links a[href*="words"]:hover,
.nav-links a[href*="words"].active {
    color: #c9b896;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Page Hero Sections */
.page-hero {
    padding: 4rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(51, 46, 42, 0.08);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(51, 46, 42, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Grid Layouts for New Pages */
.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

@media (max-width: 768px) {
    .page-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}

/* Accent-Colored Components */
.accent-bar {
    width: 4px;
    height: 100%;
}

.accent-bar-top {
    width: 100%;
    height: 4px;
}

.accent-bar-corner {
    width: 60px;
    height: 60px;
    position: absolute;
}

/* Service/Feature Cards */
.feature-card {
    background: rgba(51, 46, 42, 0.02);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(51, 46, 42, 0.04);
    box-shadow: 0 4px 12px rgba(51, 46, 42, 0.08);
    transform: translateY(-4px);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.featu.lyric-card .preview {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(51, 46, 42, 0.7);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
    /* Respect line breaks */
}

.feature-card-description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.65);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(51, 46, 42, 0.1);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: 45%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: 45%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--color-charcoal);
    border: 3px solid var(--color-cream);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    background: rgba(51, 46, 42, 0.02);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    padding: 1.5rem;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.timeline-description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.65);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin-left: 2rem;
    }

    .timeline-dot {
        left: 0;
    }
}

/* Testimonial Cards */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(51, 46, 42, 0.02);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(51, 46, 42, 0.04);
    transform: translateY(-4px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid rgba(51, 46, 42, 0.1);
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(51, 46, 42, 0.5);
}

.star-rating {
    color: #9F7A4E;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(51, 46, 42, 0.02);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(51, 46, 42, 0.08);
}

.comparison-table th {
    background: rgba(51, 46, 42, 0.04);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-charcoal);
    font-size: 0.9rem;
}

.comparison-table td {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.7);
}

.comparison-table tr:hover {
    background: rgba(51, 46, 42, 0.03);
}

.check-mark {
    color: #606C59;
    font-weight: 600;
}

.cross-mark {
    color: #853D3E;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-item {
    background: rgba(51, 46, 42, 0.02);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(51, 46, 42, 0.04);
}

.faq-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.faq-answer-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.65);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: rgba(51, 46, 42, 0.04);
    border: 1px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(51, 46, 42, 0.65);
    margin-bottom: 1.5rem;
}

/* Service Tier Cards */
.tier-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(51, 46, 42, 0.02);
    border: 2px solid rgba(51, 46, 42, 0.08);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: rgba(51, 46, 42, 0.15);
    box-shadow: 0 8px 24px rgba(51, 46, 42, 0.1);
    transform: translateY(-6px);
}

.tier-card.featured {
    transform: scale(1.05);
    border-width: 3px;
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.tier-duration {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(51, 46, 42, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.tier-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.tier-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.65);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.tier-feature i {
    color: #606C59;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tier-cta {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-charcoal);
    color: var(--color-cream);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tier-cta:hover {
    background: var(--color-brown);
    transform: translateY(-2px);
}

.weddings-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 767px) {
    .weddings-content {
        flex-direction: column;
    }

    .weddings-video {
        flex: none;
        width: 100%;
    }
}

/* ============================================
   HOME MODE VS FULL MODE - Mode Switching
   ============================================ */

/* Home Mode - Only shows on index.html */
.home-mode-only {
    display: none !important;
}

.home-mode .home-mode-only {
    display: flex !important;
}

/* Full Mode Navigation - Only shows on service pages */
.full-mode-only {
    display: none !important;
}

.full-mode .full-mode-only {
    display: block !important;
}

/* Slim Nav - Homepage default (half-height, nav links centered, Get in Touch right) */
.home-mode .page-nav.full-mode-only {
    display: block !important;
}

.home-mode .page-nav .nav-container {
    padding: 0.4rem 1.5rem;
}

.home-mode .page-nav .nav-logo {
    visibility: hidden;
    font-size: 0.9rem;
}

.home-mode .page-nav .nav-links {
    display: flex;
    gap: 1.2rem;
}

.home-mode .page-nav .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.home-mode .page-nav .nav-contact {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
}


/* Home Mode Buttons */
.home-mode-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-see-more {
    padding: 0.6rem 1.2rem;
    background: var(--color-charcoal);
    color: var(--color-cream);
    border: none;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-see-more:hover {
    background: var(--color-brown);
    transform: translateY(-2px);
}

/* Universal Footer */
.universal-footer {
    background: var(--color-cream);
    border-top: 1px solid rgba(51, 46, 42, 0.05);
    padding: 3rem 1.5rem;
    margin-top: 4rem;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.social-icons-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(51, 46, 42, 0.05);
    border: 1px solid rgba(51, 46, 42, 0.1);
    border-radius: 50%;
    color: var(--color-charcoal);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icons-footer a:hover {
    background: rgba(51, 46, 42, 0.1);
    transform: scale(1.1);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(51, 46, 42, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Contact Button - Page-specific colors */
.nav-contact {
    padding: 0.6rem 1.2rem;
    background: var(--color-charcoal);
    color: var(--color-cream);
    border: none;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-contact:hover {
    transform: translateY(-2px);
}

/* Brother James page - Green button */
.brotherjames-page .brotherjames-nav-btn {
    background: var(--color-green);
}

.brotherjames-page .brotherjames-nav-btn:hover {
    background: rgba(96, 108, 89, 0.8);
}

/* Websites page - Yellow button */
.websites-page .websites-nav-btn {
    background: var(--color-yellow);
    color: var(--color-cream);
}

.websites-page .websites-nav-btn:hover {
    background: rgba(159, 122, 78, 0.8);
}

/* Production page - Blue button */
.production-page .production-nav-btn {
    background: var(--color-blue);
}

.production-page .production-nav-btn:hover {
    background: rgba(84, 94, 104, 0.8);
}

/* Weddings page - Red button */
.weddings-page .weddings-nav-btn {
    background: var(--color-red);
    color: var(--color-cream);
}

.weddings-page .weddings-nav-btn:hover {
    background: rgba(133, 61, 62, 0.8);
}

/* Reflections page - Green button */
.reflections-page .reflections-nav-btn {
    background: var(--color-green);
}

.reflections-page .reflections-nav-btn:hover {
    background: rgba(96, 108, 89, 0.8);
}

/* Words page - Green button */
.words-page .words-nav-btn {
    background: var(--color-green);
}

.words-page .words-nav-btn:hover {
    background: rgba(96, 108, 89, 0.8);
}

.weddings-page .weddings-nav-btn:hover {
    background: rgba(159, 122, 78, 0.8);
}

/* ============================================
   MOBILE NAVIGATION & RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 767px) {

    /* === CRITICAL: Hide page-nav on mobile even in home-mode === */
    .page-nav,
    .home-mode .page-nav,
    .home-mode .page-nav.full-mode-only,
    .full-mode .page-nav {
        display: none !important;
    }

    /* Hamburger Menu Button */
    #hamburger-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 16px;
        right: 16px;
        background: rgba(236, 232, 220, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(51, 46, 42, 0.1);
        border-radius: 8px;
        cursor: pointer;
        z-index: 1001;
        gap: 5px;
        padding: 10px;
    }

    .hamburger-line {
        width: 24px;
        height: 2.5px;
        background: var(--color-charcoal);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    #hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    #hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile Navigation Menu — Slide In */
    #mobile-nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(82%, 320px);
        height: 100vh;
        background: var(--color-cream);
        border-left: 1px solid rgba(51, 46, 42, 0.12);
        padding: 0;
        overflow-y: auto;
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -6px 0 32px rgba(0, 0, 0, 0.13);
        display: flex;
        flex-direction: column;
    }

    #mobile-nav-menu.active {
        right: 0;
    }

    /* Panel header */
    #mobile-nav-menu::before {
        content: 'Justin James Sinclair';
        display: block;
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 500;
        color: rgba(51, 46, 42, 0.5);
        letter-spacing: 0.01em;
        padding: 22px 24px 18px;
        border-bottom: 1px solid rgba(51, 46, 42, 0.1);
        flex-shrink: 0;
    }

    #mobile-nav-menu .nav-links {
        list-style: none;
        padding: 8px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    #mobile-nav-menu .nav-links li {
        margin: 0;
    }

    #mobile-nav-menu .nav-links a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: rgba(51, 46, 42, 0.72);
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 500;
        padding: 6px 24px;
        border-left: 3px solid transparent;
        transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    }

    #mobile-nav-menu .nav-links a:hover {
        color: var(--color-charcoal);
        background: rgba(51, 46, 42, 0.04);
        border-left-color: rgba(51, 46, 42, 0.2);
    }

    #mobile-nav-menu .nav-links a.active {
        color: var(--color-charcoal);
        font-weight: 600;
        border-left-color: var(--color-red);
        background: rgba(211, 47, 47, 0.05);
    }

    /* Page-specific active link accent colors */
    .brotherjames-page #mobile-nav-menu .nav-links a.active {
        border-left-color: var(--color-green);
        background: rgba(96, 108, 89, 0.06);
    }

    .studio-page #mobile-nav-menu .nav-links a.active {
        border-left-color: var(--color-blue);
        background: rgba(84, 94, 104, 0.06);
    }

    .stage-page #mobile-nav-menu .nav-links a.active {
        border-left-color: var(--color-red);
        background: rgba(211, 47, 47, 0.05);
    }

    .web-page #mobile-nav-menu .nav-links a.active {
        border-left-color: var(--color-yellow);
        background: rgba(159, 122, 78, 0.06);
    }

    .words-page #mobile-nav-menu .nav-links a.active {
        border-left-color: #c9b896;
        background: rgba(201, 184, 150, 0.08);
    }

    /* GET IN TOUCH — appears inside mobile nav menu */
    #mobile-nav-menu .mobile-nav-contact {
        display: block;
        margin: 16px 20px 28px;
        padding: 13px 24px;
        background: var(--color-charcoal);
        color: var(--color-cream);
        border: none;
        border-radius: 6px;
        font-family: var(--font-body);
        font-size: 0.82rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-align: center;
        cursor: pointer;
        width: calc(100% - 40px);
        transition: background 0.2s ease, transform 0.15s ease;
    }

    #mobile-nav-menu .mobile-nav-contact:hover {
        background: rgba(51, 46, 42, 0.85);
        transform: translateY(-1px);
    }

    /* Page-specific Get in Touch button colors */
    .brotherjames-page #mobile-nav-menu .mobile-nav-contact {
        background: var(--color-green);
    }

    .studio-page #mobile-nav-menu .mobile-nav-contact {
        background: var(--color-blue);
    }

    .stage-page #mobile-nav-menu .mobile-nav-contact {
        background: var(--color-red);
    }

    .web-page #mobile-nav-menu .mobile-nav-contact {
        background: var(--color-yellow);
    }

    .words-page #mobile-nav-menu .mobile-nav-contact {
        background: #a0896a;
    }

    /* Social Header - Adjust for mobile */
    .social-header {
        flex-wrap: wrap;
        padding: 12px 16px !important;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-right: 0 !important;
    }

    /* Buttons — DON'T force full width */
    .header-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-top: 8px;
    }

    .btn-contact {
        display: none !important;
        /* Hidden on mobile — use hamburger menu instead */
    }

    .btn-see-more {
        width: auto;
        font-size: 0.8rem;
    }

    /* Main content */
    body {
        overflow-x: hidden;
    }

    /* Container — tighter padding on mobile */
    .container {
        padding: 0.75rem 0.75rem;
    }

    /* Hero — proper spacing for hamburger nav */
    .hero-section {
        padding-top: 8px !important;
    }

    /* Hero card — good height on mobile */
    .card-hero {
        min-height: 380px;
    }

    .card-hero .card-title {
        font-size: 1.5rem;
    }

    /* Bento grid — single column, clean spacing */
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Cards — clean mobile sizing */
    .card {
        min-height: 200px;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    /* Navigation contact button — hide on mobile */
    .nav-contact {
        display: none !important;
    }

    /* Contact form modal — better mobile layout */
    #contact-form {
        padding: 16px !important;
    }

    #contact-modal {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0 !important;
        max-height: 100vh;
        overflow-y: auto;
    }

    .modal-content {
        padding: 16px !important;
        border-radius: 0 !important;
    }

    /* Footer — clean mobile layout */
    .universal-footer {
        padding: 24px 16px !important;
        margin-top: 2rem;
    }

    .social-icons-footer {
        gap: 8px;
    }

    .social-icons-footer a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
    }

    /* Service cards - full width */
    .service-card {
        width: 100% !important;
    }

    /* Listen section — mobile platform buttons */
    .listen-section-full {
        padding: 2rem 1rem;
    }

    .listen-section-full h2 {
        font-size: 1.2rem;
    }

    .listen-controls-stacked {
        flex-direction: column;
        gap: 1rem;
    }

    .slider-buttons-with-links {
        width: 100%;
    }

    .platform-button-group {
        width: 100%;
    }

    .platform-button-group .slider-button {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    /* Signup form in footer */
    .signup-section h2 {
        font-size: 1rem;
    }

    .signup-form-inline {
        flex-direction: column;
        gap: 8px;
    }

    .signup-form-inline input[type="email"] {
        width: 100%;
    }

    /* Tier cards — Single column */
    .tier-card {
        width: 100% !important;
    }

    .tier-card.featured {
        transform: none;
    }

    /* Producer card — clean on mobile */
    .card-producer {
        min-height: 220px;
    }

    /* Section heading spacing */
    .section-heading {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    /* CTA section */
    .cta-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    /* Weddings content */
    .weddings-content {
        flex-direction: column;
    }

    .weddings-video {
        flex: none;
        width: 100%;
    }

    /* ============================================
       MOBILE CARD REDESIGN — Compact Summaries
       ============================================ */

    /* Hide hover & click states on mobile — they rely on hover/expand */
    .card-hover-state,
    .card-click-state {
        display: none !important;
    }

    /* Disable card hover lift on mobile */
    .card:hover {
        transform: none;
        box-shadow: none;
    }

    /* Don't indicate cards are clickable on mobile */
    .card {
        cursor: default;
    }

    /* Make card content flow naturally instead of absolute positioning */
    .card-content-base {
        position: relative;
        z-index: 2;
    }

    /* Show subtitle on mobile (it's always visible now) */
    .card-subtitle {
        display: block;
        margin-top: 0.25rem;
    }

    /* Hero card — smaller on mobile, bio visible immediately */
    .card-hero {
        min-height: 300px;
    }

    .card-hero .hover-bio,
    .card-hero .hover-hint {
        display: none;
    }

    /* Mobile-only utility */
    .mobile-only {
        display: flex !important;
    }

    /* Mobile action buttons container */
    .card-mobile-actions {
        position: relative;
        z-index: 5;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0.75rem 1.25rem 1.25rem;
        background: rgba(236, 232, 220, 0.95);
    }

    /* Individual mobile action button */
    .mobile-action-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: 120px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.6rem 0.75rem;
        font-family: var(--font-body);
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--color-charcoal);
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(51, 46, 42, 0.12);
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
        text-align: center;
        white-space: nowrap;
    }

    .mobile-action-btn:active {
        background: rgba(255, 255, 255, 1);
        transform: scale(0.97);
    }

    .mobile-action-btn i {
        font-size: 0.7rem;
        opacity: 0.6;
    }

    /* Primary mobile action — filled */
    .mobile-action-primary {
        background: var(--color-charcoal);
        color: var(--color-cream);
        border-color: transparent;
    }

    .mobile-action-primary:active {
        background: rgba(51, 46, 42, 0.85);
    }

    .mobile-action-primary i {
        opacity: 1;
    }

    /* Hero mobile actions — grid of 4 */
    .card-hero .card-mobile-actions {
        background: rgba(51, 46, 42, 0.85);
        padding: 0.75rem 1rem;
        gap: 6px;
    }

    .card-hero .mobile-action-btn {
        flex: 1 1 calc(50% - 3px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.72rem;
        padding: 0.55rem 0.5rem;
    }

    .card-hero .mobile-action-btn:active {
        background: rgba(255, 255, 255, 0.25);
    }

    .card-hero .mobile-action-btn i {
        opacity: 0.7;
    }
}

/* ============================================
   BROTHER JAMES PAGE - TWO COLUMN LAYOUT
   ============================================ */

.epk-two-column {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.epk-left-column {
    position: sticky;
    top: 100px;
}

.epk-right-column {
    width: 100%;
}

/* House Concert Section */
.house-concert-section {
    background: rgba(96, 108, 89, 0.04);
    border: 1px solid rgba(96, 108, 89, 0.12);
    border-radius: 8px;
    padding: 2rem;
}

.house-concert-section h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.house-concert-section>p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(51, 46, 42, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.house-concert-details {
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(96, 108, 89, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--color-green);
    min-width: 30px;
    text-align: center;
}

.detail-item h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 0.25rem 0;
}

.detail-item p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(51, 46, 42, 0.6);
    margin: 0;
}

.house-concert-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(96, 108, 89, 0.2);
}

.house-concert-cta p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.btn-house-concert {
    width: 100%;
    height: auto;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.9rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Two Column */
@media (max-width: 1024px) {
    .epk-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .epk-left-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .epk-two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .house-concert-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .detail-item {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
}

@media (min-width: 768px) {

    /* Hamburger hidden on desktop */
    #hamburger-menu {
        display: none !important;
    }

    #mobile-nav-menu {
        display: none !important;
    }
}

/* ============================================
   NEW FOOTER SOCIAL ICONS STRUCTURE
   ============================================ */

.social-icons-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Primary Icons - Large and prominent */
.social-primary {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.social-icon-primary {
    color: var(--color-charcoal);
    font-size: 1.5rem;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.social-icon-primary:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--color-charcoal);
}

/* Secondary Icons - Smaller and subtle with groupings */
.social-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.social-group {
    display: flex;
    gap: 1rem;
    padding: 0 0.75rem;
}

.social-group:not(:last-child) {
    border-right: 1px solid rgba(51, 46, 42, 0.1);
}

.social-secondary a {
    color: rgba(51, 46, 42, 0.35);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.social-secondary a:hover {
    color: var(--color-charcoal);
}

.footer-bottom {
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-copyright {
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(51, 46, 42, 0.5);
}

/* ============================================
   FULL-WIDTH LISTEN SECTION
   ============================================ */

.listen-section-full {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(51, 46, 42, 0.08);
}

.listen-section-full h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Stacked Controls Layout */
.listen-controls-stacked {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
}

/* Slider buttons with external links */
.slider-buttons-with-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-button-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-button-group .slider-button {
    flex: 1;
    text-align: left;
}

.platform-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(51, 46, 42, 0.4);
    font-size: 0.7rem;
    border: 1px solid rgba(51, 46, 42, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.platform-external-link:hover {
    color: var(--color-charcoal);
    border-color: rgba(51, 46, 42, 0.25);
    background: rgba(51, 46, 42, 0.05);
}

/* Full-width embeds */
.listen-embeds-full {
    flex: 1;
    min-width: 0;
}

.embed-container {
    width: 100%;
    max-height: 352px;
    overflow: hidden;
    border-radius: 8px;
}

/* Bandcamp scrollable container */
.embed-container.bandcamp-scroll {
    overflow-y: auto;
    max-height: 352px;
}

.embed-container iframe {
    width: 100%;
    display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .listen-controls-stacked {
        flex-direction: column;
        gap: 1.5rem;
    }

    .slider-buttons-with-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .platform-button-group {
        flex: 1;
        min-width: 120px;
    }

    .platform-button-group .slider-button {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .platform-external-link {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
}

/* ============================================
   FULL-WIDTH MAILING SIGNUP
   ============================================ */

.mailing-signup-full {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(51, 46, 42, 0.08);
}

.mailing-signup-full h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mailing-signup-full p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(51, 46, 42, 0.6);
    margin-bottom: 1.25rem;
}

/* ============================================
   STICKY NAV - SHOW WITH SCROLL AND SECTION CLICK
   ============================================ */

/* When nav should show (controlled by JS) */
.page-nav.nav-visible {
    display: block !important;
}

/* Override for home-mode when nav should be visible */
.home-mode .page-nav.nav-visible {
    display: block !important;
}

/* Keep logo visible when scrolled */
.page-nav.scrolled .nav-logo {
    font-size: 1rem;
    color: var(--color-charcoal);
}

.page-nav.scrolled .nav-logo::before {
    content: none;
}

/* HIDE nav links when scrolled - only show logo and Get in Touch */
.page-nav.scrolled .nav-links {
    display: none !important;
}

/* Nav contact button always visible when scrolled */
.page-nav.scrolled .nav-contact {
    position: static;
    transform: none;
}

/* ============================================
   ACTIVE PAGE NAV HIGHLIGHTING
   ============================================ */

/* Brother James page - green */
.brotherjames-page .nav-links a[href="brotherjames.html"] {
    color: var(--color-green);
    font-weight: 600;
}

/* Production/Music page - blue */
.production-page .nav-links a[href="production.html"] {
    color: var(--color-blue);
    font-weight: 600;
}

/* Websites page - brown */
.websites-page .nav-links a[href="websites.html"] {
    color: var(--color-brown);
    font-weight: 600;
}

/* Weddings page - yellow */
.weddings-page .nav-links a[href="weddings.html"] {
    color: var(--color-yellow);
    font-weight: 600;
}

/* Words page - cream */
.words-page .nav-links a[href="words.html"] {
    color: var(--color-cream);
    font-weight: 600;
}

.page-nav.scrolled .nav-container {
    justify-content: space-between;
}

/* ============================================
   PAGE-COLORED ACCENTS SYSTEM
   ============================================ */

/* Default (Homepage) - Red */
.nav-contact {
    background: var(--color-red) !important;
    color: white !important;
    border: none;
    transition: all 0.2s ease;
}

.nav-contact:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Brother James page - Green */
.brotherjames-page .nav-contact {
    background: var(--color-green) !important;
}

/* Studio page - Blue */
.studio-page .nav-contact {
    background: var(--color-blue) !important;
}

/* Stage page - Red */
.stage-page .nav-contact {
    background: var(--color-red) !important;
}

/* Web page - Yellow */
.websites-page .nav-contact {
    background: var(--color-yellow) !important;
    color: #fff !important;
}

/* Words page - Cream */
.words-page .nav-contact {
    background: var(--color-cream) !important;
    color: var(--color-charcoal) !important;
}

/* ============================================
   HOMEPAGE SECTION-SPECIFIC ACCENTS
   ============================================ */

/* Writer/Words section - Cream accent */
.card-writer .card-accent-top {
    background: var(--color-cream) !important;
}

.card-writer .card-icon {
    color: var(--color-charcoal) !important;
}

.click-state-writer .click-option-primary {
    background: var(--color-charcoal) !important;
    color: white !important;
}

.click-state-writer .click-option-primary:hover {
    background: var(--color-red) !important;
}

/* Weddings section - Red accent */
.card-weddings .card-accent-bottom {
    background: var(--color-red) !important;
}

.card-weddings .card-icon {
    color: var(--color-red) !important;
}

.click-state-weddings .click-option-primary {
    background: var(--color-red) !important;
    color: white !important;
}

.click-state-weddings .click-option:not(.click-option-primary) {
    border-color: var(--color-red) !important;
    color: var(--color-red) !important;
}

/* Brother James section - Green */
.click-state-artist .click-option-primary {
    background: var(--color-green) !important;
}

/* Producer section - Blue */
.click-state-producer .click-option-primary {
    background: var(--color-blue) !important;
}

/* Developer section - Brown */
.click-state-dev .click-option-primary {
    background: var(--color-brown) !important;
}

/* ============================================
   COMPACT FOOTER SECTIONS
   ============================================ */

/* Tighter footer padding */
.footer-bottom {
    padding: 1rem 1.5rem;
}

.footer-copyright {
    margin-top: 0.75rem;
}

/* Compact Listen Section */
.listen-section-full {
    padding: 1.5rem 1.5rem 1rem;
}

.listen-section-full h2 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Embed height — matches base 352px so all platforms are uniform */

/* Compact Mailing Signup */
.mailing-signup-full {
    padding: 1rem 1.5rem 1.5rem;
}

.mailing-signup-full h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mailing-signup-full p {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

/* Single wide row for subtitle */
.mailing-signup-full .signup-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.mailing-signup-full .signup-form input {
    flex: 1;
}

.mailing-signup-full .signup-form button {
    flex-shrink: 0;
}

/* Compact social icons */
.social-primary {
    gap: 1.5rem;
    margin-bottom: 0.25rem;
}

.social-icon-primary {
    font-size: 1.3rem;
}

.social-secondary {
    gap: 0.25rem;
}

.social-group {
    gap: 0.75rem;
    padding: 0 0.5rem;
}

.social-secondary a {
    font-size: 0.8rem;
}

/* ============================================
   COMPACT FOOTER (Mailing + Socials Row)
   ============================================ */

.compact-footer {
    background: var(--color-charcoal);
    color: white;
    padding: 1.5rem 2rem;
    margin-top: 0;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-signup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.signup-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.footer-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-form input {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 3px 0 0 3px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85rem;
    width: 180px;
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.footer-form button {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    border-radius: 0 3px 3px 0;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-form button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.footer-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: white;
}

.compact-footer .footer-copyright {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .footer-row {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-signup {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   Reusable Expandable Details
   (Used by Brother James, Stage, etc.)
   ============================================ */

.expandable-detail {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable-detail.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.expand-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(84, 94, 104, 0.05);
    transition: all 0.2s ease;
}

.expand-btn:hover {
    background: rgba(84, 94, 104, 0.1);
    transform: translateY(-2px);
}

.expand-btn.open {
    background: rgba(84, 94, 104, 0.15);
}

/* Specific button colors per section */
.bj-house-concerts .expand-btn {
    color: var(--color-green);
    background: rgba(96, 108, 89, 0.08);
}

.bj-house-concerts .expand-btn:hover {
    background: rgba(96, 108, 89, 0.15);
}

.sinclairs-section .expand-btn {
    color: var(--color-red);
    background: rgba(211, 47, 47, 0.08);
}

.sinclairs-section .expand-btn:hover {
    background: rgba(211, 47, 47, 0.15);
}

/* ============================================
   WORDS PAGE STYLES
   Moved to css/words.css for modular loading
   ============================================ */