/* Global theme styles */

:root {
    --tv-background: #F8F6F2;
    --tv-surface: #FFFFFF;
    --tv-surface-alt: #EEE9DF;
    --tv-text: #292723;
    --tv-accent: #B69A65;
    --tv-border: rgba(41, 39, 35, 0.12);
    --tv-container: 1320px;
    --tv-transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
}

.tv-container,
.container {
    width: min(100% - 48px, var(--tv-container));
    margin-inline: auto;
}

body {
    margin: 0;
    background: var(--tv-background);
    color: var(--tv-text);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tv-transition);
}

a:hover {
    color: var(--tv-accent);
}

.tv-eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--tv-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.tv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 32px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all var(--tv-transition);
}

.tv-button-primary {
    background: var(--tv-text);
    color: #fff;
}

.tv-button-primary:hover {
    background: var(--tv-accent);
    color: #fff;
}

.tv-button-outline {
    border-color: var(--tv-text);
    color: var(--tv-text);
}

.tv-button-outline:hover {
    background: var(--tv-text);
    color: #fff;
}

.tv-header {
    position: relative;
    z-index: 100;
    background: var(--tv-surface);
    border-bottom: 1px solid var(--tv-border);
}

.tv-brand-link {
    display: flex;
    flex-direction: column;
}

.tv-brand-name {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tv-brand-subtitle {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--tv-accent);
}

.tv-navbar {
    min-height: 100px;
}

.tv-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    gap: 40px;
}

.tv-brand {
    flex-shrink: 0;
}

.tv-navigation {
    margin-left: auto;
}

.tv-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tv-nav-link {
    display: block;
    padding: 12px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tv-nav-item.current-menu-item>.tv-nav-link,
.tv-nav-item.current-menu-ancestor>.tv-nav-link {
    color: var(--tv-accent);
}

.tv-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tv-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--tv-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

:focus-visible {
    outline: 2px solid var(--tv-accent);
    outline-offset: 4px;
}

.tv-menu-toggle:focus-visible {
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@media (max-width: 991.98px) {

    .tv-navbar,
    .tv-navbar-inner {
        min-height: 80px;
    }
}

@media (max-width: 991.98px) {
    .tv-menu-toggle {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .tv-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 20px 24px;
        background: var(--tv-surface);
        border-bottom: 1px solid var(--tv-border);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 991.98px) {
    .tv-navigation.is-open {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .tv-nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
}

@media (max-width: 991.98px) {
    .tv-nav-link {
        padding: 14px 0;
    }
}

@media (max-width: 991.98px) {
    .tv-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
}

@media (max-width: 991.98px) {
    .tv-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .tv-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 575.98px) {
    .tv-container, .container {
        width: calc(100% - 32px);
    }
}

.tv-page-hero {
    padding: 100px 0 90px;
    background: var(--tv-surface-alt);
}

.tv-page-hero-small {
    padding: 65px 0;
}

.tv-page-title {
    margin: 0;
    font-size: clamp(60px, 7vw, 100px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.tv-page-description {
    max-width: 650px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

.tv-back-link {
    display: block;
    width: fit-content;
    margin-bottom: 35px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tv-album-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 250px;
    align-items: center;
    justify-content: center;
    background: var(--tv-surface-alt);
    color: var(--tv-accent);
    font-family: "Cormorant Garamond", serif;
    font-size: 80px;
}

@media (max-width: 767.98px) {
    .tv-page-hero {
        padding: 65px 0;
    }
}

.tv-footer {
    padding: 60px 0 30px;
    background: var(--tv-text);
    color: var(--tv-background);
}

.tv-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tv-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tv-footer-name {
    font-size: 24px;
}

.tv-footer-subtitle {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tv-accent);
}

.tv-footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tv-footer-copyright {
    font-size: 12px;
    opacity: 0.6;
}

.tv-section-divider {
    width: 70px;
    height: 1px;
    margin: 38px 0;
    background: var(--tv-accent);
}

.tv-section {
    padding: 120px 0;
}

.tv-section-title {
    margin: 0;
    font-size: clamp(46px, 5vw, 52px);
    line-height: 1.1;
}

.tv-section-title em {
    color: var(--tv-accent);
    font-weight: 400;
}

.tv-section-description {
    max-width: 650px;
    margin: 0 auto 32px;
    font-size: 17px;
    line-height: 1.9;
}

.tv-text-link {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--tv-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .tv-section {
        padding: 80px 0;
    }
}

@media (max-width: 575.98px) {
    .tv-section {
        padding: 65px 0;
    }
}