/* =========================================================
   Active Digital — hi-tech dark theme
   Space Grotesk (display/body) + JetBrains Mono (system)
   ========================================================= */
@font-face { font-family: "SG"; src: url("../vendor/fonts/sg-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "SG"; src: url("../vendor/fonts/sg-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SG"; src: url("../vendor/fonts/sg-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SG"; src: url("../vendor/fonts/sg-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "SG"; src: url("../vendor/fonts/sg-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JBM"; src: url("../vendor/fonts/jbm-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JBM"; src: url("../vendor/fonts/jbm-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #05070D; --bg-2: #080C14; --surface: #0C121B; --surface-2: #111A25;
  --line: rgba(160, 200, 220, .10); --line-2: rgba(160, 200, 220, .18);
  --ink: #E9F0F3; --ink-2: #B9C6CF; --muted: #7E8E9B;
  --teal: #1FC8D3; --teal-2: #0E8E9B; --teal-d: #05505C; --orange: #F05A1E; --orange-2: #FF7A3D;
  --grad: linear-gradient(100deg, var(--teal) 0%, #7BE3E9 45%, var(--orange) 100%);
  --sans: "SG", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JBM", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 18px; --r-sm: 10px;
  --pad: clamp(20px, 4.4vw, 64px);
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--teal); color: var(--bg); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--teal); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 860px; }
.section { position: relative; padding: var(--sec) 0; }
.section--tight { padding: calc(var(--sec) * .6) 0; }
.section--flush { padding-top: 0; }

/* ---------- ambient fx ---------- */
.fx-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); opacity: .45; }
.fx-noise { position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise 1s steps(4) infinite; }
@keyframes noise { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 998; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__dot { width: 6px; height: 6px; background: var(--teal); }
  .cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(31, 200, 211, .5); display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), background .4s, border-color .4s; }
  .cursor__label { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .3s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: var(--teal); }
  .cursor.is-label .cursor__ring { width: 92px; height: 92px; background: var(--teal); border-color: var(--teal); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
}

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 14px 8px 12px; border: 1px solid var(--line-2); border-radius: 99px; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: rgba(12, 18, 27, .6); backdrop-filter: blur(8px); }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(240, 90, 30, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(240, 90, 30, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(240, 90, 30, 0); } }
.h2 { font-size: clamp(38px, 5.4vw, 84px); }
.h3 { font-size: clamp(28px, 3.2vw, 46px); }
.h4 { font-size: clamp(22px, 2vw, 28px); }
.h5 { font-size: 19px; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); color: var(--ink-2); line-height: 1.6; }
.lead p:last-child { margin-bottom: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.split-word { display: inline-block; will-change: transform; }
.split-word.is-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-split="scrub"] .split-word { opacity: .16; transition: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); white-space: nowrap; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover .ico { transform: translateX(6px); }
.link-arrow:hover { color: var(--teal); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 26px; border-radius: 99px; font: 500 15px/1 var(--sans); letter-spacing: -.005em; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .5s var(--ease), border-color .4s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn__arrow { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--accent { background: var(--teal); color: #031014; }
.btn--accent::before { background: var(--orange); }
.btn--accent:hover { color: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(12, 18, 27, .5); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- preloader & transition ---------- */
.preloader { position: fixed; inset: 0; z-index: 1001; background: var(--bg); display: none; place-items: center; clip-path: inset(0 0 0 0); }
html.js:not(.no-preload) .preloader { display: grid; }
.preloader__scan { position: absolute; left: 0; right: 0; top: 0; height: 30vh; background: linear-gradient(transparent, rgba(31, 200, 211, .08), transparent); animation: scan 2.4s linear infinite; }
@keyframes scan { from { transform: translateY(-30vh); } to { transform: translateY(100vh); } }
.preloader__inner { width: min(340px, 80vw); display: grid; gap: 18px; justify-items: start; }
.preloader__icon { width: 54px; height: auto; }
.preloader__meta { display: flex; justify-content: space-between; width: 100%; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.preloader__msg { color: var(--teal); }
.preloader__bar { width: 100%; height: 2px; background: var(--line-2); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.preloader__count { font: 500 clamp(64px, 12vw, 120px)/1 var(--mono); letter-spacing: -.04em; }
.transition { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; }
html.is-entering .transition, .transition.is-on { visibility: visible; }
.transition__panel { position: absolute; inset: 0; background: var(--teal-d); transform: translateY(100%); }
.transition__panel--2 { background: var(--bg); display: grid; place-items: center; border-top: 1px solid var(--line-2); }
.transition__panel--2 img { width: 46px; opacity: .9; }
html.is-entering .transition__panel { transform: none; }

/* ---------- header ---------- */
.header { position: fixed; left: 0; right: 0; top: 0; z-index: 900; transition: transform .7s var(--ease), background .4s, backdrop-filter .4s; }
.header.is-scrolled { background: rgba(5, 7, 13, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.header__logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { position: relative; display: inline-flex; align-items: flex-start; gap: 5px; padding: 10px 14px; font-size: 15px; color: var(--ink-2); border-radius: 99px; transition: color .3s, background .3s; }
.nav__idx { font: 500 9.5px/1 var(--mono); color: var(--teal); opacity: .8; margin-top: 2px; }
.nav__link:hover, .nav__link.is-active { color: var(--ink); background: rgba(255, 255, 255, .05); }
.header__status { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.header__status i, .footer__status i { width: 6px; height: 6px; border-radius: 50%; background: #2BE38B; box-shadow: 0 0 10px #2BE38B; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 890; background: var(--bg); visibility: hidden; clip-path: inset(0 0 100% 0); display: flex; }
.mnav__inner { margin-top: auto; width: 100%; padding: 110px var(--pad) 36px; display: grid; gap: 36px; }
.mnav nav { display: grid; }
.mnav nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(34px, 9vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1.12; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mnav nav a small { font: 500 11px/1 var(--mono); color: var(--teal); }
.mnav nav a.is-active { color: var(--teal); }
.mnav__foot { display: flex; flex-wrap: wrap; gap: 10px 20px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.hero__canvas, .phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow { position: absolute; z-index: 0; width: 70vw; height: 70vw; right: -25vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(31, 200, 211, .16), transparent 60%); filter: blur(10px); pointer-events: none; }
.hero__glow::after { content: ""; position: absolute; width: 50%; height: 50%; left: -30%; bottom: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 30, .14), transparent 65%); }
.hero__inner { position: relative; z-index: 2; }
.hero__title { font-size: clamp(46px, 7.2vw, 124px); font-weight: 500; letter-spacing: -.055em; line-height: .98; max-width: 15ch; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px 60px; margin-top: clamp(32px, 4vw, 56px); }
.hero__sub { max-width: 520px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hud { position: absolute; inset: 100px var(--pad) 34px; z-index: 1; pointer-events: none; }
.hud { position: absolute; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.hud--tl { left: 0; top: 0; } .hud--tr { right: 0; top: 0; } .hud--bl { left: 0; bottom: 0; } .hud--br { right: 0; bottom: 0; }
.hud--bl b { color: var(--teal); font-weight: 500; }
.hero__scroll { pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 44px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--teal); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { top: -40%; } to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; align-items: center; gap: 0; will-change: transform; }
.marquee--caps { border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); }
.marquee--caps span { font-size: clamp(22px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.03em; padding: 0 28px; }
.marquee--caps i, .marquee--xl i { font-style: normal; color: var(--orange); font-size: .6em; }
.marquee--xl span { font-size: clamp(64px, 12vw, 200px); font-weight: 500; letter-spacing: -.06em; padding: 0 .3em; line-height: 1.1; -webkit-text-stroke: 1px var(--line-2); color: transparent; transition: color .5s; }
.marquee--xl:hover span { color: var(--ink); -webkit-text-stroke-color: transparent; }
.marquee--logos { padding: 8px 0; }
.marquee--logos .marquee__track { gap: 14px; padding-right: 14px; }

/* ---------- section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 60px; margin-bottom: clamp(44px, 5vw, 80px); }
.section-head > div { max-width: 820px; }
.section-head__side { max-width: 420px; color: var(--ink-2); margin: 0; }

/* ---------- manifesto ---------- */
.manifesto__text { font-size: clamp(32px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -.04em; max-width: 22ch; }
.manifesto__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; margin-top: clamp(48px, 6vw, 90px); align-items: end; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats--row { grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 90px); }
.stat { background: var(--bg); padding: 28px 26px; display: grid; gap: 10px; }
.stat strong { display: flex; align-items: flex-start; font-size: clamp(44px, 4.6vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat em { font-style: normal; color: var(--teal); font-size: .55em; margin-left: 4px; }
.stat .mono { color: var(--muted); }

/* ---------- services (home cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; min-height: 460px; padding: clamp(26px, 2.6vw, 38px); border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, var(--surface), var(--bg-2)); overflow: hidden; isolation: isolate; transform-style: preserve-3d; transition: border-color .5s; }
.svc:hover { border-color: rgba(31, 200, 211, .45); }
.svc__glow { position: absolute; z-index: -1; width: 420px; height: 420px; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(31, 200, 211, .22), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc:hover .svc__glow { opacity: 1; }
.svc__img { position: absolute; z-index: -2; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.35); transform: scale(1.08); transition: transform 1.4s var(--ease); }
.svc:hover .svc__img { opacity: 1; }
.svc:hover .svc__img img { transform: scale(1); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc__num { color: var(--muted); }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--line-2); color: var(--teal); background: rgba(31, 200, 211, .06); }
.svc__icon .ico { width: 26px; height: 26px; }
.svc__title { font-size: clamp(30px, 3vw, 46px); margin: 64px 0 14px; }
.svc__text { color: var(--ink-2); max-width: 46ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 26px; }
.svc__tags li { font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink-2); }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); }
.svc__more .ico { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.svc:hover .svc__more .ico { transform: translateX(6px); }

/* ---------- transform list ---------- */
.transform__list { border-top: 1px solid var(--line); }
.transform__row { display: grid; grid-template-columns: 60px 1fr 120px 1.2fr; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.transform__row:hover { background: linear-gradient(90deg, transparent, rgba(31, 200, 211, .05), transparent); }
.transform__idx { color: var(--muted); }
.transform__from { font-size: clamp(20px, 2.2vw, 32px); color: var(--muted); letter-spacing: -.02em; }
.transform__to { font-size: clamp(24px, 2.8vw, 42px); font-weight: 500; letter-spacing: -.03em; }
.transform__arrow { position: relative; height: 1px; background: var(--line-2); }
.transform__arrow i { position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--teal); border-right: 1px solid var(--teal); transform: rotate(45deg); }
.transform__arrow::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--teal); transition: width .9s var(--ease); }
.transform__row:hover .transform__arrow::after { width: 100%; }

/* ---------- horizontal work ---------- */
.hproj { position: relative; padding: var(--sec) 0 calc(var(--sec) * .6); overflow: hidden; }
.hproj__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.hproj__track { display: flex; gap: 22px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.hcard { position: relative; flex: none; width: clamp(300px, 34vw, 560px); display: grid; gap: 14px; }
.hcard__img { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.hcard:hover .hcard__img img { transform: scale(1.05); }
.hcard__meta { display: flex; gap: 14px; color: var(--muted); }
.hcard__meta span:first-child { color: var(--teal); }
.hcard__title { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.02em; }
.hcard__client { color: var(--muted); margin: -6px 0 0; font-size: 15px; }
.hcard--more { width: clamp(240px, 22vw, 340px); aspect-ratio: 16 / 10; align-self: start; place-content: center; justify-items: center; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); transition: border-color .4s, background .4s; }
.hcard--more strong { font-size: 22px; font-weight: 500; }
.hcard--more .mono { color: var(--teal); font-size: 30px; }
.hcard--more:hover { border-color: var(--teal); background: rgba(31, 200, 211, .05); }
.hproj__progress { height: 1px; margin-top: 48px; position: relative; }
.hproj__progress::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 1px; background: var(--line-2); }
.hproj__progress i { position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; }

/* ---------- values ---------- */
.values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.value { position: relative; padding: 32px 28px 34px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .4s; }
.value:hover { border-color: rgba(240, 90, 30, .45); }
.value::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.value:hover::after { transform: none; }
.value__num { color: var(--muted); }
.value__icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 34px 0 22px; border-radius: 14px; background: rgba(240, 90, 30, .08); color: var(--orange-2); }
.value h3 { font-size: 24px; margin-bottom: 12px; letter-spacing: -.02em; }
.value p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* ---------- studio ---------- */
.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.studio__img, .frame { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.studio__img img, .frame img { width: 100%; height: 118%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.85); }
.studio__img::after, .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(31, 200, 211, .28), transparent 50%, rgba(240, 90, 30, .22)); mix-blend-mode: color; pointer-events: none; }
.studio__rec, .frame__tag { position: absolute; left: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: rgba(5, 7, 13, .7); backdrop-filter: blur(6px); color: var(--ink); }
.studio__rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; animation: blink 1.2s infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.chips li { font: 500 12.5px/1 var(--mono); letter-spacing: .02em; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink-2); background: rgba(12, 18, 27, .6); }

/* ---------- logos ---------- */
.logo-tile { flex: none; display: grid; place-items: center; width: 190px; height: 104px; padding: 18px 24px; background: #F4F7F8; border-radius: 14px; transition: transform .5s var(--ease), background .4s; }
.logo-tile img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .4s, opacity .4s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile--grid { width: auto; height: 120px; }
.client-group + .client-group { margin-top: 70px; }
.client-group__title { display: flex; justify-content: space-between; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.client-group__title b { color: var(--teal); font-weight: 500; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }

/* ---------- split / frames ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
.frame { aspect-ratio: 5 / 6; }

/* ---------- capabilities (about) ---------- */
.caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.caps__col { padding: 30px 26px 36px; border-right: 1px solid var(--line); transition: background .4s; }
.caps__col:last-child { border-right: 0; }
.caps__col:hover { background: var(--surface); }
.caps__col .mono { color: var(--teal); }
.caps__col h3 { font-size: 24px; margin: 26px 0 18px; letter-spacing: -.02em; }
.caps__col li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }

/* ---------- team ---------- */
.team__group { position: relative; margin: 0 0 40px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; }
.team__group img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(1) brightness(.8); }
.team__group figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; background: linear-gradient(transparent, rgba(5, 7, 13, .9)); color: var(--ink); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.member { position: relative; }
.member__photo { position: relative; margin: 0 0 14px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 1s var(--ease), filter .6s; }
.member:hover .member__photo img { transform: scale(1.06); filter: grayscale(.2); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(31, 200, 211, .25)); opacity: 0; transition: opacity .5s; }
.member:hover .member__photo::after { opacity: 1; }
.member__photo span { position: absolute; right: 10px; top: 10px; z-index: 2; color: var(--ink); background: rgba(5, 7, 13, .6); padding: 4px 7px; border-radius: 6px; font-size: 10px; }
.member h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 4px; }
.member p { color: var(--muted); margin: 0; font-size: 10.5px; }
.member__in { position: absolute; right: 10px; bottom: 54px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--teal); color: var(--bg); font-weight: 700; font-size: 13px; }

/* ---------- page hero ---------- */
.phero { position: relative; padding: clamp(150px, 16vw, 210px) 0 clamp(60px, 7vw, 100px); overflow: hidden; border-bottom: 1px solid var(--line); }
.phero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: end; }
.phero--plain .phero__inner { grid-template-columns: 1fr; }
.phero__title { font-size: clamp(44px, 6.8vw, 112px); letter-spacing: -.05em; line-height: .98; max-width: 16ch; }
.phero--post .phero__title { font-size: clamp(36px, 4.6vw, 68px); max-width: none; }
.phero__sub { max-width: 600px; margin: 28px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.35vw, 20px); }
.phero__media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--teal); z-index: 2; }
.phero__corner--tl { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.phero__corner--br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--ink-2); }
.phero--404 { min-height: 100svh; display: flex; align-items: center; }
.glitch { position: relative; font-size: clamp(120px, 24vw, 340px) !important; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.glitch::before { color: var(--teal); transform: translate(-3px, 0); clip-path: inset(10% 0 60% 0); animation: gl1 2.4s infinite steps(2); mix-blend-mode: screen; }
.glitch::after { color: var(--orange); transform: translate(3px, 0); clip-path: inset(55% 0 10% 0); animation: gl2 1.9s infinite steps(2); mix-blend-mode: screen; }
@keyframes gl1 { 0% { clip-path: inset(10% 0 60% 0); } 50% { clip-path: inset(40% 0 30% 0); } 100% { clip-path: inset(70% 0 5% 0); } }
@keyframes gl2 { 0% { clip-path: inset(55% 0 10% 0); } 50% { clip-path: inset(5% 0 75% 0); } 100% { clip-path: inset(30% 0 45% 0); } }
.phero--404 .btn { margin-top: 34px; }

/* ---------- services list page ---------- */
.svc-list { display: grid; gap: clamp(80px, 9vw, 140px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.svc-row:nth-child(even) .svc-row__img { order: 2; }
.svc-row__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.svc-row__img img { width: 100%; height: 115%; object-fit: cover; }
.svc-row__idx { position: absolute; right: 18px; bottom: 14px; font-size: 64px !important; letter-spacing: -.04em !important; color: rgba(255, 255, 255, .85); }
.svc-row__body .svc__top { justify-content: flex-start; margin-bottom: 28px; }
.svc-row__body .h2 { font-size: clamp(36px, 4.4vw, 68px); margin-bottom: 22px; }
.svc-row__body .lead { margin-bottom: 0; }
.process__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.process__step { position: relative; padding: 28px 26px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.process__step .mono { color: var(--teal); }
.process__step h3 { font-size: 24px; margin: 36px 0 12px; letter-spacing: -.02em; }
.process__step p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* ---------- detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 90px); align-items: start; }
.detail-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.side-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.side-card .h5 { margin-bottom: 16px; }
.side-card--accent { background: linear-gradient(150deg, rgba(31, 200, 211, .16), var(--surface) 60%); border-color: rgba(31, 200, 211, .35); }
.side-card--accent p { color: var(--ink-2); font-size: 15.5px; }
.side-card .btn { margin-top: 8px; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--ink-2); transition: color .3s; }
.side-links a span { flex: 1; }
.side-links a .ico:last-child { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: .4s var(--ease); }
.side-links a:hover { color: var(--teal); }
.side-links a:hover .ico:last-child { opacity: 1; transform: none; }
.side-links--plain b { font: 500 12px/1 var(--mono); color: var(--muted); }
.side-phone { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink); font-size: 14px !important; }
.mono-head { color: var(--teal); font: 500 13px/1 var(--mono) !important; letter-spacing: .12em !important; text-transform: uppercase; margin: 56px 0 20px; }
.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.scope li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.scope .mono { color: var(--teal); }
.prose { color: var(--ink-2); }
.prose--lg { font-size: clamp(17px, 1.3vw, 19px); }
.prose h2, .prose h3 { color: var(--ink); margin: 1.6em 0 .6em; letter-spacing: -.02em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); } .prose h3 { font-size: 22px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--orange); color: var(--ink); font-size: 1.15em; }
.prose img { border-radius: 12px; margin: 1.4em 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery--project { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); margin-top: 50px; }
.gallery--project .gallery__item { aspect-ratio: auto; }
.gallery--project .gallery__item img { height: auto; }
.gallery__item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: #fff; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item span { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(5, 7, 13, .7); color: #fff; opacity: 0; transform: scale(.8); transition: .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover span { opacity: 1; transform: none; }

