/* ==========================================================================
   MD Hussain — Portfolio stylesheet
   Brand colours taken from the portrait: sky blue, mid blue, deep navy, white.
   ========================================================================== */

:root {
  /* brand */
  --sky: #b0d7f8;
  --sky-2: #d6eafc;
  --blue: #6faae4;
  --accent: #1f56d1;
  --accent-2: #3b7be8;
  --navy: #162850;
  --navy-2: #213e78;
  --navy-3: #0f1d3d;
  /* surfaces + text */
  --bg: #f2f8ff;
  --bg-2: #e6f1fd;
  --panel: #ffffff;
  --panel-2: #f6faff;
  --line: #d4e4f6;
  --line-2: #b8d1ee;
  --ink: #10224a;
  --ink-2: #34497a;
  --mute: #5f7299;
  --on-dark: #eaf3ff;
  --on-dark-2: #a9c3e6;
  --glow: rgba(31, 86, 209, 0.28);
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Manrope', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --wrap: 1240px;
  --pad: max(5vw, 18px);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(22, 40, 80, 0.06), 0 12px 32px -12px rgba(22, 40, 80, 0.18);
  --shadow-lg: 0 2px 4px rgba(22, 40, 80, 0.05), 0 40px 80px -30px rgba(22, 40, 80, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; overflow-x: clip; }
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: 16px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: blink 1.4s steps(2, start) infinite; flex: none; }
@keyframes blink { to { opacity: 0.25; } }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #22c55e; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent); font: 600 13px/1.2 var(--mono); }
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--pill { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line-2); color: var(--ink-2); backdrop-filter: blur(6px); }
.eyebrow--pill::before { display: none; }
.eyebrow--light { color: var(--sky); }

