/* ============================================================
   Nioweb — premium dark design system
   Palette: #111111 / #37b6ff / #a4a4a4 / #ffffff
   ============================================================ */

:root {
  --background: #111111;
  --surface: #171717;
  --surface-soft: #1d1d1d;
  --accent: #37b6ff;
  --accent-soft: #7fd0ff;
  --muted: #a4a4a4;
  --text: #ffffff;
  --ink-on-accent: #001522;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-accent: rgba(55, 182, 255, 0.4);
  --blue-glow: rgba(55, 182, 255, 0.32);
  --card-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015) 62%),
    rgba(20, 20, 20, 0.72);
  --card-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --shadow-soft: 0 14px 44px rgba(0, 0, 0, 0.3);
  --shadow-deep: 0 28px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.5, 1);
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-system);
  scroll-padding-top: 88px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(58rem 30rem at 50% -12rem, rgba(255, 255, 255, 0.055), transparent 70%),
    var(--background);
  color: var(--text);
}

/* Fine film grain over the whole page for a tactile, premium finish. */
body::after {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  content: "";
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

body.page-transition-ready {
  transition:
    filter 190ms var(--ease-out),
    opacity 190ms var(--ease-out),
    transform 190ms var(--ease-out);
}

body.is-page-entering,
body.is-page-leaving {
  opacity: 0.82;
  filter: blur(9px);
  transform: scale(0.996);
  will-change: filter, opacity, transform;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(55, 182, 255, 0.32);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

[id] {
  scroll-margin-top: 88px;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(55, 182, 255, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Header + navigation
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.72);
  transition:
    min-height 220ms var(--ease-out),
    padding 220ms var(--ease-out),
    background 220ms ease,
    box-shadow 220ms ease;
}

/* Backdrop blur lives on a pseudo-element: backdrop-filter on the header
   itself would make it the containing block for fixed descendants
   (.site-nav), pinning the mobile menu inside the header box. */
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

/* Thin reading-progress hairline under the header. */
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  opacity: 0.75;
}

body.has-scrolled .site-header {
  min-height: 62px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: rgba(17, 17, 17, 0.88);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand:active {
  transform: scale(0.97);
}

.brand img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.brand img {
  width: 148px;
  height: 40px;
}

.nav-toggle {
  position: relative;
  z-index: 22;
  display: inline-grid;
  width: 42px;
  height: 42px;
  gap: 5px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 260ms var(--ease-spring);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile: full-screen sheet with staggered links. */
.site-nav {
  position: fixed;
  inset: 72px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.25rem 2.5rem;
  overflow-y: auto;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

body.has-scrolled .site-nav {
  inset: 62px 0 0 0;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:nth-child(1) { --i: 0; }
.site-nav a:nth-child(2) { --i: 1; }
.site-nav a:nth-child(3) { --i: 2; }
.site-nav a:nth-child(4) { --i: 3; }
.site-nav a:nth-child(5) { --i: 4; }
.site-nav a:nth-child(6) { --i: 5; }

.site-nav.is-open a {
  animation: navItemIn 420ms var(--ease-out) both;
  animation-delay: calc(60ms + var(--i, 0) * 55ms);
}

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(55, 182, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(55, 182, 255, 0.22);
}

.site-nav .nav-cta {
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-size: 1.05rem;
  font-weight: 760;
  box-shadow: 0 0 32px var(--blue-glow);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--ink-on-accent);
  background: var(--accent-soft);
}

.site-nav a[href="questionnaire.html"] {
  display: none;
}

.mobile-call-bar {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1rem;
  z-index: 18;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 209, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(55, 182, 255, 0.95);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.42), 0 0 34px rgba(55, 182, 255, 0.36);
  color: var(--ink-on-accent);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

body.has-scrolled:not(.nav-open) .mobile-call-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-call-bar:active {
  transform: translateY(1px) scale(0.99);
}

/* ============================================================
   Layout + typography
   ============================================================ */

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-right: clamp(1.1rem, 5vw, 3rem);
  padding-left: clamp(1.1rem, 5vw, 3rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.1rem;
  font-size: 3.3rem;
  font-weight: 780;
  line-height: 1;
}

h2 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 760;
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Masked word reveal for page titles (spans injected by main.js). */
.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  vertical-align: bottom;
}

.split-word > span {
  display: inline-block;
  transform: translateY(120%);
  animation: wordRise 760ms var(--ease-out) both;
  animation-delay: calc(120ms + var(--word-i, 0) * 85ms);
  will-change: transform;
}

@keyframes wordRise {
  to {
    transform: translateY(0);
  }
}

/* ============================================================
   Buttons
   ============================================================ */

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  transition:
    transform 220ms var(--ease-spring),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 220ms ease;
}

/* Light sheen that sweeps across on hover. */
.button::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 45%;
  content: "";
  transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: left 0s;
  pointer-events: none;
}

.button:hover::after,
.button:focus-visible::after {
  left: 135%;
  transition: left 620ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  background: var(--accent);
  color: var(--ink-on-accent);
  box-shadow: 0 0 34px var(--blue-glow), var(--card-highlight);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-soft);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28), 0 0 54px rgba(55, 182, 255, 0.46);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button-secondary::after {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(55, 182, 255, 0.5);
  background: rgba(55, 182, 255, 0.08);
}

