/* ============================================
   ESTUDIO 9 — Inner Pages Styles
   ============================================ */

.header-inner {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) contrast(1.1);
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.7), rgba(10,10,10,0.95));
    z-index: 1;
}

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

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.1;
    margin: 1rem 0;
}

.page-title em {
    color: var(--gold);
    font-style: italic;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
}

.container.narrow {
    max-width: 850px;
}

.article {
    color: var(--gray-light);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article .lead {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.article h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--white);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.article h2::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin-right: 1rem;
    vertical-align: middle;
}

.article h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article p {
    margin-bottom: 1.25rem;
}

.article strong {
    color: var(--gold);
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.article-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--dark-3);
}

.article-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
    top: 1.1rem;
}

.founder-quote.inline {
    margin: 2.5rem 0;
}

.cta-section {
    background: var(--dark);
    text-align: center;
    border-top: 1px solid var(--dark-3);
}

.cta-section .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.cta-section p {
    color: var(--gray-light);
    margin: 1.5rem 0 2rem;
    font-size: 1.05rem;
}

.cta-section .title-line {
    margin: 1.5rem auto;
}

/* ---- Profile Cards (actors/students) ---- */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.profile-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.profile-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--black);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.profile-card:hover .profile-img img {
    transform: scale(1.05);
}

.profile-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.profile-info .award {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.profile-info .role {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.profile-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ---- Course Cards ---- */
.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.course-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    padding: 2.5rem;
    border-left: 4px solid var(--gold);
    transition: all 0.3s var(--ease);
}

.course-card:hover {
    transform: translateX(8px);
    box-shadow: -10px 0 40px rgba(201, 168, 76, 0.1);
}

.course-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--dark-3);
    border-bottom: 1px solid var(--dark-3);
}

.course-meta-item {
    font-size: 0.85rem;
    color: var(--gray);
}

.course-meta-item strong {
    display: block;
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.course-card p {
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.course-card ul {
    list-style: none;
    padding: 0;
}

.course-card ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    color: var(--gray-light);
    position: relative;
    font-size: 0.95rem;
}

.course-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ---- Production Detail ---- */
.production-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: start;
}

.production-detail-img {
    aspect-ratio: 2/3;
    overflow: hidden;
    border: 1px solid var(--dark-3);
    background: var(--dark-2);
}

.production-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.production-detail-content .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.production-detail-content .meta-tag {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.production-detail-content p {
    color: var(--gray-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* ---- Contact Page ---- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ---- Intro Video Section ---- */
.intro-video-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.intro-video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.intro-video-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-video-frame {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--black);
    border: 1px solid rgba(201, 168, 76, 0.3);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(201, 168, 76, 0.1),
        0 0 60px rgba(201, 168, 76, 0.08);
    transition: all 0.4s var(--ease);
}

.intro-video-frame:hover {
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 80px rgba(201, 168, 76, 0.15);
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-with-overlay {
    position: relative;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    z-index: 3;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    padding: 0;
}

.video-play-overlay svg {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s var(--ease);
}

.video-play-overlay:hover svg {
    transform: scale(1.1);
    color: var(--gold-light);
}

.video-with-overlay.playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-play-overlay svg {
        width: 64px;
        height: 64px;
    }
}

.intro-video-decor {
    position: absolute;
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    pointer-events: none;
    z-index: -1;
}

.intro-video-wrap::before,
.intro-video-wrap::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold);
    z-index: 2;
}

.intro-video-wrap::before {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
}

.intro-video-wrap::after {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
}

@media (max-width: 768px) {
    .intro-video-wrap::before,
    .intro-video-wrap::after {
        width: 20px;
        height: 20px;
    }
}

.contact-card p {
    color: var(--gray-light);
}

@media (max-width: 1024px) {
    .production-detail {
        grid-template-columns: 1fr;
    }
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   IN MEMORIAM — Long-form tributes
   ============================================ */
.memoriam-intro .signature,
.memoriam-tribute .signature {
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c9a84c;
    font-size: 1.1rem;
}

.memoriam-tribute {
    padding: 5rem 0;
}

.memoriam-tribute.alt {
    background: rgba(201, 168, 76, 0.025);
}

.tribute-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.tribute-grid.reverse {
    grid-template-columns: 1.15fr 0.85fr;
}

.tribute-grid.reverse .tribute-image {
    order: 2;
}

.tribute-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.tribute-image.stacked {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tribute-image.sticky {
    position: sticky;
    top: 6rem;
}

.tribute-text .tribute-name {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 1rem 0 0.75rem;
    color: #f5f0e1;
}

.tribute-text .tribute-name em {
    color: #c9a84c;
    font-style: italic;
    font-weight: 400;
}

.tribute-text .title-line {
    width: 60px;
    height: 2px;
    background: #c9a84c;
    margin: 1.5rem 0 2rem;
}

.tribute-text p {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.1rem;
    color: rgba(245, 240, 225, 0.85);
}

.tribute-text p.lead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: #f5f0e1;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.tribute-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid #c9a84c;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 0 4px 4px 0;
}

.tribute-quote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #f5f0e1;
    margin-bottom: 0.75rem;
}

.tribute-quote p:last-child {
    margin-bottom: 0;
}

.tribute-figure {
    margin: 2.5rem 0;
}

.tribute-figure img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.tribute-links {
    margin-top: 1.5rem;
    font-size: 0.92rem;
}

.tribute-links a {
    color: #c9a84c;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.4);
    transition: border-color 0.2s ease;
}

.tribute-links a:hover {
    border-bottom-color: #c9a84c;
}

.tribute-placeholder {
    aspect-ratio: 3 / 4;
    height: auto;
    border-radius: 4px;
}

.memoriam-close {
    padding: 5rem 0 7rem;
}

@media (max-width: 900px) {
    .tribute-grid,
    .tribute-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .tribute-grid.reverse .tribute-image {
        order: 0;
    }
    .tribute-image.sticky {
        position: static;
    }
    .memoriam-tribute {
        padding: 3.5rem 0;
    }
}
