/* Base Styles & Reset */
:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --primary-color: #e0e0e0;
    --accent-color: #333333;
    --nav-bg: rgba(26, 26, 26, 0.9);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.divider {
    height: 3px;
    width: 50px;
    background-color: #ffffff;
    margin: 0 auto 3rem auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: #cccccc;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    max-width: 100%;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.logo:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Right Branding */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 2;
}

.header-brand-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    line-height: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle.active .hamburger { background-color: transparent; }
.menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.menu-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    background-color: #000000;
    overflow: hidden;
    padding-top: 60px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 48%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 2.5rem 1.15rem 2.5rem;
    text-align: left;
}

.hero-title {
    font-size: clamp(1.35rem, 2.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0;
    animation: fadeInDown 1s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* About / Welcome Section */
.about.section {
    padding-top: 1.25rem;
    padding-bottom: 0;
}

.about .section-title {
    margin-bottom: 1.25rem;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #cccccc;
}

.welcome-divider {
    height: 1px;
    width: 86%;
    max-width: 1400px;
    margin: 2.5rem auto 0 auto;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 20%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.18) 80%, transparent 100%);
}

/* Portfolio Section */
.portfolio.section {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

.portfolio .container {
    max-width: 1560px;
    width: 94%;
}

.portfolio .section-header {
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.48);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
    text-align: center;
}

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

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.card-play-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    padding: 0.42rem 1.1rem;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #000000;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.card-play-action svg {
    width: 11px;
    height: 11px;
}

.portfolio-card:hover .card-play-action {
    background: #e8e8e8;
    transform: scale(1.05);
}

.portfolio-title {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.35rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    max-width: 88%;
}

/* ==========================================================================
   Site Footer (Rendy Portfolio Style)
   ========================================================================== */
.site-footer {
    padding: clamp(60px, 9vw, 96px) 1.5rem 50px;
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
    border-top: none;
}

.footer-work {
    margin: 0 auto clamp(40px, 6vw, 64px);
    text-align: center;
}

.footer-work h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-work p {
    margin: 0 auto 24px;
    color: #888888;
    font-size: 1.05rem;
    line-height: 1.4;
}

.footer-contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-icon:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.contact-icon svg {
    display: block;
}

.footer-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #666666;
    margin-top: 2.5rem;
}

.footer-meta span,
.footer-meta a,
.footer-policy-link {
    color: #666666;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-meta a:hover,
.footer-policy-link:hover {
    color: #ffffff;
}

.footer-policy-link {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.footer-dot {
    color: #444444;
    opacity: 0.6;
}

/* ==========================================================================
   Privacy Policy Modal / Pop-up Styles
   ========================================================================== */
dialog.policy-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    z-index: 9999;
}

dialog.policy-modal::backdrop {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: modalBackdropFade 0.25s ease-out;
}

.policy-modal-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.policy-modal-card {
    position: relative;
    width: 100%;
    max-width: 740px;
    max-height: 85vh;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalContentZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.policy-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 22, 22, 0.8);
    flex-shrink: 0;
}

.policy-modal-top h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.policy-modal-close {
    background: transparent;
    border: none;
    color: #888888;
    cursor: pointer;
    padding: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.policy-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.policy-modal-scroll {
    padding: 1.75rem;
    overflow-y: auto;
    color: #cccccc;
    line-height: 1.75;
    font-size: 0.95rem;
    overscroll-behavior: contain;
}

.policy-modal-scroll .policy-date {
    color: #888888;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: block;
    font-family: var(--font-heading);
}

.policy-modal-scroll h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.policy-modal-scroll h3:first-of-type {
    margin-top: 0;
}

.policy-modal-scroll p {
    margin-bottom: 1rem;
}

.policy-modal-scroll a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-modal-scroll a:hover {
    color: #aaaaaa;
}

/* Custom scrollbar for policy modal */
.policy-modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.policy-modal-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.policy-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.policy-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */
.policy-page {
    padding: 8rem 1.5rem 5rem;
    min-height: 80vh;
}

.policy-container {
    max-width: 820px;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.policy-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.policy-date {
    color: #888888;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.policy-body {
    color: #cccccc;
    line-height: 1.85;
    font-size: 1.05rem;
}

.policy-body h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}

.policy-body p {
    margin-bottom: 1.25rem;
}

.policy-body a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.policy-body a:hover {
    color: #aaaaaa;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.25rem;
    }
    
    .logo-img {
        height: 36px;
    }

    .header-brand-title {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }

    .header-right {
        gap: 0.75rem;
    }

    .menu-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
    }
    
    .nav.active { right: 0; }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .nav-link { font-size: 1.5rem; }
    
    .section { padding: 4rem 0; }
    .about.section { padding-top: 2rem; padding-bottom: 1rem; }
    .portfolio.section { padding-top: 1rem; padding-bottom: 3.5rem; }
    .portfolio .section-header { margin-bottom: 2rem; }

    /* Mobile (HP): Title and play button visible from start without black overlay */
    .portfolio-overlay {
        opacity: 1;
        background-color: transparent;
        background: none;
        padding: 1rem;
    }

    .portfolio-card:hover .portfolio-overlay {
        opacity: 1;
        background-color: transparent;
        background: none;
    }

    .portfolio-title {
        font-size: 1.25rem;
        margin-bottom: 0.85rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
    }

    .card-play-action {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 576px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Project Video Gallery Modal (Rendy Portfolio Style)
   ========================================================================== */

dialog.project-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    color: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), display 0.3s allow-discrete, overlay 0.3s allow-discrete;
}

