/* ════════════════════════════════════════════════════════════
   SOLE · v3 landing
   White canvas · copper-orange accent · navy + green details
   ════════════════════════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --ink: #1c130d;
  --muted: #75675a;   /* 5.5:1 on white, AA for body text */
  --faint: #7f7060;   /* 4.8:1 on white, AA for captions and small labels */
  --line: rgba(28, 19, 13, 0.08);
  --orange: #bf3a20;
  --orange-hi: #e8752e;
  --navy: #21285c;
  --green: #3e7a4e;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(191, 58, 32, 0.16); }

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

/* ── shared type ─────────────────────────────────────────── */

h1, h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

/* balanced headline wrapping: no orphan words, no lonely accent words */
h1, h2, h3 { text-wrap: balance; }
p, .sub, blockquote, figcaption { text-wrap: pretty; }

h1 em, h2 em {
  font-style: normal;
  color: var(--orange);
}

.sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

/* ── buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
}

/* the "almost transparent" hero button */
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(28, 19, 13, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost .arr { transition: transform 0.35s var(--ease-out); }
.btn-ghost:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(191, 58, 32, 0.45);
}
.btn-ghost:hover .arr { transform: translateY(3px); }

.btn-solid {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
}
.btn-solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(28, 19, 13, 0.4);
}

/* ── header (hidden until the brain has formed) ──────────── */

#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
#site-header.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: 30px;
  width: auto;
  display: block;
}

#site-header nav {
  display: flex;
  gap: 2.2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#site-header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
}
#site-header nav a:hover { color: var(--ink); }

#site-header .btn { padding: 0.65em 1.4em; font-size: 0.875rem; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* ── mobile menu (hamburger + full-screen panel) ─────────── */

.menu-btn {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(28, 19, 13, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  z-index: 102;
  flex: 0 0 auto;
}
.menu-btn span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, calc(-50% - 3.5px));
  transition: transform 0.3s var(--ease-out);
}
.menu-btn span:last-child { transform: translate(-50%, calc(-50% + 3.5px)); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 5.5rem clamp(1.5rem, 8vw, 3rem) 3rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  line-height: 1.25;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.mobile-menu.open a {
  opacity: 1;
  transform: none;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .menu-mail {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu a, .menu-btn span { transition: none; }
}

/* ── ACT 1 · hero (floating nodes → brain) ───────────────── */

.hero-wrap { height: 230vh; position: relative; }

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

#brainCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy {
  position: absolute;
  left: clamp(1.5rem, 7vw, 7.5rem);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(600px, 44vw);
  opacity: 0;               /* driven by JS with scroll progress */
  pointer-events: none;
  z-index: 2;
}
.hero-copy.live { pointer-events: auto; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.9rem);
  margin-bottom: 1.4rem;
}

.hero-copy .sub { margin-bottom: 2rem; }

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
  padding: 0.85rem 1.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 19, 13, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -14px rgba(28, 19, 13, 0.35);
  animation: cueBob 2.6s ease-in-out infinite;
  transition: opacity 0.5s;
}
.scroll-cue span {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.scroll-cue i {
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(var(--orange), rgba(191, 58, 32, 0.05));
  display: block;
  animation: cueDrop 1.8s var(--ease-out) infinite;
}
@keyframes cueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes cueDrop {
  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; }
}

/* ── ACT 2 · why (floating video) ────────────────────────── */

