/*
Theme Name: OM Studio
Description: Yoga streaming platform with membership system
Version: 3.4.0
Author: Misaki Ouchi
Text Domain: om-studio
*/

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0c0c0c;
    color: #f0ede8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Hide WordPress admin bar and default elements */
#wpadminbar,
.ast-above-header-wrap,
.ast-desktop,
#masthead,
.site-header,
.main-header-bar,
.ast-primary-header-bar,
.ast-below-header-wrap,
.footer-widget-area,
.site-footer,
#colophon {
    display: none !important;
}

/* Utility classes */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: #f0ede8;
    color: #0c0c0c;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
}

/* ─── Header ─── */
.om-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: none;
}
.om-logo svg {
    width: 140px;
    max-width: 80vw;
}
.om-nav { display: none; }
.auth-page .om-nav,
.members-page .om-nav { display: flex; gap: 24px; align-items: center; }
.nav-link {
    color: rgba(240,237,232,0.85) !important;
    text-decoration: none !important;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: #f0ede8 !important; }
.nav-divider { width: 1px; height: 16px; background: rgba(240,237,232,0.12); }
.btn-join {
    color: #0c0c0c;
    background: #f0ede8;
    text-decoration: none;
    padding: 9px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.btn-join:hover { opacity: 0.9; }

/* ─── Hamburger ─── */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #f0ede8;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile dropdown menu ─── */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    z-index: 9999;
    background: rgba(12,12,12,0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(240,237,232,0.08);
    padding: 8px 0 16px;
}
.mobile-menu a {
    color: rgba(240,237,232,0.7);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(240,237,232,0.05);
}
.mobile-menu a:hover { color: #f0ede8; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mob-join {
    display: block;
    margin: 12px 32px 0;
    background: #f0ede8;
    color: #0c0c0c;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: none;
}

/* ─── Hero ─── */
.om-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background-color: #0c0c0c;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-logo {
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}
.hero-logo svg {
    width: 180px;
    max-width: 90vw;
}
.om-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.62);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(240,237,232,0.65);
    margin-bottom: 14px;
}
.hero-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 18px;
    color: #f0ede8;
}
.hero-sub {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(240,237,232,0.72);
    margin-bottom: 30px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.2s;
}
.btn-primary {
    background: #f0ede8;
    color: #0c0c0c;
}
.btn-primary:hover { opacity: 0.95; }
.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #f0ede8;
    border: 1px solid rgba(240,237,232,0.2);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(240,237,232,0.5);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ─── Main ─── */
.om-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 48px 100px;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240,237,232,0.3);
    margin-bottom: 8px;
}
.section-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #f0ede8;
}

.member-note {
    max-width: 720px;
    margin: 0 auto 40px;
    color: rgba(240,237,232,0.68);
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    line-height: 1.75;
    text-align: center;
}

.about-copy {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: rgba(240,237,232,0.8);
    line-height: 1.8;
    font-size: 1rem;
}
.about-copy p {
    margin-bottom: 1.6rem;
}
.about-copy p:last-child {
    margin-bottom: 0;
}

/* ─── Video grid ─── */
.video-section { margin-bottom: 72px; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.video-card { cursor: default; }

.video-thumb {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #161616;
    padding-top: 56.25%;
    margin-bottom: 16px;
}
.video-thumb iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.video-thumb.blurred iframe {
    filter: blur(8px);
    pointer-events: none;
}
.video-thumb.blurred .video-cover {
    filter: blur(10px);
    transform: scale(1.15);
    pointer-events: none;
}
.video-thumb.blurred .lock-overlay { display: flex; }
.video-thumb.blurred .lock-overlay {
    background: rgba(12,12,12,0.55);
}

.lock-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12,12,12,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
}
.lock-overlay-icon {
    font-size: 1.1rem;
    opacity: 0.5;
    margin-bottom: 8px;
}
.lock-overlay-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.video-thumb.empty,
.video-thumb.coming {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    height: 160px;
    background: #161616;
}
.coming-icon {
    font-size: 1.2rem;
    opacity: 0.15;
}

