/* ════════════════════════════════════════════════════════
   PolyCraft Visuals — Design System v2 ("Studio")
   Inspired by award-winning agency sites; brand palette
   from the PolyCraft logo: #00A0E0 / #0070B0 / #004070
   ════════════════════════════════════════════════════════ */

:root {
  /* Brand — from logo */
  --accent:       #00A0E0;
  --accent-2:     #38BDF2;
  --accent-deep:  #004070;
  --accent-mid:   #0070B0;

  /* Dark theme (default) */
  --bg:           #05080D;
  --bg-2:         #080D14;
  --card:         #0A1018;
  --card-2:       #0D141E;
  --paper:        #F2F6FA;
  --paper-dim:    #C3CDD8;
  --mid:          #8A98A9;
  --line:         rgba(255, 255, 255, 0.08);
  --line-soft:    rgba(255, 255, 255, 0.05);
  --glow:         rgba(0, 160, 224, 0.16);

  /* Compat aliases (used widely in components) */
  --gold:         var(--accent);
  --gold-light:   var(--accent-2);
  --gold-deep:    var(--accent-mid);
  --warm-dark:    var(--card);
  --warm-dark-2:  var(--card-2);

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 24px 60px -24px rgba(0,0,0,0.55);
  --shadow-glow:  0 8px 40px -6px rgba(0, 160, 224, 0.35);

  --head:         'Space Grotesk', 'DM Sans', Helvetica, Arial, sans-serif;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, monospace;

  --r:            18px;
  --r-sm:         12px;
  --gutter:       24px;
  --ease:         cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg:           #F2F5F9;
  --bg-2:         #EAEFF5;
  --card:         #FFFFFF;
  --card-2:       #F7FAFD;
  --paper:        #081018;
  --paper-dim:    #3D4B5C;
  --mid:          #5A6878;
  --line:         rgba(8, 24, 48, 0.10);
  --line-soft:    rgba(8, 24, 48, 0.06);
  --glow:         rgba(0, 160, 224, 0.12);
  --shadow-sm:    0 1px 3px rgba(10,30,60,0.08);
  --shadow-md:    0 24px 60px -28px rgba(10,30,60,0.18);
  --shadow-glow:  0 8px 36px -8px rgba(0, 160, 224, 0.30);
}

/* ── Reset / base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { width: 100%; }
body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: #04111c; }

.wrap { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }
.section--tight { padding: 72px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section--tight { padding: 56px 0; } }

/* ── Typography ───────────────────────────────────────── */
.h-display {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h-1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h-2 { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.h-3 { font-family: var(--head); font-weight: 600; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--paper-dim); max-width: 56ch; }
.body { font-size: 16px; line-height: 1.7; color: var(--paper-dim); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); }
.num { font-family: var(--mono); color: var(--accent); }
.muted { color: var(--mid); }
.gold-text { color: var(--accent); }
.serif { font-family: var(--serif); }
.it { font-style: italic; }
/* serif italic accent inside big heads — slightly larger optical size */
.h-display .serif.it, .h-1 .serif.it { font-weight: 500; letter-spacing: -0.01em; }

/* accent word with hand-drawn underline (draws in on reveal) */
.uline { position: relative; white-space: nowrap; }
.uline svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.22em; overflow: visible; }
.uline svg path {
  stroke: var(--accent); stroke-width: 6; fill: none; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.is-in .uline svg path, .uline.is-in svg path { animation: drawLine 1.1s 0.5s var(--ease-out) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* eyebrow — "—— [01] SECTION NAME" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--mid); opacity: 0.6; }
.eyebrow--c { justify-content: center; }
.eyebrow .gold-text, .eyebrow b { color: var(--accent); font-weight: 400; }

.section-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head--c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 48px; }
.section-head--c .lead { margin-top: 12px; }
@media (max-width: 960px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

.divider { height: 1px; background: var(--line); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--head); font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  position: relative; overflow: hidden; isolation: isolate;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--gold { background: var(--accent); color: #04111c; }
.btn--gold:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease); pointer-events: none;
}
.btn--gold:hover::after { left: 130%; }
.btn--ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn:focus-visible, .link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn__arrow { width: 16px; height: 1.5px; background: currentColor; position: relative; transition: width 0.3s var(--ease); }
.btn__arrow::after {
  content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}
.btn:hover .btn__arrow, .link:hover .btn__arrow { width: 26px; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); transition: gap 0.3s var(--ease);
}
.link:hover { gap: 16px; }

/* ── Reveal system (line + fade) ──────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: 90ms; }
.reveal[data-d="2"] { transition-delay: 180ms; }
.reveal[data-d="3"] { transition-delay: 290ms; }
.reveal[data-d="4"] { transition-delay: 400ms; }
.reveal[data-d="5"] { transition-delay: 510ms; }
.reveal[data-d="6"] { transition-delay: 620ms; }
.reveal--left { transform: translateX(-36px); }
.reveal--left.is-in { transform: translateX(0); }
.reveal--right { transform: translateX(36px); }
.reveal--right.is-in { transform: translateX(0); }
.reveal--scale { transform: scale(0.95); }
.reveal--scale.is-in { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Backdrops ────────────────────────────────────────── */
.backdrop-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--glow) 1px, transparent 1px),
    linear-gradient(90deg, var(--glow) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, black 25%, transparent 80%);
}
.backdrop-glow {
  position: absolute; pointer-events: none;
  width: 760px; height: 760px;
  background: radial-gradient(circle, var(--glow), transparent 62%);
  filter: blur(50px);
}
.backdrop-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
}
@keyframes glowDrift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(46px,-30px) scale(1.12); }
  100% { transform: translate(-32px,26px) scale(0.95); }
}
.hero .backdrop-glow { animation: glowDrift 16s ease-in-out infinite alternate; }
.hero .backdrop-glow + .backdrop-glow { animation-duration: 23s; animation-delay: -9s; }

