/* ============================================================
   MT. ZION BAPTIST CHURCH - TELL TERRY
   assets/css/pages/tell-terry.css
   ============================================================ */

/* ── ORG COLOR PALETTE ── */
:root {
    --bsu-blue:   #003087;
    --bsu-gold:   #C9A84C;
    --naacp-gold: #C9A84C;
    --naacp-black:#111111;
    --dst-red:    #CE1226;
    --dst-white:  #ffffff;
    --aka-pink:   #E8A0BF;
    --aka-green:  #1B6C3B;
    --zpb-blue:   #1E5B9E;
    --zpb-white:  #ffffff;
}


/* ── HERO ── */
.tt-hero {
    background: linear-gradient(135deg, var(--onyx) 0%, var(--onyx-3) 60%, #1a5860 100%);
    padding: calc(var(--nav-height) + 4rem) 5% 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;  /* fallback for older Android */
    min-height: 100svh; /* modern mobile-aware height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/cross-watermark.svg') center / min(70vw, 700px) no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

.tt-hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: center;
}

.tt-hero-eyebrow { color: var(--amber-light); }

.tt-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin: 0.5rem 0 1.25rem;
}

.tt-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 0 2rem;
}

.tt-hero-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--amber-light);
    text-decoration: none;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.4rem;
    transition: background 0.2s, color 0.2s;
}
.tt-hero-btn:hover {
    background: rgba(201,168,76,0.15);
    color: #fff;
}

/* Terry's profile in hero */
.tt-hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.tt-profile-photo-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(201,168,76,0.4);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    position: relative;
    background: var(--onyx-3);
}

.tt-profile-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.tt-profile-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--amber);
}

/* Only show fallback letter if photo fails to load */
.tt-profile-photo--fallback .tt-profile-fallback { display: flex; }

.tt-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tt-profile-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.tt-profile-role {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber);
}