/* ============================================================
   Hero (home)
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 72px;
  isolation: isolate;
}

.hero-media,
.hero-media::after,
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.38;
  filter: saturate(0.78) contrast(1.15) brightness(0.82);
  will-change: transform;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.62) 48%, rgba(17, 17, 17, 0.76) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.28), var(--background) 100%);
}

/* Soft approved glow, localized around the preview card only. */
.hero-glow {
  inset: auto -6rem 0 auto;
  width: 34rem;
  height: 26rem;
  background: radial-gradient(closest-side, rgba(55, 182, 255, 0.14), transparent 72%);
  filter: blur(10px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  min-height: calc(100vh - 72px);
  align-items: center;
  padding-top: 4rem;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.hero-text {
  max-width: 37rem;
  font-size: 1.1rem;
}

.hero-copy h1 {
  max-width: 12ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

/* Floating browser preview */
.hero-preview {
  align-self: end;
  perspective: 1200px;
  animation: floaty 7s ease-in-out infinite alternate;
}

@keyframes floaty {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-9px);
  }
}

.browser-card {
  position: relative;
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.78);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.58),
    0 0 64px rgba(55, 182, 255, 0.16),
    var(--card-highlight);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease-out);
  will-change: transform;
}

.browser-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(55, 182, 255, 0.2), transparent 14rem);
}

.browser-card > * {
  position: relative;
}

.browser-dots {
  display: flex;
  gap: 0.42rem;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.browser-dots span {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

/* Build scene — minimalist "site being built" animation */

.build-scene {
  --build-cycle: 10s;
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: 1.1rem 1.1rem 1.2rem;
}

.build-beam {
  position: absolute;
  z-index: 1;
  top: 4%;
  right: 0.6rem;
  left: 0.6rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: drop-shadow(0 0 10px var(--blue-glow));
  opacity: 0;
  animation: build-beam var(--build-cycle) var(--ease-out) infinite;
}

@keyframes build-beam {
  0% {
    top: 4%;
    opacity: 0;
  }

  3% {
    opacity: 1;
  }

  36% {
    top: 95%;
    opacity: 1;
  }

  42%,
  100% {
    top: 95%;
    opacity: 0;
  }
}

.build-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.build-logo {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--blue-glow);
}

.build-links {
  display: flex;
  gap: 0.45rem;
  margin-right: auto;
  margin-left: 0.4rem;
}

.build-links i {
  width: 1.7rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.build-pill {
  width: 3.4rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--accent);
}

.build-hero {
  display: grid;
  align-items: center;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.1rem;
}

.build-copy {
  display: grid;
  gap: 0.55rem;
}

.build-eyebrow {
  width: 36%;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent-soft);
  opacity: 0.9;
}