.badge {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(201,168,76,0.9);
    color: #0c0c0c;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.video-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 4px;
    color: #f0ede8;
}
.video-tags {
    font-size: 0.72rem;
    color: rgba(240,237,232,0.25);
    margin-top: 6px;
    letter-spacing: 0.04em;
}

.divider {
    border: none;
    border-top: 1px solid rgba(240,237,232,0.07);
    margin: 0 0 72px;
}

/* ─── Premium guidance banner ─── */
.guidance-gate {
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 32px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 4px;
}
.guidance-gate h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #c9a84c;
}
.guidance-gate p {
    color: rgba(240,237,232,0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}
.guidance-badge {
    display: inline-block;
    border: 1px solid #c9a84c;
    color: #c9a84c;
    font-size: 0.62rem;
    font-weight: 400;
    padding: 2px 8px;
    vertical-align: middle;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ─── Pricing ─── */
.pricing-section { max-width: 820px; margin: 0 auto; }
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 40px;
}
.pricing-card {
    padding: 40px 36px;
    background: #111;
    border: 1px solid rgba(240,237,232,0.08);
}
.pricing-card.featured {
    background: #f0ede8;
    color: #0c0c0c;
    border-color: transparent;
}
.plan-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 20px;
}
.plan-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 4px;
}
.plan-price span {
    font-size: 1rem;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}
.plan-period {
    font-size: 0.78rem;
    opacity: 0.45;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}
.plan-features {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
    border-top: 1px solid rgba(240,237,232,0.08);
    padding-top: 20px;
}
.pricing-card.featured .plan-features {
    border-color: rgba(0,0,0,0.12);
}
.plan-features li {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
    opacity: 0.75;
}
.plan-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0.4;
}
.btn-plan {
    display: inline-block;
    width: 100%;
    background: #f0ede8;
    color: #0c0c0c;
    text-decoration: none;
    padding: 14px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 2px;
    transition: opacity 0.2s;
}
.pricing-card.featured .btn-plan {
    background: #0c0c0c;
    color: #f0ede8;
}
.btn-plan:hover { opacity: 0.85; }

