/* ============================================================
   SYNTHMOVEMENT — Cinematic Design System v2
   Palette: deep space black, electric blue, ember orange, ghost white
   Type: Bebas Neue (display) / Inter (body) / Space Mono (labels)
   ============================================================ */

:root {
    --black:       #060608;
    --deep:        #0a0a12;
    --mid:         #12121e;
    --surface:     #1a1a2e;
    --ember:       #ff6b1a;
    --ember-dim:   rgba(255,107,26,0.15);
    --blue:        #1e90ff;
    --blue-dim:    rgba(30,144,255,0.12);
    --white:       #f2f2f2;
    --white-70:    rgba(242,242,242,0.7);
    --white-30:    rgba(242,242,242,0.3);
    --white-10:    rgba(242,242,242,0.08);
    --border:      rgba(255,255,255,0.07);
    --font-display:'Bebas Neue', sans-serif;
    --font-body:   'Inter', sans-serif;
    --font-mono:   'Space Mono', monospace;
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body.sm-body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.sm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── LABELS ── */
.sm-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 16px;
}

/* ── NAV ── */
.sm-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 24px 48px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: background 0.4s var(--ease), padding 0.3s var(--ease);
}

.sm-nav--scrolled {
    background: rgba(6,6,8,0.96);
    backdrop-filter: blur(12px);
    padding: 16px 48px;
    border-bottom: 1px solid var(--border);
}

.sm-nav__logo { text-decoration: none; }
.sm-nav__logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.15em;
    color: var(--white);
}
.sm-nav__logo-text em {
    font-style: normal;
    color: var(--ember);
}

.sm-nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.sm-nav__links a {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-70);
    text-decoration: none;
    transition: color 0.2s;
}
.sm-nav__links a:hover { color: var(--white); }

.sm-nav__cta {
    background: var(--ember) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 2px;
    transition: opacity 0.2s !important;
}
.sm-nav__cta:hover { opacity: 0.85; }

.sm-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.sm-nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
}

/* ── HERO ── */
.sm-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sm-hero__bg {
    position: absolute;
    inset: -5%;
    transition: transform 0.1s linear;
    will-change: transform;
}

.sm-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Closed eye overlay — centered to match open eye */
#sm-eye-closed {
    object-position: center center !important;
}

.sm-hero__vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,    rgba(6,6,8,0.95) 0%,  rgba(6,6,8,0.3) 40%, transparent 70%),
        linear-gradient(to bottom, rgba(6,6,8,0.6)  0%,  transparent 30%),
        linear-gradient(to right,  rgba(6,6,8,0.4)  0%,  transparent 50%);
}

.sm-hero__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
}

.sm-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 80px;
    width: 100%;
}

.sm-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 20px;
    display: block;
}

.sm-hero__headline {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.0;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 700px;
}
.sm-hero__headline em {
    font-style: normal;
    color: var(--ember);
}

.sm-hero__sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--white-70);
    max-width: 480px;
    margin-bottom: 36px;
}

.sm-hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.sm-hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.sm-hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--ember), transparent);
    animation: scrollpulse 2s ease-in-out infinite;
}
.sm-hero__scroll-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--white-30);
    writing-mode: vertical-rl;
}
@keyframes scrollpulse {
    0%,100% { opacity:0.4; transform: scaleY(1); }
    50% { opacity:1; transform: scaleY(1.2); }
}

/* ── BUTTONS ── */
.sm-btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s var(--ease);
}

.sm-btn--primary {
    background: var(--ember);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 2px;
}
.sm-btn--primary:hover {
    background: #ff8040;
    transform: translateY(-2px);
}

.sm-btn--ghost {
    background: transparent;
    color: var(--white-70);
    padding: 15px 35px;
    border: 1px solid var(--border);
    border-radius: 2px;
}
.sm-btn--ghost:hover {
    color: var(--white);
    border-color: var(--white-30);
    background: var(--white-10);
}

.sm-btn--sm { padding: 10px 20px; font-size: 10px; }
.sm-btn--full { width: 100%; text-align: center; }

/* ── PILLARS ── */
.sm-pillars {
    padding: 100px 0;
    background: var(--deep);
    border-top: 1px solid var(--border);
}

