/* ================================================================
   Bodner Consulting — building clarity.
   ================================================================ */
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --ink: #18181b;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --accent-a: #8b7cf6;
  --accent-b: #f472b6;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.body-copy {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 1.2rem;
}

.text-link {
  color: #6d5fd8;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 124, 246, 0.35);
  transition: border-color 0.2s;
}
.text-link:hover { border-color: #6d5fd8; }

/* ================= NAV ================= */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
#nav.scrolled {
  background: rgba(250, 250, 250, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.07);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-brand img { width: 30px; height: 30px; }
.nav-brand span {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  transition: border-color 0.2s, transform 0.15s;
}
.nav-cta:hover { border-color: #a1a1aa; }
.nav-cta:active { transform: scale(0.98); }

/* ---- Services dropdown (shows the four services + their colours) ---- */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop > a::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.25s var(--ease), opacity 0.2s;
  vertical-align: middle;
}
.nav-drop:hover > a::after,
.nav-drop:focus-within > a::after { transform: rotate(225deg) translateY(1px); opacity: 1; }
/* invisible bridge so the menu doesn't drop while the cursor crosses the gap */
.nav-drop::after {
  content: "";
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 16px;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 316px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 60px -28px rgba(24, 24, 27, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 60;
}
.nav-menu::before {
  content: "";
  display: block;
  height: 3px;
  margin: 0.15rem 0.55rem 0.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, #8b7cf6, #f472b6, #38bdf8, #fbbf24);
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink) !important;
  transition: background 0.18s var(--ease);
}
.nav-menu-item:hover { background: color-mix(in srgb, var(--c) 12%, transparent); }
.nav-menu-dot {
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent);
  transition: box-shadow 0.25s var(--ease);
}
.nav-menu-item:hover .nav-menu-dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent); }
.nav-menu-txt { display: flex; flex-direction: column; line-height: 1.25; }
.nav-menu-txt strong { font-size: 0.9rem; font-weight: 600; transition: color 0.18s var(--ease); }
.nav-menu-txt em { font-style: normal; font-size: 0.76rem; color: var(--ink-3); }
.nav-menu-item:hover .nav-menu-txt strong { color: var(--c); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: clip;
}
.hero-wash {
  position: absolute;
  top: -12%;
  right: -14%;
  width: 58vmin;
  filter: blur(72px) saturate(1.15);
  opacity: 0.35;
  pointer-events: none;
}

/* stage = 2000x2000 coordinate space from the original artwork,
   positions below are % taken from 1.png / 2.png */
