/* ============================================================
   DUITOR — Grow Faster. Market Smarter.
   Design language: fresh mint · vibrant green · white glass
   ============================================================ */
:root {
  --bg: #f3faf5;
  --bg-soft: #ffffff;
  --card: rgba(255, 255, 255, 0.66);
  --card-strong: rgba(255, 255, 255, 0.9);
  --stroke: rgba(15, 84, 47, 0.10);
  --stroke-strong: rgba(15, 84, 47, 0.18);
  --ink: #0b1a10;
  --muted: #5c6f62;
  --brand: #22c55e;
  --brand-deep: #166534;
  --brand-hi: #15803d;
  --success: #16a34a;
  --grad: linear-gradient(105deg, #34d399 0%, #16a34a 40%, #15803d 75%, #22c55e 100%);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Instrument Sans", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --container: 1200px;
  --shadow-1: 0 18px 50px rgba(16, 64, 36, 0.14);
  --shadow-glow: 0 12px 38px rgba(34, 197, 94,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(34, 197, 94,0.55); color: #ffffff; }

:focus-visible {
  outline: 2px solid var(--brand-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  padding: 10px 18px; border-radius: 999px;
  background: var(--brand); color: #ffffff; font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 130px 0; position: relative; }

/* Typography helpers */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% 100%;
  animation: sheen 7s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px;
  background: var(--brand); opacity: 0.65;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 560px;
}

.section-head { max-width: 760px; margin-bottom: 68px; }

/* ============================================================
   Ambient background
   ============================================================ */
.bg-aurora {
  position: fixed; inset: 0; z-index: -3;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(110% 80% at 50% 0%, #e6f6ec 0%, var(--bg) 58%),
    var(--bg);
}
.orb { position: absolute; border-radius: 50%; opacity: 0.8; will-change: transform; }
.orb-1 {
  width: 62vw; height: 62vw; top: -26vw; left: -16vw;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.30) 0%, rgba(34, 197, 94, 0.11) 42%, transparent 68%);
  animation: drift1 28s ease-in-out infinite alternate;
}
.orb-2 {
  width: 50vw; height: 50vw; top: 2vw; right: -18vw;
  background: radial-gradient(circle, rgba(45, 212, 160, 0.28) 0%, rgba(45, 212, 160, 0.10) 42%, transparent 68%);
  animation: drift2 34s ease-in-out infinite alternate;
}
.orb-3 {
  width: 42vw; height: 42vw; bottom: -22vw; left: 26vw;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.20) 0%, rgba(132, 204, 22, 0.08) 42%, transparent 68%);
  animation: drift3 40s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(9vw, 7vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vw, 9vw) scale(0.92); } }
@keyframes drift3 { to { transform: translate(-9vw, -7vw) scale(1.15); } }

.bg-noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%),
    rgba(34, 197, 94, 0.13), transparent 65%);
}

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 500; letter-spacing: 0.3em;
  display: flex; overflow: hidden;
  padding-bottom: 0.1em;
}
.pl-letter {
  display: inline-block;
  transform: translateY(115%);
  animation: plUp 0.7s var(--ease) forwards;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pl-letter:nth-child(2) { animation-delay: 0.06s; }
.pl-letter:nth-child(3) { animation-delay: 0.12s; }
.pl-letter:nth-child(4) { animation-delay: 0.18s; }
.pl-letter:nth-child(5) { animation-delay: 0.24s; }
.pl-letter:nth-child(6) { animation-delay: 0.3s; }
@keyframes plUp { to { transform: translateY(0); } }
.preloader-bar {
  width: min(260px, 60vw); height: 1px; border-radius: 2px;
  background: rgba(21, 128, 61,0.14); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
}
.preloader-count {
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.22em; color: var(--muted);
}

html:not(.js) .preloader { display: none; }

/* ============================================================
   Cursor + progress
   ============================================================ */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 260;
  height: 2px; width: 100%;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 320;
  pointer-events: none; border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--brand-hi);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(34, 197, 94,0.85);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
    border-color 0.25s, background 0.25s;
}
.cursor-ring.is-hover {
  width: 66px; height: 66px;
  border-color: rgba(22, 163, 74,0.95);
  background: rgba(34, 197, 94,0.08);
}
@media (hover: hover) and (pointer: fine) {
  html.js body.cursor-on, html.js body.cursor-on a,
  html.js body.cursor-on button, html.js body.cursor-on input,
  html.js body.cursor-on select, html.js body.cursor-on textarea,
  html.js body.cursor-on summary, html.js body.cursor-on label {
    cursor: none;
  }
  body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
}

/* ============================================================
   Glass + buttons
   ============================================================ */
.glass {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px;
  font-family: var(--font-ui);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn span, .btn .btn-ico { position: relative; z-index: 2; }
.btn-ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-ico { transform: translateX(4px); }

.btn-primary {
  color: #ffffff;
  background: linear-gradient(105deg, #34d399, #22c55e 45%, #16a34a);
  box-shadow: var(--shadow-glow);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, #4ade80, #34d399 50%, #22c55e);
  opacity: 0; transition: opacity 0.35s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(34, 197, 94,0.38); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--stroke-strong);
  background: rgba(15, 84, 47,0.03);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-hi);
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
}

.btn-sm { padding: 11px 24px; font-size: 0.86rem; }
.btn-lg { padding: 20px 42px; font-size: 1.02rem; }

/* Premium Mechanical 3D Button Click */
.btn:active {
  transform: translateY(2px) scale(0.96) !important;
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(34, 197, 94, 0.1) !important;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:active::before {
  opacity: 0.5; /* Dim the inner gradient slightly to show depth */
}

.btn-ghost:active {
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.08) !important;
  background: rgba(34, 197, 94, 0.15) !important;
}

.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  background: rgba(34, 197, 94,0.13); color: #15803d;
  border: 1px solid rgba(34, 197, 94,0.32);
  font-style: normal;
}
.pill-green {
  background: rgba(22, 163, 74,0.12); color: #15803d;
  border-color: rgba(22, 163, 74,0.38);
}

.pulse-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(34, 197, 94,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94,0); }
}

/* Animated conic glow border */
@property --ga {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.glow-card { position: relative; }
.glow-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ga),
    rgba(34, 197, 94,0) 0%, rgba(22, 163, 74,0.9) 12%,
    rgba(21, 128, 61, 0.9) 22%, rgba(34, 197, 94, 0) 34%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinGlow 5s linear infinite;
  pointer-events: none;
}
@keyframes spinGlow { to { --ga: 360deg; } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s),
    filter 0.9s var(--ease) var(--d, 0s);
}
html.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s,
    box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--stroke);
  box-shadow: 0 10px 40px rgba(16, 64, 36, 0.14);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 30px; height: 30px; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: 0.24em; font-size: 1.08rem;
}