.tt-profile-email {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.tt-profile-email:hover { color: var(--amber-light); }


/* ── SECTION NAV PILLS ── */
.tt-section-nav {
    background: var(--onyx);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    position: sticky;
    top: var(--nav-height);
    z-index: 90;
}

.tt-section-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tt-section-pill {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.tt-section-pill:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Org-colored pills */
.tt-pill--bsu   { border-color: var(--bsu-blue);  color: #7aadff; }
.tt-pill--naacp { border-color: var(--naacp-gold); color: var(--naacp-gold); }
.tt-pill--dst   { border-color: var(--dst-red);    color: #ff7a8a; }
.tt-pill--aka   { border-color: var(--aka-green);  color: #7adfaa; }
.tt-pill--zpb   { border-color: var(--zpb-blue);   color: #7ab8ff; }
.tt-pill--submit{ border-color: var(--amber); color: var(--amber-light); }


/* ── SHARED SECTION STYLES ── */
.tt-section { padding: 5rem 0; }
.tt-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.tt-section-header { text-align: center; margin-bottom: 3rem; }
.tt-section-eyebrow { display: block; }

.tt-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    line-height: 1.15;
}

.tt-title--light { color: #fff; }

.tt-section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto;
}

.tt-desc--light { color: rgba(255,255,255,0.72); }

.tt-org-tagline {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.75;
}


/* ── ORG HEADER ── */
.tt-org-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.tt-org-logo-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 3px solid;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.tt-org-logo-placeholder { text-align: center; line-height: 1.2; }

.tt-org-logo-wrap--bsu   { background: var(--bsu-blue);  border-color: var(--bsu-gold);  color: var(--bsu-gold); }
.tt-org-logo-wrap--naacp { background: var(--naacp-black); border-color: var(--naacp-gold); color: var(--naacp-gold); }
.tt-org-logo-wrap--dst   { background: var(--dst-red);    border-color: #fff;  color: #fff; }
.tt-org-logo-wrap--aka   { background: var(--aka-green);  border-color: var(--aka-pink);   color: var(--aka-pink); }
.tt-org-logo-wrap--zpb   { background: var(--zpb-blue);   border-color: #fff;  color: #fff; }


/* ── SECTION BACKGROUNDS ── */
.tt-section--general { background: #f0f8f7; }
.tt-section--bsu     { background: #f0f4ff; border-top: 4px solid var(--bsu-blue); }
.tt-section--naacp   { background: #1a1a1a; border-top: 4px solid var(--naacp-gold); }
.tt-section--dst     { background: #fff5f6; border-top: 4px solid var(--dst-red); }
.tt-section--aka     { background: #f0fff6; border-top: 4px solid var(--aka-green); }
.tt-section--zpb     { background: #f0f6ff; border-top: 4px solid var(--zpb-blue); }
.tt-section--issues  { background: #f8f4e8; border-top: 4px solid var(--amber-dark); }
.tt-section--submit  {
    background: linear-gradient(135deg, var(--onyx) 0%, var(--onyx-3) 100%);
    border-top: 4px solid var(--amber);
}

/* NAACP dark section needs light text */
.tt-section--naacp .tt-section-title,
.tt-section--naacp .tt-card-title,
.tt-section--naacp .tt-content-card p,
.tt-section--naacp .tt-org-tagline,
.tt-section--naacp .tt-section-eyebrow { color: #fff; }


/* ── SECTION-SPECIFIC TITLE COLORS ── */
.tt-title--bsu   { color: var(--bsu-blue); }
.tt-title--naacp { color: var(--naacp-gold); }
.tt-title--dst   { color: var(--dst-red); }
.tt-title--aka   { color: var(--aka-green); }
.tt-title--zpb   { color: var(--zpb-blue); }

.tt-eyebrow--bsu   { color: var(--bsu-blue); }
.tt-eyebrow--naacp { color: var(--naacp-gold); }
.tt-eyebrow--dst   { color: var(--dst-red); }
.tt-eyebrow--aka   { color: var(--aka-green); }
.tt-eyebrow--zpb   { color: var(--zpb-blue); }


/* ── CONTENT CARDS ── */
.tt-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tt-content-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 3px 20px rgba(13,43,46,0.06);
    border-left: 5px solid;
}

.tt-card--bsu   { border-left-color: var(--bsu-blue); }
.tt-card--naacp { border-left-color: var(--naacp-gold); background: #111; color: #fff; }
.tt-card--dst   { border-left-color: var(--dst-red); }
.tt-card--aka   { border-left-color: var(--aka-green); }
.tt-card--zpb   { border-left-color: var(--zpb-blue); }

.tt-card-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tt-card--bsu   .tt-card-label { color: var(--bsu-blue); }
.tt-card--naacp .tt-card-label { color: var(--naacp-gold); }
.tt-card--dst   .tt-card-label { color: var(--dst-red); }
.tt-card--aka   .tt-card-label { color: var(--aka-green); }
.tt-card--zpb   .tt-card-label { color: var(--zpb-blue); }

.tt-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--onyx);
    margin: 0 0 0.75rem;
}

.tt-card--naacp .tt-card-title { color: #fff; }

.tt-content-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.75;
    margin: 0;
}

.tt-card--naacp p { color: rgba(255,255,255,0.78); }


/* ── VIDEO SLOT ── */
.tt-video-slot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.85rem 1.25rem;
    border: 1px dashed rgba(13,43,46,0.2);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.5);
}

.tt-section--naacp .tt-video-slot {
    border-color: rgba(201,168,76,0.3);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
}

.tt-video-icon { font-size: 1.1rem; opacity: 0.5; }

.tt-video-slot--bsu   .tt-video-icon { color: var(--bsu-blue); opacity: 1; }
.tt-video-slot--naacp .tt-video-icon { color: var(--naacp-gold); opacity: 1; }
.tt-video-slot--dst   .tt-video-icon { color: var(--dst-red); opacity: 1; }
.tt-video-slot--aka   .tt-video-icon { color: var(--aka-green); opacity: 1; }
.tt-video-slot--zpb   .tt-video-icon { color: var(--zpb-blue); opacity: 1; }


/* ── CAROUSEL ── */
.tt-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 30px rgba(13,43,46,0.1);
}

.tt-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.tt-carousel-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

.tt-slide-photo {
    height: clamp(200px, 35vw, 380px);
    overflow: hidden;
}

.tt-slide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.tt-slide-photo--placeholder {
    background: linear-gradient(135deg, #d0e8e6 0%, #b8d8d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-slide-placeholder-icon { font-size: 4rem; opacity: 0.4; }

.tt-slide-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.tt-slide-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber-dark);
}

.tt-slide-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--onyx);
    margin: 0;
    line-height: 1.25;
}

.tt-slide-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.75;
    margin: 0;
}

.tt-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-top: 1px solid rgba(13,43,46,0.06);
}

.tt-carousel-btn {
    background: none;
    border: 1px solid rgba(13,43,46,0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--onyx);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.tt-carousel-btn:hover { background: var(--onyx); color: #fff; border-color: var(--onyx); }

.tt-carousel-dots { display: flex; gap: 0.5rem; }

.tt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(13,43,46,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.tt-dot.active { background: var(--amber-dark); transform: scale(1.3); }


/* ── COMMUNITY ISSUES ── */
.tt-issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tt-issue-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border-left: 5px solid var(--amber-dark);
    box-shadow: 0 3px 20px rgba(13,43,46,0.06);
}

.tt-issue-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }

.tt-issue-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--onyx);
    margin: 0 0 0.75rem;
}

.tt-issue-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.75;
    margin: 0;
}


/* ── SUBMIT FORM ── */
.tt-submit-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.tt-submit-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.tt-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tt-form-group label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
}

.tt-form-group input,
.tt-form-group select,
.tt-form-group textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #fff;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.tt-form-group input::placeholder,
.tt-form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.tt-form-group select option { background: #0d2b2e; color: #fff; }

.tt-form-group input:focus,
.tt-form-group select:focus,
.tt-form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
}

.tt-file-hint {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
}

.tt-submit-btn {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--amber);
    color: var(--onyx);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.9rem 2rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
}
.tt-submit-btn:hover { background: var(--amber-light); transform: scale(1.03); }

.tt-form-success {
    color: #7adfaa;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    display: none;
}
.tt-form-error {
    color: #ff8a8a;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    display: none;
}

/* Contact card */
.tt-contact-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.tt-contact-photo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(201,168,76,0.35);
}

.tt-contact-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.tt-contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.tt-contact-role {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber);
}