.sm-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.sm-pillar {
    background: var(--deep);
    padding: 40px 32px;
    position: relative;
    transition: background 0.3s;
}
.sm-pillar:hover { background: var(--mid); }
.sm-pillar::before {
    content: attr(data-index);
    position: absolute;
    top: 20px; right: 24px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--white-30);
    letter-spacing: 0.1em;
}

.sm-pillar__icon {
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
}

.sm-pillar__title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 12px;
}

.sm-pillar__body {
    font-size: 13px;
    line-height: 1.7;
    color: var(--white-70);
}

/* ── ABOUT ── */
.sm-about {
    padding: 120px 0;
    background: var(--black);
}

.sm-about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sm-about__headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: var(--white);
    margin-bottom: 28px;
}

.sm-about__text p {
    color: var(--white-70);
    font-size: 15px;
    margin-bottom: 16px;
}

.sm-manifesto {
    border-left: 2px solid var(--ember);
    padding: 32px 40px;
    background: var(--ember-dim);
    border-radius: 2px;
}

.sm-manifesto p {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.sm-manifesto footer {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--ember);
    text-transform: uppercase;
}

/* ── EVENTS ── */
.sm-events {
    padding: 120px 0;
    background: var(--deep);
    border-top: 1px solid var(--border);
}

.sm-section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 48px;
}

.sm-events__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.sm-event {
    background: var(--deep);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.3s;
}
.sm-event:hover { background: var(--mid); }

.sm-event--featured {
    background: var(--mid);
    border-left: 2px solid var(--ember);
}

.sm-event__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    border: 1px solid var(--ember-dim);
    padding: 4px 10px;
    border-radius: 2px;
    width: fit-content;
}

.sm-event h3 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: var(--white);
}

.sm-event__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
}

.sm-event p:not(.sm-event__meta) {
    font-size: 13px;
    color: var(--white-70);
    line-height: 1.6;
    flex: 1;
}

/* ── JOIN ── */
.sm-join {
    padding: 120px 0;
    background: var(--black);
    border-top: 1px solid var(--border);
}

.sm-join__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.sm-join__headline {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 16px;
}

.sm-join__sub {
    font-size: 15px;
    color: var(--white-70);
    margin-bottom: 48px;
    line-height: 1.7;
}

.sm-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.sm-form__row {
    display: flex;
    gap: 12px;
}

.sm-form input,
.sm-form select {
    flex: 1;
    background: var(--mid);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.sm-form input::placeholder { color: var(--white-30); }
.sm-form input:focus,
.sm-form select:focus { border-color: var(--ember); }
.sm-form select option { background: var(--mid); }

.sm-success {
    margin-top: 20px;
    padding: 16px;
    background: var(--ember-dim);
    border: 1px solid var(--ember);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--ember);
    text-align: center;
}
.sm-success--error {
    background: rgba(255,50,50,0.1);
    border-color: rgba(255,50,50,0.4);
    color: #ff6060;
}

/* ── FOOTER ── */
.sm-footer {
    padding: 60px 0;
    background: var(--deep);
    border-top: 1px solid var(--border);
}

.sm-footer__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sm-footer__logo {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.2em;
    color: var(--white);
}

.sm-footer p {
    font-size: 13px;
    color: var(--white-70);
}

.sm-footer__copy {
    font-size: 11px !important;
    color: var(--white-30) !important;
    font-family: var(--font-mono);
}

