/* =====================================================
   KWARTZ FPV — STYLE.CSS (EDITORIAL AGGRESSIVE 2025)
   ===================================================== */

/* === FONT FALLBACK — évite le flash pendant le chargement === */
@font-face {
    font-family: 'Bebas Neue';
    font-display: swap;
    src: local('Bebas Neue');
}
@font-face {
    font-family: 'DM Sans';
    font-display: swap;
    src: local('DM Sans');
}

/* === DESIGN TOKENS === */
:root {
    --bg: #050505;
    --bg-2: #0a0a0a;
    --bg-3: #111;
    --text: #ffffff;
    --text-dim: #888;
    --text-muted: #444;
    --accent: #00b4ff;
    --accent-glow: rgba(0, 180, 255, 0.25);
    --accent-dim: rgba(0, 180, 255, 0.1);
    --white: #ffffff;
    --border: rgba(255,255,255,0.08);
    --border-accent: rgba(0,180,255,0.3);

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --radius: 4px;
    --radius-lg: 12px;
    --section-pad: 12rem 5%;
    --max-w: 1400px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; overflow-x: hidden; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* === TYPOGRAPHY === */
.heading {
    font-family: var(--font-display);
    font-size: clamp(5rem, 8vw, 9rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 5rem;
}
.heading span { color: var(--accent); }

/* === SECTION LABEL === */
.section-label {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--accent); }
.section-label.light { color: rgba(255,255,255,0.4); }
.section-label.light::after { background: rgba(255,255,255,0.2); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius);
    padding: 1.6rem 3.2rem;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #000; box-shadow: 0 0 30px var(--accent-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.4); }
.btn--outline { border: 2px solid var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #000; box-shadow: 0 0 30px var(--accent-glow); }
.btn--text { color: var(--text); border-bottom: 1px solid var(--accent); border-radius: 0; padding: 0.4rem 0; font-size: 1.6rem; margin-top: 4rem; }
.btn--text:hover { color: var(--accent); }
.link-btn { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.5rem; font-weight: 600; letter-spacing: 0.1em; color: #fff; transition: 0.3s; }
.link-btn:hover { color: var(--accent); gap: 1.4rem; }

/* === HEADER === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.4s, padding 0.4s;
}
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.95) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}
.header.scrolled { padding: 1.4rem 5%; background: rgba(5,5,5,0.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(20px); }
.logo { font-family: var(--font-display); font-size: 2.8rem; letter-spacing: 0.05em; color: var(--white); z-index: 1; }
.logo span { color: var(--accent); }
.navbar { display: flex; gap: 3.5rem; }
.navbar a { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.3s; position: relative; }
.navbar a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease-out); }
.navbar a:hover, .navbar a.active { color: var(--white); }
.navbar a:hover::after, .navbar a.active::after { width: 100%; }

/* === HAMBURGER MENU === */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 5px; z-index: 1001; }
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.35s var(--ease-out); transform-origin: center; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === GENERAL SECTION === */
section { position: relative; padding: var(--section-pad); }
.content-box { max-width: var(--max-w); width: 100%; margin: 0 auto; }

/* === HOME / HERO === */
.home { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 0; overflow: hidden; background: #000; position: relative; }
.back-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(100%) contrast(1.15); will-change: transform; opacity: 0; animation: videoReveal 1.6s ease 0.4s forwards; }
@keyframes videoReveal { to { opacity: 1; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.1) 35%, rgba(5,5,5,0.2) 60%, rgba(5,5,5,0.92) 100%); z-index: 1; transition: background 0.1s linear; }

.hero-topbar { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.4rem; padding: 10rem 5% 0; }
.hero-topbar-tag { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.hero-topbar-dot { color: var(--accent); font-size: 1.4rem; line-height: 1; }

.hero-mag-title { position: relative; z-index: 2; width: 100%; padding: 0 2% 0 1.5%; will-change: transform, opacity; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-mag-word { display: block; font-family: var(--font-display); font-size: clamp(13rem, 21.5vw, 27rem); line-height: 0.88; letter-spacing: -0.01em; color: var(--white); -webkit-text-stroke: 1px rgba(255,255,255,0.06); text-shadow: 0 0 120px rgba(0,180,255,0.08), 2px 4px 0 rgba(0,0,0,0.4); white-space: nowrap; padding-left: 0.4rem; }
.hero-mag-rule { display: flex; align-items: center; gap: 2rem; margin-top: 1.2rem; padding-bottom: 0.6rem; padding-left: 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.hero-mag-sub { font-size: clamp(1.1rem, 1.3vw, 1.5rem); font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.45); flex: 1; }
.hero-mag-fpv { font-family: var(--font-display); font-size: clamp(3rem, 4.5vw, 5.5rem); letter-spacing: 0.05em; color: var(--accent); line-height: 1; text-shadow: 0 0 30px var(--accent-glow); }

.hero-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 0 5% 4rem; gap: 2rem; }
.hero-tagline { font-size: clamp(1.4rem, 1.6vw, 1.8rem); font-weight: 300; font-style: italic; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; white-space: nowrap; }
.hero-bottom-right { display: flex; align-items: center; gap: 2.5rem; }
.social-icons { display: flex; gap: 1.2rem; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); font-size: 1.9rem; color: rgba(255,255,255,0.5); transition: all 0.3s; }
.social-icons a:hover { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent-glow); transform: translateY(-2px); }

