/* =====================================================
   PANAF MAKINA — Light Premium Hybrid
   Editorial magazine + Cinematic photo + 3D interactive
   Brand variables in :root → swap for Gruppe / Machinery
   ===================================================== */

:root {
    /* ===== BRAND (swap per entity) ===== */
    --brand: #5B2D8E;
    --brand-deep: #2E1450;
    --brand-soft: #8B5DC2;
    --brand-tint: #F1ECF8;
    --brand-wash: #FBF9FE;
    --gold: #C9A227;
    --gold-soft: #E5C75F;

    /* ===== PAPER PALETTE ===== */
    --paper: #F6F2EA;          /* warm cream paper base */
    --paper-light: #FBF8F2;
    --paper-dark: #EDE6D7;
    --ink: #0F0E14;
    --ink-soft: #2A2832;
    --ink-mid: #5A5762;
    --ink-faint: #8C8896;
    --hairline: rgba(15, 14, 20, 0.08);
    --hairline-strong: rgba(15, 14, 20, 0.16);

    /* ===== TYPE ===== */
    --serif: "Fraunces", "Playfair Display", Georgia, serif;
    --sans: "Inter", -apple-system, system-ui, sans-serif;
    --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

    /* ===== METRICS ===== */
    --max: 1440px;
    --gutter: clamp(20px, 4vw, 56px);
    --bleed: clamp(64px, 12vw, 160px);

    /* ===== MOTION ===== */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.3s;
    --t: 0.6s;
    --t-slow: 1s;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none; /* hide native, custom cursor takes over */
    overflow-x: hidden;
}
@media (max-width: 980px), (pointer: coarse) {
    body { cursor: auto; }
}

/* Paper grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.05;
    z-index: 9999;
    mix-blend-mode: multiply;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; border: none; background: none; color: inherit; }
@media (max-width: 980px), (pointer: coarse) {
    button { cursor: pointer; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 12px; height: 12px;
    background: var(--brand);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease),
                background 0.25s var(--ease), opacity 0.25s var(--ease);
    mix-blend-mode: difference;
}
.cursor.grow {
    width: 60px; height: 60px;
    background: var(--gold);
}
.cursor.text {
    width: 80px; height: 80px;
    background: var(--brand);
    opacity: 0.85;
}
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease), height 0.4s var(--ease),
                opacity 0.3s var(--ease);
    opacity: 0.4;
}
.cursor-ring.grow { width: 80px; height: 80px; opacity: 0.7; border-color: var(--brand); }
@media (max-width: 980px), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ===== TYPOGRAPHY SYSTEM ===== */
.display-xl, .display-l, .display-m {
    font-family: var(--serif);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display-xl {
    font-size: clamp(3.5rem, 9.5vw, 9rem);
    font-weight: 280;
}
.display-l {
    font-size: clamp(2.6rem, 6.5vw, 5.5rem);
}
.display-m {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
}
.display-xl em, .display-l em, .display-m em {
    font-style: italic;
    font-weight: 400;
    color: var(--brand);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }

.label {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mid);
}
.label-brand { color: var(--brand); }
.label-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--ink-faint);
    letter-spacing: 0.15em;
}

p { color: var(--ink-soft); font-size: 1.0625rem; }
p.lead {
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.5;
    color: var(--ink-soft);
    font-weight: 400;
}

/* ===== LAYOUT ===== */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.bleed-top { padding-top: var(--bleed); }
.bleed-bot { padding-bottom: var(--bleed); }
.bleed { padding: var(--bleed) 0; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 24px var(--gutter);
    transition: padding var(--t) var(--ease), background var(--t) var(--ease);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}
.header.solid {
    background: rgba(246, 242, 234, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--hairline);
}
.header-logo img {
    height: 40px;
    transition: height var(--t) var(--ease);
}
.header.solid .header-logo img { height: 32px; }

