/* =============================================================
   OKTOPUS DESIGNS · v2  — "Night Studio"
   Tinta casi negra + azul eléctrico + naranja del logo.
   ============================================================= */

/* 1. Tokens ------------------------------------------------- */
:root {
  --ink: #04060e;
  --ink-2: #080c18;
  --ink-3: #0d1424;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --blue: #00a3ff;
  --blue-2: #0066ff;
  --orange: #ff6b00;
  --orange-2: #ff9a3c;
  --paper: #f2efe8;
  --paper-ink: #0b0f1a;
  --text: #eef2f8;
  --muted: #8d99ae;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
  --gutter: clamp(20px, 4.5vw, 72px);
  --radius: 22px;
}

/* 2. Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1; letter-spacing: -.03em; text-wrap: balance; font-weight: 800; }
::selection { background: var(--orange); color: #000; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--orange)); border-radius: 3px; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* film grain overlay — subtle texture over everything */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></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); }
}

/* custom cursor (only fine pointers) */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange); mix-blend-mode: difference; opacity: 0; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* 3. Shared bits ------------------------------------------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(2.6rem, 7.4vw, 7.2rem); }
.h-lg { font-size: clamp(2.1rem, 5vw, 4.6rem); }
.grad { background: linear-gradient(100deg, var(--blue) 10%, #7b8cff 45%, var(--orange) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px) rotate(-8deg); }
.btn-primary { background: linear-gradient(110deg, var(--orange), var(--orange-2)); color: #140800; box-shadow: 0 10px 40px -10px rgba(255, 107, 0, .6); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--blue), var(--blue-2)); transform: translateY(101%); transition: transform .6s var(--ease-out); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 50px -10px rgba(0, 163, 255, .7); }
.btn-primary:hover::after { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(8px); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(0, 163, 255, .08); transform: translateY(-3px); }

/* scroll reveal — hidden state only when JS is running */
.js .rv { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv-clip.in { clip-path: inset(0 0 0 0); }

/* split headline words */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s)); }
.js .split.in .w > span { transform: none; }

/* 4. Navigation -------------------------------------------- */
.nav { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 80; width: min(1180px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(6, 10, 20, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .4s, border-color .4s, top .5s var(--ease-out); }
.nav.scrolled { background: rgba(4, 6, 14, .82); border-color: var(--line-2); top: 12px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { position: relative; padding: 9px 16px; font-size: 14px; font-weight: 600; color: #b9c3d3; border-radius: 999px; transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a.act { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-ai { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 13px; font-weight: 700; border-radius: 999px; border: 1px solid rgba(255, 107, 0, .45); color: var(--orange-2); transition: background .3s, color .3s; }
.nav-ai:hover { background: var(--orange); color: #140800; }
.nav-ai svg { width: 15px; height: 15px; }
.nav .btn { padding: 11px 22px; font-size: 14px; }
.ham { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.ham span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s; }
.ham span:nth-child(1) { top: 16px; } .ham span:nth-child(2) { top: 21px; } .ham span:nth-child(3) { top: 26px; }
.ham.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 70; background: rgba(4, 6, 14, .97); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--gutter) 40px; clip-path: circle(0 at calc(100% - 50px) 44px); transition: clip-path .8s var(--ease-out); pointer-events: none; }
.mnav.open { clip-path: circle(150% at calc(100% - 50px) 44px); pointer-events: auto; }
.mnav a { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -.03em; padding: 6px 0; }
.mnav a:hover { color: var(--orange); }
.mnav .btn { margin-top: 24px; font-family: var(--sans); font-size: 16px; align-self: flex-start; }

/* 5. Hero --------------------------------------------------- */
.hero { position: relative; min-height: 100svh; padding: 150px 0 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.blob.b1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(0, 120, 255, .85), transparent 65%); animation: float1 18s ease-in-out infinite; }
.blob.b2 { width: 46vw; height: 46vw; right: -12vw; top: 12vh; background: radial-gradient(circle, rgba(255, 107, 0, .7), transparent 65%); animation: float2 22s ease-in-out infinite; }
.blob.b3 { width: 30vw; height: 30vw; left: 38%; bottom: -14vw; background: radial-gradient(circle, rgba(123, 80, 255, .55), transparent 65%); animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 5vh) scale(1.15); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-7vw, 6vh) scale(.9); } }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%); opacity: .5; }
.hero-spot { position: absolute; width: 520px; height: 520px; margin: -260px 0 0 -260px; left: var(--mx, 50%); top: var(--my, 40%); background: radial-gradient(circle, rgba(0, 163, 255, .22), transparent 62%); pointer-events: none; transition: left .25s ease-out, top .25s ease-out; }

