/* ============================================================
   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; }
    .sm-nav__links a { font-size: 14px; }
    .sm-nav__burger { display: flex; }
    .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 ── */
body.menu-open,
body[style*="overflow: hidden"] {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}
