/* =========================================================
   CoversDigital  |  Immersive experience stylesheet
   ========================================================= */

:root {
    --bg: #04050c;
    --bg-2: #070914;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-2: rgba(255, 255, 255, 0.075);
    --border: rgba(255, 255, 255, 0.10);
    --text: #eef1fb;
    --muted: #97a0bf;
    --cyan: #22d3ee;
    --indigo: #818cf8;
    --purple: #a855f7;
    --pink: #f472b6;
    --grad: linear-gradient(120deg, #22d3ee 0%, #818cf8 45%, #a855f7 100%);
    --grad-soft: linear-gradient(120deg, rgba(34,211,238,0.16), rgba(168,85,247,0.16));
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 40px 110px -40px rgba(0,0,0,0.8);
    --maxw: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.08; letter-spacing: -0.02em; }
.hero-title, .manifesto-text, .section-head h2, .cta-title, .work-intro h2 { text-shadow: 0 2px 30px rgba(4,5,12,0.65), 0 1px 4px rgba(4,5,12,0.5); }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.grad-text, .brand-text strong {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
    text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.74rem; font-weight: 600;
    color: var(--cyan); margin: 0 0 16px;
}
.eyebrow.center { text-align: center; }

/* ---------- Background WebGL world ---------- */
.bg-canvas {
    position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none;
}
.bg-grain {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 3px 3px;
}
body::before {
    content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(80% 60% at 50% 0%, transparent 40%, rgba(4,5,12,0.55) 100%);
}
main { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
    cursor: pointer; border: 1px solid transparent; position: relative; overflow: hidden;
    transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.3s;
}
.btn-primary { background: var(--grad); color: #06070d; box-shadow: 0 14px 44px -12px rgba(129,140,248,0.7); }
.btn-primary:hover { box-shadow: 0 26px 64px -14px rgba(129,140,248,0.95); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 1000; background: var(--bg);
    display: grid; place-items: center; will-change: transform;
}
.preloader-inner { text-align: center; width: min(420px, 80vw); }
.preloader-logo { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 26px; }
.preloader-logo strong { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.preloader-bar { height: 2px; width: 100%; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--grad); }
.preloader-count { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.preloader-count i { font-style: normal; }
.preloader-tag { margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(151,160,191,0.6); }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [data-cursor] { cursor: none; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); margin: -3.5px 0 0 -3.5px; }
.cursor-ring {
    width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1px solid rgba(255,255,255,0.45);
    display: grid; place-items: center; transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: #06070d; opacity: 0; transition: opacity 0.2s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.cursor.is-view .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--grad); border-color: transparent; }
.cursor.is-view .cursor-label { opacity: 1; }
.cursor.is-down .cursor-ring { transform: scale(0.85); }

/* ---------- Page progress ---------- */
.page-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--grad); z-index: 200; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(4,5,12,0.6); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-text { font-size: 1.3rem; font-weight: 500; }
.brand-text strong { font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: var(--muted); font-size: 0.96rem; font-weight: 500; transition: color 0.25s; }
.main-nav a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.nav-cta:hover { background: var(--surface-2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Split text ---------- */
[data-split].split-ready { display: block; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.word .line-inner { display: inline-block; will-change: transform; }
.hero-title .word { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; }
.hero-inner { position: relative; z-index: 2; padding: 150px 26px 120px; max-width: 980px; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; margin: 0 0 26px; }
.hero-sub { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-marquee { position: absolute; bottom: 78px; left: 0; right: 0; z-index: 2; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hero-marquee-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content; animation: scrollX 28s linear infinite; }
.hero-marquee-track span { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; color: rgba(238,241,251,0.6); }
.hero-marquee-track i { color: var(--cyan); font-size: 0.5rem; font-style: normal; }
@keyframes scrollX { to { transform: translateX(-50%); } }

.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; display: flex; justify-content: center; }
.scroll-cue span { width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; margin-top: 7px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; }
.reveal-head { display: inline-block; }

/* ---------- Manifesto ---------- */
.manifesto { padding: 150px 0; text-align: center; }
.manifesto-text { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 500; max-width: 1000px; margin: 0 auto; line-height: 1.28; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: rgba(10,12,24,0.55); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 38px 30px 32px; position: relative; overflow: hidden; backdrop-filter: blur(10px);
    transition: transform 0.5s var(--ease), background 0.5s, border-color 0.5s;
}
.card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad); opacity: 0; transition: opacity 0.5s;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-8px); background: rgba(14,17,32,0.7); }
.card:hover::before { opacity: 1; }
.card-no { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--cyan); display: block; margin-bottom: 22px; }
.card h3 { font-size: 1.34rem; margin: 0 0 12px; }
.card p { color: var(--muted); margin: 0 0 18px; font-size: 0.98rem; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.card li { color: var(--text); font-size: 0.92rem; padding-left: 22px; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Work : horizontal pinned ---------- */
.work { position: relative; }
.work-pin { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.work-track { display: flex; align-items: stretch; gap: 28px; padding: 0 7vw; width: max-content; will-change: transform; }
.work-intro { width: 42vw; min-width: 320px; display: flex; flex-direction: column; justify-content: center; }
.work-intro h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 14px 0 22px; }
.work-intro-sub { color: var(--muted); max-width: 360px; }
.work-card {
    width: 38vw; min-width: 360px; background: rgba(10,12,24,0.6); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); display: flex; flex-direction: column;
    transition: transform 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-8px); }
.work-thumb { height: 56%; min-height: 280px; position: relative; display: grid; place-items: start; }
.wt-1 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.wt-2 { background: linear-gradient(135deg, #a855f7, #6366f1); }
.wt-3 { background: linear-gradient(135deg, #06b6d4, #14b8a6); }
.wt-4 { background: linear-gradient(135deg, #f472b6, #a855f7); }
.wt-5 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.work-thumb::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 120% at 0 0, rgba(255,255,255,0.28), transparent 42%); mix-blend-mode: overlay; }
.work-index { font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,0.85); margin: 22px 0 0 26px; position: relative; z-index: 1; }
.work-meta { padding: 28px 30px 32px; }
.tag { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--cyan); border: 1px solid var(--border); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px; }
.work-meta h3 { font-size: 1.4rem; margin: 0 0 10px; }
.work-meta p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Process ---------- */
.phases { position: relative; max-width: 820px; margin: 0 auto; }
.phase-line { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.phase-line span { display: block; width: 100%; height: 0; background: var(--grad); border-radius: 2px; }
.phase-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 34px; }
.phase { position: relative; padding-left: 56px; }
.phase::before { content: ''; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,0.12); }
.phase-tag { font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.phase h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.phase p { color: var(--muted); margin: 0; }

/* ---------- Tech marquee ---------- */
.tech { padding: 70px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(7,9,20,0.5); display: grid; gap: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; white-space: nowrap; }
.marquee-left .marquee-track { animation: scrollX 34s linear infinite; }
.marquee-right .marquee-track { animation: scrollXr 38s linear infinite; }
@keyframes scrollXr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-track span { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.4rem, 3vw, 2.6rem); font-weight: 600; color: rgba(238,241,251,0.18); padding: 0 8px; }
.marquee-left .marquee-track span:nth-child(odd) { color: rgba(238,241,251,0.4); }
.marquee-right .marquee-track span:nth-child(even) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.7; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 0 0 22px; }
.about-copy > p { color: var(--muted); margin: 0 0 28px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.feature-list li { padding-left: 32px; position: relative; color: var(--muted); }
.feature-list li strong { color: var(--text); }
.feature-list li::before { content: '\2713'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan); display: grid; place-items: center; font-size: 0.7rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-tile { background: rgba(10,12,24,0.55); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; backdrop-filter: blur(8px); }
.stat-tile strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2.7rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-tile span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: rgba(10,12,24,0.55); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; margin: 0; backdrop-filter: blur(8px); }
.quote blockquote { margin: 0 0 22px; font-size: 1.06rem; line-height: 1.6; }
.quote blockquote::before { content: '\201C'; font-family: 'Space Grotesk', sans-serif; font-size: 3rem; line-height: 0; color: var(--purple); display: block; height: 24px; }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Contact ---------- */
.cta-head { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.cta-title { font-size: clamp(2rem, 5vw, 3.6rem); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-intro > p { color: var(--muted); margin: 0 0 28px; }
.contact-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact-points li span { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; color: var(--cyan); }
.contact-points a:hover { color: var(--text); }

.lead-form { background: rgba(10,12,24,0.65); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 0.86rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea { background: rgba(4,5,12,0.6); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; color: var(--text); font: inherit; font-size: 0.96rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.18); }
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2397a0bf' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field select option { background: #0b0d1c; color: var(--text); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { margin: 4px 0 22px; }
.form-consent label { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; }
.form-consent input { margin-top: 4px; accent-color: var(--purple); width: 17px; height: 17px; }
.form-consent a { color: var(--cyan); }
.form-status { margin: 16px 0 0; font-size: 0.94rem; min-height: 1.2em; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }
.lead-form.loading .btn { opacity: 0.7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--border); background: rgba(7,9,20,0.7); backdrop-filter: blur(10px); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 52px; }
.footer-brand p { color: var(--muted); margin: 16px 0 20px; font-size: 0.95rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; font-size: 0.82rem; text-transform: lowercase; color: var(--muted); transition: background 0.25s, color 0.25s; }
.footer-social a:hover { background: var(--surface-2); color: var(--text); }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text); margin: 0 0 18px; }
.footer-col a, .footer-muted { display: block; color: var(--muted); font-size: 0.94rem; margin-bottom: 11px; transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--muted); font-size: 0.88rem; }
.footer-legal a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { position: relative; z-index: 2; padding: 170px 0 110px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 40px; }
.legal h2 { font-size: 1.5rem; margin: 42px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--cyan); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }

/* ---------- Reveal fallback ---------- */
[data-anim].in { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    /* Work becomes a normal vertical stack on tablet and below */
    .work-pin { min-height: 0; display: block; padding: 110px 0; }
    .work-track { width: auto; flex-direction: column; padding: 0 26px; max-width: var(--maxw); margin: 0 auto; gap: 22px; transform: none !important; }
    .work-intro, .work-card { width: 100%; min-width: 0; }
    .work-thumb { min-height: 220px; }
}
@media (max-width: 760px) {
    .main-nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0; background: rgba(4,5,12,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 14px 26px 26px; transform: translateY(-130%); transition: transform 0.5s var(--ease); align-items: stretch; }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0 !important; }
    .nav-toggle { display: flex; }
    .cards, .quotes, .about-stats { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 90px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .cursor { display: none; }
    body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}