.why {
  position: relative;
  padding: clamp(4.5rem, 9vh, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(5rem, 10vh, 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-head {
  text-align: center;
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.why-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  margin-bottom: 1.3rem;
}
.why-head .sub { margin-inline: auto; }

.video-float {
  perspective: 1400px;
  width: min(960px, 100%);
  animation: levitate 7s ease-in-out infinite alternate;
}
@keyframes levitate {
  from { transform: translateY(-7px); }
  to   { transform: translateY(7px); }
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(28, 19, 13, 0.1);
  will-change: transform;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 2px rgba(23, 27, 68, 0.08),
    0 12px 24px -8px rgba(23, 27, 68, 0.12),
    0 48px 90px -20px rgba(191, 58, 32, 0.2),
    0 90px 170px -40px rgba(23, 27, 68, 0.28);
}

.video-card video,
.video-card canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card video { opacity: 0; transition: opacity 0.6s; }
.video-card.has-video video { opacity: 1; }
.video-card.has-video canvas { display: none; }

.video-card .sound-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  cursor: pointer;
  display: none;
}
.video-card.has-video .sound-toggle { display: block; }

/* soft glow pooled beneath the card */
.video-float::after {
  content: "";
  display: block;
  margin: 2.6rem auto 0;
  width: 70%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(191, 58, 32, 0.14), transparent 70%);
  filter: blur(8px);
}

.video-caption {
  margin-top: 2.2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}
.video-caption strong { color: var(--orange); font-weight: 500; }

/* ── ACT 3 · in practice (use case + testimonial) ────────── */

.case {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

.case-grid {
  max-width: 1140px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.case-story h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.1rem;
}
.case-story > .sub { margin-bottom: 0; }

@media (max-width: 980px) {
  .case-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── display cards: fanned step stack ────────────────────── */

.display-cards {
  list-style: none;
  display: grid;
  grid-template-areas: "stack";
  place-items: center;
  justify-content: center;
  padding: 3.5rem 0 6.5rem;  /* room for the skew rise and the fan offsets */
  margin-left: -4rem;        /* recenter the group, which fans down-right */
}

.dc {
  grid-area: stack;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  width: 22rem;
  min-height: 11.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(28, 19, 13, 0.12);
  border-radius: 14px;
  background: rgba(250, 246, 242, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transform: skewY(-8deg);
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out),
    border-color 0.7s var(--ease-out);
  user-select: none;
}
.dc-2 { transform: skewY(-8deg) translate(4rem, 2.5rem); }
.dc-3 { transform: skewY(-8deg) translate(8rem, 5rem); }

.dc:hover { z-index: 5; border-color: rgba(28, 19, 13, 0.25); }
.dc-1:hover { transform: skewY(-8deg) translate(0, -2.5rem); }
.dc-2:hover { transform: skewY(-8deg) translate(4rem, -0.25rem); }
.dc-3:hover { transform: skewY(-8deg) translate(8rem, 2.5rem); }

/* back cards sit washed-out and desaturated until hovered */
.dc-1, .dc-2 { filter: grayscale(1); }
.dc-1:hover, .dc-2:hover { filter: grayscale(0); }
.dc-1::before, .dc-2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out);
}
.dc-1:hover::before, .dc-2:hover::before { opacity: 0; }

/* right-edge fade so each card melts into the one in front */
.dc::after {
  content: "";
  position: absolute;
  top: -5%;
  right: -2px;
  height: 110%;
  width: 14rem;
  background: linear-gradient(to left, var(--white) 10%, transparent);
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out);
}
.dc:hover::after { opacity: 0; }

.dc-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dc-chip {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dc-chip svg { width: 15px; height: 15px; }
.dc-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.dc-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.dc-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--orange);
}

@media (max-width: 720px) {
  .display-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0 0;
    margin-left: 0;
  }
  .dc, .dc-2, .dc-3,
  .dc-1:hover, .dc-2:hover, .dc-3:hover { transform: none; }
  .dc { width: 100%; min-height: 0; }
  .dc-1, .dc-2 { filter: none; }
  .dc-1::before, .dc-2::before, .dc::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dc, .dc::after, .dc-1::before, .dc-2::before { transition: none; }
}

/* ── ACT 3b · the offer: what we do, why us ──────────────── */

.offer {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1220px;
  margin: 0 auto;
}
.offer-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.2rem, 4.5vh, 3.2rem);
}
.offer-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}
.offer-head .sub { margin-inline: auto; }

.offer-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.offer-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  background: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.offer-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(28, 19, 13, 0.18);
}
.step-n {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--orange);
}
.offer-step h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.12;
  margin: 0.9rem 0 0.7rem;
}
.offer-step p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.offer-why {
  margin-top: 1.4rem;
  background: #f7f4f0;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.offer-why-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  text-align: center;
}
.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.2rem;
}
.why-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}
.why-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--green);
}
.why-list strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .offer-steps { grid-template-columns: minmax(0, 26rem); justify-content: center; }
  .why-list { grid-template-columns: 1fr; }
}

/* ── client stories: problem → build → result ────────────── */