.nav-links { display: flex; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 13px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 1px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke-strong);
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(243, 250, 245, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-links a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 500;
  padding: 6px 18px; color: var(--ink);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), color 0.25s;
}
.mobile-links a:hover { color: var(--brand-hi); font-style: italic; }
.mobile-menu.open .mobile-links a { opacity: 1; transform: none; }
.mobile-menu.open .mobile-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-links a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-links a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu.open .mobile-links a:nth-child(8) { transition-delay: 0.4s; }
.mobile-cta { margin-top: 22px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-beam {
  position: absolute; z-index: 0; pointer-events: none;
  width: 2.5px; height: 42vh; top: -5vh;
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.75), transparent);
  filter: blur(1px);
  animation: beamFall 7s linear infinite;
  opacity: 0;
}

/* floating shapes (reference-style green tiles) */
.hero-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shp {
  position: absolute; display: block; border-radius: 7px;
  background: linear-gradient(140deg, rgba(34, 197, 94, 0.38), rgba(74, 222, 128, 0.16));
  animation: shpFloat 9s ease-in-out infinite alternate;
}
.shp-soft {
  background: linear-gradient(140deg, rgba(134, 239, 172, 0.45), rgba(34, 197, 94, 0.14));
}
@keyframes shpFloat {
  from { transform: translateY(0) rotate(var(--r, 0deg)); }
  to { transform: translateY(-30px) rotate(calc(var(--r, 0deg) + 12deg)); }
}
.hero-beam-1 { left: 18%; animation-delay: 1.2s; }
.hero-beam-2 { left: 72%; animation-delay: 4s; height: 34vh; }
@keyframes beamFall {
  0% { transform: translateY(-45vh) rotate(14deg); opacity: 0; }
  12% { opacity: 0.8; }
  60% { opacity: 0.4; }
  100% { transform: translateY(120vh) rotate(14deg); opacity: 0; }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 60px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: var(--card);
  backdrop-filter: blur(10px);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero-title .hw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero-title .hw b { display: inline-block; font-weight: inherit; }
.hero-title .hw-em { font-style: italic; }
html.js .hero-title .hw b { transform: translateY(120%) rotate(3deg); }
html.js.loaded .hero-title .hw b {
  transform: none;
  transition: transform 1s var(--ease);
}
html.js.loaded .hero-title .hw:nth-child(1) b { transition-delay: 0.05s; }
html.js.loaded .hero-title .hw:nth-child(2) b { transition-delay: 0.12s; }
html.js.loaded .hero-title .hw:nth-child(3) b { transition-delay: 0.19s; }
html.js.loaded .hero-title .hw:nth-child(4) b { transition-delay: 0.26s; }
html.js.loaded .hero-title .hw:nth-child(5) b { transition-delay: 0.33s; }
html.js.loaded .hero-title .hw:nth-child(6) b { transition-delay: 0.4s; }

.hero-sub {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 40px;
}
html.js .hero-sub, html.js .hero-ctas, html.js .hero-trust, html.js .hero-badge {
  opacity: 0; transform: translateY(24px);
}
html.js.loaded .hero-sub, html.js.loaded .hero-ctas,
html.js.loaded .hero-trust, html.js.loaded .hero-badge {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js.loaded .hero-badge { transition-delay: 0s; }
html.js.loaded .hero-sub { transition-delay: 0.5s; }
html.js.loaded .hero-ctas { transition-delay: 0.62s; }
html.js.loaded .hero-trust { transition-delay: 0.74s; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-trust {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: 0.88rem;
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 14px; height: 14px; fill: #22c55e; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; z-index: 2;
  transform: translateX(-50%);
}
.mouse {
  display: block; width: 24px; height: 38px;
  border: 1px solid var(--stroke-strong); border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; border-radius: 3px;
  background: var(--brand);
  transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 12px); opacity: 0; }
}

/* --- Growth console (signature) --- */
.hero-visual { position: relative; perspective: 1200px; }
html.js .hero-visual { opacity: 0; transform: translateY(30px) scale(0.97); }
html.js.loaded .hero-visual {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s;
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.orbit-scene {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid; place-items: center;
}
.orbit-halo {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22) 0%, rgba(34, 197, 94, 0.08) 45%, transparent 70%);
}
.orbit-sheen {
  position: absolute; inset: 3%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(34, 197, 94, 0.14) 12%, transparent 26%);
  animation: spin 26s linear infinite;
}

.ring {
  position: absolute;
  border: 1.5px solid rgba(34, 197, 94, 0.38);
  border-radius: 50%;
  animation: spin linear infinite;
}
.ring-1 { inset: 27%; animation-duration: 22s; }
.ring-2 { inset: 14.5%; animation-duration: 34s; animation-direction: reverse; }
.ring-3 { inset: 2%; animation-duration: 48s; }
.ring::after {
  content: ""; position: absolute; bottom: -3px; left: 50%; margin-left: -2.5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(22, 163, 74,0.8);
  box-shadow: 0 0 10px rgba(22, 163, 74,0.7);
}