.hero-main { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #c8d2e2; margin-bottom: 30px; }
.hero-tag i { width: 9px; height: 9px; border-radius: 50%; background: #2dff9a; box-shadow: 0 0 0 0 rgba(45, 255, 154, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(45, 255, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 255, 154, 0); } }
.hero h1 { font-size: clamp(3rem, 8.6vw, 8.6rem); line-height: .92; letter-spacing: -.045em; }
.hero h1 .row { display: block; }
.hero-sub { max-width: 560px; margin: 34px 0 40px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #aab5c8; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero collage */
.collage { position: relative; height: clamp(420px, 52vw, 640px); }
.card { position: absolute; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03); transition: transform .9s var(--ease-out); will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card.c1 { width: 56%; aspect-ratio: 4/5; left: 4%; top: 2%; transform: translate(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px)) rotate(-6deg); }
.card.c2 { width: 52%; aspect-ratio: 1/1; right: 0; top: 18%; transform: translate(calc(var(--px, 0) * 26px), calc(var(--py, 0) * 20px)) rotate(5deg); z-index: 2; }
.card.c3 { width: 60%; aspect-ratio: 3/2; left: 14%; bottom: 0; transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * 28px)) rotate(-2deg); z-index: 3; }
.card .chip { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(4, 6, 14, .78); backdrop-filter: blur(8px); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.badge-spin { position: absolute; right: -10px; bottom: 12%; width: 128px; height: 128px; z-index: 4; display: grid; place-items: center; }
.badge-spin svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin img { width: 44px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero bottom: stats + marquee */
.hero-foot { margin-top: 60px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 26px 0 28px; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat b em { font-style: normal; color: var(--orange); }
.stat span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: rgba(255, 255, 255, .015); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.02em; white-space: nowrap; }
.marquee-track span i { font-style: normal; color: var(--orange); font-size: .7em; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px #6f7d95; }
@keyframes slide { to { transform: translateX(-50%); } }

/* 6. Manifesto / About ------------------------------------- */
.manifesto { padding: clamp(100px, 14vw, 200px) 0 clamp(70px, 9vw, 130px); position: relative; }
.mani-text { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 4rem); line-height: 1.12; letter-spacing: -.035em; max-width: 1200px; }
.mani-text .mw { color: rgba(255, 255, 255, .16); transition: color .5s var(--ease-soft); }
.mani-text .mw.lit { color: #fff; }
.mani-text .mw.hl.lit { color: var(--orange-2); }
.no-js .mani-text .mw { color: #fff; }

.about { padding: 0 0 clamp(80px, 11vw, 160px); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.about-photo { position: relative; }
.about-frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line-2); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.about-photo:hover .about-frame img { transform: scale(1); }
.about-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 14, .7)); }
.about-photo .sticker { position: absolute; z-index: 2; right: -22px; bottom: 34px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: linear-gradient(140deg, var(--orange), var(--orange-2)); color: #140800; box-shadow: 0 24px 50px -16px rgba(255, 107, 0, .7); transform: rotate(-10deg); }
.sticker b { display: block; font-family: var(--display); font-size: 3rem; line-height: .9; font-weight: 800; letter-spacing: -.05em; }
.sticker span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.about-copy p { color: #aab5c8; font-size: 1.1rem; margin-top: 22px; max-width: 560px; }
.about-copy p strong { color: #fff; }
.about-copy h2 { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 38px; }
.chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: #cfd8e6; transition: .3s; }
.chips span:hover { border-color: var(--orange); color: var(--orange-2); transform: translateY(-2px); }

/* 7. Services (editorial list with hover preview) ----------- */
.services { padding: clamp(80px, 10vw, 150px) 0; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head p { max-width: 400px; color: var(--muted); }
.svc-list { border-top: 1px solid var(--line-2); }
.svc { position: relative; display: grid; grid-template-columns: 70px 1.2fr 1.4fr 60px; gap: 24px; align-items: center; padding: clamp(26px, 3.4vw, 46px) 8px; border-bottom: 1px solid var(--line-2); overflow: hidden; isolation: isolate; transition: padding .6s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 163, 255, .14), rgba(255, 107, 0, .12)); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.svc:hover::before { transform: scaleY(1); }
.svc:hover { padding-left: 24px; padding-right: 24px; }
.svc .num { font-family: var(--mono); font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.svc h3 { font-size: clamp(1.7rem, 3.6vw, 3.4rem); letter-spacing: -.04em; }
.svc p { color: #98a4b8; max-width: 520px; font-size: 1rem; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.svc .tags i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: #c7d1e0; }
.svc .arr { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .5s var(--ease-out); }
.svc .arr svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.svc:hover .arr { background: var(--orange); border-color: var(--orange); color: #140800; transform: rotate(-45deg); }
.svc-peek { position: fixed; z-index: 60; top: 0; left: 0; width: 280px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; pointer-events: none; border: 1px solid var(--line-2); opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .35s, transform .5s var(--ease-out); box-shadow: 0 30px 70px -20px #000; }
.svc-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.svc-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .svc-peek { display: none; } }

/* 8. Why Oktopus (light bento) ------------------------------ */
.why { padding: clamp(80px, 10vw, 150px) 0; background: var(--paper); color: var(--paper-ink); position: relative; overflow: hidden; }
.why .eyebrow { color: #0066ff; }
.why .sec-head p { color: #4b5568; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bx { position: relative; border-radius: 26px; padding: clamp(24px, 2.6vw, 38px); overflow: hidden; border: 1px solid rgba(11, 15, 26, .1); background: #fff; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.bx:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -35px rgba(11, 15, 26, .45); }
.bx h3 { font-size: clamp(1.4rem, 2.3vw, 2.1rem); margin-bottom: 12px; letter-spacing: -.035em; }
.bx p { color: #4b5568; font-size: .98rem; }
.bx .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: #0b0f1a; color: #fff; }
.bx .ic svg { width: 24px; height: 24px; }
.bx.a { grid-column: span 7; background: var(--ink); color: #fff; border-color: transparent; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.bx.a p { color: #aab5c8; max-width: 440px; }
.bx.a > h3, .bx.a > p { position: relative; z-index: 1; }
.bx.a .big { position: absolute; right: 4%; top: 6%; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 13vw, 12rem); letter-spacing: -.07em; line-height: .85; background: linear-gradient(160deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.bx.b { grid-column: span 5; background: linear-gradient(150deg, var(--blue), var(--blue-2)); color: #fff; border-color: transparent; }
.bx.b p { color: rgba(255, 255, 255, .85); }
.bx.b .ic { background: rgba(255, 255, 255, .18); }
.bx.c { grid-column: span 4; }
.bx.d { grid-column: span 4; background: linear-gradient(150deg, var(--orange), var(--orange-2)); color: #140800; border-color: transparent; }
.bx.d p { color: rgba(20, 8, 0, .8); }
.bx.d .ic { background: rgba(20, 8, 0, .85); }
.bx.e { grid-column: span 4; }

/* 9. Portfolio ---------------------------------------------- */
.portfolio { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pf { padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: #b8c3d4; transition: .4s var(--ease-out); }
.pf:hover { border-color: var(--blue); color: #fff; }
.pf.on { background: #fff; color: #05070f; border-color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pi { position: relative; display: block; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0f1730; cursor: zoom-in; transform-style: preserve-3d; transition: transform .6s var(--ease-out), opacity .6s, border-color .4s, box-shadow .6s; }
.pi > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.pi:hover { border-color: rgba(0, 163, 255, .6); box-shadow: 0 40px 80px -30px rgba(0, 163, 255, .35); }
.pi:hover > img { transform: scale(1.07); }
.pi.hidden { display: none; }
.pi .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(180deg, transparent 45%, rgba(4, 6, 14, .92)); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.pi:hover .ov, .pi:focus-visible .ov { opacity: 1; transform: none; }
.ov b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; font-weight: 800; }
.ov small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-top: 4px; }
.ov .go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transform: scale(.6) rotate(-45deg); transition: .5s var(--ease-out); }
.pi:hover .ov .go { transform: none; }
.ov .go svg { width: 18px; height: 18px; }
@media (hover: none) { .pi .ov { opacity: 1; transform: none; } }
/* web design uniform mock (4:3, never wide) */
.pi.web { background: radial-gradient(120% 90% at 20% 0%, #14305f 0%, #0a1330 55%, #070b1c 100%); }
.web-mock { position: absolute; inset: 0; }
.wb { position: absolute; top: 11%; left: 5%; width: 76%; border-radius: 8px; overflow: hidden; background: #0b1020; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8); transition: transform 1s var(--ease-out); }
.wb-bar { height: 16px; display: flex; align-items: center; gap: 4px; padding: 0 7px; background: #1a2036; }
.wb-bar i { width: 5px; height: 5px; border-radius: 50%; background: #ff5f57; } .wb-bar i:nth-child(2) { background: #febc2e; } .wb-bar i:nth-child(3) { background: #28c840; }
.wb-bar em { font-style: normal; margin-left: 8px; font-family: var(--mono); font-size: 7.5px; color: #8d99ae; }
.wb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.wp { position: absolute; right: 5%; bottom: -6%; width: 26%; border-radius: 12px; overflow: hidden; border: 2px solid #1f2742; background: #000; box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .9); transition: transform 1s var(--ease-out); }
.wp img { width: 100%; aspect-ratio: 390/844; object-fit: cover; object-position: top; }
.pi.web:hover .wb { transform: translate(-2%, -3%) scale(1.03); }
.pi.web:hover .wp { transform: translate(-4%, -6%) scale(1.05); }
.pi.web > .ov { background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 14, .9)); }
.pnote { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 20px; border: 1px dashed var(--line-2); color: #aab5c8; }

/* 10. Process ----------------------------------------------- */
.process { padding: clamp(80px, 10vw, 150px) 0; background: var(--ink-2); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .5; }
.step { position: relative; padding: 0 28px 0 0; }
.step .dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; color: #fff; position: relative; z-index: 1; transition: .5s var(--ease-out); }
.step:hover .dot { background: var(--orange); color: #140800; border-color: var(--orange); transform: scale(1.12); }
.step h3 { font-size: 1.7rem; margin: 28px 0 12px; letter-spacing: -.035em; }
.step p { color: var(--muted); font-size: .98rem; }

/* 11. Testimonials ------------------------------------------ */
.testis { padding: clamp(80px, 10vw, 150px) 0; position: relative; overflow: hidden; }
.testis .quote-mark { position: absolute; top: 40px; right: 4%; font-family: var(--display); font-size: clamp(14rem, 30vw, 30rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); pointer-events: none; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.tc { padding: clamp(26px, 2.8vw, 40px); border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); backdrop-filter: blur(6px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: transform .7s var(--ease-out), border-color .4s; }
.tc:nth-child(2) { transform: translateY(34px); }
.js .tc.rv.in:nth-child(2) { transform: translateY(34px); }
.tc:hover { border-color: rgba(255, 107, 0, .5); }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 15px; }
.tc blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.38; letter-spacing: -.02em; margin-top: 18px; color: #f2f5fa; }
.tc .who { display: flex; align-items: center; gap: 14px; }
.tc .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); }
.tc .who b { display: block; font-size: 15px; }
.tc .who span { font-size: 12.5px; color: var(--muted); }

/* 12. Contact ------------------------------------------------ */
.contact { padding: clamp(90px, 11vw, 170px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.contact::before { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -25vw; top: -20vw; background: radial-gradient(circle, rgba(0, 120, 255, .35), transparent 62%); filter: blur(40px); }
.contact::after { content: ""; position: absolute; z-index: -1; width: 50vw; height: 50vw; left: -18vw; bottom: -22vw; background: radial-gradient(circle, rgba(255, 107, 0, .3), transparent 62%); filter: blur(40px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); margin-top: 60px; align-items: start; }
.contact-lines { display: grid; gap: 4px; }
.cl { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cl .ci { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--blue); flex: none; }
.cl .ci svg { width: 21px; height: 21px; }
.cl small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cl span { font-size: 1.1rem; font-weight: 600; }
.socs { display: flex; gap: 10px; margin: 28px 0; }
.socs a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .4s var(--ease-out); }
.socs a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }
.socs svg { width: 19px; height: 19px; }
.btn-wa { background: #25d366; color: #04210f; box-shadow: 0 10px 40px -12px rgba(37, 211, 102, .6); }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 50px -10px rgba(37, 211, 102, .8); }
.form { padding: clamp(26px, 3vw, 44px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); backdrop-filter: blur(14px); }
.form h3 { font-size: 1.9rem; letter-spacing: -.04em; }
.form .sub { color: var(--muted); font-size: .95rem; margin: 6px 0 26px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { position: relative; margin-bottom: 14px; }
.fg label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(4, 6, 14, .6); color: #fff; font: inherit; font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.fg textarea { min-height: 120px; resize: vertical; }
.fg input::placeholder, .fg textarea::placeholder { color: #5f6c82; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 163, 255, .16); }
.fg select option { background: #0b1020; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; font-size: 16px; padding: 18px; }

/* 13. Footer ------------------------------------------------ */
.footer { padding: 70px 0 28px; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.f-brand p { color: var(--muted); max-width: 340px; margin-top: 18px; }
.f-brand img { height: 56px; width: auto; }
.footer h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { color: #cfd8e6; transition: color .3s, padding .4s var(--ease-out); }
.footer li a:hover { color: var(--orange-2); padding-left: 6px; }
.f-giant { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 10.8vw, 15rem); line-height: .85; letter-spacing: -.06em; text-align: center; margin: 60px 0 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.f-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.f-bot .hl { color: var(--orange-2); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 75; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px -8px rgba(37, 211, 102, .65); transition: transform .5s var(--ease-out); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 110; background: rgba(2, 3, 8, .94); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.lb.on { display: flex; animation: fade .4s var(--ease-out); }
.lb img { max-width: 90vw; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0, 0, 0, .9); object-fit: contain; animation: pop .6s var(--ease-out); }
.lb button { position: absolute; top: 22px; right: 28px; font-size: 40px; line-height: 1; color: #fff; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { transform: scale(.92); opacity: 0; } }

/* 14. Responsive -------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links { display: none; } .nav-ai { display: none; } .ham { display: block; }
  .hero-main { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .tgrid { grid-template-columns: 1fr; } .tc:nth-child(2), .js .tc.rv.in:nth-child(2) { transform: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 50px 0; } .steps::before { display: none; }
  .svc { grid-template-columns: 50px 1fr 52px; } .svc p { grid-column: 2 / 3; }
  .svc .arr { grid-row: 1; grid-column: 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; }
  .bx.a, .bx.b, .bx.c, .bx.d, .bx.e { grid-column: span 12; }
  .bx.a { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .hero { padding-top: 120px; }
  .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); } .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .pgrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; }
  .about-photo .sticker { right: -6px; width: 118px; height: 118px; } .sticker b { font-size: 2.3rem; }
  .badge-spin { width: 98px; height: 98px; right: -4px; }
}

/* 15. Reduced motion — only intrusive loops (never reveals/hover) */
@media (prefers-reduced-motion: reduce) {
  .grain, .blob, .marquee-track, .badge-spin svg.ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* 16. Typography override — Anton: condensed, uppercase, high impact */
body { font-synthesis: none; }
h1, h2, h3, h4, .nav-logo, .stat b, .sticker b, .marquee-track span, .mnav a, .ov b, .f-giant, .bx .big, .step h3, .svc h3, .bx h3, .form h3 {
  font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .98;
}
.hero h1 { font-size: clamp(3.4rem, 8.2vw, 8.6rem); line-height: .95; letter-spacing: .005em; }
.h-xl { font-size: clamp(3.2rem, 9vw, 9rem); }
.h-lg { font-size: clamp(2.6rem, 6vw, 5.8rem); }
.svc h3 { font-size: clamp(2rem, 4.2vw, 4rem); }
.bx h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.step h3 { font-size: 2rem; }
.form h3 { font-size: 2.2rem; }
.stat b { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.nav-logo { font-size: 20px; letter-spacing: .04em; }
.marquee-track span { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: .02em; }
.marquee-track span:nth-child(even) { -webkit-text-stroke: 1.2px #7d8ba3; }
.ov b { font-size: 1.5rem; }
.f-giant { font-size: clamp(4rem, 26vw, 24rem); letter-spacing: 0; line-height: .9; }
.sticker b { font-size: 3.4rem; }
.bx.a .big { font-size: clamp(7rem, 15vw, 14rem); letter-spacing: 0; }
.mani-text { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.tc blockquote { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; line-height: 1.4; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.mnav a { font-size: clamp(2.6rem, 12vw, 4rem); }
.testis .quote-mark { font-family: var(--display); }

/* nav wordmark */
.nav-logo img { height: 46px; width: auto; }
@media (max-width: 640px) { .nav-logo img { height: 38px; } }

/* form thank-you */
.thanks { text-align: center; padding: 40px 10px; animation: pop .7s var(--ease-out); }
.thanks-ic { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 20px 50px -12px rgba(0, 163, 255, .7); }
.thanks-ic svg { width: 40px; height: 40px; }
.thanks h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.thanks p { color: #aab5c8; margin-top: 14px; font-size: 1.1rem; }
.form-err { margin-top: 14px; color: #ff8a6b; font-size: .95rem; }
.form [hidden] { display: none; }
.form .btn:disabled { opacity: .6; cursor: progress; }