.stage {
  position: relative;
  width: min(80vmin, 720px);
  aspect-ratio: 1;
  visibility: hidden; /* revealed by JS */
}
.mark {
  position: absolute;
  left: 24.9%;
  top: 20.15%;
  width: 49.25%;
  aspect-ratio: 1;
  will-change: transform;
}
.layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.name {
  position: absolute;
  left: 32.3%;
  top: 72.6%;
  width: 37%;
}
.divider {
  position: absolute;
  left: 50.3%;
  top: 41.5%;
  height: 19.65%;
  width: 2.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
  transform: scaleY(0);
  transform-origin: top center;
}
.tagline-wrap {
  position: absolute;
  left: 54.15%;
  top: 48.4%;
  width: 37.95%;
}
.tagline {
  width: 100%;
  clip-path: inset(0 100% 0 0);
}
.caret {
  position: absolute;
  left: 3%;
  top: 14%;
  height: 64%;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
  opacity: 0;
}
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  opacity: 0;
}
.scroll-cue span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}
.scroll-cue i {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, #a1a1aa, transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================= APPS (hands) ================= */
.apps {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #f3f2fa 55%, var(--bg) 100%);
}
.apps-inner {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: clip;
}
.apps-copy {
  position: absolute;
  z-index: 3;
  top: 15vh;
  left: clamp(1.25rem, 6vw, 6rem);
  max-width: 640px;
}
.hand {
  position: absolute;
  z-index: 2;
  will-change: transform;
  pointer-events: none;
}
.hand-gold {
  width: min(57vw, 92vmin, 780px);
  left: -5vw;
  bottom: -12vh;
}
.hand-glass {
  width: min(57vw, 92vmin, 780px);
  right: -6vw;
  top: -4vh;
}
.spark {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 52%;
  translate: -50% -50%;
  width: clamp(60px, 7.5vw, 100px);
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.4);
}
.spark::before {
  content: "";
  position: absolute;
  inset: -80%;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.28), transparent 65%);
}
.spark img { position: relative; width: 100%; }
.apps-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.apps-link path {
  fill: none;
  stroke: url(#appsLinkGrad);
  stroke-width: 2;
  stroke-linecap: round;
}
.apps-link circle { transform-box: fill-box; transform-origin: center; }
.apps-case {
  position: absolute;
  z-index: 4;
  right: clamp(1.25rem, 5vw, 5rem);
  bottom: 7vh;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 1rem 1.15rem;
  border-radius: 16px;
  /* frosted fill (padding-box) + rainbow ring (border-box) */
  background:
    linear-gradient(rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.66)) padding-box,
    conic-gradient(from 150deg, #8b7cf6, #38bdf8, #34d399, #fbbf24, #f472b6, #8b7cf6) border-box;
  border: 2px solid transparent;
  box-shadow: 0 18px 40px -20px rgba(139, 124, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.apps-case strong { font-weight: 600; color: var(--ink); }
.case-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.case-desc { color: var(--ink-2); }
.case-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 0 0 rgba(139, 124, 246, 0.5);
  animation: casePulse 2.4s ease-out infinite;
}
@keyframes casePulse {
  0%   { box-shadow: 0 0 0 0 rgba(139, 124, 246, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(139, 124, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 124, 246, 0); }
}

/* ================= SERVICES ================= */
.services {
  padding: clamp(6rem, 14vh, 10rem) clamp(1.25rem, 5vw, 4rem);
}
.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.services-head { text-align: center; }
.services-head .eyebrow { justify-content: center; }

/* the figure is the prime: bust centered, pillars connect to it */
.figure-stage {
  position: relative;
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 430px) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: clamp(2rem, 6vh, 4rem);
  align-items: center;
}
.figure-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  height: min(70vh, 660px);
  display: grid;
  place-items: center;
}
.silk {
  position: absolute;
  width: 135%;
  max-width: none;
  filter: blur(52px) saturate(1.15);
  opacity: 0.5;
  pointer-events: none;
}
.bust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(24, 24, 27, 0.12));
  will-change: transform;
}
.connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.connectors path {
  fill: none;
  stroke: #d6d3e6;
  stroke-width: 1.5;
  transition: stroke 0.25s, stroke-width 0.25s;
}
.connectors circle {
  transition: r 0.25s;
}

/* pillar cards */
.pillar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.p-apps { grid-column: 1; grid-row: 1; --pc: 139, 124, 246; }
.p-lead { grid-column: 1; grid-row: 2; --pc: 244, 114, 182; }
.p-web  { grid-column: 3; grid-row: 1; --pc: 56, 189, 248; }
.p-flow { grid-column: 3; grid-row: 2; --pc: 251, 191, 36; }

/* the colored layer that fades in underneath on hover */
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(var(--pc), 0.16), transparent 62%),
    linear-gradient(135deg, rgba(var(--pc), 0.10), rgba(255, 255, 255, 0.5));
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--pc), 0.28);
  box-shadow: 0 22px 40px -26px rgba(var(--pc), 0.55);
}
.pillar:hover::before { opacity: 1; transform: scale(1); }
.pillar .num {
  transition: color 0.3s;
}
.pillar:hover .num { color: rgb(var(--pc)); }
.pillar .go {
  display: inline-block;
  margin-left: 0.6rem;
  color: rgb(var(--pc));
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.pillar:hover .go { opacity: 1; transform: translateX(0); }
.pillar h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.pillar p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
}

/* rows layout used on the services overview page */
.services-list .rows { margin-top: 3rem; }
.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
}
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row:hover { transform: translateX(6px); }
.service-row .go {
  display: inline-block;
  margin-left: 0.6rem;
  color: var(--accent-a);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-row:hover .go { opacity: 1; transform: translateX(0); }
.num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #a1a1aa;
  padding-top: 0.45rem;
}
.service-row h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.service-row p {
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

/* figure stage collapses below 900px: figure on top, pillars stacked */
@media (max-width: 899px) {
  .figure-stage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 1.25rem;
  }
  .figure-wrap {
    grid-column: 1;
    grid-row: auto;
    height: 320px;
    margin-bottom: 1.5rem;
  }
  .p-apps, .p-lead, .p-web, .p-flow { grid-column: 1; grid-row: auto; }
  .connectors { display: none; }
  .pillar { border: 1px solid var(--line); }
}

