/* ============================================================
   TAMARA JEAN ORIGINAL ART PAGE
   /css/tamara-jean.css
   ============================================================ */

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */

.tjo-hero {
    position: relative;
    min-height: 65svh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    padding-top: var(--nav-height);
}

.tjo-hero__bg {
    position: absolute;
    inset: 0;
    background-size: auto 300%;
    background-position: 60% 35%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}
@media (min-width: 1000px) {
    .tjo-hero {
        min-height: 42svh;
        max-height: 420px;
    }
}

.tjo-hero__bg--loaded {
    opacity: 1;
}

.tjo-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(27, 41, 60, 0.52) 0%,
        rgba(27, 41, 60, 0.28) 50%,
        rgba(27, 41, 60, 0.08) 100%
    );
}

.tjo-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: end;
    padding-block: clamp(32px, 5vw, 56px);
}

.tjo-hero__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.tjo-hero__heading {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0;
}

.tjo-hero__heading em {
    font-style: italic;
    color: var(--orange);
}

.tjo-hero__credentials {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 8px;
}

.tjo-cred {
    text-align: right;
    border-right: 2px solid var(--orange);
    padding-right: 16px;
}

.tjo-cred__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.tjo-cred__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

/* ------------------------------------------------------------
   GALLERY SECTION
------------------------------------------------------------ */

.tjo-gallery-section {
    padding-block: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
    background: var(--cream);
}

.tjo-gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.tjo-gallery-header h2 {
    margin-top: 8px;
    margin-bottom: 12px;
}

.tjo-gallery-sub {
    font-size: 1rem;
    color: var(--pub-text-secondary);
    max-width: 480px;
    margin-inline: auto;
}

.tjo-gallery {
    columns: 3 280px;
    column-gap: 20px;
}

.tjo-card {
    break-inside: avoid;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
}

.tjo-card__img-wrap {
    overflow: hidden;
    display: block;
    line-height: 0;
}

.tjo-card__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tjo-card:hover .tjo-card__img {
    transform: scale(1.03);
}

.tjo-card__meta {
    padding: 10px 2px 6px;
    border-top: 1px solid var(--pub-border-light);
}

.tjo-card__title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.tjo-card:hover .tjo-card__title {
    color: var(--teal);
}

/* Skeleton loaders */

.tjo-skeleton {
    break-inside: avoid;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--ink-04) 25%, rgba(27, 41, 60, 0.08) 50%, var(--ink-04) 75%);
    background-size: 200% 100%;
    animation: tjoShimmer 1.4s ease infinite;
    border-radius: 2px;
    height: 220px;
}

.tjo-skeleton--tall {
    height: 320px;
}

@keyframes tjoShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.tjo-empty {
    text-align: center;
    padding: 48px 0;
    color: var(--pub-text-muted);
    font-size: 1rem;
}

/* ------------------------------------------------------------
   QUOTE SECTION
------------------------------------------------------------ */

.tjo-quote-section {
    background: var(--cream);
    padding-block: clamp(40px, 6vw, 72px);
    position: relative;
}

.tjo-quote-section::before {
    display: none;
}

.tjo-quote__inner {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    background: #b85a00;
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
    position: relative;
    overflow: hidden;
}

.tjo-quote__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--orange) 0%, var(--teal) 50%, var(--red-orange) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tjo-quote__prelude {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.6;
}

.tjo-quote__block {
    border: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.tjo-quote__block::before {
    content: '\201C';
    display: block;
    font-family: var(--font-display);
    font-size: clamp(5rem, 10vw, 8rem);
    line-height: 0.7;
    color: #ffffff;
    opacity: 0.6;
    margin-bottom: 16px;
}

.tjo-quote__block p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-weight: 600;
    font-style: italic;
    color: #ffffff;
    line-height: 1.65;
    margin-bottom: 36px;
    padding-inline: clamp(0px, 3vw, 32px);
}

.tjo-quote__attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tjo-quote__attribution::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.tjo-quote__inner .tjo-quote__block ~ .tjo-quote__attribution cite,
.tjo-quote__inner .tjo-quote__attribution cite {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.06em;
}
.tjo-quote__inner .tjo-quote__role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

/* ------------------------------------------------------------
   CTA SECTION
------------------------------------------------------------ */

.tjo-cta-section {
    background: var(--cream);
    padding-block: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tjo-cta-section .btn-primary:hover {
    background: var(--gradient-cool);
    border-color: var(--teal-deep);
    box-shadow: 6px 6px 0 var(--navy);
}

.tjo-cta-section p {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}

/* ------------------------------------------------------------
   LIGHTBOX
------------------------------------------------------------ */

.tjo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tjo-lightbox[hidden] {
    display: none;
}

.tjo-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 6, 0.88);
    cursor: pointer;
}

.tjo-lightbox__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
    max-width: 960px;
    width: 100%;
    max-height: 88vh;
    background: #ffffff;
    overflow: hidden;
}

.tjo-lightbox__img-wrap {
    overflow: hidden;
    background: var(--ink-04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tjo-lightbox__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 88vh;
}

.tjo-lightbox__meta {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: var(--warm-white);
    overflow-y: auto;
}

.tjo-lightbox__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin: 0;
}

.tjo-lightbox__desc {
    font-size: 0.9rem;
    color: var(--pub-text-muted);
    line-height: 1.7;
    margin: 0;
}

.tjo-lightbox__cta {
    align-self: flex-start;
    margin-top: 8px;
}

.tjo-lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    background: var(--navy);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.tjo-lightbox__close:hover {
    background: var(--red-orange);
    transform: scale(1.08);
}

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */


@media (max-width: 900px) {
    .tjo-hero__inner {
        grid-template-columns: 1fr;
    }
    .tjo-hero__credentials {
        flex-direction: row;
        gap: 24px;
    }
    .tjo-cred {
        text-align: left;
        border-right: none;
        border-left: 2px solid var(--orange);
        padding-right: 0;
        padding-left: 14px;
    }
    .tjo-lightbox__inner {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }
    .tjo-lightbox__img {
        max-height: 55vw;
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .tjo-hero__bg {
        background-size: auto 180%;
        background-position: 50% 20%;
    }
}
@media (max-width: 480px) {
    .tjo-hero__bg {
        background-size: auto 150%;
        background-position: 50% 15%;
    }
}
@media (max-width: 600px) {
    .tjo-gallery {
        columns: 2 140px;
        column-gap: 12px;
    }
    .tjo-card {
        margin-bottom: 12px;
    }
    .tjo-skeleton {
        height: 160px;
    }
    .tjo-skeleton--tall {
        height: 240px;
    }
    .tjo-lightbox {
        padding: 0;
        align-items: flex-end;
    }
    .tjo-lightbox__inner {
        max-height: 96vh;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 400px) {
    .tjo-gallery {
        columns: 1;
    }
}
