/* ============================================================
   NTM Masterclasses — Detail page (editorial sand)

   Scoped under .ntm-mc-show. Header (NTM masthead) and footer
   (common footer-banner) are not styled here.
   ============================================================ */

.ntm-mc-show {
    --bg: #F0EBE0;
    --bg-soft: #EAE3D4;
    --bg-deep: #E2DAC8;
    --ivory: #F5F1E6;
    --ink: #0A0E14;
    --ink-soft: #1A1A1A;
    --ink-mute: #5A5A5A;
    --ink-faint: #999285;
    --rule: #D6CFBE;
    --rule-soft: #E2DAC8;
    --teal: #3F6F73;
    --teal-deep: #2C5559;
    --teal-hover: #5A8B8F;

    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.ntm-mc-show a { color: inherit; text-decoration: none; }
.ntm-mc-show button { font-family: inherit; }

.ntm-mc-show__container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ───────── BREADCRUMB ───────── */
.ntm-mc-show__breadcrumb {
    padding: 32px 0 0;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.ntm-mc-show__breadcrumb a:hover { color: var(--teal); }
.ntm-mc-show__breadcrumb .sep { margin: 0 12px; color: var(--teal); }
.ntm-mc-show__breadcrumb .current { color: var(--ink); }

/* ───────── HERO ───────── */
.ntm-mc-show__hero {
    padding: 50px 0 90px;
}
.ntm-mc-show__hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}
.ntm-mc-show__meta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
}
.ntm-mc-show__meta-num {
    background: var(--ink);
    color: var(--bg);
    padding: 6px 12px;
    display: inline-block;
    line-height: 1;
}
.ntm-mc-show__meta-cat { color: var(--teal); }
.ntm-mc-show__meta-divider { color: var(--rule); }

.ntm-mc-show__title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
    color: var(--ink);
}
.ntm-mc-show__title em {
    font-style: italic;
    color: var(--teal);
    font-weight: 400;
}

.ntm-mc-show__standfirst {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-mute);
    margin: 0 0 36px;
    max-width: 560px;
}

.ntm-mc-show__cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ntm-mc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
    text-decoration: none;
}
.ntm-mc-btn--primary {
    background: var(--teal);
    color: var(--bg) !important;
}
.ntm-mc-btn--primary:hover {
    background: var(--teal-deep);
    color: var(--bg) !important;
    text-decoration: none;
}
.ntm-mc-btn--primary svg { width: 12px; height: 12px; fill: var(--bg); }
.ntm-mc-btn--secondary {
    background: transparent;
    color: var(--ink) !important;
    border: 1px solid var(--ink);
}
.ntm-mc-btn--secondary:hover {
    background: var(--ink);
    color: var(--bg) !important;
    text-decoration: none;
}
.ntm-mc-btn--secondary svg { width: 12px; height: 12px; fill: var(--ink); transition: fill 0.2s ease; }
.ntm-mc-btn--secondary:hover svg { fill: var(--bg); }
.ntm-mc-btn--disabled {
    background: var(--rule);
    color: var(--ink-mute) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hero portrait */
.ntm-mc-show__portrait {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-deep);
    position: relative;
    overflow: hidden;
}
.ntm-mc-show__portrait--empty {
    background: linear-gradient(135deg, var(--teal-deep) 0%, var(--ink) 100%);
}
.ntm-mc-show__portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 20, 0.45) 100%);
}
.ntm-mc-show__portrait-stamp {
    position: absolute;
    bottom: 24px; left: 24px;
    z-index: 2;
    color: var(--bg);
}
.ntm-mc-show__portrait-stamp .label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 241, 230, 0.7);
    font-weight: 500;
    margin-bottom: 6px;
}
.ntm-mc-show__portrait-stamp .name {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1;
    color: var(--bg);
}
.ntm-mc-show__portrait-stamp .name em {
    font-style: italic;
    color: var(--bg);
    font-weight: 400;
}

/* ───────── ACCESS NOTICE ───────── */
.ntm-mc-show__access-notice {
    margin-top: 24px;
    padding: 14px 18px;
    border: 1px solid var(--rule);
    background: var(--ivory);
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--ink-soft);
    max-width: 560px;
}
.ntm-mc-show__access-notice .lock {
    color: var(--teal);
    flex-shrink: 0;
}
.ntm-mc-show__access-notice strong { color: var(--ink); font-weight: 600; }

/* ───────── ABOUT ───────── */
.ntm-mc-show__about {
    padding: 90px 0;
}
.ntm-mc-show__about-inner {
    max-width: 760px;
    margin: 0 auto;
}
.ntm-mc-show__section-label {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 18px;
}
.ntm-mc-show__section-h {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(32px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--ink);
}
.ntm-mc-show__section-h em { font-style: italic; color: var(--teal); font-weight: 400; }