.say {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1220px;
  margin: 0 auto;
}
.say-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vh, 3rem);
}
.say-head h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.say-head .sub { margin: 1.1rem auto 0; }

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.cs-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.8rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(to bottom, #f7f4f0, #fff);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 1), 0 1px 2px rgba(28, 19, 13, 0.05);
}
.cs-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cs-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--ink);
}
.cs-role {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--faint);
}
.cs-block h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.4rem;
}
.cs-block p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}
.cs-result { margin-top: auto; }
.cs-result h4 { color: var(--orange); }
.cs-result p {
  color: var(--ink);
  font-weight: 600;
}
.cs-note {
  margin-top: 1.6rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--faint);
  text-align: center;
}

@media (max-width: 860px) {
  .cs-grid { grid-template-columns: minmax(0, 30rem); justify-content: center; }
}

/* ── ACT 4 · who it's for: zero-effort cards ────────────── */

.who {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1220px;
  margin: 0 auto;
}

.who-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.2rem, 4.5vh, 3.2rem);
}
.who-head h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }

.who-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.who-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  background: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(28, 19, 13, 0.18);
}
.who-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.1;
  margin: 1.4rem 0 0.8rem;
}
.who-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.chip {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chip svg { width: 24px; height: 24px; }
.chip-orange { background: rgba(191, 58, 32, 0.09); color: var(--orange); }
.chip-navy { background: rgba(33, 40, 92, 0.08); color: var(--navy); }
.chip-green { background: rgba(62, 122, 78, 0.1); color: var(--green); }

/* ── ACT 5 · connects to your stack (ambient animation) ──── */

.connect {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 4vh, 3rem);
}

.connect-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(1.2rem, 2.5vh, 2rem);
}
.connect-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}
.connect-head .sub { margin-inline: auto; }

.connect-stage {
  position: relative;
  height: clamp(340px, 48vh, 460px);
  max-width: 1000px;
  margin: 0 auto;
}
#connectSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.core-node {
  position: absolute;
  width: 176px; height: 162px; /* 100:92, same box as the hero brain */
  transform: translate(-50%, -50%);
}
.core-node::before {
  /* soft halo behind the brain network */
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(191, 58, 32, 0.10),
    rgba(191, 58, 32, 0.045) 55%,
    rgba(191, 58, 32, 0) 100%);
  z-index: -1;
  opacity: 0.7;
}
.core-node svg {
  display: block;
  width: 100%; height: 100%;
  overflow: visible;
}
.core-node circle.hit {
  animation: nodeHit 0.7s var(--ease-out);
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes nodeHit {
  0% { transform: scale(1); }
  35% { transform: scale(2.1); }
  100% { transform: scale(1); }
}

.app-chip {
  position: absolute;
  width: 62px; height: 62px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px -10px rgba(28, 19, 13, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  animation: chipFloat 5s ease-in-out infinite alternate;
}
.app-chip img {
  width: 34px; height: 34px;
  object-fit: contain;
}
.app-chip::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  white-space: nowrap;
}
@keyframes chipFloat {
  from { margin-top: -5px; }
  to { margin-top: 5px; }
}

/* platinum twin cards: one card, two equivalent apps (Google ↔ Microsoft) */
.chip-duo {
  background: linear-gradient(135deg,
    #f2f2f5 0%, #fdfdfe 30%, #e9e9ee 55%, #fafafc 80%, #f0f0f4 100%);
  border-color: rgba(120, 120, 135, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px -10px rgba(28, 19, 13, 0.25);
}
.chip-duo img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.chip-duo .duo-a { animation: duoA 6s ease-in-out infinite; }
.chip-duo .duo-b { animation: duoB 6s ease-in-out infinite; }
@keyframes duoA {
  0%, 46% { opacity: 1; }
  53%, 93% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes duoB {
  0%, 46% { opacity: 0; }
  53%, 93% { opacity: 1; }
  100% { opacity: 0; }
}

/* sunlight sweep across the platinum, timed to land on each icon swap */
.chip-duo .shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.chip-duo .shine::before {
  content: "";
  position: absolute;
  top: -45%; bottom: -45%;
  width: 46%;
  left: -70%;
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: sunSweep 3s ease-in-out infinite;
}
@keyframes sunSweep {
  0%, 52% { left: -70%; }
  100% { left: 145%; }
}

/* alternating label under the twin cards */
.chip-duo::after { animation: duoA 6s ease-in-out infinite; }
.chip-duo::before {
  content: attr(data-label-b);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  white-space: nowrap;
  animation: duoB 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .app-chip { animation: none; }
  .chip-duo .duo-a, .chip-duo .duo-b,
  .chip-duo::after, .chip-duo::before,
  .chip-duo .shine::before { animation: none; }
  .chip-duo .duo-b, .chip-duo::before { opacity: 0; }
  .chip-duo .shine::before { display: none; }
}

/* ── ACT 5b · made to measure ────────────────────────────── */

.tailor {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding: clamp(4rem, 8vh, 6rem) clamp(1.25rem, 5vw, 4rem);
  background: #f7f4f0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tailor-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.tailor h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}
.tailor .sub {
  margin-inline: auto;
  max-width: 56ch;
}

/* ── ACT 6 · offerings ───────────────────────────────────── */

.build {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1220px;
  margin: 0 auto;
}

.build-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.2rem, 4.5vh, 3.2rem);
}
.build-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}
.build-head .sub { margin-inline: auto; }

.build-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.build-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  background: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.build-card:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 58, 32, 0.35);
  box-shadow: 0 24px 60px -24px rgba(191, 58, 32, 0.25);
}
.build-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 1.3rem 0 0.6rem;
}
.build-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.card-arr {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.build-card:hover .card-arr { opacity: 1; transform: none; }

/* ── mid-page CTA ────────────────────────────────────────── */

.cta {
  padding: clamp(5rem, 11vh, 8.5rem) 1.5rem;
  text-align: center;
  position: relative;
}
.cta h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 1.6rem;
}
.cta .sub {
  margin: 0 auto 2.4rem;
  max-width: 54ch;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--faint);
}