dialog.project-modal[open] {
    opacity: 1;
    transform: translateY(0);
}

@starting-style {
    dialog.project-modal[open] {
        opacity: 0;
        transform: translateY(20px);
    }
}

dialog.project-modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
}

dialog.project-modal[open]::backdrop {
    opacity: 1;
}

@starting-style {
    dialog.project-modal[open]::backdrop {
        opacity: 0;
    }
}

.project-modal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem 1.5rem;
}

/* Modal Header */
.project-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    background: transparent;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
}

.modal-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-nav-back:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateX(-4px);
}

.modal-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-nav-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: rotate(90deg);
}

/* Series Player Shell */
.series-player-shell {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    margin-bottom: 2.5rem;
}

.project-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.project-player video,
.project-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
    display: block;
}

/* Playlist Info Bar */
.series-playlist-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #141414;
    flex-wrap: wrap;
    gap: 1rem;
}

.now-playing-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.series-now-playing h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.series-playlist-actions {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.series-autoplay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: none;
    color: #aaaaaa;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.series-autoplay-toggle:hover {
    color: #ffffff;
}

.autoplay-switch {
    width: 34px;
    height: 18px;
    background: #333333;
    border-radius: 9999px;
    position: relative;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.autoplay-switch i {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.autoplay-switch.active {
    background: #ffffff;
}

.autoplay-switch.active i {
    transform: translateX(16px);
    background: #000000;
}

.series-playlist-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 600;
    font-family: var(--font-heading);
}

.pager-control {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pager-control:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}

.pager-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Playlist / Video Series Carousel */
.series-playlist-carousel {
    padding: 1.5rem 1.75rem;
    background: #111111;
    overflow: hidden;
}

.series-playlist-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: #333333 #111111;
}

.series-playlist-track::-webkit-scrollbar {
    height: 6px;
}

.series-playlist-track::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

.series-playlist-card {
    flex: 0 0 230px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    color: inherit;
    transition: all 0.25s ease;
    padding: 0;
}

.series-playlist-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.series-playlist-card.is-active {
    border-color: #ffffff;
    background: #222222;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

.series-playlist-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    display: block;
}

.series-playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-playlist-card:hover .series-playlist-thumb img {
    transform: scale(1.05);
}

.series-playlist-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-family: var(--font-heading);
}

.series-playlist-card.is-active .series-playlist-status {
    background: #ffffff;
    color: #000000;
}

.series-playlist-card-copy {
    padding: 0.85rem 1rem;
    display: block;
}

.series-playlist-card-copy strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Project Detail Layout */
.project-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
}

.project-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.project-date-text {
    color: #888888;
    font-size: 0.85rem;
    font-family: var(--font-heading);
}

.project-detail-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
}

.project-detail-desc {
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.project-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tag-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.95rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.project-side-note {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.75rem;
    height: fit-content;
}

.side-note-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.85rem;
    font-family: var(--font-heading);
}

.project-side-note p {
    font-size: 0.95rem;
    color: #dddddd;
    line-height: 1.7;
}

/* Media Queries for Project Modal */
@media (max-width: 900px) {
    .project-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem;
    }
}

@media (max-width: 650px) {
    .project-modal-container {
        padding: 1.25rem 1rem 3.5rem 1rem;
    }
    .series-playlist-card {
        flex: 0 0 190px;
    }
    .project-detail-heading {
        font-size: 1.6rem;
    }
    .series-playlist-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
    .series-playlist-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   About Tab & Subpage Layout (Rendy Portfolio Style)
   ========================================================================== */

.tab-view {
    animation: tabFadeIn 0.35s ease-out;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-page {
    min-height: 80vh;
}

/* Subpage Hero */
.subpage-hero {
    padding: clamp(7rem, 11vw, 9.5rem) 0 2rem 0;
    text-align: left;
}

.subpage-title {
    font-size: clamp(3rem, 6.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading);
}

.text-accent {
    color: #22c55e;
}

/* About Layout Section */
.about-layout-section {
    padding: 2.5rem 0 3.5rem 0;
}

.about-layout-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    font-size: clamp(1.4rem, 2.3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    font-family: var(--font-heading);
}

.bullet-dot {
    color: #22c55e;
    font-size: 0.85em;
    line-height: 1;
}

.about-copy {
    padding-top: 0.35rem;
}

.about-copy p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

/* Client Trust / Feedback Section */
.client-trust-section {
    padding: 4rem 0;
}

.trust-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section-display-heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0;
    font-family: var(--font-heading);
}

.trust-source-note {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #aaaaaa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.25s ease;
}

.trust-source-note:hover {
    color: #22c55e;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testimonial-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating {
    color: #22c55e;
    letter-spacing: 2px;
    font-size: 1rem;
}

.rating-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.testimonial-date {
    font-size: 0.75rem;
    color: #777777;
    font-family: var(--font-heading);
}

.testimonial-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
}

.testimonial-project {
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 1.25rem;
}

.testimonial-source {
    color: #aaaaaa;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #bbbbbb;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    font-style: normal;
}

.testimonial-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-chip {
    font-size: 0.7rem;
    font-weight: 600;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
}

.about-work-footer {
    padding: 5rem 0 3.5rem 0;
    text-align: center;
}

/* Media Queries for About Tab */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .subpage-hero {
        padding-top: 6.5rem;
    }
}