/* ─── Footer ─── */
.om-footer {
    text-align: center;
    padding: 48px 20px;
    color: rgba(240,237,232,0.2);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-top: 1px solid rgba(240,237,232,0.07);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .om-header { padding: 18px 24px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .om-main { padding: 60px 32px 80px; }
}
@media (max-width: 768px) {
    .hero-heading { font-size: 2.8rem; }
    .hero-sub { font-size: 1rem; }
    .om-main { padding: 60px 24px 80px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card { padding: 32px 24px; }
}

/* ─── Authentication Pages ─── */
.auth-page {
    font-family: Inter, system-ui, sans-serif;
    background: #0c0c0c;
    color: #f0ede8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-page .om-header {
    background: rgba(12,12,12,0.92);
    border-bottom: 1px solid rgba(240,237,232,0.06);
}

.login-wrap,
.reset-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-box,
.reset-box {
    background: #111;
    border: 1px solid rgba(240,237,232,0.08);
    border-radius: 0;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.login-box h2,
.reset-box h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 6px;
    color: #f0ede8;
}

.login-box p,
.reset-box .reset-sub {
    color: rgba(240,237,232,0.4);
    font-size: 0.8rem;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

/* Hide username field on account/edit profile only — scoped to avoid breaking login */
.account-content [class*="field-username"],
.account-content [class*="field_username"],
.account-content p:has(#user_login),
.account-content p:has(input[name="user_login"]) { display: none !important; }

.pms-form label,
.pms-lost-password-form label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: rgba(240,237,232,0.45);
}

.pms-form input[type="text"],
.pms-form input[type="email"],
.pms-form input[type="password"],
.pms-lost-password-form input[type="text"],
.pms-lost-password-form input[type="email"] {
    width: 100%;
    background: #111;
    border: 1px solid rgba(240,237,232,0.12);
    color: #f0ede8;
    padding: 13px 16px;
    border-radius: 0;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.pms-form input:focus,
.pms-lost-password-form input:focus {
    border-color: rgba(240,237,232,0.35);
}

.pms-form input[type="submit"],
.pms-lost-password-form input[type="submit"] {
    width: 100%;
    background: #f0ede8;
    color: #0c0c0c;
    border: none;
    padding: 15px 24px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    margin-top: 6px;
    transition: opacity 0.2s;
}

.pms-form input[type="submit"]:hover,
.pms-lost-password-form input[type="submit"]:hover {
    opacity: 0.85;
}

.pms-form a,
.pms-lost-password-form a {
    color: rgba(240,237,232,0.45);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.pms-form a:hover,
.pms-lost-password-form a:hover {
    color: rgba(240,237,232,0.7);
}

.back-link {
    display: inline-block;
    margin-top: 28px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: #fff;
}

.auth-page .om-footer {
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ─── Password Reset ─── */
.reset-box {
    width: 100%;
    max-width: 440px;
}

.reset-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240,237,232,0.3);
    margin-bottom: 8px;
}

.reset-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 8px;
}

.reset-sub {
    font-size: 0.78rem;
    color: rgba(240,237,232,0.4);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* ─── Members Page ─── */
.members-page {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0c0c0c;
    color: #e8e4de;
    line-height: 1.7;
    font-weight: 300;
}

.members-page .om-header {
    background: rgba(12,12,12,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.members-page .om-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 60px 120px;
}

.welcome-bar {
    margin-bottom: 80px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.welcome-bar h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.welcome-bar p {
    color: rgba(232,228,222,0.35);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.section-title-jp {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(232,228,222,0.35);
    margin-left: 12px;
    letter-spacing: 0.08em;
    font-family: 'Inter', sans-serif;
}

.members-page .video-section {
    margin-bottom: 80px;
}

.members-page .video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.members-page .video-card {
    cursor: pointer;
}

.members-page .video-thumb {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #161616;
    padding-top: 56.25%;
    margin-bottom: 16px;
}

.members-page .video-thumb iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.members-page .video-thumb.coming {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    height: 160px;
    background: #161616;
}

.members-page .coming-icon {
    font-size: 1.2rem;
    opacity: 0.15;
}

.members-page .duration {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.8);
    color: rgba(232,228,222,0.7);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 3px 8px;
}

.members-page .video-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.members-page .title-jp {
    display: block;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(232,228,222,0.35);
    margin-top: 3px;
    letter-spacing: 0.06em;
    font-family: 'Inter', sans-serif;
}

.members-page .premium-section .section-title {
    color: #c9a84c;
}

.members-page .premium-badge {
    display: inline-block;
    border: 1px solid #c9a84c;
    color: #c9a84c;
    font-size: 0.62rem;
    font-weight: 400;
    padding: 2px 8px;
    margin-left: 12px;
    vertical-align: middle;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.members-page .om-footer {
    text-align: center;
    padding: 48px 20px;
    color: rgba(232,228,222,0.2);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ─── Members Page Responsive ─── */
@media (max-width: 900px) {
    .members-page .video-grid { grid-template-columns: repeat(2, 1fr); }
    .members-page .om-main { padding: 100px 32px 80px; }
    .members-page .om-header { padding: 24px 32px; }
}

@media (max-width: 600px) {
    .members-page .video-grid { grid-template-columns: repeat(2, 1fr); }
    .members-page .om-header { padding: 20px 24px; }
}

/* ─── Video Thumbnails & Modal ─── */
.video-cover {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #1a1a1a center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.video-cover::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    transition: background 0.2s;
}
.om-playable .video-thumb { cursor: pointer; }
.om-playable:hover .video-cover::after { background: rgba(0,0,0,0.25); }

.play-btn {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(240,237,232,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s;
}
.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent #f0ede8;
    margin-left: 4px;
}
.om-playable:hover .play-btn {
    transform: scale(1.08);
    border-color: #f0ede8;
}

/* Modal */
#om-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
}
#om-modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.88);
    cursor: pointer;
}
#om-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 960px;
    background: #0c0c0c;
}
#om-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: rgba(240,237,232,0.6);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.2s;
}
#om-modal-close:hover { color: #f0ede8; }
#om-modal-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
#om-modal-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ─── Checkout Page ─── */
.checkout-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 80px;
}
.checkout-back {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240,237,232,0.35);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}
.checkout-back:hover { color: #f0ede8; }
.checkout-panels {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    width: 100%;
}

.plan-summary {
    width: 280px;
    flex-shrink: 0;
    padding: 32px;
    border: 1px solid rgba(240,237,232,0.08);
    background: #111;
    position: sticky;
    top: 40px;
}
.plan-summary-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240,237,232,0.3);
    margin-bottom: 20px;
}
.plan-summary-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 8px;
}
.plan-summary-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 4px;
}
.plan-summary-price sup { font-size: 1rem; vertical-align: top; margin-top: 6px; display: inline-block; }
.plan-summary-period {
    font-size: 0.75rem;
    color: rgba(240,237,232,0.4);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}