.nav {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--hairline);
    padding: 6px;
    border-radius: 999px;
}
.nav a {
    padding: 10px 18px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 999px;
    transition: var(--t-fast) var(--ease);
    letter-spacing: -0.005em;
}
.nav a:hover { color: var(--ink); }
.nav a.active {
    background: var(--ink);
    color: var(--paper);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang {
    display: flex;
    gap: 2px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.lang a {
    padding: 8px 10px;
    color: var(--ink-faint);
    transition: var(--t-fast);
    border-radius: 6px;
}
.lang a:hover { color: var(--ink); }
.lang a.active { color: var(--brand); font-weight: 700; }
.lang-sep { color: var(--ink-faint); padding: 8px 0; }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px 12px 26px;
    background: var(--ink);
    color: var(--paper);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 999px;
    letter-spacing: -0.005em;
    transition: var(--t-fast) var(--ease);
}
.btn-cta:hover { background: var(--brand); }
.btn-cta-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.menu-toggle { display: none; padding: 12px; cursor: pointer; }
.menu-toggle span {
    display: block; width: 22px; height: 1.5px;
    background: var(--ink); margin: 5px 0;
    transition: var(--t-fast) var(--ease);
}

/* ===== CINEMATIC HERO (TOP) ===== */
.cinema {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    color: var(--paper);
}
.cinema-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: kenBurns 24s ease-in-out infinite alternate;
    will-change: transform;
}
.cinema-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 14, 20, 0.35) 0%, rgba(15, 14, 20, 0.55) 60%, rgba(15, 14, 20, 0.85) 100%),
        radial-gradient(ellipse at 30% 30%, rgba(91, 45, 142, 0.25), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(201, 162, 39, 0.15), transparent 60%);
}
@keyframes kenBurns {
    0% { transform: scale(1.1) translate(0, 0); }
    100% { transform: scale(1.18) translate(-2%, -1%); }
}

.cinema-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.cinema-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 var(--gutter) clamp(80px, 10vh, 140px);
    z-index: 2;
}

.cinema-top {
    position: absolute;
    top: clamp(120px, 18vh, 180px);
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 1.2s var(--ease-out) 0.3s forwards;
}
.cinema-top-line {
    flex: 1;
    height: 1px;
    background: rgba(246, 242, 234, 0.35);
    max-width: 120px;
}
.cinema-top .label { color: var(--gold); }

.cinema-title {
    font-family: var(--serif);
    font-weight: 280;
    font-size: clamp(3rem, 8.5vw, 8rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--paper);
    margin-bottom: 32px;
    max-width: 1200px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.cinema-title em {
    font-style: italic;
    color: var(--gold-soft);
    font-weight: 380;
}
.cinema-title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: baseline;
}
.cinema-title .word > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 1.2s var(--ease-out) forwards;
}
.cinema-title .word:nth-child(1) > span { animation-delay: 0.5s; }
.cinema-title .word:nth-child(2) > span { animation-delay: 0.65s; }
.cinema-title .word:nth-child(3) > span { animation-delay: 0.8s; }
.cinema-title .word:nth-child(4) > span { animation-delay: 0.95s; }
.cinema-title .word:nth-child(5) > span { animation-delay: 1.1s; }

.cinema-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 1.2s var(--ease-out) 1.4s forwards;
}
.cinema-sub {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: rgba(246, 242, 234, 0.85);
    max-width: 560px;
    line-height: 1.55;
}

.cinema-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 36px;
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--t-fast) var(--ease);
    white-space: nowrap;
}
.cinema-cta:hover { background: var(--gold); transform: translateY(-2px); }

.cinema-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(246, 242, 234, 0.7);
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 1.5s var(--ease-out) 1.8s forwards;
}
.cinema-scroll::after {
    content: '';
    width: 1px;
    height: 50px;
    background: rgba(246, 242, 234, 0.5);
    animation: scrollLine 2.4s ease-in-out infinite;
}

.cinema-corner {
    position: absolute;
    top: clamp(120px, 18vh, 180px);
    right: var(--gutter);
    text-align: right;
    color: rgba(246, 242, 234, 0.7);
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0;
    animation: fadeInUp 1.5s var(--ease-out) 0.6s forwards;
}
.cinema-corner-num {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 300;
    font-style: italic;
    margin-top: 8px;
}

/* ===== STUDIO STATEMENT (was hero) ===== */
.hero {
    min-height: 90vh;
    padding: clamp(100px, 14vh, 140px) var(--gutter) 80px;
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 80% 30%, rgba(91, 45, 142, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(201, 162, 39, 0.06), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    max-width: 740px;
    padding-left: var(--gutter);
}
.hero-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}
.hero-meta-line {
    flex: 1;
    height: 1px;
    background: var(--hairline-strong);
    max-width: 80px;
}

