/* =====================================================================
   CLIP CREATOR — page-specific design system
   ---------------------------------------------------------------------
   This stylesheet is self-contained so the page renders correctly on
   its own. Where classes are shared with the rest of the site
   (mt-section-two, mt-learn-more-btn-gt, etc.) those are assumed to
   already live in mt-index.css / mt-gt.css — this file only defines
   the mt-clip-* classes that are new to this page, namespaced so they
   don't collide with mt-cc-* (Connect Creator's own page styles).

   Tokens
   ---------------------------------------------------------------------
   Ink        #14161A   primary text, dark section background
   Paper      #FFFFFF   page background
   Mist       #F4F5F7   secondary/alternating background
   Coral      #FF4D2E   brand accent — CTAs, emphasis, the app's color
   Signal     #3EC6FF   "AI did this" accent — reserved ONLY for AI
                         touch-points (selected word, detected face cam)
   Line       rgba(20,22,26,.08)  hairlines on light   /   rgba(255,255,255,.12) on dark

   Type
   ---------------------------------------------------------------------
   Display : 'Space Grotesk'  — headlines, eyebrows, node labels
   Body    : 'Inter'          — paragraphs, buttons
   Mono    : 'IBM Plex Mono'  — anything standing in for the transcript/
                                caption UI, so it reads as "editable text"
   ===================================================================== */

:root {
    --clip-ink: #14161a;
    --clip-paper: #ffffff;
    --clip-mist: #f4f5f7;
    --clip-coral: #ff4d2e;
    --clip-coral-deep: #e8391c;
    --clip-signal: #3ec6ff;
    --clip-line: rgba(20, 22, 26, 0.08);
    --clip-line-onDark: rgba(255, 255, 255, 0.12);
    --clip-ink-soft: rgba(20, 22, 26, 0.62);
    --clip-paper-soft: rgba(255, 255, 255, 0.66);

    --clip-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --clip-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --clip-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
}

#clip-hero,
#ecosystem,
#two-ways {
    font-family: var(--clip-body);
    color: var(--clip-ink);
    box-sizing: border-box;
}

#clip-hero *,
#ecosystem *,
#two-ways * {
    box-sizing: border-box;
}

.mt-clip-eyebrow {
    font-family: var(--clip-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clip-coral-deep);
    margin: 0 0 14px;
}

.mt-clip-eyebrow-onDark {
    color: var(--clip-signal);
}

.mt-clip-h2 {
    font-family: var(--clip-display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    max-width: 20ch;
}

.mt-clip-h2-onDark {
    color: #fff;
}

.mt-clip-section-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--clip-ink-soft);
    max-width: 46ch;
    margin: 0;
}

.mt-clip-section-sub-onDark {
    color: rgba(255, 255, 255, 0.66);
}

/* Buttons ------------------------------------------------------------- */

.mt-clip-btn-primary {
    display: inline-block;
    font-family: var(--clip-body);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--clip-coral), #ff7043);
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(255, 77, 46, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mt-clip-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 77, 46, 0.34);
}

.mt-clip-btn-primary:focus-visible {
    outline: 3px solid var(--clip-signal);
    outline-offset: 3px;
}

.mt-clip-btn-ghost {
    display: inline-block;
    font-family: var(--clip-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--clip-ink);
    border: 1.5px solid var(--clip-line);
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.mt-clip-btn-ghost:hover {
    border-color: var(--clip-coral);
    background: rgba(255, 77, 46, 0.05);
}

.mt-clip-btn-ghost:focus-visible {
    outline: 3px solid var(--clip-signal);
    outline-offset: 3px;
}

/* =====================================================================
   HERO
   ===================================================================== */

.mt-clip-hero {
    position: relative;
    overflow: hidden;
    background: var(--clip-paper);
    padding: 96px 24px 64px;
    text-align: center;
}

.mt-clip-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mt-clip-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(20, 22, 26, 0.14);
    margin-bottom: 22px;
}

.mt-clip-hero-title {
    font-family: var(--clip-display);
    font-weight: 700;
    font-size: clamp(32px, 5.4vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 18px;
}

.mt-clip-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--clip-ink-soft);
    max-width: 48ch;
    margin: 0 0 28px;
}

.mt-clip-hero-platforms {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(20, 22, 26, 0.4);
    letter-spacing: 0.02em;
}

/* Decorative filmstrip — faint receding vertical frames behind the hero,
   the one visual flourish on an otherwise quiet section. */
.mt-clip-filmstrip {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}

.mt-clip-filmstrip span {
    width: 86px;
    height: 250px;
    border-radius: 20px;
    background: var(--clip-mist);
    opacity: 0.55;
}

.mt-clip-filmstrip span:nth-child(1) {
    transform: translateY(10px) scale(0.86);
    opacity: 0.28;
}

.mt-clip-filmstrip span:nth-child(2) {
    transform: translateY(-6px) scale(0.95);
    opacity: 0.42;
}

.mt-clip-filmstrip span:nth-child(3) {
    transform: scale(1.05);
    opacity: 0.6;
}

.mt-clip-filmstrip span:nth-child(4) {
    transform: translateY(-6px) scale(0.95);
    opacity: 0.42;
}

.mt-clip-filmstrip span:nth-child(5) {
    transform: translateY(10px) scale(0.86);
    opacity: 0.28;
}

/* =====================================================================
   ECOSYSTEM CONNECTION
   ===================================================================== */

.mt-clip-ecosystem {
    background: var(--clip-mist);
    padding: 84px 24px;
    text-align: center;
}