.hero-scroll-hint { position: absolute; bottom: 4.5rem; right: 2.5%; display: flex; flex-direction: column; align-items: center; gap: 1rem; z-index: 3; }
.hero-scroll-hint span { font-size: 0.95rem; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.25); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 55px; background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent); animation: scroll-pulse 2.2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 0.9; transform: scaleY(1.1); } }

/* === PHILOSOPHY === */
.philosophy-section { background: var(--bg-2); padding: 0 0 10rem; overflow: hidden; }
.ticker-wrap { width: 100%; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.4rem 0; margin-bottom: 6rem; background: rgba(0,0,0,0.3); }
.ticker-track { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; animation: ticker-scroll 28s linear infinite; }
.ticker-track span { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ticker-dot { color: var(--accent) !important; font-size: 1.6rem !important; letter-spacing: 0 !important; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.phil-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3.5rem; transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out); position: relative; overflow: hidden; }
.phil-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--accent), transparent); opacity: 0; transition: opacity 0.3s; }
.phil-card:hover { border-color: var(--border-accent); background: rgba(0,180,255,0.03); transform: translateY(-4px); }
.phil-card:hover::before { opacity: 1; }
.phil-card h3 { font-family: var(--font-display); font-size: 2.6rem; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 1.5rem; line-height: 1; }
.phil-card p { font-size: 1.6rem; line-height: 1.75; color: rgba(255,255,255,0.55); }

