/* ============================================================
   Axil — design tokens
   Theme: dark (locked). Accent: teal (single). Purple = ambient glow only.
   Radius scale: cards 20 / small 12 / pill. Type: Geist + Geist Mono.
   ============================================================ */
:root {
  --bg: #0B1418;
  --bg-2: #0E191F;
  --surface: #11212880;
  --surface-solid: #122229;
  --surface-2: #16282F;
  --border: rgba(190, 230, 235, 0.10);
  --border-strong: rgba(190, 230, 235, 0.20);

  --text: #E9F2F3;
  --muted: #9DB1B8;
  --faint: #7C949C; /* bumped to clear WCAG AA (~5.9:1 on --bg) */

  --teal: #2BD4C8;
  --teal-2: #1EBAB0;
  --teal-deep: #0E8A82;
  --purple: #8B5CF6;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --ring: 0 0 0 3px rgba(43, 212, 200, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); overscroll-behavior-y: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.dim { color: var(--faint); }
.accent { color: var(--teal); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ============================================================
   Background FX (fixed, behind everything)
   ============================================================ */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.glow-a {
  width: 60vw; height: 60vw; top: -22vw; right: -14vw;
  background: radial-gradient(circle, rgba(43, 212, 200, 0.30), transparent 65%);
}
.glow-b {
  width: 48vw; height: 48vw; bottom: -16vw; left: -12vw;
  background: radial-gradient(circle, rgba(14, 138, 130, 0.26), transparent 65%);
}
.grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(190, 230, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 230, 235, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 80%);
}
/* On phones, keep the very top edge solid dark so the glow never bleeds under
   an in-app browser bar (Telegram/IG webview) that overlays the top. Desktop
   browsers don't overlay chrome on content, so the hero glow stays untouched. */
@media (max-width: 860px) {
  .bg-fx::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 150px;
    background: linear-gradient(to bottom, var(--bg), var(--bg) 42%, transparent);
  }
}