/* ── Cursor ───────────────────────────────────────────── */
/* The native Pixel Prism arrow (see "Pixel Prism cursor" below)
   is the site cursor — no floating dot/ring elements. */

/* ── Floating pill nav ────────────────────────────────── */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 90;
  pointer-events: none;
  transition: top 0.4s var(--ease);
}
.nav__inner {
  pointer-events: auto;
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), width 0.5s var(--ease);
}
.nav.is-scrolled .nav__inner { box-shadow: var(--shadow-md); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__mark { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(0,160,224,0.35)); }
.nav__name { font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.nav__name .it { font-family: var(--serif); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border-radius: 999px;
  font-family: var(--head); font-size: 13.5px; font-weight: 500;
  color: var(--paper-dim);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  /* Without these the row shrinks the longest label until its text wraps: "Free Tools" broke onto
     three lines, which made that one link 83px tall, stretched the bar, and turned the sliding
     indicator into a ring around it. */
  white-space: nowrap;
  flex: none;
}
.nav__link:hover { color: var(--paper); background: var(--line-soft); }
.nav__num { font-family: var(--mono); font-size: 9.5px; color: var(--accent); opacity: 0.85; }
/* The content wrap is 1160px at every screen size, and the eighth link ("Free Tools") pushed the
   numbered row to 1265px — it overflowed on a 4K monitor just as it did on a laptop. The counters
   are decoration, so the desktop bar drops them and keeps all eight labels legible. The stacked
   mobile menu has room and keeps them. */
@media (min-width: 1201px) {
  .nav__num { display: none; }
}
.nav__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__cta { padding: 11px 18px; font-size: 13px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--paper-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(20deg); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__burger {
  display: none; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { width: 16px; height: 1.6px; background: var(--paper); transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav__burger.is-open span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* The bar carries eight labels, a brand and a CTA inside a 1160px wrap. Below this it cannot hold
   them without cutting the last ones off, so the burger menu takes over earlier than it used to. */
@media (max-width: 1200px) {
  .nav__links {
    position: fixed; inset: 76px 16px auto 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px;
    border-radius: var(--r);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    border: 1px solid var(--line);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(-12px) scale(0.99); pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links .nav__link { padding: 15px 16px; font-size: 16px; border-radius: var(--r-sm); }
  .nav__burger { display: inline-flex; }
  .nav__cta { display: none; }
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 400;
  padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--accent); color: #04111c;
  font-family: var(--head); font-size: 13px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 16px; outline: 2px solid var(--paper); outline-offset: 2px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; position: relative; }
.hero__title { margin: 0 0 26px; }
.hero__title > span { display: block; }
.hero__title-row { display: flex; gap: 0.28ch; flex-wrap: wrap; }
.hero .lead { margin-bottom: 38px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* credibility strip */
.hero__stats { display: flex; align-items: center; gap: 0; border-top: 1px solid var(--line); padding-top: 26px; }
.hero__stat { display: flex; align-items: baseline; gap: 10px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); transition: transform 0.35s var(--ease); }
.hero__stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__stat:hover { transform: translateY(-3px); }
.hero__stat-v { font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--paper); letter-spacing: -0.02em; }
.hero__stat:hover .hero__stat-v { color: var(--accent); }
.hero__stat-l { font-size: 10.5px; }

.herovis { position: relative; }
.herovis__frame {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
  transform: rotate(0.6deg);
  transition: transform 0.6s var(--ease);
}
.herovis:hover .herovis__frame { transform: rotate(0deg) scale(1.01); }
.herovis__corner, .herovis__scanline { display: none; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
.herovis__img { animation: kenBurns 20s var(--ease-out) both alternate infinite; transform-origin: center 30%; }
.herovis__caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: rgba(4, 9, 15, 0.66);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.herovis__caption .label { color: #cfe4f2; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); }
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
.hero__scroll-line { animation: scrollPulse 2.4s ease-in-out infinite; transform-origin: top; }

@media (max-width: 1020px) {
  .hero { padding-top: 130px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .herovis__frame { aspect-ratio: 16/11; transform: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 720px) {
  .herovis__caption { left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; gap: 8px; }
  .herovis__caption .label { font-size: 9.5px; letter-spacing: 0.08em; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 16px; }
  .hero__stat { border-right: 0; padding-right: 0; margin-right: 18px; }
}

/* ── Marquee ──────────────────────────────────────────── */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
/* runs continuously — never pause on hover */
.marquee__track, .marquee:hover .marquee__track { animation-play-state: running; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--head); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.01em; color: var(--paper); white-space: nowrap;
}
.marquee__item .star { color: var(--accent); font-size: 0.8em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Services — big cards with watermark numbers ─────── */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service {
  position: relative; overflow: hidden;
  padding: 40px 40px 34px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: rgba(0,160,224,0.35); box-shadow: var(--shadow-md); background: var(--card-2); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 56px; }
.service__num {
  position: absolute; top: 18px; right: 26px;
  font-family: var(--head); font-weight: 700; font-size: 104px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color 0.5s var(--ease);
}
.service:hover .service__num { -webkit-text-stroke-color: rgba(0,160,224,0.4); }
.service__glyph, .service .glyph {
  width: 54px; height: 54px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glow); border: 1px solid rgba(0,160,224,0.3);
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.service:hover .service__glyph, .service:hover .glyph { transform: translateY(-3px) rotate(-4deg); }
.service__glyph svg, .service .glyph svg { width: 30px; height: 30px; }
.service__title { margin-bottom: 12px; }
.service__desc { margin-bottom: 28px; max-width: 46ch; }
/* no price row → don't leave the gap it used to sit in */
.service__desc:last-child { margin-bottom: 0; }
.service__foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.service__price { display: inline-flex; align-items: baseline; gap: 6px; }
.service__price .serif.it { font-family: var(--head); font-style: normal; font-weight: 700; font-size: 22px; color: var(--accent); }
@media (max-width: 880px) { .services__grid { grid-template-columns: 1fr; } .service { padding: 30px 26px; } }

/* ── Process — alternating panels ─────────────────────── */
.process__rail { display: flex; flex-direction: column; gap: 14px; }
.process__connector { display: none; }
.process__step {
  display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 32px; align-items: center;
  padding: 36px 40px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.process__step:hover { transform: translateX(8px); border-color: rgba(0,160,224,0.35); background: var(--card-2); }
.process__head { display: flex; align-items: center; }
.process__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.process__num::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
.process__bar { display: none; }
.process__title { font-family: var(--head); }
.process__desc { max-width: 52ch; }
@media (max-width: 880px) {
  .process__step { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px; }
}

/* ── Work — large image grid (3-up) ─────────────────── */
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.folio { position: relative; }
.folio--feature { grid-column: span 2; }
.folio__media {
  display: block; cursor: zoom-in;
  transition: transform 0.5s var(--ease);
}
.folio__media:hover { transform: translateY(-6px); }
.folio__media:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }
.folio__imgwrap {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card);
  border-radius: var(--r); border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.folio__media:hover .folio__imgwrap { border-color: rgba(0,160,224,0.45); box-shadow: var(--shadow-md); }
.folio--feature .folio__imgwrap { aspect-ratio: 16 / 9.05; }
.folio__imgwrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 0.7s var(--ease); }
.folio__media:hover .folio__imgwrap img { transform: scale(1.06); }
.folio__info {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 6px 4px;
}
.folio__index { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.folio__title {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(17px, 1.7vw, 22px); letter-spacing: -0.01em; color: var(--paper);
  flex-grow: 1; line-height: 1.2;
  transition: color 0.3s var(--ease);
}
.folio__media:hover .folio__title { color: var(--accent); }
.folio__type { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); white-space: nowrap; }
.folio__arrow {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--paper);
  transition: transform 0.4s var(--ease), color 0.3s, border-color 0.3s, background 0.3s;
}
.folio__media:hover .folio__arrow { transform: rotate(45deg); color: #04111c; background: var(--accent); border-color: var(--accent); }
.folio__arrow svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 960px) {
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .folio--feature { grid-column: span 2; }
}
@media (max-width: 640px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .folio--feature { grid-column: auto; }
  .folio__type { display: none; }
}

/* ── Tools cards ──────────────────────────────────────── */
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool {
  display: flex; flex-direction: column;
  padding: 22px 22px 26px;
  border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tool:hover { transform: translateY(-6px); border-color: rgba(0,160,224,0.35); box-shadow: var(--shadow-md); }
.tool__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tool__platform { font-size: 10.5px; }
.tool__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.tool__dot { width: 6px; height: 6px; border-radius: 50%; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
.tool__status--live { color: #7fd89a; border-color: rgba(110,200,140,0.4); }
.tool__status--live .tool__dot { background: #7fd89a; box-shadow: 0 0 8px #7fd89a; animation: pulseDot 1.8s ease-in-out infinite; }
.tool__status--soon { color: var(--accent); border-color: rgba(0,160,224,0.4); }
.tool__status--soon .tool__dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulseDot 1.8s ease-in-out infinite; }
.tool__name { margin-bottom: 4px; font-family: var(--head); }
.tool__desc { font-size: 14.5px; margin-bottom: 22px; flex-grow: 1; }
.tool__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.tool__price { font-family: var(--head) !important; font-style: normal !important; font-weight: 700; font-size: 21px; color: var(--accent); }
.tool__decor { display: none; }
@media (max-width: 960px) { .tools__grid { grid-template-columns: 1fr; } }

/* UPI block */
.upi-block { border-radius: var(--r) !important; background: var(--card) !important; border: 1px solid rgba(0,160,224,0.25) !important; }

/* ── Testimonial ─────────────────────────────────────── */
.testimonial__inner {
  position: relative; text-align: center; max-width: 880px; margin-inline: auto;
  padding: 64px clamp(20px, 6vw, 72px);
  border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
}
.testimonial__mark { color: var(--accent); margin-bottom: 28px; }
@keyframes quoteBreathe { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.testimonial__mark { animation: quoteBreathe 5s ease-in-out infinite; }
.testimonial__quote { font-size: clamp(22px, 3vw, 32px); line-height: 1.4; font-weight: 400; margin-bottom: 32px; }
.testimonial__foot { display: flex; align-items: center; justify-content: center; gap: 16px; }
.gold-line { width: 36px; height: 1px; background: var(--accent); }
.testimonial__attr { text-align: left; display: flex; flex-direction: column; gap: 2px; }
.testimonial__attr strong { font-family: var(--head); font-size: 15px; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 38px 34px;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier.is-featured { border-color: rgba(0,160,224,0.5); background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--shadow-glow); }
.tier.is-featured:hover { box-shadow: var(--shadow-glow), var(--shadow-md); }
.tier__badge {
  position: absolute; top: -13px; left: 30px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #04111c;
  font-family: var(--head); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
}
.tier__head { margin-bottom: 24px; }
.tier__name { font-family: var(--head); font-size: 22px; margin-bottom: 8px; }
.tier__desc { font-size: 14.5px; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.tier__price-v { font-family: var(--head); font-weight: 700; font-size: 44px; letter-spacing: -0.03em; }
.tier__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex-grow: 1; }
.tier__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--paper-dim); }
.tier__check {
  width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glow); color: var(--accent);
}
.tier__cta { justify-content: center; }
@media (max-width: 960px) { .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ── Why — rings ─────────────────────────────────────── */
.why__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.rings { position: relative; width: min(420px, 90vw); aspect-ratio: 1; margin-inline: auto; }
.rings__ring { position: absolute; border: 1px solid rgba(0,160,224,0.3); border-radius: 50%; }
.rings__ring--1 { inset: 0; border-style: dashed; }
.rings__ring--2 { inset: 13%; }
.rings__ring--3 { inset: 27%; border-style: dashed; opacity: 0.7; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.rings__ring--1 { animation: ringSpin 40s linear infinite; }
.rings__ring--2 { animation: ringSpin 52s linear infinite reverse; }
.rings__ring--3 { animation: ringSpin 66s linear infinite; }
.rings__core {
  position: absolute; inset: 38%;
  border-radius: 50%;
  background: var(--card); border: 1px solid rgba(0,160,224,0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: var(--shadow-glow);
}
.rings__title { font-family: var(--head); font-weight: 700; font-size: 30px; color: var(--accent); }
.rings__sub { font-size: 9.5px; }
.rings__pip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.rings__pip--1 { top: 6%; left: 50%; }
.rings__pip--2 { bottom: 16%; left: 12%; }
.rings__pip--3 { top: 40%; right: 4%; }
.whypoints { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; }
.whypoint {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.whypoint:hover { background: var(--card); border-color: var(--line); transform: translateX(6px); }
.whypoint__mark { color: var(--accent); font-size: 22px; line-height: 1.4; }
.whypoint__title { margin-bottom: 6px; font-family: var(--head); }
@media (max-width: 960px) { .why__inner { grid-template-columns: 1fr; gap: 48px; } }

/* ── FAQ ─────────────────────────────────────────────── */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); overflow: hidden; transition: border-color 0.35s var(--ease); }
.faq__item[open], .faq__item:hover { border-color: rgba(0,160,224,0.35); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 24px;
  font-family: var(--head); font-size: 17px; font-weight: 600; color: var(--paper);
  cursor: pointer; list-style: none;
  transition: color 0.3s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-sm); }
.faq__chev {
  flex: 0 0 auto; width: 9px; height: 9px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__chev { transform: rotate(225deg); }
.faq__a { padding: 0 24px 24px; max-width: 62ch; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.faq__item[open] .faq__a { animation: faqIn 0.35s var(--ease-out) both; }

/* ── Contact ─────────────────────────────────────────── */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; }
.contact__details { display: flex; flex-direction: column; margin-top: 40px; }
.contact__details li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.contact__details li:last-child { border-bottom: 1px solid var(--line); }
.contact__icon {
  width: 44px; height: 44px; border-radius: var(--r-sm); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glow); border: 1px solid rgba(0,160,224,0.3); color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.contact__details li:hover .contact__icon { transform: translateY(-3px) rotate(-4deg); }
.contact__details li > div { display: flex; flex-direction: column; gap: 3px; }
.contact__detail-v { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.5; color: var(--paper); transition: color 0.2s; overflow-wrap: anywhere; }
a.contact__detail-v:hover { color: var(--accent); }
.contact__social { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact__social-row { display: flex; gap: 10px; }
.contact__social-row a {
  width: 42px; height: 42px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--paper-dim);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.contact__social-row a:hover { color: #04111c; background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.contact__form {
  padding: 44px;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field__label { font-size: 10.5px; }
.field__req { color: var(--accent); }
.field__input {
  width: 100%; padding: 15px 16px;
  font-family: var(--sans); font-size: 15px; color: var(--paper);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.field__input--multi { resize: vertical; min-height: 120px; }
.select { position: relative; }
.select select { appearance: none; cursor: pointer; }
.select__chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--mid); pointer-events: none; }
.contact__submit { width: 100%; justify-content: center; padding: 18px; }
.contact__fineprint { margin-top: 14px; text-align: center; font-size: 10.5px; }
.contact__ok { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 0; }
@media (max-width: 960px) { .contact__inner { grid-template-columns: 1fr; gap: 48px; } .contact__form { padding: 28px 22px; } }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }

/* ── Action rail (right edge) ─────────────────────────── */
.rail {
  position: fixed; right: 18px; bottom: 18px; z-index: 250;
  display: flex; flex-direction: column; gap: 10px;
}
.rail a {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--card) 85%, transparent);
  border: 1px solid var(--line); color: var(--paper);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s, background 0.3s;
}
.rail a:hover { transform: translateY(-4px); color: #04111c; background: var(--accent); border-color: var(--accent); }
.rail a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rail a svg { width: 20px; height: 20px; }
.rail a.rail--wa { color: #25D366; border-color: rgba(37,211,102,0.45); }
.rail a.rail--wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
@media (max-width: 720px) { .rail { right: 12px; bottom: 12px; } .rail a { width: 46px; height: 46px; } }

/* ── Footer ──────────────────────────────────────────── */
/* translucent so the cursor-reactive grid glows through the footer */
.footer { position: relative; padding: 88px 0 36px; background: color-mix(in srgb, var(--bg-2) 55%, transparent); border-top: 1px solid var(--line); overflow: hidden; }
.footer__hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer__big { font-size: clamp(40px, 6.5vw, 88px); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__name { font-family: var(--head); font-weight: 700; font-size: 22px; }
.footer__h { display: block; margin-bottom: 18px; color: var(--accent); }
.footer__nav ul { display: flex; flex-direction: column; gap: 11px; }
.footer__nav a { color: var(--paper-dim); font-size: 14.5px; transition: color 0.25s, padding-left 0.25s var(--ease); }
.footer__nav a:hover { color: var(--accent); padding-left: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__watermark {
  position: absolute; left: 50%; bottom: -2.5vw; transform: translateX(-50%);
  font-family: var(--head); font-weight: 700; font-size: clamp(80px, 14vw, 230px);
  letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--line);
  pointer-events: none; user-select: none; opacity: 0.7;
}
@media (max-width: 960px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

/* ── Lightbox ────────────────────────────────────────── */
.lb-backdrop {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3, 6, 10, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: lbFade 0.35s var(--ease-out) both; cursor: zoom-out;
}
.lb-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: lbZoom 0.45s var(--ease-out) both; cursor: default;
}
.lb-close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color: #fff;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lb-close:hover { background: rgba(0,160,224,0.4); transform: rotate(90deg); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

/* light-theme tweak: blend marquee & footer bg */
[data-theme="light"] .nav__inner { background: color-mix(in srgb, #ffffff 78%, transparent); }
[data-theme="light"] .herovis__caption { background: rgba(255,255,255,0.8); border-color: rgba(8,24,48,0.08); }
[data-theme="light"] .herovis__caption .label { color: #2a3947; }
[data-theme="light"] ::selection { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .herovis__img, .hero .backdrop-glow, .hero__scroll-line, .marquee__track,
  .testimonial__mark, .rings__ring--1, .rings__ring--2, .rings__ring--3 { animation: none !important; }
}

/* ════════════════════════════════════════════════════════
   Design System V3 — "Premium" motion layer
   Every curve maps to an animation principle:
   · --ease-swift   → slow-in / slow-out (standard UI)
   · --ease-follow  → follow-through (settles with overshoot)
   · --ease-spring  → squash & stretch release
   Durations: fast for small UI, slow for staging/hero.
   ════════════════════════════════════════════════════════ */
:root {
  --ease-swift:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-follow:  cubic-bezier(0.22, 1.36, 0.36, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  140ms;
  --t-med:   320ms;
  --t-slow:  700ms;
  --t-hero:  950ms;
}

/* content sits above the fx grid canvas */
#root, #fl-host { position: relative; z-index: 1; }
.fx-grid {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
/* the static hero grid is replaced by the live canvas grid */
.hero .backdrop-grid { display: none; }

/* ── Buttons — physical: lift, squash, release ────────── */
.btn {
  transform: translate(var(--magx, 0px), var(--magy, 0px)) translateY(var(--lift, 0px)) scale(var(--press, 1));
  transition:
    transform var(--t-med) var(--ease-follow),
    box-shadow var(--t-med) var(--ease-swift),
    background var(--t-med) var(--ease-swift),
    color var(--t-med) var(--ease-swift),
    border-color var(--t-med) var(--ease-swift);
}
.btn:hover { --lift: -2px; }
.btn:active { --press: 0.96; --lift: 0px; transition-duration: 80ms; }
.btn--gold:hover { transform: translate(var(--magx, 0px), var(--magy, 0px)) translateY(var(--lift, 0px)) scale(var(--press, 1)); }
.btn--ghost:hover { transform: translate(var(--magx, 0px), var(--magy, 0px)) translateY(var(--lift, 0px)) scale(var(--press, 1)); }
.btn--gold { box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 -8px 16px rgba(0,64,112,0.25) inset; }
.btn--gold:hover { box-shadow: var(--shadow-glow), 0 1px 0 rgba(255,255,255,0.3) inset; }
.btn--ghost { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(0,160,224,0.06); box-shadow: 0 0 0 1px rgba(0,160,224,0.25), 0 8px 28px -12px rgba(0,160,224,0.35); }
.btn .btn__arrow { transition: width var(--t-med) var(--ease-spring), transform var(--t-med) var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateX(2px); }

/* ── Reveal — follow-through settle ───────────────────── */
.reveal {
  transition: opacity 0.85s var(--ease-swift), transform 0.85s var(--ease-follow), filter 0.85s var(--ease-swift);
}
.reveal--blur { filter: blur(8px); }
.reveal--blur.is-in { filter: blur(0); }
/* stagger utility — children cascade in */
.stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }

/* ── Cards — cursor spotlight + gradient border trace ─── */
.has-spot {
  position: relative;
  will-change: transform;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--cardlift, 0px));
  transition: transform 0.3s var(--ease-swift), border-color 0.45s var(--ease-swift), box-shadow 0.45s var(--ease-swift), background 0.45s var(--ease-swift);
}
.has-spot:hover { --cardlift: -6px; }
.has-spot:active { --cardlift: -2px; }
/* soft light that follows the cursor across the card face */
.has-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0,160,224,0.085), transparent 62%);
  opacity: 0; transition: opacity 0.45s var(--ease-swift);
  pointer-events: none; z-index: 0;
}
.has-spot:hover::after { opacity: 1; }
/* glowing border segment that traces the cursor */
.has-spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0,160,224,0.55), rgba(0,160,224,0.06) 68%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  opacity: 0; transition: opacity 0.45s var(--ease-swift);
  pointer-events: none; z-index: 2;
}
.has-spot:hover::before { opacity: 1; }
/* card content above the spotlight wash */
.has-spot > * { position: relative; z-index: 1; }
/* neutralize legacy hover transforms — tilt owns transform now */
.tool.has-spot:hover, .service.has-spot:hover, .tier.has-spot:hover, .fl-card.in.has-spot:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--cardlift, 0px));
}

/* ── Nav — scroll-aware, active indicator, staged menu ── */
.nav { transition: transform 0.5s var(--ease-follow), top 0.4s var(--ease); }
.nav.is-hidden { transform: translateY(calc(-100% - 26px)); }
/* desktop only — must not override the mobile fixed-panel positioning */
@media (min-width: 1201px) { .nav__links { position: relative; } }
.nav__indicator {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  width: var(--w, 0px);
  transform: translateX(var(--x, 0px));
  border-radius: 999px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px rgba(0,160,224,0.18) inset;
  opacity: var(--on, 0);
  transition: transform 0.45s var(--ease-spring), width 0.45s var(--ease-spring), opacity 0.3s;
  pointer-events: none;
}
.nav__link { position: relative; z-index: 1; }
.nav__link.is-active { color: var(--paper); }
.nav__link.is-active .nav__num { opacity: 1; }
.nav__brand img { transition: transform 0.5s var(--ease-spring); }
.nav__brand:hover img { transform: rotate(-8deg) scale(1.06); }
/* burger: anticipation squeeze on press */
.nav__burger:active span { transform: scaleX(0.7); }
.nav__burger.is-open:active span:first-child { transform: translateY(3.3px) rotate(45deg) scaleX(0.85); }
.nav__burger.is-open:active span:last-child { transform: translateY(-3.3px) rotate(-45deg) scaleX(0.85); }
@media (max-width: 1200px) {
  .nav__indicator { display: none; }
  .nav__links.is-open .nav__link {
    animation: navItemIn 0.55s var(--ease-follow) both;
    animation-delay: calc(var(--i, 0) * 45ms + 60ms);
  }
}

/* toast for copy actions */
.fx-toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 500;
  transform: translateX(-50%) translateY(16px) scale(0.97);
  padding: 12px 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid rgba(0,160,224,0.4);
  color: var(--paper); font-family: var(--head); font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-md), 0 0 24px -8px rgba(0,160,224,0.5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease-swift), transform 0.45s var(--ease-spring);
}
.fx-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
@keyframes navItemIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Theme toggle — sun spins up, moon tips ───────────── */
.theme-toggle:hover { transform: none; }
.theme-toggle svg { transition: transform 0.6s var(--ease-spring); }
.theme-toggle:hover svg { transform: rotate(60deg); }
[data-theme="light"] .theme-toggle:hover svg { transform: rotate(-14deg) scale(1.08); }

/* ── Hero — staging, shimmer, typed console ───────────── */
.hero__title .reveal { transition-duration: 1s; }
.fx-shimmer {
  background: linear-gradient(110deg, var(--accent) 20%, var(--accent-2) 38%, #BDEBFF 50%, var(--accent-2) 62%, var(--accent) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 7s var(--ease) infinite;
}
@keyframes shimmerSweep {
  0%, 55%, 100% { background-position: 110% 0; }
  20%, 35% { background-position: -10% 0; }
}
.hero__stat { cursor: default; }
.hero__stat-v { transition: color var(--t-med) var(--ease-swift); }
/* typed console lines in the tools-mode hero visual */
.pc-console { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; width: 80%; margin-bottom: 64px; }
.pc-console__line {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--accent); opacity: 0.85;
  background: rgba(0,160,224,0.05);
  padding: 8px 14px;
  border-left: 2px solid rgba(0,160,224,0.4);
  min-height: 31px; white-space: nowrap; overflow: hidden;
}
.pc-console__line--dim { color: #6B7989; opacity: 0.5; border-left-color: rgba(107,121,137,0.3); }
.pc-console__line .pc-caret {
  display: inline-block; width: 7px; height: 12px; margin-left: 3px;
  background: var(--accent); vertical-align: -2px;
  animation: caretBlink 1s steps(1) infinite;
  opacity: 0;
}
.pc-console__line.is-typing .pc-caret { opacity: 0.9; }
@keyframes caretBlink { 50% { opacity: 0.15; } }
/* hero visual — subtle parallax tilt (driven by fx.js) */
.herovis { perspective: 1100px; }
.herovis__frame {
  transform: rotate(0.6deg) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg));
  transition: box-shadow 0.6s var(--ease-swift);
  will-change: transform;
}
.herovis:hover .herovis__frame { transform: rotate(0deg) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)) scale(1.01); box-shadow: var(--shadow-md), 0 0 60px -20px rgba(0,160,224,0.3); }
/* scroll cue — dot drops along the line */
.hero__scroll { overflow: visible; }
.hero__scroll-line { position: relative; overflow: visible; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-4px); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(42px); opacity: 0; }
}

