/* =========================================================
   Feldman Digital — main stylesheet
   ========================================================= */

@font-face { font-family: "Polin"; src: url("../fonts/Polin-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../fonts/Polin-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../fonts/Polin-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../fonts/Polin-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../fonts/Polin-Extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #020204;
  --bg-2: #0c0e18;
  --surface: #121527;
  --line: rgba(222, 214, 255, 0.12);
  --ink: #ece6ff;
  --ink-dim: rgba(236, 230, 255, 0.7);
  --ink-mute: rgba(236, 230, 255, 0.6);

  --g1: #b47cfd;
  --g2: #dc7fda;
  --g3: #ff81bf;
  --g4: #ffa787;
  --cyan: #7ce8eb;
  --grad: linear-gradient(100deg, var(--g1) 0%, var(--g2) 35%, var(--g3) 68%, var(--g4) 100%);
  --wa: #25d366;

  --font: "Polin", "Rubik", "Assistant", system-ui, sans-serif;
  --gutter: clamp(22px, 4vw, 64px);
  --radius: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
::selection { background: var(--g3); color: #fff; }
:focus-visible { outline: 2px solid var(--g3); outline-offset: 4px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; right: 12px; z-index: 1000; padding: 10px 18px; background: var(--ink); color: var(--bg); border-radius: 99px; transform: translateY(-200%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* gradient text + slow shimmer */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone;
}
.grad-anim { background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-block: .08em .14em; margin-block: -.08em -.14em; }
.line-inner { display: inline-block; will-change: transform; }

/* typewriter caret used by [data-type] and .typer */
.type-caret, .typer__caret {
  display: inline-block; width: .08em; min-width: 2px; height: 1em; margin-inline-start: .08em;
  background: var(--g3); vertical-align: -0.12em; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   AMBIENT BACKGROUND
   ========================================================= */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .26; will-change: transform; }
.bg__blob--1 { width: 46vw; height: 46vw; background: #6d3bd6; top: -12vw; right: -8vw; animation: drift1 26s ease-in-out infinite alternate; }
.bg__blob--2 { width: 38vw; height: 38vw; background: #c2408f; bottom: -14vw; left: -10vw; animation: drift2 31s ease-in-out infinite alternate; opacity: .19; }
.bg__blob--3 { width: 30vw; height: 30vw; background: #ff8a6b; top: 40%; left: 30%; animation: drift3 37s ease-in-out infinite alternate; opacity: .10; }
.bg__blob--4 { width: 26vw; height: 26vw; background: #2f8fbf; top: 10%; left: 6%; animation: drift2 41s ease-in-out infinite alternate-reverse; opacity: .11; }
@keyframes drift1 { to { transform: translate(-18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(20vw, -18vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-24vw, -26vh) scale(1.25); } }
.bg__grid {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(rgba(180,124,253,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,124,253,.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 10%, transparent 70%);
  animation: gridMove 24s linear infinite;
}
@keyframes gridMove { to { transform: translate(90px, 90px); } }

/* site-wide twinkling starfield (fixed, behind everything) */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* cursor trail: a drawn line that follows the pointer, with a ring riding its tip */
.trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2147483646; pointer-events: none; }
.trail-dot {
  position: fixed; top: 0; left: 0; z-index: 2147483647; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px rgba(220,127,218,.8);
  opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s;
}
.trail-dot.is-on { opacity: 1; }
.trail-dot.is-link { width: 30px; height: 30px; margin: -15px 0 0 -15px; background: rgba(220,127,218,.14); box-shadow: inset 0 0 0 1.5px rgba(255,167,135,.9), 0 0 16px rgba(220,127,218,.5); }
.trail-dot.is-down { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
@media (hover: none) { .trail-dot { display: none; } }
/* desktop: hide the system cursor — the dot + trail replace it */
@media (hover: hover) and (pointer: fine) {
  html.has-trail, html.has-trail * { cursor: none !important; }
}

/* scroll progress line + styled scrollbar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 85; background: var(--grad); transform-origin: right; transform: scaleX(0); box-shadow: 0 0 10px rgba(220,127,218,.7); pointer-events: none; }
html { scrollbar-width: thin; scrollbar-color: #b47cfd #07080f; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #07080f; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #b47cfd, #ff81bf 55%, #ffa787); border-radius: 99px; border: 2.5px solid #07080f; }
::-webkit-scrollbar-thumb:hover { border-width: 1px; }

/* soft word reveal ([data-soft]) */
[data-soft] .w { display: inline-block; }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

/* =========================================================
   PRELOADER — logo fills with color 0→100%
   ========================================================= */
.preloader { display: none; }
.js .preloader {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
}
.preloader__logo { position: relative; width: min(440px, 72vw); direction: ltr; }
.preloader__logo img { width: 100%; height: auto; }
.preloader__base { opacity: .8; }
.preloader__fill { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); }
.preloader__bar { width: min(440px, 72vw); height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; direction: ltr; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.preloader__count { font-size: 15px; letter-spacing: .25em; color: var(--ink-mute); font-variant-numeric: tabular-nums; direction: ltr; }

/* =========================================================
   BUTTONS
   ========================================================= */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: rgba(18, 21, 39, .66); color: var(--ink);
  border: 1px solid var(--line);
  font-size: 16px; font-weight: 500; white-space: nowrap;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
  touch-action: manipulation;
}
.pill:hover { border-color: rgba(255,255,255,.3); }
.pill:active { transform: scale(.97); }
.pill--glow { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 8px 30px -10px rgba(220,127,218,.55); }
.pill--glow:hover { box-shadow: 0 0 28px -2px rgba(220,127,218,.55), 0 8px 40px -8px rgba(255,129,191,.6); }
.pill--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.pill--icon { width: 48px; padding: 0; }
.pill--wa { background: var(--wa); color: #06210f; border-color: transparent; font-weight: 700; box-shadow: 0 10px 40px -10px rgba(37,211,102,.7); }
.pill--wa svg { width: 22px; height: 22px; }

/* =========================================================
   HEADER (always sticky)
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 var(--gutter);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6,7,13,.62);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.site-header__logo img { width: clamp(124px, 12vw, 172px); height: auto; }

/* hamburger: gradient ring + three lines that morph into an X */
.menu-toggle { width: 52px; min-height: 52px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 0 24px -6px rgba(220,127,218,.55); }
.menu-toggle__lines { position: relative; width: 22px; height: 16px; }
.menu-toggle__lines span { position: absolute; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease), width .5s var(--ease), opacity .3s; }
.menu-toggle__lines span:nth-child(1) { top: 0; width: 100%; }
.menu-toggle__lines span:nth-child(2) { top: 7px; width: 70%; background: var(--grad); }
.menu-toggle__lines span:nth-child(3) { top: 14px; width: 45%; }
.menu-toggle:hover .menu-toggle__lines span { width: 100%; }
.menu-open .menu-toggle__lines span:nth-child(1) { top: 7px; width: 100%; transform: rotate(45deg); }
.menu-open .menu-toggle__lines span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-open .menu-toggle__lines span:nth-child(3) { top: 7px; width: 100%; transform: rotate(-45deg); }

/* fullscreen menu: circular reveal, aurora background, outlined labels that fill on hover */
.menu {
  position: fixed; inset: 0; z-index: 70; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
  background: #07060f;
  clip-path: circle(0% at calc(100% - var(--gutter) - 26px) calc(var(--header-h) / 2));
  transition: clip-path .9s var(--ease);
  overscroll-behavior: contain;
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - var(--gutter) - 26px) calc(var(--header-h) / 2)); }
.menu__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; contain: strict; }
.menu__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift1 14s ease-in-out infinite alternate; }
.menu__bg span:nth-child(1) { width: 60vmax; height: 60vmax; background: #6d3bd6; top: -30vmax; right: -20vmax; }
.menu__bg span:nth-child(2) { width: 45vmax; height: 45vmax; background: #c2408f; bottom: -25vmax; left: -15vmax; animation-name: drift2; opacity: .4; }
.menu__bg span:nth-child(3) { width: 30vmax; height: 30vmax; background: #ff8a6b; top: 40%; left: 40%; animation-name: drift3; opacity: .18; }
.menu__eyebrow { font-size: 13px; letter-spacing: .3em; color: var(--ink-mute); }
.menu__list { counter-reset: m; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.07); }
.menu__list a { position: relative; display: flex; align-items: center; gap: 16px; padding-block: .12em; font-size: clamp(42px, 7.4vw, 104px); font-weight: 400; line-height: 1.12; }
.menu__label { position: relative; display: inline-block; color: transparent; -webkit-text-stroke: 1.2px rgba(236,230,255,.85); }
.menu__label::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0;
  clip-path: inset(0 0 0 100%); transition: clip-path .6s var(--ease);
}
.menu__list a:hover .menu__label::after, .menu__list a:focus-visible .menu__label::after { clip-path: inset(0 0 0 0); }
.menu__num { font-size: 13px; letter-spacing: .12em; color: var(--g2); align-self: flex-start; margin-top: 1.2em; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 8px; }
.menu__mail { color: var(--ink-dim); font-size: 15px; margin-inline-start: 8px; }
.menu-open { overflow: hidden; }

/* =========================================================
   SHARED
   ========================================================= */
main, .site-footer { position: relative; z-index: 2; }
section { position: relative; }
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(32px, 4vw, 64px); max-width: 1600px; margin-inline: auto; }
.section-head--center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .12em; color: var(--ink-dim); margin-bottom: 18px; min-height: 1.6em; }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--grad); }
.display { font-weight: 300; font-size: clamp(50px, 8.5vw, 150px); line-height: .98; letter-spacing: -.02em; }
.display .line-mask { display: block; }
.display--md { font-size: clamp(42px, 6.4vw, 108px); }
.display--sm { font-size: clamp(36px, 4.8vw, 80px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 13px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; color: var(--ink-dim); }

/* =========================================================
   HERO (centered, starfield)
   ========================================================= */
.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 80px; overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 1200px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; margin-bottom: 28px;
  border-radius: 99px; border: 1px solid var(--line); background: rgba(18,21,39,.5); backdrop-filter: blur(10px);
  font-size: 14px; letter-spacing: .06em; color: var(--ink-dim);
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.hero__title { font-weight: 300; font-size: clamp(44px, min(7.2vw, 13vh), 136px); line-height: 1; letter-spacing: -.025em; }
.hero__title .line-inner { white-space: nowrap; }
.hero__title .line-mask { display: block; }
.hero__typed { margin-top: 26px; font-size: clamp(22px, 2.6vw, 40px); font-weight: 300; color: var(--ink-dim); min-height: 1.5em; display: flex; gap: .3em; flex-wrap: wrap; justify-content: center; }
.typer { color: var(--ink); font-weight: 400; }
.hero__lead { margin-top: 18px; max-width: 52ch; font-size: clamp(16px, 1.25vw, 20px); color: var(--ink-mute); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__scrollcue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 99px; display: grid; justify-items: center; padding-top: 8px; }
.hero__scrollcue span { width: 3px; height: 8px; border-radius: 3px; background: var(--grad); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(13px);opacity:0} 100%{opacity:0} }

/* =========================================================
   LOGO STRIP
   ========================================================= */
.logos { padding: clamp(20px, 3vw, 40px) 0 clamp(10px, 2vw, 24px); }
.logos__title { text-align: center; font-weight: 400; font-size: 15px; letter-spacing: .14em; color: var(--ink-mute); margin-bottom: 22px; min-height: 1.6em; }
.logos__rows { display: grid; gap: clamp(18px, 2.4vw, 34px); }
.logos__row {
  position: relative; overflow: hidden; direction: ltr; padding-block: 6px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track { display: flex; align-items: center; gap: clamp(46px, 6vw, 96px); width: max-content; padding-inline-end: clamp(46px, 6vw, 96px); will-change: transform; }
.logos__track li { flex: none; }
.logos__track img {
  height: clamp(44px, 4.6vw, 70px); width: auto; max-width: 220px; object-fit: contain;
  opacity: .32; filter: drop-shadow(0 0 0 transparent);
  transition: opacity .45s, filter .45s, transform .45s var(--ease);
}
.logos__track li:hover img { opacity: 1; filter: drop-shadow(0 0 18px rgba(220,127,218,.7)); transform: scale(1.06); }

/* =========================================================
   MANIFESTO (scrubbed words) + scramble chips
   ========================================================= */
.manifesto { padding: clamp(56px, 7vw, 110px) var(--gutter); max-width: 1300px; margin-inline: auto; text-align: center; }
.manifesto__text { font-size: clamp(28px, 3.7vw, 60px); font-weight: 300; line-height: 1.28; letter-spacing: -.01em; }
.manifesto__text .w { opacity: .14; transition: opacity .2s linear; }
.manifesto__text em { font-style: normal; }
.manifesto__text em .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; direction: ltr; }
.manifesto__chips li { padding: 9px 20px; border-radius: 99px; border: 1px solid var(--line); background: rgba(18,21,39,.5); font-size: 15px; letter-spacing: .06em; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.manifesto__chips li:hover { border-color: var(--g2); color: var(--ink); }

/* =========================================================
   WORK — laptop + iPhone mockups
   ========================================================= */
.work { padding: clamp(40px, 5vw, 80px) 0 clamp(20px, 3vw, 50px); overflow: hidden; }
.project {
  display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(28px, 5vw, 90px);
  max-width: 1600px; margin: 0 auto clamp(64px, 8vw, 130px); padding: 0 var(--gutter);
}
/* even rows put the device on the left — mirror the columns so every device gets the wide column */
.project--even { grid-template-columns: 1fr 1.45fr; }
.project--even .project__visual { order: 2; }
.project__visual { position: relative; perspective: 1800px; padding-bottom: 4%; will-change: transform; }

.laptop { position: relative; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg); transition: transform 1s var(--ease); }
.project--even .laptop { transform: rotateY(16deg) rotateX(6deg) rotateZ(-1deg); }
.project:hover .laptop { transform: rotateY(-6deg) rotateX(3deg); }
.project--even:hover .laptop { transform: rotateY(6deg) rotateX(3deg); }
.laptop__lid {
  position: relative; padding: 2.1% 2.1% 3%; border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #2a2c38, #0d0e14 40%);
  box-shadow: inset 0 0 0 1.5px #3a3d4c, 0 60px 120px -40px rgba(180,124,253,.5), 0 40px 70px -30px rgba(0,0,0,.9);
}
.laptop__lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #1d2030; box-shadow: inset 0 0 0 1px #34384a; transform: translateX(-50%); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #000; container-type: size; }
.laptop__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 35%); pointer-events: none; }
.laptop__base {
  position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -7%;
  background: linear-gradient(to bottom, #c9cbd6 0%, #8e909c 45%, #4a4c57 100%);
  border-radius: 2px 2px 18px 18px / 2px 2px 60px 60px;
  box-shadow: 0 30px 40px -20px rgba(0,0,0,.9);
}
.laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%); background: #6e707c; border-radius: 0 0 10px 10px; }

