:root {
    color-scheme: dark;
    --td-black: #000000;
    --td-red: #990000;
    --td-gray: #545454;
    --td-white: #ffffff;
    --td-bg: var(--td-black);
    --td-bg-card: var(--td-black);
    --td-line: rgba(255, 255, 255, 0.12);
    --td-text: var(--td-white);
    --td-muted: rgba(255, 255, 255, 0.68);
    --td-faint: var(--td-gray);
    --td-accent: var(--td-red);
    --td-surface: rgba(255, 255, 255, 0.025);
    --td-form-muted: rgba(255, 255, 255, 0.58);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--td-bg);
    color: var(--td-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1:focus {
    outline: none;
}

main {
    min-height: 70vh;
}

.py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--td-line);
    backdrop-filter: blur(16px);
}

.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    width: 10rem;
    color: var(--td-text);
}

.brand-lockup__logo {
    display: block;
    width: 100%;
    height: auto;
}

.brand-lockup__tagline {
    width: 100%;
    margin: 0;
    color: var(--td-muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-link:hover,
.brand-link.active {
    color: var(--td-accent);
}

.brand-link:hover .brand-lockup__tagline,
.brand-link:focus-visible .brand-lockup__tagline {
    color: var(--td-text);
}

.site-nav a,
.social-links a,
.text-link {
    color: var(--td-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.social-links a:hover,
.text-link:hover {
    color: var(--td-text);
}

.site-nav a.active {
    border-bottom: 1px solid var(--td-accent);
}

.header-actions {
    margin-left: auto;
}

.language-switch,
.social-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.language-switch a,
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    min-height: 2rem;
    border: 1px solid var(--td-line);
    border-radius: 999px;
    background: transparent;
    color: var(--td-muted);
    padding: 0.42rem 0.62rem;
    line-height: 1;
}

.language-switch img,
.social-links img {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
}

.language-switch img {
    width: 1.32rem;
    border-radius: 0.12rem;
}

.social-links img {
    filter: invert(1);
    opacity: 0.76;
    transition: filter 160ms ease, opacity 160ms ease;
}

.language-switch a.active,
.language-switch a:hover,
.social-links a:hover {
    background: var(--td-accent);
    color: var(--td-white);
    border-color: var(--td-accent);
}

.social-links a:hover img {
    filter: invert(1);
    opacity: 1;
}

.hero-section,
.page-hero {
    border-bottom: 1px solid var(--td-line);
}

.hero-section {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(32rem, 66vh, 46rem);
    overflow: hidden;
    background: var(--td-black);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 58%;
    filter: grayscale(1) contrast(1.16) brightness(0.95);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.76) 0%,
            rgba(0, 0, 0, 0.48) 45%,
            rgba(0, 0, 0, 0.14) 78%,
            rgba(0, 0, 0, 0.04) 100%
        ),
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.48) 36%,
            rgba(0, 0, 0, 0.12) 72%,
            rgba(0, 0, 0, 0.04) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.hero-section .eyebrow {
    color: var(--td-white);
}

.hero-section h1 {
    max-width: 12ch;
    text-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.6);
}

.hero-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    max-width: 42rem;
    text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.7);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.25rem;
    background: var(--td-black);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(153, 0, 0, 0.28) 0%,
        rgba(153, 0, 0, 0.08) 28%,
        transparent 48%
    );
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.content-section {
    padding: 4.5rem 0;
}

.muted-section {
    background: rgba(255, 255, 255, 0.03);
    border-block: 1px solid var(--td-line);
}

.narrow {
    max-width: 52rem;
}

.section-heading {
    max-width: 54rem;
}

.eyebrow,
.card-meta {
    color: var(--td-faint);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    margin-right: 0.65rem;
    vertical-align: middle;
    background: var(--td-accent);
}

.section-heading h1,
.section-heading h2,
.cta-panel h2,
.content-card h2,
.contact-section h2 {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.section-heading h1 {
    font-size: clamp(2.6rem, 8vw, 5rem);
}

.section-heading h2,
.cta-panel h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.section-lead {
    color: var(--td-muted);
    font-size: 1.12rem;
    margin-bottom: 0;
}

.content-card,
.form-panel,
.calendar-placeholder,
.faq-item,
.cta-panel {
    border: 1px solid var(--td-line);
    background: var(--td-surface);
    box-shadow: none;
}

.content-card,
.form-panel,
.calendar-placeholder {
    border-radius: 0.6rem;
    padding: 1.5rem;
}

.content-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
}