/* ============================================================
   Layout primitives
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 11vw, 130px) var(--gutter); }
.section-tight { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 70px); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 13px 22px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, var(--teal), var(--teal-2));
  color: #06241F; box-shadow: 0 10px 30px -10px rgba(43, 212, 200, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(43, 212, 200, 0.6); }
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn-ghost { background: rgba(190, 230, 235, 0.04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal); background: rgba(43, 212, 200, 0.08); }
.btn-ghost:active { transform: translateY(0) scale(0.985); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
  backdrop-filter: blur(12px);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--border); opacity: 0; transition: opacity 0.3s var(--ease);
}
.nav.scrolled { background: rgba(11, 20, 24, 0.72); }
.nav.scrolled::after { opacity: 1; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand-mark {
  font-family: "Geist Mono", monospace; font-size: 0.92rem; font-weight: 600;
  color: var(--teal); background: rgba(43, 212, 200, 0.12);
  border: 1px solid rgba(43, 212, 200, 0.25); padding: 3px 7px; border-radius: 9px;
}
.nav-links { display: flex; gap: 26px; margin-left: 14px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--teal); }
.mobile-menu a[aria-current="page"] { color: var(--teal); }
.nav-cta { margin-left: auto; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 49;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px var(--gutter) 22px;
  background: rgba(11, 20, 24, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(-12px); visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.24s var(--ease), transform 0.28s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 4px; color: var(--muted); font-weight: 500; font-size: 1.05rem; }
.mobile-menu a.btn-primary { color: #06241F; } /* keep CTA text readable on the teal fill */
.mobile-menu .btn { margin-top: 12px; }
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(32px, 5vw, 56px);
  align-items: center; min-height: min(86vh, 760px);
}
.hero-title { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.03em; }
.hero-sub { margin-top: 22px; max-width: 30ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-mini { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-mini li {
  font-family: "Geist Mono", monospace; font-size: 0.78rem; color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: rgba(190, 230, 235, 0.03);
}

.hero-visual { position: relative; aspect-ratio: 4 / 5; }
.mascot-slot {
  position: absolute; inset: 0; border-radius: 28px;
  border: 1.5px dashed rgba(43, 212, 200, 0.4);
  background:
    radial-gradient(120% 90% at 60% 25%, rgba(43, 212, 200, 0.18), transparent 60%),
    radial-gradient(90% 80% at 30% 90%, rgba(43, 212, 200, 0.07), transparent 60%),
    rgba(18, 34, 41, 0.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  overflow: hidden;
}
.mascot-badge { font-family: "Geist Mono", monospace; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--teal); padding: 6px 14px; border: 1px solid rgba(43, 212, 200, 0.3); border-radius: var(--radius-pill); }
.mascot-hint { font-family: "Geist Mono", monospace; font-size: 0.72rem; color: var(--faint); }

.chip {
  position: absolute; background: rgba(16, 25, 31, 0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow); min-width: 150px;
}
.chip-api { top: 6%; right: -6%; }
.chip-hook { bottom: 12%; left: -8%; }
.chip-title { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--faint); margin-bottom: 6px; }
.chip-row { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; margin-top: 4px; justify-content: space-between; }
.chip .mono { font-size: 0.8rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: #34D399; box-shadow: 0 0 8px #34D399; }
.badge-ok { font-size: 0.72rem; color: #34D399; background: rgba(52, 211, 153, 0.12); padding: 2px 8px; border-radius: var(--radius-pill); }

/* animation strip */
.anim-strip { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.anim-slot {
  height: 120px; border-radius: var(--radius); border: 1.5px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, transparent, rgba(43, 212, 200, 0.05), transparent);
}
.anim-label { font-family: "Geist Mono", monospace; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--faint); }

/* ============================================================
   Bento (services)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.tile-lg { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.tile-wide { grid-column: 2 / span 2; }
.tile-wide .tile-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.tile-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: var(--teal); background: rgba(43, 212, 200, 0.10); border: 1px solid rgba(43, 212, 200, 0.22); margin-bottom: 18px;
}
.tile-icon svg { width: 24px; height: 24px; }
.tile-title { font-size: 1.3rem; }
.tile-desc { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }
.tile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tile-tags li { font-family: "Geist Mono", monospace; font-size: 0.72rem; color: var(--muted); padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); }

/* screenshot / diagram placeholder slots */
.shot-slot {
  border: 1.5px dashed rgba(43, 212, 200, 0.32); border-radius: var(--radius-sm);
  background: radial-gradient(100% 100% at 50% 0%, rgba(43, 212, 200, 0.07), transparent 70%), rgba(11, 20, 24, 0.5);
  display: grid; place-items: center; color: var(--faint);
  font-family: "Geist Mono", monospace; font-size: 0.74rem; letter-spacing: 0.08em; text-align: center;
}
.shot-slot span { padding: 8px; }
.shot-phone { margin-top: auto; min-height: 180px; }
.shot-diagram { min-height: 150px; }
.shot-dash { min-height: 280px; }
.shot-mini { min-height: 120px; }

/* ============================================================
   Process (steps)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step-no { display: inline-block; font-size: 1.6rem; font-weight: 600; color: var(--teal); opacity: 0.6; }
.step h3 { margin-top: 12px; font-size: 1.15rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   Showcase (media + text)
   ============================================================ */
.showcase { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.check-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(43, 212, 200, 0.14); border: 1px solid var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BD4C8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.showcase-media { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.showcase-media .shot-dash { grid-column: 1 / -1; }

/* ============================================================
   Marquee (integrations)
   ============================================================ */
.marquee { position: relative; display: flex; gap: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; padding-right: 64px; animation: marquee 32s linear infinite; flex: none; align-items: center; }
.marquee-track img { height: 30px; width: auto; opacity: 0.7; transition: opacity 0.3s var(--ease), filter 0.3s var(--ease); filter: grayscale(1); }
.marquee-track img:hover { opacity: 1; filter: grayscale(0); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-feature { border-color: rgba(43, 212, 200, 0.5); background: linear-gradient(180deg, rgba(43, 212, 200, 0.07), var(--surface)); box-shadow: 0 24px 60px -30px rgba(43, 212, 200, 0.4); }
.price-flag { position: absolute; top: -11px; left: 24px; font-family: "Geist Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; color: #06241F; background: var(--teal); padding: 4px 10px; border-radius: var(--radius-pill); }
.price-name { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.price-val { margin-top: 12px; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; }
.price-val .from { font-size: 0.9rem; font-weight: 500; color: var(--faint); }
.price-val .cur { font-size: 1.2rem; color: var(--muted); }
.price-term { margin-top: 6px; font-size: 0.78rem; color: var(--teal); }
.price-list { margin: 20px 0 24px; display: grid; gap: 10px; }
.price-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 28px; text-align: center; color: var(--faint); font-size: 0.9rem; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { max-width: var(--maxw); margin: 0 auto clamp(48px, 8vw, 90px); padding: 0 var(--gutter); }
.cta-inner {
  display: grid; grid-template-columns: 0.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  border-radius: 28px; padding: clamp(36px, 5vw, 60px);
  border: 1px solid rgba(43, 212, 200, 0.25);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(43, 212, 200, 0.16), transparent 55%),
    radial-gradient(70% 120% at 0% 100%, rgba(139, 92, 246, 0.12), transparent 55%),
    var(--surface-solid);
}
.mascot-mini-slot {
  aspect-ratio: 3 / 4; border-radius: var(--radius); border: 1.5px dashed rgba(43, 212, 200, 0.4);
  display: grid; place-items: center; color: var(--faint); font-family: "Geist Mono", monospace; font-size: 0.74rem; letter-spacing: 0.1em;
}
.cta-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 18ch; }
.cta-sub { margin-top: 14px; color: var(--muted); }
.cta-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-mantra { margin-top: 26px; font-size: 0.8rem; color: var(--teal); opacity: 0.85; letter-spacing: 0.02em; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); }
.footer-top { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gutter) 40px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-tag { flex-basis: 100%; margin-top: 12px; color: var(--muted); max-width: 30ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; margin-bottom: 14px; }
.footer-nav a { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--teal); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 36px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   Sub-page hero + multi-page components
   ============================================================ */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 116px) var(--gutter) clamp(20px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; max-width: 18ch; }
.page-hero p { margin-top: 18px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 56ch; }

/* Service detail rows (alternating media + text) */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: clamp(40px, 6vw, 76px) 0; border-top: 1px solid var(--border); }
.svc-num { font-family: "Geist Mono", monospace; color: var(--teal); opacity: 0.7; font-size: 0.85rem; }
.svc-title { margin-top: 10px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.svc-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.svc-points { margin: 22px 0 26px; display: grid; gap: 12px; }
.svc .tile-tags { margin-top: 0; }
.svc.reverse .svc-media { order: -1; }
.svc-media .shot-slot { min-height: 300px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--muted); max-width: 70ch; overflow: hidden; transition: height 0.32s var(--ease); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select { font-family: inherit; font-size: 0.95rem; color: var(--text); background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 13px 14px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43, 212, 200, 0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--faint); }

.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.channel:hover { border-color: var(--teal); transform: translateY(-2px); }
.channel-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--teal); background: rgba(43, 212, 200, 0.10); border: 1px solid rgba(43, 212, 200, 0.22); flex: none; }
.channel-ic svg { width: 22px; height: 22px; }
.channel b { display: block; color: var(--text); font-weight: 600; }
.channel span { font-size: 0.88rem; color: var(--muted); }