.plan-summary-features {
    list-style: none;
    border-top: 1px solid rgba(240,237,232,0.08);
    padding-top: 20px;
}
.plan-summary-features li {
    font-size: 0.78rem;
    color: rgba(240,237,232,0.6);
    padding: 6px 0 6px 14px;
    position: relative;
    line-height: 1.5;
}
.plan-summary-features li::before { content: '—'; position: absolute; left: 0; opacity: 0.35; }

.checkout-box {
    flex: 1;
    max-width: 520px;
}
.checkout-box h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 8px;
}
.checkout-box .sub {
    font-size: 0.8rem;
    color: rgba(240,237,232,0.4);
    margin-bottom: 36px;
    letter-spacing: 0.04em;
}

/* ── Broad checkout reset ── */
.checkout-box * {
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.checkout-box a {
    color: rgba(240,237,232,0.45) !important;
    text-decoration: none !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.06em !important;
}
.checkout-box a:hover { color: #f0ede8 !important; }
.checkout-box p {
    color: rgba(240,237,232,0.5) !important;
    font-size: 0.82rem !important;
    line-height: 1.7 !important;
}
.checkout-box ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
}
.checkout-box ul li {
    font-size: 0.78rem !important;
    color: rgba(240,237,232,0.5) !important;
    padding: 5px 0 5px 14px !important;
    position: relative !important;
}
.checkout-box ul li::before {
    content: '—' !important;
    position: absolute !important;
    left: 0 !important;
    opacity: 0.3 !important;
}

.pms-form h3,
.pms-checkout-form h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    color: #f0ede8 !important;
    margin: 28px 0 16px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    letter-spacing: 0.04em;
}
.pms-form label,
.pms-checkout-form label {
    display: block;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(240,237,232,0.45) !important;
    margin-bottom: 8px !important;
}
.pms-form input[type="text"],
.pms-form input[type="email"],
.pms-form input[type="password"],
.pms-checkout-form input[type="text"],
.pms-checkout-form input[type="email"],
.pms-checkout-form input[type="password"],
.pms-checkout-form select {
    width: 100% !important;
    background: #111 !important;
    border: 1px solid rgba(240,237,232,0.12) !important;
    color: #f0ede8 !important;
    padding: 13px 16px !important;
    font-size: 0.88rem !important;
    font-family: 'Inter', sans-serif !important;
    margin-bottom: 16px !important;
    outline: none !important;
    border-radius: 0 !important;
    transition: border-color 0.2s !important;
    -webkit-appearance: none !important;
}
.pms-form input:focus,
.pms-checkout-form input:focus,
.pms-checkout-form select:focus {
    border-color: rgba(240,237,232,0.35) !important;
}

.pms-form .pms-subscription-plan,
.pms-checkout-form .pms-subscription-plan {
    background: #111 !important;
    border: 1px solid rgba(240,237,232,0.08) !important;
    padding: 16px 20px !important;
    margin-bottom: 8px !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: border-color 0.2s;
}
.pms-form .pms-subscription-plan:has(input:checked),
.pms-checkout-form .pms-subscription-plan:has(input:checked) {
    border-color: rgba(240,237,232,0.4) !important;
}
.pms-form .pms-subscription-plan label,
.pms-checkout-form .pms-subscription-plan label {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    color: rgba(240,237,232,0.8) !important;
    margin: 0 !important;
    cursor: pointer;
}