.content-card p,
.calendar-placeholder p,
.cta-panel p {
    color: var(--td-muted);
}

.contact-grid {
    row-gap: 0;
}

.contact-section {
    height: 100%;
    padding: 1.75rem 0 2rem;
    border-top: 1px solid var(--td-line);
}

.contact-section h2 {
    margin-bottom: 0.85rem;
}

.contact-section p {
    color: var(--td-muted);
}

.artist-profile {
    display: grid;
    gap: 2.25rem;
}

.artist-profile-compact .artist-showcase {
    margin-top: 0.5rem;
}

.artist-showcase {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(16rem, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.artist-photo-frame {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--td-line);
    border-radius: 0.6rem;
    background: var(--td-bg-card);
    box-shadow: none;
}

.artist-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

.artist-facts {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.artist-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 8.5rem;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--td-line);
    border-radius: 0.55rem;
    background: var(--td-surface);
    box-shadow: none;
}

.artist-fact strong {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.artist-fact span {
    color: var(--td-muted);
    margin-top: 0.65rem;
}

.artist-biography {
    display: grid;
    gap: 1.1rem;
    width: min(100%, 54rem);
    margin: 0 auto;
}

.artist-biography p {
    color: var(--td-muted);
    font-size: 1.08rem;
    line-height: 1.75;
    margin: 0;
}

.artist-profile-actions {
    display: flex;
    justify-content: center;
}

.artist-profile-actions .text-link {
    border-bottom: 1px solid var(--td-line);
    padding-bottom: 0.35rem;
}

.process-list {
    display: grid;
    gap: 1rem;
}

.process-list div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem;
    border: 1px solid var(--td-line);
    border-radius: 0.5rem;
    background: var(--td-surface);
}

.process-list span {
    color: var(--td-faint);
    font-weight: 800;
}

.process-list p {
    color: var(--td-muted);
    margin: 0;
}

.form-panel .form-label {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.form-panel .form-control {
    min-height: 2.65rem;
    color: var(--td-text);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 0.45rem;
}

.form-panel .form-control::placeholder {
    color: rgba(255, 255, 255, 0.42);
    opacity: 1;
}

.form-panel .form-control:focus {
    color: var(--td-text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.52);
    box-shadow: 0 0 0 0.18rem rgba(153, 0, 0, 0.18);
}

.form-note {
    color: var(--td-form-muted);
    font-size: 0.9rem;
    margin: 0.85rem 0 0;
}


.calendar-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 24rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--td-line);
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.04);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

@media (hover: hover) {
    .gallery-item:hover img {
        transform: scale(1.025);
    }
}

.link-list {
    display: grid;
    gap: 0.85rem;
}

.link-list a {
    color: var(--td-text);
    text-decoration: none;
    border-bottom: 1px solid var(--td-line);
    padding-bottom: 0.85rem;
}

.faq-item {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
}

.faq-item summary {
    cursor: pointer;
    font-size: 1.12rem;
    font-weight: 800;
}

.faq-item p {
    color: var(--td-muted);
    margin: 1rem 0 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: 0.7rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.035);
}

.cta-panel p:last-child {
    margin-bottom: 0;
}

.btn {
    border-radius: 999px;
    font-weight: 800;
}

.btn-light,
.btn-light:hover,
.btn-light:focus-visible {
    color: var(--td-white);
    background: var(--td-accent);
    border-color: var(--td-accent);
}

.btn-outline-light {
    color: var(--td-white);
    border-color: rgba(255, 255, 255, 0.38);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    color: var(--td-white);
    background: var(--td-accent);
    border-color: var(--td-accent);
}

.site-footer {
    background: var(--td-black);
    border-top: 1px solid var(--td-line);
}

.footer-title {
    color: var(--td-text);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-address {
    text-decoration: none;
}

.footer-address:hover {
    color: var(--td-text) !important;
    text-decoration: underline;
}

.footer-links {
    display: grid;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--td-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--td-text);
}