/* ── SCROLL REVEAL ── */
.sm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.sm-revealed {
    opacity: 1;
    transform: translateY(0);
}
.sm-pillar:nth-child(2).sm-reveal { transition-delay: 0.1s; }
.sm-pillar:nth-child(3).sm-reveal { transition-delay: 0.2s; }
.sm-pillar:nth-child(4).sm-reveal { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .sm-pillars__grid { grid-template-columns: repeat(2, 1fr); }
    .sm-events__grid { grid-template-columns: 1fr; }
    .sm-about__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .sm-container { padding: 0 24px; }
    .sm-nav { padding: 20px 24px; }
    .sm-nav--scrolled { padding: 14px 24px; }
    .sm-nav__links { display: none; flex-direction: column; position: fixed; inset: 0; background: var(--black); justify-content: center; align-items: center; gap: 32px; z-index: 9998; }
    .sm-nav__links--open { display: flex; overflow-y: auto; }
    .sm-nav__links a { font-size: 14px; }
    /* Burger sits above the open overlay so it can close it */
    .sm-nav__burger { display: flex; position: relative; z-index: 10000; }
    .sm-nav__burger span { transition: transform 0.25s var(--ease), opacity 0.2s; }
    .sm-nav--menu-open .sm-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .sm-nav--menu-open .sm-nav__burger span:nth-child(2) { opacity: 0; }
    .sm-nav--menu-open .sm-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    /* backdrop-filter on the scrolled nav traps the fixed overlay inside
       the nav bar — drop it while the menu is open */
    .sm-nav--menu-open {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--black) !important;
    }
    .sm-hero__content { padding: 0 24px 60px; }
    .sm-pillars__grid { grid-template-columns: 1fr; }
    .sm-form__row { flex-direction: column; }
    .sm-hero__scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sm-reveal { opacity: 1; transform: none; transition: none; }
    .sm-hero__scroll-line { animation: none; }
}


/* ── MOBILE SCROLL LOCK ── */
html.sm-menu-lock,
html.sm-menu-lock body { overflow: hidden !important; }
body.menu-open,
body[style*="overflow: hidden"] {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

/* ============================================================
   HOMEPAGE v3 — WRITERS + SCRIPT TO SCREEN
   ============================================================ */

/* ── Admin bar offset (logged-in only) ── */
body.admin-bar .sm-nav { top: 32px !important; }
@media (max-width: 782px) {
    body.admin-bar .sm-nav { top: 46px !important; }
}

.sm-hero__sub strong { color: var(--white); font-weight: 500; }

/* Keep display titles tight when they wrap on narrow screens */
.sm-section-title,
.sm-join__headline { line-height: 1.05; }

/* ── HOW IT WORKS ── */
.sm-steps {
    padding: 100px 0;
    background: var(--deep);
    border-top: 1px solid var(--border);
}
.sm-pillars__grid--three { grid-template-columns: repeat(3, 1fr); }

/* ── NOW SCREENING ── */
.sm-films {
    padding: 120px 0;
    background: var(--black);
    border-top: 1px solid var(--border);
}
.sm-films .sm-section-title { margin-bottom: 16px; }
.sm-films__sub {
    max-width: 560px;
    font-size: 15px;
    color: var(--white-70);
    margin-bottom: 48px;
}
.sm-films__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}
.sm-films__grid--single { grid-template-columns: 1fr; max-width: 960px; }
.sm-films__grid--double { grid-template-columns: repeat(2, 1fr); }
.sm-film { display: flex; flex-direction: column; }
.sm-film__poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--mid);
    overflow: hidden;
    cursor: pointer;
}
.sm-film__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease), filter 0.4s;
}
.sm-film__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,6,8,0.75) 0%, transparent 55%);
    transition: background 0.3s;
}
.sm-film__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 0 0 rgba(255,107,26,0.5);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.sm-film__play::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 24px;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent var(--white);
}
.sm-film__poster:hover img,
.sm-film__poster:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.sm-film__poster:hover .sm-film__play,
.sm-film__poster:focus-visible .sm-film__play {
    transform: scale(1.1);
    box-shadow: 0 0 0 14px rgba(255,107,26,0.15);
}
.sm-film__poster:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.sm-film__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--white);
    background: rgba(6,6,8,0.7);
    border: 1px solid var(--white-30);
    padding: 4px 10px;
    border-radius: 2px;
}
.sm-film__body { padding: 20px 2px 0; }
.sm-film__title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 8px;
}
.sm-films__grid--single .sm-film__title { font-size: 44px; }
.sm-film__logline {
    font-size: 15px;
    color: var(--white-70);
    margin-bottom: 10px;
    max-width: 640px;
}
.sm-film__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ember);
}
.sm-films__cta { margin-top: 48px; }

/* Player overlay */
.sm-player {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(6,6,8,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
}
.sm-player[hidden] { display: none; }
.sm-player__frame {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 128px);
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.sm-player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.sm-player__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--white-30);
    border-radius: 50%;
    cursor: pointer;
}
.sm-player__close::before,
.sm-player__close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -9px;
    background: var(--white);
    transform: rotate(45deg);
}
.sm-player__close::after { transform: rotate(-45deg); }
.sm-player__close:hover { border-color: var(--ember); }