/* === ABOUT === */
.about { background: var(--bg-2); clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); margin: -4rem 0; padding: 14rem 5% 16rem; }
.about-grid { display: grid; grid-template-columns: auto 1fr; gap: 8rem; align-items: center; max-width: var(--max-w); margin: 0 auto; }
.about-image-wrap { position: relative; }
.image-box { perspective: 1000px; }
.image-box img { width: 420px; height: 480px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 0 0 1px var(--border), 0 30px 80px rgba(0,0,0,0.6), 0 0 40px var(--accent-glow); transition: transform 0.1s ease-out; transform-style: preserve-3d; filter: grayscale(20%); }
.about-image-accent { position: absolute; bottom: -2rem; left: -3rem; font-family: var(--font-display); font-size: 12rem; color: transparent; -webkit-text-stroke: 1px rgba(0,180,255,0.15); pointer-events: none; user-select: none; letter-spacing: 0.05em; line-height: 1; z-index: -1; }
.about .heading { font-size: clamp(5rem, 7vw, 8rem); text-align: left; margin-bottom: 2rem; }
.about-id { font-size: 1.3rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 2rem; font-weight: 600; }
.about-desc { font-size: 1.8rem; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 560px; margin-bottom: 3rem; }
.about-desc strong { color: var(--white); font-weight: 600; }
.about-tags { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.about-tags span { font-size: 1.2rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; padding: 0.6rem 1.4rem; border: 1px solid var(--border-accent); border-radius: var(--radius); color: var(--accent); background: var(--accent-dim); }

/* === STATS === */
.stats-section { background: var(--bg); padding: 14rem 5%; position: relative; overflow: hidden; }
.stats-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: clamp(12rem, 25vw, 28rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.03); pointer-events: none; user-select: none; white-space: nowrap; letter-spacing: 0.1em; z-index: 0; }
.stats-section .content-box { position: relative; z-index: 1; }
.stats-heading { text-align: left; margin-bottom: 6rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-card { padding: 4rem 3rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); position: relative; transition: background 0.3s; }
.stat-card:last-child { border-right: 1px solid var(--border); }
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--border); }
.stat-card:hover { background: rgba(0,180,255,0.04); }
.stat-number { font-family: var(--font-display); font-size: clamp(6rem, 8vw, 9rem); line-height: 1; color: var(--white); display: inline; }
.stat-plus { font-family: var(--font-display); font-size: 5rem; color: var(--accent); display: inline; margin-left: 0.2rem; }
.stat-label { font-size: 1.3rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-top: 0.8rem; }