.pms-stripe-card-element,
.StripeElement,
#pms-stripe-card-element {
    background: #111 !important;
    border: 1px solid rgba(240,237,232,0.12) !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    color: #f0ede8 !important;
}

.pms-form input[type="submit"],
.pms-checkout-form input[type="submit"],
.pms-form button[type="submit"],
.pms-checkout-form button[type="submit"] {
    width: 100% !important;
    background: #f0ede8 !important;
    color: #0c0c0c !important;
    border: none !important;
    padding: 15px 24px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    margin-top: 8px !important;
    border-radius: 0 !important;
    font-family: 'Inter', sans-serif !important;
    transition: opacity 0.2s !important;
}
.pms-form input[type="submit"]:hover,
.pms-checkout-form input[type="submit"]:hover { opacity: 0.82 !important; }

.pms-payment-method-tabs,
.pms-stripe-payment-method-tab {
    background: #111 !important;
    border: 1px solid rgba(240,237,232,0.08) !important;
    color: rgba(240,237,232,0.6) !important;
    border-radius: 0 !important;
}
.pms-stripe-payment-method-tab.active,
.pms-stripe-payment-method-tab:focus {
    border-color: rgba(240,237,232,0.35) !important;
    color: #f0ede8 !important;
}

.pms-form .pms-error,
.pms-checkout-form .pms-error {
    color: #e07070 !important;
    font-size: 0.78rem !important;
    margin-bottom: 12px !important;
}

.pms-form table,
.pms-account table,
.pms-member-subscription-wrapper table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.82rem !important;
    color: rgba(240,237,232,0.75) !important;
    margin-bottom: 24px !important;
}
.pms-form table th,
.pms-account table th,
.pms-member-subscription-wrapper table th {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(240,237,232,0.35) !important;
    padding: 12px 16px !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(240,237,232,0.08) !important;
    background: none !important;
}
.pms-form table td,
.pms-account table td,
.pms-member-subscription-wrapper table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(240,237,232,0.06) !important;
    background: none !important;
    vertical-align: middle !important;
}
.pms-form table tr:last-child td,
.pms-account table tr:last-child td,
.pms-member-subscription-wrapper table tr:last-child td {
    border-bottom: none !important;
}
.pms-form table a,
.pms-account table a,
.pms-member-subscription-wrapper table a {
    color: rgba(240,237,232,0.45) !important;
    text-decoration: none !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
    margin-right: 12px !important;
    transition: color 0.2s !important;
}
.pms-form table a:hover,
.pms-account table a:hover,
.pms-member-subscription-wrapper table a:hover {
    color: #f0ede8 !important;
}
.pms-subscription-status-active {
    color: #7ec8a0 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
}

/* ─── Checkout Page Responsive ─── */
@media (max-width: 760px) {
    .checkout-wrap { padding: 32px 20px 60px; }
    .checkout-panels { flex-direction: column; align-items: stretch; gap: 32px; }
    .plan-summary { width: 100%; position: static; }
}