.build-title {
  width: 94%;
  height: 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.32);
}

.build-title-short {
  width: 62%;
}

.build-text {
  width: 80%;
  height: 0.4rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.build-cta {
  width: 42%;
  height: 1.2rem;
  margin-top: 0.4rem;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--blue-glow);
}

.build-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 6.4rem;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background: rgba(55, 182, 255, 0.07);
}

.build-media-circle {
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.build-media-line {
  width: 55%;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.build-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.build-cards span {
  position: relative;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.build-cards span::before {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.build-cards span::after {
  position: absolute;
  right: 30%;
  bottom: 0.55rem;
  left: 0.55rem;
  height: 0.28rem;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

@keyframes build-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  4.5% {
    opacity: 1;
    transform: scale(1.08);
  }

  7% {
    transform: scale(1);
  }

  88% {
    opacity: 1;
    transform: scale(1);
  }

  96%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes build-grow {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  6% {
    opacity: 1;
    transform: scaleX(1);
  }

  88% {
    opacity: 1;
    transform: scaleX(1);
  }

  96%,
  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}

@keyframes build-rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  6% {
    opacity: 1;
    transform: translateY(0);
  }

  88% {
    opacity: 1;
    transform: translateY(0);
  }

  96%,
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

.build-logo,
.build-pill,
.build-cta,
.build-media-circle {
  animation: build-pop var(--build-cycle) var(--ease-spring) infinite both;
}

.build-links i,
.build-eyebrow,
.build-title,
.build-text,
.build-media-line {
  transform-origin: left center;
  animation: build-grow var(--build-cycle) var(--ease-out) infinite both;
}

.build-media,
.build-cards span {
  animation: build-rise var(--build-cycle) var(--ease-out) infinite both;
}

.build-logo {
  animation-delay: 0.15s;
}

.build-links i:nth-child(1) {
  animation-delay: 0.3s;
}

.build-links i:nth-child(2) {
  animation-delay: 0.42s;
}

.build-links i:nth-child(3) {
  animation-delay: 0.54s;
}

.build-pill {
  animation-delay: 0.7s;
}

.build-eyebrow {
  animation-delay: 1.1s;
}

.build-title {
  animation-delay: 1.35s;
}

.build-title-short {
  animation-delay: 1.55s;
}

.build-text {
  animation-delay: 1.8s;
}

.build-cta {
  animation-delay: 2.05s;
}

.build-media {
  animation-delay: 2.5s;
}

.build-media-circle {
  animation-delay: 2.85s;
}

.build-media-line {
  animation-delay: 3.05s;
}

.build-cards span:nth-child(1) {
  animation-delay: 3.4s;
}

.build-cards span:nth-child(2) {
  animation-delay: 3.6s;
}

.build-cards span:nth-child(3) {
  animation-delay: 3.8s;
}

/* ============================================================
   Sections — shared rhythm
   ============================================================ */

.content-section,
.proof-section,
.contact-section,
.featured-projects-section,
.included-section,
.packages-section,
.comparison-section,
.local-seo-section,
.stats-section,
.contact-form-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.content-section::before,
.featured-projects-section::before,
.included-section::before,
.packages-section::before,
.deliverables-section::before,
.projects-section::before,
.contact-form-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 2rem));
  height: 1px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.4rem;
}

.section-heading p:not(.eyebrow) {
  max-width: 44rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

/* ============================================================
   Cards — shared premium base
   ============================================================ */

.stat-card,
.included-card,
.package-card,
.comparison-grid > div,
.contact-form,
.service-signal > div,
.deliverable-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-highlight);
}

.stat-card,
.included-card,
.package-card,
.deliverable-card,
.comparison-grid > div,
.service-signal > div {
  transition:
    border-color 220ms ease,
    transform 260ms var(--ease-out),
    box-shadow 260ms ease;
}

.stat-card:hover,
.included-card:hover,
.package-card:hover,
.deliverable-card:hover,
.comparison-grid > div:hover,
.service-signal > div:hover {
  transform: translateY(-3px);
  border-color: rgba(55, 182, 255, 0.34);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3), 0 0 28px rgba(55, 182, 255, 0.1), var(--card-highlight);
}