/* ================= CONTACT ================= */
.contact {
  position: relative;
  padding: clamp(6rem, 16vh, 11rem) clamp(1.25rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--bg), #f4f3fa 60%, var(--bg));
  overflow: clip;
}
.contact-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.contact-intro { position: relative; }
.cursor-arrow {
  margin-top: 3.5rem;
  width: min(300px, 62%);
  will-change: transform;
  filter: drop-shadow(0 24px 38px rgba(59, 130, 246, 0.22));
}
.contact-form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3f3f46;
}
.field input,
.field textarea {
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.8rem 1rem;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-a);
  box-shadow: 0 0 0 3px rgba(139, 124, 246, 0.16);
}
.field .error {
  display: none;
  font-size: 0.78rem;
  color: #e11d48;
}
.field.invalid input,
.field.invalid textarea { border-color: #fda4af; }
.field.invalid .error { display: block; }
.submit {
  justify-self: start;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s var(--ease);
}
.submit:hover { background: #27272a; transform: translateY(-1px); }
.submit:active { transform: translateY(0) scale(0.98); }
.form-note { font-size: 0.8125rem; font-weight: 300; color: var(--ink-3); margin-top: 0.4rem; }
.form-note a { color: #6d5fd8; text-underline-offset: 3px; }
.form-status {
  display: none;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
}
.form-status.ok {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-status.fail {
  display: block;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}
.form-status a { color: inherit; }
.submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ================= SUBPAGES ================= */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8.5rem clamp(1.25rem, 5vw, 3rem) 5rem;
}
.page.narrow { max-width: 780px; }
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.page-hero .lede {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 54ch;
  margin-top: 1.2rem;
}
.hero-num {
  width: clamp(110px, 16vw, 210px);
  filter: drop-shadow(0 22px 34px rgba(24, 24, 27, 0.14));
}
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 3rem 0 0.9rem;
}
.prose p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 68ch;
  margin-top: 0.9rem;
}
.prose ul {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}
.prose ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 68ch;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.prose strong { font-weight: 500; color: var(--ink); }
.steps {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.steps li {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.steps .num { display: block; padding: 0 0 0.5rem; }
.steps h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.4rem; }
.steps p { font-size: 0.92rem; font-weight: 300; line-height: 1.55; color: var(--ink-2); }
.cta-band {
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band p { font-size: 1.1rem; font-weight: 400; }
.btn-dark {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s var(--ease);
}
.btn-dark:hover { background: #27272a; transform: translateY(-1px); }
.btn-dark:active { transform: translateY(0) scale(0.98); }
.page-decor {
  position: absolute;
  right: -2%;
  top: -18%;
  width: clamp(180px, 26vw, 360px);
  opacity: 0.5;
  filter: blur(2px) saturate(1.1);
  pointer-events: none;
  z-index: -1;
}

/* Clarity Apps page: typed question + living orb guide */
.type-line {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #6d5fd8;
  margin-top: 1.15rem;
  min-height: 1.5em;
}
.type-caret {
  display: inline-block;
  vertical-align: text-bottom;
  width: 2px;
  height: 1.15em;
  margin-left: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
  animation: caret-blink 0.85s steps(1) infinite;
}
.type-caret.done { animation: none; opacity: 0; transition: opacity 0.4s; }
@keyframes caret-blink { 50% { opacity: 0; } }

.orb-home {
  position: absolute;
  right: 1%;
  top: -14%;
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 1;
  pointer-events: none;
}
/* the guide: a pulsing dot fixed middle-left that narrates the page */
.guide {
  position: fixed;
  left: clamp(1.5rem, 3vw, 3.25rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 288px;
  pointer-events: none;
}
.guide-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #a78bfa, #6d5fd8 58%, #f472b6);
  box-shadow: 0 0 0 0 rgba(139, 124, 246, 0.5), 0 6px 16px rgba(139, 124, 246, 0.45);
  animation: guidePulse 2.2s ease-out infinite;
}
@keyframes guidePulse {
  0%   { box-shadow: 0 0 0 0 rgba(139, 124, 246, 0.5), 0 6px 16px rgba(139, 124, 246, 0.45); }
  70%  { box-shadow: 0 0 0 15px rgba(139, 124, 246, 0), 0 6px 16px rgba(139, 124, 246, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(139, 124, 246, 0), 0 6px 16px rgba(139, 124, 246, 0.45); }
}
.guide-bubble {
  position: relative;
  margin: 0;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 16px 34px -20px rgba(24, 24, 27, 0.35);
  transition: border-color 0.3s var(--ease);
}
.guide-bubble::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.86);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guide-speak .guide-bubble { border-color: #c4b5fd; }
@media (max-width: 999px) { .guide { display: none; } }

/* Clarity Apps: the four steps become a vertical sequence the guide walks through */
.steps-flow {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 660px;
}
.steps-flow li {
  border-top: 1px solid var(--line);
  padding: clamp(1.75rem, 5vh, 2.9rem) 0;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.4rem 1.2rem;
  align-items: start;
}
.steps-flow li:last-child { border-bottom: 1px solid var(--line); }
.steps-flow li .num {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--accent-a);
}
.steps-flow li h3 { grid-column: 2; font-size: 1.2rem; }
.steps-flow li p { grid-column: 2; max-width: 52ch; }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.photo-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(150deg, #eceafd, #fbe6f4);
  box-shadow: 0 30px 60px -30px rgba(24, 24, 27, 0.25);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame.missing img { display: none; }
.photo-frame.missing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/mark-flat.webp") center / 42% no-repeat,
              linear-gradient(150deg, #eceafd, #fbe6f4);
}
.about-butterfly {
  position: absolute;
  width: clamp(90px, 10vw, 140px);
  right: -8%;
  top: -7%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 14px 22px rgba(24, 24, 27, 0.18));
}
.about-photo { position: relative; }
.about-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.fact-list {
  list-style: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.fact-list li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.fact-list .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  padding-top: 0.2rem;
}
.fact-list .v { font-weight: 300; color: var(--ink-2); }

/* legal */
.legal h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.legal h2 { font-size: 1.25rem; margin: 2.4rem 0 0.7rem; }
.legal p, .legal address {
  font-style: normal;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 0.7rem;
}
.legal a { color: #6d5fd8; text-underline-offset: 3px; }

/* ================= CONTACT PAGE ================= */
.contact-page { padding-top: 7.5rem; }
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 60vh;
  padding-bottom: clamp(3rem, 7vh, 5rem);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.contact-hero-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.contact-hero-copy .lede {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 46ch;
  margin-top: 1.3rem;
}
.contact-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.contact-direct:hover { border-color: #93c5fd; transform: translateY(-1px); }
.contact-direct-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #6d5fd8);
  box-shadow: 0 0 0 0 rgba(56, 130, 246, 0.5);
  animation: casePulse 2.4s ease-out infinite;
}
.contact-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.cursor-orbit {
  position: absolute;
  width: clamp(240px, 28vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 130, 246, 0.24), rgba(139, 124, 246, 0.08) 55%, transparent 70%);
  filter: blur(4px);
}
.cursor-hero {
  position: relative;
  width: clamp(190px, 25vw, 330px);
  filter: drop-shadow(0 30px 46px rgba(56, 130, 246, 0.34));
  will-change: transform;
}
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f7f6fd);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -55px rgba(24, 24, 27, 0.4);
}
.contact-form--page { grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
.contact-form--page .field-wide,
.contact-form--page .submit,
.contact-form--page .form-status { grid-column: 1 / -1; }
.submit-blue {
  justify-self: stretch;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(120deg, #38bdf8, #6d5fd8);
  box-shadow: 0 16px 34px -14px rgba(56, 130, 246, 0.65);
}
.submit-blue:hover { background: linear-gradient(120deg, #38bdf8, #8b7cf6); }

/* ================= CLARITY APPS — flagship hero ================= */
.svc-apps { --svc: #8b7cf6; --svc2: #f472b6; }
.clarity-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: 78vh;
  padding: clamp(1rem, 3vh, 2rem) 0 clamp(3rem, 7vh, 5rem);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.clarity-glow {
  position: absolute;
  z-index: -1;
  inset: -14% 0 -8% 0;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 64% 40%, rgba(56, 189, 248, 0.24), transparent 62%),
    radial-gradient(52% 56% at 42% 62%, rgba(244, 114, 182, 0.22), transparent 64%),
    radial-gradient(44% 48% at 54% 50%, rgba(139, 124, 246, 0.22), transparent 62%);
}
.clarity-hero-copy .eyebrow { color: var(--svc); }
.clarity-hero-copy h1 {
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.clarity-grad {
  background: linear-gradient(105deg, #38bdf8, #8b7cf6 48%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.clarity-hero-copy .lede {
  font-size: 1.14rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
  margin-top: 1.35rem;
}
.clarity-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.1rem; flex-wrap: wrap; }
.btn-clarity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(105deg, #38bdf8, #8b7cf6 50%, #f472b6);
  background-size: 160% 100%;
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  text-decoration: none;
  box-shadow: 0 18px 38px -14px rgba(139, 124, 246, 0.6);
  transition: transform 0.15s var(--ease), background-position 0.5s var(--ease);
}
.btn-clarity:hover { transform: translateY(-2px); background-position: 100% 0; }
.btn-clarity .arw { transition: transform 0.2s var(--ease); }
.btn-clarity:hover .arw { transform: translateX(4px); }
.clarity-scroll { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.clarity-scroll:hover { color: var(--svc); }

/* the product window */
.clarity-stage { position: relative; perspective: 1500px; }
.app-window {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 46px 90px -34px rgba(24, 24, 27, 0.4), 0 0 0 1px rgba(139, 124, 246, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: appFloat 8s ease-in-out infinite;
}
@keyframes appFloat {
  0%, 100% { transform: rotateY(-10deg) rotateX(4deg) translateY(0); }
  50%      { transform: rotateY(-6deg) rotateX(2.5deg) translateY(-12px); }
}
.app-rainbow {
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #8b7cf6, #f472b6, #fbbf24);
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.app-dots { display: flex; gap: 5px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e6e6ee; }
.app-title { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.app-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #16a34a;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.app-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.app-body { padding: 0.9rem; }
.app-toolbar { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.85rem; }
.app-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 28px;
  padding: 0 0.55rem;
  border-radius: 9px;
  background: #f5f5fa;
  border: 1px solid var(--line);
}
.app-search-ic { width: 11px; height: 11px; border-radius: 50%; border: 1.6px solid #b8b8c4; position: relative; }
.app-search-ph { height: 6px; width: 46%; border-radius: 3px; background: #d7d7e0; }
.app-chip {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-3);
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: #f2f2f7;
  white-space: nowrap;
}
.app-chip-on { color: #6d5fd8; background: rgba(139, 124, 246, 0.14); }
.app-list { list-style: none; display: grid; gap: 0.5rem; }
.app-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.5rem 0.6rem;
  border-radius: 11px;
  background: #fafaff;
}
.app-row-top {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(244, 114, 182, 0.12));
  box-shadow: inset 0 0 0 1px rgba(139, 124, 246, 0.28);
}
.app-avatar {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: #e9e9f1;
  display: grid;
  place-items: center;
}
.app-row-top .app-avatar { background: linear-gradient(135deg, #38bdf8, #8b7cf6 55%, #f472b6); }
.app-star { color: #fff; font-size: 0.72rem; line-height: 1; }
.app-bars { display: grid; gap: 6px; }
.app-name { height: 7px; width: 58%; border-radius: 4px; background: #3f3f46; opacity: 0.5; }
.app-row-top .app-name { width: 66%; opacity: 0.72; }
.app-bar-track { height: 6px; border-radius: 3px; background: #eceaf6; overflow: hidden; }
.app-bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 3px;
  background: linear-gradient(90deg, #38bdf8, #8b7cf6, #f472b6);
  transform-origin: left;
}
.app-bar-mut { background: #cfc9e6; }
.app-score {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.app-row-top .app-score { color: #6d5fd8; }

/* floating accent cards */
.app-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 24px 44px -22px rgba(24, 24, 27, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.7rem 0.85rem;
  z-index: 3;
}
.app-float-score {
  top: -7%;
  right: -6%;
  display: grid;
  gap: 0.15rem;
  animation: floatA 6s ease-in-out infinite;
}
.app-float-label { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.app-float-value { font-size: 1.05rem; font-weight: 600; color: #16a34a; }
.app-float-value em { font-style: normal; font-size: 0.62rem; font-weight: 400; color: var(--ink-3); }
.app-spark { width: 96px; height: 30px; margin-top: 0.2rem; overflow: visible; }
.app-float-sync {
  bottom: -9%;
  left: -7%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  animation: floatB 6.6s ease-in-out infinite;
}
.app-float-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.app-float-synctxt { display: flex; flex-direction: column; line-height: 1.2; }
.app-float-synctxt strong { font-size: 0.78rem; font-weight: 600; }
.app-float-synctxt em { font-style: normal; font-size: 0.66rem; color: var(--ink-3); }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

@media (max-width: 899px) {
  .clarity-hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .clarity-stage { order: -1; margin: 0 auto clamp(1rem, 4vh, 2rem); max-width: 440px; }
  .app-window { animation: none; transform: none; }
  .app-float-score { top: -26px; right: 2px; }
  .app-float-sync { bottom: -20px; left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-window, .app-float-score, .app-float-sync { animation: none; }
  .app-window { transform: rotateY(-8deg) rotateX(3deg); }
}

/* ================= SERVICE PAGES (bold animated) ================= */
.svc { --svc: #8b7cf6; --svc2: #f472b6; }
.svc-lead { --svc: #f472b6; --svc2: #fb7185; }
.svc-web  { --svc: #38bdf8; --svc2: #6d5fd8; }
.svc-flow { --svc: #fbbf24; --svc2: #fb7185; }

.svc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: 64vh;
  padding: clamp(0.5rem, 2vh, 1.5rem) 0 clamp(2.5rem, 6vh, 4.5rem);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.svc-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6%;
  top: -10%;
  width: 58%;
  height: 118%;
  background: radial-gradient(circle at 62% 40%,
    color-mix(in srgb, var(--svc) 20%, transparent), transparent 60%);
  pointer-events: none;
}
.svc-hero .eyebrow { color: var(--svc); }
.svc-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.svc-grad {
  background: linear-gradient(100deg, var(--svc), var(--svc2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svc-hero .lede {
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
  margin-top: 1.35rem;
}
.btn-svc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(120deg, var(--svc), var(--svc2));
  border-radius: 999px;
  padding: 0.9rem 1.65rem;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--svc) 85%, transparent);
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-svc:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px color-mix(in srgb, var(--svc) 85%, transparent); }
.btn-svc .arw { transition: transform 0.2s var(--ease); }
.btn-svc:hover .arw { transform: translateX(4px); }

.svc-hero-fx { position: relative; width: 100%; }
.svc-hero-fx svg { width: 100%; height: auto; overflow: visible; display: block; }

/* elevated prose bullets + section rhythm for service pages */
.svc .prose ul li::before { background: linear-gradient(135deg, var(--svc), var(--svc2)); }
.svc .prose h2 { position: relative; padding-left: 1.1rem; }
.svc .prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: 1.05em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--svc), var(--svc2));
}
.svc .cta-band { border-top: none; position: relative; }
.svc .cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--svc), var(--svc2), transparent);
  border-radius: 2px;
}
.svc .btn-dark { background: linear-gradient(120deg, var(--svc), var(--svc2)); }
.svc .btn-dark:hover { filter: brightness(1.06); background: linear-gradient(120deg, var(--svc), var(--svc2)); }

@media (max-width: 899px) {
  .svc-hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .svc-hero-fx { order: -1; max-width: 420px; }
}

/* ================= FOOTER ================= */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.foot-brand { display: flex; align-items: center; gap: 0.6rem; }
.foot-brand img { width: 24px; height: 24px; }
.foot-brand span { font-size: 0.875rem; font-weight: 500; }
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.foot-meta a { color: inherit; text-decoration: none; }
.foot-meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ================= MOBILE ================= */
@media (max-width: 767px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-drop { display: none; }

  .stage { width: min(92vw, 92vmin); }

  .apps-copy { top: 9vh; right: 1.25rem; }
  .apps-copy h2 { font-size: 1.55rem; }
  .apps-copy .body-copy { font-size: 0.95rem; }
  .hand-gold  { width: 62vw; left: -12vw; bottom: -3vh; }
  .hand-glass { width: 62vw; right: -12vw; top: 40vh; }
  .spark { width: 54px; }
  .apps-case {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 3vh;
    max-width: none;
    font-size: 0.8125rem;
  }

  .silk { width: 100%; }

  .contact-inner { grid-template-columns: 1fr; }
  .cursor-arrow { margin-top: 2rem; width: 200px; }

  .contact-hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .contact-hero-visual { order: -1; min-height: 200px; margin-bottom: 1rem; }
  .cursor-hero { width: 150px; }
  .contact-form--page { grid-template-columns: 1fr; }

  .page-hero { grid-template-columns: 1fr; }
  .hero-num { order: -1; width: 96px; }
  .page-decor { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 340px; }
  .fact-list li { grid-template-columns: 7rem 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue i { animation: none; }
}