/* === HANGAR === */
.drones { background: var(--bg-2); }
.grid-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 2.5rem; height: 65vh; min-height: 500px; }
.card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; }
.card:hover { border-color: var(--border-accent); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--accent-glow); }
.card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(100%) brightness(0.8); transition: filter 0.6s, transform 0.6s; }
.card:hover .card-bg { filter: grayscale(0%) brightness(0.9); transform: scale(1.06); }
.card-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 60%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); z-index: 1; }
.card-content { position: relative; z-index: 2; height: 100%; padding: 3.5rem; text-align: left; display: flex; }
.card-tag { position: absolute; top: 2.5rem; right: 2.5rem; font-size: 1rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; color: var(--accent); background: rgba(0,180,255,0.1); border: 1px solid var(--border-accent); padding: 0.5rem 1rem; border-radius: var(--radius); }
.main-card .card-content { flex-direction: column; justify-content: flex-end; }
.main-card .card-icon { font-size: 4rem; color: var(--accent); margin-bottom: 1.5rem; }
.main-card h3 { font-family: var(--font-display); font-size: 3.5rem; letter-spacing: 0.03em; margin-bottom: 0.3rem; }
.main-card .highlight { font-size: 1.2rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 1.5rem; }
.main-card p { font-size: 1.6rem; color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.specs-list { list-style: none; display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.specs-list li { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1.2rem; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); border: 1px solid var(--border); border-radius: var(--radius); color: rgba(255,255,255,0.8); }
.side-column { display: flex; flex-direction: column; gap: 2.5rem; }
.small-card { flex: 1; }
.side-content { flex-direction: row; align-items: center; gap: 2rem; }
.side-content .icon { font-size: 4rem; color: var(--accent); flex-shrink: 0; }
.small-card h3 { font-family: var(--font-display); font-size: 2.8rem; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.small-card p { font-size: 1.4rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }

/* === TIMELINE === */
.timeline-section { background: var(--bg); clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); margin: -3rem 0; padding: 16rem 5%; }
.timeline-section .heading { max-width: var(--max-w); margin: 0 auto 7rem; }
.timeline { max-width: var(--max-w); margin: 0 auto; position: relative; display: flex; flex-direction: column; gap: 0; }
.timeline-track { position: absolute; left: 15rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent); }
.timeline-item { display: grid; grid-template-columns: 15rem 2rem 1fr; gap: 0 3rem; align-items: flex-start; padding: 3.5rem 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:last-child { border-bottom: none; }
.tl-year { font-family: var(--font-display); font-size: 3.5rem; letter-spacing: 0.05em; color: var(--text-muted); text-align: right; padding-top: 0.2rem; padding-right: 1.5rem; transition: color 0.3s; }
.timeline-item:hover .tl-year { color: var(--accent); }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg-3); border: 2px solid var(--border); margin-top: 0.8rem; position: relative; z-index: 1; transition: all 0.3s; flex-shrink: 0; }
.tl-dot.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.tl-dot.future { border-style: dashed; border-color: rgba(255,255,255,0.2); }
.timeline-item:hover .tl-dot:not(.active):not(.future) { background: var(--white); border-color: var(--white); }
.tl-content h3 { font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.03em; margin-bottom: 1rem; line-height: 1; }
.tl-content p { font-size: 1.6rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1.5rem; max-width: 600px; }
.tl-tag { font-size: 1.1rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.timeline-item--future .tl-content h3, .timeline-item--future .tl-year { color: rgba(255,255,255,0.25); }
.timeline-item--future .tl-content p { color: rgba(255,255,255,0.25); }
.timeline-item--future .tl-tag { color: rgba(255,255,255,0.2); }

/* === PROJECTS === */
.projects { background: var(--bg-2); }
.cinema-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; gap: 2.5rem; width: 100%; }
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: border-color 0.4s, box-shadow 0.4s; aspect-ratio: 16/9; }
.video-card--featured { grid-row: span 2; aspect-ratio: auto; min-height: 400px; }
.video-card:hover { border-color: var(--border-accent); box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 24px var(--accent-glow); z-index: 5; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; pointer-events: none; }
.video-card:hover iframe { pointer-events: auto; }
.video-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 2rem 1.8rem; background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, transparent 100%); display: flex; align-items: flex-end; gap: 1.2rem; pointer-events: none; z-index: 2; }
.video-index { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); letter-spacing: 0.1em; line-height: 1; padding-bottom: 0.1rem; }
.video-meta h3 { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.03em; color: var(--white); line-height: 1; }