.node {
  position: absolute; top: 0; left: 50%;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255,0.88);
  border: 1px solid rgba(34, 197, 94,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(16, 64, 36, 0.14), 0 0 20px rgba(34, 197, 94,0.12);
  color: var(--brand-hi);
  animation: spinBack linear infinite;
}
@keyframes spinBack { to { transform: rotate(-360deg); } }
.ring-1 .node { animation-duration: 22s; }
.ring-2 .node { animation-duration: 34s; animation-direction: reverse; }
.ring-3 .node { animation-duration: 48s; }
.node svg { width: 20px; height: 20px; }
.node em {
  position: absolute; top: calc(100% + 7px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-style: normal; font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.orbit-core {
  position: relative; z-index: 2;
  width: 34%; aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 60px rgba(34, 197, 94, 0.18);
  animation: floatY 7s ease-in-out infinite;
}
.core-mono {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(2.8rem, 7.5vw, 4.4rem); line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.core-label {
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
}

/* orbit entrance */
html.js .orbit-halo, html.js .orbit-sheen, html.js .ring { opacity: 0; }
html.js .orbit-core { opacity: 0; transform: scale(0.72); }
html.js.loaded .orbit-core {
  opacity: 1; transform: scale(1);
  transition: opacity 0.9s var(--ease) 0.6s, transform 0.9s var(--ease) 0.6s;
}
html.js.loaded .ring-1 { opacity: 1; transition: opacity 0.8s ease 0.95s; }
html.js.loaded .ring-2 { opacity: 1; transition: opacity 0.8s ease 1.1s; }
html.js.loaded .ring-3 { opacity: 1; transition: opacity 0.8s ease 1.25s; }
html.js.loaded .orbit-halo, html.js.loaded .orbit-sheen {
  opacity: 1; transition: opacity 1.3s ease 1.1s;
}

.hero-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 17px;
  border-radius: 15px;
  background: rgba(255, 255, 255,0.85);
  border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1);
  animation: floatY 6s ease-in-out infinite;
}
.hero-chip svg { width: 19px; height: 19px; color: var(--brand); flex-shrink: 0; }
.hero-chip strong { display: block; font-size: 0.82rem; }
.hero-chip span { color: var(--muted); font-size: 0.7rem; }
.hc-1 { top: 3%; left: -2%; animation-delay: 1.1s; }
.hc-2 { bottom: 2%; right: -1%; animation-delay: 2.2s; }
html.js .hero-chip { opacity: 0; }
html.js.loaded .hero-chip { opacity: 1; transition: opacity 0.8s ease 1.45s; }

/* ============================================================
   Logos marquee
   ============================================================ */
.logos { padding: 40px 0 70px; }
.logos-label {
  text-align: center; color: var(--muted);
  font-size: 0.86rem; letter-spacing: 0.06em;
  margin-bottom: 36px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 76px;
  width: max-content;
  padding-right: 76px;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  color: rgba(11, 26, 16,0.34);
  white-space: nowrap;
  transition: color 0.3s;
}
.brand-logo:hover { color: rgba(11, 26, 16,0.85); }
.bl-1 { letter-spacing: 0.26em; }
.bl-2 { font-style: italic; }
.bl-3 { letter-spacing: 0.16em; font-weight: 400; }
.bl-4 { text-transform: lowercase; font-weight: 600; }
.bl-5 { letter-spacing: 0.1em; }
.bl-6 { font-weight: 400; font-style: italic; }
.bl-7 { text-transform: lowercase; letter-spacing: 0.06em; }
.bl-8 { letter-spacing: 0.32em; font-weight: 400; }

/* ============================================================
   Stats
   ============================================================ */
.stats { padding: 30px 0 60px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat {
  padding: 36px 26px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(34, 197, 94,0.5); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.02em; }

/* ============================================================
   Services bento
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bento-card {
  position: relative;
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
  overflow: hidden;
}
.bento-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%),
    rgba(34, 197, 94,0.12), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.bento-card:hover { transform: translateY(-7px); border-color: rgba(34, 197, 94,0.45); }
.bento-card:hover::after { opacity: 1; }
.b-2w { grid-column: span 2; }
.b-2h { grid-row: span 2; }

.bc-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(34, 197, 94,0.17), rgba(22, 101, 52,0.07));
  border: 1px solid rgba(34, 197, 94,0.3);
  color: var(--brand-hi);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.bc-icon svg { width: 26px; height: 26px; }
.bento-card:hover .bc-icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 28px rgba(34, 197, 94,0.3);
}

.bento-card h3 {
  font-family: var(--font-ui);
  font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em;
}
.bento-card p { color: var(--muted); font-size: 0.92rem; flex-grow: 1; }

.card-cta {
  font-family: var(--font-ui);
  font-size: 0.84rem; font-weight: 600;
  color: #15803d;
  display: inline-flex; align-items: center; gap: 6px;
  width: fit-content;
}
.card-cta i { font-style: normal; transition: transform 0.3s var(--ease); }
.card-cta:hover i { transform: translateX(4px); }
.card-cta:hover { color: var(--brand-hi); }

.rank-demo { display: grid; gap: 10px; margin: 14px 0 10px; }
.rank-row { display: flex; align-items: center; gap: 12px; }
.rank-pos {
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  width: 26px;
}
.rank-bar {
  height: 7px; border-radius: 4px; flex: 1;
  background: rgba(15, 84, 47,0.07);
  position: relative; overflow: hidden;
}
.rank-bar::after {
  content: ""; position: absolute; inset: 0;
  width: var(--w, 40%);
  border-radius: 4px;
  background: linear-gradient(90deg, #15803d, #22c55e);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease) 0.3s;
}
.rank-win::after { background: linear-gradient(90deg, #22c55e, #86efac); }
[data-reveal].in .rank-bar::after { transform: scaleX(1); }
.rank-win + * { color: var(--brand-hi); }

.ai-ticker {
  display: grid; gap: 6px;
  margin: 8px 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem; color: #15803d;
  border-left: 1px solid rgba(34, 197, 94,0.4);
  padding-left: 12px;
}
.ai-ticker span { opacity: 0.85; }
.ai-ticker span::before { content: "› "; opacity: 0.6; }

.bento-cta {
  justify-content: center; align-items: flex-start;
  background: linear-gradient(140deg, rgba(34, 197, 94,0.13), rgba(22, 101, 52,0.04));
}
.bento-cta h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.bento-cta p { flex-grow: 0; }
.bento-cta .btn { margin-top: 8px; }

/* ============================================================
   Why choose us
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 70px; align-items: center;
}
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin-top: 46px; }
.why-list li { display: flex; gap: 15px; align-items: flex-start; }
.why-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(34, 197, 94,0.12);
  border: 1px solid rgba(34, 197, 94,0.28);
  color: var(--brand-hi);
}
.why-ico svg { width: 22px; height: 22px; }
.why-list strong { display: block; font-family: var(--font-ui); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.why-list span { color: var(--muted); font-size: 0.86rem; line-height: 1.55; }

.why-visual { position: relative; display: grid; place-items: center; perspective: 1000px; }
.why-card {
  position: relative; z-index: 2;
  width: min(400px, 100%);
  padding: 28px;
  display: grid; gap: 20px;
  box-shadow: var(--shadow-1);
  animation: floatY 8s ease-in-out infinite;
}
.why-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted);
}
.mini-bars { display: grid; gap: 14px; }
.mb { display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 12px; }
.mb span { font-size: 0.78rem; color: var(--muted); }
.mb i {
  height: 8px; border-radius: 5px;
  background: rgba(15, 84, 47,0.07);
  position: relative; overflow: hidden;
}
.mb i::after {
  content: ""; position: absolute; inset: 0; width: var(--w, 50%);
  border-radius: 5px;
  background: linear-gradient(90deg, #15803d, #4ade80);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.2s var(--ease) 0.4s;
}
[data-reveal].in .mb i::after, .why-visual.in .mb i::after { transform: scaleX(1); }
.mb em { font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--success); text-align: right; }
.why-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.why-foot-num { font-family: var(--font-ui); font-size: 0.84rem; font-weight: 600; }

.orbit-ring {
  position: absolute; z-index: 1;
  width: 125%; max-width: 92vw;
  aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(34, 197, 94,0.26);
  animation: spin 30s linear infinite;
}
.orbit-ring i {
  position: absolute; top: -5px; left: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand-hi);
  box-shadow: 0 0 14px rgba(22, 163, 74,0.9);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Process timeline
   ============================================================ */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.t-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1.5px; transform: translateX(-50%);
  background: rgba(15, 84, 47,0.08);
  border-radius: 2px; overflow: hidden;
}
.t-line span {
  display: block; width: 100%; height: 0%;
  background: var(--grad);
}
.t-step {
  position: relative;
  display: flex; align-items: center; gap: 40px;
  margin-bottom: 44px;
}
.t-step:last-child { margin-bottom: 0; }
.t-step:nth-child(odd) { flex-direction: row-reverse; }
.t-step:nth-child(even) { flex-direction: row; }
.t-step:nth-child(odd) .t-card { text-align: right; }

.t-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.t-dot i {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid rgba(34, 197, 94,0.5);
  font-family: var(--font-mono);
  font-style: normal; font-weight: 700; font-size: 0.8rem;
  color: var(--brand-hi);
  box-shadow: 0 0 0 6px rgba(34, 197, 94,0.07);
  transition: box-shadow 0.4s, background 0.4s, color 0.4s;
}
.t-step:hover .t-dot i {
  background: linear-gradient(140deg, #34d399, #16a34a);
  color: #ffffff;
  box-shadow: 0 0 30px rgba(34, 197, 94,0.5);
}
.t-card {
  width: calc(50% - 66px);
  padding: 24px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.t-card:hover { transform: translateY(-4px); border-color: rgba(34, 197, 94,0.4); }
.t-card h3 { font-family: var(--font-ui); font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.t-card p { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   Case studies
   ============================================================ */
.cases .case-card { margin-bottom: 26px; }
.case-card {
  display: grid; grid-template-columns: 300px 1fr;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  transform-style: preserve-3d;
}
.case-card:hover {
  border-color: rgba(34, 197, 94,0.42);
  box-shadow: var(--shadow-1);
}
.case-art {
  position: relative;
  display: grid; place-items: center;
  min-height: 240px;
  overflow: hidden;
}
.case-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}
.case-card:hover .fart { transform: rotate(0deg) scale(1.05); }

/* ABM funnel art */
.f-funnel { justify-items: center; gap: 8px; padding: 20px 18px; }
.fu-label {
  font-family: var(--font-mono);
  font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.fu-bar {
  display: block; height: 12px; width: var(--w, 100%);
  border-radius: 6px;
  background: rgba(15, 84, 47,0.13);
  border: 1px solid rgba(21, 128, 61,0.12);
}
.fu-win {
  background: linear-gradient(90deg, #22c55e, #86efac);
  box-shadow: 0 0 16px rgba(34, 197, 94,0.35);
  border-color: transparent;
}

/* social post art */
.f-post { gap: 9px; width: min(64%, 195px); }
.po-head { display: flex; align-items: center; gap: 8px; }
.po-av { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #15803d, #4ade80); }
.po-name { flex: 1; max-width: 72px; height: 6px; border-radius: 3px; background: rgba(15, 84, 47,0.22); }
.po-img {
  display: block; height: 92px; border-radius: 8px;
  background:
    radial-gradient(80% 90% at 65% 25%, rgba(220, 252, 231,0.45), transparent 60%),
    linear-gradient(140deg, rgba(34, 197, 94,0.5), rgba(22, 101, 52,0.22));
}
.po-actions { display: flex; gap: 11px; color: var(--brand-hi); }
.po-actions svg { width: 15px; height: 15px; }
.art-nordbrew { background: linear-gradient(150deg, #064e3b, #0f9159 55%, #6ee7b7); }
.art-vaultline { background: linear-gradient(150deg, #134e4a, #0d9488 55%, #5eead4); }
.art-mira { background: linear-gradient(150deg, #14532d, #16a34a 55%, #86efac); }

.case-body { padding: 32px 36px; display: grid; gap: 22px; }
.case-meta { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.case-meta strong { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.01em; }
.case-meta > span { color: var(--muted); font-size: 0.9rem; }
.case-tags { display: flex; gap: 8px; margin-left: auto; }
.case-tags em {
  font-style: normal; font-size: 0.72rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(34, 197, 94,0.08); color: #15803d;
  border: 1px solid rgba(34, 197, 94,0.28);
}

.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cm { display: grid; gap: 2px; }
.cm-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.7vw, 2.2rem); font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.cm-label { color: var(--muted); font-size: 0.8rem; }

.ba { display: grid; gap: 10px; }
.ba-row { display: grid; grid-template-columns: 52px 1fr 130px; align-items: center; gap: 14px; }
.ba-row > span { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.ba-bar {
  height: 9px; border-radius: 5px;
  background: rgba(15, 84, 47,0.06);
  position: relative; overflow: hidden;
}
.ba-bar::after {
  content: ""; position: absolute; inset: 0; width: var(--w, 40%);
  border-radius: 5px;
  background: rgba(15, 84, 47,0.22);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.2s var(--ease) 0.35s;
}
.ba-after::after { background: linear-gradient(90deg, #15803d, #4ade80); }
[data-reveal].in .ba-bar::after { transform: scaleX(1); }
.ba-row em { font-style: normal; font-size: 0.82rem; font-weight: 600; text-align: right; }

/* ============================================================
   Giant italic strip
   ============================================================ */
.strip {
  padding: 30px 0;
  overflow: hidden;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(15, 84, 47,0.015);
}
.strip-track {
  display: flex; align-items: center; gap: 58px;
  width: max-content;
  padding-right: 58px;
  animation: marquee 38s linear infinite;
}
.strip-track span {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(22, 163, 74,0.14);
}
@supports (-webkit-text-stroke: 1px #fff) {
  .strip-track span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 197, 94,0.38);
  }
}
.strip-track i {
  font-style: normal;
  color: var(--brand);
  font-size: 1.3rem;
  opacity: 0.8;
}

/* ============================================================
   Portfolio
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(15, 84, 47,0.03);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.86rem; font-weight: 600;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: rgba(34, 197, 94,0.55); }
.filter-btn.is-active {
  color: #ffffff;
  background: linear-gradient(105deg, #34d399, #22c55e 55%, #16a34a);
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(34, 197, 94,0.3);
}

.folio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 18px;
}
.folio-item {
  position: relative;
  grid-row: span 2;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--stroke);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, opacity 0.4s, filter 0.45s;
}
.fi-tall { grid-row: span 3; }
.folio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-1);
  z-index: 2;
}
.folio-item.is-hidden { display: none; }
.folio-item.pop { animation: popIn 0.5s var(--ease) both; }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: none; }
}

.folio-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: transform 0.7s var(--ease);
}
.folio-item:hover .folio-art { transform: scale(1.07); }
/* --- project preview mockups inside tiles --- */
.fart {
  position: relative; z-index: 1;
  width: min(74%, 230px);
  padding: 16px 14px;
  display: grid; gap: 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255,0.68);
  border: 1px solid rgba(21, 128, 61,0.16);
  box-shadow: 0 20px 44px rgba(16, 64, 36, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}
.folio-item:hover .fart { transform: rotate(0deg) scale(1.04); }

/* mini website */
.st-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.st-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15, 84, 47,0.28); }
.st-bar i:first-child { background: rgba(34, 197, 94,0.7); }
.st-bar em {
  flex: 1; height: 8px; margin-left: 6px; border-radius: 999px;
  background: rgba(15, 84, 47,0.09);
  border: 1px solid rgba(21, 128, 61,0.12);
}
.st-h1 {
  display: block; height: 13px; width: 78%; border-radius: 4px;
  background: linear-gradient(90deg, #34d399, #15803d);
  opacity: 0.9;
}
.st-line { display: block; height: 6px; width: 92%; border-radius: 3px; background: rgba(15, 84, 47,0.2); }
.st-short { width: 64%; }
.st-btn {
  display: block; height: 20px; width: 74px; border-radius: 999px;
  background: linear-gradient(105deg, #34d399, #16a34a);
  margin-top: 2px;
}
.st-media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.st-media i {
  height: 44px; border-radius: 7px;
  background: linear-gradient(140deg, rgba(15, 84, 47,0.16), rgba(15, 84, 47,0.05));
  border: 1px solid rgba(21, 128, 61,0.1);
}
.fi-tall .st-media i { height: 64px; }

/* identity board */
.f-brand { justify-items: center; text-align: center; gap: 13px; padding: 24px 14px; }
.br-mark { width: 46px; height: 46px; color: var(--brand-hi); filter: drop-shadow(0 4px 14px rgba(34, 197, 94,0.35)); }
.br-word {
  font-family: var(--font-ui);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(11, 26, 16,0.92);
}
.br-serif {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: 1.15rem; letter-spacing: 0.06em; text-transform: none;
}
.br-swatches { display: flex; gap: 7px; }
.br-swatches i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(21, 128, 61,0.25); }
.br-swatches i:nth-child(1) { background: #22c55e; }
.br-swatches i:nth-child(2) { background: #ffffff; }
.br-swatches i:nth-child(3) { background: #15803d; }
.br-swatches i:nth-child(4) { background: #0b1a10; }

/* search rankings */
.f-seo { gap: 8px; }
.se-search {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 9px; border-radius: 999px;
  border: 1px solid rgba(21, 128, 61,0.2);
  background: rgba(15, 84, 47,0.05);
  margin-bottom: 3px;
}
.se-search svg { width: 11px; height: 11px; color: var(--brand); flex-shrink: 0; }
.se-search i { flex: 1; height: 5px; border-radius: 3px; background: rgba(15, 84, 47,0.22); }
.se-row { display: flex; align-items: center; gap: 8px; }
.se-row b {
  font-family: var(--font-mono);
  font-size: 0.58rem; font-weight: 700; color: var(--muted);
  width: 17px;
}
.se-row i { flex: 1; height: 6px; border-radius: 3px; background: rgba(15, 84, 47,0.14); }
.se-win b { color: var(--brand-hi); }
.se-win i { background: linear-gradient(90deg, #22c55e, #86efac); box-shadow: 0 0 12px rgba(34, 197, 94,0.35); }
.se-spark { width: 100%; height: 26px; color: var(--brand); opacity: 0.85; margin-top: 3px; }

/* ad creative stack */
.fart-stack {
  position: relative; z-index: 1;
  width: min(62%, 175px);
  aspect-ratio: 4 / 5;
}
.ad-card {
  position: absolute; inset: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255,0.72);
  border: 1px solid rgba(21, 128, 61,0.16);
  box-shadow: 0 16px 36px rgba(16, 64, 36, 0.12);
  transition: transform 0.5s var(--ease);
}
.ad-back { transform: rotate(-9deg) translate(-10px, 8px); opacity: 0.5; }
.ad-back2 { transform: rotate(7deg) translate(10px, -5px); opacity: 0.7; }
.folio-item:hover .ad-back { transform: rotate(-13deg) translate(-16px, 12px); }
.folio-item:hover .ad-back2 { transform: rotate(11deg) translate(16px, -8px); }
.ad-front {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ad-img {
  display: block; flex: 1; min-height: 0; border-radius: 8px;
  background:
    radial-gradient(80% 90% at 70% 20%, rgba(220, 252, 231,0.5), transparent 60%),
    linear-gradient(140deg, rgba(34, 197, 94,0.55), rgba(22, 101, 52,0.25));
}
.ad-line { display: block; height: 6px; width: 88%; border-radius: 3px; background: rgba(15, 84, 47,0.22); }
.ad-short { width: 58%; }
.ad-cta {
  display: block; height: 19px; width: 62%; border-radius: 999px;
  background: linear-gradient(105deg, #34d399, #16a34a);
  margin-top: 3px;
}
.folio-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
}
.fa-1 { background: linear-gradient(160deg, #14532d, #22c55e); }
.fa-2 { background: linear-gradient(160deg, #3f6212, #a3e635); }
.fa-3 { background: linear-gradient(160deg, #064e3b, #10b981); }
.fa-4 { background: linear-gradient(160deg, #134e4a, #2dd4bf); }
.fa-5 { background: linear-gradient(160deg, #052e16, #16a34a); }
.fa-6 { background: linear-gradient(160deg, #166534, #86efac); }
.fa-7 { background: linear-gradient(160deg, #0f766e, #5eead4); }
.fa-8 { background: linear-gradient(160deg, #1a2e05, #84cc16); }

.folio-info {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 40px 20px 18px;
  display: grid; gap: 1px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.93));
  transform: translateY(30%); opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
}
.folio-item:hover .folio-info, .folio-item:focus-visible .folio-info {
  transform: none; opacity: 1;
}
@media (hover: none) {
  .folio-info { transform: none; opacity: 1; }
}
.folio-info strong { font-family: var(--font-ui); font-weight: 600; font-size: 1.05rem; color: #ffffff; }
.folio-info span { color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; }
.folio-info em {
  font-style: normal;
  position: absolute; top: 14px; right: 16px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #86efac;
}

/* ============================================================
   Testimonials
   ============================================================ */
.tstm { overflow: hidden; }
.tstm .section-head { margin-bottom: 50px; }
.t-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 10px 0 26px;
}
.t-track {
  display: flex; gap: 24px;
  width: max-content;
  padding-right: 24px;
  animation: marquee 48s linear infinite;
}
.t-marquee:hover .t-track { animation-play-state: paused; }

.t-card {
  position: relative;
  width: min(410px, 84vw);
  padding: 30px 30px 26px;
  margin: 0;
  display: grid; gap: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.t-card:hover { transform: translateY(-6px); border-color: rgba(34, 197, 94,0.4); }
.t-quote {
  position: absolute; top: 6px; right: 22px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.5;
}
.t-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: 1.06rem; line-height: 1.6;
  letter-spacing: 0.005em;
  color: rgba(11, 26, 16,0.9);
}
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-ui);
  font-weight: 700; font-size: 0.85rem; color: #ffffff;
}
.av-1 { background: linear-gradient(135deg, #15803d, #4ade80); }
.av-2 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.av-3 { background: linear-gradient(135deg, #166534, #86efac); }
.av-4 { background: linear-gradient(135deg, #14532d, #22c55e); }
.av-5 { background: linear-gradient(135deg, #3f6212, #a3e635); }
.av-6 { background: linear-gradient(135deg, #064e3b, #34d399); }
.t-card figcaption strong { display: block; font-size: 0.9rem; font-family: var(--font-ui); font-weight: 600; }
.t-card figcaption div span { color: var(--muted); font-size: 0.78rem; }
.t-stars { margin-left: auto; color: #22c55e; font-size: 0.82rem; letter-spacing: 2px; }

/* ============================================================
   ROI calculator
   ============================================================ */
.calc-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 70px; align-items: center;
}
.calc-note {
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 1px solid var(--brand);
  background: rgba(34, 197, 94,0.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--muted); font-size: 0.86rem;
}

.calc-panel { padding: 38px; display: grid; gap: 26px; }
.calc-field { display: grid; gap: 12px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; }
.calc-row label, .calc-select-label {
  font-family: var(--font-ui);
  font-size: 0.88rem; font-weight: 600; color: rgba(11, 26, 16,0.85);
}
.calc-row output {
  font-family: var(--font-ui);
  font-weight: 700; font-size: 1.05rem; color: var(--brand-hi);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand) var(--fill, 20%), rgba(15, 84, 47,0.1) var(--fill, 20%));
  outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--brand);
  box-shadow: 0 4px 16px rgba(34, 197, 94,0.45);
  cursor: grab;
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #ffffff; border: 5px solid var(--brand);
  box-shadow: 0 4px 16px rgba(34, 197, 94,0.45);
  cursor: grab;
}

select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--stroke-strong);
  background: rgba(15, 84, 47,0.04);
  color: var(--ink);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(34, 197, 94,0.16);
  background: rgba(15, 84, 47,0.06);
}
select option { background: var(--bg-soft); color: var(--ink); }
::placeholder { color: rgba(92, 111, 98, 0.6); }

.calc-results {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  background: rgba(34, 197, 94,0.07);
  border: 1px solid rgba(34, 197, 94,0.24);
}
.cr { display: grid; gap: 4px; }
.cr-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cr-num {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.calc-cta { justify-self: start; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.price-card {
  position: relative;
  padding: 42px 34px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94,0.5);
  box-shadow: var(--shadow-1);
}
.price-card h3 { font-family: var(--font-ui); font-size: 1.26rem; font-weight: 600; }
.price-for { color: var(--muted); font-size: 0.86rem; margin-bottom: 20px; }
.price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-cur { font-size: 0.55em; vertical-align: super; }
.price-per {
  font-family: var(--font-ui);
  font-size: 0.34em; font-weight: 500; letter-spacing: 0;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
}

.price-list { display: grid; gap: 12px; margin-bottom: 34px; flex-grow: 1; }
.price-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(11, 26, 16,0.82); font-size: 0.92rem;
}
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34, 197, 94,0.12);
  border: 1px solid rgba(34, 197, 94,0.5);
}
.price-list li::after {
  content: ""; position: absolute; left: 4.5px; top: 9.5px;
  width: 7px; height: 4px;
  border-left: 1.6px solid var(--brand-hi);
  border-bottom: 1.6px solid var(--brand-hi);
  transform: rotate(-45deg);
}
.price-btn { width: 100%; }

.price-popular {
  background: linear-gradient(160deg, rgba(34, 197, 94,0.1), rgba(15, 84, 47,0.03));
  border-color: rgba(34, 197, 94,0.45);
  transform: scale(1.03);
}
.price-popular:hover { transform: scale(1.03) translateY(-8px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 18px; border-radius: 999px;
  background: linear-gradient(105deg, #34d399, #22c55e 55%, #16a34a);
  font-family: var(--font-ui);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(34, 197, 94,0.4);
  white-space: nowrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; transition: border-color 0.35s; }
.faq-item[open] { border-color: rgba(34, 197, 94,0.45); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-ui);
  font-weight: 600; font-size: 1.02rem;
  cursor: pointer;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-hi); }
.faq-ico {
  position: relative; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico {
  transform: rotate(45deg);
  background: rgba(34, 197, 94,0.18);
  border-color: var(--brand);
}
.faq-body { padding: 0 26px; }
.faq-body p {
  color: var(--muted); font-size: 0.94rem;
  padding-bottom: 24px;
  max-width: 640px;
}
html.js .faq-body { overflow: hidden; }

/* ============================================================
   Blog
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94,0.45);
  box-shadow: var(--shadow-1);
}
.post-art {
  height: 170px;
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.post-art > div { transition: transform 0.5s var(--ease); }
.post-card:hover .post-art > div { transform: scale(1.06); }

/* attribution journey */
.pj { display: flex; align-items: center; gap: 7px; }
.pj-node {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255,0.7);
  border: 1px solid rgba(21, 128, 61,0.3);
  color: var(--brand-hi);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(16, 64, 36, 0.12);
}
.pj-node svg { width: 17px; height: 17px; }
.pj-link { width: 15px; border-top: 2px dotted rgba(21, 128, 61,0.45); }
.pj-win {
  background: linear-gradient(140deg, #34d399, #16a34a);
  color: #ffffff; border-color: transparent;
  box-shadow: 0 0 20px rgba(34, 197, 94,0.4);
}

/* traffic chart */
.pc {
  position: relative;
  width: 66%; max-width: 220px;
  padding: 12px 14px;
  display: grid; gap: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255,0.68);
  border: 1px solid rgba(21, 128, 61,0.16);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px rgba(16, 64, 36, 0.12);
}
.pc-pill {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  padding: 3px 9px;
  border: 1px solid rgba(21, 128, 61,0.2);
  border-radius: 999px;
}
.pc-chart { width: 100%; height: 44px; color: var(--brand); }
.pc-badge {
  position: absolute; top: 11px; right: 13px;
  font-family: var(--font-ui);
  font-weight: 700; font-size: 0.72rem;
  color: var(--success);
}

/* A/B test */
.ab { display: flex; gap: 13px; }
.ab-card {
  position: relative;
  width: 78px; padding: 10px;
  display: grid; gap: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255,0.7);
  border: 1px solid rgba(21, 128, 61,0.16);
  backdrop-filter: blur(6px);
  transform: rotate(-3deg);
}
.ab-card + .ab-card { transform: rotate(3deg); }
.ab-card b {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500; font-size: 1.05rem;
  color: rgba(11, 26, 16,0.88);
}
.ab-card i { display: block; height: 5px; width: 100%; border-radius: 3px; background: rgba(15, 84, 47,0.2); }
.ab-card i.short { width: 62%; }
.ab-win { border-color: rgba(34, 197, 94,0.6); box-shadow: 0 0 22px rgba(34, 197, 94,0.25); }
.ab-win b { color: var(--brand-hi); }
.ab-win em {
  position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #34d399, #16a34a);
  color: #ffffff;
  font-style: normal; font-size: 0.6rem; font-weight: 700;
}
.pa-1 { background: linear-gradient(150deg, #14532d, #22c55e); }
.pa-2 { background: linear-gradient(150deg, #064e3b, #34d399); }
.pa-3 { background: linear-gradient(150deg, #3f6212, #a3e635); }
.post-body { padding: 24px; display: grid; gap: 12px; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-meta span { color: var(--muted); font-size: 0.78rem; }
.post-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem; line-height: 1.32;
  transition: color 0.3s;
}
.post-card:hover h3 { color: var(--brand-hi); }
.post-body p { color: var(--muted); font-size: 0.88rem; }
.post-author {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 0.8rem;
  margin-top: 6px;
}
.post-author .t-avatar { width: 30px; height: 30px; font-size: 0.64rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 70px; align-items: start;
}
.contact-info { display: grid; gap: 16px; margin: 36px 0; }
.contact-info li { display: flex; align-items: center; gap: 14px; color: rgba(11, 26, 16,0.85); }
.contact-info svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.contact-info a:hover { color: var(--brand-hi); }

.reach { padding: 22px; display: grid; gap: 16px; margin-bottom: 34px; }
.reach-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted);
}
.reach-radar {
  position: relative; height: 150px;
  border-radius: var(--r-sm);
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94,0.08), transparent 70%);
  overflow: hidden;
}
.rr-ring {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(34, 197, 94,0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.rr-ring:nth-child(1) { width: 70px; height: 70px; }
.rr-ring:nth-child(2) { width: 140px; height: 140px; }
.rr-ring:nth-child(3) { width: 210px; height: 210px; }
@keyframes radar-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.rr-sweep {
  position: absolute; top: 50%; left: 50%;
  width: 210px; height: 210px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 197, 94,0.32), transparent 26%);
  animation: radar-spin 4s linear infinite;
}
.rr-dot {
  position: absolute; left: var(--x); top: var(--y);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-hi);
  box-shadow: 0 0 0 0 rgba(22, 163, 74,0.6);
  animation: pulse 2.4s infinite;
}
.rr-dot:nth-of-type(2) { animation-delay: 0.7s; }
.rr-dot:nth-of-type(3) { animation-delay: 1.3s; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: 1px solid var(--stroke-strong);
  background: rgba(15, 84, 47,0.03);
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  color: #ffffff;
  border-color: var(--brand);
  background: linear-gradient(135deg, #34d399, #16a34a);
  transform: translateY(-3px);
}
.socials svg { width: 20px; height: 20px; }

.form { position: relative; padding: 40px; display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-ui);
  font-size: 0.82rem; font-weight: 600;
  color: rgba(11, 26, 16,0.8);
}
textarea { resize: vertical; min-height: 110px; }
.form-submit { justify-self: start; }
.form-fine { color: var(--muted); font-size: 0.78rem; }
input.invalid, textarea.invalid { border-color: #e1685f; }

.form-success {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center;
  padding: 30px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}
.form-success[hidden] { display: none; }
.fs-check { width: 74px; height: 74px; }
.fs-check circle { stroke-dasharray: 180; stroke-dashoffset: 180; animation: drawLine 0.8s var(--ease) forwards; }
.fs-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawLine 0.6s var(--ease) 0.5s forwards; }
.form-success h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.form-success p { color: var(--muted); max-width: 320px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { padding: 40px 0 120px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  padding: 64px;
  background: linear-gradient(140deg, rgba(34, 197, 94,0.12), rgba(22, 101, 52,0.03));
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 12px;
}
.cta-sub { color: var(--muted); max-width: 480px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.55);
  padding: 80px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-tag {
  color: var(--muted); font-size: 0.92rem; margin: 16px 0 26px;
  font-family: var(--font-display); font-style: italic;
}
.newsletter { display: flex; gap: 10px; max-width: 360px; }
.newsletter input { flex: 1; }
.newsletter-note { color: var(--muted); font-size: 0.76rem; margin-top: 12px; }
.newsletter-note.ok { color: var(--success); }

.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(11, 26, 16,0.9);
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--muted); font-size: 0.92rem;
  width: fit-content;
  transition: color 0.25s, transform 0.25s var(--ease);
}
.footer-col a:hover { color: var(--brand-hi); transform: translateX(4px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--stroke);
  color: var(--muted); font-size: 0.84rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { color: var(--brand-hi); border-color: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

/* ============================================================
   Floating actions + toast
   ============================================================ */
.wa-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255,0.9);
  border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(12px);
  color: #16a34a;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.wa-btn:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(79, 213, 126, 0.5);
  box-shadow: 0 18px 44px rgba(22, 163, 74,0.25);
}
.wa-btn svg { width: 27px; height: 27px; }

.to-top {
  position: fixed; right: 24px; bottom: 88px; z-index: 150;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255, 255, 255,0.85);
  backdrop-filter: blur(12px);
  color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all 0.35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brand); color: var(--brand-hi); }
.to-top svg { width: 20px; height: 20px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 350;
  transform: translate(-50%, 80px);
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255,0.95);
  border: 1px solid rgba(34, 197, 94,0.4);
  color: var(--ink); font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  pointer-events: none;
  max-width: min(90vw, 480px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 620px; margin-inline: auto; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-2h { grid-row: span 1; }

  .why-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-popular { transform: none; }
  .price-popular:hover { transform: translateY(-8px); }

  .folio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .cta-inner { flex-direction: column; text-align: center; padding: 48px 32px; }
}

@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }

  .hero { padding-top: 120px; }
  .hero-scroll { display: none; }
  .shp:nth-child(n + 4) { display: none; }
  .orbit-scene { width: min(340px, 88vw); }
  .node { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .node svg { width: 17px; height: 17px; }
  .node em { display: none; }

  .bento { grid-template-columns: 1fr; }
  .b-2w { grid-column: span 1; }

  .why-list { grid-template-columns: 1fr; }

  .t-line { left: 26px; }
  .t-step, .t-step:nth-child(odd), .t-step:nth-child(even) {
    flex-direction: row;
  }
  .t-step:nth-child(odd) .t-card { text-align: left; }
  .t-dot { left: 26px; }
  .t-card { width: calc(100% - 66px); margin-left: 66px; }

  .case-card { grid-template-columns: 1fr; }
  .case-art { min-height: 200px; padding: 22px 0; }
  .case-body { padding: 24px; }

  .hero-chip { padding: 9px 13px; }
  .hero-chip span { display: none; }
  .hc-1 { top: 0; left: 0; }
  .hc-2 { bottom: 0; right: 0; }
  .case-metrics { grid-template-columns: 1fr 1fr; gap: 14px; }
  .case-tags { margin-left: 0; }
  .ba-row { grid-template-columns: 46px 1fr 96px; gap: 8px; }

  .folio-grid { grid-template-columns: 1fr; grid-auto-rows: 130px; }

  .calc-panel { padding: 26px; }
  .calc-results { grid-template-columns: 1fr; gap: 14px; }

  .form { padding: 26px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-grid { gap: 12px; }
  .stat { padding: 24px 14px; }

  .wa-btn { right: 16px; bottom: 16px; }
  .to-top { right: 18px; bottom: 80px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal],
  html.js .hero-sub, html.js .hero-ctas,
  html.js .hero-trust, html.js .hero-badge, html.js .hero-visual {
    opacity: 1; transform: none; filter: none;
  }
  html.js .hero-title .hw b { transform: none; }
  html.js .orbit-halo, html.js .orbit-sheen, html.js .ring { opacity: 1; }
  html.js .orbit-core { opacity: 1; transform: none; }
  html.js .hero-chip { opacity: 1; }
  .marquee-track, .t-track, .strip-track {
    animation: none; flex-wrap: wrap; width: auto; justify-content: center;
  }
  .cursor-dot, .cursor-ring { display: none; }
  .mascot-walker { display: none; }
}

/* ============================================================
   WALKING MASCOT — Pure Vector Animation (60FPS)
   ============================================================ */

/* --- Container --- */
.mascot-walker {
  position: fixed;
  bottom: -4px;
  left: 80px;
  z-index: 9998;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: transform 0.3s;
}

/* Flip character horizontally based on direction */
.mascot-walker.flip .bot-svg {
  transform: scaleX(-1);
}

.bot-logo {
  transform-origin: 102.5px 140px;
}
.mascot-walker.flip .bot-logo {
  transform: scaleX(-1);
}

.bot-svg {
  width: 150px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(34,197,94,0.3));
  transition: filter 0.3s, transform 0.2s;
}
.mascot-walker:hover .bot-svg {
  filter: drop-shadow(0 12px 24px rgba(34,197,94,0.6));
}

/* --- SVG Keyframes (100% smooth) --- */
@keyframes bot-leg-swing {
  0%   { transform: rotate(-35deg); }
  50%  { transform: rotate(35deg); }
  100% { transform: rotate(-35deg); }
}

@keyframes bot-leg-swing-opp {
  0%   { transform: rotate(35deg); }
  50%  { transform: rotate(-35deg); }
  100% { transform: rotate(35deg); }
}

@keyframes bot-arm-swing {
  0%   { transform: rotate(25deg); }
  50%  { transform: rotate(-25deg); }
  100% { transform: rotate(25deg); }
}

@keyframes bot-arm-swing-opp {
  0%   { transform: rotate(-25deg); }
  50%  { transform: rotate(25deg); }
  100% { transform: rotate(-25deg); }
}

@keyframes bot-torso-bob {
  0%, 100% { transform: translateY(0); }
  25%, 75% { transform: translateY(-3px); }
  50%      { transform: translateY(-6px); }
}

@keyframes bot-head-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-4px) rotate(2deg); }
  50%      { transform: translateY(-8px) rotate(0deg); }
  75%      { transform: translateY(-4px) rotate(-2deg); }
}

@keyframes bot-idle-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes bot-eye-blink {
  0%, 96%, 100% { transform: scaleY(1); }
  98%           { transform: scaleY(0.1); }
}

/* --- Animation Application --- */
.bot-eyes {
  transform-origin: center;
  animation: bot-eye-blink 4s infinite;
}

/* Idle state */
.mascot-walker.idle .bot-svg {
  animation: bot-idle-bob 2s ease-in-out infinite;
}
.mascot-walker.idle .bot-leg-r,
.mascot-walker.idle .bot-leg-l,
.mascot-walker.idle .bot-arm-r,
.mascot-walker.idle .bot-arm-l {
  transform: rotate(0deg);
  transition: transform 0.3s;
}

/* Walking state */
.mascot-walker.walking .bot-leg-r { animation: bot-leg-swing 0.7s infinite ease-in-out; }
.mascot-walker.walking .bot-leg-l { animation: bot-leg-swing-opp 0.7s infinite ease-in-out; }
.mascot-walker.walking .bot-arm-r { animation: bot-arm-swing 0.7s infinite ease-in-out; }
.mascot-walker.walking .bot-arm-l { animation: bot-arm-swing-opp 0.7s infinite ease-in-out; }
.mascot-walker.walking .bot-torso { animation: bot-torso-bob 0.35s infinite ease-in-out; }
.mascot-walker.walking .bot-head-group { animation: bot-head-bob 0.35s infinite ease-in-out; }

/* --- Ground Shadow --- */
@keyframes mascot-shadow-idle {
  0%,100% { transform: scaleX(1); opacity: 0.2; }
  50%     { transform: scaleX(0.85); opacity: 0.12; }
}
@keyframes mascot-shadow-walk {
  0%,100% { transform: scaleX(1); opacity: 0.2; }
  50%     { transform: scaleX(0.9); opacity: 0.15; }
}

.mascot-ground-shadow {
  width: 90px;
  height: 14px;
  margin-top: -12px;
  background: radial-gradient(ellipse, rgba(22,101,52,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: mascot-shadow-idle 2s ease-in-out infinite;
}
.mascot-walker.walking .mascot-ground-shadow {
  animation: mascot-shadow-walk 0.35s ease-in-out infinite;
}

/* --- Speech bubble --- */
@keyframes mascot-bubble-in {
  0%   { transform: translateX(-50%) scale(0) translateY(14px); opacity: 0; }
  65%  { transform: translateX(-50%) scale(1.05) translateY(-2px); opacity: 1; }
  100% { transform: translateX(-50%) scale(1) translateY(0); opacity: 1; }
}

@keyframes mascot-bubble-out {
  from { transform: translateX(-50%) scale(1); opacity: 1; }
  to   { transform: translateX(-50%) scale(0) translateY(14px); opacity: 0; }
}

.mascot-bubble {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom center;
  background: #ffffff;
  border: 2px solid var(--brand);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 18px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(34,197,94,0.2), 0 2px 8px rgba(0,0,0,0.06);
  pointer-events: none;
  line-height: 1.4;
  display: none;
  opacity: 0;
  z-index: 2;
}

.mascot-bubble.visible {
  display: block;
  animation: mascot-bubble-in 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.mascot-bubble.hiding {
  animation: mascot-bubble-out 0.28s ease forwards;
}

.mascot-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 24px;
  width: 0; height: 0;
  border-left: 10px solid var(--brand);
  border-top: 10px solid transparent;
}
.mascot-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px; left: 26px;
  width: 0; height: 0;
  border-left: 7px solid #ffffff;
  border-top: 7px solid transparent;
  z-index: 1;
}

@media (max-width: 600px) {
  .mascot-walker { width: 110px; }
  .bot-svg       { width: 110px; }
  .mascot-bubble { font-size: 0.72rem; padding: 8px 12px; }
}

/* --- Robot Spark Animations --- */
.bot-antenna-light {
  transform-origin: 100px 8px;
}
.bot-sparks {
  transform-origin: 100px 8px;
  transform: scale(0);
  opacity: 0;
}

.mascot-walker.is-talking .bot-antenna-light {
  animation: antenna-pulse 0.25s infinite alternate;
}
.mascot-walker.is-talking .bot-sparks {
  animation: sparks-fly 0.5s infinite linear;
}

@keyframes antenna-pulse {
  0% { fill: #22c55e; transform: scale(1); }
  100% { fill: #ffffff; transform: scale(1.4); }
}
@keyframes sparks-fly {
  0% { transform: scale(0.2); opacity: 1; }
  80% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}