/* Cursor-following spotlight (class + coordinates set by main.js). */
.card-spot {
  position: relative;
}

.card-spot::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: radial-gradient(11rem circle at var(--mx, 50%) var(--my, 50%), rgba(55, 182, 255, 0.11), transparent 68%);
  transition: opacity 260ms ease;
}

.card-spot:hover::after {
  opacity: 1;
}

/* ============================================================
   Stats (home)
   ============================================================ */

.stats-section {
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}

.stats-grid,
.included-grid,
.package-grid,
.featured-project-grid,
.comparison-grid {
  display: grid;
  gap: 0.9rem;
}

.stat-card {
  padding: 1.15rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.stat-card > span,
.project-card small,
.package-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================================
   Services cards (home)
   ============================================================ */

.service-grid {
  display: grid;
  gap: 0.9rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-highlight);
  isolation: isolate;
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 182, 255, 0.55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34), 0 0 44px rgba(55, 182, 255, 0.16), var(--card-highlight);
}

.service-card a {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100%;
  padding: 1.2rem;
}

.service-card span {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.4rem;
  border: 1px solid rgba(55, 182, 255, 0.38);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.service-card:hover span {
  background: rgba(55, 182, 255, 0.12);
  box-shadow: 0 0 22px rgba(55, 182, 255, 0.22);
}

.service-card h3 {
  transition: color 200ms ease;
}

.service-card p,
.proof-list p,
.contact-inner p {
  margin-bottom: 0;
}

/* ============================================================
   Projects
   ============================================================ */

.projects-section {
  position: relative;
  padding: 1rem 0 6rem;
}

.projects-grid {
  display: grid;
  gap: 0.9rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-highlight);
  transition:
    transform 280ms var(--ease-out),
    border-color 240ms ease,
    box-shadow 280ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(55, 182, 255, 0.55);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44), 0 0 44px rgba(55, 182, 255, 0.16), var(--card-highlight);
}

.project-card a {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100%;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(55, 182, 255, 0.16), transparent 13rem),
    #080808;
  transition: transform 600ms var(--ease-out), filter 400ms ease;
  filter: saturate(0.94);
}

.project-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.project-card span {
  margin: 1.05rem 1.05rem 0.45rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h2 {
  max-width: none;
  margin: 0 1.05rem 1.1rem;
  font-size: 1.32rem;
  line-height: 1.15;
}

.project-card h3 {
  max-width: none;
  margin: 0 1.05rem 0.8rem;
  font-size: 1.32rem;
  line-height: 1.15;
}

.project-card-rich p {
  margin: 0 1.05rem 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.project-card-rich small {
  display: block;
  margin: auto 1.05rem 1.05rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

/* ============================================================
   Included / deliverables / packages
   ============================================================ */

.included-card,
.package-card,
.comparison-grid > div {
  padding: 1.15rem;
}

.included-card h3,
.package-card h3,
.comparison-grid h3 {
  max-width: 14ch;
}

.included-card p,
.package-card p,
.comparison-grid p,
.local-seo-inner p {
  margin-bottom: 0;
}

.package-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(55, 182, 255, 0.32);
  border-radius: 999px;
  background: rgba(55, 182, 255, 0.08);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  padding-left: 1rem;
  border-left: 2px solid rgba(55, 182, 255, 0.68);
  color: var(--text);
  line-height: 1.5;
}

/* ============================================================
   Proof / approach
   ============================================================ */

.proof-section {
  background: var(--background);
}

.proof-inner {
  display: grid;
  gap: 2rem;
}

.proof-list {
  display: grid;
  gap: 0.8rem;
}

.proof-list p {
  position: relative;
  padding: 1.05rem 1.05rem 1.05rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--card-highlight);
  color: var(--text);
  transition: border-color 220ms ease, transform 240ms var(--ease-out);
}

.proof-list p:hover {
  transform: translateX(4px);
  border-color: rgba(55, 182, 255, 0.3);
}

.proof-list p::before {
  position: absolute;
  top: 0.85rem;
  bottom: 0.85rem;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(55, 182, 255, 0.6);
  content: "";
}

/* ============================================================
   Contact CTA band
   ============================================================ */

.contact-section {
  overflow: hidden;
}

.contact-inner {
  position: relative;
  max-width: 760px;
}

/* Approved: soft glow focused on the CTA moment. */
.contact-inner::before {
  position: absolute;
  top: -6rem;
  left: -8rem;
  width: 26rem;
  height: 20rem;
  pointer-events: none;
  content: "";
  background: radial-gradient(closest-side, rgba(55, 182, 255, 0.1), transparent 72%);
  filter: blur(8px);
}

.contact-inner > * {
  position: relative;
}

.contact-inner h2 {
  max-width: 16.5ch;
  line-height: 1.08;
}

.contact-inner p {
  max-width: 35rem;
  margin-bottom: 1.6rem;
}

.contact-inner .button + .button {
  margin-left: 0;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 58%),
    rgba(17, 17, 17, 0.86);
}