/* ── Marquee — edge fades ─────────────────────────────── */
.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__item { transition: color var(--t-fast) var(--ease-swift); }
.marquee__item:hover { color: var(--accent); }
.marquee__item .star { display: inline-block; transition: transform 0.5s var(--ease-spring); }
.marquee__item:hover .star { transform: rotate(90deg) scale(1.2); }

/* ── Tools — media, status ping, coming-soon scanline ─── */
.tool { overflow: visible; }
.tool__media {
  width: 100%; height: 200px; overflow: hidden; margin-bottom: 24px;
  border-radius: var(--r-sm); border: 1px solid rgba(0,160,224,0.15);
  flex-shrink: 0; cursor: zoom-in; position: relative;
}
.tool__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
  transform: scale(1.001);
  transition: transform 0.7s var(--ease-swift);
}
.tool:hover .tool__media img { transform: scale(1.05); }
.tool__media::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(190,230,255,0.14), transparent);
  transform: skewX(-18deg);
  transition: left 0.8s var(--ease-swift);
  pointer-events: none;
}
.tool:hover .tool__media::after { left: 135%; }
.tool__media--soon {
  height: 200px; margin-bottom: 24px; border-radius: var(--r-sm);
  border: 1px solid rgba(0,160,224,0.25);
  background:
    linear-gradient(rgba(0,160,224,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,160,224,0.06) 1px, transparent 1px),
    linear-gradient(135deg, #060A12 0%, #0D1521 50%, #0f1e30 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; position: relative; overflow: hidden; flex-shrink: 0; cursor: default;
}
.tool__media--soon::after {
  content: ""; position: absolute; left: 0; right: 0; top: -20%;
  height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(0,160,224,0.08), transparent);
  animation: soonScan 4.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes soonScan { 0% { top: -34%; } 60%, 100% { top: 110%; } }
.tool__corner { position: absolute; width: 12px; height: 12px; opacity: 0.4; transition: opacity var(--t-med), transform var(--t-med) var(--ease-spring); }
.tool:hover .tool__corner { opacity: 0.9; }
.tool__corner--tl { top: 8px; left: 8px; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.tool__corner--tr { top: 8px; right: 8px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.tool__corner--bl { bottom: 8px; left: 8px; border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.tool__corner--br { bottom: 8px; right: 8px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.tool:hover .tool__corner--tl { transform: translate(-2px, -2px); }
.tool:hover .tool__corner--tr { transform: translate(2px, -2px); }
.tool:hover .tool__corner--bl { transform: translate(-2px, 2px); }
.tool:hover .tool__corner--br { transform: translate(2px, 2px); }
/* status dot — radar ping (secondary action) */
.tool__status { position: relative; }
.tool__dot::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: inherit; opacity: 0.7;
  animation: dotPing 2.2s var(--ease-swift) infinite;
}
@keyframes dotPing { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

/* ── UPI block — proper card ──────────────────────────── */
.upi-block {
  position: relative; overflow: hidden;
  border-radius: var(--r) !important;
  background:
    radial-gradient(70% 130% at 85% 20%, rgba(0,160,224,0.08), transparent 60%),
    var(--card) !important;
}
.upi-block::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,160,224,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,160,224,0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 100% at 80% 50%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 100% at 80% 50%, black 30%, transparent 85%);
}
.upi-block > * { position: relative; z-index: 1; }
.upi-id {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 1.02rem; letter-spacing: 0.06em;
  color: var(--accent); background: rgba(0,160,224,0.08);
  padding: 12px 18px; border-radius: var(--r-sm);
  border: 1px solid rgba(0,160,224,0.3);
  cursor: pointer;
  transition: border-color var(--t-med) var(--ease-swift), background var(--t-med) var(--ease-swift), transform var(--t-med) var(--ease-follow);
}
.upi-id:hover { border-color: rgba(0,160,224,0.6); background: rgba(0,160,224,0.13); transform: translateY(-1px); }
.upi-id:active { transform: scale(0.98); }
.upi-id svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; flex-shrink: 0; }

/* ── FAQ / select chevrons — spring settle ────────────── */
.faq__chev { transition: transform 0.5s var(--ease-spring); }
.select__chev { transition: transform var(--t-med) var(--ease-spring); }
.select:focus-within .select__chev { transform: translateY(-50%) rotate(180deg); color: var(--accent); }

/* ── Fields — hover affordance ────────────────────────── */
.field__input:hover:not(:focus) { border-color: rgba(0,160,224,0.25); }

/* ── Rail icons — meaningful micro-motion ─────────────── */
.rail a svg { transition: transform 0.4s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.rail a:hover svg { animation: railNudge 0.5s var(--ease-spring); }
@keyframes railNudge {
  0% { transform: scale(1); }
  35% { transform: scale(0.88) rotate(-6deg); }
  70% { transform: scale(1.08) rotate(4deg); }
  100% { transform: scale(1); }
}
.rail a.rail--wa:hover svg { animation: waWiggle 0.6s var(--ease-spring); }
@keyframes waWiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-9deg); }
  55% { transform: rotate(7deg); }
  80% { transform: rotate(-3deg); }
}