.mt-clip-ecosystem-head {
    max-width: 560px;
    margin: 0 auto;
}

.mt-clip-ecosystem-head .mt-clip-h2 {
    margin-left: auto;
    margin-right: auto;
}

.mt-clip-ecosystem-head .mt-clip-section-sub {
    margin-left: auto;
    margin-right: auto;
}

.mt-clip-connector {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 46px;
    max-width: 760px;
    margin: 56px auto 40px;
}

.mt-clip-connector-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mt-clip-connector-lines path {
    fill: none;
    stroke: var(--clip-line);
    stroke-width: 2;
    stroke-dasharray: 3 7;
    stroke-linecap: round;
}

.mt-clip-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mt-clip-node img {
    border-radius: 20%;
    box-shadow: 0 10px 22px rgba(20, 22, 26, 0.12);
}

.mt-clip-node span {
    font-family: var(--clip-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--clip-ink-soft);
}

.mt-clip-node-side img {
    width: 56px;
    height: 56px;
}

.mt-clip-node-side span {
    opacity: 0.85;
}

.mt-clip-node-main {
    background: var(--clip-paper);
    padding: 18px 26px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(20, 22, 26, 0.12);
}

.mt-clip-node-main img {
    width: 78px;
    height: 78px;
}

.mt-clip-node-main span {
    color: var(--clip-ink);
    font-size: 14px;
}

/* =====================================================================
   TWO WAYS TO CUT A CLIP — signature section
   ===================================================================== */

.mt-clip-twoways {
    background: var(--clip-ink);
    padding: 96px 24px 88px;
    text-align: center;
}

.mt-clip-twoways-head {
    max-width: 620px;
    margin: 0 auto;
}

.mt-clip-twoways-head .mt-clip-h2 {
    margin-left: auto;
    margin-right: auto;
}

.mt-clip-twoways-head .mt-clip-section-sub {
    margin-left: auto;
    margin-right: auto;
}

.mt-clip-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 820px;
    margin: 56px auto 0;
    flex-wrap: wrap;
}

.mt-clip-card {
    flex: 1 1 320px;
    max-width: 360px;
    background: #1b1e24;
    border: 1px solid var(--clip-line-onDark);
    border-radius: 20px;
    padding: 28px 26px 30px;
    text-align: left;
}

.mt-clip-card h3 {
    font-family: var(--clip-display);
    font-weight: 600;
    font-size: 19px;
    color: #fff;
    margin: 20px 0 8px;
}

.mt-clip-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
}

/* --- shared mock frame --- */

.mt-clip-frame {
    position: relative;
    width: 132px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--clip-line-onDark);
    overflow: hidden;
}

/* --- card 1: transcript mock --- */

.mt-clip-caption-burn {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    font-family: var(--clip-mono);
    font-size: 9px;
    font-weight: 500;
}

.mt-clip-caption-burn .word {
    color: rgba(255, 255, 255, 0.82);
}

.mt-clip-caption-burn .word-ai {
    color: var(--clip-ink);
    background: var(--clip-signal);
    padding: 1px 5px;
    border-radius: 3px;
    animation: clip-pulse 1.4s ease-in-out infinite;
}

.mt-clip-transcript-strip {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-family: var(--clip-mono);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--clip-line-onDark);
    border-radius: 10px;
    padding: 10px;
}

.t-word {
    color: rgba(255, 255, 255, 0.7);
}

.t-selected {
    color: #fff;
    border: 1.2px solid var(--clip-signal);
    border-radius: 4px;
    padding: 0 4px;
}

.t-deleted {
    color: rgba(255, 255, 255, 0.28);
    text-decoration: line-through;
    text-decoration-color: var(--clip-coral);
}

/* --- card 2: face-cam reframe mock --- */

.mt-clip-frame-split {
    display: flex;
    flex-direction: column;
}

.mt-clip-facecam-zone {
    position: relative;
    height: 32%;
    margin: 8px 8px 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.2px dashed var(--clip-signal);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.ai-chip {
    font-family: var(--clip-display);
    font-size: 9px;
    font-weight: 700;
    color: var(--clip-ink);
    background: var(--clip-signal);
    padding: 2px 6px;
    border-radius: 999px;
    margin: 5px 5px 0 0;
}

.mt-clip-game-zone {
    flex: 1;
    margin: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.mt-clip-ghost-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mt-clip-ghost-path path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.4;
    stroke-dasharray: 2 4;
}

.mt-clip-ghost-path circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 1.2;
    stroke-dasharray: 2 3;
}

@keyframes clip-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.mt-clip-ratio-strip {
    margin: 44px 0 0;
    font-family: var(--clip-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.4);
}

/* =====================================================================
   Responsive
   ===================================================================== */

@media (max-width: 720px) {
    .mt-clip-connector {
        gap: 18px;
    }

    .mt-clip-node-side img {
        width: 44px;
        height: 44px;
    }

    .mt-clip-node-main {
        padding: 14px 18px;
    }

    .mt-clip-node-main img {
        width: 60px;
        height: 60px;
    }

    .mt-clip-cards {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .mt-clip-hero {
        padding: 76px 20px 52px;
    }

    .mt-clip-ecosystem,
    .mt-clip-twoways {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mt-clip-connector {
        gap: 10px;
    }

    .mt-clip-node span {
        font-size: 11px;
    }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
    .mt-clip-caption-burn .word-ai {
        animation: none;
    }

    .mt-clip-btn-primary {
        transition: none;
    }
}