.footer-inner {
  display: grid;
  gap: 1.4rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.site-footer img,
.footer-brand img {
  display: block;
  width: 156px;
  max-width: 156px;
  height: 42px;
  object-fit: cover;
  object-position: center;
}

.footer-brand p {
  max-width: 30rem;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-contact {
  flex-direction: column;
}

.footer-nav a,
.footer-contact a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
  transition: color 180ms ease;
}

.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent);
  transition: transform 260ms var(--ease-out);
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--text);
}

/* ============================================================
   Page heroes (internal pages)
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
  content: "";
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12rem;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, var(--background));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.page-hero-inner h1 {
  max-width: 12ch;
}

.page-hero-inner p:not(.eyebrow) {
  max-width: 46rem;
  font-size: 1.1rem;
}

/* ============================================================
   Services page
   ============================================================ */

.service-hero {
  min-height: auto;
}

.service-hero-inner,
.contact-page-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.4rem;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.service-hero-copy h1 {
  max-width: 11ch;
}

.service-hero-copy p:not(.eyebrow) {
  max-width: 44rem;
  font-size: 1.1rem;
}

.service-signal {
  display: grid;
  gap: 0.8rem;
}

.service-signal > div {
  padding: 1.1rem;
}

.service-signal span,
.deliverable-card span {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-signal strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  line-height: 1.1;
}

.service-signal p,
.deliverable-card p {
  margin-bottom: 0;
}

.service-fit-inner {
  display: grid;
  gap: 1rem;
}

.fit-list {
  display: grid;
  gap: 0.7rem;
}

.fit-list p {
  margin: 0;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(55, 182, 255, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--card-highlight);
  color: var(--text);
  transition: transform 240ms var(--ease-out), border-color 220ms ease;
}

.fit-list p:hover {
  transform: translateX(4px);
  border-color: rgba(55, 182, 255, 0.3);
  border-left-color: rgba(55, 182, 255, 0.9);
}

/* Process tabs */
.process-section {
  padding: 5rem 0;
  background: var(--background);
}

.process-workspace {
  display: grid;
  gap: 1rem;
}

.process-steps {
  display: grid;
  gap: 0.55rem;
}

.process-step {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--card-highlight);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    transform 220ms var(--ease-out);
}

.process-step:hover,
.process-step:focus-visible {
  border-color: rgba(55, 182, 255, 0.45);
}

.process-step.is-active {
  border-color: rgba(55, 182, 255, 0.68);
  background: rgba(55, 182, 255, 0.07);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.26), 0 0 36px rgba(55, 182, 255, 0.16);
}

.process-step:hover {
  transform: translateY(-2px);
}

.process-step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(55, 182, 255, 0.35);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  transition: background 220ms ease;
}

.process-step.is-active span {
  background: rgba(55, 182, 255, 0.14);
}