.tt-contact-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin: 0;
}

.tt-contact-email {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--amber-light);
    text-decoration: none;
    transition: color 0.2s;
}
.tt-contact-email:hover { color: #fff; }


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .tt-hero              { min-height: 100vh; min-height: 100svh;
                            padding: calc(var(--nav-height) + 2.5rem) 5% 3rem; }
    .tt-hero-inner        { grid-template-columns: 1fr; gap: 2rem; }
    .tt-hero-profile      { flex-direction: row; text-align: left; gap: 1.5rem; }
    .tt-profile-photo-wrap{ width: 120px; height: 120px; }
    .tt-submit-layout     { grid-template-columns: 1fr; }
    .tt-carousel-slide    { grid-template-columns: 1fr; }
    /* tt-slide-photo height handled by clamp() above */
    /* Contain images on tablet portrait so full image shows */
    .tt-bg-slide {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 640px) {
    .tt-hero {
        min-height: 100vh;  /* fallback for older Android */
        min-height: 100svh;
        padding: calc(var(--nav-height) + 2.5rem) 5% 3rem;
    }
    /* Scale images to fully fit on portrait mobile — no cropping */
    .tt-bg-slide {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .tt-hero-profile      { flex-direction: column; text-align: center; }
    .tt-form-row          { grid-template-columns: 1fr; }
    .tt-org-header        { flex-direction: column; text-align: center; gap: 1rem; }
    .tt-section-nav       { position: static; }
    .tt-section-nav-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}


/* ============================================================
   HERO BACKGROUND CROSSFADE + TITLE ANIMATION
   ============================================================ */

/* Hero positioning and background set in main .tt-hero rule above */

/* Dark overlay over the images */
.tt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 18, 20, 0.82) 0%,
        rgba(10, 30, 32, 0.72) 50%,
        rgba(15, 45, 50, 0.68) 100%
    );
    z-index: 1;
}

/* Crossfade image stack */
.tt-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tt-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    animation: ttBgFade 39.2s linear infinite;
    will-change: opacity;
}