/* ── Footer — watermark parallax + CTA stage ──────────── */
.footer__watermark {
  will-change: transform;
  transform: translateX(-50%) translateY(var(--wy, 0px));
  transition: opacity 0.5s var(--ease-swift), filter 0.5s var(--ease-swift), -webkit-text-stroke-color 0.5s var(--ease-swift);
}
/* dark by default — ignites when the cursor crosses it (fx.js) */
.footer__watermark.is-glow {
  -webkit-text-stroke-color: rgba(0,160,224,0.85);
  opacity: 1;
  filter: drop-shadow(0 0 28px rgba(0,160,224,0.45));
}
.footer__nav a { display: inline-block; }
.contact__social-row a { transition: color 0.3s, border-color 0.3s, transform 0.35s var(--ease-spring), background 0.3s; }

/* ── Light theme balances ─────────────────────────────── */
[data-theme="light"] .has-spot::after {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0,160,224,0.07), transparent 62%);
}
[data-theme="light"] .pc-console__line { background: rgba(0,112,176,0.06); }
[data-theme="light"] .tool__media--soon {
  background:
    linear-gradient(rgba(0,112,176,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,112,176,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #E8EFF6 0%, #DCE8F2 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}

/* ── Touch feedback (no hover states on touch) ────────── */
@media (hover: none) {
  .btn:active { --press: 0.95; }
  .tool:active, .fl-card:active, .tier:active, .service:active { transform: scale(0.99); transition-duration: 100ms; }
}

/* ── Anchor jumps land below the floating nav ─────────── */
html { scroll-padding-top: 110px; }

/* ── Nav over content: near-opaque once scrolled ──────── */
.nav.is-scrolled .nav__inner {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-color: rgba(0,160,224,0.14);
}
[data-theme="light"] .nav.is-scrolled .nav__inner { background: color-mix(in srgb, #ffffff 96%, transparent); }

/* ── Icon draw-in — strokes redraw on hover ───────────────
   fx.js normalizes shapes to pathLength=1 and stamps --k, so
   each shape draws in sequence (straight-ahead action), then
   filled details pop in (secondary action). Works in every
   icon box in both site modes. */
.icon-draw svg { overflow: visible; }
.icon-draw .icon-stroke { stroke-dasharray: none; }
.icon-draw:hover .icon-stroke,
.icon-draw:focus-visible .icon-stroke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: iconDraw 0.65s var(--ease-swift) forwards;
  animation-delay: calc(var(--k, 0) * 90ms);
}
@keyframes iconDraw { to { stroke-dashoffset: 0; } }
.icon-draw:hover .icon-fill,
.icon-draw:focus-visible .icon-fill {
  transform-box: fill-box; transform-origin: center;
  animation: iconFillPop 0.5s var(--ease-spring) both;
  animation-delay: calc(var(--k, 0) * 90ms + 260ms);
}
@keyframes iconFillPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
/* rail icons keep their nudge personality — no double animation */
.rail .icon-fill { animation: none !important; }

/* ── Star / spark marks — twinkle on hover ────────────── */
.whypoint__mark, .testimonial__mark {
  display: inline-block;
  transition: transform 0.55s var(--ease-spring), text-shadow 0.4s var(--ease-swift);
}
.whypoint:hover .whypoint__mark {
  transform: rotate(90deg) scale(1.3);
  text-shadow: 0 0 16px rgba(0,160,224,0.85);
}

/* ── Pixel Prism cursor — brand pixel-art arrow ───────── */
html, body, a, button, summary, select, label, [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 7 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23F2F6FA' d='M0 0h1v1H0zM1 1h1v1H1zM2 2h1v1H2zM3 3h1v1H3zM4 4h1v1H4zM5 5h1v1H5z'/%3E%3Cpath fill='%2329B6F0' d='M0 1h1v7H0z'/%3E%3Cpath fill='%2300A9E8' d='M1 2h1v5H1z'/%3E%3Cpath fill='%230090D0' d='M2 3h1v6H2z'/%3E%3Cpath fill='%230078B4' d='M3 4h1v3H3z'/%3E%3Cpath fill='%23005E94' d='M4 5h1v1H4z'/%3E%3C/svg%3E") 2 2, auto;
}
@media (hover: none), (pointer: coarse) {
  html, body { cursor: auto; }
}

/* ── Reduced motion — kill the entire fx layer ────────── */
@media (prefers-reduced-motion: reduce) {
  .fx-grid { display: none; }
  .fx-shimmer { animation: none; background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
  .has-spot { transform: none; }
  .has-spot::before, .has-spot::after { display: none; }
  .tool__dot::after, .tool__media--soon::after, .hero__scroll-line::after { animation: none; display: none; }
  .pc-console__line .pc-caret { animation: none; }
  .nav.is-hidden { transform: none; }
  .reveal--blur { filter: none; }
  .icon-draw:hover .icon-stroke, .icon-draw:hover .icon-fill { animation: none; }
}

/* ============================================
   PORTFOLIO — WEBSITE PANEL
   Appended block; adds only new .webpanel/.webcard
   selectors so no existing rule is affected.
   ============================================ */
.webpanel{
  margin-top:56px;
  border:1px solid rgba(0,160,224,.22);
  border-radius:2px;
  background:rgba(0,160,224,.03);
  padding:28px;
}
.webpanel__head{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
  padding-bottom:18px;margin-bottom:28px;
  border-bottom:1px solid rgba(0,160,224,.18);
}
.webpanel__title{color:var(--gold,#00A0E0);letter-spacing:.22em}
.webpanel__count{opacity:.55}
.webpanel__grid{
  display:grid;gap:28px;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}

.webcard{position:relative;display:flex;flex-direction:column;
  border:1px solid rgba(255,255,255,.08);border-radius:2px;
  background:rgba(255,255,255,.02);overflow:hidden;
  transition:border-color .35s cubic-bezier(.22,1,.36,1),transform .35s cubic-bezier(.22,1,.36,1)}
.webcard:hover{border-color:rgba(0,160,224,.42);transform:translateY(-4px)}
.webcard__link{display:block;text-decoration:none;color:inherit}

.webcard__frame{background:rgba(0,0,0,.28);border-bottom:1px solid rgba(255,255,255,.07)}
.webcard__chrome{display:flex;align-items:center;gap:6px;padding:9px 12px;
  background:rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.06)}
.webcard__dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.2);flex:none}
.webcard__bar{margin-left:8px;flex:1;min-width:0;
  font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.04em;
  color:rgba(255,255,255,.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background:rgba(0,0,0,.25);border-radius:2px;padding:4px 10px}
.webcard__shot{aspect-ratio:1200/630;overflow:hidden;background:#0b0b0c}
.webcard__shot img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.22,1,.36,1)}
.webcard:hover .webcard__shot img{transform:scale(1.03)}

.webcard__body{padding:24px;display:flex;flex-direction:column;flex:1}
.webcard__top{display:flex;align-items:center;justify-content:space-between;gap:12px;
  flex-wrap:wrap;margin-bottom:14px}
.webcard__stack{opacity:.6}
.webcard__status{display:inline-flex;align-items:center;gap:7px;
  font-family:'JetBrains Mono',monospace;font-size:9px;letter-spacing:.18em;
  text-transform:uppercase}
.webcard__statusdot{width:6px;height:6px;border-radius:50%;flex:none}
.webcard__status--live{color:#4ade80}
.webcard__status--live .webcard__statusdot{background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.15)}
.webcard__status--soon{color:var(--gold,#00A0E0)}
.webcard__status--soon .webcard__statusdot{background:var(--gold,#00A0E0);box-shadow:0 0 0 3px rgba(0,160,224,.15)}

.webcard__name{margin:0 0 4px}
.webcard__sub{color:var(--gold,#00A0E0);letter-spacing:.1em;margin:0 0 14px;opacity:.85}
.webcard__desc{opacity:.72;margin:0}

.webcard__tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0}
.webcard__tags li{border:1px solid rgba(255,255,255,.12);border-radius:2px;
  padding:5px 10px;opacity:.65}

.webcard__foot{display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;margin-top:auto;padding-top:22px}
.webcard__year{font-size:1.15rem}
.webcard__decor{position:absolute;top:calc(9px + 34px + 14px);right:16px;
  opacity:.16;font-size:1.5rem;pointer-events:none}

@media (max-width:640px){
  .webpanel{padding:18px}
  .webpanel__grid{grid-template-columns:1fr;gap:22px}
  .webcard__body{padding:20px}
}
@media (prefers-reduced-motion:reduce){
  .webcard,.webcard__shot img{transition:none}
  .webcard:hover{transform:none}
  .webcard:hover .webcard__shot img{transform:none}
}

/* Sister-site badge above the hero headline: www.polycraftvisualss.co.uk */
.hero__newsite { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 18px 0 16px; padding: 7px 14px 7px 8px; border: 1px solid rgba(0,160,224,0.45); border-radius: 999px; background: rgba(0,160,224,0.08); color: var(--ink, #eef2f6); font-size: 14px; text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.hero__newsite:hover { background: rgba(0,160,224,0.16); border-color: #00A0E0; transform: translateY(-2px); }
.hero__newsite img { flex: none; }
.hero__newsite-tag { flex: none; padding: 2px 8px; border-radius: 999px; background: #00A0E0; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__newsite > span:nth-of-type(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__newsite-go { flex: none; color: #29B6F0; font-weight: 700; }
@media (max-width: 640px) { .hero__newsite { font-size: 12.5px; } }