/* ---------- portfolio ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14.5px; color: var(--ink-2); transition: .35s; }
.chip sup { font: 500 10px/1 var(--mono); color: var(--teal); }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.is-active sup { color: var(--teal-2); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.proj-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard.is-hidden { display: none; }
.pcard__link { display: grid; gap: 14px; }
.pcard__img { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard__link:hover .pcard__img img { transform: scale(1.05); }
.pcard__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(31, 200, 211, 0); transition: box-shadow .5s; }
.pcard__link:hover .pcard__img::after { box-shadow: inset 0 0 0 2px var(--teal); }
.pcard__play { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; }
.pcard__play .ico { width: 16px; height: 16px; fill: currentColor; }
.pcard__body { position: relative; padding-right: 50px; }
.pcard__cat { color: var(--teal); }
.pcard__body h3 { font-size: 21px; letter-spacing: -.02em; margin: 8px 0 4px; line-height: 1.2; }
.pcard__client { color: var(--muted); font-size: 14.5px; }
.pcard__go { position: absolute; right: 0; top: 4px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: .4s var(--ease); }
.pcard__go .ico { width: 16px; height: 16px; transform: rotate(-45deg); }
.pcard__link:hover .pcard__go { background: var(--teal); color: var(--bg); border-color: var(--teal); }
.meta-bar { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 22px; overflow: hidden; }
.meta-bar > div { flex: 1 1 180px; padding: 18px 22px; border-right: 1px solid var(--line); }
.meta-bar > div:last-child { border-right: 0; }
.meta-bar dt { color: var(--muted); margin-bottom: 8px; }
.meta-bar dd { margin: 0; color: var(--ink); font: 500 15px/1.3 var(--sans); text-transform: none; letter-spacing: 0; }
.meta-bar__share a { margin-right: 10px; color: var(--teal); }
.proj-cover { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.proj-cover img { width: 100%; max-height: 82vh; object-fit: contain; }
.play-btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 14px rgba(240, 90, 30, .25); }
.play-btn .ico { width: 30px; height: 30px; fill: currentColor; }
.proj-body { margin: 60px auto 0; }
.pn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--line); }
.pn__link { display: grid; gap: 8px; }
.pn__link .mono { color: var(--muted); }
.pn__link strong { font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.02em; transition: color .3s; }
.pn__link:hover strong { color: var(--teal); }
.pn__link--next { text-align: right; }
.pn__all { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: 20px !important; }
.pn__all:hover { background: var(--teal); color: var(--bg); }

/* ---------- blog ---------- */
.post-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard__link { display: grid; gap: 16px; }
.bcard__img { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bcard__link:hover .bcard__img img { transform: scale(1.05); }
.bcard__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); margin-bottom: 10px; }
.bcard__meta span:first-child { color: var(--teal); }
.bcard h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.bcard p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.feature-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.feature-post__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.feature-post__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-post .h3 { margin: 6px 0 16px; }
.post__cover { margin: 0 0 40px; border-radius: var(--r); overflow: hidden; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.share span { color: var(--muted); }
.share a:hover { color: var(--teal); }
.mini-posts li + li { margin-top: 14px; }
.mini-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); }
.mini-posts img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.mini-posts time { display: block; font: 500 10.5px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .ico--xl { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--teal); }

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary small { display: block; color: var(--teal); margin-bottom: 8px; font-size: 11px; }
.acc summary strong { font-weight: 500; }
.acc summary i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .5s var(--ease), background .3s; }
.acc[open] summary i { transform: rotate(45deg); background: var(--teal); color: var(--bg); border-color: var(--teal); }
.acc__body { overflow: hidden; color: var(--ink-2); padding: 0 60px 24px 0; }
.acc--job summary small { color: var(--muted); font: 500 12px/1.4 var(--mono); text-transform: uppercase; margin: 6px 0 0; }