.hero h1 {
    margin-bottom: 32px;
}
.hero h1 .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.hero h1 .word > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 1s var(--ease-out) forwards;
}
.hero h1 .word:nth-child(1) > span { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) > span { animation-delay: 0.2s; }
.hero h1 .word:nth-child(3) > span { animation-delay: 0.3s; }
.hero h1 .word:nth-child(4) > span { animation-delay: 0.4s; }
.hero h1 .word:nth-child(5) > span { animation-delay: 0.5s; }
.hero h1 .word:nth-child(6) > span { animation-delay: 0.6s; }
.hero h1 .word:nth-child(7) > span { animation-delay: 0.7s; }

@keyframes rise {
    to { transform: translateY(0); }
}

.hero-sub {
    max-width: 520px;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.55;
    color: var(--ink-soft);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.9s forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1.1s forwards;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--t-fast) var(--ease);
}
.btn-primary:hover { background: var(--brand); transform: translate(0, -2px); }
.btn-primary svg { transition: transform var(--t-fast) var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 4px;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--ink);
    transition: var(--t-fast) var(--ease);
}
.btn-ghost:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* HERO 3D STAGE */
.hero-stage {
    position: relative;
    width: 100%;
    height: clamp(420px, 60vh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-stage::before {
    content: '';
    position: absolute;
    inset: 10% 10%;
    background:
        radial-gradient(circle, rgba(91, 45, 142, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

/* HERO PROOF STRIP — bottom */
.hero-proof {
    position: absolute;
    bottom: 40px;
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1.4s forwards;
}
.hero-stat-row {
    display: flex;
    gap: 56px;
    align-items: end;
    padding-top: 20px;
    border-top: 1px solid var(--hairline-strong);
}
.hero-stat-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.hero-stat-num em {
    font-style: italic;
    color: var(--brand);
    font-weight: 400;
}
.hero-stat-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 6px;
    max-width: 120px;
}

.hero-scroll-hint {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 12px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding-bottom: 20px;
}
.hero-scroll-hint::before {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--ink-faint);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.3); }
}

/* ===== MARQUEE STRIP ===== */
.marquee {
    background: var(--ink);
    color: var(--paper);
    padding: 22px 0;
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}
.marquee-track {
    display: flex;
    gap: 80px;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
    padding-left: 80px;
}
.marquee-item {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 80px;
}
.marquee-item::after {
    content: '✦';
    color: var(--gold);
    font-size: 0.6em;
    font-style: normal;
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ===== EDITORIAL SECTION ===== */
.section { padding: var(--bleed) 0; position: relative; }

.section-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}
.section-meta-line {
    flex: 1;
    height: 1px;
    background: var(--hairline-strong);
    max-width: 80px;
}

/* MANIFESTO — huge editorial pull */
.manifesto {
    padding: var(--bleed) 0;
}
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: start;
}
.manifesto-side {
    position: sticky;
    top: 120px;
}
.manifesto-side .label { display: block; margin-bottom: 24px; }
.manifesto-side p {
    font-size: 0.92rem;
    color: var(--ink-mid);
    max-width: 240px;
}
.manifesto-text {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.manifesto-text em {
    font-style: italic;
    color: var(--brand);
    font-weight: 400;
}
.manifesto-text-fade {
    color: var(--ink-faint);
}

/* ===== CAPABILITIES — editorial cards with hover image reveal ===== */
.capabilities {
    padding: var(--bleed) 0;
    background: var(--paper-light);
    position: relative;
}
.capabilities::before, .capabilities::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: var(--hairline-strong);
}
.capabilities::before { top: 0; }
.capabilities::after { bottom: 0; }

.cap-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: end;
}

.cap-list {
    border-top: 1px solid var(--ink);
}
.cap-row {
    display: grid;
    grid-template-columns: 80px 1fr 2.5fr 1fr 60px;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--hairline-strong);
    align-items: center;
    transition: var(--t-fast) var(--ease);
    position: relative;
}
.cap-row:hover {
    background: var(--paper);
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -24px;
    margin-right: -24px;
}
.cap-row:hover .cap-arrow { color: var(--brand); transform: translateX(8px); }

.cap-num {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--ink-faint);
    letter-spacing: 0.1em;
}
.cap-name {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.cap-name em { font-style: italic; color: var(--brand); }
.cap-desc {
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 480px;
    line-height: 1.5;
}
.cap-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--ink-mid);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    border: 1px solid var(--hairline-strong);
    border-radius: 999px;
    width: fit-content;
}
.cap-arrow {
    font-size: 1.4rem;
    color: var(--ink-faint);
    transition: var(--t-fast) var(--ease);
    text-align: right;
}