.process-panels {
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(55, 182, 255, 0.16), transparent 18rem),
    rgba(17, 17, 17, 0.78);
  box-shadow: var(--shadow-deep), var(--card-highlight);
}

.process-panel {
  padding: 1.2rem;
  animation: panelIn 340ms var(--ease-out) both;
}

.process-panel[hidden] {
  display: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-panel h3 {
  max-width: 15ch;
  font-size: 2rem;
  line-height: 1.02;
}

.process-panel ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.process-panel li {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.deliverables-section {
  padding-bottom: 3rem;
}

.deliverables-grid {
  display: grid;
  gap: 0.9rem;
}

.deliverable-card {
  min-height: 14rem;
  padding: 1.15rem;
}

.deliverable-card h3 {
  max-width: 11ch;
}

.static-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-hero {
  min-height: auto;
}

.contact-page-copy h1 {
  max-width: 12ch;
}

.contact-page-copy p:not(.eyebrow) {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  font-size: 1.1rem;
}

.contact-signal a {
  color: var(--text);
  transition: color 180ms ease;
}

.contact-signal a:hover,
.contact-signal a:focus-visible {
  color: var(--accent);
}

.contact-form-inner {
  display: grid;
  gap: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow-deep), var(--card-highlight);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.contact-form input,
.contact-form select,
.intake-form input,
.intake-form select {
  padding: 0 0.9rem;
}

.contact-form textarea,
.intake-form textarea {
  min-height: 9rem;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.contact-form select,
.intake-form select {
  color-scheme: dark;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.intake-form input:hover,
.intake-form select:hover,
.intake-form textarea:hover {
  border-color: var(--line-strong);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: rgba(55, 182, 255, 0.78);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(55, 182, 255, 0.16), 0 0 24px rgba(55, 182, 255, 0.12);
}

.contact-form-actions {
  padding: 0;
  border-top: 0;
}

.contact-form-actions button.button {
  border: 0;
  cursor: pointer;
}

.contact-form-actions .button-secondary {
  border: 1px solid var(--line);
}

/* ============================================================
   Questionnaire (intake)
   ============================================================ */

.intake-hero {
  min-height: auto;
}

.intake-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.2rem;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.intake-copy h1 {
  max-width: 10ch;
}

.intake-copy p:not(.eyebrow) {
  max-width: 43rem;
  font-size: 1.1rem;
}

.intake-note {
  padding: 1rem;
  border: 1px solid rgba(55, 182, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(55, 182, 255, 0.08);
  color: var(--text);
}

.intake-status {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38), var(--card-highlight);
}

.intake-status span {
  display: inline-flex;
  margin-bottom: 1.35rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intake-status strong {
  display: block;
  max-width: 10ch;
  margin-bottom: 0.8rem;
  font-size: 2.1rem;
  line-height: 1.02;
}

.intake-status p {
  margin-bottom: 0;
}

.intake-status-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.intake-status-list p {
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.93rem;
}

.intake-section {
  padding: 2rem 0 6rem;
}

.intake-form {
  overflow: hidden;
  border: 1px solid rgba(55, 182, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.88);
  box-shadow: var(--shadow-deep), 0 0 40px rgba(55, 182, 255, 0.1), var(--card-highlight);
}

.form-topline {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.form-topline h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: 2.25rem;
}

.step-count {
  margin: 0;
  color: var(--text);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.step-meter {
  height: 3px;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.step-meter span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 24px var(--blue-glow);
  transition: width 360ms var(--ease-out);
}

.form-step {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1.1rem;
  border: 0;
  animation: formStepIn 300ms var(--ease-out) both;
}

.form-step[hidden] {
  display: none;
}

.form-step legend {
  padding: 0;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 760;
}

.step-help,
.submit-note {
  margin-bottom: 0;
}

.field-grid,
.upload-grid,
.style-options {
  display: grid;
  gap: 0.9rem;
}

.intake-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.style-option,
.upload-field,
.checkbox-field {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--card-highlight);
}

.style-option {
  position: relative;
  gap: 0.45rem;
  min-height: 15rem;
  padding: 0.9rem;
  cursor: pointer;
  transition:
    transform 240ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 240ms ease;
}

.style-option:hover,
.style-option:has(input:checked) {
  transform: translateY(-2px);
  border-color: rgba(55, 182, 255, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28), 0 0 32px rgba(55, 182, 255, 0.16), var(--card-highlight);
}

.style-option:has(input:checked) {
  background: rgba(55, 182, 255, 0.06);
}

.style-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.style-art {
  display: grid;
  min-height: 7rem;
  place-items: center;
  margin-bottom: 0.4rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(55, 182, 255, 0.16), transparent 8rem),
    rgba(255, 255, 255, 0.04);
}

.style-art svg {
  width: min(100%, 11rem);
  height: auto;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  transition: transform 300ms var(--ease-spring);
}

.style-option:hover .style-art svg,
.style-option:has(input:checked) .style-art svg {
  transform: scale(1.05);
}

.style-option strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.style-option small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 520;
  line-height: 1.4;
}

.upload-field {
  min-height: 9rem;
  padding: 1rem;
  transition: border-color 220ms ease;
}

.upload-field:hover {
  border-color: var(--line-strong);
}

.upload-field input {
  min-height: auto;
  padding: 0.7rem;
}

.upload-field span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 520;
  line-height: 1.45;
}

.checkbox-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
  line-height: 1.45;
}

.checkbox-field input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  padding: 1.1rem;
  border-top: 1px solid var(--line);
}

