/* =========================================================
   Daniil Tsymbal — Portfolio
   ========================================================= */

:root {
  --bg: #06060a;
  --text: #f4f2ff;
  --muted: #a6a3bc;
  --line: rgba(255, 255, 255, 0.09);
  --a1: #a78bfa;
  --a2: #22d3ee;
  --a3: #f472b6;
  --grad: linear-gradient(100deg, #a78bfa 0%, #22d3ee 48%, #f472b6 100%);
  --grad-v: linear-gradient(180deg, #a78bfa 0%, #22d3ee 50%, #f472b6 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
  interpolate-size: allow-keywords;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.js:not(.is-loaded) body, .menu-open body { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: #8b5cf6; color: #fff; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 4px; border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.grad {
  font-style: normal;
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Background layers ---------- */
#webgl {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease 0.2s;
}
.is-loaded #webgl { opacity: 1; }
.no-webgl #webgl { display: none; }

.bg-fallback {
  position: fixed; inset: 0; z-index: 0; display: none; pointer-events: none;
  background:
    radial-gradient(38% 48% at 74% 38%, rgba(139, 92, 246, 0.38), transparent 70%),
    radial-gradient(30% 40% at 18% 82%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(26% 34% at 90% 90%, rgba(244, 114, 182, 0.18), transparent 70%);
}
.no-js .bg-fallback, .no-webgl .bg-fallback { display: block; }

.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(6, 6, 10, 0.75) 100%);
}

.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  z-index: 6000; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); }
  80% { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

main, .footer { position: relative; z-index: 1; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 5000;
  display: none; place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--ease-io) 0.15s;
}
.js .loader { display: grid; }
.is-loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  transition: opacity 0.5s ease, transform 0.9s var(--ease);
}
.is-loaded .loader__inner { opacity: 0; transform: translateY(-50px); }
.loader__mark {
  font-family: var(--font-display); font-weight: 800; font-size: 72px; letter-spacing: -0.05em; line-height: 1;
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 2s ease-in-out infinite alternate;
}
.loader__bar { width: 220px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.loader__count { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.25em; color: var(--muted); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 7000; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor__ring-in {
  width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.5s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}
.cursor__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #06060a;
  opacity: 0; transition: opacity 0.25s ease;
}
.cursor.is-link .cursor__ring-in { transform: scale(1.5); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); }
.cursor.has-label .cursor__ring-in { transform: scale(2.3); background: #fff; border-color: transparent; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring-in { transform: scale(0.75); }
.cursor.is-hidden { opacity: 0; }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1.05em 1.8em; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
}
.btn svg { transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--small { padding: 0.8em 1.4em; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--grad); transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
[data-magnetic] { display: inline-flex; transition: transform 0.6s var(--ease); will-change: transform; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.section .eyebrow::before, .why .eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--grad); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.035em;
  max-width: 16ch;
}
.section-sub { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; }
.section-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(48px, 8vh, 96px); }
.section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 22px; }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .section-title { max-width: 20ch; }

