/* ==========================================================================
   AVIRASPHERE v2 — light theme
   White #FFFFFF · alt #F5F5F7 · ink #1D1D1F · blue #0066CC/#2997FF · gold CTA
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --ink: #1D1D1F;
  --ink-soft: #4b4b50;
  --ink-faint: #6e6e73;
  --line: #e5e5ea;
  --blue: #0066CC;
  --blue-light: #2997FF;
  --blue-tint: #eaf3ff;
  --gold: #F59E0B;
  --gold-dark: #d97706;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(29,29,31,.05), 0 8px 24px rgba(29,29,31,.06);
  --shadow-lift: 0 2px 6px rgba(29,29,31,.06), 0 18px 44px rgba(29,29,31,.12);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--blue); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 840px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: .97rem; line-height: 1;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease;
}
.btn:active { transform: scale(.975); }

/* Primary gold CTA — hover-button pattern: soft inner ring + glow bloom on hover */
.btn-gold {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--gold); color: #241a02;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 1px 3px rgba(180,110,0,.28), 0 6px 18px rgba(245,158,11,.28);
}
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 120%),
              rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
  opacity: 0; transition: opacity .3s ease;
}
.btn-gold:hover { background: var(--gold-dark); color: #fff; box-shadow: 0 2px 6px rgba(180,110,0,.3), 0 10px 26px rgba(245,158,11,.42); transform: translateY(-1px); }
.btn-gold:hover::before { opacity: 1; }

.btn-outline {
  background: transparent; color: var(--blue); border-color: rgba(0,102,204,.45);
}
.btn-outline:hover { background: var(--blue-tint); border-color: var(--blue); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); background: var(--bg-alt); }

.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header / tubelight nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }

.nav-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 150px; height: auto; }

/* Tubelight pill nav + Vendasta-style mega menu */
.site-nav { margin-left: auto; }
.site-nav > ul {
  display: flex; align-items: center; gap: 4px;
  background: rgba(245,245,247,.75); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
}
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.45;
  color: var(--ink-soft); text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.nav-link:hover { color: var(--blue); }
.nav-link .chev { transition: transform .2s ease; flex: none; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.nav-link[aria-current="page"], .nav-link.is-current, .nav-item.is-open > .nav-link {
  color: var(--blue); background: rgba(0,102,204,.08);
}
.nav-link[aria-current="page"]::before, .nav-link.is-current::before {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 4px; border-radius: 999px; background: var(--blue-light);
  box-shadow: 0 0 10px 2px rgba(41,151,255,.55), 0 0 22px 6px rgba(41,151,255,.3);
}

/* Mega panels */
.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 560px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(29,29,31,.06), 0 28px 60px rgba(29,29,31,.16);
  padding: 22px 22px 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega::before { /* hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-item.is-open > .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-services { min-width: 720px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.mega-grid-platform { grid-template-columns: 1.1fr .9fr; align-items: start; }
.mega-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 8px 10px;
}
.mega-col > .mega-row + .mega-row { margin-top: 2px; }
.mega-row {
  display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: background-color .15s ease;
}
.mega-row:hover, .mega-row:focus-visible { background: var(--bg-alt); }
.mega-ic {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; margin-top: 1px;
  background: var(--blue-tint); color: var(--blue);
}
.mega-row strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.mega-row small { display: block; color: var(--ink-faint); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.mega-foot {
  margin: 14px -22px 0; padding: 12px 22px 4px; border-top: 1px solid var(--line);
}
.mega-foot a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }
.mega-promo {
  display: block; text-decoration: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mega-promo:hover { border-color: rgba(0,102,204,.4); box-shadow: var(--shadow-card); }
.mega-promo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mega-promo p { padding: 12px 14px 14px; font-size: .88rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.mega-promo .go { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .nav-actions { margin-left: 0; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions { display: none; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px; display: none; box-shadow: 0 24px 40px rgba(29,29,31,.1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; background: none; border: 0; padding: 0; gap: 2px; }
  .nav-item { position: static; }
  .nav-link { display: flex; width: 100%; text-align: left; justify-content: space-between; padding: 12px 10px; font-size: 1rem; border-radius: 10px; }
  .nav-link[aria-current="page"]::before, .nav-link.is-current::before { top: 50%; left: -4px; transform: translateY(-50%); width: 4px; height: 22px; }
  /* Mega panels become accordion sections */
  .mega, .mega-services {
    position: static; transform: none; min-width: 0; border: 0; box-shadow: none;
    border-radius: 0; padding: 4px 4px 10px 8px;
    display: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none;
  }
  .mega::before { display: none; }
  .nav-item.is-open > .mega { display: block; transform: none; }
  .mega-grid, .mega-grid-platform { grid-template-columns: 1fr; gap: 12px; }
  .mega-foot { margin: 10px 0 0; padding: 10px 10px 0; }
  .mega-promo { max-width: 420px; }
  .site-nav .nav-mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
}
.site-nav .nav-mobile-actions { display: none; }
@media (max-width: 980px) { .site-nav .nav-mobile-actions { display: flex; } }

/* ---------- Sections ---------- */
main { padding-top: var(--header-h); }
.section { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { margin-top: 14px; color: var(--ink-faint); font-size: 1.06rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold-dark); }

/* ---------- Reveal (below-fold only) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  transition-delay: calc(min(var(--rd, 0), 3) * 50ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero (Home) ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 420px at 78% -10%, rgba(41,151,255,.10), transparent 65%),
  radial-gradient(700px 380px at 8% 8%, rgba(0,102,204,.06), transparent 60%),
  var(--bg);
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } }

.hero h1 { margin: 6px 0 18px; }
.lede { color: var(--ink-soft); font-size: 1.12rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; color: var(--ink-faint); font-size: .9rem; }

/* Rotating word (animated-hero pattern) — spring-ish slide/fade between words */
.rotator {
  position: relative; display: inline-block; vertical-align: bottom;
  overflow: hidden; color: var(--blue);
  min-width: 8.5em; height: 1.28em; line-height: 1.2;
}
.rotator .rot-word {
  position: absolute; inset: 0; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  opacity: 0; transform: translateY(110%);
  transition: transform .55s cubic-bezier(.22,1.2,.36,1), opacity .4s ease;
}
.rotator .rot-word.is-active { opacity: 1; transform: translateY(0); }
.rotator .rot-word.is-leaving { opacity: 0; transform: translateY(-110%); }
html:not(.js) .rotator .rot-word:first-child,
html.js .rotator .rot-word:first-child { }
html:not(.js) .rotator .rot-word:first-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rotator .rot-word { transition: opacity .3s ease; transform: none !important; }
}
@media (max-width: 560px) { .rotator { display: block; min-width: 0; } }