/* === CONTACT === */
.contact { background: var(--bg); clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); margin-top: -4rem; padding: 16rem 5% 10rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8rem; align-items: start; max-width: var(--max-w); margin: 0 auto; }
.contact-desc { font-size: 1.8rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 3.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-links a { display: flex; align-items: center; gap: 1.2rem; font-size: 1.5rem; font-weight: 500; color: rgba(255,255,255,0.55); transition: color 0.3s; letter-spacing: 0.05em; }
.contact-links a i { font-size: 2rem; color: var(--accent); }
.contact-links a:hover { color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 2rem; }
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.input-wrap { position: relative; }
.input-wrap input, .input-wrap textarea { width: 100%; padding: 2rem 1.8rem 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); color: var(--white); font-family: var(--font-body); font-size: 1.6rem; transition: border-color 0.3s, background 0.3s; outline: none; }
.input-wrap textarea { resize: none; height: 160px; padding-top: 2.5rem; }
.input-wrap label { position: absolute; top: 50%; left: 1.8rem; transform: translateY(-50%); font-size: 1.4rem; color: rgba(255,255,255,0.35); pointer-events: none; transition: all 0.25s; letter-spacing: 0.05em; }
.input-wrap textarea ~ label { top: 1.8rem; transform: none; }
.input-wrap input:focus ~ label, .input-wrap input:not(:placeholder-shown) ~ label,
.input-wrap textarea:focus ~ label, .input-wrap textarea:not(:placeholder-shown) ~ label { top: 0.8rem; font-size: 1.1rem; color: var(--accent); transform: translateY(0); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.input-wrap textarea:focus ~ label, .input-wrap textarea:not(:placeholder-shown) ~ label { top: 0.8rem; }
.input-wrap input:focus, .input-wrap textarea:focus { border-color: var(--accent); background: rgba(0,180,255,0.04); }
.form-feedback { font-size: 1.5rem; padding: 1.5rem; border-radius: var(--radius); opacity: 0; height: 0; overflow: hidden; transition: all 0.3s; }
.form-feedback.success { opacity: 1; height: auto; background: rgba(0,180,255,0.08); border: 1px solid var(--border-accent); color: var(--accent); }
.form-feedback.error { opacity: 1; height: auto; background: rgba(255,60,60,0.08); border: 1px solid rgba(255,60,60,0.3); color: #ff6060; }
.mini-footer { max-width: var(--max-w); margin: 8rem auto 0; padding-top: 3rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 1.3rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* === SCROLL REVEAL === */
.reveal-item { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* === MOUNTAIN DIVE (desktop) === */
@media (min-width: 1025px) {
    .back-video { will-change: transform; }
    .home-content { transition: transform 0.1s linear, opacity 0.1s linear; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
    :root { --section-pad: 10rem 5% 7rem; }
    html  { font-size: 58%; }
    .menu-toggle { display: flex; }
    .navbar { position: fixed; inset: 0; background: rgba(5,5,5,0.98); backdrop-filter: blur(24px); flex-direction: column; justify-content: center; align-items: center; gap: 2.4rem; transform: translateX(100%); transition: transform 0.45s var(--ease-out); z-index: 999; }
    .navbar.active { transform: translateX(0); }
    .navbar a { font-size: 2.2rem; color: rgba(255,255,255,0.7); }
    .navbar a::after { display: none; }
    .navbar a:hover, .navbar a.active { color: var(--accent); }
    .hero-topbar { padding: 9rem 5% 0; gap: 1rem; flex-wrap: wrap; }
    .hero-topbar-tag { font-size: 0.95rem; }
    .hero-mag-word { font-size: clamp(9rem, 19vw, 15rem); }
    .hero-mag-rule { margin-top: 1rem; }
    .hero-mag-fpv  { font-size: clamp(2.5rem, 4vw, 4rem); }
    .hero-bottom   { flex-wrap: wrap; gap: 1.5rem; padding: 0 5% 3.5rem; }
    .hero-tagline  { font-size: 1.3rem; }
    .hero-scroll-hint { display: none; }
    .about { clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%); padding: 13rem 5% 12rem; }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .about-image-wrap { display: flex; justify-content: center; }
    .image-box img { width: 300px; height: 340px; }
    .about-image-accent { display: none; }
    .about .heading { text-align: center; }
    .about-desc { margin: 0 auto 3rem; }
    .about-tags { justify-content: center; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card:nth-child(2) { border-right: 1px solid var(--border); }
    .stats-heading { font-size: clamp(4rem, 10vw, 7rem); }
    .grid-layout  { grid-template-columns: 1fr; height: auto; gap: 2rem; }
    .main-card    { min-height: 420px; }
    .side-column  { gap: 2rem; }
    .small-card   { min-height: 200px; }
    .timeline-section { clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%); }
    .timeline-track { display: none; }
    .timeline-item  { grid-template-columns: 7rem 1.5rem 1fr; gap: 0 2rem; }
    .tl-year        { font-size: 2.5rem; }
    .cinema-grid { grid-template-columns: 1fr 1fr; }
    .video-card--featured { grid-column: span 2; aspect-ratio: 16/9; min-height: auto; }
    .contact { clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%); }
    .contact-layout { grid-template-columns: 1fr; gap: 5rem; }
    .mini-footer { flex-direction: column; text-align: center; }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
    html  { font-size: 54%; }
    :root { --section-pad: 9rem 5% 6rem; }
    .hero-mag-title { padding: 0 4%; }
    .hero-mag-word  { font-size: clamp(7.5rem, 22vw, 12rem); white-space: normal; word-break: break-word; line-height: 0.9; }
    .hero-mag-rule  { flex-direction: column; align-items: flex-start; gap: 0.8rem; margin-top: 1.4rem; }
    .hero-mag-sub   { font-size: 1.1rem; letter-spacing: 0.2em; }
    .hero-mag-fpv   { font-size: 3rem; }
    .hero-topbar    { padding: 8rem 5% 0; gap: 0.8rem; }
    .hero-topbar-tag { font-size: 0.85rem; }
    .hero-bottom    { padding: 0 5% 3rem; }
    .hero-bottom-right { gap: 1.5rem; }
    .about { clip-path: none; margin: 0; padding: 9rem 5% 6rem; }
    .image-box img { width: 240px; height: 270px; }
    .philosophy-section { padding-bottom: 6rem; }
    .phil-card  { padding: 2.5rem; }
    .phil-card h3 { font-size: 2.2rem; }
    .stats-section { padding: 8rem 5%; }
    .stat-card  { padding: 2.5rem 2rem; }
    .stat-number { font-size: 5.5rem; }
    .stat-plus   { font-size: 3.5rem; }
    .stat-label  { font-size: 1.1rem; letter-spacing: 0.1em; }
    .main-card  { min-height: 360px; }
    .small-card { min-height: 180px; }
    .card-content { padding: 2.5rem; }
    .main-card h3 { font-size: 2.8rem; }
    .main-card .card-icon { font-size: 3rem; }
    .specs-list li { font-size: 1.1rem; padding: 0.4rem 1rem; }
    .timeline-section { clip-path: none; margin: 0; padding: 9rem 5% 6rem; }
    .timeline-item { grid-template-columns: 5.5rem 1.2rem 1fr; gap: 0 1.4rem; padding: 2.5rem 0; }
    .tl-year { font-size: 2rem; }
    .tl-content h3 { font-size: 2.2rem; }
    .tl-content p  { font-size: 1.4rem; }
    .cinema-grid { grid-template-columns: 1fr; }
    .video-card--featured { grid-column: span 1; }
    .video-card   { aspect-ratio: 16/9; }
    .video-meta h3 { font-size: 1.8rem; }
    .contact { clip-path: none; margin: 0; padding: 9rem 5% 6rem; }
    .input-group { grid-template-columns: 1fr; }
    .contact-desc { font-size: 1.6rem; }
    .btn { font-size: 1.3rem; padding: 1.4rem 2.4rem; }
}

/* ── Tiny (≤ 380px) ── */
@media (max-width: 380px) {
    .hero-mag-word { font-size: 19vw; }
    .stats-grid    { grid-template-columns: 1fr; }
    .stat-card     { border-right: 1px solid var(--border) !important; }
    .hero-bottom   { flex-direction: column; align-items: flex-start; }
    .hero-bottom-right { width: 100%; justify-content: space-between; }
}

/* =====================================================
   PROGRESS BAR
   ===================================================== */
.read-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: linear-gradient(to right, var(--accent), rgba(0,180,255,0.4)); z-index: 9999; transition: width 0.1s linear; box-shadow: 0 0 8px var(--accent-glow); pointer-events: none; }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top { position: fixed; bottom: 3rem; right: 3rem; width: 48px; height: 48px; border-radius: var(--radius); background: rgba(5,5,5,0.9); border: 1px solid var(--border); color: rgba(255,255,255,0.5); font-size: 2.4rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 900; opacity: 0; transform: translateY(12px); transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s, color 0.3s, box-shadow 0.3s; pointer-events: none; backdrop-filter: blur(10px); }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

/* =====================================================
   PERFORMANCE — content-visibility
   ===================================================== */
.about,
.philosophy-section,
.stats-section,
.drones,
.timeline-section,
.projects,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
}