@media (max-width: 991.98px) {
    .artist-showcase {
        grid-template-columns: 1fr;
    }

    .artist-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .site-header {
        position: static;
    }

    .site-header-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        justify-content: stretch !important;
        row-gap: 1rem !important;
        text-align: center;
    }

    .brand-lockup--header {
        grid-row: 1;
    }

    .header-actions {
        grid-row: 2;
        width: auto;
        margin-left: 0;
        justify-content: center;
    }

    .site-nav {
        grid-row: 3;
        width: 100%;
        justify-content: center;
    }

    .language-switch,
    .social-links {
        justify-content: center;
    }

    .page-hero {
        padding-top: 3.5rem;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .brand-lockup {
        width: 8.75rem;
    }

    .brand-lockup__tagline {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    .hero-section {
        min-height: 34rem;
    }

    .hero-image {
        object-position: 56% 58%;
    }

    .hero-content {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .artist-photo-frame {
        aspect-ratio: 4 / 5;
    }

    .artist-facts {
        grid-template-columns: 1fr;
    }

    .artist-fact {
        min-height: 7.5rem;
    }

    .site-nav a,
    .social-links a {
        font-size: 0.86rem;
    }

    .language-switch a,
    .social-links a {
        padding: 0.36rem 0.52rem;
    }

    .content-section {
        padding: 3.3rem 0;
    }

}

.form-status {
    border: 1px solid var(--td-line);
    border-radius: 0.5rem;
    padding: 1rem;
}

.form-status p {
    margin-bottom: 0.5rem;
}

.form-status ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.form-status.success {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(84, 84, 84, 0.22);
}

.form-status.error {
    border-color: var(--td-accent);
    background: rgba(153, 0, 0, 0.18);
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 1rem;
    color: var(--td-muted);
    font-size: 0.78rem;
}

.calendar-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.calendar-legend-swatch {
    position: relative;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--td-line);
    border-radius: 0.2rem;
    background: var(--td-black);
}

.calendar-legend-swatch::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: calc(0.2rem - 1px);
    background: transparent;
    pointer-events: none;
}

.calendar-legend-swatch--half::before {
    background: linear-gradient(140deg, transparent 0 49.5%, rgba(153, 0, 0, 0.72) 50.5% 100%);
}

.calendar-legend-swatch--full::before {
    background: rgba(153, 0, 0, 0.72);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.calendar-day {
    --calendar-fill: transparent;

    position: relative;
    min-height: 5.5rem;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--td-line);
    border-radius: 0.55rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    background-clip: padding-box;
}

.calendar-day::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: calc(0.55rem - 1px);
    background: var(--calendar-fill);
    pointer-events: none;
}

.calendar-day > * {
    position: relative;
    z-index: 1;
}

.calendar-day--full {
    --calendar-fill: rgba(153, 0, 0, 0.72);
}

.calendar-day--half {
    --calendar-fill: linear-gradient(
        140deg,
        transparent 0 49.5%,
        rgba(153, 0, 0, 0.72) 50.5% 100%
    );
}

.calendar-day--full p,
.calendar-day--half p {
    color: var(--td-text);
}

.calendar-weekday {
    margin-bottom: 0.2rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.calendar-date-line {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.calendar-day h3 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 900;
}

.calendar-month {
    margin: 0;
    color: var(--td-text);
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .calendar-days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.localized-file-input {
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: stretch;
    min-height: 2.4rem;
    overflow: hidden;
    border: 1px solid var(--td-line);
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.045);
}

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

.localized-file-input-button {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0.45rem 0.8rem;
    color: var(--td-white);
    background: var(--td-accent);
    border-right: 1px solid var(--td-line);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.localized-file-input-button:hover {
    background: var(--td-accent);
    opacity: 0.9;
}

.localized-file-input-control:focus-visible + .localized-file-input-button {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: -3px;
}

.localized-file-input-status {
    display: block;
    min-width: 0;
    padding: 0.45rem 0.8rem;
    overflow: hidden;
    color: var(--td-form-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-secondary {
    color: var(--td-muted) !important;
}