/* Hero screenshot — real image, tilted frame, graceful gradient fallback */
.hero-media { position: relative; }
.shot-frame {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  transform: perspective(1300px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s ease, box-shadow .5s ease;
}
.hero-media:hover .shot-frame { transform: perspective(1300px) rotateY(-2.5deg) rotateX(1deg); }
@media (prefers-reduced-motion: reduce) { .shot-frame, .hero-media:hover .shot-frame { transform: none; } }
.shot-frame img { width: 100%; }

/* Missing-image fallback = subtle branded gradient panel (never fake UI) */
.img-fallback {
  display: none; aspect-ratio: 16 / 10; width: 100%;
  background: linear-gradient(135deg, var(--blue-tint), #fff 45%, rgba(245,158,11,.10));
  align-items: center; justify-content: center;
  color: var(--blue); font-weight: 600; letter-spacing: .06em; font-size: .85rem;
  text-transform: uppercase;
}
.shot-frame.is-fallback .img-fallback, .photo-frame.is-fallback .img-fallback { display: flex; }

/* ---------- Trust bar ---------- */
.trust { background: var(--bg-alt); border-block: 1px solid var(--line); padding: 30px 0; }
.trust-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-faint); font-size: .92rem; font-weight: 600; text-align: center;
}
.client-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(24px, 5vw, 56px); margin-top: 20px;
}
.client-row img {
  max-height: 44px; width: auto; filter: grayscale(1); opacity: .65;
  transition: filter .3s ease, opacity .3s ease;
}
.client-row li:hover img, .client-row li:focus-within img { filter: none; opacity: 1; }