/* ── ACT 8 · who we are ──────────────────────────────────── */

.about {
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1220px;
  margin: 0 auto;
}
.about-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.2rem, 4.5vh, 3.2rem);
}
.about-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}
.about-head .sub { margin-inline: auto; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 26rem));
  justify-content: center;
  gap: 1.4rem;
}
.about-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  background: #fff;
  text-align: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(28, 19, 13, 0.18);
}
.about-avatar {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.about-avatar.f-orange { background: linear-gradient(160deg, var(--orange-hi), var(--orange)); }
.about-avatar.f-navy { background: linear-gradient(160deg, #3a437f, var(--navy)); }
.about-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 1.2rem 0 0.25rem;
}
.about-role {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.about-bio {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}
.about-note {
  max-width: 620px;
  margin: 2.4rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}
.about-contact {
  margin: 1.4rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}
.about-contact a {
  color: var(--orange);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.about-contact a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .about-cards { grid-template-columns: minmax(0, 26rem); }
}

/* ── footer ──────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3rem, 7vh, 4.5rem) clamp(1.25rem, 4vw, 3rem) 0;
}
.foot-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 2.8rem 3rem;
  padding-bottom: clamp(2.5rem, 6vh, 3.5rem);
}
footer .brand { display: inline-block; }
footer .brand img {
  height: 26px;
}
.foot-tag {
  margin-top: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
}
.foot-col h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.2rem;
}
.foot-col a {
  display: block;
  width: fit-content;
  padding: 0.32rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.foot-col a:hover { color: #ffffff; }

/* platinum contact icons */
.contact-icons {
  display: flex;
  gap: 0.85rem;
  padding-top: 0.2rem;
}
.foot-col a.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(150deg, #f6f5f3 0%, #dcd9d4 45%, #b9b4ad 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(28, 19, 13, 0.22),
    0 8px 18px -8px rgba(0, 0, 0, 0.55);
  color: #382f27;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.foot-col a.icon-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(150deg, #ffffff 0%, #eceae6 45%, #c9c4bd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(28, 19, 13, 0.18),
    0 14px 26px -10px rgba(0, 0, 0, 0.6);
  color: var(--ink);
}
.foot-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
}
footer .copy {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .foot-inner { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ── scroll reveals ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .video-float { animation: none; }
  .scroll-cue i { animation: none; }
}

/* ── mobile ──────────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero-wrap { height: 200vh; }

  .hero-copy {
    left: 1.5rem;
    right: 1.5rem;
    top: auto;
    bottom: 6vh;
    transform: none;
    max-width: none;
  }
  .hero-copy h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); margin-bottom: 1rem; }
  .hero-copy .sub { font-size: 0.875rem; margin-bottom: 1.4rem; }
  .hero-copy .btn { font-size: 0.875rem; }

  .scroll-cue { bottom: 1.2rem; padding: 0.7rem 1.2rem 0.6rem; z-index: 3; }
  .scroll-cue i { height: 26px; }

  #site-header nav { display: none; }
  .menu-btn { display: block; }
  #site-header .btn { padding: 0.6em 1.1em; font-size: 0.8125rem; }

  /* breathing room: cards stop stretching edge-to-edge */
  .why, .case, .say, .who, .connect, .build, .tailor, .offer, .about {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .who-cards { grid-template-columns: minmax(0, 26rem); justify-content: center; }
  .who-card { padding: 1.9rem 1.6rem; }
  .who-card h3 { font-size: 1.45rem; margin-top: 1.1rem; }
  .proof-cards { grid-template-columns: 1fr; }
  .build-cards { grid-template-columns: 1fr 1fr; }
  .build-card { padding: 1.6rem 1.3rem; }
  .stat-strip { width: min(26rem, 100%); margin-inline: auto; }

  .connect-stage { height: 420px; }
  .app-chip { width: 50px; height: 50px; border-radius: 13px; }
  .app-chip img { width: 27px; height: 27px; }
  .core-node { width: 122px; height: 112px; }
}

@media (max-width: 560px) {
  .build-cards { grid-template-columns: minmax(0, 26rem); justify-content: center; }
}

/* ── research stats strip (under the video) ──────────────── */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  width: min(960px, 100%);
  margin-top: 2.6rem;
}
.stat-cell {
  background: #fff;
  padding: 1.8rem 1.6rem 1.6rem;
  text-align: center;
}
.stat-n {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--orange);
  display: block;
  margin-bottom: 0.55rem;
}
.stat-cell p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 26ch;
  margin: 0 auto;
}
.stat-src {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-align: center;
}