.form-actions .button {
  flex: 1 1 9rem;
  border: 0;
  cursor: pointer;
}

.form-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  font-weight: 650;
}

.form-message[data-state="success"] {
  color: #7ee2a8;
}

.form-message[data-state="error"] {
  color: #ffb4a9;
}

@keyframes formStepIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Local SEO band
   ============================================================ */

.local-seo-inner {
  max-width: 820px;
}

/* ============================================================
   FAQ (services)
   ============================================================ */

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-highlight);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(55, 182, 255, 0.4);
}

.faq-item[open] {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24), 0 0 24px rgba(55, 182, 255, 0.08), var(--card-highlight);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 1rem 1.15rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border: 1px solid rgba(55, 182, 255, 0.38);
  border-radius: var(--radius);
  color: var(--accent);
  content: "+";
  font-weight: 700;
  transition: transform 280ms var(--ease-out), background 220ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(55, 182, 255, 0.12);
}

.faq-item p {
  max-width: 60ch;
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  animation: panelIn 300ms var(--ease-out) both;
}

/* ============================================================
   Merci (thanks)
   ============================================================ */

.thanks-section {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 8rem 0 5rem;
}

.thanks-inner {
  max-width: 760px;
  text-align: center;
}

.thanks-check {
  display: grid;
  width: 6.5rem;
  height: 6.5rem;
  place-items: center;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 42px rgba(55, 182, 255, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  animation: checkPop 560ms var(--ease-spring) both;
}

@keyframes checkPop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.thanks-check svg {
  width: 4rem;
  height: 4rem;
  fill: none;
  stroke: #ffffff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks-check svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkDraw 520ms ease-out 380ms forwards;
}

@keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.thanks-inner h1 {
  max-width: 11ch;
  margin-right: auto;
  margin-left: auto;
}

.thanks-inner p:not(.eyebrow) {
  max-width: 42rem;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.1rem;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================================
   Scroll reveals
   ============================================================ */

.reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 760ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 760ms var(--ease-out) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.reveal-ready .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Breakpoints
   ============================================================ */

@media (min-width: 640px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .included-grid,
  .deliverables-grid,
  .projects-grid,
  .featured-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  body {
    padding-bottom: 0;
  }

  .mobile-call-bar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  body.has-scrolled .site-nav {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    opacity: 1;
    transform: none;
  }

  .site-nav.is-open a {
    animation: none;
  }

  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    box-shadow: 0 0 22px rgba(55, 182, 255, 0.2), inset 0 0 0 1px rgba(55, 182, 255, 0.22);
  }

  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 0.4rem;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    font-weight: 760;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .hero-text {
    font-size: 1.22rem;
  }

  .service-grid,
  .stats-grid,
  .featured-project-grid,
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .included-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-inner {
    grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
    align-items: start;
  }

  .contact-form {
    padding: 1.35rem;
  }

  .service-signal,
  .deliverables-grid,
  .field-grid,
  .upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-topline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding: 1.35rem;
  }

  .form-step,
  .form-actions {
    padding: 1.35rem;
  }

  .process-workspace {
    grid-template-columns: 0.42fr 1fr;
    align-items: start;
  }

  .process-panel {
    padding: 1.6rem;
  }

  .process-panel h3 {
    font-size: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, auto);
    align-items: center;
  }

  .footer-contact {
    justify-content: flex-end;
    text-align: right;
  }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  }

  .hero-copy {
    padding-top: 3rem;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 4.2rem;
  }

  .proof-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
    align-items: start;
  }

  .service-fit-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    align-items: center;
  }

  .service-hero-inner,
  .contact-page-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.5fr);
    align-items: start;
  }

  .intake-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.62fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }

  .intake-copy {
    align-self: center;
  }

  .intake-copy h1 {
    max-width: 12ch;
    font-size: 4.9rem;
    line-height: 1;
  }

  .intake-copy p:not(.eyebrow) {
    max-width: 48rem;
  }

  .intake-status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: end;
    min-height: 100%;
    max-width: 430px;
    margin-left: auto;
    padding: 1.35rem;
  }

  .intake-status strong {
    max-width: 12ch;
    font-size: 2.55rem;
  }

  .service-hero,
  .contact-hero {
    min-height: calc(100svh - 72px);
  }

  .page-hero-inner,
  .service-hero-inner,
  .contact-page-inner {
    padding-top: 8.5rem;
    padding-bottom: 5rem;
  }

  .service-hero-copy {
    max-width: 760px;
  }

  .service-hero-copy h1 {
    max-width: 10ch;
  }

  .service-hero-copy p:not(.eyebrow) {
    max-width: 39rem;
  }

  .service-hero .hero-actions {
    margin-bottom: 0;
  }

  .service-signal {
    grid-template-columns: 1fr;
    align-self: start;
    width: min(100%, 430px);
    max-width: 430px;
    margin-left: auto;
  }

  .service-signal > div {
    background: rgba(17, 17, 17, 0.9);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34), var(--card-highlight);
  }

  .deliverables-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .intake-form {
    max-width: 980px;
    margin: 0 auto;
  }

  .process-panel .eyebrow {
    margin-top: 1.2rem;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(320px, 1fr) minmax(230px, auto) minmax(170px, auto);
    gap: 2rem;
    align-items: center;
  }

  .footer-brand {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
  }

  .footer-brand p {
    margin-top: 0;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

/* ============================================================
   Small screens
   ============================================================ */

@media (max-width: 859px) {
  body {
    padding-bottom: 5.25rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    min-height: calc(100svh - 72px);
  }

  .hero-actions,
  .section-actions,
  .thanks-actions,
  .form-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .section-actions .button,
  .thanks-actions .button {
    flex: 1 1 100%;
  }

  .browser-card {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-glow {
    inset: auto -8rem -4rem auto;
  }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.page-transition-ready {
    transition: none;
  }

  body.is-page-entering,
  body.is-page-leaving {
    opacity: 1;
    filter: none;
    transform: none;
    will-change: auto;
  }

  .hero-preview {
    animation: none;
  }

  .build-scene * {
    animation: none;
  }

  .build-beam {
    display: none;
  }

  .split-word > span {
    transform: none;
    animation: none;
  }

  .form-step,
  .process-panel,
  .site-nav.is-open a,
  .thanks-check,
  .thanks-check svg path {
    animation: none;
  }

  .thanks-check svg path {
    stroke-dashoffset: 0;
  }

  .site-nav a {
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