/* Hover image preview floating */
.cap-preview {
    position: fixed;
    width: 320px;
    height: 240px;
    pointer-events: none;
    z-index: 50;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
    box-shadow: 0 24px 60px rgba(15, 14, 20, 0.25);
}
.cap-preview.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cap-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ===== STICKY SCROLL STORYTELLING ===== */
.process {
    padding: var(--bleed) 0;
    background: var(--ink);
    color: var(--paper);
    position: relative;
}
.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(91, 45, 142, 0.25), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.1), transparent 50%);
    pointer-events: none;
}
.process .label { color: var(--gold); }
.process h2 { color: var(--paper); }

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
    position: relative;
}
.process-sticky {
    position: sticky;
    top: 12vh;
    height: 76vh;
    border-radius: 16px;
    overflow: hidden;
    background: var(--brand-deep);
}
.process-sticky-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s var(--ease);
}
.process-sticky-img.active { opacity: 1; }

.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.process-step:last-child { border-bottom: none; }

.process-step-num {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.process-step h3 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--paper);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.process-step h3 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.process-step p {
    color: rgba(246, 242, 234, 0.7);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 460px;
}

/* ===== 3D CONSTELLATION SECTION ===== */
.constellation {
    padding: 0;
    position: relative;
    height: 110vh;
    min-height: 800px;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}
.constellation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.constellation::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(91, 45, 142, 0.35), transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 162, 39, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 1;
}
.constellation-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--bleed) var(--gutter);
    pointer-events: none;
}
.constellation-content > * { pointer-events: auto; }
.constellation-top {
    max-width: 720px;
}
.constellation .label { color: var(--gold); }
.constellation h2 {
    font-family: var(--serif);
    font-weight: 280;
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--paper);
    margin-top: 24px;
}
.constellation h2 em { font-style: italic; color: var(--gold-soft); font-weight: 380; }

.constellation-floor {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
}
.constellation-card {
    border-top: 1px solid rgba(246, 242, 234, 0.2);
    padding-top: 24px;
}
.constellation-card-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.constellation-card-text {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    color: var(--paper);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

/* ===== CINEMATIC PHOTO BAND ===== */
.photo-band {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}
.photo-band-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 1.5s var(--ease);
}
.photo-band:hover .photo-band-bg { transform: scale(1.12); }
.photo-band-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 14, 20, 0.5) 0%, rgba(15, 14, 20, 0.15) 50%, rgba(91, 45, 142, 0.3) 100%);
}
.photo-band-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--gutter);
    color: var(--paper);
    max-width: var(--max);
    margin: 0 auto;
}
.photo-band-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}
.photo-band-title {
    font-family: var(--serif);
    font-weight: 280;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--paper);
    max-width: 900px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.photo-band-title em { font-style: italic; color: var(--gold-soft); font-weight: 380; }
.photo-band-meta {
    position: absolute;
    bottom: 40px;
    right: var(--gutter);
    color: rgba(246, 242, 234, 0.85);
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: right;
}

/* ===== INTERACTIVE GLOBE / MAP (kept for reference, hidden) ===== */
.reach {
    padding: var(--bleed) 0;
    position: relative;
}
.reach-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.reach-globe {
    position: relative;
    aspect-ratio: 1;
    max-width: 600px;
    margin: 0 auto;
}
.reach-canvas { width: 100%; height: 100%; }
.reach-globe::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle, rgba(91, 45, 142, 0.15), transparent 60%);
    z-index: -1;
}

.reach-list { list-style: none; }
.reach-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--hairline-strong);
    transition: var(--t-fast);
    cursor: none;
}
.reach-item:hover { padding-left: 16px; }
.reach-region {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: -0.015em;
}
.reach-detail {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--ink-faint);
    letter-spacing: 0.05em;
}
.reach-item:hover .reach-detail { color: var(--brand); }

/* ===== PROJECTS / CASE STUDIES ===== */
.projects {
    padding: var(--bleed) 0;
    background: var(--paper-light);
    overflow: hidden;
}
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 64px;
    gap: 40px;
}

.projects-scroll {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 24px;
    margin: 0 calc(-1 * var(--gutter));
    scrollbar-width: thin;
    scrollbar-color: var(--ink-faint) transparent;
}
.projects-scroll::-webkit-scrollbar { height: 4px; }
.projects-scroll::-webkit-scrollbar-thumb { background: var(--ink-faint); border-radius: 2px; }
.projects-scroll::-webkit-scrollbar-track { background: transparent; }