/* ── PROMISE BAND ── */
.sm-promise {
    padding: 90px 0;
    background: var(--black);
    border-top: 1px solid var(--border);
    text-align: center;
}
.sm-promise__line {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: var(--white);
}
.sm-promise__line em { font-style: normal; color: var(--ember); }
.sm-promise__sub {
    max-width: 560px;
    margin: 24px auto 0;
    font-size: 15px;
    color: var(--white-70);
}

/* ── TWO DOORS ── */
.sm-doors {
    padding: 120px 0;
    background: var(--deep);
    border-top: 1px solid var(--border);
}
.sm-doors__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.sm-door {
    background: var(--deep);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s;
}
.sm-door:hover { background: var(--mid); }
.sm-door--writer { border-top: 2px solid var(--ember); }
.sm-door--maker  { border-top: 2px solid var(--blue); }
.sm-door h3 {
    font-family: var(--font-display);
    font-size: 34px;
    letter-spacing: 0.03em;
    line-height: 1.1;
    color: var(--white);
}
.sm-door > p { font-size: 14px; color: var(--white-70); line-height: 1.7; }
.sm-door__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin: 4px 0 8px;
}
.sm-door__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--white-70);
}
.sm-door__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-family: var(--font-mono);
    color: var(--ember);
}
.sm-door--maker .sm-door__list li::before { color: var(--blue); }
.sm-door .sm-btn { align-self: flex-start; }

.sm-event__tag--blue {
    color: var(--blue);
    border-color: var(--blue-dim);
}

/* ── SCRIPT TO SCREEN ── */
.sm-script {
    padding: 120px 0;
    background: var(--black);
    border-top: 1px solid var(--border);
}
.sm-script__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}
.sm-script__inner > * { min-width: 0; } /* let the example script scroll instead of widening the page */
.sm-script__intro .sm-section-title { margin-bottom: 28px; }
.sm-script__intro p {
    font-size: 15px;
    color: var(--white-70);
    margin-bottom: 16px;
}
.sm-script__rules {
    list-style: none;
    margin-top: 28px;
    padding: 20px 24px;
    border-left: 2px solid var(--ember);
    background: var(--ember-dim);
    border-radius: 2px;
}
.sm-script__rules li {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    padding: 6px 0;
}

.sm-script__intro strong { color: var(--white); font-weight: 500; }

/* Example script */
.sm-sample {
    margin-top: 28px;
    border: 1px solid var(--border);
    background: var(--deep);
    border-radius: 2px;
    padding: 20px 22px;
}
.sm-sample__label {
    font-family: var(--font-mono);
    font-size: 10px !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember) !important;
    margin-bottom: 14px !important;
}
.sm-sample__script {
    font-family: 'Courier New', Courier, var(--font-mono);
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--white);
    white-space: pre;
    overflow-x: auto;
    margin: 0;
}
.sm-sample__note {
    font-size: 13px !important;
    color: var(--white-30) !important;
    margin: 14px 0 0 !important;
}

/* Character counter */
.sm-form__counter span { color: var(--white-70); }
.sm-form__counter--near span { color: var(--ember); }

/* Builder rules on join form */
.sm-builder-terms {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding: 18px 20px;
    border: 1px solid var(--blue-dim);
    border-left: 2px solid var(--blue);
    background: var(--deep);
    border-radius: 2px;
}
.sm-builder-terms[hidden] { display: none; }
.sm-builder-terms .sm-door__list { margin: 0; gap: 8px; }
.sm-builder-terms .sm-door__list li { font-size: 13px; }
.sm-builder-terms .sm-door__list li::before { color: var(--blue); }

/* Textarea matches inputs */
.sm-form textarea {
    width: 100%;
    min-height: 280px;
    resize: vertical;
    background: var(--mid);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 16px 18px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
}
.sm-form textarea::placeholder { color: var(--white-30); }
.sm-form textarea:focus { border-color: var(--ember); }

.sm-form__hint {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-30);
    margin: 0;
}