/* ─── Account Page ─── */
.account-back {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240,237,232,0.35);
    text-decoration: none;
    margin-bottom: 40px;
    transition: color 0.2s;
}
.account-back:hover { color: #f0ede8; }

.account-actions-top {
    margin-bottom: 40px;
}
.account-actions-bottom {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(240,237,232,0.06);
}
.account-action-btn {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    padding: 11px 24px;
    border: 1px solid rgba(240,237,232,0.2);
    color: rgba(240,237,232,0.7);
    transition: all 0.2s;
}
.account-action-btn:hover {
    border-color: rgba(240,237,232,0.5);
    color: #f0ede8;
}
.account-logout {
    color: rgba(240,237,232,0.4);
    border-color: rgba(240,237,232,0.1);
}
.account-logout:hover {
    color: #e07070;
    border-color: rgba(224,112,112,0.4);
}

.account-content {
    margin-top: 32px;
    max-width: 680px;
}

/* Hide Stripe branding and ugly default wrappers */
.account-content .pms-stripe-logo,
.account-content .stripe-logo,
.account-content [class*="StripeElement--"],
.account-content .pms-payment-gateway-icon,
.account-content .pms-account-subscription-plan-change-wrap h4,
.account-content h3 {
    display: none !important;
}

/* Section headings inside account */
.account-content .pms-account > h3,
.account-content .pms-account .pms-account-section-title {
    display: block !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.4rem !important;
    font-weight: 300 !important;
    color: #f0ede8 !important;
    margin: 40px 0 20px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    letter-spacing: 0.02em !important;
}

.account-content .pms-account,
.account-content .pms-form,
.account-content .pms-account *,
.account-content .pms-form * {
    color: #e8e4de !important;
    background: transparent !important;
    border-color: rgba(232,228,222,0.08) !important;
    box-shadow: none !important;
}

/* Nav tabs — target all possible PMS class names */
.account-content .pms-account-navigation,
.account-content .pms-tabs,
.account-content .pms-account-tabs,
.account-content .nav-tab-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(232,228,222,0.08) !important;
    margin: 0 0 36px !important;
    padding: 0 !important;
    background: transparent !important;
    list-style: none !important;
}
.account-content .pms-account-navigation a,
.account-content .pms-account-navigation li,
.account-content .pms-account-tab,
.account-content .pms-tab,
.account-content .nav-tab {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: rgba(232,228,222,0.3) !important;
    text-decoration: none !important;
    padding: 0 0 14px !important;
    margin: 0 28px 0 0 !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    cursor: pointer !important;
    display: inline-block !important;
    transition: color 0.2s !important;
}
.account-content .pms-account-navigation a:hover,
.account-content .pms-account-tab:hover,
.account-content .pms-account-tab-active,
.account-content .pms-tab-active,
.account-content .nav-tab-active,
.account-content .current {
    color: #e8e4de !important;
    border-bottom: 2px solid rgba(232,228,222,0.5) !important;
    background: transparent !important;
}

.account-content .pms-account table,
.account-content .pms-form table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.82rem !important;
    color: rgba(232,228,222,0.75) !important;
    margin-bottom: 24px !important;
    background: transparent !important;
}
.account-content .pms-account table th,
.account-content .pms-form table th {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(232,228,222,0.35) !important;
    padding: 14px 16px !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(232,228,222,0.08) !important;
    border-top: none !important;
    background: transparent !important;
}
.account-content .pms-account table td,
.account-content .pms-form table td {
    padding: 16px 16px !important;
    border-bottom: 1px solid rgba(232,228,222,0.06) !important;
    border-top: none !important;
    background: transparent !important;
    vertical-align: middle !important;
    color: rgba(232,228,222,0.8) !important;
}
.account-content .pms-account table tr,
.account-content .pms-form table tr {
    background: transparent !important;
}
.account-content .pms-account table tr:last-child td,
.account-content .pms-form table tr:last-child td {
    border-bottom: none !important;
}
.account-content .pms-account table a,
.account-content .pms-form table a {
    color: rgba(232,228,222,0.4) !important;
    text-decoration: none !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-right: 16px !important;
    transition: color 0.2s !important;
    background: transparent !important;
}
.account-content .pms-account table a:hover,
.account-content .pms-form table a:hover {
    color: #e8e4de !important;
}
.account-content .pms-subscription-status-active {
    color: #7ec8a0 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
}
.account-content .pms-subscription-status-canceled,
.account-content .pms-subscription-status-expired {
    color: #e07070 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
}

/* Profile / password form fields */
.account-content .pms-account label,
.account-content .pms-form label {
    display: block;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(232,228,222,0.35) !important;
    margin-bottom: 8px !important;
}
.account-content .pms-account input[type="text"],
.account-content .pms-account input[type="email"],
.account-content .pms-account input[type="password"],
.account-content .pms-form input[type="text"],
.account-content .pms-form input[type="email"],
.account-content .pms-form input[type="password"] {
    width: 100% !important;
    background: #161616 !important;
    border: 1px solid rgba(232,228,222,0.12) !important;
    color: #e8e4de !important;
    padding: 13px 16px !important;
    font-size: 0.88rem !important;
    font-family: 'Inter', sans-serif !important;
    margin-bottom: 8px !important;
    outline: none !important;
    border-radius: 0 !important;
    transition: border-color 0.2s !important;
}
.account-content .pms-account input:focus,
.account-content .pms-form input:focus {
    border-color: rgba(232,228,222,0.35) !important;
}