/* ---------- Reveal system ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(46px); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.3s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].in-view { opacity: 1; transform: none; filter: none; }

.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line__in { display: block; }
.js .line__in { transform: translateY(115%) rotate(5deg); transform-origin: left bottom; transition: transform 1.4s var(--ease); }
.js .line:nth-child(2) .line__in { transition-delay: 0.1s; }
.js .line:nth-child(3) .line__in { transition-delay: 0.2s; }
.is-loaded .hero .line__in, .in-view .line__in { transform: none; }
.is-loaded .hero .line:nth-child(1) .line__in { transition-delay: 0.35s; }
.is-loaded .hero .line:nth-child(2) .line__in { transition-delay: 0.45s; }
.is-loaded .hero .line:nth-child(3) .line__in { transition-delay: 0.55s; }

.js [data-hero-fade] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
}
.is-loaded [data-hero-fade] { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 1ms + 450ms); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: transform 0.7s var(--ease), padding 0.5s var(--ease), opacity 1s ease;
}
.js .nav { opacity: 0; }
.is-loaded .nav { opacity: 1; transition-delay: 0s, 0s, 0.9s; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 6, 10, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.5s ease;
}
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.nav__logo-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em;
  background: var(--grad); background-size: 200% 100%; color: #06060a;
  animation: gradShift 5s ease-in-out infinite alternate;
}
.nav__links {
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.3s ease, background-color 0.3s ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); position: relative; z-index: 2; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform 0.5s var(--ease); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .nav { transform: none; }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; padding: 0 var(--pad);
  background: rgba(6, 6, 10, 0.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  clip-path: circle(0% at calc(100% - 46px) 46px);
  visibility: hidden;
  transition: clip-path 0.9s var(--ease-io), visibility 0s linear 0.9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu a {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 10vw, 64px); line-height: 1.1; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.menu-open .menu a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 250ms); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 60px; }
.hero__inner { position: relative; will-change: transform, opacity; }
.hero__eyebrow { padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); letter-spacing: 0.14em; font-size: 12px; color: var(--text); }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4ade80; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(46px, 7vw, 116px); line-height: 0.98; letter-spacing: -0.045em;
  margin: 0.32em 0 0.38em;
  text-shadow: 0 10px 60px rgba(6, 6, 10, 0.4);
}
.hero__lead { max-width: 50ch; font-size: clamp(16px, 1.35vw, 20px); color: #cfcce0; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 9vh, 96px); padding-top: 28px; border-top: 1px solid var(--line);
  max-width: 980px;
}
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.6vw, 54px); letter-spacing: -0.03em; line-height: 1; }
.stat__unit { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-left: 5px; color: var(--a2); }
.stat p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.scroll-hint {
  position: absolute; right: var(--pad); bottom: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint span { writing-mode: vertical-rl; }
.scroll-hint i { width: 1px; height: 64px; background: linear-gradient(var(--text), transparent); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  padding: 26px 0; margin: 20px 0;
  border-block: 1px solid var(--line);
  background: rgba(6, 6, 10, 0.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: rotate(-2deg) scale(1.06);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; gap: 44px; padding-right: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 58px); letter-spacing: -0.03em; white-space: nowrap;
}
.marquee__group span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.55); }
.marquee__group i { font-style: normal; font-size: 0.6em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee--big { transform: rotate(2deg) scale(1.06); padding: 34px 0; }
.marquee--big .marquee__group { font-size: clamp(40px, 7vw, 110px); }
.no-js .marquee__track, .reduced .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(110px, 17vh, 190px) 0; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-wrap { height: 100%; }
.card {
  position: relative; height: 100%; min-height: 410px;
  display: flex; flex-direction: column;
  padding: 32px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: border-color 0.4s ease;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.08) 40%, transparent 65%);
  opacity: 0; transition: opacity 0.5s ease;
}
.card:hover { border-color: rgba(255, 255, 255, 0.22); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  color: var(--a2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), color 0.4s ease;
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); color: var(--a3); }
.card__num { font-family: var(--font-display); font-size: 14px; color: var(--muted); }
.card h3 { margin: auto 0 12px; padding-top: 56px; font-family: var(--font-display); font-size: 27px; letter-spacing: -0.02em; line-height: 1.1; }
.card p { color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: #d8d5ea; }

/* ---------- Manifesto ---------- */
.manifesto .eyebrow { margin-bottom: 36px; }
.manifesto__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1.14; letter-spacing: -0.03em;
  max-width: 1180px;
}
.manifesto__text em { font-style: normal; }
.w { opacity: 0.13; transition: opacity 0.45s ease; }
.w.is-on { opacity: 1; }
.w.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Why me (horizontal) ---------- */
.why { position: relative; z-index: 1; }
.why__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 5vh, 56px);
}
.why__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.why__head > div { display: flex; flex-direction: column; gap: 20px; }
.why__head .section-title { max-width: none; font-size: clamp(36px, 4.6vw, 72px); }
.why__hint { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; white-space: nowrap; }
.why__hint span { display: inline-block; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.why__track { position: relative; display: flex; align-items: stretch; gap: 24px; width: max-content; padding: 0 var(--pad); will-change: transform; }
.why-card {
  --h: 262;
  position: relative; flex: 0 0 auto; overflow: hidden;
  width: clamp(300px, 31vw, 450px); height: clamp(340px, 54vh, 520px);
  padding: clamp(28px, 3vw, 44px); border-radius: 32px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  will-change: transform;
}
.why-card::before {
  content: ""; position: absolute; width: 75%; aspect-ratio: 1; right: -22%; top: -26%; border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--h) 90% 66% / 0.5), transparent 65%);
  pointer-events: none;
}
.why-card > * { position: relative; }
.why-card__num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(84px, 9vw, 140px); line-height: 0.8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
}
.why-card h3 { margin: auto 0 14px; font-family: var(--font-display); font-size: clamp(25px, 2.2vw, 34px); line-height: 1.08; letter-spacing: -0.025em; }
.why-card p { color: var(--muted); font-size: 16px; }
.why__end { flex: 0 0 auto; width: clamp(300px, 30vw, 430px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 0 10px 0 30px; }
.why__end h3 { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 58px); line-height: 1.02; letter-spacing: -0.035em; }
.why__end p { color: var(--muted); }
.why__bar { margin: 0 var(--pad); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.why__bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* Fallback: native swipe carousel (mobile, reduced motion, no JS) */
.no-hscroll .why, .no-js .why { height: auto !important; }
.no-hscroll .why__pin, .no-js .why__pin { position: relative; height: auto; padding: clamp(110px, 17vh, 190px) 0; overflow: visible; }
.no-hscroll .why__track, .no-js .why__track {
  width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 12px; transform: none !important;
}
.no-hscroll .why__track::-webkit-scrollbar { display: none; }
.no-hscroll .why-card, .no-js .why-card { width: min(82vw, 440px); height: auto; min-height: 400px; scroll-snap-align: center; transform: none !important; }
.no-hscroll .why__end, .no-js .why__end { width: min(82vw, 440px); scroll-snap-align: center; }
.no-hscroll .why__bar, .no-js .why__bar { display: none; }
.no-hscroll .why__hint, .no-js .why__hint { display: none; }

/* ---------- Work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.project { display: flex; flex-direction: column; gap: 20px; }
.work__grid .project:nth-child(2) { margin-top: 90px; }
.work__grid .project:nth-child(3) { margin-top: 30px; }
.project__media {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: #111;
  container-type: inline-size;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  will-change: transform;
}
.project__info { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.project__info h3 { font-family: var(--font-display); font-size: 23px; letter-spacing: -0.02em; transition: color 0.3s ease; }
.project__info p { color: var(--muted); font-size: 14px; }
.project:hover .project__info h3 { color: var(--a2); }
.project__tag { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Mock "screenshots" (pure CSS, sized in cqw so they scale with the card).
   Each concept has its own layout, palette and type so no two look alike. */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; font-family: var(--font-body); }