.title { margin: 0; font: 400 clamp(40px, 6.2vw, 88px)/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance; color: var(--navy); }
.section { padding: clamp(80px, 9vw, 130px) 0; position: relative; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--split { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.section__note { max-width: 440px; margin: 0; color: var(--mute); font-size: 16px; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -10px var(--glow); }
.btn--accent::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.btn--accent:hover::before { transform: translateY(0); }
.btn--ghost { border: 1.5px solid var(--line-2); color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { border-color: var(--navy); background: #fff; }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--blue), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: end start; padding: var(--pad); background: var(--navy); color: var(--on-dark); }
.loader__inner { width: 100%; }
.loader__tc { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--on-dark-2); font-size: 13px; }
.loader__num { font: 400 clamp(90px, 20vw, 260px)/0.85 var(--display); }
.loader__num small { font-size: 0.3em; color: var(--sky); margin-left: 6px; }
.loader__bar { height: 2px; margin-top: 18px; background: rgba(255, 255, 255, 0.15); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--sky); }
.loader.is-done { pointer-events: none; }
html:not(.has-gsap) .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-gsap .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; }
  .cursor__dot { position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
  .cursor__ring { position: fixed; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(22, 40, 80, 0.35); display: grid; place-items: center; transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s, border-color 0.35s; }
  .cursor__ring span { font: 700 12px var(--mono); color: #fff; opacity: 0; transition: opacity 0.2s; text-transform: uppercase; letter-spacing: 0.08em; }
  .cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--accent); }
  .cursor.is-play .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); }
  .cursor.is-play .cursor__ring span { opacity: 1; }
  .cursor.is-play .cursor__dot { opacity: 0; }
}

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(242, 248, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(22, 40, 80, 0.4); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-right: auto; color: var(--navy); }
.nav__logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--navy); color: #fff; font: 400 20px var(--display); box-shadow: inset 0 -3px 0 var(--accent); }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: color 0.3s, background 0.3s; }
.nav__links a:hover { color: var(--navy); background: var(--sky-2); }
.nav__links a.is-active { color: #fff; background: var(--navy); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); transition: transform 0.4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; background: var(--navy); color: var(--on-dark); clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font: 400 clamp(44px, 13vw, 84px)/1.05 var(--display); text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.menu__links small { font: 600 12px var(--mono); color: var(--sky); }
.menu__foot { margin-top: auto; color: var(--on-dark-2); font-size: 13px; }
.nav.menu-open .nav__brand { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #cfe6fc 0%, var(--sky-2) 55%, var(--bg) 100%); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: linear-gradient(180deg, #000 40%, transparent); mask: linear-gradient(180deg, #000 40%, transparent); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(28px, 4vw, 64px); min-height: 100svh; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 120px var(--pad) 90px; }
.hero__title { margin: 22px 0 24px; font: 400 clamp(64px, 9.4vw, 148px)/0.9 var(--display); text-transform: uppercase; color: var(--navy); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.03em; }
.hero__title .line > span { display: inline-block; }
.hero__title .stroke { color: transparent; -webkit-text-stroke: 2px var(--navy); }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 530px; margin: 0 0 30px; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); }
.hero__lead strong { color: var(--navy); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 34px 0 0; padding: 0; max-width: 560px; }
.hero__trust li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); }
.hero__trust b { display: block; font: 400 20px/1 var(--display); text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.hero__trust span { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); display: block; }
.hero__scroll { position: absolute; left: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 12px; text-transform: uppercase; }
.hero__scroll span { width: 2px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero__visual { position: relative; width: 100%; max-width: 560px; justify-self: end; }
.portrait { position: relative; aspect-ratio: 1; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--sky); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(22, 40, 80, 0.18)); pointer-events: none; }
.float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 800; font-size: 14px; color: var(--navy); white-space: nowrap; }
.float__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 12px var(--body); }
.float--a { top: 9%; left: -9%; }
.float--b { top: 40%; right: -8%; }
.float--b .float__ic { background: var(--accent); }
.float--c { top: 64%; left: -11%; }
.float--c .float__ic { background: linear-gradient(135deg, var(--accent-2), #7b5cff); }
.mini-tl { position: absolute; z-index: 3; right: -4%; bottom: -7%; width: 64%; padding: 12px 12px 14px; border-radius: 16px; background: rgba(15, 29, 61, 0.94); color: var(--on-dark); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.mini-tl__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 10.5px; color: var(--on-dark-2); }
.mini-tl__head > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.mini-tl__head #suiteTc { color: #fff; font-weight: 600; }
.tracks { position: relative; display: grid; gap: 5px; }
.track { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: center; }
.track b { font-size: 9.5px; color: var(--on-dark-2); font-weight: 600; }
.lane { position: relative; height: 20px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); }
.clip { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 6px; border-radius: 4px; font: 700 9.5px var(--body); font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; background: linear-gradient(180deg, #3b7be8, #1f56d1); border: 1px solid rgba(255, 255, 255, 0.15); }
.clip--title { background: linear-gradient(180deg, #7aa9ef, #4b7fd6); }
.clip--wave { background: #2a8f8a repeating-linear-gradient(90deg, transparent 0 2px, rgba(255, 255, 255, 0.45) 2px 3px); }
.playhead { position: absolute; top: -5px; bottom: -3px; left: 28px; width: 2px; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; pointer-events: none; }
.playhead::before { content: ''; position: absolute; top: -4px; left: -5px; width: 12px; height: 9px; background: #ff4d4d; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- Software strip ---------- */
.marquee { overflow: hidden; background: var(--navy); padding: 24px 0; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 16px; padding-right: 32px; margin-right: 32px; position: relative; font: 400 clamp(30px, 3.8vw, 52px)/1 var(--display); text-transform: uppercase; color: #fff; white-space: nowrap; }
.mq::after { content: '✦'; position: absolute; right: -9px; font-size: 18px; color: var(--sky); }
.mq i { display: grid; place-items: center; min-width: clamp(44px, 4.4vw, 60px); height: clamp(44px, 4.4vw, 60px); padding: 0 8px; border-radius: 14px; font: 800 clamp(15px, 1.6vw, 21px)/1 var(--body); font-style: normal; text-transform: none; background: hsl(var(--h) 60% 18%); border: 1.5px solid hsl(var(--h) 85% 68%); color: hsl(var(--h) 95% 80%); box-shadow: 0 0 22px -6px hsl(var(--h) 85% 60% / 0.6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { position: relative; display: flex; flex-direction: column; padding: 18px 18px 26px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.pillar--feature { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.pillar__art { position: relative; height: 180px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--sky-2), var(--sky)); margin-bottom: 22px; }
.pillar--feature .pillar__art { background: linear-gradient(160deg, var(--navy-2), #2c5bb0); }
.pillar__num { position: absolute; top: 30px; right: 30px; font-size: 12px; font-weight: 600; color: var(--navy); padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); }
.pillar h3 { margin: 0 8px 10px; font: 400 clamp(26px, 2.4vw, 34px)/1.02 var(--display); text-transform: uppercase; color: var(--navy); }
.pillar--feature h3 { color: #fff; }
.pillar p { margin: 0 8px 22px; color: var(--mute); font-size: 15px; }
.pillar--feature p { color: var(--on-dark-2); }
.pillar__link { margin: auto 8px 0; font-weight: 800; font-size: 14px; color: var(--accent); }
.pillar--feature .pillar__link { color: var(--sky); }
.pillar__link b { display: inline-block; transition: transform 0.4s var(--ease); }
.pillar:hover .pillar__link b { transform: translateX(6px); }
/* pillar art: video — phone with a real reel + mini timeline */
.pillar__art { height: 210px; }
.pv-phone { position: absolute; left: 9%; top: 14px; bottom: 14px; aspect-ratio: 9 / 16; border-radius: 16px; border: 4px solid var(--navy); overflow: hidden; background: linear-gradient(160deg, var(--navy-2), var(--accent-2)); box-shadow: var(--shadow-lg); z-index: 2; }
.pv-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-cap { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); padding: 3px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); color: #fff; font: 800 9px/1 var(--body); white-space: nowrap; }
.pv-cap b { color: #ffe14d; }
.pv-prog { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.pv-prog i { display: block; height: 100%; width: 40%; background: #fff; animation: prog 6s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.pv-editor { position: absolute; left: max(34%, calc(9% + 110px)); right: 7%; top: 50%; transform: translateY(-50%); padding: 10px; border-radius: 12px; background: var(--navy-3); box-shadow: var(--shadow-lg); }
.pv-ed-top { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.pv-tag { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: hsl(255 55% 18%); border: 1px solid hsl(255 80% 66%); color: hsl(255 95% 80%); font: 800 9px var(--body); }
.pv-tag--ae { background: hsl(265 55% 18%); border-color: hsl(275 80% 66%); color: hsl(275 95% 82%); }
.pv-tc { margin-left: auto; font: 600 9px var(--mono); color: #fff; }
.pv-track { position: relative; height: 13px; margin-top: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); }
.pv-track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(180deg, #3b7be8, #1f56d1); }
.pv-track--t i { background: linear-gradient(180deg, #8fb4ff, #5b84de); }
.pv-track--a i { background: #2a8f8a repeating-linear-gradient(90deg, transparent 0 2px, rgba(255, 255, 255, 0.4) 2px 3px); }
.pv-head { position: absolute; top: 34px; bottom: 6px; left: 10px; width: 2px; background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; animation: scan 6s linear infinite; }
@keyframes scan { from { left: 10px; } to { left: calc(100% - 12px); } }
/* pillar art: web — real site in browser + phone */
.pw-browser { position: absolute; left: 7%; right: 18%; top: 16px; bottom: -10px; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.pw-bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; background: #eef4fc; border-bottom: 1px solid var(--line); }
.pw-bar i { width: 6px; height: 6px; border-radius: 50%; background: #ff6b6b; } .pw-bar i:nth-child(2) { background: #ffc94d; } .pw-bar i:nth-child(3) { background: #4ade80; }
.pw-bar span { margin-left: 6px; font: 500 8.5px var(--mono); color: var(--mute); }
.pw-shot { position: absolute; inset: 20px 0 0; overflow: hidden; }
.pw-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; animation: peek 9s ease-in-out infinite alternate; }
@keyframes peek { from { object-position: 0 0; transform: scale(1.02); } to { object-position: 0 100%; transform: scale(1.08); } }
.pw-phone { position: absolute; right: 6%; bottom: -14px; width: 22%; aspect-ratio: 9 / 18; border-radius: 12px; border: 3px solid var(--navy-3); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); z-index: 2; }
.pw-phone img { width: 100%; height: 100%; object-fit: cover; object-position: 8% 0; }
.pw-score { position: absolute; left: 4%; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font: 800 10px var(--body); color: var(--navy); }
.pw-score b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #22c55e; color: #16a34a; font-size: 9px; }
/* pillar art: AI — Sheets → n8n → AI → YouTube */
.pa-flow { position: absolute; left: 6%; right: 6%; top: 58px; display: flex; align-items: flex-start; }
.pa-node { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 50px; }
.pa-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 18px; animation: pop 4s ease-in-out infinite; }
.pa-ic svg { width: 24px; height: 24px; }
.pa-node small { font: 700 10px var(--body); color: var(--navy); white-space: nowrap; }
.pa-node--sheets .pa-ic { color: #fff; background: #1e9e5a; }
.pa-node--n8n .pa-ic { color: #fff; background: #ea4b71; animation-delay: 1s; }
.pa-node--ai .pa-ic { color: #fff; background: linear-gradient(135deg, var(--accent), #7b5cff); animation-delay: 2s; }
.pa-node--yt .pa-ic { color: #fff; background: #e62d2d; border-radius: 50%; animation-delay: 3s; }
@keyframes pop { 0%, 18%, 100% { transform: scale(1); } 8% { transform: scale(1.14); } }
.pa-link { position: relative; flex: 1 1 0; height: 2px; margin-top: 22px; background: repeating-linear-gradient(90deg, var(--navy) 0 5px, transparent 5px 9px); opacity: 0.55; }
.pa-link i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: hop 4s linear infinite; }
.pa-link:nth-of-type(2) i { animation-delay: 0s; }
.pa-flow .pa-link:nth-child(4) i { animation-delay: 1s; }
.pa-flow .pa-link:nth-child(6) i { animation-delay: 2s; }
@keyframes hop { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 22% { left: calc(100% - 8px); opacity: 1; } 25%, 100% { left: calc(100% - 8px); opacity: 0; } }
.pa-status { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font: 700 11px var(--body); color: var(--navy); white-space: nowrap; box-shadow: var(--shadow); }

/* ---------- Showreel ---------- */
.showreel { background: var(--bg-2); }
.reel-stage { padding: 0 var(--pad); }
.reel { position: relative; display: block; width: 100%; max-width: calc(var(--wrap) + 160px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--navy); border: 1px solid var(--line-2); text-align: left; transform-origin: 50% 0; box-shadow: var(--shadow-lg); }
.reel__poster { position: absolute; inset: 0; background: radial-gradient(70% 90% at 70% 30%, #3b7be8, var(--navy-2) 55%, var(--navy-3)); transition: transform 1.2s var(--ease); }
.reel__poster img { width: 100%; height: 100%; object-fit: cover; }
.reel:hover .reel__poster { transform: scale(1.04); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 61, 0.05), rgba(15, 29, 61, 0.5)); }
.reel__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 400 clamp(56px, 14vw, 220px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); white-space: nowrap; pointer-events: none; }
.reel__play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: clamp(70px, 9vw, 110px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--accent); animation: ring 2.4s var(--ease) infinite; transition: transform 0.4s var(--ease); }
.reel:hover .reel__play { transform: translate(-50%, -50%) scale(1.1); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); } 100% { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); } }
.reel__label { position: absolute; left: 24px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--on-dark); }
.reel__corner { position: absolute; z-index: 2; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, 0.75); }
.reel__corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.reel__corner--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.reel__corner--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.reel__corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* ---------- Video work ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: all 0.3s var(--ease); }
.filter:hover { color: var(--navy); border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter sup { margin-left: 4px; font: 600 10px var(--mono); opacity: 0.6; }
.grid { display: flex; gap: 18px; align-items: flex-start; }
.grid__col { flex: 1 1 0; display: flex; flex-direction: column; gap: 18px; }
.grid__more-wrap { display: flex; justify-content: center; margin-top: 34px; }
.grid__more[hidden] { display: none; }
.card { display: block; width: 100%; margin: 0; text-align: left; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: border-color 0.4s, box-shadow 0.5s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.card.is-hidden { display: none; }
.card__media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sky-2); }
.card--v .card__media { aspect-ratio: 3 / 4; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img, .card:hover .card__poster { transform: scale(1.06); }
.card__poster { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: radial-gradient(90% 80% at 30% 20%, hsl(var(--h) 75% 62%), hsl(var(--h) 60% 32%) 60%, var(--navy-3)); transition: transform 0.9s var(--ease); }
.card__poster > span { font: 400 clamp(20px, 3.2vw, 42px)/0.95 var(--display); text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, 0.95); overflow-wrap: anywhere; }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 29, 61, 0.5)); }
.card__tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--navy); font: 700 11px var(--mono); }
.card__fmt { position: absolute; top: 12px; right: 12px; padding: 5px 8px; border-radius: 6px; background: rgba(15, 29, 61, 0.7); font: 600 10px var(--mono); color: #fff; }
.card__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: all 0.45s var(--ease); box-shadow: var(--shadow); }
.card:hover .card__play, .card:focus-visible .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .card__play { opacity: 0.95; transform: translate(-50%, -50%) scale(0.85); } }
.card__body { display: block; padding: 16px 18px 18px; }
.card__title { display: block; margin: 0 0 6px; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.card__sub { display: block; font: 500 12px var(--mono); color: var(--mute); }
.grid__empty { color: var(--mute); text-align: center; padding: 40px 0; }

/* ---------- Web design ---------- */
.web { background: linear-gradient(180deg, var(--bg) 0%, var(--sky-2) 100%); }
.web__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.browser { position: relative; border-radius: 20px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); margin-bottom: 60px; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.browser__bar i:first-child { background: #ff6b6b; } .browser__bar i:nth-child(2) { background: #ffc94d; } .browser__bar i:nth-child(3) { background: #4ade80; }
.browser__url { margin-left: 12px; flex: 1; max-width: 260px; padding: 5px 12px; border-radius: 999px; background: var(--bg); font-size: 11.5px; color: var(--mute); }
.browser__page { position: relative; padding: 18px 22px 26px; overflow: hidden; border-radius: 0 0 20px 20px; background: linear-gradient(180deg, #f6faff, #fff); min-height: 340px; }
.bp-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.bp-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--navy); }
.bp-links { display: flex; gap: 10px; margin-left: auto; }
.bp-links i { width: 40px; height: 7px; border-radius: 4px; background: var(--line-2); }
.bp-cta { width: 66px; height: 24px; border-radius: 999px; background: var(--accent); }
.bp-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center; margin-bottom: 24px; }
.bp-copy { display: grid; gap: 9px; }
.bp-h { height: 20px; border-radius: 6px; background: var(--navy); width: 92%; }
.bp-h--s { width: 64%; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.bp-p { height: 8px; border-radius: 4px; background: var(--line-2); width: 86%; }
.bp-p + .bp-p { width: 70%; }
.bp-btns { display: flex; gap: 8px; margin-top: 8px; }
.bp-btns i { width: 78px; height: 26px; border-radius: 999px; background: var(--accent); }
.bp-btns i + i { background: transparent; border: 2px solid var(--line-2); }
.bp-img { aspect-ratio: 1.1; border-radius: 14px; background: linear-gradient(135deg, var(--sky), var(--blue)); position: relative; overflow: hidden; }
.bp-img span { position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.bp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp-cards i { height: 64px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.bp-cursor { position: absolute; left: 64%; top: 70%; width: 18px; height: 18px; background: var(--navy); clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 92%, 44% 66%, 80% 64%); animation: wander 7s ease-in-out infinite; }
@keyframes wander { 0%, 100% { left: 64%; top: 70%; } 30% { left: 22%; top: 58%; } 55% { left: 80%; top: 14%; } 80% { left: 40%; top: 88%; } }
.code { border-radius: 16px; background: var(--navy-3); overflow: hidden; box-shadow: var(--shadow-lg); }
.code--float { position: absolute; right: -6%; bottom: -60px; width: min(360px, 62%); }
.code__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.code__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.code__bar span { margin-left: 8px; color: var(--on-dark-2); font-size: 11px; }
.code pre { margin: 0; padding: 14px 16px 16px; font-size: 12px; line-height: 1.7; min-height: 168px; overflow: hidden; }
.code code { white-space: pre; color: #c9d8f2; }
.code .k { color: #ff9ab0; } .code .s { color: #9fd3ff; } .code .f { color: #c7b2ff; } .code .c { color: #6c80a8; } .code .n { color: #ffcf8a; }
.code .caret { display: inline-block; width: 7px; height: 1.1em; vertical-align: -0.2em; background: var(--sky); animation: blink 1s steps(2, start) infinite; }
.score { position: absolute; left: -5%; top: 22%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.score b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #22c55e; color: #16a34a; font-size: 15px; }
.score span { font-weight: 800; font-size: 13px; color: var(--navy); }
.web-list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line-2); }
.web-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.web-list li::before { content: '✓'; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.web-list b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 2px; }
.web-list span { color: var(--mute); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; }
.chips--soft li { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); font: 600 12.5px var(--mono); }
.sites { margin-top: 70px; }
.sites__head { margin: 0 0 18px; font: 400 clamp(26px, 2.6vw, 36px)/1 var(--display); text-transform: uppercase; color: var(--navy); }
.sites__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.site { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.site:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.site__frame { display: block; margin: 14px 14px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.site__bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.site__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.site__bar i:first-child { background: #ff6b6b; } .site__bar i:nth-child(2) { background: #ffc94d; } .site__bar i:nth-child(3) { background: #4ade80; }
.site__bar em { margin-left: 10px; font: 500 11px var(--mono); font-style: normal; color: var(--mute); }
.site__img { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--sky), var(--blue)); overflow: hidden; }
.site__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.site:hover .site__img img { transform: scale(1.04); }
.site__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.site__tags { font: 600 12px var(--mono); color: var(--accent); }
.site__body > b { font: 400 clamp(24px, 2.4vw, 32px)/1.05 var(--display); text-transform: uppercase; color: var(--navy); }
.site__desc { color: var(--mute); font-size: 15px; }
.site__visit { margin-top: 6px; font-weight: 800; font-size: 14px; color: var(--accent); }
.site__visit b { display: inline-block; transition: transform 0.4s var(--ease); }
.site:hover .site__visit b { transform: translate(3px, -3px); }
.sites__grid--one { grid-template-columns: minmax(0, 1fr); }
.sites__grid--one .site { flex-direction: row; align-items: center; }
.sites__grid--one .site__frame { flex: 0 0 58%; margin: 18px; }
.sites__grid--one .site__body { padding: 24px 32px 24px 14px; }
.sites__grid--one .site__body > b { font-size: clamp(30px, 3.2vw, 44px); }
@media (max-width: 760px) {
  .sites__grid--one .site { flex-direction: column; align-items: stretch; }
  .sites__grid--one .site__frame { flex: none; margin: 14px 14px 0; }
  .sites__grid--one .site__body { padding: 20px 22px 22px; }
}
.web__proof { display: flex; align-items: center; gap: 18px; margin-top: clamp(40px, 6vw, 70px); padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.web__proof-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; font: 800 14px var(--mono); }
.web__proof p { margin: 0; flex: 1; color: var(--ink-2); }
.web__proof strong { color: var(--navy); }

/* ---------- AI & Automation (dark navy band) ---------- */
.ai { background: radial-gradient(50% 50% at 15% 15%, rgba(59, 123, 232, 0.35), transparent 70%), radial-gradient(40% 40% at 90% 85%, rgba(123, 92, 255, 0.25), transparent 70%), var(--navy); color: var(--on-dark); }
.ai .title { color: #fff; }
.ai .section__note { color: var(--on-dark-2); }
.hl { background: linear-gradient(90deg, var(--sky), #8fb4ff 50%, #b9a3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow { display: flex; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.flow__node { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.flow__node b { font-size: 14px; line-height: 1.3; color: #fff; }
.flow__node small { font-size: 11px; color: var(--on-dark-2); }
.flow__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: var(--navy-3); border: 1px solid rgba(255, 255, 255, 0.18); font: 800 17px var(--body); color: #fff; }
.flow__node--ai { border-color: rgba(143, 180, 255, 0.7); box-shadow: 0 0 40px -10px rgba(143, 180, 255, 0.7); }
.flow__node--ai .flow__ic { background: linear-gradient(135deg, var(--accent-2), #7b5cff); border: 0; }
.flow__node--done .flow__ic { background: #0f3b2a; border-color: #4ade80; color: #4ade80; }
.flow__link { flex: 0 0 clamp(18px, 3vw, 44px); height: 2px; position: relative; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 6px, transparent 6px 10px); }
.flow__link i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: travel 1.6s linear infinite; }
.flow__link:nth-of-type(4) i { animation-delay: 0.4s; } .flow__link:nth-of-type(6) i { animation-delay: 0.8s; } .flow__link:nth-of-type(8) i { animation-delay: 1.2s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
@keyframes travelv { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 8px); opacity: 0; } }
.flow__caption { margin: 12px 0 clamp(36px, 5vw, 56px); color: var(--on-dark-2); font-size: 12px; text-align: center; }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ai-card { position: relative; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s; }
.ai-card:hover { transform: translateY(-5px); border-color: rgba(143, 180, 255, 0.6); background: rgba(255, 255, 255, 0.08); }
.ai-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.ai-card__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--accent-2), #7b5cff); font: 800 19px var(--body); color: #fff; }
.ai-card__tag { font-size: 11px; color: var(--on-dark-2); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); }
.ai-card h3 { margin: 0 0 8px; font: 400 clamp(24px, 2.2vw, 30px)/1.05 var(--display); text-transform: uppercase; color: #fff; }
.ai-card p { margin: 0; color: var(--on-dark-2); font-size: 15px; }

/* ---------- Toolkit ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.tool { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color 0.4s, transform 0.5s var(--ease); }
.tool:hover { border-color: hsl(var(--h) 70% 55% / 0.6); transform: translateY(-4px); }
.tool__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: hsl(var(--h) 60% 16%); border: 1.5px solid hsl(var(--h) 80% 60%); color: hsl(var(--h) 95% 80%); font: 800 19px var(--body); }
.tool__txt h3 { margin: 0 0 2px; font-size: 17px; color: var(--navy); }
.tool__txt p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.45; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: svc; }
.svc li { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(20px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line-2); counter-increment: svc; overflow: hidden; isolation: isolate; }
.svc li::before { content: counter(svc, decimal-leading-zero); font: 600 13px var(--mono); color: var(--mute); transition: color 0.4s; }
.svc li::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(176, 215, 248, 0.7), transparent 75%); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.svc li:hover::after { transform: scaleX(1); }
.svc li:hover::before { color: var(--accent); }
.svc h3 { margin: 0; font: 400 clamp(24px, 3.2vw, 44px)/1 var(--display); text-transform: uppercase; color: var(--navy); transition: transform 0.5s var(--ease); }
.svc li:hover h3 { transform: translateX(10px); }
.svc p { margin: 0; color: var(--mute); max-width: 460px; }

/* ---------- Process ---------- */
.process { position: relative; background: var(--bg); border-block: 1px solid var(--line); overflow: hidden; }
.process__pin { display: flex; align-items: center; gap: clamp(40px, 6vw, 90px); min-height: 100svh; padding: 110px var(--pad); }
.process__intro { flex: 0 0 min(420px, 34vw); position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--bg); box-shadow: 40px 0 40px var(--bg); }
.process__intro::before { content: ''; position: absolute; z-index: -1; top: -50vh; bottom: -50vh; right: 0; left: -50vw; background: var(--bg); }
.process__intro .title { font-size: clamp(40px, 5vw, 70px); margin-bottom: 20px; }
.process__track { display: flex; gap: 22px; will-change: transform; }
.step { flex: 0 0 min(400px, 70vw); min-height: 340px; display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step:nth-child(even) { background: var(--navy); border-color: var(--navy); }
.step:nth-child(even) h3 { color: #fff; } .step:nth-child(even) p { color: var(--on-dark-2); } .step:nth-child(even) .step__tc { color: var(--sky); }
.step::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--accent)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.step__tc { color: var(--accent); font-size: 12px; font-weight: 600; }
.step h3 { margin: auto 0 12px; font: 400 clamp(32px, 3.2vw, 44px)/1 var(--display); text-transform: uppercase; color: var(--navy); }
.step p { margin: 0; color: var(--mute); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: clamp(60px, 8vw, 110px) var(--pad); gap: 20px; }
.stat { border-left: 3px solid var(--sky); padding-left: 20px; }
.stat b { display: block; font: 400 clamp(54px, 7vw, 100px)/1 var(--display); color: var(--navy); }
.stat b small { font-size: 0.5em; color: var(--accent); margin-left: 2px; }
.stat > span { color: var(--mute); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #d3e9fd 100%); border-top: 1px solid var(--line); }
.contact__title { margin: 0 0 clamp(40px, 6vw, 72px); font: 400 clamp(56px, 9.5vw, 150px)/0.9 var(--display); text-transform: uppercase; color: var(--navy); }
.contact__title em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.brief { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.brief__head { margin: 0 0 20px; font-weight: 800; font-size: 19px; color: var(--navy); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--panel-2); color: var(--ink); font: 16px var(--body); transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 86, 209, 0.14); }
.field input::placeholder, .field textarea::placeholder { color: #8fa0c0; }
.brief__error { margin: 0 0 14px; color: #c42b2b; font-size: 14px; font-weight: 600; }
.brief__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.direct { display: flex; flex-direction: column; }
.direct__me { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); }
.direct__me img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.direct__me b { display: block; font-size: 18px; color: var(--navy); }
.direct__me span { font-size: 13px; color: var(--mute); }
.direct__row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-2); transition: padding 0.4s var(--ease); }
.direct__row:first-of-type { border-top: 1px solid var(--line-2); }
.direct__row small { font: 600 12px var(--mono); color: var(--mute); text-transform: uppercase; }
.direct__row span { font-size: clamp(17px, 1.7vw, 21px); font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
.direct__row b { color: var(--accent); transition: transform 0.4s var(--ease); }
.direct__row:hover { padding-left: 10px; }
.direct__row:hover b { transform: translateX(6px); }
.direct__socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.direct__socials a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 700; color: var(--navy); transition: all 0.3s; }
.direct__socials a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.direct__loc { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--mute); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-dark); padding: 30px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer__name { margin: 0; font: 400 22px var(--display); text-transform: uppercase; }
.footer__meta { margin: 0; color: var(--on-dark-2); font-size: 13px; }
.footer__top { font-size: 13px; color: var(--sky); }
.footer__top:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 29, 61, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__box { position: relative; width: min(1100px, 100%); max-height: calc(100svh - 40px); display: flex; flex-direction: column; color: var(--on-dark); }
.modal--v .modal__box { width: min(420px, 100%, calc((100svh - 170px) * 0.5625)); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.modal__head h3 { margin: 0; font-size: clamp(18px, 2vw, 24px); color: #fff; }
.modal__cat { margin: 0 0 4px; color: var(--sky); font-size: 12px; }
.modal__close { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 16px; transition: all 0.3s; }
.modal__close:hover { background: #fff; color: var(--navy); }
.modal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - 160px); border-radius: 18px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, 0.15); }
.modal--v .modal__frame { aspect-ratio: 9 / 16; }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__frame iframe.is-scaled { inset: auto; top: 0; left: 0; transform-origin: 0 0; }
.modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 12px; }
.modal__note { margin: 0; font-size: 13px; color: var(--on-dark-2); }
.modal__note a { color: var(--sky); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.modal__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--on-dark-2); background: var(--navy-3); }
.modal__empty b { display: block; margin-bottom: 6px; color: #fff; font-size: 18px; }
.modal__tools { margin: 0; color: var(--on-dark-2); font-size: 12px; }

/* ---------- Animation helpers (only when GSAP loaded) ---------- */
.has-gsap .hero__title .line > span { transform: translateY(110%); }
.has-gsap [data-reveal] { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 120px; min-height: auto; padding-bottom: 110px; }
  .hero__visual { justify-self: center; max-width: 520px; margin-top: 10px; }
  .hero__scroll { display: none; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .web__layout { grid-template-columns: minmax(0, 1fr); }
  .browser { margin-right: 4%; }
}
@media (max-width: 900px) {
  .pillars__grid, .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars__grid { max-width: 560px; }
  .process__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: 90px var(--pad); }
  .process__intro { flex: none; box-shadow: none; }
  .process__intro::before { display: none; }
  .process__track { flex-direction: column; }
  .step { flex: none; min-height: 0; }
  .step h3 { margin-top: 36px; }
  .step::after { transform: scaleX(1); opacity: 0.7; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .svc li { grid-template-columns: 40px minmax(0, 1fr); }
  .svc p { grid-column: 2; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow__node { flex-direction: row; text-align: left; gap: 14px; padding: 12px 14px; }
  .flow__node .flow__ic { margin: 0; flex: none; }
  .flow__node small { margin-left: auto; }
  .flow__link { flex: 0 0 26px; width: 2px; height: 26px; margin-left: 35px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0 6px, transparent 6px 10px); }
  .flow__link i { left: -3px; animation-name: travelv; }
}
@media (max-width: 600px) {
  .nav { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .nav__cta { display: none; }
  .hero__inner { padding-top: 100px; padding-bottom: 90px; }
  .hero__title { font-size: clamp(64px, 21vw, 100px); }
  .hero__title .stroke { -webkit-text-stroke-width: 1.5px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__trust { grid-template-columns: minmax(0, 1fr); }
  .hero__trust li { display: flex; align-items: baseline; gap: 12px; }
  .hero__trust b { margin: 0; min-width: 52px; }
  .hero__visual { width: 88%; margin-top: 44px; }
  .portrait { border-radius: 24px; border-width: 4px; }
  .float { font-size: 12px; padding: 7px 12px 7px 7px; gap: 7px; }
  .float__ic { width: 26px; height: 26px; font-size: 10px; }
  .float--a { left: -8%; } .float--b { right: -10%; } .float--c { left: -10%; }
  .mini-tl { width: 78%; right: -8%; bottom: -12%; padding: 9px; }
  .clip { font-size: 8.5px; padding: 0 4px; }
  .grid, .grid__col { gap: 12px; }
  .card { border-radius: 14px; }
  .card__body { padding: 12px 12px 14px; }
  .card__title { font-size: 14px; }
  .card__sub { font-size: 10.5px; }
  .card__tag { font-size: 9.5px; top: 8px; left: 8px; padding: 4px 8px; }
  .card__fmt { display: none; }
  .card__play { width: 44px; height: 44px; }
  .reel { border-radius: 18px; }
  .reel__corner { width: 16px; height: 16px; }
  .browser { margin-right: 0; margin-bottom: 120px; }
  .browser__page { min-height: 0; padding: 14px 14px 18px; }
  .bp-cards i { height: 40px; }
  .code--float { right: -2%; width: 84%; bottom: -100px; }
  .score { left: -2%; top: 30%; }
  .web__proof { flex-direction: column; align-items: flex-start; }
  .direct__row { grid-template-columns: minmax(0, 1fr) auto; }
  .direct__row small { grid-column: 1 / -1; margin-bottom: -10px; }
  .brief__actions .btn { flex: 1 1 100%; }
  .stat { padding-left: 14px; }
  .mq { gap: 12px; padding-right: 22px; margin-right: 22px; }
  .marquee { padding: 18px 0; }
  .marquee::before, .marquee::after { width: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
}
