/* =========================================================
   GLOBAL — applies across the whole app
   ========================================================= */

/* =========================================================
   STATIC MOBILE DRAWER (used on SSR pages without a circuit)
   ========================================================= */

#mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    background: #ffffff;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow-y: auto;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
}

body.mobile-nav-open #mobile-nav-overlay { display: block; }
body.mobile-nav-open #mobile-nav-drawer  { transform: translateX(0); }

@media (min-width: 960px) {
    #mobile-nav-overlay,
    #mobile-nav-drawer { display: none !important; }
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a27;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-nav-close:hover { background: rgba(0, 0, 0, 0.06); }

.mobile-nav-footer {
    display: flex;
    justify-content: center;
    padding: 16px 0 8px;
    border-top: 1px solid #e8e8e8;
}

.static-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    border-radius: 50%;
    transition: background 0.2s;
    margin-left: -4px;
}

.static-hamburger:hover { background: rgba(0, 0, 0, 0.06); }

/* Buttons — MudButton, MudIconButton, MudFab all share .mud-button-root */
.mud-button-root {
    transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.mud-button-root:hover {
    transform: translateY(-2px);
}

.mud-button-root:active {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .mud-button-root {
        transition: none;
    }

    .mud-button-root:hover,
    .mud-button-root:active {
        transform: none;
    }
}


/* =========================================================
   HOME PAGE
   ========================================================= */

.home-page {
    padding-top: 96px;
    padding-bottom: 72px;
}

.home-hero {
    min-height: calc(100vh - 160px);
}

.home-kicker {
    letter-spacing: 0.28em;
    font-weight: 600;
}

.home-title {
    font-size: clamp(4rem, 9vw, 8.5rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.06em;
    font-weight: 700 !important;
}

.home-quote {
    max-width: 560px;
    color: #3f3f46;
    font-weight: 400;
    line-height: 1.6;
}

.home-description {
    max-width: 460px;
    color: #777782;
    line-height: 1.8;
}

/* Image + accent frame */
.home-image-col {
    position: relative;
}

.home-image-col::before {
    content: "";
    position: absolute;
    inset: -20px 20px 20px -20px; /* peeks out top-left, into the column gap */
    border: 1.5px solid #FFC83D;
    border-radius: 44px;
    z-index: 0;
    pointer-events: none;
    max-height: 650px;
}

.home-image-card {
    position: relative;
    z-index: 1;
    height: 620px;
    border-radius: 40px;
    overflow: hidden;
    background: #f1f1f1;
    animation: home-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.home-image {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-image-card:hover .home-image {
    transform: scale(1.04);
}

.home-links {
    margin-top: 32px;
}

.home-link-card {
    height: 100%;
    padding: 28px;
    border: 1px solid #eeeeee;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
}

.home-link-card .mud-typography-body2 {
    color: #777782;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 18px;
}

.home-socials {
    padding-top: 44px;
}

.home-social-button {
    width: 48px;
    height: 48px;
    border: 1px solid #eeeeee;
    background: #ffffff;
    transition: transform 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.home-social-button:hover {
    background: #FFC83D;
    border-color: #FFC83D;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.nav-social-button {
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-social-button:hover {
    color: #FFC83D !important;
    transform: translateY(-2px);
}

/* Staggered entrance */
@keyframes home-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-hero-content > * {
    opacity: 0;
    animation: home-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.home-hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.home-hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.home-hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.home-hero-content > *:nth-child(5) { animation-delay: 0.45s; }

@media (max-width: 960px) {
    .home-page {
        padding-top: 72px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-image-card {
        height: 480px;
        border-radius: 32px;
    }
}

@media (max-width: 600px) {
    .home-title {
        font-size: 3.4rem !important;
    }

    .home-image-card {
        height: 360px;
        border-radius: 24px;
    }

    /* keep the accent frame from overflowing on phones */
    .home-image-col::before {
        inset: 12px;
        border-radius: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-content > *,
    .home-image-card {
        animation: none;
        opacity: 1;
    }

    .home-image,
    .home-social-button {
        transition: none;
    }
}

@media (orientation: portrait) {
    .home-hero { min-height: auto; }
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0px 16px 64px;
}

.nav-link-active {
    font-weight: 700;
    border-bottom: 2px solid var(--mud-palette-primary);
}

.press-card {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 0.6rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mud-elevation-4), 0 0 0 1px #FFC83D;
}



/*---------BIO START-------*/
.bio-page {
    padding-top: 96px;
    padding-bottom: 72px;
}

.bio-header { margin-bottom: 48px; }

.bio-kicker {
    letter-spacing: 0.28em;
    font-weight: 600;
}

.contact-title {
    font-size: clamp(3rem, 6vw, 5rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em;
    font-weight: 300 !important;
}

.bio-title {
    font-size: clamp(3rem, 6vw, 5rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em;
    font-weight: 300 !important;
    position: relative;
    padding-bottom: 24px;
}

.bio-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 72px; height: 4px;
    border-radius: 2px;
    background: #FFC83D;
}

/* Portrait + accent frame (mirrors the home hero) */
.bio-image-col {
    position: relative;
    position: sticky;
    top: 96px;
}

.bio-image-col::before {
    content: "";
    position: absolute;
    inset: -18px 18px 18px -18px;
    border: 1.5px solid #FFC83D;
    border-radius: 40px;
    z-index: 0;
    pointer-events: none;
}

.bio-image-card {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    border-radius: 36px;
    overflow: hidden;
    background: #f1f1f1;
}

.bio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bio-image-card:hover .bio-image { transform: scale(1.04); }

/* Body copy */
.bio-body {
    max-width: 680px;
    color: #3f3f46;
    font-size: 1.25rem;
    line-height: 1.8;
}

.bio-body p { margin: 0 0 1.4em; }

.bio-body h2,
.bio-body h3 {
    margin: 2em 0 0.6em;
    color: #18181b;
    letter-spacing: -0.02em;
    font-size: 1.6rem;
}

.bio-body a {
    color: #b8860b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bio-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5em 0;
}

/* Entrance */
@keyframes bio-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bio-header,
.bio-image-col,
.bio-body {
    opacity: 0;
    animation: bio-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bio-header    { animation-delay: 0.05s; }
.bio-image-col { animation-delay: 0.15s; }
.bio-body      { animation-delay: 0.25s; }

@media (max-width: 960px) {
    .bio-image-col { position: relative; top: 0; }
    .bio-image-card { aspect-ratio: 3 / 2; max-height: 480px; }
}

@media (max-width: 600px) {
    .bio-page { padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .bio-header, .bio-image-col, .bio-body { animation: none; opacity: 1; }
}
/*---------BIO END-------*/

.site-appbar.mud-appbar {
    background-color: transparent !important;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-appbar.mud-appbar.scrolled {
    background-color: rgba(247, 244, 236, 0.72) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
    box-shadow: 0 6px 20px rgba(28, 28, 28, 0.05);
}

/*---------anouncement START-------*/
/* ===== Announcement / CTA banner ===== */
.home-announce {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 1.75rem;
    background: linear-gradient(135deg, #FFFDF8 0%, #FDF6E6 100%);
    border: 1px solid rgba(255, 200, 61, 0.35);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(26, 27, 48, 0.05);
}
.announce-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255, 200, 61, 0.18);
    color: #E0A80E;
}
.announce-body { flex: 1 1 auto; min-width: 0; }
.announce-kicker {
    letter-spacing: .16em;
    color: #C79A1E;
}
.announce-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #1A1B30;
    line-height: 1.15;
}
.announce-sub { color: rgba(26, 27, 48, 0.6); }
.announce-cta { flex: 0 0 auto; border-radius: 999px; }
.announce-dismiss {
    position: absolute;
    top: .5rem; right: .5rem;
    color: rgba(26, 27, 48, 0.3);
}

/* ===== Compact variant (under the Listen/Watch buttons) ===== */
.home-announce--compact {
    gap: 1rem;
    padding: .8rem 1.1rem;
    margin: 1.5rem 0 0;
    max-width: 560px;
}
.home-announce--compact .announce-icon {
    width: 40px; height: 40px;
}
.home-announce--compact .announce-title {
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0;
}
.home-announce--compact .announce-kicker {
    font-size: .7rem;
    margin-bottom: 0;
}
.home-announce--compact .announce-dismiss {
    top: .25rem; right: .25rem;
}

/* ===== Small screens ===== */
@media (max-width: 600px) {
    .home-announce { flex-direction: column; align-items: flex-start; }
    .announce-cta { width: 100%; }
}
/*---------anouncement END-------*/