.project-card {
    flex: 0 0 clamp(320px, 38vw, 520px);
    scroll-snap-align: start;
    cursor: none;
}
.project-thumb {
    aspect-ratio: 4/5;
    background: var(--paper-dark);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}
.project-thumb-bg {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s var(--ease);
}
.project-card:hover .project-thumb-bg { transform: scale(1.05); }
.project-thumb-tag {
    position: absolute;
    top: 20px; left: 20px;
    padding: 6px 12px;
    background: rgba(246, 242, 234, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink);
}
.project-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.project-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.project-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 8px;
}

/* ===== NUMBERS / STATS ===== */
.numbers {
    padding: var(--bleed) 0;
    border-top: 1px solid var(--hairline-strong);
    border-bottom: 1px solid var(--hairline-strong);
}
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}
.number-block { text-align: left; }
.number-block .label { display: block; margin-bottom: 24px; }
.number-block-val {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 16px;
}
.number-block-val em { font-style: italic; color: var(--brand); font-weight: 400; }
.number-block-val sub {
    font-size: 0.45em;
    color: var(--ink-faint);
    vertical-align: baseline;
    margin-left: 4px;
    font-weight: 300;
}
.number-block p {
    font-size: 0.92rem;
    color: var(--ink-mid);
    max-width: 220px;
}

/* ===== CTA BLOCK ===== */
.cta {
    padding: var(--bleed) 0;
}
.cta-block {
    background: var(--ink);
    color: var(--paper);
    border-radius: 24px;
    padding: clamp(60px, 10vw, 120px) clamp(40px, 8vw, 100px);
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 80%; height: 200%;
    background: radial-gradient(circle, rgba(91, 45, 142, 0.4), transparent 60%);
    pointer-events: none;
}
.cta-block::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 60%; height: 120%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15), transparent 60%);
    pointer-events: none;
}
.cta-block .label { color: var(--gold); margin-bottom: 32px; display: block; position: relative; }
.cta-block h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--paper);
    margin-bottom: 32px;
    max-width: 900px;
    position: relative;
}
.cta-block h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.cta-block p {
    color: rgba(246, 242, 234, 0.75);
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 48px;
    position: relative;
}
.cta-block .btn-primary {
    background: var(--paper);
    color: var(--ink);
    position: relative;
}
.cta-block .btn-primary:hover { background: var(--gold); color: var(--ink); }

/* ===== FOOTER ===== */
.footer {
    background: var(--paper-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--hairline-strong);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 80px;
}
.footer-brand img { height: 40px; margin-bottom: 24px; }
.footer-brand p {
    font-size: 0.95rem;
    color: var(--ink-mid);
    max-width: 360px;
    margin-bottom: 32px;
    line-height: 1.55;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--hairline-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--ink);
    transition: var(--t-fast) var(--ease);
}
.footer-social a:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ink-faint);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: var(--t-fast);
}
.footer-col a:hover { color: var(--brand); }

.footer-contact-row {
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: var(--ink-mid);
    line-height: 1.5;
}
.footer-contact-row strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 500; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--brand); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .cinema-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
    .cinema-corner { display: none; }
    .constellation-floor { grid-template-columns: 1fr; gap: 24px; }
    .constellation { height: auto; min-height: 100vh; padding: 80px 0; }
    .constellation-content { gap: 80px; }
    .photo-band { height: 50vh; min-height: 400px; }
    .hero { grid-template-columns: 1fr; text-align: left; padding-bottom: 200px; }
    .hero-content { padding-left: 0; }
    .hero-stage { height: 320px; order: 2; }
    .hero-proof { position: static; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 40px; }
    .hero-stat-row { flex-wrap: wrap; gap: 32px; }
    .hero-scroll-hint { display: none; }
    .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
    .manifesto-side { position: static; }
    .cap-header { grid-template-columns: 1fr; gap: 24px; }
    .cap-row { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 0; }
    .cap-desc, .cap-tag, .cap-arrow { display: none; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-sticky { position: relative; top: 0; height: 50vh; }
    .reach-grid { grid-template-columns: 1fr; gap: 60px; }
    .numbers-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
    .lang { display: none; }
}
@media (max-width: 640px) {
    .header { padding: 16px var(--gutter); }
    .btn-cta span:not(.btn-cta-dot) { display: none; }
    .numbers-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 99;
    padding: 100px var(--gutter) 40px;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 300;
    padding: 20px 0;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink);
}

/* ===== UTILITIES ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.text-mute { color: var(--ink-faint); }
