/* Torrq Studio: site styles. Dark, violet accent, wide display type. */
:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --surface: #101017;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ececf1;
  --muted: #8b8b9a;
  --violet: #8b5cf6;
  --violet-2: #c4b5fd;
  --violet-deep: #5b21b6;
  --grad: linear-gradient(120deg, #6d28d9 0%, #8b5cf6 45%, #c4b5fd 100%);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mark: "Michroma", "Unbounded", sans-serif;
  --acc-rgb: 139, 92, 246;
  --acc2-rgb: 124, 58, 237;
  --acc3-rgb: 196, 181, 253;
  --display-weight: 500;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 4px; border-radius: 6px; }

/* film grain over everything, very light */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mark); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--violet); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -0.035em; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.9vw, 7.1rem); }
h2 { font-size: clamp(2.1rem, 5.6vw, 5.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #c9c9d4; max-width: 46ch; }

/* ---------- logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-word { font-family: var(--mark); font-size: 21px; letter-spacing: 0.06em; color: #fff; position: relative; }
.logo .q { position: relative; display: inline-block; }
.logo .q::after {
  content: ""; position: absolute; right: -0.16em; bottom: -0.06em; width: 0.5em; height: 0.17em;
  background: var(--grad); transform: rotate(38deg); transform-origin: left center; border-radius: 1px;
  box-shadow: 0 0 14px rgba(var(--acc-rgb), 0.7);
}
.logo-sub { font-family: var(--mark); font-size: 7px; letter-spacing: 0.72em; margin-top: 6px; padding-left: 0.72em; color: #d8d8e0; }
.logo.big .logo-word { font-size: clamp(40px, 7vw, 96px); }
.logo.big .logo-sub { font-size: clamp(11px, 1.4vw, 19px); margin-top: 0.7em; }

/* viewfinder brackets (from the logo) */
.brackets { position: relative; padding: 0.9em 1.3em; }
.brackets > i { position: absolute; width: 18%; height: 30%; border-color: rgba(255, 255, 255, 0.85); border-style: solid; border-width: 0; pointer-events: none; }
.brackets > i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 6px; }
.brackets > i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 6px; }
.brackets > i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 6px; }
.brackets > i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 5, 7, 0.62); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-links { display: flex; gap: 34px; font-size: 14px; letter-spacing: 0.02em; }
.nav-links a { position: relative; color: #cfcfd8; transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--violet-2); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  background: #fff; color: #07070a; overflow: hidden; isolation: isolate; cursor: pointer; border: 0;
  transition: color 0.45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: translateY(101%); transition: transform 0.55s var(--ease); border-radius: inherit; }
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid var(--line-2); }
.btn.small { padding: 12px 22px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
canvas.bg-scene { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; visibility: hidden; }
canvas.bg-scene.ready { visibility: visible; }
main, .footer { position: relative; z-index: 1; }
.hero .glow { position: absolute; width: 60vw; height: 60vw; right: -12vw; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--acc2-rgb), 0.22), transparent 62%); filter: blur(20px); z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 90px; }
.hero h1 { max-width: 10.5ch; text-shadow: 0 2px 40px rgba(5,5,7,0.55); }
.hero .lead { max-width: 40ch; }
.hero .lead { margin-top: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 8px 16px 8px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: #d6d6df; background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(var(--acc-rgb), 0); } }
.hero-frame { position: absolute; inset: 92px calc(var(--pad) - 30px) 70px; z-index: 1; pointer-events: none; }
.hero-frame > i { width: 54px; height: 54px; border-color: rgba(255, 255, 255, 0.22); }
.hero-meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; z-index: 2; display: flex; justify-content: space-between; font-family: var(--mark); font-size: 10px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--violet-2), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- page header (inner pages) ---------- */
.page-head { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 80px; }
.page-head h1 { font-size: clamp(2.6rem, 7.4vw, 7.4rem); max-width: 13ch; }
.page-head .lead { margin-top: 28px; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: rgba(11, 11, 16, 0.82); backdrop-filter: blur(6px); }
.marquee-track { display: flex; width: max-content; }
.marquee-track span { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 3.4rem); font-weight: 400; letter-spacing: -0.02em; padding: 0 0.6em; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.6em; }
.marquee-track span::after { content: ""; width: 0.38em; height: 0.38em; background: var(--grad); transform: rotate(45deg); border-radius: 2px; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45); }
html:not(.anim) .marquee-track { animation: marq 40s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(90px, 13vw, 190px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(50px, 7vw, 100px); }
.section-head p { color: var(--muted); max-width: 44ch; justify-self: end; }

/* manifesto */
.manifesto p.big { font-family: var(--display); font-size: clamp(1.7rem, 3.9vw, 3.6rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 400; max-width: 22ch; }
.manifesto .fade-word { color: rgba(236, 236, 241, 0.16); transition: color 0.2s; }
.manifesto .fade-word.on { color: var(--text); }

/* services list */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: 90px 1.1fr 1fr 40px; gap: 30px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--acc2-rgb), 0.18), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc .num { font-family: var(--mark); font-size: 12px; color: var(--violet-2); letter-spacing: 0.2em; }
.svc h3 { font-size: clamp(1.8rem, 4.4vw, 4rem); font-weight: 400; letter-spacing: -0.04em; transition: transform 0.7s var(--ease); }
.svc:hover h3 { transform: translateX(14px); }
.svc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: #cfcfd8; }
.svc .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.4s, transform 0.6s var(--ease); }
.svc:hover .go { background: #fff; color: #000; transform: rotate(-45deg); }

/* work: horizontal scroller on desktop */
.work-scroll { overflow: hidden; }
@media (min-width: 861px) { .work-scroll { height: 100svh; display: flex; align-items: center; } }
.work-track { display: flex; gap: 28px; padding: 0 var(--pad); width: max-content; }
.work-track .card { width: clamp(320px, 38vw, 560px); flex: none; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { position: relative; display: block; border-radius: var(--radius); }
.card .art {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform 0.6s var(--ease), border-color 0.4s;
}
.card:hover .art { border-color: rgba(var(--acc3-rgb), 0.45); }
.card .art .glyph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 300; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.92); font-size: clamp(2rem, 4.2vw, 3.8rem); text-align: center; line-height: 1; transform: translateZ(40px); }
.card .art .glyph small { display: block; font-family: var(--mark); font-size: 10px; letter-spacing: 0.45em; margin-top: 16px; color: rgba(255, 255, 255, 0.7); }
.card .art .tagc { position: absolute; top: 16px; left: 16px; font-family: var(--mark); font-size: 9px; letter-spacing: 0.3em; padding: 7px 11px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.card .meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; }
.card .meta h3 { font-size: 1.35rem; }
.card .meta p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.card .meta .cats { font-size: 12px; color: var(--violet-2); letter-spacing: 0.08em; text-align: right; white-space: nowrap; }
.art-1 { background: radial-gradient(120% 90% at 30% 20%, #3b2a12 0%, transparent 55%), radial-gradient(90% 80% at 80% 90%, #4c1d95 0%, transparent 60%), #0b0a0e; }
.art-2 { background: conic-gradient(from 210deg at 60% 55%, #0b0b10, #7c3aed, #f43f5e, #0b0b10 70%), #0b0b10; }
.art-3 { background: repeating-linear-gradient(115deg, #0c0c0f 0 22px, #121218 22px 23px), radial-gradient(70% 60% at 50% 50%, rgba(255, 255, 255, 0.08), transparent); }
.art-4 { background: radial-gradient(80% 70% at 75% 30%, #b45309 0%, transparent 55%), radial-gradient(90% 90% at 20% 90%, #3f1d73 0%, transparent 60%), #0b0a0b; }
.art-5 { background: radial-gradient(60% 60% at 50% 45%, #f5d0fe 0%, #a855f7 22%, #1e1033 58%, #07070a 80%); }
.art-6 { background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 45%, #0b0b10 100%), #0b0b10; }
.art-6::after { content: ""; position: absolute; inset: 22% 18%; border: 1px solid rgba(var(--acc3-rgb), 0.5); transform: perspective(500px) rotateX(58deg); box-shadow: 0 0 40px rgba(var(--acc-rgb), 0.35) inset; }
.art-3::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; left: 27%; top: 14%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); }
.concept-note { margin-top: 30px; font-size: 13px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters button { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 20px; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.filters button[aria-pressed="true"], .filters button:hover { background: #fff; color: #000; border-color: #fff; }
.card.is-hidden { display: none; }

/* process */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 110px); }
.process-sticky { position: sticky; top: 130px; align-self: start; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps .bar { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.step { padding: 0 0 80px 46px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -5px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--violet-2); }
.step .n { font-family: var(--mark); font-size: 11px; letter-spacing: 0.3em; color: var(--violet-2); }
.step h3 { margin: 14px 0 12px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.step p { color: var(--muted); max-width: 46ch; }

/* engagement / pricing */
.engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; padding: 38px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(closest-side, rgba(var(--acc-rgb), 0.22), transparent); opacity: 0; transition: opacity 0.6s; }
.tile:hover::after { opacity: 1; }
.tile .k { font-family: var(--mark); font-size: 10px; letter-spacing: 0.32em; color: var(--violet-2); }
.tile h3 { margin: 18px 0 14px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile.feature { border-color: rgba(var(--acc3-rgb), 0.4); background: linear-gradient(180deg, rgba(var(--acc-rgb), 0.12), transparent 70%); }

/* big CTA */
.cta { text-align: center; padding: clamp(110px, 16vw, 230px) 0; overflow: hidden; }
.cta h2 { font-size: clamp(2.6rem, 8.4vw, 8.8rem); max-width: 12ch; margin: 0 auto; }
.cta .brackets { display: inline-block; }
.cta .btn { margin-top: 54px; }
.cta .halo { position: absolute; left: 50%; top: 50%; width: 70vw; height: 70vw; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(var(--acc2-rgb), 0.2), transparent 60%); z-index: -1; pointer-events: none; }

/* about values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 100px); }
form.contact { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 19px; padding: 12px 0; border-radius: 0; transition: border-color 0.3s;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: all 0.3s; }
.chips input:checked + span { background: #fff; color: #000; border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.6em; font-size: 15px; }
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 28px; align-self: start; position: sticky; top: 120px; }
.aside-card .k { font-family: var(--mark); font-size: 10px; letter-spacing: 0.32em; color: var(--muted); margin-bottom: 8px; }
.aside-card a.mail { font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.45rem); letter-spacing: -0.02em; }

/* legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 54px 0 16px; letter-spacing: -0.02em; line-height: 1.2; }
.legal p, .legal li { color: #c3c3cd; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 90px 0 40px; background: var(--bg-2); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.footer h4 { font-family: var(--mark); font-size: 10px; letter-spacing: 0.32em; color: var(--muted); font-weight: 400; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: #cfcfd8; transition: color 0.3s; }
.footer ul a:hover { color: #fff; }
.footer .mail { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; display: inline-block; margin-top: 22px; }
.footer .mail:hover { color: var(--violet-2); }
.footer-giant { font-family: var(--mark); font-size: clamp(64px, 17vw, 270px); letter-spacing: 0.02em; line-height: 0.8; text-align: center; margin: 90px 0 30px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 26px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 100; border-radius: 50%; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.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.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.4s, border-color 0.4s; }
.cursor-ring span { font-family: var(--mark); font-size: 9px; letter-spacing: 0.2em; color: #000; opacity: 0; transition: opacity 0.3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: var(--violet-2); background: rgba(var(--acc-rgb), 0.12); }
.cursor-ring.label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; border-color: #fff; }
.cursor-ring.label span { opacity: 1; }

/* ---------- loader + page wipe ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: none; place-items: center; }
.anim .loader { display: grid; }
.seen .loader { display: none !important; }
.loader .brackets { padding: 1.1em 1.6em; }
.loader .count { position: absolute; right: var(--pad); bottom: 30px; font-family: var(--mark); font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.loader .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.wipe { position: fixed; inset: 0; z-index: 150; background: var(--bg-2); pointer-events: none; transform: translateY(100%); display: grid; place-items: center; }
.wipe::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); }
.nav-in .wipe { transform: translateY(0); }

/* ---------- motion states (only when JS + GSAP run) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(46px); }
.anim [data-split] { visibility: hidden; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-split] .wi { display: inline-block; will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .svc { grid-template-columns: 60px 1fr 40px; }
  .svc ul { grid-column: 2 / 3; }
  .engage, .values { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: inline-block; }
  .nav.open { background: var(--bg); }
  .nav.open .nav-links { display: flex; position: fixed; inset: 78px 0 0 0; flex-direction: column; justify-content: center; align-items: center; gap: 26px; background: var(--bg); font-family: var(--display); font-size: 2rem; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .process { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .contact-grid, .row2, .work-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .work-track { flex-direction: column; width: auto; padding: 0; }
  .work-track .card { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-frame { display: none; }
  .hero-meta > span:first-child { display: none; }
  .hero-meta { justify-content: flex-end; }
  .svc { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .svc ul { grid-column: auto; }
  .svc .go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  body::after { animation: none; }
}

/* ---------- emblem logos (themes 2-4) ---------- */
.logo.has-emblem { flex-direction: row; gap: 10px; align-items: center; }
.logo-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo.has-emblem .logo-sub { padding-left: 0; }
.logo-emblem { width: 38px; height: auto; flex: none; }
.logo.big.has-emblem { gap: clamp(14px, 2vw, 28px); }
.logo.big .logo-emblem { width: clamp(64px, 9vw, 140px); }

/* drift / unveil motions animate inside the word, so the word mask must not clip the blur */
.w-open .w { overflow: visible; }

/* premium: chapter rail */
.chapter-rail{position:fixed;right:clamp(14px,2vw,28px);top:50%;transform:translate(12px,-50%);z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:14px;padding-right:16px;opacity:0;pointer-events:none;transition:opacity .6s,transform .6s cubic-bezier(.16,1,.3,1)}
.chapter-rail.show{opacity:1;transform:translate(0,-50%);pointer-events:auto}
.chapter-rail .cr-track{position:absolute;right:0;top:4px;bottom:4px;width:1px;background:rgba(255,255,255,.12)}
.chapter-rail .cr-fill{position:absolute;inset:0;background:var(--grad);transform-origin:top;transform:scaleY(0)}
.chapter-rail a{display:flex;flex-direction:row-reverse;align-items:baseline;gap:10px;color:rgba(255,255,255,.32);text-decoration:none;font-size:11px;letter-spacing:.14em;text-transform:uppercase;transition:color .4s}
.chapter-rail a b{font-weight:500;font-variant-numeric:tabular-nums}
.chapter-rail a span{max-width:0;overflow:hidden;white-space:nowrap;opacity:0;transition:max-width .6s cubic-bezier(.16,1,.3,1),opacity .4s}
.chapter-rail a.past{color:rgba(255,255,255,.55)}
.chapter-rail a.on{color:var(--violet-2)}
.chapter-rail a.on span,.chapter-rail:hover a span{max-width:120px;opacity:1}
@media (max-width:900px){.chapter-rail{display:none}}

/* premium: the work deck */
@media (min-width: 861px) {
  .work-scroll.stack { position: relative; display: block; }
  .work-scroll.stack .work-track { position: relative; width: 100%; height: 100%; padding: 0; display: block; }
  .work-scroll.stack .card { position: absolute; left: 58%; top: 52%; width: min(860px, 56vw); will-change: transform; }
  .work-scroll.stack .card .art { aspect-ratio: auto; height: min(58vh, 540px); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
  .work-scroll.stack .card .meta { padding: 0 4px; }
  .stack-hud { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: 20vw; display: flex; flex-direction: column; gap: 14px; z-index: 30; pointer-events: none; }
  .stack-hud .sh-k { font-family: var(--mark); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--violet-2); }
  .stack-hud .sh-n { display: flex; align-items: baseline; gap: 10px; overflow: hidden; }
  .stack-hud .sh-n b { display: inline-block; font-family: var(--display); font-weight: var(--display-weight, 300); font-size: clamp(4rem, 9vw, 8.5rem); line-height: 0.9; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stack-hud .sh-n i { font-style: normal; color: var(--muted); font-size: 14px; letter-spacing: 0.1em; }
  .stack-hud .sh-name { display: block; font-size: 18px; min-height: 1.4em; }
  .stack-hud .sh-bar { display: block; width: 100%; height: 1px; background: rgba(255, 255, 255, 0.12); margin-top: 10px; }
  .stack-hud .sh-bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
}

/* concept samples inside the work cards */
.card .art.has-mk { container-type: inline-size; }
.card .art.has-mk::after { display: none; }
.card .art .shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(0, 0, 0, 0.62)); z-index: 0; }
.card .art .tagc { z-index: 3; }
.mk { position: absolute; z-index: 1; transition: transform 0.9s var(--ease); }
.card:hover .mk { transform: translateY(-2.5%) scale(1.015); }
.mk p { height: 0.8cqw; width: 82%; background: rgba(255, 255, 255, 0.18); border-radius: 1cqw; margin: 0 0 1.1cqw; }
.mk p.s { width: 56%; }
.mk-web { inset: 15% 8% 0 8%; border-radius: 1.6cqw 1.6cqw 0 0; background: #0c0c0f; border: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 0; box-shadow: 0 3cqw 9cqw rgba(0, 0, 0, 0.7); overflow: hidden; }
.mk-bar { height: 5cqw; display: flex; align-items: center; gap: 0.9cqw; padding: 0 2cqw; background: rgba(255, 255, 255, 0.035); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mk-bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mk-bar span { margin: 0 auto; font-size: 1.45cqw; color: rgba(255, 255, 255, 0.5); padding: 0.45cqw 3.4cqw; border-radius: 9cqw; background: rgba(255, 255, 255, 0.06); letter-spacing: 0.04em; }
.mk-nav { display: flex; align-items: center; gap: 2cqw; padding: 2.6cqw 4cqw 0; font-size: 1.7cqw; }
.mk-nav b { letter-spacing: 0.32em; color: var(--c1); margin-right: auto; font-weight: 600; }
.mk-nav span { width: 5cqw; height: 0.55cqw; background: rgba(255, 255, 255, 0.25); border-radius: 1cqw; }
.mk-nav em, .mk-copy em { font-style: normal; padding: 0.7cqw 1.9cqw; border-radius: 9cqw; background: var(--c1); color: #0a0a0a; font-size: 1.35cqw; font-weight: 600; white-space: nowrap; }
.mk-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqw; padding: 4cqw 4cqw 0; align-items: center; }
.mk-copy h4 { font-family: var(--display); font-size: 5.6cqw; line-height: 0.98; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 2.2cqw; color: #fff; text-transform: none; font-style: normal; }
.mk-copy em { display: inline-block; margin-top: 1.4cqw; }
.mk-orb { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0, var(--c1) 18%, var(--c2) 62%, #050403 100%); box-shadow: 0 0 9cqw color-mix(in srgb, var(--c1) 45%, transparent); }
.mk-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw; }
.mk-shop i { aspect-ratio: 1; border-radius: 1.4cqw; background: radial-gradient(circle at 50% 60%, var(--t) 0, color-mix(in srgb, var(--t) 40%, #000) 45%, #111 75%); border: 1px solid rgba(255, 255, 255, 0.08); position: relative; }
.mk-shop i b { position: absolute; left: 12%; right: 30%; bottom: 10%; height: 0.7cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.4); }
.mk-tower { aspect-ratio: 1; position: relative; perspective: 40cqw; }
.mk-tower i { position: absolute; left: 30%; width: 40%; top: 4%; bottom: 14%; transform: rotateY(-28deg) rotateX(6deg); border: 1px solid color-mix(in srgb, var(--c1) 80%, transparent);
  background: repeating-linear-gradient(0deg, transparent 0 7%, color-mix(in srgb, var(--c1) 35%, transparent) 7% 7.6%), repeating-linear-gradient(90deg, transparent 0 18%, color-mix(in srgb, var(--c1) 35%, transparent) 18% 19%), linear-gradient(180deg, rgba(165, 180, 252, 0.18), rgba(30, 27, 75, 0.2));
  box-shadow: 0 0 6cqw color-mix(in srgb, var(--c1) 35%, transparent); }
.mk-tower b { position: absolute; left: 5%; right: 5%; bottom: 6%; height: 12%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c1) 50%, transparent); }
.mk-phone { position: absolute; top: 9%; left: 50%; width: 29cqw; aspect-ratio: 9 / 18.5; transform: translateX(-50%); border-radius: 4.4cqw; border: 0.7cqw solid #18181c; overflow: hidden; background: #0b0b0e; box-shadow: 0 4cqw 10cqw rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mk-reel { inset: 0; }
.mk-reel .mk-phone:not(.back) { left: 58%; background: linear-gradient(160deg, #7c3aed 0%, #f43f5e 55%, #120a16 100%); }
.mk-phone.back { left: 35%; transform: translateX(-50%) rotate(-9deg) scale(0.88); opacity: 0.55; }
.mk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6cqw; padding: 3cqw 1.2cqw; }
.mk-grid i { aspect-ratio: 9 / 13; border-radius: 1cqw; background: linear-gradient(160deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) + 40) 70% 20%)); }
.mk-prog { display: flex; gap: 0.6cqw; padding: 2.2cqw 1.8cqw 0; }
.mk-prog i { flex: 1; height: 0.45cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.35); }
.mk-prog i:first-child { background: #fff; }
.mk-reeltext { position: absolute; left: 2.4cqw; top: 34%; font-family: var(--display); font-weight: 800; font-size: 5.4cqw; line-height: 0.9; color: #fff; letter-spacing: -0.02em; text-shadow: 0 0.5cqw 2cqw rgba(0, 0, 0, 0.4); }
.mk-side { position: absolute; right: 1.6cqw; bottom: 22%; display: flex; flex-direction: column; gap: 1.6cqw; }
.mk-side i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.mk-cap { position: absolute; left: 2.2cqw; right: 6cqw; bottom: 4cqw; font-size: 1.45cqw; color: #fff; }
.mk-cap b { display: block; margin-bottom: 1cqw; }
.mk-sheet { inset: 16% 9% 9%; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.6cqw; }
.mk-sheet .t { border-radius: 1.6cqw; background: #0f0f12; border: 1px solid rgba(255, 255, 255, 0.08); display: grid; place-items: center; position: relative; overflow: hidden; }
.mk-sheet .wm { font-family: "Didot", "Bodoni 72", "Playfair Display", Georgia, serif; font-size: 8cqw; letter-spacing: 0.12em; color: #ede6da; background: #0b0b0d; line-height: 1; text-align: center; }
.mk-sheet .wm small { display: block; font-family: var(--mark); font-size: 1.3cqw; letter-spacing: 0.6em; color: #8f8a84; margin-top: 1.4cqw; }
.mk-sheet .mono { background: #ede6da; }
.mk-sheet .mono span { width: 13cqw; height: 13cqw; border-radius: 50%; border: 0.35cqw solid #0b0b0d; display: grid; place-items: center; font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: 7cqw; color: #0b0b0d; }
.mk-sheet .sw { grid-auto-flow: column; gap: 1.6cqw; }
.mk-sheet .sw i { width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--c); border: 1px solid rgba(255, 255, 255, 0.18); }
.mk-sheet .ty { place-items: start; align-content: center; padding: 0 3cqw; }
.mk-sheet .ty b { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 9cqw; color: #ede6da; line-height: 1; margin-bottom: 1.4cqw; }
.mk-ad { inset: 0; }
.mk-ad .mk-phone { background: #0d0d10; }
.mk-post { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.2cqw; align-items: center; padding: 3cqw 2cqw 1.6cqw; font-size: 1.5cqw; color: #fff; }
.mk-post .av { grid-row: span 2; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: radial-gradient(circle, #f5d0fe, #a855f7); }
.mk-post small { color: rgba(255, 255, 255, 0.5); font-size: 1.2cqw; }
.mk-shot { aspect-ratio: 1; background: radial-gradient(60% 60% at 50% 45%, #f5d0fe 0%, #a855f7 30%, #1e1033 70%); position: relative; }
.mk-shot .bottle { position: absolute; left: 40%; width: 20%; top: 22%; bottom: 18%; border-radius: 2cqw 2cqw 1.6cqw 1.6cqw; background: linear-gradient(90deg, #f8f1ff, #e9d5ff 45%, #c4a3f5); box-shadow: 0 0 6cqw rgba(245, 208, 254, 0.8); }
.mk-shot .bottle::before { content: ""; position: absolute; left: 22%; right: 22%; top: -16%; height: 16%; border-radius: 0.8cqw 0.8cqw 0 0; background: #2a1840; }
.mk-headline { padding: 1.8cqw 2cqw 0.6cqw; font-size: 1.9cqw; color: #fff; font-weight: 600; }
.mk-ctab { margin: 0.8cqw 2cqw; padding: 1cqw 1.6cqw; border-radius: 1cqw; background: #a855f7; color: #fff; font-size: 1.45cqw; font-weight: 600; display: flex; justify-content: space-between; }

@media (min-width: 861px) {
  .work-scroll.wheel .card { top: 50%; width: min(760px, 50vw); }
  .wheel-ring { position: absolute; left: 58%; top: calc(50% + min(760px, 50vw) * 0.75 * 0.75 * 1.85); width: 230vh; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; opacity: 0.55; }
  .wheel-ring svg { width: 100%; height: 100%; overflow: visible; }
  .wheel-ring circle { fill: none; stroke: rgba(var(--acc-rgb), 0.35); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .wheel-ring circle.in { stroke: rgba(255, 255, 255, 0.08); }
  .wheel-ring line { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .wheel-ring line.maj { stroke: rgba(var(--acc-rgb), 0.8); stroke-width: 2; }
  .work-scroll.tunnel .card { top: 50%; }
  .tunnel-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(var(--acc-rgb), 0.12) calc(25% - 1px) 25%),
      repeating-linear-gradient(180deg, transparent 0 58px, rgba(var(--acc-rgb), 0.08) 58px 60px);
    -webkit-mask: radial-gradient(60% 60% at 58% 50%, transparent 20%, #000 90%); mask: radial-gradient(60% 60% at 58% 50%, transparent 20%, #000 90%); }
}