/* ---------- Bento grid (services) ---------- */
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
}
@media (max-width: 920px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(29,29,31,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.section-alt .card { border-color: #e9e9ee; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: #d6d6dd; }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

/* Image-topped service cards — every card leads with real art */
.svc { overflow: hidden; display: flex; flex-direction: column; }
.svc-visual {
  aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-tint), #fff 60%, rgba(245,158,11,.08));
  border-bottom: 1px solid var(--line);
}
.svc-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc:hover .svc-visual img { transform: scale(1.04); }
.svc-body { padding: 18px 20px 20px; }
.svc h3 { margin: 0 0 7px; }
.svc p { color: var(--ink-faint); font-size: .95rem; }
.tag-ai, .tag-new {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.tag-ai { background: var(--blue-tint); color: var(--blue); }
.tag-new { background: rgba(245,158,11,.15); color: var(--gold-dark); }

.svc-more { text-align: center; margin-top: 30px; }
.svc-more a { font-weight: 600; text-decoration: none; }
.svc-more a:hover { text-decoration: underline; }

/* ---------- Case study band ---------- */
.case-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px); align-items: center;
}
@media (max-width: 840px) { .case-card { grid-template-columns: 1fr; } }
.case-card h2 { margin-bottom: 16px; }
.case-card p + p { margin-top: 12px; }
.case-copy p { color: var(--ink-soft); }
.case-copy .btn { margin-top: 22px; }

.case-panel {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.case-label { font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.case-label-after { color: var(--blue); }
.case-before ul { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.case-before li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.case-arrow { color: var(--blue-light); }
.case-one {
  display: flex; align-items: center; gap: 9px; font-weight: 600;
  background: #fff; border: 1px solid rgba(0,102,204,.35); border-radius: 10px;
  padding: 12px 14px; color: var(--blue); box-shadow: 0 4px 14px rgba(0,102,204,.1);
}
.case-one-sub { margin-top: 10px; font-size: .85rem; color: var(--ink-faint); }
@media (max-width: 480px) {
  .case-panel { grid-template-columns: 1fr; }
  .case-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Pricing ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 920px) { .tier-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.tier { position: relative; display: flex; flex-direction: column; padding: 30px 26px; }
.tier-featured {
  border-color: rgba(0,102,204,.4);
  box-shadow: 0 4px 12px rgba(0,102,204,.08), 0 20px 48px rgba(0,102,204,.12);
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.tier-tagline { color: var(--ink-faint); font-size: .93rem; margin-top: 6px; }
.tier-price { margin: 18px 0 6px; }
.tier-price .price { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; }
.tier-price .price-talk { font-size: 2rem; }
.tier-price .per { color: var(--ink-faint); margin-left: 4px; }
.tier-features { display: grid; gap: 11px; margin: 16px 0 26px; font-size: .93rem; color: var(--ink-soft); flex: 1; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; }
.check { color: var(--blue); flex: none; margin-top: 2px; }
.pricing-note { text-align: center; margin-top: 28px; color: var(--ink-faint); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg); transition: transform .25s ease; margin-top: -4px;
}
.faq[open] .faq-chev { transform: rotate(225deg); margin-top: 4px; }
.faq-body { padding: 0 20px 18px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lede { color: var(--ink-soft); margin-top: 14px; }
.contact-points { display: grid; gap: 11px; margin-top: 22px; font-size: .96rem; color: var(--ink-soft); }
.contact-points li { display: flex; gap: 10px; align-items: flex-start; }
.contact-alt { margin-top: 22px; color: var(--ink-faint); font-size: .93rem; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: clamp(22px, 3vw, 34px);
}
.form-title { margin-bottom: 18px; }
.field { margin-bottom: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-light); background: #fff; box-shadow: 0 0 0 3px rgba(41,151,255,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d33; }
.field-error { color: #c02b2b; font-size: .82rem; margin-top: 5px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; color: #c02b2b; font-size: .9rem; }
.form-fineprint { margin-top: 14px; color: var(--ink-faint); font-size: .8rem; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success svg { margin: 0 auto 14px; color: var(--blue); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); }

/* ---------- Final CTA band + background paths ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-alt); border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 130px) 0;
}
.cta-band .container { position: relative; z-index: 1; max-width: 760px; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* background-paths adaptation: flowing strokes drawn + drifting, blue tinted, low opacity */
.bg-paths { position: absolute; inset: 0; pointer-events: none; }
.bg-paths svg { width: 100%; height: 100%; }
.bg-paths path {
  fill: none; stroke: var(--blue); stroke-linecap: round;
  stroke-dasharray: 900 500; stroke-dashoffset: 0;
  animation: pathFlow 26s linear infinite;
}
.bg-paths path:nth-child(3n)  { stroke: var(--blue-light); animation-duration: 32s; }
.bg-paths path:nth-child(3n+1){ animation-duration: 22s; animation-delay: -8s; }
@keyframes pathFlow {
  0%   { stroke-dashoffset: 0;    opacity: .35; }
  50%  {                          opacity: .7; }
  100% { stroke-dashoffset: -1400; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) { .bg-paths path { animation: none; opacity: .3; } }

/* ---------- AI team cards (Services) ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1020px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card { overflow: hidden; }
.ai-visual { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--blue-tint), #fff 60%, rgba(245,158,11,.08)); }
.ai-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ai-card:hover .ai-visual img { transform: scale(1.04); }
.ai-body { padding: 18px 18px 20px; }
.ai-role { color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 3px 0 8px; }
.ai-body p:last-child { color: var(--ink-faint); font-size: .92rem; }

/* ---------- Vibe section ---------- */
.vibe-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 840px) { .vibe-inner { grid-template-columns: 1fr; } }
.vibe-points { display: grid; gap: 12px; margin: 22px 0 26px; color: var(--ink-soft); font-size: .97rem; }
.vibe-points li { display: flex; gap: 10px; align-items: flex-start; }

/* ---------- Page hero strips (Services / About) ---------- */
.page-hero {
  background:
    radial-gradient(760px 340px at 85% -20%, rgba(41,151,255,.10), transparent 65%),
    var(--bg);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { margin-top: 16px; }

/* ---------- About: advantages (feature-with-advantages pattern) ---------- */
.adv-badge {
  display: inline-block; background: var(--blue-tint); color: var(--blue);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.5vw, 40px); margin-top: clamp(30px, 5vw, 48px); }
@media (max-width: 920px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }
.adv { display: flex; gap: 14px; align-items: flex-start; }
.adv .check { margin-top: 5px; }
.adv h3 { font-size: 1.02rem; margin-bottom: 5px; }
.adv p { color: var(--ink-faint); font-size: .93rem; }

.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 840px) { .story-grid { grid-template-columns: 1fr; } }
.story-copy p { color: var(--ink-soft); }
.story-copy p + p { margin-top: 14px; }
.photo-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.photo-frame img { width: 100%; }

.values-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 840px) { .values-strip { grid-template-columns: 1fr; } }
.value-card { padding: 26px 24px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--ink-faint); font-size: .94rem; }
.value-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--blue-light); display: block; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.footer-brand img { width: 140px; }
.footer-tagline { margin-top: 14px; color: var(--ink-soft); font-size: .93rem; font-weight: 600; }
.footer-sub { margin-top: 6px; color: var(--ink-faint); font-size: .88rem; max-width: 34em; }
.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: .93rem; }
.footer-nav a:hover { color: var(--blue); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--ink-faint); font-size: .85rem;
}

/* ---------- Back to top (bottom-RIGHT; webchat floats bottom-left) ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--blue); border-color: var(--blue-light); }

/* ==========================================================================
   v3 components — real-imagery rows everywhere
   ========================================================================== */

/* Split row: eyebrow + H2 + body beside a framed real image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; } .split .split-media { order: -1; } }
.split-copy h2 { margin-bottom: 14px; }
.split-copy .lede { margin-top: 0; }
.split-copy p + p { margin-top: 12px; }
.split-copy p { color: var(--ink-soft); }
.split-copy .btn, .split-copy .split-link { margin-top: 22px; }
.split-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: none; }
.split-link:hover { text-decoration: underline; }

/* Flat screenshot/photo frame — consistent 16px radius, 1px border, layered shadow */
.flat-frame {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(29,29,31,.06), 0 20px 48px rgba(29,29,31,.12);
}
.flat-frame img { width: 100%; }

/* Case study media: real storefront photo with client logo card */
.case-media { position: relative; }
.case-logo-card {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card); padding: 10px 16px;
}
.case-logo-card img { max-height: 42px; width: auto; }

/* Thin real-screenshot strip (above pricing) */
.shot-strip { margin-bottom: clamp(30px, 5vw, 48px); }
.shot-strip .flat-frame { max-height: 340px; }
.shot-strip img { width: 100%; height: 100%; max-height: 338px; object-fit: cover; object-position: top; }

/* Advantage image chips */
.adv-chip {
  flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-alt);
}
.adv-chip img { width: 100%; height: 100%; object-fit: cover; }

/* Image-topped step cards (How we work) */
.value-card { overflow: hidden; padding: 0; }
.step-visual { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.step-visual img { width: 100%; height: 100%; object-fit: cover; }
.value-body { padding: 22px 24px 26px; }

/* Contact photo under the copy */
.contact-photo { margin-top: 26px; }
.contact-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Page heroes with real image right */
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 840px) { .page-hero-grid { grid-template-columns: 1fr; } }