/* Image 0 starts immediately at full opacity */
.tt-bg-slide:first-child {
    animation-delay: 0s;
}

/* Crossfade keyframe:
   hold 2s = 5.1% of 39.2s
   fade out over 0.8s = ends at 7.14%
   hidden for remainder                */
@keyframes ttBgFade {
    0%     { opacity: 1; }
    5.1%   { opacity: 1; }
    7.14%  { opacity: 0; }
    100%   { opacity: 0; }
}

/* Hero inner sits above overlay */
.tt-hero-inner { position: relative; z-index: 2; }
.tt-hero::before { z-index: 3; }


/* ── "Tell Terry" title animation ── */
.tt-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.tt-title-tell,
.tt-title-terry {
    display: block;
    line-height: 1;
}

/* "Tell" slides in from the left */
.tt-title-tell {
    animation: ttSlideTell 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
    color: #fff;
}

/* "Terry" slides in from the right with gold shimmer */
.tt-title-terry {
    animation: ttSlideTerry 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both,
               ttShimmer 3.5s ease-in-out 1.8s infinite;
    background: linear-gradient(
        90deg,
        #C9A84C 0%,
        #f0d080 40%,
        #C9A84C 60%,
        #a07820 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes ttSlideTell {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ttSlideTerry {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ttShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ── PROFILE FALLBACK — hidden unless photo fails ── */
.tt-profile-photo-wrap .tt-profile-fallback,
.tt-profile-photo-wrap .tt-profile-fallback span {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.tt-profile-photo--fallback .tt-profile-fallback {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}






/* ============================================================
   ANNOUNCEMENTS BUTTON + LIGHTBOX
   ============================================================ */

/* ── Hero button ── */
.tt-announce-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(201,168,76,0.18);
    border: 1px solid rgba(201,168,76,0.5);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.tt-announce-btn:hover {
    background: rgba(201,168,76,0.32);
    border-color: var(--amber);
    transform: scale(1.03);
}


/* ── Lightbox backdrop ── */
.tt-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.tt-lb[hidden] { display: none; }
.tt-lb--open   { opacity: 1; }

.tt-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 12, 0.94);
    cursor: pointer;
}


/* ── Lightbox inner — portrait-friendly column layout ── */
.tt-lb-inner {
    position: relative;
    z-index: 1;
    width: min(96vw, 520px);
    box-sizing: border-box;
    max-height: 96vh;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: scale(0.94);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.tt-lb--open .tt-lb-inner { transform: scale(1); }


/* ── Header bar ── */
.tt-lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.5rem 0.75rem 0;
}

.tt-lb-credit {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
}

.tt-lb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(201,168,76,0.4);
    flex-shrink: 0;
}

.tt-lb-credit-name {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.tt-lb-credit-role {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--amber);
    line-height: 1;
}

.tt-lb-counter {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
}

.tt-lb-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.tt-lb-close:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}


/* ── Stage: arrows flanking the image ── */
.tt-lb-stage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tt-lb-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.tt-lb-arrow:hover {
    background: rgba(201,168,76,0.28);
    border-color: var(--amber);
    transform: scale(1.1);
}


/* ── Track — portrait images fill height ── */
.tt-lb-track-wrap {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 80px rgba(0,0,0,0.7);
    /* max height = viewport minus header, hint, padding */
    max-height: calc(96vh - 130px);
    height: calc(96vh - 130px);
}

.tt-lb-track {
    display: flex;
    height: 100%;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.tt-lb-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050f10;
}

.tt-lb-slide img {
    display: block;
    max-width: 100%;
    max-height: calc(96vh - 130px);
    width: auto;
    height: auto;
    object-fit: contain;
    /* Ensure portrait images never overflow on narrow screens */
    flex-shrink: 1;
}


/* ── Footer hint ── */
.tt-lb-hint {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.28);
    padding: 0.6rem 0 0;
}


/* ── Mobile ── */
@media (max-width: 480px) {
    .tt-lb-inner   { width: 98vw; }
    .tt-lb-arrow   { width: 36px; height: 36px; font-size: 1rem; }
    .tt-lb-hint    { display: none; }
}