/* iPhone: thin black bezel inside a slim titanium rim, dynamic island, side buttons */
.iphone {
  position: absolute; bottom: -2%; inset-inline-start: -5%; width: 21%;
  padding: 1.1%; border-radius: 17% / 8%;
  background: #050507;
  box-shadow:
    0 0 0 1.5px #8d8f99, 0 0 0 3px #3e4049, inset 0 0 0 1px #1c1d22,
    0 40px 70px -24px rgba(0,0,0,.95), 0 0 70px -20px rgba(255,129,191,.4);
  transform: rotate(-6deg); transition: transform 1s var(--ease);
}
.project--even .iphone { inset-inline-start: auto; inset-inline-end: -5%; transform: rotate(6deg); }
.project:hover .iphone { transform: rotate(0deg) translateY(-8px); }
.iphone::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 2.6%; border-radius: 99px; background: #000; transform: translateX(-50%); z-index: 2; box-shadow: inset 0 0 0 1px #111; }
.iphone::after { content: ""; position: absolute; top: 20%; right: -2.4%; width: 1.4%; height: 12%; border-radius: 0 3px 3px 0; background: #5c5e67; }
.iphone__screen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 15% / 7%; background: #000; container-type: size; }

.laptop__screen img, .iphone__screen img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  animation: shotScroll 22s cubic-bezier(.65,0,.35,1) infinite alternate;
  animation-play-state: paused;
}
.iphone__screen img { animation-duration: 18s; }
.project.is-inview .laptop__screen img, .project.is-inview .iphone__screen img { animation-play-state: running; }
@keyframes shotScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }

.project__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.project__num { font-size: 14px; letter-spacing: .2em; color: var(--ink-mute); }
.project__num::after { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--line); margin-inline-start: 12px; vertical-align: middle; }
.project__title { font-weight: 300; font-size: clamp(42px, 5.2vw, 90px); line-height: .98; letter-spacing: -.02em; }
.project__desc { max-width: 40ch; color: var(--ink-dim); font-size: clamp(16px, 1.2vw, 19px); }
.noscript-list { display: grid; gap: 8px; padding: 0 var(--gutter); }

/* more work — two opposite-running strips of mockups */
.more { margin-top: clamp(10px, 2vw, 30px); }
.more__head { text-align: center; padding: 0 var(--gutter); margin-bottom: clamp(18px, 2.4vw, 34px); }
.more__title { font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.15; }
.more__row { overflow: hidden; direction: ltr; padding-block: 6px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.more__row + .more__row { margin-top: clamp(4px, 1vw, 14px); }
.more__track { display: flex; align-items: flex-end; gap: clamp(30px, 3.6vw, 64px); width: max-content; padding-inline-end: clamp(30px, 3.6vw, 64px); will-change: transform; }
.more__item { flex: none; width: clamp(230px, 22vw, 360px); text-align: center; transition: transform .6s var(--ease), filter .5s; filter: saturate(.85) brightness(.88); }
.more__item img { width: 100%; height: auto; aspect-ratio: 900 / 780; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
.more__item figcaption { margin-top: 2px; font-size: 14px; letter-spacing: .04em; color: var(--ink-mute); transition: color .4s; direction: rtl; }
.more__item:hover { transform: translateY(-8px) scale(1.04); filter: none; }
.more__item:hover figcaption { color: var(--ink); }
.more__row:hover .more__track { animation-play-state: paused; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { padding-block: clamp(10px, 2vw, 30px); overflow: hidden; }
.ticker__row { overflow: hidden; direction: ltr; }
.ticker__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.ticker__track span { font-size: clamp(54px, 9vw, 150px); font-weight: 300; line-height: 1.05; padding-inline: .25em; color: transparent; -webkit-text-stroke: 1.2px rgba(236,230,255,.4); }
.ticker__track span:nth-of-type(3n+1) { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.ticker__track i { width: .5em; height: .5em; font-size: clamp(54px, 9vw, 150px); border-radius: 50%; background: var(--grad); flex: none; transform: scale(.3); }

/* =========================================================
   SERVICES — 3 cards
   ========================================================= */
.services { padding: clamp(50px, 6vw, 100px) var(--gutter); }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); max-width: 1500px; margin-inline: auto; perspective: 1200px; }
.svc-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  transform-style: preserve-3d; transition: border-color .4s, box-shadow .5s;
}
.svc-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--g1), var(--g3), var(--g4), transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s; animation: spinAng 4s linear infinite;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover { box-shadow: 0 40px 80px -40px rgba(180,124,253,.55); }
.svc-card::after { content: ""; position: absolute; z-index: -2; inset: auto -30% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(220,127,218,.25), transparent 65%); transition: transform .8s var(--ease); }
.svc-card:hover::after { transform: translate(-20%, -20%) scale(1.2); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinAng { to { --ang: 360deg; } }
.svc-card__art { height: 170px; border-radius: 18px; background: rgba(6,7,13,.55); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.svc-card__art svg { width: 86%; height: auto; overflow: visible; }
.svc-card__num { font-size: 14px; letter-spacing: .2em; color: var(--ink-mute); }
.svc-card__title { font-weight: 300; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; }
.svc-card__text { color: var(--ink-dim); font-size: 16px; flex: 1; }

/* art 1: website builds itself */
.mini-browser { position: relative; width: 82%; aspect-ratio: 16/10; border-radius: 10px; background: #0f1120; border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.mini-browser__bar { display: flex; gap: 4px; padding: 6px 8px; background: #181b2e; direction: ltr; }
.mini-browser__bar i { width: 6px; height: 6px; border-radius: 50%; background: #3a3f5c; }
.mini-browser__body { position: relative; height: calc(100% - 18px); }
.mini-browser .b { position: absolute; border-radius: 4px; background: rgba(236,230,255,.14); transform-origin: right; animation: build 6s var(--ease) infinite; }
.b-nav { top: 8%; right: 6%; left: 6%; height: 8%; animation-delay: 0s !important; }
.b-hero { top: 22%; right: 6%; width: 52%; height: 14%; background: var(--grad) !important; animation-delay: .3s !important; }
.b-line--1 { top: 42%; right: 6%; width: 40%; height: 5%; animation-delay: .5s !important; }
.b-line--2 { top: 51%; right: 6%; width: 30%; height: 5%; animation-delay: .6s !important; }
.b-card { top: 64%; height: 26%; width: 26%; animation-delay: .8s !important; }
.b-card--1 { right: 6%; } .b-card--2 { right: 37%; animation-delay: .95s !important; } .b-card--3 { right: 68%; animation-delay: 1.1s !important; }
.b-btn { top: 22%; left: 8%; width: 22%; height: 12%; border-radius: 99px !important; background: rgba(255,167,135,.8) !important; animation-delay: 1.3s !important; }
@keyframes build { 0% { transform: scaleX(0); opacity: 0; } 12%, 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.mini-cursor { position: absolute; width: 16px; height: 16px; top: 70%; left: 70%; animation: cursorMove 6s var(--ease) infinite; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
@keyframes cursorMove { 0%, 20% { transform: translate(0, 0); } 45% { transform: translate(-280%, -620%); } 50% { transform: translate(-280%, -620%) scale(.8); } 55%, 80% { transform: translate(-280%, -620%); } 100% { transform: translate(0, 0); } }

/* art 2: shapes + pen tool */
.d-pen { stroke-dasharray: 260; stroke-dashoffset: 260; animation: penDraw 5s var(--ease) infinite; }
@keyframes penDraw { 0% { stroke-dashoffset: 260; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }
.d-circle { transform-box: fill-box; transform-origin: center; animation: morphA 5s ease-in-out infinite; }
.d-rect { transform-box: fill-box; transform-origin: center; animation: morphB 5s ease-in-out infinite; }
@keyframes morphA { 50% { transform: translate(14px, -8px) scale(.82); } }
@keyframes morphB { 50% { transform: rotate(45deg) scale(1.1); } }
.d-swatches circle { transform-box: fill-box; transform-origin: center; animation: pop 2.5s ease-in-out infinite; }
.d-swatches circle:nth-child(2) { animation-delay: .15s; } .d-swatches circle:nth-child(3) { animation-delay: .3s; } .d-swatches circle:nth-child(4) { animation-delay: .45s; }
@keyframes pop { 50% { transform: scale(1.35); } }

/* art 3: growth chart */
.g-bars rect { transform: translateY(calc(130px - var(--h) * 1px)) scaleY(0); transform-box: fill-box; transform-origin: bottom; height: calc(var(--h) * 1px); animation: barGrow 5s var(--ease) infinite; }
.g-bars rect:nth-child(2) { animation-delay: .1s; } .g-bars rect:nth-child(3) { animation-delay: .2s; } .g-bars rect:nth-child(4) { animation-delay: .3s; } .g-bars rect:nth-child(5) { animation-delay: .4s; }
@keyframes barGrow { 0% { transform: translateY(calc(130px - var(--h) * 1px)) scaleY(0); } 30%, 85% { transform: translateY(calc(130px - var(--h) * 1px)) scaleY(1); } 100% { transform: translateY(calc(130px - var(--h) * 1px)) scaleY(0); } }
.g-bars { opacity: .5; }
.g-line { stroke-dasharray: 300; stroke-dashoffset: 300; animation: lineDraw 5s var(--ease) infinite; }
@keyframes lineDraw { 0% { stroke-dashoffset: 300; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.g-dot { transform-box: fill-box; transform-origin: center; animation: dotPing 5s ease-out infinite; }
@keyframes dotPing { 0%, 38% { transform: scale(0); } 45% { transform: scale(1.6); } 55%, 85% { transform: scale(1); } 100% { transform: scale(0); } }

/* =========================================================
   GRAPHIC DESIGN — dome gallery
   ========================================================= */
.design { padding: clamp(40px, 5vw, 80px) 0 0; }
.design__head { text-align: center; padding: 0 var(--gutter); margin-bottom: 10px; position: relative; z-index: 3; }
.design__hint { color: var(--ink-mute); font-size: 15px; margin-top: 8px; }
.dome {
  position: relative; height: min(118vh, 1180px); overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  mask-image: radial-gradient(ellipse 80% 72% at 50% 50%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 72% at 50% 50%, #000 55%, transparent 100%);
}
.dome.is-dragging { cursor: grabbing; }
.dome:focus-visible { outline-offset: -6px; }
.dome__stage { position: absolute; inset: 0; perspective: 1100px; }
.dome__item {
  position: absolute; top: 50%; left: 50%;
  border-radius: 14px; overflow: hidden; background: #111;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.07);
  will-change: transform, filter;
}
.dome__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
/* =========================================================
   ABOUT — compact split
   ========================================================= */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: center;
  max-width: 1500px; margin-inline: auto; padding: clamp(56px, 7vw, 110px) var(--gutter);
}
.about__gallery {
  height: clamp(460px, 44vw, 640px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.vcol { overflow: hidden; }
.vcol__track { display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; animation: vUp 34s linear infinite; }
.vcol--down .vcol__track { animation-name: vDown; animation-duration: 40s; }
.vcol--slow .vcol__track { animation-duration: 46s; }
.vcol__track img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.about__gallery:hover .vcol__track { animation-play-state: paused; }
@keyframes vUp { to { transform: translateY(-50%); } }
@keyframes vDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; color: var(--ink-dim); }
.about__title { font-weight: 300; font-size: clamp(46px, 5.6vw, 96px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.about__lead { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.38; color: var(--ink); font-weight: 300; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; margin-block: 10px 6px; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.stat dd { font-size: clamp(38px, 3.8vw, 62px); font-weight: 300; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat dt { font-size: 14px; color: var(--ink-mute); }

/* =========================================================
   TESTIMONIALS — two opposite rows + burst cards
   ========================================================= */
.testimonials { padding: clamp(50px, 6vw, 100px) 0 clamp(30px, 4vw, 60px); overflow: hidden; }
.burst { position: absolute; inset: 0 0 auto 0; height: 46%; pointer-events: none; z-index: 0; }
.burst__card { position: absolute; height: auto; border-radius: 14px; object-fit: cover; object-position: top; filter: brightness(.45) saturate(.9); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); will-change: transform; }
.bc-l1 { width: 22vw; aspect-ratio: 16/10; top: 2%; left: -4%; }
.bc-l2 { width: 9vw; aspect-ratio: 3/4; top: 40%; left: 12%; }
.bc-l3 { width: 14vw; aspect-ratio: 16/10; top: 8%; left: 17%; }
.bc-r1 { width: 22vw; aspect-ratio: 16/10; top: 0; right: -4%; }
.bc-r2 { width: 9vw; aspect-ratio: 1; top: 42%; right: 12%; }
.bc-r3 { width: 14vw; aspect-ratio: 16/10; top: 6%; right: 17%; }
.testimonials .section-head { position: relative; z-index: 1; margin-bottom: clamp(36px, 4vw, 60px); }
.testi-rows { position: relative; z-index: 1; display: grid; gap: 16px; }
.testi-row { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.testi-track { display: flex; gap: 16px; width: max-content; padding-block: 4px; padding-inline-end: 16px; animation: marquee 70s linear infinite; }
.testi-track--b { animation-direction: reverse; animation-duration: 80s; }
.testi-row:hover .testi-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.testi {
  direction: rtl; width: clamp(260px, 21vw, 320px); flex: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 22px 24px; border-radius: 20px;
  background: rgba(14,16,30,.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.testi blockquote { font-size: 15px; line-height: 1.55; font-weight: 300; color: var(--ink); }
.testi__who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-mute); }
.testi__avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #1a0f2e; font-weight: 700; font-size: 15px; }
.testi__who strong { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.testi__stars { color: #ffc46b; letter-spacing: 2px; font-size: 13px; }

/* =========================================================
   CONTACT + dot field
   ========================================================= */
.contact { padding: clamp(70px, 8vw, 130px) var(--gutter) clamp(50px, 6vw, 90px); overflow: hidden; }
/* dot field fades softly into the space background on every side — no hard edges */
.dotfield {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 55%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 55%, #000 35%, transparent 85%);
}
.contact::before {
  content: ""; position: absolute; inset: 10% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(28,29,43,.85), transparent 75%);
}
.contact__inner { position: relative; z-index: 2; max-width: 1400px; margin-inline: auto; pointer-events: none; }
.contact__inner > * { pointer-events: auto; }
.contact__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(40px, 5vw, 70px); }
.contact__head .eyebrow { margin-bottom: 14px; }
.contact__title { font-weight: 300; letter-spacing: -.03em; line-height: 1; font-size: clamp(56px, 9vw, 156px); }
.contact__title .grad-text { font-weight: 400; }
.contact__sub { margin-top: 20px; max-width: 34ch; font-size: clamp(19px, 1.8vw, 28px); font-weight: 300; line-height: 1.4; color: var(--ink-dim); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.contact__lead { font-size: clamp(20px, 1.8vw, 28px); font-weight: 300; line-height: 1.4; margin-bottom: 26px; max-width: 26ch; }.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-dim); background: rgba(6,7,13,.4); transition: color .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { color: var(--ink); border-color: var(--g2); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px;
  padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius);
  background: rgba(10,11,20,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -60px rgba(180,124,253,.45);
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; color: var(--ink-dim); }
.field label span { color: var(--g3); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(6,7,13,.65); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 4px rgba(220,127,218,.18); }
.field input[aria-invalid="true"] { border-color: #ff7a8a; }
.field__err { font-size: 13px; color: #ff9aa6; }
.field__err:empty { display: none; }
.field--chips { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.field--chips legend { margin-bottom: 6px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-dim); transition: all .3s; }
.chip input:checked + span { color: #fff; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 0 20px -6px rgba(220,127,218,.6); }
.chip input:focus-visible + span { outline: 2px solid var(--g3); outline-offset: 3px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-dim); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--g2); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.form__submit { width: 100%; }
.form__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-sending .form__spinner { display: inline-block; }
.form.is-sending .form__submit { pointer-events: none; opacity: .75; }
.form__status { font-size: 15px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--cyan); }
.form__status.is-err { color: #ff9aa6; }
.form.is-done > :not(.form__status) { display: none; }
.form.is-done { display: grid; place-items: center; min-height: 320px; }
.form.is-done .form__status { font-size: clamp(22px, 2vw, 30px); font-weight: 300; color: var(--ink); line-height: 1.4; }

/* =========================================================
   FOOTER + floating WA
   ========================================================= */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 32px var(--gutter) 44px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-mute); }
.site-footer__logo { width: 150px; height: auto; }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a:hover { color: var(--ink); }
.wa-float { position: fixed; bottom: 20px; right: 20px; z-index: 75; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%,100% { transform: scale(1.6); opacity: 0; } }

/* ---------- JS pre-animation states ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js .line-inner { transform: translateY(110%); }
.js .hero__badge, .js .hero__typed, .js .hero__lead, .js .hero__ctas, .js .site-header { opacity: 0; }
.js [data-soft] .w { opacity: 0; filter: blur(8px); transform: translateY(.35em); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .svc-cards { grid-template-columns: 1fr; max-width: 620px; }
  .project { grid-template-columns: 1fr; }
  .project--even .project__visual { order: 0; }
  .project__visual { margin-inline: 6%; }
  .contact__grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__gallery { order: 2; height: 440px; }
}
@media (max-width: 767px) {
  :root { --header-h: 68px; --gutter: 24px; }
  body { font-size: 17px; }
  .site-header .pill--glow { display: none; }
  /* mobile header: floating glass capsule, away from the screen edges */
  .site-header { inset: 10px 12px auto 12px; height: 60px; padding: 0 10px 0 16px; border-radius: 20px; background: rgba(10,11,22,.78); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
  .site-header.is-scrolled { border-bottom-color: var(--line); }
  .menu-toggle { width: 44px; min-height: 44px; }
  .site-header__logo img { width: 118px; }
  .more__item { width: 168px; }
  .more__item figcaption { font-size: 12px; }
  .burst { display: none; }
  .menu__bg span { animation: none; filter: blur(50px); }
  .menu__label { -webkit-text-stroke-width: .7px; }
  .menu__list a { font-size: clamp(38px, 11vw, 60px); }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero__title { font-size: clamp(44px, 12.4vw, 70px); }
  .hero__typed { font-size: 21px; }
  .hero__ctas .pill { width: 100%; }
  .hero__ctas { width: 100%; }
  .project__visual { margin-inline: 2% 10%; }
  .project--even .project__visual { margin-inline: 10% 2%; }
  .laptop, .project--even .laptop { transform: rotateY(-10deg) rotateX(5deg); }
  .iphone { width: 27%; inset-inline-start: auto; inset-inline-end: -12%; }
  .project--even .iphone { inset-inline-end: auto; inset-inline-start: -12%; }
  .dome { height: 92svh; }
  .about__gallery { height: 380px; gap: 10px; }
  .stats { gap: 8px; }
  .stat dd { font-size: 36px; }
  .stat dt { font-size: 12px; }
  .bc-l2, .bc-r2 { display: none; }
  .bc-l3, .bc-r3 { display: none; }
  .bc-l1, .bc-r1 { width: 44vw; }
  .hero__title .line-inner { white-space: normal; }
  .testi { width: 78vw; }
  .form { grid-template-columns: 1fr; }
  .contact__title { font-size: clamp(46px, 13vw, 80px); }
  .site-footer { justify-content: center; text-align: center; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .line-inner, .js .hero__badge, .js .hero__typed, .js .hero__lead, .js .hero__ctas, .js .site-header { opacity: 1 !important; transform: none !important; }
  .js .preloader, .grain { display: none; }
  .testi-row, .logos__row { overflow-x: auto; }
  .manifesto__text .w { opacity: 1; }
}

/* Enable accessibility button — force Enable's own "small" size (35×28) whatever size the license serves */
html body[class*="trigger-size"] #enable-toolbar svg#enable-toolbar-trigger-svg { width: 35px; height: 28px; }
html body[class*="trigger-size"] #enable-toolbar #enable-toolbar-trigger .keyboard-shorcut { transform: scale(1); top: 10px; }
html body[class*="trigger-size"].trigger-position-left #enable-toolbar #enable-toolbar-trigger .keyboard-shorcut { left: 44px; }
/* form: privacy notice at collection + optional marketing consent */
.form__notice { font-size: 13px; line-height: 1.55; color: var(--ink-mute); margin: 0; }
.form__notice a { text-decoration: underline; text-underline-offset: 3px; }

/* without JavaScript: hide sections that only exist as JS-rendered/animated content */
html:not(.js):not(.js-ok) :is(.design, .more, .about__gallery, .testimonials, .burst, .stars, .trail) { display: none; }

@media (prefers-reduced-motion: reduce) {
  .burst { display: none; }
  .testi-track [aria-hidden="true"], .logos__track [aria-hidden="true"], .more__track [aria-hidden="true"] { display: none; }
}
@media (max-width: 767px) {
  .site-footer { padding-bottom: 96px; }
}
/* Enable accessibility widget: "stop blinking" pauses every CSS animation on the site */
body.disable-animations *, body.disable-animations *::before, body.disable-animations *::after { animation-play-state: paused !important; }

/* cookie notice */
.cookie-bar {
  position: fixed; z-index: 76; left: 50%; bottom: 18px; width: min(560px, calc(100% - 180px));
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 18px;
  background: rgba(12,13,24,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9), 0 0 30px -12px rgba(180,124,253,.45);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.cookie-bar.is-in { transform: translate(-50%, 0); opacity: 1; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-dim); flex: 1; }
.cookie-bar a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-bar__ok { flex: none; min-height: 40px; padding: 0 20px; border-radius: 99px; font-weight: 600; font-size: 14px; color: #1a0f2e; background: var(--grad); }
.cookie-bar__ok:hover { filter: brightness(1.08); }
@media (max-width: 767px) {
  .cookie-bar { width: calc(100% - 24px); bottom: 84px; padding: 12px 12px 12px 14px; }
  .cookie-bar p { font-size: 12.5px; }
}