/* About: story + values */
.story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.story-media { aspect-ratio: 4 / 5; }
.story-media .mascot-slot { position: relative; inset: auto; height: 100%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.value:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.value .tile-icon { margin-bottom: 14px; }
.value h3 { font-size: 1.15rem; }
.value p { margin-top: 8px; color: var(--muted); font-size: 0.93rem; }

/* ============================================================
   Motion: scroll reveal + hero load (honors reduced-motion)
   ============================================================ */
/* Reveal enhances an already-visible default. Content is visible by default;
   JS hides ONLY below-the-fold items (.pre) and animates them in on scroll.
   Removing .pre (the no-IO safety net) restores visibility instantly with no
   transition, so the page never ships blank in headless/background contexts. */
.js .reveal.pre {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.pre.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .float-1 { animation: float 6s ease-in-out infinite; }
  .float-2 { animation: float 7s ease-in-out infinite 0.6s; }
  .mascot-slot { animation: floatSlow 9s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal.pre { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   Cases / Portfolio
   ============================================================ */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cases.is-teaser { grid-template-columns: repeat(3, 1fr); }
.case-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.case-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.case-shot { aspect-ratio: 16 / 10; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; min-height: 0; }
.case-body { padding: 22px 24px 24px; }
.case-type { font-family: "Geist Mono", monospace; color: var(--teal); font-size: 0.74rem; letter-spacing: 0.06em; }
.case-title { margin-top: 8px; font-size: 1.3rem; }
.case-desc { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.case-result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; gap: 24px; flex-wrap: wrap; }
.case-metric b { display: block; color: var(--text); font-size: 1.25rem; font-weight: 700; }
.case-metric span { color: var(--muted); font-size: 0.82rem; }

/* ============================================================
   Testimonials + clients
   ============================================================ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { display: flex; flex-direction: column; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.quote-body { color: var(--text); font-size: 1.02rem; line-height: 1.55; flex: 1; }
.quote-author { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accentSurface, rgba(43,212,200,0.12)); border: 1px solid var(--border-strong); color: var(--teal); font-weight: 800; }
.quote-name { color: var(--text); font-weight: 700; }
.quote-role { color: var(--muted); font-size: 0.85rem; }
.clients { display: flex; flex-wrap: wrap; gap: clamp(24px, 4.5vw, 52px); justify-content: center; align-items: center; }
.clients img { height: 26px; width: auto; opacity: 0.6; filter: grayscale(1); }
.client-mark { font-weight: 600; font-size: clamp(0.95rem, 1.5vw, 1.18rem); letter-spacing: -0.01em; color: var(--muted); opacity: 0.78; transition: color .2s var(--ease), opacity .2s var(--ease); white-space: nowrap; }
.client-mark:hover { color: var(--text); opacity: 1; }
.clients-label { text-align: center; color: var(--faint); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 22px; }
.clients-note { margin-top: 16px; text-align: center; color: var(--faint); font-size: 0.82rem; }

/* ============================================================
   Why band (homepage)
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.why-item .tile-icon { width: 40px; height: 40px; margin-bottom: 14px; }
.why-item h3 { font-size: 1.05rem; }
.why-item p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   Team (about)
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius); border: 1.5px dashed rgba(43, 212, 200, 0.32); background: radial-gradient(100% 100% at 50% 0%, rgba(43, 212, 200, 0.07), transparent 70%), rgba(11, 20, 24, 0.5); display: grid; place-items: center; color: var(--faint); font-family: "Geist Mono", monospace; font-size: 0.72rem; }
.member-name { margin-top: 14px; font-weight: 700; color: var(--text); }
.member-role { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   Blog posts
   ============================================================ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.post-shot { aspect-ratio: 16 / 9; border: 0; border-bottom: 1px solid var(--border); min-height: 0; border-radius: 0; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: "Geist Mono", monospace; color: var(--teal); font-size: 0.72rem; letter-spacing: 0.06em; }
.post-title { margin-top: 8px; font-size: 1.15rem; }
.post-excerpt { margin-top: 10px; color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-date { margin-top: 16px; color: var(--faint); font-size: 0.8rem; font-family: "Geist Mono", monospace; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .tile-wide .tile-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(36px, 8vw, 60px); }
  .hero-visual { aspect-ratio: 4 / 4; max-width: 420px; }
  .hero-sub { max-width: 42ch; }
  .bento { grid-template-columns: 1fr; }
  .tile-lg, .tile-wide { grid-column: 1; grid-row: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .mascot-mini-slot { max-width: 200px; aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr; }
  .svc, .contact-grid, .story { grid-template-columns: 1fr; }
  .svc.reverse .svc-media { order: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .story-media { max-width: 360px; }
  .cases, .testimonials, .posts { grid-template-columns: 1fr; }
  .why, .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps, .pricing, .values, .why, .team { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); column-gap: 20px; row-gap: 28px; }
  .chip-api { right: 0; } .chip-hook { left: 0; }
  .footer-bottom { flex-direction: column; }
}