.account-content .pms-account input[type="submit"],
.account-content .pms-form input[type="submit"],
.account-content .pms-account button[type="submit"],
.account-content .pms-form button[type="submit"] {
    width: 100% !important;
    background: #e8e4de !important;
    color: #0c0c0c !important;
    border: none !important;
    padding: 15px 24px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    border-radius: 0 !important;
    font-family: 'Inter', sans-serif !important;
    transition: opacity 0.2s !important;
}
.account-content .pms-account input[type="submit"]:hover,
.account-content .pms-form input[type="submit"]:hover {
    opacity: 0.82 !important;
}

/* Hide username field in edit profile */
.account-content input[name="user_login"],
.account-content .pms-field-username,
.account-content .pms-account-username-wrap,
.account-content tr.pms-field-username,
.account-content .pms-form-field-username {
    display: none !important;
}

/* ── Broad reset: catch everything PMS outputs ── */
.account-content * {
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* All plain links inside account (tabs, actions) */
.account-content a {
    color: rgba(232,228,222,0.45) !important;
    text-decoration: none !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    transition: color 0.2s !important;
    background: transparent !important;
}
.account-content a:hover {
    color: #e8e4de !important;
}

/* Override back/logout buttons specifically */
.account-content .account-action-btn,
.account-content .account-back {
    font-size: 0.68rem !important;
}

/* Tab navigation row */
.account-content ul,
.account-content .pms-tabs,
.account-content .pms-account-navigation {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
    border: none !important;
    border-bottom: 1px solid rgba(232,228,222,0.08) !important;
    background: transparent !important;
    gap: 0 !important;
}
.account-content ul li,
.account-content ul li a {
    display: inline-block !important;
    padding: 0 28px 14px 0 !important;
    margin: 0 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
}
.account-content ul li.current a,
.account-content ul li.active a,
.account-content ul li a:focus {
    color: #e8e4de !important;
    border-bottom: 2px solid rgba(232,228,222,0.45) !important;
}

/* Table */
.account-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
    margin-bottom: 28px !important;
}
.account-content table th {
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: rgba(232,228,222,0.3) !important;
    padding: 0 16px 14px 0 !important;
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid rgba(232,228,222,0.07) !important;
    background: transparent !important;
}
.account-content table td {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: rgba(232,228,222,0.75) !important;
    padding: 16px 16px 16px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(232,228,222,0.05) !important;
    background: transparent !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.account-content table tr:last-child td {
    border-bottom: none !important;
}
.account-content table strong,
.account-content table b {
    font-weight: 500 !important;
    color: rgba(232,228,222,0.55) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

/* Status badges */
.account-content .pms-subscription-status-active { color: #7ec8a0 !important; font-size: 0.72rem !important; letter-spacing: 0.06em !important; }
.account-content .pms-subscription-status-expired,
.account-content .pms-subscription-status-canceled { color: #e07070 !important; font-size: 0.72rem !important; letter-spacing: 0.06em !important; }

/* Action links (Renew, Change, Abandon) */
.account-content table td a {
    display: inline-block !important;
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(232,228,222,0.45) !important;
    text-decoration: none !important;
    margin-right: 16px !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(232,228,222,0.15) !important;
    transition: all 0.2s !important;
}
.account-content table td a:hover {
    color: #e8e4de !important;
    border-bottom-color: rgba(232,228,222,0.5) !important;
}

/* General text */
.account-content p {
    font-size: 0.85rem !important;
    color: rgba(232,228,222,0.55) !important;
    line-height: 1.7 !important;
}

/* ─── Commerce Disclosure Page ─── */
.disclosure-content {
    max-width: 600px;
    margin-top: 40px;
}

.disclosure-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(232,228,222,0.08);
}

.disclosure-section:last-child {
    border-bottom: none;
}

.disclosure-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.disclosure-section p {
    color: rgba(232,228,222,0.7);
    line-height: 1.6;
    font-size: 0.9rem;
}