/* Script To Screen terms (expandable) */
.sm-terms {
    border: 1px solid var(--border);
    background: var(--deep);
    border-radius: 2px;
    padding: 14px 18px;
}
.sm-terms summary {
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
}
.sm-terms summary:hover { color: var(--white); }
.sm-terms ol {
    margin: 16px 0 4px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sm-terms li {
    font-size: 13px;
    line-height: 1.6;
    color: var(--white-70);
}
.sm-terms li strong { color: var(--white); font-weight: 500; }

/* Checkboxes — undo the full-width input styling */
.sm-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
    color: var(--white-70);
    cursor: pointer;
}
.sm-form .sm-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    padding: 0;
    accent-color: var(--ember);
    cursor: pointer;
}

/* ── JOIN: door toggle ── */
.sm-door-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 4px;
}
.sm-door-toggle label { position: relative; display: block; cursor: pointer; }
.sm-form .sm-door-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    flex: none;
}
.sm-door-toggle span {
    display: block;
    text-align: center;
    padding: 14px 10px;
    background: var(--mid);
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-70);
    transition: all 0.2s var(--ease);
}
.sm-door-toggle label:hover span { color: var(--white); border-color: var(--white-30); }
.sm-door-toggle input:checked + span {
    color: var(--white);
    border-color: var(--ember);
    background: var(--ember-dim);
}
.sm-door-toggle input:focus-visible + span {
    outline: 2px solid var(--ember);
    outline-offset: 2px;
}

/* ── v3 responsive ── */
@media (max-width: 1024px) {
    .sm-pillars__grid--three { grid-template-columns: 1fr; }
    .sm-script__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
    .sm-steps { padding: 80px 0; }
    .sm-promise { padding: 70px 0; }
    .sm-doors,
    .sm-films,
    .sm-script { padding: 80px 0; }
    .sm-films__grid { grid-template-columns: 1fr; }
    .sm-films__grid--single .sm-film__title { font-size: 34px; }
    .sm-film__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .sm-film__play::after { left: 24px; top: 18px; border-width: 12px 0 12px 18px; }
    .sm-doors__grid { grid-template-columns: 1fr; }
    .sm-door { padding: 40px 24px; }
    .sm-door-toggle { grid-template-columns: 1fr; }
    .sm-sample { padding: 16px 14px; }
    .sm-sample__script { font-size: 10.5px; }
}

/* ============================================
   SYNTHMOVEMENT — SINGLE POST STYLES
   Append to synthmovement.css
   Bump the CSS enqueue version number after adding
   this (GoDaddy CDN cache) — see child theme notes.
   ============================================ */

:root {
  /* If these are already defined higher up in synthmovement.css,
     these lines are harmless duplicates — WordPress/CSS will just
     use the later declaration. Adjust the fallback hex values below
     if your actual deep-blue differs from this. */
  --ember-orange: #ff6b1a;
  --deep-blue: #0d1b2a;
  --deep-blue-light: #16283d;
  --off-white: #f4f1ea;
}

.synth-single-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  color: var(--off-white);
  background: var(--deep-blue);
}

/* ---- Header ---- */

.synth-single-header {
  margin-bottom: 32px;
}

.synth-post-badge {
  display: inline-block;
  margin-bottom: 16px;
}

.synth-post-badge a {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-orange);
  border: 1px solid var(--ember-orange);
  padding: 6px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.synth-post-badge a:hover {
  background: var(--ember-orange);
  color: var(--deep-blue);
}

.synth-single-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--off-white);
  margin: 0 0 16px;
}

.synth-single-meta {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: rgba(244, 241, 234, 0.6);
}

.synth-meta-sep {
  margin: 0 8px;
  color: var(--ember-orange);
}

/* ---- Hero image ---- */

.synth-single-hero {
  margin: 32px -24px 40px;
  overflow: hidden;
}

.synth-single-hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.03);
}

/* ---- Content typography ---- */

.synth-single-content {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.92);
}

.synth-single-content p {
  margin: 0 0 24px;
}

.synth-single-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.01em;
  color: var(--ember-orange);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 107, 26, 0.25);
}

.synth-single-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--off-white);
  margin: 36px 0 12px;
}

.synth-single-content strong {
  color: var(--ember-orange);
  font-weight: 700;
}