.ntm-mc-show__prose {
    margin-top: 24px;
}
.ntm-mc-show__prose p,
.ntm-mc-show__prose li {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 24px;
}
.ntm-mc-show__prose ul,
.ntm-mc-show__prose ol {
    padding-left: 24px;
    margin: 0 0 24px;
}
.ntm-mc-show__prose p:first-of-type::first-letter {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    float: left;
    font-size: 76px;
    line-height: 0.85;
    margin: 8px 14px 0 0;
    color: var(--teal);
}
.ntm-mc-show__prose em { font-style: italic; color: var(--teal); }
.ntm-mc-show__prose strong { font-weight: 600; color: var(--ink); }
.ntm-mc-show__prose a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ntm-mc-show__prose a:hover { color: var(--teal-deep); }
.ntm-mc-show__prose blockquote {
    margin: 50px 0;
    padding: 36px 0 36px 32px;
    border-left: 3px solid var(--teal);
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 2.6vw, 28px);
    line-height: 1.3;
    color: var(--ink);
}

/* ───────── INSTRUCTOR ───────── */
.ntm-mc-show__teacher {
    padding: 80px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.ntm-mc-show__teacher-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
}
.ntm-mc-show__teacher-role {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--ink-mute);
    margin: 0 0 28px;
}
.ntm-mc-show__teacher-bio {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 28px;
    max-width: 620px;
}
.ntm-mc-show__teacher-bio em { font-style: italic; color: var(--teal); }
.ntm-mc-show__teacher-bio p { margin: 0 0 16px; }
.ntm-mc-show__teacher-bio p:last-child { margin-bottom: 0; }

/* Socials */
.ntm-mc-show__socials-block {
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
.ntm-mc-show__socials-label {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 16px;
}
.ntm-mc-show__socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ntm-mc-show__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--rule);
    background: transparent;
    font-size: 11px;
    color: var(--ink);
    transition: all 0.2s ease;
    text-decoration: none;
}
.ntm-mc-show__social-link:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    text-decoration: none;
}
.ntm-mc-show__social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.ntm-mc-show__social-link .handle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Side card */
.ntm-mc-show__teacher-side {
    background: var(--bg);
    border: 1px solid var(--rule);
    padding: 28px;
}
.ntm-mc-show__teacher-side-img {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-deep);
    margin-bottom: 24px;
}
.ntm-mc-show__teacher-side-img--empty {
    background: linear-gradient(135deg, var(--teal-deep), var(--ink));
}
.ntm-mc-show__teacher-side h5 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 22px;
    margin: 0 0 6px;
    color: var(--ink);
}
.ntm-mc-show__teacher-side h5 em { font-style: italic; color: var(--teal); }
.ntm-mc-show__teacher-side-role {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 14px;
    color: var(--ink-mute);
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}
.ntm-mc-show__teacher-side-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--teal);
    color: var(--bg) !important;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.2s ease;
}
.ntm-mc-show__teacher-side-cta:hover {
    background: var(--teal-deep);
    color: var(--bg) !important;
    text-decoration: none;
}

/* ───────── VIDEO MODAL ───────── */
.ntm-mc-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 20, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.ntm-mc-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.ntm-mc-modal__inner {
    background: #000;
    max-width: 1100px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}
.ntm-mc-modal.is-open .ntm-mc-modal__inner { transform: translateY(0); }
.ntm-mc-modal__close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 241, 230, 0.95);
    border: 1px solid var(--rule);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease, color 0.2s ease;
}
.ntm-mc-modal__close:hover {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
}
.ntm-mc-modal__close svg { width: 16px; height: 16px; }
.ntm-mc-modal__frame {
    aspect-ratio: 16 / 9;
    width: 100%;
}
.ntm-mc-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1000px) {
    .ntm-mc-show__hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .ntm-mc-show__teacher-grid { grid-template-columns: 1fr; gap: 50px; }
    .ntm-mc-show__teacher-side { max-width: 400px; }
}
@media (max-width: 640px) {
    .ntm-mc-show__container { padding: 0 24px; }
    .ntm-mc-show__hero { padding: 32px 0 60px; }
    .ntm-mc-show__about { padding: 60px 0; }
    .ntm-mc-show__teacher { padding: 60px 0; }
    .ntm-mc-show__prose blockquote { margin: 32px 0; padding-left: 20px; }
    .ntm-mc-modal__close { top: 8px; right: 8px; }
}
