/* ── Victoou portfolio — tokens + global styles ───────────────── */

@font-face { font-family: 'Helvetica Now Display'; src: url('assets/fonts/HelveticaNowDisplay-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helvetica Now Display'; src: url('assets/fonts/HelveticaNowDisplay-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helvetica Now Display'; src: url('assets/fonts/HelveticaNowDisplay-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helvetica Now Display'; src: url('assets/fonts/HelveticaNowDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helvetica Now Display'; src: url('assets/fonts/HelveticaNowDisplay-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Joyride'; src: url('assets/fonts/Joyride.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg-900: #0E0E11;
  --bg-800: #161616;
  --bg-700: #1E1E1E;
  --text: #FFFFFF;
  --text-muted: #9D9D9D;
  --nav-gray: #868686;
  --surface-2: #2A2A2A;
  --placeholder: #BFBFBF;
  --accent: #ff2746;
  --speed: 1;
  --glow-alpha: 0.5;
  --body-fs: 16px;
  --radius: 20px;
  --container: min(1349px, 90vw);
  --pad-m: 34px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100vw;
  background: var(--bg-900);
  color: var(--text);
  font-family: 'Helvetica Now Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--body-fs);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: 'JetBrains Mono', monospace; }
.display { font-family: 'Joyride', 'Helvetica Now Display', sans-serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
.about-square { display: none; }
.container { width: var(--container); margin: 0 auto; }
p.muted { color: var(--text-muted); }
::selection { background: var(--accent); color: #fff; }

/* ── Custom cursor (red dot; blink + glow on click) ───────────── */
html.cur, html.cur * { cursor: none !important; }
#cursor-dot {
  position: fixed; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--accent); z-index: 9999; pointer-events: none;
  box-shadow: 0 0 14px color-mix(in oklab, var(--accent) 65%, transparent);
}
/* Blink animates a separate overlay ring so the dot itself never shifts */
#cursor-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; opacity: 0;
  background: #fff; box-shadow: 0 0 22px var(--accent), 0 0 48px var(--accent);
}
#cursor-dot.blink::after { animation: curBlink .45s cubic-bezier(.3, 0, .2, 1); }
@keyframes curBlink {
  0% { opacity: 0; transform: scale(1); }
  35% { opacity: 1; transform: scale(1.7); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* ── Loading screen ───────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 999; background: #0A0A0D;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
#loader img { height: 88px; filter: brightness(0) invert(1); animation: loaderPulse 1.4s ease-in-out infinite; }
#loader.hide { opacity: 0; pointer-events: none; }
@keyframes loaderPulse { 0%, 100% { opacity: .3; transform: scale(.95); } 50% { opacity: 1; transform: scale(1); } }

/* ── Reveal on scroll ─────────────────────────────────────────── */
.reveal { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.pre { opacity: 0; transform: translateY(24px); }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 96px);
}
/* Nav: in the hero the brand mark lives in the hero composition, so the
   top-left logo is hidden; nav links sit top-right. Past the hero, the logo
   appears top-left and the links/CTA fade out. */
.logo-mark { height: 42px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .3s ease, height .35s ease, opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.nav .logo-link { position: absolute; left: clamp(24px, 5vw, 96px); top: 50%; transform: translateY(-50%) translateX(-8px); opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .45s ease; }
.nav.min .logo-link { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
a.logo-link:hover .logo-mark { filter: brightness(0) invert(.7); }
.nav-links { display: flex; gap: clamp(20px, 3vw, 56px); align-items: center; margin-right: auto; transition: opacity .4s ease, transform .4s ease; }
.nav-link {
  font-size: 17px; font-weight: 500; color: var(--nav-gray);
  position: relative; padding: 4px 0; cursor: pointer; background: none; border: none;
  transition: color .25s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0%;
  background: var(--accent); transition: width .25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; gap: 28px; align-items: center; }

/* Minimized nav once the user leaves the hero */
.nav.min .nav-links { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.nav.min .logo-mark { height: 38px; opacity: 1; }
.nav.min a.logo-link:hover .logo-mark { opacity: 1; }
/* Works / Contact pages: logo always visible top-left, normal flow */
.nav.nav-page .logo-link { position: static; opacity: 1; pointer-events: auto; transform: none; display: block; z-index: 70; }
.nav.nav-page .logo-mark { height: 42px; opacity: 1; filter: brightness(0) invert(1); }
.nav.nav-page.nav-gone .logo-link { opacity: 0; pointer-events: none; }
.nav.nav-page .nav-links { margin-left: clamp(20px, 3vw, 48px); }
.nav.min .nav-right { opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.cta-wrap { position: relative; display: inline-flex; transition: opacity .4s ease, transform .4s ease; transform-origin: right center; }
.nav.min .cta-wrap { opacity: .5; transform: scale(.88); }
.nav.min .cta-wrap:hover { opacity: 1; }

/* ── Mobile hamburger + menu (hidden on desktop) ──────────────── */
.nav-burger {
  display: none; width: 44px; height: 44px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; cursor: pointer; z-index: 80;
  border: 1px solid var(--surface-2); border-radius: 11px; background: rgba(20, 20, 24, .55); backdrop-filter: blur(8px);
}
.nav-burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.on span:nth-child(2) { opacity: 0; }
.nav-burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 75; padding: 96px var(--pad-m) 34px;
  background: #0A0A0C; backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu.show { opacity: 1; pointer-events: auto; transform: none; }
.mm-top { position: absolute; top: 16px; right: var(--pad-m); left: auto; z-index: 2; }
.mm-logo { height: 30px; width: auto; filter: brightness(0) invert(1); }
.mm-links { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.mm-links a { font-size: clamp(40px, 13vw, 64px); font-weight: 500; line-height: 1.06; color: var(--text); padding: 4px 0; letter-spacing: -.01em; }
.mm-links a:active { color: var(--accent); }
.mm-foot { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.mm-email { font-size: 16px; color: var(--text-muted); }
.mm-cta-link { align-self: flex-start; background: none; border: none; padding: 0; font-family: inherit; font-size: 18px; font-weight: 500; color: var(--text); cursor: pointer; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.mm-credit { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #1f1f23; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5a5a60; }
.mm-by strong { color: var(--text); }

/* ── Side bullet nav (appears after hero) ─────────────────────── */
.side-nav {
  position: fixed; right: 30px; top: 50%; z-index: 65;
  transform: translateY(-50%) translateX(18px);
  display: flex; flex-direction: column; gap: 20px; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.side-nav.show { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.side-item { display: flex; gap: 12px; align-items: center; color: var(--nav-gray); font-size: 14px; background: none; border: none; padding: 0; cursor: pointer; }
.side-item .lbl { opacity: 0; transform: translateX(8px); transition: opacity .25s ease, transform .25s ease; }
.side-item:hover .lbl, .side-item.active .lbl { opacity: 1; transform: none; }
.side-item.active { color: var(--text); }
.side-item .sdot { width: 8px; height: 8px; border-radius: 50%; background: #55555c; flex: none; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.side-item:hover .sdot { background: #9d9da4; }
.side-item.active .sdot { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 10px color-mix(in oklab, var(--accent) 80%, transparent); }

/* ── CTA button (gray; dot lights up; 10s red light-sweep) ────── */
.cta {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  display: flex; gap: 10px; align-items: center;
  border: 1px solid #2E2E33; border-radius: 999px; padding: 13px 24px;
  background: var(--bg-700);
  color: #fff; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: transform .2s ease, background .25s ease;
}
.cta:hover { transform: translateY(-2px); background: #26262B; }
.cta .dot, .cta .cta-label { position: relative; z-index: 2; }
.cta .cta-label { white-space: nowrap; }
.cta .dot { width: 9px; height: 9px; border-radius: 50%; background: #868686; transition: background .25s ease, box-shadow .25s ease; }
.cta:hover .dot { background: var(--accent); box-shadow: 0 0 12px var(--accent), 0 0 26px color-mix(in oklab, var(--accent) 60%, transparent); }
/* Red light beam sweeping left → right every 10s */
.cta::before {
  content: ''; position: absolute; top: -25%; bottom: -25%; left: 0; width: 60%; z-index: 1;
  pointer-events: none; transform: translateX(-180%); filter: blur(1.5px); mix-blend-mode: screen;
  background: linear-gradient(100deg,
    transparent 0%,
    color-mix(in oklab, var(--accent) 0%, transparent) 14%,
    color-mix(in oklab, var(--accent) 85%, transparent) 40%,
    rgba(255, 255, 255, .92) 50%,
    color-mix(in oklab, var(--accent) 85%, transparent) 60%,
    transparent 86%);
  animation: ctaSweep calc(10s / var(--speed)) linear infinite;
}
@keyframes ctaSweep {
  0%   { transform: translateX(-180%); }
  14%  { transform: translateX(320%); }
  14.01%, 100% { transform: translateX(320%); }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 640px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #030305;
}
.bg-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.hero-photo { background: #030305 var(--img-hero-d, url('assets/hero-d.webp')) center center / cover no-repeat; }
.hero-photo-m { background: #000 var(--img-hero-m, url('assets/hero-m.webp')) center 30% / cover no-repeat; opacity: 1; }
/* Hero image eases out of a slight zoom as the loading screen leaves */
.hero .bg-slot { transform: scale(1.12); transition: transform 1.9s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
body.loaded .hero .bg-slot { transform: scale(1); }
.hero-glow {
  position: absolute; z-index: 1; left: 50%; top: 60%; width: 1100px; height: 720px;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 36%, transparent), transparent 70%);
  opacity: var(--glow-alpha); filter: blur(40px);
}
.hero-bottom-wrap { position: relative; z-index: 2; width: 100%; padding: 0 clamp(24px, 4vw, 80px) 7vh; text-align: center; }
/* New centered hero composition */
.hero-stage { position: relative; z-index: 2; width: 100%; padding: 0 clamp(24px, 5vw, 90px) clamp(36px, 6vh, 70px); text-align: center; }
.hero-stage .hero-title { font-size: clamp(58px, 13.5vw, 225px); font-weight: 400; line-height: .9; letter-spacing: -25px; color: var(--accent); margin: 0; }
.hero-title-mask { overflow: hidden; padding: 0 .04em .12em; }
body.loaded .hero-title { animation: heroMaskIn 1.5s cubic-bezier(.16,1,.3,1) both; }
@keyframes heroMaskIn { from { transform: translateY(108%); } to { transform: translateY(0); } }
.hero-tagline { margin-top: 12px; font-family: 'Helvetica Now Display', sans-serif; font-size: clamp(12px, 1.2vw, 18px); font-weight: 500; letter-spacing: .24em; color: var(--accent); }
.hero-tagline strong { color: var(--accent); font-weight: 700; font-stretch: condensed; letter-spacing: .12em; }
.hero-flank-wrap { margin-top: clamp(20px, 3.5vh, 44px); }
.hero-flank { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 4vw, 48px); }
.hf-side { font-family: 'Helvetica Now Display', sans-serif; font-size: clamp(11px, 1.1vw, 16px); font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.hf-left { text-align: right; }
.hf-right { text-align: left; }
.hf-logo img { height: clamp(34px, 4vw, 52px); width: auto; display: block; margin: 0 auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.5)); }
.swap-mask { overflow: hidden; padding: 0.08em 0.06em; }
.swap-inner { display: block; animation: heroSwap calc(10s / var(--speed)) cubic-bezier(.77, 0, .18, 1) infinite; }
@keyframes heroSwap {
  0%, 88% { transform: translateY(0); }
  93% { transform: translateY(-112%); }
  94.5% { transform: translateY(-112%); }
  100% { transform: translateY(0); }
}
.hero-title { margin: 0; font-size: clamp(54px, 9vw, 168px); line-height: 1; letter-spacing: .01em; color: var(--text); }
.hero-roles {
  display: flex; justify-content: space-between; gap: 24px;
  font-size: clamp(12px, 1.05vw, 18px); letter-spacing: .14em; color: var(--text);
  margin-top: 8px;
}
.hero-desc { max-width: 540px; margin: -8px auto 0; color: var(--text-muted); font-size: var(--body-fs); }
.allwork-float {
  position: absolute; z-index: 3; right: clamp(28px, 8vw, 150px); top: 40%; transform: translateY(-50%);
  display: flex; gap: 14px; align-items: center;
  font-size: clamp(22px, 2vw, 34px); font-weight: 500; color: var(--text);
}
.allwork-float svg { transition: transform .25s ease; }
.allwork-float:hover { color: var(--accent); }
.allwork-float:hover svg { transform: translate(5px, -5px); }

/* ── Sections shared ──────────────────────────────────────────── */
.section { position: relative; padding: 130px 0 110px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.h2 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1; color: var(--text-muted); letter-spacing: .02em; }
.section-desc { max-width: 620px; color: var(--text); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.3; margin: 14px 0 0; }
.seeall { display: flex; gap: 9px; align-items: center; font-size: 20px; font-weight: 500; cursor: pointer; background: none; border: none; padding: 0; }
.seeall svg { transition: transform .25s ease; }
.seeall:hover { color: var(--accent); }
.seeall:hover svg { transform: translate(4px, -4px); }

/* ── Portfolio blocks ─────────────────────────────────────────── */
.block { margin-top: 90px; }
.bar-wrap { position: relative; z-index: 30; border-bottom: 1px solid #2e2e33; padding-bottom: 26px; }
.block-bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.block-title { margin: 0; font-size: clamp(38px, 3.5vw, 60px); font-weight: 700; line-height: 1; }
.block-desc { max-width: 640px; color: var(--text-muted); margin: 20px 0 0; white-space: pre-line; }
.filters { display: flex; gap: 22px; align-items: center; }
.filters-label { font-size: 20px; letter-spacing: .08em; }
.pill {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  background: var(--bg-700); border: 1px solid transparent; border-radius: 999px;
  padding: 12px 18px; font-size: 16px; color: var(--text); cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.pill:hover { border-color: var(--surface-2); background: #242428; }
.pill.active { border-color: var(--accent); }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px; z-index: 50;
  background: var(--bg-700); border: 1px solid var(--surface-2); border-radius: 16px;
  padding: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.dd-item {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  background: none; border: none; border-radius: 10px; padding: 10px 12px;
  font-size: 15px; color: var(--text); cursor: pointer;
  transition: background .18s ease, opacity .25s ease, transform .25s ease;
}
.dd-item:hover { background: var(--surface-2); }
.dd-item .tick { width: 16px; height: 16px; border-radius: 5px; border: 1px solid #555; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .15s, border-color .15s; }
.dd-item.checked .tick { background: var(--accent); border-color: var(--accent); }
.dd-item .radio { border-radius: 50%; }
.dd-item.out { opacity: 0; transform: translateY(-4px); pointer-events: none; }

.grid-wrap { position: relative; margin-top: 46px; }
.vgrid { display: grid; gap: 18px; }
.other-works { padding-top: 20px; }
/* ── Other works ──────────────────────────────────────────────── */
.svc-filter { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.svc-arrow { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #2e2e33; background: var(--bg-700); color: #B4B4B4; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease, color .2s ease; }
.svc-arrow:first-child svg { transform: rotate(180deg); }
.svc-arrow:hover { background: var(--accent); color: #fff; }
.svc-track { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; flex: 1; }
.svc-track::-webkit-scrollbar { display: none; }
.svc-chip { flex: none; background: var(--bg-700); border: 1px solid #2e2e33; border-radius: 999px; color: var(--text-muted); font-size: 15px; padding: 11px 22px; cursor: pointer; white-space: nowrap; transition: border-color .2s ease, color .2s ease, background .2s ease; font-family: inherit; }
.svc-chip:hover { color: #fff; border-color: #4a4a50; }
.svc-chip.on { color: #fff; border-color: var(--accent); background: rgba(255,36,82,.10); }
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; margin-top: 44px; }

/* Works page */
.works-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; padding: 130px 0 6vh; }
.works-hero-title { margin: 0; font-size: clamp(48px, 8vw, 120px); line-height: .95; letter-spacing: -.03em; }
.works-hero-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; }
.works-hero-cta svg { color: var(--accent); transition: transform .25s ease; }
.works-hero-cta:hover svg { transform: translate(4px, -4px); }
.works-head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.works-head .section-desc { margin-top: 14px; }
.works-filter { margin-top: 0; max-width: 100%; }
.works-filters { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; width: 100%; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; margin-top: 50px; }
/* Masonry mural — varied cover heights, no white gaps */
.mural { columns: 3; column-gap: 18px; margin-top: 50px; }
.mural-card { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 26px; }
.mural-cover { aspect-ratio: 16 / 9; border-radius: 8px; }
.ocard-client { display: block; font-size: 14px; color: var(--text-muted); margin: 2px 4px 0; }
/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 30px 60px; align-items: start; }
.faq-h { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.faq-sub { margin: 8px 0 0; font-size: clamp(28px, 3.4vw, 48px); font-weight: 600; line-height: 1.05; color: var(--text); max-width: 11ch; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: none; }
.faq-item { border: 1px solid #2e2e33; border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; padding: 20px 22px; cursor: pointer; color: #fff; font-size: 17px; font-weight: 700; text-align: left; font-family: inherit; }
.faq-q svg { flex: none; color: #B4B4B4; transition: transform .25s ease, color .25s ease; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q svg { color: var(--accent); transform: rotate(45deg); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; color: var(--text-muted); font-size: 16px; line-height: 1.6; padding: 0 22px; }
.faq-item.open .faq-a { padding: 0 22px 20px; }
/* Top projects */
.top-eyebrow { display: block; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.top-lead { font-size: clamp(20px, 2vw, 28px); font-weight: 500; max-width: 620px; margin: 0 0 36px; }
.top-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.top-rating { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 5px; background: rgba(10,10,13,.72); backdrop-filter: blur(6px); color: #fff; font-size: 13px; border-radius: 999px; padding: 5px 11px; }
.top-rating svg { color: #FFC83D; }
.works-form-sec { padding-top: 40px; }
.works-form-title { font-size: clamp(34px, 4vw, 56px); font-weight: 600; margin: 0 0 6px; }
.direct-split.nodiv { border-top: none; padding-top: 0; }
.works-form-sub { color: var(--text-muted); margin: 0 0 30px; max-width: 540px; }

/* Contact page */
.contact-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: 130px 0 5vh; }
.contact-hero-title { margin: 0; font-size: clamp(56px, 11vw, 180px); line-height: .92; letter-spacing: -.02em; }
.proof-row { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.proof-avatars { display: flex; }
.proof-av { width: 46px; height: 46px; border-radius: 50%; background: #2a2a2e center/cover no-repeat; border: 2px solid var(--bg-900); margin-left: -12px; }
.proof-av:first-child { margin-left: 0; }
.proof-meta { display: flex; flex-direction: column; gap: 5px; }
.stars { display: inline-flex; gap: 3px; color: #3a3a40; }
.stars svg.on { color: #FFC83D; }
.proof-text { color: var(--text-muted); font-size: 15px; }
.faq-sec { padding-top: 30px; }
.top-sec { padding-bottom: 30px; }
.contact-form-sec { padding-top: 50px; }
.direct-sec { padding-top: 0; padding-bottom: 30px; }
.direct-split { display: grid; grid-template-columns: 1fr auto; gap: 30px 40px; align-items: center; border-top: 1px solid #26262b; padding-top: 40px; }
.direct-title { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; }
.direct-channels { display: flex; justify-content: flex-end; }
.ocard { display: flex; flex-direction: column; }
.ocard-cover { position: relative; width: 100%; aspect-ratio: 4 / 3; border: none; border-radius: 8px; overflow: hidden; cursor: pointer; background-color: #6E6E73; background-position: center; padding: 0; display: block; transition: transform .35s ease; }
.ocard-cover:hover { transform: translateY(-4px); }
/* Nav hidden after hero (Works / Contact pages) */
.nav.nav-gone { opacity: 0; transform: translateY(-100%); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.ocard-type { position: absolute; left: 16px; top: 16px; background: rgba(10,10,13,.72); backdrop-filter: blur(6px); color: #fff; font-size: 12px; letter-spacing: .04em; border-radius: 999px; padding: 6px 13px; }
.ocard-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: none; border: none; padding: 14px 4px 0; color: var(--text); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; cursor: pointer; text-align: left; font-family: inherit; }
.ocard-cat { position: absolute; left: 16px; bottom: 16px; background: rgba(10,10,13,.72); backdrop-filter: blur(6px); color: #fff; font-size: 12px; letter-spacing: .04em; border-radius: 999px; padding: 6px 13px; }
.ocard-title svg { flex: none; color: #B4B4B4; transition: transform .25s ease, color .25s ease; }
.ocard:hover .ocard-title svg { transform: translate(3px, -3px); color: var(--accent); }
/* Design popup */
.dm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px) 18px; }
.dm-head .vm-title { margin: 0; }
.dm-head-main { min-width: 0; }
.dm-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.dm-company { font-size: 14px; color: var(--text); font-weight: 500; }
.dm-cats { font-size: 13px; color: var(--text-muted); }
.dm-head .vm-tools { margin: 4px 0 0; flex-wrap: wrap; justify-content: flex-end; }
.dm-stage { overflow: visible; background: #1a1a1a; }
.dm-full { width: 100%; height: auto; display: block; }
.dm-stage .dm-full + .dm-full { margin-top: 0; }
.dm-ph { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; color: #888; font-size: 15px; }
.dm-body { padding: 22px clamp(22px, 3vw, 40px) clamp(26px, 3vw, 40px); }
.vgrid.long { grid-template-columns: repeat(3, 1fr); }
.vgrid.short { grid-template-columns: repeat(4, 1fr); }
.grid-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none; z-index: 5;
  background: linear-gradient(180deg, rgba(14, 14, 17, 0) 0%, var(--bg-900) 92%);
}
.vcard {
  position: relative; padding: 0; border: none; cursor: pointer; overflow: hidden;
  border-radius: 8px; background: none; text-align: left; width: 100%;
}
.vcard .thumb {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; display: block;
  transition: transform .4s ease;
  background-color: #6E6E73;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000' fill-opacity='0.16'%3E%3Cpath d='M21 17V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM9 9.5A1.5 1.5 0 1 1 6 9.5a1.5 1.5 0 0 1 3 0zM5 17l4-5 3 3.5L15 12l4 5H5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 58px;
}
.vcard.short .thumb { aspect-ratio: 9 / 16; }
.vcard:hover .thumb { transform: scale(1.04); }
.vcard .hover-veil {
  position: absolute; inset: 0; border-radius: 8px;
  background: rgba(26, 26, 30, 0.82); opacity: 0; transition: opacity .25s ease;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.vcard:hover .hover-veil, .vcard:focus-visible .hover-veil { opacity: 1; }
.vcard .v-title { font-size: 20px; font-weight: 500; }
.vcard .v-meta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 4px; }
.vcard .v-channel { font-size: 14px; color: #d6d6d6; }
.vcard .v-stats { display: flex; gap: 16px; font-size: 12px; color: #e9e9e9; align-items: center; }
.vcard .v-stats span { display: inline-flex; gap: 6px; align-items: center; }

.see-more-row { display: flex; justify-content: center; margin-top: 44px; position: relative; z-index: 6; }
.see-more {
  display: inline-flex; align-items: center;
  background: var(--bg-700); border: 1px solid #2E2E33; border-radius: 999px;
  color: #CFCFCF; cursor: pointer;
  font-size: 17px; font-weight: 500; padding: 13px 28px;
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
.see-more:hover { background: #33333A; color: #fff; transform: translateX(-12px); }
.see-more .plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0; height: 26px; opacity: 0; overflow: hidden; margin-left: 0; flex: none;
  transition: width .3s ease, opacity .25s ease, margin .3s ease;
}
.see-more:hover .plus { width: 26px; opacity: 1; margin-left: 12px; }
.see-more .plus svg { width: 26px; height: 26px; flex: none; }

/* ── Clients (full screen, bleeds off the right edge) ─────────── */
.clients-full { min-height: 100vh; display: flex; align-items: center; padding: 90px 0; }
.clients-wrap {
  width: 100%; display: grid; align-items: center;
  grid-template-columns: minmax(280px, 420px) 1fr;
  padding-left: max(calc((100vw - var(--container)) / 2), 24px);
}
.clients-copy { position: relative; z-index: 6; }
.clients-title { margin: 0 0 30px; font-size: clamp(72px, 9vw, 150px); font-weight: 700; line-height: .9; }
.clients-desc { max-width: 400px; margin: 0; color: var(--text-muted); }
.clients-copy .car-arrows { justify-content: flex-start; margin-top: 44px; }
.carousel-cell { position: relative; z-index: 1; min-width: 0; margin-left: -110px; }
.car-viewport { overflow: visible; }
.car-track { display: flex; gap: 10px; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.client-card {
  position: relative; flex: 0 0 clamp(260px, 23vw, 430px);
  height: min(72vh, 660px); background: #6E6E73; overflow: hidden; border-radius: 0;
  padding: 0; border: none; text-align: left; cursor: pointer;
  opacity: 1; transition: opacity .55s ease;
}
.client-card.edge { opacity: .5; }
.client-card .c-veil {
  position: absolute; inset: 0; padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .65));
  opacity: 0; transition: opacity .3s ease;
}
.client-card:hover .c-veil { opacity: 1; }
.c-followers { font-size: clamp(15px, 1.3vw, 24px); text-align: right; line-height: 1.05; color: #fff; }
.c-name { font-size: clamp(22px, 2vw, 36px); line-height: 1.08; color: #fff; }
.car-arrows { display: flex; gap: 14px; }
.car-arrow {
  width: 52px; height: 47px; border: none; border-radius: 999px; background: var(--bg-700);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease, color .2s ease; color: #fff;
}
.car-arrow:hover { background: var(--accent); }
.car-arrow.left svg { transform: rotate(180deg); }

/* ── Client popup ─────────────────────────────────────────────── */
.modal.bare:has(.cm-split) { border-radius: 8px; background: #2C2C2C; }
.modal.img-viewer { padding: 0; overflow: hidden; border-radius: 14px; line-height: 0; }
.modal.img-viewer .timeline-ph { line-height: 1.4; }
.cm-split { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; align-items: stretch; min-height: 480px; }
.cm-photo {
  align-self: stretch; height: 100%; border-radius: 0; margin: 0;
  background: #6E6E73 center/cover no-repeat;
  display: flex; align-items: flex-end; padding: 16px; color: #444; font-size: 13px;
}
.cm-info {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: clamp(28px, 3.5vw, 52px);
}
.cm-name { margin: 6px 0 16px; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.02; }
.cm-about { color: var(--text-muted); margin: 0 0 26px; }
.cm-metrics { justify-content: center; }
.cm-socials { display: flex; gap: 22px; margin-top: 26px; justify-content: center; }
.cm-socials .social { color: var(--text-muted); }

/* ── About (image + light behind the text) ────────────────────── */
.about-hero { position: relative; min-height: 94vh; display: flex; align-items: center; overflow: hidden; }
.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.mouse-glow {
  position: absolute; z-index: 1; width: 680px; height: 680px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 92%, transparent), transparent 72%);
  filter: blur(30px); opacity: calc(var(--glow-alpha) * 2.1); pointer-events: none;
  transition: left .2s ease-out, top .2s ease-out;
}
/* Portrait — full-resolution image, centered, bottom-anchored. Slides up + fades in once when the section enters view. */
.portrait-photo {
  position: absolute; z-index: 2; left: 50%; bottom: 0;
  height: 86vh; width: auto; max-width: none; object-fit: contain; object-position: bottom;
  pointer-events: none;
  transform: translateX(-50%) translateY(46px); opacity: 0;
  transition: transform 1.15s cubic-bezier(.22, 1, .36, 1), opacity 1.1s ease;
}
.portrait-photo.in { transform: translateX(-50%) translateY(0); opacity: .98; }
.about-top {
  position: relative; z-index: 5; width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: clamp(32px, 4vw, 90px); align-items: center;
  pointer-events: none;
}
.about-bio { font-size: clamp(18px, 1.4vw, 24px); color: #fff; margin: 0; max-width: 460px; text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.trim-wrap { display: flex; justify-content: flex-end; }
.trim-title { width: 100%; max-width: 680px; height: auto; overflow: visible; filter: drop-shadow(0 4px 30px rgba(0,0,0,.6)); }
.trim-text {
  font-family: 'Helvetica Now Display', sans-serif; font-weight: 600; font-size: 104px;
  fill: #fff; fill-opacity: 0; stroke: #fff; stroke-width: 1.3;
  stroke-dasharray: 1300; stroke-dashoffset: 1300;
}
.reveal:not(.pre) .trim-text { animation: drawText 2.4s cubic-bezier(.6, 0, .3, 1) forwards; }
.reveal:not(.pre) .trim-text.l2 { animation-delay: .3s; }
@keyframes drawText {
  0% { stroke-dashoffset: 1300; fill-opacity: 0; }
  62% { stroke-dashoffset: 0; fill-opacity: 0; }
  100% { stroke-dashoffset: 0; fill-opacity: 1; }
}
.skills-head { text-align: center; font-size: clamp(30px, 3vw, 48px); font-weight: 400; margin: 110px 0 40px; }
.marquee-zone { position: relative; overflow: hidden; padding: 10px 0; }
.marquee-row { display: flex; gap: 23px; width: max-content; margin-bottom: 26px; will-change: transform; animation: marq calc(28s / var(--speed)) linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: calc(34s / var(--speed)); }
.marquee-row.slow { animation-duration: calc(40s / var(--speed)); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.skill {
  flex: none; font-size: clamp(18px, 1.6vw, 26px); padding: 15px 34px;
  border: 1px solid #3A3A3F; border-radius: 999px; white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease; cursor: default;
}
.skill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.marquee-fade {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(90deg, var(--bg-900) 0%, rgba(14,14,17,0) 12%, rgba(14,14,17,0) 88%, var(--bg-900) 100%);
}

/* ── Contact ──────────────────────────────────────────────────── */
/* "Let's work together" block with the lead form */
.contact-card.lwt { display: block; min-height: 0; padding: clamp(30px, 4vw, 60px); }
.lwt-head a { color: inherit; transition: color .25s ease; }
.lwt-head a:hover { color: var(--accent); }
.lwt-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 4vw, 64px); margin-top: 36px; align-items: start; }
.lwt-side { display: flex; flex-direction: column; gap: 22px; }
.lwt-direct { color: var(--text-muted); font-size: 16px; max-width: 320px; margin: 0; }
.cta-modal-h { margin: 0 0 8px; font-size: 26px; font-weight: 700; line-height: 1.15; }
.cta-modal-title { margin: 0 0 26px; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--text-muted); max-width: 460px; }
.cta-modal-channels { margin-top: 28px; padding: 20px 22px; background: #0a0a0d; border: 1px solid #232328; border-radius: 16px; display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; }
.cta-modal-channels .lwt-direct { max-width: none; }
.cta-modal-channels .channels { justify-content: flex-end; }

/* Lead form */
.leadform { width: 100%; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.lf-col2 { grid-column: 1 / -1; }
.lf-block { margin-top: 34px; }
.lf-block + .lf-grid { margin-top: 34px; }
.lf-field { display: flex; flex-direction: column; gap: 8px; }
.lf-field > span { font-size: 14px; color: var(--text); font-weight: 500; }
.lf-field input, .lf-field textarea, .lf-select-wrap select {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid #34343a;
  color: var(--text); font-size: 15px; font-family: inherit; padding: 10px 2px;
  transition: border-color .2s ease;
}
.lf-field textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.lf-field input:focus, .lf-field textarea:focus, .lf-select-wrap select:focus { outline: none; border-bottom-color: var(--accent); }
.lf-field input::placeholder, .lf-field textarea::placeholder { color: #5c5c63; }
.lf-select-wrap { position: relative; }
.lf-select-wrap select { appearance: none; cursor: pointer; padding-right: 26px; }
.lf-select-wrap::after { content: "\25BE"; position: absolute; right: 4px; top: 50%; transform: translateY(-40%); color: var(--text-muted); pointer-events: none; font-size: 12px; }
.lf-select-wrap option { background: var(--bg-800); color: var(--text); }
/* "How did you find me" — checkbox style, no pill container */
.lf-bullets { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.lf-bullet { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: none; border-radius: 0; color: var(--text-muted); font-size: 14px; padding: 4px 0; cursor: pointer; transition: color .18s ease; }
.lf-bullet .lf-dot { width: 17px; height: 17px; border-radius: 4px; border: 1.5px solid #55555c; display: inline-flex; align-items: center; justify-content: center; transition: all .18s ease; }
.lf-bullet:hover { color: var(--text); }
.lf-bullet.on { color: var(--text); }
.lf-bullet.on .lf-dot { background: var(--accent); border-color: var(--accent); }
.lf-bullet.on .lf-dot::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.lf-err { color: var(--accent); font-size: 13px; margin-top: 14px; }
.lf-submit { margin-top: 24px; margin-left: auto; display: flex; width: fit-content; align-items: center; gap: 8px; background: #26262b; color: #fff; border: none; border-radius: 999px; font-size: 15px; font-weight: 500; padding: 13px 26px; cursor: pointer; transition: background .2s ease, transform .2s ease; font-family: inherit; }
.lf-submit svg { width: 14px; height: 14px; opacity: 0; max-width: 0; transition: opacity .2s ease, max-width .2s ease, transform .2s ease; }
.lf-submit:hover { background: var(--accent); transform: translateY(-2px); }
.lf-submit:hover svg { opacity: 1; max-width: 16px; }
.lf-submit:hover { background: #ff3d66; transform: translateY(-2px); }
.lf-submit:disabled { opacity: .6; cursor: default; transform: none; }
.lf-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px 0; }
.lf-sent-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.lf-sent h3 { margin: 0; font-size: 24px; font-weight: 600; }
.lf-sent p { margin: 0; color: var(--text-muted); }
.lf-again { margin-top: 8px; }

/* Direct-contact channel buttons — collapsed to icon, label on hover, white/black contrast */
.channels { display: flex; flex-wrap: wrap; gap: 12px; }
.channel { display: inline-flex; align-items: center; justify-content: center; gap: 0; background: var(--bg-700); border: 1px solid #2e2e33; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; padding: 12px 14px; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; text-decoration: none; font-family: inherit; }
.channel svg { margin: 0; flex: none; }
.channel span { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s ease, opacity .2s ease, margin .25s ease; }
.channel:hover { transform: translateY(-2px); background: #fff; color: #0E0E11; border-color: #fff; }
.channel:hover span { max-width: 140px; opacity: 1; margin-left: 8px; }

.contact-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-800); min-height: 560px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(36px, 4vw, 72px);
}
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
.contact-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 40px; }
.contact-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.contact-heading { margin: 0; font-size: clamp(48px, 5.6vw, 108px); line-height: 1.02; transition: color .25s ease; cursor: default; }
.contact-heading .lower { font-weight: 300; }
.contact-heading:hover { color: var(--accent); }
.copyright { font-size: 18px; color: var(--nav-gray); }
.contact-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.socials { display: flex; gap: 34px; align-items: center; }
.social {
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: transform .22s ease, color .22s ease, filter .22s ease;
}
.social:hover {
  transform: translateY(-6px); color: var(--accent);
  filter: drop-shadow(0 6px 14px color-mix(in oklab, var(--accent) 70%, transparent));
}
.email-block { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.email-link { display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 2vw, 32px); transition: color .22s ease; }
.email-link:hover { color: var(--accent); }
.email-link svg { transition: transform .25s ease; }
.email-link:hover svg { transform: translate(4px, -4px); }
.footer-row {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  padding: 48px 0 110px; font-size: 15px; letter-spacing: .02em; color: #4F4F4F;
}
.footer-row .logo-mark { height: 44px; filter: brightness(0) invert(.31); }

/* ── Language switch ──────────────────────────────────────────── */
.lang-wrap { position: fixed; right: 26px; bottom: 26px; z-index: 70; display: flex; align-items: center; gap: 12px; }
.lang-lbl { font-size: 13px; letter-spacing: .12em; color: var(--nav-gray); font-weight: 700; animation: fadeIn .4s ease; }
.lang-switch {
  position: relative;
  display: flex; align-items: center; gap: 6px; padding: 5px;
  background: rgba(20, 20, 24, .85); border: 1px solid var(--surface-2);
  border-radius: 999px; cursor: pointer; backdrop-filter: blur(10px);
}
.lang-flag {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  opacity: .5; filter: grayscale(1); transition: opacity .3s ease, filter .3s ease;
  border: none; background: none; padding: 0; cursor: pointer;
}
.lang-flag.on { opacity: 1; filter: none; }
.lang-flag svg { width: 30px; height: 30px; }
.lang-knob {
  position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent); z-index: 1;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.lang-switch[data-lang="pt"] .lang-knob { transform: translateX(36px); }

/* Back-to-top (bottom-left, pill with small arrow + label) */
.to-top {
  position: fixed; right: 26px; bottom: 78px; z-index: 70;
  height: 48px; padding: 0 18px 0 22px; border-radius: 999px;
  display: flex; align-items: center; gap: 9px;
  background: rgba(20, 20, 24, .85); border: 1px solid var(--surface-2);
  color: var(--nav-gray); cursor: pointer; backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: color .25s ease, border-color .25s ease, opacity .3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--text); border-color: #444; }

/* ── Modals ───────────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(6, 6, 9, .86);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn .22s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal.bare { padding: 0; border: none; background: #2C2C2C; border-radius: 8px; overflow: hidden auto; width: auto; max-width: min(1180px, 94vw); max-height: 92vh; }
.modal.bare.dm-modal { width: min(1040px, 94vw); max-width: 94vw; max-height: 92vh; overflow-y: auto; }
/* Short-form popup adapts its height to the screen instead of a fixed tall block */
.modal.bare:has(.vm-shell) { width: auto; max-width: min(960px, 94vw); max-height: 90vh; }
.vm-shell .vm-split { min-height: 0; }
.vm-shell .vm-split .vm-embed.short { max-height: 78vh; }
.modal.bare.dm-modal .dm-stage { max-height: none; overflow: visible; }
.modal.bare.dm-modal .dm-head { position: sticky; top: 0; z-index: 2; background: #2C2C2C; }
.modal.bare.dm-modal .dm-head, .modal.bare.dm-modal .dm-body { box-sizing: border-box; }
.vm-body { padding: 22px clamp(22px, 3vw, 40px) clamp(26px, 3vw, 40px); }
.vm-shell { padding: 0; }
.vm-shell .vm-split { padding: 0; }
.modal {
  position: relative; width: min(1040px, 94vw); max-height: 92vh; overflow: auto;
  background: var(--bg-700); border: 1px solid var(--surface-2); border-radius: 8px;
  padding: clamp(26px, 3vw, 44px); animation: popIn .3s cubic-bezier(.22, 1, .36, 1);
}
/* Branded scrollbars inside popups */
.modal, .modal.bare, .modal.bare.dm-modal { scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255,255,255,.08); }
.modal::-webkit-scrollbar, .modal.bare::-webkit-scrollbar { width: 10px; height: 10px; }
.modal::-webkit-scrollbar-track, .modal.bare::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.modal::-webkit-scrollbar-thumb, .modal.bare::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; border: 2px solid #2C2C2C; }
.modal::-webkit-scrollbar-thumb:hover, .modal.bare::-webkit-scrollbar-thumb:hover { background: color-mix(in oklab, var(--accent) 80%, #fff); }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* While a modal is open, freeze the expensive background animations */
body.modal-open .swap-inner,
body.modal-open .marquee-row,
body.modal-open .cta::before { animation-play-state: paused !important; }
body.modal-open .hero-glow,
body.modal-open .mouse-glow { display: none; }
.modal-close {
  position: absolute; top: 18px; right: 18px; height: 38px; min-width: 38px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--surface-2); background: none; color: #848484;
  cursor: pointer; font-size: 16px; transition: background .2s, border-color .2s, color .2s; z-index: 5;
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
}
.mc-tip { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 13px; transition: max-width .25s ease, opacity .2s ease, margin .25s ease; }
.modal-close:hover { background: rgba(132,132,132,.16); border-color: #848484; color: #fff; }
.modal-close:hover .mc-tip { max-width: 80px; opacity: 1; margin-right: 8px; }
.modal.bare .modal-close { background: rgba(0,0,0,.45); border-color: transparent; color: #848484; }
.modal.bare .modal-close:hover { background: rgba(132,132,132,.22); border-color: #848484; color: #fff; }
.vm-channel { font-size: 14px; letter-spacing: .12em; color: var(--text-muted); text-transform: uppercase; }
.vm-title { margin: 8px 0 18px; font-size: 32px; font-weight: 700; }
/* Full-bleed embed: touches top/left/right of the popup (long-form) */
.modal.bare > .vm-embed { aspect-ratio: 16 / 9; width: 100%; border-radius: 0; background: #1a1a1a; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #888; font-size: 15px; }
.vm-embed {
  aspect-ratio: 16 / 9; border-radius: 12px; background: #1a1a1a; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #888; font-size: 15px;
}
.vm-embed iframe, .vm-embed video { width: 100%; height: 100%; border: 0; display: block; }
.vm-tools { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; }
.vm-tool {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: .02em; overflow: hidden;
}
.vm-tool.brand { border: none; font-weight: 700; }
.vm-tool.glyph { border: none; padding: 0; background: transparent; }
.vm-tool.glyph svg { display: block; width: 30px; height: 30px; }
.vm-tools .vm-tools-lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5d5d64; margin-right: 6px; }
.vm-desc { color: var(--text-muted); margin: 22px 0; }
.vm-metrics-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 18px 0 8px; }
.vm-metrics { display: flex; gap: 30px; flex-wrap: wrap; }
.vm-metric { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.vm-metric small { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.vm-split { display: grid; grid-template-columns: minmax(0, 1.05fr) 1fr; gap: 26px; align-items: stretch; }
.vm-split .vm-embed.short { aspect-ratio: 9 / 16; width: 100%; height: 100%; border-radius: 0; }
.vm-split .vm-info { padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 36px) clamp(26px, 3vw, 40px) 4px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; gap: 4px; }
.vm-split .vm-info .vm-desc { margin: 16px 0; }
.vm-split .vm-info .vm-metrics-row { margin: 6px 0 0; }
.vm-split .vm-info .vm-testimonial { margin-top: 22px; width: 100%; }
.btn-ghost {
  background: none; border: 1px solid #AEAEAE; color: #ddd; border-radius: 999px;
  padding: 10px 22px; font-size: 15px; cursor: pointer; transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.vm-testimonial {
  display: flex; gap: 18px; align-items: flex-start; margin-top: 28px;
  background: var(--bg-800); border-radius: 16px; padding: 22px;
}
.vm-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--placeholder); flex: none; }
.vm-quote { color: var(--text-muted); font-size: 15px; margin: 6px 0 0; }
.vm-quote-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.timeline-ph { aspect-ratio: 21 / 9; border-radius: 14px; background: var(--placeholder); display: flex; align-items: center; justify-content: center; color: #555; }
.choice-row { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.choice {
  flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  font-family: inherit; width: 100%;
  background: var(--bg-800); border: 1px solid var(--surface-2); border-radius: 18px;
  padding: 26px; cursor: pointer; color: #fff; text-align: left;
  transition: border-color .2s ease, transform .2s ease;
}
.choice:hover { border-color: var(--accent); transform: translateY(-3px); }
.choice .ch-title { font-size: 19px; font-weight: 700; }
.choice .ch-sub { font-size: 14px; color: var(--text-muted); }

/* Copy-email confirmation toast */
.copy-toast {
  position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(16px);
  z-index: 200; background: #fff; color: #0E0E11; padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ───────────────────────────────────────────────── */
/* Dual desktop / mobile images: mobile variants hidden until the phone breakpoint */
.img-m { display: none; }

@media (max-width: 1100px) {
  .vgrid.long { grid-template-columns: repeat(2, 1fr); }
  .vgrid.short { grid-template-columns: repeat(3, 1fr); }
  .clients-wrap { grid-template-columns: 1fr; gap: 34px; padding: 0 clamp(24px, 5vw, 48px); }
  .carousel-cell { margin-left: 0; }
  .clients-copy .car-arrows { margin-top: 28px; }
  .about-top { grid-template-columns: 1fr; gap: 24px; }
  .trim-wrap { justify-content: flex-start; }
  .vm-split, .cm-split { grid-template-columns: 1fr; }
  /* Popups — give content room to breathe on phones */
  .vm-split .vm-info { padding: 22px var(--pad-m) 26px; justify-content: flex-start; gap: 2px; }
  .vm-split .vm-embed.short { max-height: 62vh; }
  .vm-body { padding: 22px var(--pad-m) 28px; }
  .dm-head { padding: 22px var(--pad-m) 16px; }
  /* Testimonials sit inside already-padded containers — vertical spacing only */
  .vm-testimonial { margin: 20px 0 0; padding: 18px; }
  .vm-split .vm-info .vm-testimonial { margin-top: 20px; }
  .dm-body .vm-testimonial { margin: 20px 0 0; }
  .cm-photo { min-height: 300px; }
  .cm-info { align-items: flex-start; text-align: left; }
  .cm-metrics, .cm-socials { justify-content: flex-start; }
}

/* Nav becomes a hamburger menu */
@media (max-width: 860px) {
  .nav { padding: 18px var(--pad-m); }
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; margin-right: auto; order: -1; }
  body.menu-open .nav-burger { order: -1; margin-right: auto; margin-left: 0; }
  body.menu-open .lang-wrap { opacity: 0; pointer-events: none; }
  /* Minimized nav: brand mark sits top-right on mobile */
  .nav.min .logo-link { left: auto; right: var(--pad-m); transform: translateY(-50%); }
  .nav.min .logo-mark { height: 40px; opacity: 1; }
  .side-nav { display: none; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --container: calc(100vw - var(--pad-m) * 2); }
  .section { padding: 48px 0 44px; }
  .block { margin-top: 40px; }

  /* Portfolio — single column; shorts = swipe carousel (one per view, peek next) */
  .vgrid.long { grid-template-columns: 1fr; gap: 18px; }
  .vgrid.short { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--pad-m) * -1); padding: 0 var(--pad-m); }
  .vgrid.short::-webkit-scrollbar { display: none; }
  .vgrid.short > .reveal { flex: 0 0 80%; width: 80%; min-width: 80%; scroll-snap-align: start; }
  .grid-wrap { margin-top: 30px; }
  .vcard .hover-veil {
    opacity: 1; padding: 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.78) 100%);
  }
  .vcard .v-title { font-size: 16px; }
  .vcard .v-meta-row { flex-wrap: nowrap; gap: 8px; }
  .vcard .v-channel { font-size: 13px; }
  .vcard .v-stats { font-size: 12px; gap: 9px; flex: none; }
  .vcard.short .hover-veil { padding: 16px; }
  .vcard.short .v-title { font-size: 16px; }
  .vcard.short .v-meta-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 8px; }
  .vcard.short .v-channel { font-size: 13px; }
  .vcard.short .v-stats { font-size: 12px; gap: 10px; }
  .block-bar { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 20px; }
  .filters { flex-wrap: nowrap; gap: 10px; align-items: center; justify-content: flex-start; }
  .filters-label { display: none; }
  .pill { flex: 0 0 auto; min-width: 0; font-size: 14px; padding: 10px 16px; }
  .dd { flex: 0 0 auto; min-width: 0; }
  .dd-menu { left: 0; right: auto; width: 100%; min-width: 0; }
  .section-head { flex-direction: column; gap: 18px; }
  .ogrid { grid-template-columns: 1fr; gap: 22px; }
  .works-grid { grid-template-columns: 1fr; gap: 22px; }
  .mural { columns: 1; }
  .top-grid { grid-template-columns: 1fr; gap: 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 18px 0; }
  .works-filters { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .works-filter { max-width: 100%; }
  .works-hero { min-height: 48vh; padding-top: 110px; }
  .contact-hero { min-height: 42vh; padding-top: 110px; }
  .direct-split { grid-template-columns: 1fr; gap: 20px; }
  .direct-channels { justify-content: flex-start; }
  .svc-chip { font-size: 15px; padding: 10px 18px; }
  .section-desc, .block-desc { font-size: 16px; }
  .seeall { font-size: 16px; color: var(--text-muted); gap: 8px; }
  .seeall svg { width: 17px; height: 17px; }
  .see-more { font-size: 15px; }
  .see-more:hover { transform: none; }

  /* Hero — bottom-aligned composition; relaxed letter-spacing on small screens */
  .hero { min-height: 600px; }
  .hero-bottom-wrap { padding-bottom: 17vh; }
  .hero-title { font-size: clamp(34px, 12vw, 88px); letter-spacing: 0; }
  .hero-stage { padding-bottom: clamp(70px, 14vh, 130px); }
  .hero-stage .hero-title { letter-spacing: -.04em; }
  .hero-tagline { letter-spacing: .14em; margin-top: 14px; }
  .hero-flank-wrap { margin-top: clamp(20px, 3.5vh, 40px); }
  .hf-side { letter-spacing: .12em; }
  .hero-roles { display: none; }
  .hero-desc { font-size: 13.5px; margin-top: 12px; color: var(--text); max-width: 84%; }
  .allwork-float { display: none; }

  /* Clients */
  .clients-full { min-height: auto; padding: 48px 0; }
  .clients-title { font-size: clamp(40px, 12vw, 64px); margin-bottom: 22px; }
  .clients-desc { font-size: 15px; }
  .carousel-cell { margin: 0 0 0 clamp(24px, 5vw, 48px); }
  .client-card { flex: 0 0 78vw; height: 60vh; }
  .client-card .c-veil { opacity: 1; }

  /* About — title left, square photo ABOVE the title, paragraph w/ shadow */
  .about-hero { display: block; min-height: auto; padding: 44px 0 20px; overflow: visible; }
  .about-top {
    display: flex; flex-direction: column; align-items: flex-start; text-align: left;
    padding: 0 var(--pad-m); gap: 20px;
  }
  .about-square {
    display: block; order: 0; width: min(50%, 184px); aspect-ratio: 1 / 1;
    border-radius: 16px; background-size: cover; background-position: center;
    background-color: #1a1a1e; align-self: flex-start;
  }
  .about-top .trim-wrap { order: 1; justify-content: flex-start; width: 100%; }
  .about-bio-wrap { order: 2; }
  .trim-title { max-width: 280px; }
  .trim-text { text-anchor: start; }
  .about-bio { max-width: none; font-size: 16px; order: 2; text-shadow: 0 2px 18px rgba(0,0,0,.85), 0 0 4px rgba(0,0,0,.6); }
  .portrait-photo { display: none; }
  .mouse-glow { display: none; }
  .about-bg { opacity: .5; }
  .skills-head { margin: 54px 0 26px; font-size: 22px; }
  .skill { font-size: 15px; padding: 11px 22px; }
  .marquee-row { gap: 16px; margin-bottom: 16px; }

  /* Contact */
  .lwt-grid { grid-template-columns: 1fr; gap: 30px; }
  .lf-grid { grid-template-columns: 1fr; }
  .lwt-direct { max-width: none; }
  .contact-card { min-height: auto; padding: 36px 24px; gap: 44px; }
  .contact-top { flex-direction: column; gap: 14px; }
  .contact-heading { font-size: clamp(30px, 10vw, 90px); }
  .copyright { font-size: 15px; }
  .contact-bottom { flex-direction: column; align-items: flex-start; gap: 26px; }
  .socials { gap: 24px; flex-wrap: wrap; }
  .email-block { align-items: flex-start; }
  .email-link { font-size: 19px; }
  .footer-row { flex-direction: column; gap: 12px; padding: 40px 0 96px; text-align: center; }
  .footer-row .logo-mark { order: -1; margin-bottom: 6px; }

  /* Fixed UI */
  .lang-wrap { right: 14px; bottom: 14px; gap: 8px; }
  .to-top { right: 14px; left: auto; bottom: 64px; height: 46px; width: 46px; padding: 0; justify-content: center; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  .to-top.show { opacity: 1; pointer-events: auto; }
  .to-top-label { display: none; }
  .to-top-arrow { display: inline-flex; }
  .logo-mark { height: 31px; }
  .nav { padding: 16px var(--pad-m); }

  /* Modals — let the overlay scroll and keep the card centered on phones */
  .overlay { align-items: flex-start; padding: 16px; }
  .modal { margin: auto; width: 100%; max-height: none; }
  .modal { border-radius: 8px; }
  .cm-photo { min-height: 240px; }
  .vm-title { font-size: 24px; }
  .vm-metrics { gap: 20px; }
  .choice-row { flex-direction: column; }

  /* Swap desktop images for mobile ones */
  .img-d { display: none; }
  .img-m { display: block; }
}

@media print {
  .reveal { opacity: 1; transform: none; transition: none; }
  .trim-text { animation: none; stroke-dashoffset: 0; fill-opacity: 1; }
  .portrait-photo { animation: none; opacity: .98; transform: translateX(-50%); transition: none; }
}
}