.synth-single-content a {
  color: var(--ember-orange);
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 26, 0.4);
  text-underline-offset: 3px;
}

.synth-single-content a:hover {
  text-decoration-color: var(--ember-orange);
}

.synth-single-content blockquote {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  color: var(--off-white);
  background: var(--deep-blue-light);
  border-left: 3px solid var(--ember-orange);
  padding: 16px 20px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}

.synth-single-content ul,
.synth-single-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.synth-single-content li {
  margin-bottom: 10px;
}

.synth-single-content hr {
  border: none;
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  margin: 48px 0;
}

.synth-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

/* ---- Footer / tags ---- */

.synth-single-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 234, 0.15);
}

.synth-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: rgba(244, 241, 234, 0.6);
  margin: 0 12px 8px 0;
  text-decoration: none;
}

.synth-tag:hover {
  color: var(--ember-orange);
}

/* ---- Prev/Next nav ---- */

.synth-post-nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--deep-blue);
}

.synth-nav-prev,
.synth-nav-next {
  flex: 1;
}

.synth-nav-next {
  text-align: right;
}

.synth-post-nav a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--off-white);
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, 0.15);
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.synth-post-nav a:hover {
  border-color: var(--ember-orange);
}

.synth-nav-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ember-orange);
  margin-bottom: 6px;
}

.synth-nav-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* ---- Mobile ---- */

@media (max-width: 640px) {
  .synth-single-wrap {
    padding: 40px 16px 60px;
  }

  .synth-single-hero {
    margin: 24px -16px 32px;
  }

  .synth-post-nav {
    flex-direction: column;
    padding: 0 16px 60px;
  }

  .synth-nav-next {
    text-align: left;
  }
}
/* ============================================
   SYNTHMOVEMENT — ARCHIVE / CARD GRID STYLES
   Append to synthmovement.css (after single-post styles)
   Bump the CSS enqueue version number after adding this.
   Uses the same --ember-orange / --deep-blue vars as
   single-post-styles.css — no need to redeclare if that
   block is already in the file above this one.
   ============================================ */

:root {
  --ember-orange: #ff6b1a;
  --deep-blue: #0d1b2a;
  --deep-blue-light: #16283d;
  --off-white: #f4f1ea;
}

.synth-archive-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  background: var(--deep-blue);
  color: var(--off-white);
}

/* ---- Header ---- */

.synth-archive-header {
  text-align: center;
  margin-bottom: 56px;
}

.synth-archive-header .synth-post-badge span {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-orange);
  border: 1px solid var(--ember-orange);
  padding: 6px 14px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 16px;
}

.synth-archive-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

.synth-archive-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(244, 241, 234, 0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Grid ---- */

.synth-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.synth-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--off-white);
  background: var(--deep-blue-light);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.synth-card:hover {
  border-color: var(--ember-orange);
  transform: translateY(-2px);
}

.synth-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--deep-blue);
}

.synth-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 0.3s ease;
}

.synth-card:hover .synth-card-media img {
  transform: scale(1.04);
}

.synth-card-media-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--deep-blue-light), var(--deep-blue));
}

.synth-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.synth-card-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: rgba(244, 241, 234, 0.5);
  margin-bottom: 10px;
}

.synth-card-meta .synth-meta-sep {
  margin: 0 6px;
  color: var(--ember-orange);
}

.synth-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
}

.synth-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.75);
  margin: 0 0 16px;
  flex-grow: 1;
}

.synth-card-cta {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ember-orange);
}

/* ---- Pagination ---- */

.synth-archive-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.synth-archive-pagination .page-numbers {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  color: var(--off-white);
  border: 1px solid rgba(244, 241, 234, 0.15);
  padding: 8px 16px;
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.synth-archive-pagination .page-numbers.current,
.synth-archive-pagination .page-numbers:hover {
  border-color: var(--ember-orange);
  color: var(--ember-orange);
}

/* ---- Empty state ---- */

.synth-archive-empty {
  text-align: center;
  padding: 60px 0;
  font-family: 'Inter', sans-serif;
  color: rgba(244, 241, 234, 0.6);
}

/* ---- Mobile ---- */

@media (max-width: 640px) {
  .synth-archive-wrap {
    padding: 40px 16px 60px;
  }

  .synth-archive-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}