/* ---------- forms & contact ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { color: var(--muted); padding: 0; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font: 400 17px/1.4 var(--sans); border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field legend { margin-bottom: 12px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14.5px; color: var(--ink-2); transition: .3s; }
.pick input:checked + span { background: var(--teal); color: var(--bg); border-color: var(--teal); }
.pick input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 8px; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: 15px; }
.alert--ok { background: rgba(43, 227, 139, .1); border: 1px solid rgba(43, 227, 139, .35); color: #9AF2C6; }
.alert--err { background: rgba(240, 90, 30, .1); border: 1px solid rgba(240, 90, 30, .4); color: #FFB08F; }
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.ctile { position: relative; display: grid; gap: 14px; align-content: start; min-height: 170px; padding: 24px 24px 60px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .4s; }
.ctile .mono { color: var(--teal); }
.ctile strong { font-weight: 500; font-size: 19px; letter-spacing: -.01em; line-height: 1.35; word-break: break-word; }
.ctile .ico { position: absolute; right: 22px; bottom: 22px; color: var(--muted); transition: color .3s, transform .5s var(--ease); }
a.ctile:hover { border-color: var(--teal); }
a.ctile:hover .ico { color: var(--teal); transform: translate(3px, -3px); }
.contact-people { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.contact-people > div { flex: 1 1 240px; display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); }
.contact-people .mono { color: var(--muted); font-size: 11px; }
.contact-people a { color: var(--teal); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 60px; align-items: start; }
.contact-grid--quote { margin-top: 0; grid-template-columns: 1.5fr 1fr; }
.form-card { padding: clamp(26px, 3.4vw, 50px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.form-card .h3 { margin-bottom: 30px; }
.contact-info { display: grid; gap: 16px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3.4; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) contrast(.95); }
.contact-info .mono { display: flex; align-items: center; gap: 10px; }
.mini-steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.mini-steps li:first-child { border-top: 0; padding-top: 0; }
.mini-steps .mono { color: var(--teal); padding-top: 4px; }
.mini-steps strong { font-weight: 500; }
.mini-steps p { color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: var(--sec); border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { padding: clamp(60px, 7vw, 110px) 0 clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.footer__cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 30px; }
.footer__cta .h2 { max-width: 15ch; font-size: clamp(34px, 4.2vw, 64px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-top: 70px; padding-bottom: 60px; }
.footer__brand img { width: 170px; margin-bottom: 22px; }
.footer__brand > p { color: var(--muted); max-width: 380px; font-size: 15.5px; }
.footer h3 { color: var(--teal); margin-bottom: 20px; }
.footer ul li { margin: 0 0 11px; }
.footer ul a, .footer address a { color: var(--ink-2); transition: color .3s; }
.footer ul a:hover, .footer address a:hover { color: var(--teal); }
.footer address p { color: var(--ink-2); font-size: 15.5px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.footer__social a:hover { color: var(--teal); }
.newsletter { margin-top: 28px; max-width: 420px; }
.newsletter label { display: block; color: var(--muted); margin-bottom: 12px; }
.newsletter__row { display: flex; gap: 8px; padding: 6px 6px 6px 18px; border: 1px solid var(--line-2); border-radius: 99px; }
.newsletter__row input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: 400 15px var(--sans); }
.newsletter__row input:focus { outline: none; }
.newsletter__msg { display: block; margin-top: 10px; color: var(--teal); min-height: 1em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--muted); }
.footer__status { display: inline-flex; align-items: center; gap: 10px; }
.footer__status b { color: var(--ink); font-weight: 500; }
.to-top:hover { color: var(--teal); }
.footer__mega { font-size: 19.5vw; font-weight: 600; letter-spacing: -.07em; line-height: .78; text-align: center; white-space: nowrap; margin-bottom: -.06em; background: linear-gradient(180deg, rgba(31, 200, 211, .22), rgba(31, 200, 211, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- modal / lightbox / wa ---------- */
.modal, .lightbox { position: fixed; inset: 0; z-index: 1002; display: none; }
.modal.is-open { display: grid; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 4, 8, .9); opacity: 0; }
.modal__box { position: relative; width: min(1100px, 92vw); aspect-ratio: 16 / 9; opacity: 0; transform: scale(.95); }
.modal__frame, .modal__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; }
.modal__close, .lightbox__close { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: #fff; }
.lightbox.is-open { display: grid; place-items: center; background: rgba(2, 4, 8, .94); }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 10px; background: #fff; }
.lightbox figcaption { margin-top: 14px; font: 500 12px/1 var(--mono); color: var(--muted); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid var(--line-2); color: #fff; font-size: 20px; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 880; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- reveal initial states (JS on) ---------- */
html.js [data-reveal] { opacity: 0; }
html.js [data-reveal="up"], html.js [data-reveal="card"] { transform: translateY(44px); }
html.js [data-reveal="clip"] { opacity: 1; clip-path: inset(0 100% 0 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header__status { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .caps__col:nth-child(2) { border-right: 0; }
  .caps__col:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .proj-grid, .post-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .manifesto__grid, .studio__grid, .split, .svc-row, .phero__inner, .contact-grid, .contact-grid--quote, .feature-post { grid-template-columns: 1fr; }
  .split--rev > :first-child, .svc-row:nth-child(even) .svc-row__img { order: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 400px; }
  .stats--row { grid-template-columns: repeat(2, 1fr); }
  .transform__row { grid-template-columns: 40px 1fr; gap: 6px 14px; }
  .transform__arrow { display: none; }
  .transform__to { grid-column: 2; }
  .hero__hud .hud--tr, .hero__hud .hud--tl { display: none; }
  .team__group { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header__inner { height: 70px; gap: 12px; }
  .header__logo img { width: 124px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding: 120px 0 110px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .proj-grid, .proj-grid--3, .post-grid, .blog-grid, .scope, .gallery--project, .form__row { grid-template-columns: 1fr; }
  .caps__grid { grid-template-columns: 1fr; }
  .caps__col { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hproj__track { flex-direction: column; width: auto; }
  .hcard { width: 100%; }
  .hcard--more { width: 100%; }
  .logo-tile { width: 150px; height: 86px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .pn { grid-template-columns: 1fr 1fr; }
  .pn__all { display: none; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .meta-bar > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .acc__body { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-split="scrub"] .split-word { opacity: 1; }
}