/* ── solution finder (email-gated quiz) ──────────────────── */

.fit {
  padding: clamp(5rem, 11vh, 9rem) clamp(1.25rem, 5vw, 4rem);
}
.fit-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.6rem, 5vh, 4rem);
}
.fit-head .kicker { margin-bottom: 1.1rem; }
.fit-head h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 1.2rem; }
.fit-head .sub { margin-inline: auto; }

.fit-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow:
    0 1px 2px rgba(28, 19, 13, 0.04),
    0 32px 80px -32px rgba(28, 19, 13, 0.18);
}

.fit-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 2rem;
}
.fit-progress i {
  height: 3px;
  flex: 1;
  border-radius: 3px;
  background: var(--line);
  transition: background 0.3s;
}
.fit-progress i.done { background: var(--orange); }

.fit-q {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  margin-bottom: 1.6rem;
}

.fit-opts {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.fit-opt {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.fit-opt:hover {
  border-color: rgba(191, 58, 32, 0.45);
  background: rgba(191, 58, 32, 0.03);
  transform: translateX(4px);
}

.fit-back {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.fit-back:hover { color: var(--orange); }

/* email gate */
.fit-gate-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(191, 58, 32, 0.09);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}
.fit-gate-icon svg { width: 26px; height: 26px; }
.fit-gate h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.6rem;
}
.fit-gate > p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.fit-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.fit-input {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
.fit-input:focus { border-color: var(--orange); }
.fit-input::placeholder { color: var(--faint); }
.fit-form .btn { justify-content: center; }
.fit-privacy {
  font-size: 0.75rem;
  color: var(--faint);
  line-height: 1.5;
}
.fit-error {
  font-size: 0.8125rem;
  color: #c0392b;
  display: none;
}

/* result */
.fit-result-tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.fit-result h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.fit-result h3 em { font-style: normal; color: var(--orange); }
.fit-result > p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.8rem;
}
.fit-result .btn { margin-right: 0.8rem; }
.fit-again {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  background: none;
  border: none;
  cursor: pointer;
}
.fit-again:hover { color: var(--orange); }

/* full-audit offer on the result screen */
.fit-offer {
  margin: 2.2rem 0 1.6rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line);
}
.fit-offer h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.fit-offer > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.fit-offer .fit-form { margin-bottom: 1.1rem; }
.fit-offer .btn { margin-right: 0; }
.fit-alt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}
.fit-alt a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.fit-alt a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-cell { padding: 1.4rem 1.2rem; }
  .fit-result .btn { margin-bottom: 0.9rem; }
}
