/* ═══════════════════════════════════════════
   PETER TAFU — PROFILE STUDIO
   FilmBot-inspired: dark editorial UI, B&W,
   tall condensed display type, cyan accent.
   ═══════════════════════════════════════════ */

:root {
    --bg: #0b0b0c;
    --bg-2: #101013;
    --ink: #f4f4f2;
    --muted: #8a8a90;
    --sub: #b8b8bd;
    --cyan: #00a4d8;
    --cyan-deep: #0090c0;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.24);
    --card: #121215;
    --ff-display: "Oswald", "Arial Narrow", sans-serif;
    --ff-mono: "JetBrains Mono", monospace;
    --ff-body: "Inter", sans-serif;
    --ease: cubic-bezier(0.77, 0, 0.175, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ff-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--cyan); color: #000; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }

em {
    font-style: normal;
    color: var(--cyan);
    font-weight: 600;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ─── NOISE ─── */
.noise {
    position: fixed; inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ─── SCROLL PIPE ─── */
.scroll-pipe {
    position: fixed; top: 0; left: 0;
    height: 2px; width: 0;
    background: var(--cyan);
    z-index: 960;
}

/* ─── CURSOR ─── */
.cur-dot {
    position: fixed; top: 0; left: 0;
    width: 5px; height: 5px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: var(--cyan);
    z-index: 950;
    pointer-events: none;
}
.cur-ring {
    position: fixed; top: 0; left: 0;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 949;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, margin 0.3s, border-color 0.3s;
}
.cur-ring.big { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--cyan); }
@media (hover: none) { .cur-dot, .cur-ring { display: none; } }

/* ─── CURTAIN INTRO ─── */
.curtain-wrap { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.curtain-top, .curtain-bottom {
    position: absolute; left: 0;
    width: 100%; height: 50.5%;
    background: var(--bg-2);
    transition: transform 1.1s var(--ease);
}
.curtain-top { top: 0; }
.curtain-bottom { bottom: 0; }
.curtain-brand {
    position: fixed; inset: 0;
    z-index: 1001;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px;
    transition: opacity 0.5s, visibility 0.5s;
}
.curtain-brand.hide { opacity: 0; visibility: hidden; }
.curtain-pt { font-family: var(--ff-display); font-weight: 500; font-size: 60px; line-height: 1; letter-spacing: 0.02em; color: var(--ink); }
.curtain-pt::after { content: "\00ae"; font-size: 0.18em; color: var(--cyan); vertical-align: super; margin-left: 4px; }
.curtain-sub { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted); }
.curtain-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.curtain-bar span { display: block; width: 100%; height: 100%; background: var(--cyan); transform: translateX(-100%); animation: barLoad 1.4s var(--ease) forwards; }
@keyframes barLoad { to { transform: translateX(0); } }

/* ─── NAV ─── */
.nav {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 800;
    background: rgba(11, 11, 12, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11, 11, 12, 0.94); }
.nav-in {
    max-width: 1400px; margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 60px);
    height: 72px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.3em; }
.nav-p {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border: 1px solid var(--line-strong);
    font-family: var(--ff-display); font-weight: 600; font-size: 14px; letter-spacing: 0;
    color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nl {
    position: relative;
    font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--muted);
    padding: 10px 14px;
    height: 72px;
    display: inline-flex; align-items: center;
    transition: color 0.3s;
}
.nl:hover { color: var(--ink); }
.nl::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 20px;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.nl.active::after, .nl:hover::after { transform: scaleX(1); }
.nl.active { color: var(--ink); }
.nl-cta { color: var(--ink); border: 1px solid var(--line-strong); height: auto; padding: 11px 18px; }
.nl-cta:hover { border-color: var(--cyan); }
.burger {
    display: none;
    flex-direction: column; gap: 5px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    z-index: 806;
}
.burger span { width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.burger.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
    position: relative; width: 100%; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    background: var(--bg);
    padding: clamp(110px, 16vh, 170px) clamp(16px, 4vw, 60px) 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 70% 20%, #15151a 0%, #000 70%); }
.hero-vid { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; animation: heroVidFade 4s ease; }
@keyframes heroVidFade { from { opacity: 0; } to { opacity: 0.22; } }
.hero-bg::after {
    content: "";
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(4, 8, 12, 0.82) 0%, rgba(2, 6, 10, 0.88) 45%, rgba(1, 3, 6, 0.95) 100%);
}
.hero-bg canvas { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; display: block; mix-blend-mode: screen; opacity: 0.16; }
.hero-glass { position: absolute; top: 96px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; }
.hg-top { display: flex; align-items: center; gap: 18px; }
.hg-label { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hg-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); }
.hero-content { position: relative; z-index: 3; max-width: 1400px; margin: 0 auto; width: 100%; }
.hero-lines { margin-top: 52px; }
.hl { overflow: hidden; }
.hl-inner {
    display: inline-block;
    transform: translateY(112%);
    font-family: var(--ff-display); font-weight: 500; text-transform: uppercase;
    letter-spacing: -0.01em; line-height: 0.88;
    font-size: clamp(60px, 13vw, 190px);
    color: var(--ink);
}
.hl-wide { letter-spacing: 0.04em; }
.hl-accent { color: var(--cyan); }
.hl-xl { font-size: clamp(64px, 15vw, 230px); }
.hl-inner .tm { font-size: 0.16em; vertical-align: super; letter-spacing: 0; color: var(--ink); }
.hero-bot {
    position: relative; z-index: 3;
    margin-top: clamp(30px, 4vw, 56px);
    max-width: 520px;
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s 0.6s var(--ease), transform 0.7s 0.6s var(--ease);
}
.hero-bot.vis { opacity: 1; transform: translateY(0); }
.hero-desc { color: var(--sub); font-size: 15px; line-height: 1.7; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
    position: relative; z-index: 3;
    margin-top: clamp(26px, 4vw, 60px);
    display: flex; gap: clamp(18px, 3vw, 40px);
    font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--muted);
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s 0.9s, transform 0.7s 0.9s;
}
.hero-meta.vis { opacity: 1; transform: translateY(0); }
.hero-scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    z-index: 5;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-family: var(--ff-mono); font-size: 8px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); }
.scroll-pip { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: pipe 1.6s infinite; }
@keyframes pipe {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── BUTTONS ─── */
.btn-glass, .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    padding: 16px 26px;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-glass { background: var(--ink); color: #000; }
.btn-glass:hover { background: var(--cyan); color: #000; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 12px 20px; }
.btn-glass svg, .btn-ghost svg { transition: transform 0.3s; }
.btn-glass:hover svg, .btn-ghost:hover svg { transform: translateX(3px); }

/* ─── MARQUEE ─── */
.marquee-thin { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.mt-track { display: flex; width: max-content; animation: mq 26s linear infinite; }
.mt-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; }
.mt-group span { font-family: var(--ff-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; font-size: 18px; color: var(--ink); }
.mt-group i { font-style: normal; color: var(--cyan); font-family: var(--ff-mono); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─── SHARED CARD ─── */
.glass-card { background: var(--card); border: 1px solid var(--line); border-radius: 2px; }

/* ─── ABOUT ─── */
.about { padding: clamp(90px, 14vw, 170px) 0; border-top: 1px solid var(--line); }
.about-in {
    max-width: 1400px; margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 60px);
    display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.about-left { position: relative; }
.about-img-wrap { position: relative; border: 1px solid var(--line); aspect-ratio: 3/4; overflow: hidden; }
.about-img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge { position: absolute; right: -12px; bottom: 26px; z-index: 2; padding: 18px 22px; text-align: center; }
.badge-num { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 40px; line-height: 1; color: var(--cyan); }
.badge-label { display: block; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sub); margin-top: 6px; }
.about-float-img {
    position: absolute; left: -12%; top: -10%;
    width: 34%; max-width: 150px;
    border: 1px solid var(--line);
    transform: rotate(-4deg);
    z-index: 1;
}
.about-float-img img { }
.about-right { display: flex; flex-direction: column; }
.tag { display: flex; align-items: center; gap: 12px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.tag::before { content: ""; width: 26px; height: 1px; background: var(--cyan); }
.about-quote { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0; line-height: 0.98; font-size: clamp(34px, 5vw, 72px); margin-bottom: 26px; }
.about-text { color: var(--sub); max-width: 560px; margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.as { padding: 20px 18px; transition: border-color 0.3s; }
.as:hover { border-color: var(--line-strong); }
.as-n { font-family: var(--ff-display); font-weight: 500; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--ink); }
.as-l { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; display: block; }

/* ─── CASE STUDIES ─── */
.cases { padding: clamp(90px, 14vw, 170px) 0; }
.cases-in { max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 60px); }
.cases-head, .gallery-head, .contact-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: clamp(40px, 6vw, 80px);
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
}
.section-num { font-family: var(--ff-display); font-weight: 300; font-size: clamp(30px, 5vw, 60px); line-height: 0.9; color: var(--line-strong); }
.section-title, .contact-title { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0; line-height: 0.9; font-size: clamp(44px, 8vw, 120px); text-align: right; }
.cs {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    gap: clamp(24px, 4vw, 50px);
    align-items: center;
    padding: clamp(50px, 8vw, 100px) 0;
    border-top: 1px solid var(--line);
}
.cs-right .cs-img-wrap { order: 2; }
.cs-right .cs-glass { order: 1; }
.cs-img-wrap {
    position: relative; border: 1px solid var(--line);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: var(--bg-2);
    overflow: hidden;
}
.cs-img { width: 100%; height: 100%; object-fit: contain; }
.cs-glass { padding: clamp(24px, 3.5vw, 40px); position: relative; transition: border-color 0.3s; }
.cs-glass:hover { border-color: var(--line-strong); }
.cs-idx { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--cyan); }
.cs-title-row { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; }
.cs-logo { height: 48px; max-width: 180px; object-fit: contain; }
.cs-title { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 3vw, 38px); line-height: 1; }
.cs-desc { color: var(--sub); font-size: 14px; max-width: 44ch; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cs-tags span { font-family: var(--ff-mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); }
.cs-extra { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 6px; }
.cs-extra img { width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 16px; background: var(--bg-2); border: 1px solid var(--line); transition: filter 0.5s; }
.cs-extra img:hover { filter: brightness(1.08); }

/* ─── STATEMENT ─── */
.statement { padding: clamp(80px, 14vw, 180px) clamp(16px, 4vw, 60px); border-top: 1px solid var(--line); }
.st-wrap { max-width: 1400px; margin: 0 auto; }
.st-line { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0; line-height: 0.9; font-size: clamp(46px, 9.5vw, 150px); }
.st-line span { display: inline-block; }
.st-outline { color: transparent; -webkit-text-stroke: 1px var(--ink); }

/* ─── GALLERY ─── */
.gallery { padding: clamp(90px, 14vw, 170px) 0; }
.gallery-in { max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 60px); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.g-item {
    position: relative; border-radius: 2px; overflow: hidden; cursor: pointer;
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 10px;
    aspect-ratio: 4/4.6;
    display: flex;
    transition: border-color 0.3s;
}
.g-item:hover { border-color: var(--cyan); }
.g-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 30px 0 4px; }
.g-logo { height: 46px; max-width: 180px; object-fit: contain; flex-shrink: 0; padding: 8px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; }
.g-head-label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.g-head::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); opacity: 0.6; }
.g-item img { width: 100%; height: 100%; object-fit: contain; display: block; transition: filter 0.5s; border-radius: 1px; }
.g-item:hover img { filter: brightness(1.06); }
.g-item figcaption {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 55%);
    transition: opacity 0.4s;
}
.g-item:hover figcaption { opacity: 1; }
.g-tag { font-family: var(--ff-mono); font-size: 8.5px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.g-item figcaption h3 { font-family: var(--ff-body); font-weight: 500; font-size: 13px; color: var(--ink); }
.g-hide { display: none; }

/* Mosaic rhythm — images never crop (object-fit: contain keeps originals intact) */
.g-item:nth-child(8n+3) { grid-column: span 2; aspect-ratio: 2/2.2; }
.g-item:nth-child(8n+6) { grid-column: span 2; aspect-ratio: 2/1.4; }

.gallery-more { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* ─── CONTACT ─── */
.contact { padding: clamp(90px, 14vw, 170px) 0; border-top: 1px solid var(--line); }
.contact-in { max-width: 1000px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 60px); }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cl { display: flex; align-items: center; gap: 16px; padding: 22px 24px; transition: border-color 0.3s, background 0.3s; }
.cl:hover { border-color: var(--cyan); background: var(--bg-2); }
.cl-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--ink); transition: border-color 0.3s, color 0.3s; }
.cl:hover .cl-icon { border-color: var(--cyan); color: var(--cyan); }
.cl-text { flex: 1; display: flex; flex-direction: column; }
.cl-label { font-family: var(--ff-mono); font-size: 8.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.cl-val { font-family: var(--ff-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(17px, 2vw, 24px); margin-top: 2px; }
.cl-arrow { color: var(--muted); transition: transform 0.3s, color 0.3s; }
.cl:hover .cl-arrow { transform: translate(3px, -3px); color: var(--cyan); }

/* ─── FOOTER ─── */
.foot { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 70px) 0; }
.foot-in {
    max-width: 1400px; margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 60px);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.foot-copy { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.foot-pt { font-family: var(--ff-display); font-weight: 600; font-size: 22px; color: var(--ink); }
.foot-top { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s, color 0.3s; }
.foot-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* ─── LIGHTBOX ─── */
.lb {
    position: fixed; inset: 0; z-index: 1002;
    background: rgba(0, 0, 0, 0.96);
    display: flex; align-items: center; justify-content: center;
    padding: 12px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb-img {
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    border: 1px solid var(--line);
    cursor: zoom-out;
    animation: lbZoom 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lbZoom {
    from { transform: scale(0.86); opacity: 0.3; }
    to { transform: scale(1); opacity: 1; }
}
.lb-x { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s, color 0.3s; }
.lb-x:hover { border-color: var(--cyan); color: var(--cyan); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 700;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--ink); color: #000;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, background 0.3s, color 0.3s;
}
.wa-float:hover { background: var(--cyan); color: #000; transform: translateY(-4px); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .about-in { grid-template-columns: 1fr; }
    .about-left { max-width: 420px; }
    .about-float-img { left: -8%; top: -8%; }
    .cs { grid-template-columns: 1fr; }
    .cs-glass { order: 1; }
    .cs-img-wrap { order: 2; }
    .cs-extra { order: 3; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-links { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; inset: 0; z-index: 805;
        flex-direction: column; justify-content: center; gap: 18px;
        background: rgba(8, 8, 10, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        opacity: 0; visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
    }
    .nav-links.on { opacity: 1; visibility: visible; }
    .nl { height: auto; font-size: 12px; padding: 14px 20px; }
    .nl::after { bottom: 8px; }
    .burger { display: flex; }
    .hl-inner { font-size: clamp(52px, 16vw, 96px); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .cs-extra { grid-template-columns: 1fr; }
    .hero-meta { flex-wrap: wrap; gap: 14px; }
    .hero-scroll { display: none; }
    .hero-glass { top: 82px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .g-item:nth-child(8n+3), .g-item:nth-child(8n+6) { grid-column: auto; aspect-ratio: 4/4.6; }
    .g-head { flex-wrap: wrap; row-gap: 8px; }
    .g-head-label { white-space: normal; line-height: 1.5; }
    .g-logo { height: 38px; max-width: 150px; }
    .section-num { font-size: clamp(30px, 12vw, 60px); }
    .section-title, .contact-title { text-align: left; }
    .cases-head, .gallery-head, .contact-head { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
    .hero { padding: 120px 16px 60px; min-height: auto; }
    .hl-inner { font-size: clamp(46px, 17vw, 72px); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn-glass, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
    .about-img-badge { right: 10px; }
    .foot-in { flex-direction: column-reverse; gap: 12px; text-align: center; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .hl-inner { transform: none !important; }
    .hero-bot, .hero-meta { opacity: 1 !important; transform: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero-vid { display: none; }
}