.mock__bar { display: flex; align-items: center; gap: 1.3cqw; padding: 2.4cqw 3cqw; background: rgba(0, 0, 0, 0.35); font-size: 2.3cqw; color: rgba(255, 255, 255, 0.55); }
.mock__bar i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.mock__bar span { margin-left: 2cqw; padding: 0.6cqw 3cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }

/* 1 — Fade & Co.: barbershop, phone mockup, deep green + brass, serif type */
.mock--barber {
  display: block; color: #f3ead9;
  background:
    radial-gradient(70% 80% at 80% 40%, rgba(212, 180, 131, 0.16), transparent 60%),
    linear-gradient(160deg, #163a2c 0%, #0b1f17 100%);
}
.barber__pole {
  position: absolute; left: 7cqw; top: 13cqw; bottom: 13cqw; width: 4cqw; border-radius: 2cqw;
  /* -45deg stripes repeat every 8cqw, i.e. every 8 * sqrt(2) = 11.31cqw vertically, so the tile loops seamlessly */
  background: repeating-linear-gradient(-45deg, #c8102e 0 2cqw, #f3ead9 2cqw 4cqw, #1d3f8f 4cqw 6cqw, #f3ead9 6cqw 8cqw) 0 0 / 100% 11.31cqw;
  box-shadow: inset 1cqw 0 1.2cqw rgba(0, 0, 0, 0.35), inset -1cqw 0 1.2cqw rgba(0, 0, 0, 0.35);
  animation: barberPole 2.6s linear infinite;
}
.barber__pole::before, .barber__pole::after {
  content: ""; position: absolute; left: -0.7cqw; right: -0.7cqw; height: 2.4cqw; border-radius: 1.2cqw;
  background: linear-gradient(90deg, #7a5c30, #ecd3a0 45%, #7a5c30);
}
.barber__pole::before { top: -1.8cqw; }
.barber__pole::after { bottom: -1.8cqw; }
@keyframes barberPole { to { background-position: 0 11.31cqw; } }
.barber__word { position: absolute; left: 16cqw; top: 14cqw; margin: 0; font-family: var(--font-serif); font-size: 7cqw; line-height: 0.95; }
.barber__word em { color: #d4b483; }
.barber__feat { position: absolute; left: 16cqw; top: 35cqw; display: grid; gap: 1.6cqw; margin: 0; padding: 0; font-size: 2cqw; font-weight: 600; color: rgba(243, 234, 217, 0.75); }
.barber__feat li { display: flex; align-items: center; gap: 1.2cqw; }
.barber__feat li::before { content: ""; width: 1cqw; height: 1cqw; border-radius: 50%; background: #d4b483; }
.barber__phone {
  position: absolute; right: 9cqw; top: 8cqw; width: 37cqw; height: 80cqw; padding: 1.4cqw;
  border-radius: 6.5cqw; background: #0c0c0c;
  box-shadow: 0 0 0 0.35cqw #2e2e2e, 0 5cqw 10cqw rgba(0, 0, 0, 0.55);
  transform: rotate(-6deg); transition: transform 1.1s var(--ease);
}
.project:hover .barber__phone { transform: rotate(0deg) translateY(-2cqw); }
.barber__screen { height: 100%; padding: 5cqw 3.4cqw 0; border-radius: 5.2cqw; overflow: hidden; background: #f4ede1; color: #16271f; }
.barber__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4cqw; }
.barber__top b { font-size: 2.1cqw; letter-spacing: 0.18em; }
.barber__top i { width: 3.2cqw; height: 1.5cqw; border-top: 0.35cqw solid; border-bottom: 0.35cqw solid; }
.barber__screen small { display: block; font-size: 1.7cqw; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.barber__screen strong { display: block; margin: 1.6cqw 0 3.6cqw; font-family: var(--font-serif); font-weight: 400; font-size: 5cqw; line-height: 0.98; }
.barber__screen strong em { color: #2f6b4f; }
.barber__screen p { margin: 0 0 1.6cqw; font-size: 1.9cqw; font-weight: 700; }
.barber__slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2cqw; margin-bottom: 2.4cqw; }
.barber__slots span { padding: 1.3cqw 0; border: 0.25cqw solid rgba(22, 39, 31, 0.18); border-radius: 1.4cqw; text-align: center; font-size: 2cqw; font-weight: 700; }
.barber__slots .is-on { background: #16271f; border-color: #16271f; color: #f4ede1; }
.barber__cta { padding: 1.9cqw 0; border-radius: 99px; text-align: center; background: #c8102e; color: #fff; font-size: 2.1cqw; font-weight: 700; }
.barber__review { margin-top: 3cqw; padding: 2cqw; border-radius: 2cqw; background: #e9dfcd; font-family: var(--font-serif); font-style: italic; font-size: 2.4cqw; }
.barber__review b { display: block; margin-bottom: 0.6cqw; font-family: var(--font-body); font-style: normal; font-size: 1.8cqw; letter-spacing: 0.1em; color: #b7791f; }
.barber__toast {
  position: absolute; left: 13cqw; bottom: 13cqw; z-index: 1; display: flex; align-items: center; gap: 1.4cqw;
  padding: 1.6cqw 2.8cqw 1.6cqw 1.6cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.95); color: #16271f;
  font-size: 2.2cqw; font-weight: 700; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.4);
  animation: toastFloat 5s ease-in-out infinite;
}
.barber__toast span { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: #2f9e62; color: #fff; font-size: 2cqw; }
@keyframes toastFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4cqw); } }

/* 2 — Brightwater Plumbing: light browser, clean blue, lead form */
.mock--plumb { background: linear-gradient(180deg, #f7faff 0%, #e6efff 100%); color: #0b1b3a; }
.mock--plumb .mock__bar { background: #dfe7f3; color: #5b6b85; }
.mock--plumb .mock__bar i { background: #b9c5d8; }
.mock--plumb .mock__bar span { background: #fff; }
.plumb__body { flex: 1; display: flex; flex-direction: column; padding: 3.4cqw 5cqw 0; }
.plumb__nav { display: flex; align-items: center; gap: 3.2cqw; font-size: 2.1cqw; color: #4a5a78; }
.plumb__nav b { display: flex; align-items: center; gap: 1.4cqw; margin-right: auto; font-size: 2.8cqw; font-weight: 800; letter-spacing: -0.02em; color: #0b1b3a; }
.plumb__nav b i { width: 2.5cqw; height: 2.5cqw; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #38bdf8, #2563eb); }
.plumb__nav em { padding: 1.1cqw 2.2cqw; border-radius: 99px; background: #fbbf24; color: #0b1b3a; font-style: normal; font-weight: 800; }
.plumb__hero { flex: 1; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 4cqw; }
.plumb__copy small { display: block; margin-bottom: 1.8cqw; font-size: 1.9cqw; font-weight: 700; color: #b7791f; }
.plumb__copy strong { display: block; margin-bottom: 2.6cqw; font-size: 5cqw; font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; }
.plumb__lines i { display: block; height: 1.1cqw; margin-bottom: 1.3cqw; border-radius: 99px; background: #c9d5e8; }
.plumb__lines i:last-child { width: 72%; }
.plumb__btns { display: flex; gap: 1.4cqw; margin-top: 3cqw; }
.plumb__btns span { padding: 1.5cqw 2.2cqw; border: 0.25cqw solid #c9d5e8; border-radius: 1.2cqw; font-size: 1.9cqw; font-weight: 800; }
.plumb__btns .is-main { background: #2563eb; border-color: #2563eb; color: #fff; }
.plumb__form {
  display: flex; flex-direction: column; gap: 1.3cqw; padding: 3cqw; border-radius: 2.4cqw; background: #fff;
  box-shadow: 0 3cqw 7cqw -2cqw rgba(37, 99, 235, 0.35), 0 0 0 0.25cqw rgba(37, 99, 235, 0.08);
  transition: transform 1.1s var(--ease);
}
.project:hover .plumb__form { transform: translateY(-2cqw) rotate(-1.5deg); }
.plumb__form b { margin-bottom: 0.6cqw; font-size: 2.3cqw; font-weight: 800; }
.plumb__form i { padding: 1.5cqw 1.8cqw; border: 0.2cqw solid #dbe4f1; border-radius: 1cqw; background: #f1f5fb; color: #8492a9; font-style: normal; font-size: 1.8cqw; }
.plumb__form i.is-tall { padding-bottom: 5cqw; }
.plumb__form span { margin-top: 0.6cqw; padding: 1.7cqw; border-radius: 1cqw; text-align: center; background: #0b1b3a; color: #fff; font-size: 1.9cqw; font-weight: 800; }
.plumb__trust { display: flex; justify-content: space-between; margin: 3cqw -5cqw 0; padding: 2.4cqw 5cqw; border-top: 0.25cqw solid #d5e0f0; background: #fff; font-size: 1.8cqw; font-weight: 700; color: #33445f; }
.plumb__trust span::before { content: "✓"; margin-right: 0.9cqw; color: #16a34a; font-weight: 800; }

/* 3 — Kubo One: dark product launch, real CSS 3D cube, orange */
.mock--kubo {
  display: block; color: #f5efe6;
  background: radial-gradient(55% 60% at 50% 48%, #4a230b 0%, #160b04 55%, #060403 100%);
}
.kubo__nav { position: absolute; left: 5cqw; right: 5cqw; top: 4.5cqw; z-index: 2; display: flex; align-items: center; gap: 3.4cqw; font-size: 2.1cqw; color: rgba(245, 239, 230, 0.7); }
.kubo__nav b { margin-right: auto; font-family: var(--font-display); font-size: 3.6cqw; font-weight: 800; letter-spacing: -0.04em; color: #f5efe6; }
.kubo__nav em { padding: 1.1cqw 2.4cqw; border-radius: 99px; background: #ff6a1a; color: #140802; font-style: normal; font-weight: 800; }
.kubo__word {
  position: absolute; left: 0; right: 0; top: 16cqw; text-align: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 21cqw; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 0.22cqw rgba(255, 170, 110, 0.25);
  transition: letter-spacing 1.4s var(--ease);
}
.project:hover .kubo__word { letter-spacing: -0.02em; }
.kubo__stage { position: absolute; left: 50%; top: 47%; width: 24cqw; height: 24cqw; margin: -12cqw 0 0 -12cqw; perspective: 90cqw; transition: transform 1.2s var(--ease); }
.project:hover .kubo__stage { transform: translateY(-2cqw) scale(1.08); }
.kubo__cube { position: absolute; inset: 0; transform-style: preserve-3d; animation: kuboSpin 14s linear infinite; }
.kubo__cube i {
  position: absolute; inset: 0; border-radius: 2.2cqw;
  background:
    radial-gradient(circle, rgba(20, 8, 2, 0.55) 0.42cqw, transparent 0.5cqw) 0 0 / 1.8cqw 1.8cqw,
    linear-gradient(145deg, #ff9a4d 0%, #e8590c 55%, #9a3412 100%);
  box-shadow: inset 0 0 0 0.35cqw rgba(255, 210, 170, 0.35);
}
.kubo__cube i:nth-child(1) { transform: translateZ(12cqw); }
.kubo__cube i:nth-child(2) { transform: rotateY(90deg) translateZ(12cqw); }
.kubo__cube i:nth-child(3) { transform: rotateY(180deg) translateZ(12cqw); }
.kubo__cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(12cqw); }
.kubo__cube i:nth-child(5) {
  transform: rotateX(90deg) translateZ(12cqw);
  background: radial-gradient(circle, #2b1306 0 13%, #ffe2c7 14% 17%, transparent 18%), linear-gradient(145deg, #ffd0a8, #ff8a3d);
}
.kubo__cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(12cqw); background: #4a1d06; }
/* ends on the same angle it starts, so reduced motion shows a still 3/4 view */
@keyframes kuboSpin { from { transform: rotateX(-24deg) rotateY(-35deg); } to { transform: rotateX(-24deg) rotateY(325deg); } }
.kubo__shadow { position: absolute; left: -10%; right: -10%; bottom: -15cqw; height: 5cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 26, 0.45), transparent); filter: blur(1cqw); }
.kubo__foot { position: absolute; left: 5cqw; right: 5cqw; bottom: 4.5cqw; display: flex; justify-content: space-between; align-items: flex-end; }
.kubo__foot strong { font-family: var(--font-display); font-size: 4.6cqw; font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; }
.kubo__specs { display: flex; gap: 3.4cqw; }
.kubo__specs span { display: flex; flex-direction: column; font-size: 1.8cqw; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 239, 230, 0.6); }
.kubo__specs b { font-family: var(--font-display); font-size: 3.6cqw; letter-spacing: -0.03em; text-transform: none; color: #ff8a3d; }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 130px); align-items: start; }
.process__head { position: sticky; top: 22vh; display: flex; flex-direction: column; gap: 22px; }
.steps-wrap { position: relative; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--grad-v); transform-origin: top; transform: scaleY(0); }
.steps { display: flex; flex-direction: column; gap: clamp(56px, 10vh, 110px); }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 30px; }
.step__num {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
  transition: background 0.6s ease, color 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
}
.step.is-active .step__num { background: var(--grad); color: #06060a; border-color: transparent; box-shadow: 0 0 34px rgba(139, 92, 246, 0.55); }
.step h3 { margin: 8px 0 10px; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.025em; line-height: 1.1; transition: color 0.6s ease; }
.step:not(.is-active) h3 { color: rgba(244, 242, 255, 0.45); }
.step p { color: var(--muted); max-width: 46ch; }
.step__time { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--a2); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; max-width: 1180px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 42px 34px 34px; border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.plan--featured {
  top: -18px;
  border: 1px solid transparent;
  background: linear-gradient(170deg, #17122b, #0c0b16) padding-box, var(--grad) border-box;
  box-shadow: 0 40px 100px -30px rgba(139, 92, 246, 0.55);
}
.plan__badge {
  position: absolute; top: -14px; left: 34px; padding: 6px 14px; border-radius: 999px;
  background: var(--grad); color: #06060a; font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
}
.plan__name { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; }
.plan__desc { margin-top: 6px; color: var(--muted); font-size: 15px; min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 4px; }
.plan__price small { color: var(--muted); font-size: 14px; }
.plan__price strong { font-family: var(--font-display); font-size: clamp(48px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.plan ul { display: grid; gap: 13px; margin: 26px 0 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #dcd9ec; }
.plan li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: rgba(34, 211, 238, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan .btn { margin-top: auto; }
.pricing__note { margin-top: 48px; text-align: center; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.015em;
  transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--a2); }
.faq__icon { position: relative; flex: 0 0 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.6s var(--ease), background-color 0.3s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { transform: rotate(135deg); background: rgba(255, 255, 255, 0.08); }
.faq details p { padding: 0 64px 30px 0; color: var(--muted); max-width: 70ch; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.6s var(--ease), content-visibility 0.6s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Contact ---------- */
.contact { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 8.4vw, 140px); line-height: 0.96; letter-spacing: -0.045em; text-shadow: 0 10px 60px rgba(6, 6, 10, 0.5); }
.contact__lead { max-width: 44ch; color: #cfcce0; font-size: clamp(17px, 1.5vw, 20px); }
.contact__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.contact__email { position: relative; padding-bottom: 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 3.6vw, 54px); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact__email::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0.25); transition: transform 0.7s var(--ease); }
.contact__email:hover::after { transform: scaleX(1); }
.contact__subs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; color: #cfcce0; font-size: 16px; text-shadow: 0 2px 12px rgba(6, 6, 10, 0.8); }
.contact__subs a {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text); font-size: 15px; font-weight: 600; text-shadow: none;
  transition: transform 0.6s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}
.contact__subs a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }
.copy-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--text); font-size: 13px; font-weight: 600; transition: background-color 0.3s ease; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(6, 6, 10, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; font-size: 14px; color: var(--muted); }
.to-top { color: var(--text); font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300;
  padding: 12px 22px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px;
  transform: translate(-50%, calc(100% + 60px)); visibility: hidden; pointer-events: none;
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform 0.6s var(--ease), visibility 0s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 340px; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { justify-content: flex-end; padding-top: 42vh; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .scroll-hint { display: none; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .work__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 48px; }
  .work__grid .project:nth-child(n) { margin-top: 0; }
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__head { position: relative; top: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; gap: 40px; }
  .plan--featured { top: 0; }
  .why__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card h3 { padding-top: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .faq details p { padding-right: 0; }
  .footer__inner { flex-direction: column; text-align: center; }
  .nav__logo-text { display: none; }
  .contact__subs span { flex-basis: 100%; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
