/* ═══════════════════════════════════════════════
   TELYUFESS — HIGH-END EDITORIAL
   SKILL: Brutally Minimal / Structural
   ═══════════════════════════════════════════════ */

:root {
    --white: #ffffff; /* Warm White */
    --black: #211922; /* Plum Black */
    --red: #e60023; /* Pinterest Red */
    --gray: #62625b; /* Olive Gray */
    --sand: #e5e5e0; /* Sand Gray */
    --border: #e0e0d9; /* Structural separator */

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Layout */
    --grid-gap: 20px;
    --pad-x: 4vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor for custom one */
}

html {
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

::selection {
    background: var(--red);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

.color-red { color: var(--red); }

/* ── CUSTOM CURSOR ── */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    background-color: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s;
    mix-blend-mode: exclusion;
}

.custom-cursor.hover {
    width: 60px; height: 60px;
}

/* ── GRID OVERLAY (Structural feel) ── */
.grid-overlay {
    position: fixed;
    top: 0; left: var(--pad-x); right: var(--pad-x); bottom: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: -1;
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(33, 25, 34, 0.04);
}

/* ── SHARED EDITORIAL ELEMENTS ── */
.nav-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gray);
    text-transform: uppercase;
}

/* ── NAVIGATION (Swiss Structural) ── */
.nav-struct {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    display: flex;
    border-bottom: 1px solid var(--border);
    background: rgba(252, 252, 252, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-cell {
    display: flex;
    align-items: center;
    padding: 0 var(--pad-x);
    border-right: 1px solid var(--border);
}

.nav-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-status {
    flex: 2;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px; height: 8px;
    background-color: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(230, 0, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0); }
}

.nav-actions {
    border-right: none;
    gap: 24px;
}

.nav-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link:hover { color: var(--red); }

.btn-solid {
    background-color: var(--black);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 100px;
}

.btn-solid:hover { background-color: var(--red); color: var(--white); }

/* ── MEGA HERO ── */
.mega-hero {
    min-height: 100vh;
    padding: 140px var(--pad-x) 40px;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
}

.hero-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-top-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
}

/* Typography Engineering */
.mega-type {
    font-size: clamp(60px, 11vw, 200px);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: auto 0;
}

.line-wrap {
    overflow: hidden;
    padding-bottom: 0.1em;
}

.anim-up {
    display: inline-block;
    transform: translateY(110%);
}

.indent-1 { display: inline-block; margin-left: 10vw; }

.hero-bottom-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.meta-desc {
    max-width: 400px;
    font-size: 18px;
    font-weight: 500;
    color: var(--gray);
    line-height: 1.4;
}

.meta-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--black);
}

/* ── STRUCTURAL STATS ── */
.struct-stats {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.stat-block {
    flex: 1;
    padding: 8vw var(--pad-x);
    display: flex;
    flex-direction: column;
}

.stat-border-left {
    border-left: 1px solid var(--border);
}

.stat-num {
    font-size: clamp(60px, 8vw, 140px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    max-width: 200px;
}

/* ── SERVICES (Editorial List) ── */
.services-edit {
    padding: 10vw var(--pad-x);
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 10vw;
}

.section-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-heading {
    font-size: clamp(32px, 4vw, 64px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.service-list {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.svc-row {
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: padding 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.svc-row:first-child { border-top: 1px solid var(--border); }

.svc-row:hover {
    padding-left: 20px;
    padding-right: 20px;
}

.svc-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray);
    width: 60px;
}

.svc-content {
    flex: 1;
}

.svc-title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--black);
}

.svc-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.5;
    max-width: 400px;
}

.svc-icon {
    opacity: 0;
    transform: rotate(-90deg);
    transition: all 0.4s;
    color: var(--red);
}

.svc-row:hover .svc-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ── MARQUEE ── */
.marquee-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-x 15s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-item {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
}

.marquee-item.outlined {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--white);
}

.marquee-sep {
    font-size: clamp(20px, 4vw, 36px);
}

@keyframes scroll-x {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33333%); } /* 3 identical blocks = 33.33% each to loop */
}

/* ── HUGE CTA ── */
.huge-cta {
    padding: 15vw var(--pad-x);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.cta-text {
    font-size: clamp(50px, 9vw, 160px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.mag-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--sand);
    padding: 24px 40px;
    border-radius: 100px;
    transition: transform 0.2s, background 0.3s;
}

.mag-btn:hover {
    background: #d8d8d3;
}

.mag-btn-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
}

.mag-btn-circle {
    width: 48px; height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── FOOTER STRUCTURAL ── */
.footer-struct {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.ft-cell {
    flex: 1;
    padding: 60px var(--pad-x);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ft-cell:last-child {
    border-right: none;
}

.ft-desc p {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    max-width: 200px;
}

.ft-links {
    gap: 16px;
}

.ft-link {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.ft-link:hover { color: var(--red); }

/* ── UTILITIES & RESPONSIVE ── */
.anim-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.anim-fade.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hide-mobile { display: none; }
    .services-edit { flex-direction: column; }
    .struct-stats { flex-direction: column; }
    .stat-border-left { border-left: none; border-top: 1px solid var(--border); }
    .footer-struct { flex-direction: column; }
    .ft-cell { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
    * { cursor: auto !important; }
    .custom-cursor { display: none; }
    .nav-actions { display: none; }
    .indent-1 { margin-left: 0; }
    .hero-bottom-meta { flex-direction: column; align-items: flex-start; gap: 40px; }
    .mag-btn { padding: 16px 24px; }

    /* Fix Stats Layout on Mobile */
    .stat-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 40px var(--pad-x);
    }
    .stat-num {
        margin-bottom: 0;
        font-size: 52px;
    }
    .stat-label {
        text-align: right;
        max-width: 150px;
    }
    
    /* Fix Services Gap on Mobile */
    .section-meta { gap: 12px; margin-bottom: 40px; }
}
