:root {
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --bg-soft: #f2f1f3;
  --ink: #19171c;
  --ink-soft: #6e6e73;
  --muted: #808080;
  --muted-soft: #97979b;
  --line: #d7d7db;
  --line-soft: #e9e9e9;
  --accent: #7a40ed;
  --accent-deep: #17082c;
  --accent-lilac: #a981ff;
  --accent-yellow: #f5ff63;
  --accent-blue: #34abfc;
  --warm: #a981ff;
  --cool: #34abfc;
  --surface: #f2f1f3;
  --radius: 1.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.25rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --content-max: 1120px;
  --ease-spring: linear(
    0,
    0.009,
    0.035 2.1%,
    0.141 4.4%,
    0.723 12.9%,
    0.938 16.7%,
    1.017,
    1.077,
    1.104,
    1.112,
    1.104,
    1.077,
    1.017,
    0.938 32.4%,
    0.723,
    0.141 45.5%,
    0.035,
    0.009,
    0
  );
  /* TWK Lausanne → Inter Tight (closest free match); Inter for body */
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Inter Tight", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #000;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

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

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  border: none;
  cursor: pointer;
  transition:
    transform 0.45s var(--ease-spring),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: scale(1.04);
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(25, 23, 28, 0.22);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-text {
  padding: 0.85rem 0.5rem;
  color: var(--ink-soft);
}

.btn-lg {
  padding: 1.05rem 1.75rem;
  font-size: 1.05rem;
}

/* Header — full-bleed at top, morphs into centered floating pill */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

.nav-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  height: 64px;
  display: flex;
  align-items: center;
  pointer-events: auto;
  transition:
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-pill-bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: scaleX(0.92);
  transform-origin: center;
  transition:
    opacity 0.4s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.nav-pill-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.15rem;
  transition: padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled .nav-shell {
  width: min(420px, calc(100vw - 2rem));
  max-width: 420px;
  height: 70px;
}

.site-header.is-scrolled .nav-pill-bg {
  opacity: 1;
  transform: scaleX(1);
}

.site-header.is-scrolled .nav-pill-inner {
  padding: 0 0.85rem 0 1.15rem;
}

@media (min-width: 900px) {
  .site-header.is-scrolled .nav {
    gap: 1rem;
    font-size: 0.82rem;
  }
}

.site-header.is-scrolled .logo {
  font-size: 1.15rem;
}

.site-header.is-scrolled .nav-cta {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  transition: font-size 0.35s ease;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.017em;
  color: var(--ink-soft);
  transition: gap 0.35s ease, font-size 0.35s ease;
}

.nav a {
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-cta {
  flex-shrink: 0;
  transition:
    padding 0.35s ease,
    font-size 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    top 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle-bar:first-child {
  top: 17px;
}

.nav-toggle-bar:last-child {
  top: 25px;
}

.site-header.is-menu-open .nav-toggle-bar:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle-bar:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .site-header.is-menu-open {
    bottom: 0;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: flex;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.14),
      0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.28s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s ease;
  }

  .site-header.is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
    white-space: normal;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a[aria-current="page"] {
    background: var(--surface);
    color: var(--accent);
  }

  .nav-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(25, 23, 28, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .site-header.is-menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header.is-scrolled .nav-shell {
    width: min(100%, calc(100vw - 1.5rem));
    max-width: 420px;
    height: 60px;
  }

  .site-header.is-menu-open .nav-shell,
  .site-header.is-menu-open.is-scrolled .nav-shell {
    width: min(100%, calc(100vw - 1.5rem));
    max-width: none;
  }

  .site-header.is-menu-open .nav-pill-bg {
    opacity: 1;
    transform: scaleX(1);
  }

  .site-header.is-menu-open .nav-shell,
  .site-header.is-menu-open .nav-pill-inner {
    overflow: visible;
  }

  .nav a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(122, 64, 237, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-shell,
  .nav-pill-bg,
  .nav-pill-inner,
  .logo,
  .nav,
  .nav-cta {
    transition: none;
  }
}

/* Hero — 1s Jitter-style morph (playful → clean) */
.hero {
  min-height: auto;
  display: block;
  padding: calc(5.5rem + env(safe-area-inset-top, 0px)) var(--pad-x) var(--space-xl);
  position: relative;
  text-align: center;
  background: #fff;
  overflow: visible;
}

.hero-announce {
  margin: 0 auto var(--space-md);
  max-width: 36rem;
  opacity: 0.55;
}

.hero-stage {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin: 0 auto;
  min-height: clamp(8rem, 18vw, 12rem);
  padding: var(--space-lg) 0 var(--space-md);
  overflow: visible;
}

.hero-title {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(2.1rem, 6.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #19171c;
  position: relative;
  z-index: 2;
}

.hero-title.is-clean {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-line {
  display: block;
  white-space: nowrap;
  position: relative;
}

.hero-title .glyph {
  display: inline-block;
  position: relative;
  will-change: transform, filter;
  transform-origin: 50% 80%;
}

.hero-title .glyph.is-space {
  width: 0.28em;
}

.hero-title .glyph.is-emph {
  font-style: italic;
}

.hero-title.is-clean .glyph.is-emph {
  font-style: italic;
  font-weight: 700;
}

/* Mascots — oversized at t=0 */
.mascot {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 18px rgba(25, 23, 28, 0.2));
  transform-origin: 50% 100%;
}

.mascot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.mascot .mascot-body {
  transform-origin: 50% 70%;
}

.mascot-blue {
  width: clamp(96px, 16vw, 148px);
  left: 8%;
  top: 0;
}

.mascot-yellow {
  width: clamp(110px, 18vw, 168px);
  right: 4%;
  bottom: 8%;
}

.mascot .arm-wave {
  transform-origin: 78px 48px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-lg) auto var(--space-xl);
  position: relative;
  z-index: 3;
}

.hero-cta-main {
  transform-origin: 50% 50%;
  transform: scale(0);
  opacity: 0;
  filter: blur(6px);
  box-shadow: 0 0 0 rgba(122, 64, 237, 0);
  background: #7a40ed;
  color: #fff;
}

.hero-cta-main:hover {
  box-shadow: 0 12px 32px rgba(122, 64, 237, 0.35);
}

.hero-cta-secondary {
  opacity: 0;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 auto var(--space-md);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.6;
  opacity: 0;
}

.hero-proof {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .mascot {
    display: none;
  }

  .hero-cta-main,
  .hero-cta-secondary,
  .hero-sub,
  .hero-proof,
  .hero-announce {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Horizontal template card marquee (Jitter-style) */
.demo-stack {
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--space-sm);
}

.demo-stack-frame {
  position: relative;
  max-width: none;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.demo-stack-frame::before,
.demo-stack-frame::after {
  display: none;
}

.demo-reel {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.25rem;
  align-items: stretch;
  padding: 0.5rem 1.25rem 1rem;
  width: max-content;
  margin: 0;
  animation: reel-scroll-x 48s linear infinite;
}

@keyframes reel-scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tpl-wrap {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 260px);
  display: flex;
}

.tpl-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
}

.tpl-media {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  cursor: default;
  flex: 0 0 auto;
}

.tpl-open {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring);
}

.tpl-open span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.tpl-media:hover .tpl-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tpl-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #1a1a1a;
}

.tpl-video video,
.tpl-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-bottom {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0 0.15rem;
  min-height: 3.1rem;
}

.tpl-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.04em;
}

.tpl-text {
  min-width: 0;
  flex: 1;
}

.tpl-text h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.tpl-text p {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.orb,
.stage-frame,
.stage-glow {
  display: none;
}

/* Logos — infinite marquee */
.logos {
  padding: var(--space-xl) 0 var(--section-y);
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.logos p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0 var(--pad-x);
}

.logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logos-track {
  list-style: none;
  display: flex;
  width: max-content;
  gap: 3.5rem;
  padding-left: 3.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  letter-spacing: -0.03em;
  color: var(--ink-soft);
  animation: logos-scroll 22s linear infinite;
}

.logos-track li {
  flex: 0 0 auto;
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-spring);
  animation: logo-bob 3.2s ease-in-out infinite;
}

.logos-track li:nth-child(5n + 1) { animation-delay: 0s; }
.logos-track li:nth-child(5n + 2) { animation-delay: 0.35s; }
.logos-track li:nth-child(5n + 3) { animation-delay: 0.7s; }
.logos-track li:nth-child(5n + 4) { animation-delay: 1.05s; }
.logos-track li:nth-child(5n + 5) { animation-delay: 1.4s; }

.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

.logos-track li:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-4px) scale(1.06);
}

@keyframes logos-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes logo-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 1.25rem;
    gap: 1.5rem 2.5rem;
  }

  .logos-track li[aria-hidden="true"] {
    display: none;
  }

  .logos-track li {
    animation: none;
    opacity: 0.55;
  }
}

/* Scroll-appear manifesto text (Jitter-style word reveal) */
.scroll-text {
  padding: 0;
}

.scroll-text-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--section-y) var(--pad-x);
}

.scroll-text-inner {
  max-width: 18em;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}

.scroll-text-inner .word {
  display: inline-block;
  color: #d7d7db;
  margin-right: 0.28em;
  transition: none;
}

.scroll-text-inner .word.is-space {
  width: 0;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-text-inner .word {
    color: #000;
  }
}

/* Features */
.features {
  padding: var(--section-y) var(--pad-x);
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-xl);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
}

.section-sub {
  margin-top: var(--space-md);
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.6;
}

.features-layout {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 960px) {
  .features-layout .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg) var(--space-xl);
  }
}

.feature-grid {
  display: grid;
  gap: 0;
}

.feature {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--line);
}

.feature:first-child {
  border-top: none;
  padding-top: 0;
}

@media (min-width: 960px) {
  .feature:nth-child(-n + 2) {
    border-top: none;
    padding-top: 0;
  }

  .feature:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: var(--space-lg);
  }
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-sm);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 32rem;
  line-height: 1.6;
}

/* Work — vertical overlapping sticky stack */
.work {
  padding: var(--section-y) 0;
}

.work-intro {
  padding: 0 var(--pad-x) var(--space-xl);
  max-width: calc(36rem + 2 * var(--pad-x));
  margin: 0 auto;
}

.work-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.work-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.work-intro p {
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 34rem;
}

.work-stack {
  position: relative;
  padding: 0 var(--pad-x);
  max-width: 600px;
  margin: 0 auto;
}

.work-item {
  position: sticky;
  top: calc(5.5rem + (var(--i) * 0.85rem));
  z-index: calc(var(--i) + 1);
  width: min(92vw, 460px);
  height: min(72vh, 520px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 45vh;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform-origin: center top;
}

.work-item:last-child {
  margin-bottom: 8vh;
}

.work-item-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.75rem 1.5rem;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

.work-index {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.work-item figcaption {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: none;
}

.work-blurb {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 28rem;
}

.wi-1 {
  background:
    radial-gradient(circle at 70% 30%, rgba(169, 129, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #17082c, #7a40ed);
}

.wi-1::before {
  content: "94";
  position: absolute;
  right: 10%;
  top: 18%;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 700;
  color: #fff;
  opacity: 0.9;
  animation: float-y 4s ease-in-out infinite;
  z-index: 1;
}

.wi-2 {
  background: linear-gradient(120deg, #7a40ed, #17082c 70%);
}

.wi-2::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  animation: stretch-x 3s ease-in-out infinite;
  z-index: 1;
}

.wi-3 {
  background: #060d18;
}

.wi-3::before,
.wi-3::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 120px;
  border-radius: 0.85rem;
  background: var(--accent);
  top: 22%;
  left: 38%;
  animation: card-orbit 5s ease-in-out infinite;
  z-index: 1;
}

.wi-3::after {
  background: var(--warm);
  animation-delay: -2.5s;
  left: 50%;
}

.wi-4 {
  background: linear-gradient(180deg, #0f2f55, #060d18);
}

.wi-4::before,
.wi-4::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: rgba(169, 129, 255, 0.25);
  animation: split 3.5s ease-in-out infinite;
  z-index: 1;
}

.wi-4::before {
  left: 0;
  transform-origin: left;
}
.wi-4::after {
  right: 0;
  transform-origin: right;
  animation-delay: -1.75s;
  background: rgba(122, 64, 237, 0.35);
}

.wi-5 {
  background: #7a40ed;
}

.wi-5::before {
  content: "SaaS  GTM  AI  LEAD";
  position: absolute;
  top: 28%;
  left: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  color: #fff;
  animation: type-slide 8s linear infinite;
  z-index: 1;
}

.wi-6 {
  background: radial-gradient(circle at center, #123a66, #060d18 70%);
}

.wi-6::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  left: 50%;
  top: 36%;
  margin: -28px;
  border: 2px solid var(--warm);
  border-radius: 50%;
  animation: ripple 2.5s ease-out infinite;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .work-item {
    position: relative;
    top: auto;
    margin-bottom: 1.25rem;
    width: min(92vw, 460px);
    height: min(70vh, 480px);
  }
}

@keyframes type-slide {
  from {
    transform: translateX(20%);
  }
  to {
    transform: translateX(-60%);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes stretch-x {
  0%,
  100% {
    transform: scaleX(0.6);
  }
  50% {
    transform: scaleX(1.15);
  }
}

@keyframes card-orbit {
  0%,
  100% {
    transform: translate(0, 0) rotate(-6deg);
  }
  50% {
    transform: translate(24px, -16px) rotate(8deg);
  }
}

@keyframes split {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.15);
  }
}

/* Teams */
.teams {
  display: grid;
  gap: var(--space-xl);
  padding: var(--section-y) var(--pad-x);
  align-items: center;
  max-width: calc(var(--content-max) + 2 * var(--pad-x));
  margin: 0 auto;
}

@media (min-width: 900px) {
  .teams {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.teams-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.teams-copy > p {
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
  max-width: 32rem;
  line-height: 1.6;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.team-list li {
  padding-left: 1.25rem;
  position: relative;
  font-weight: 500;
}

.team-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-deep);
}

.collab-window {
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(18, 22, 15, 0.25);
  aspect-ratio: 4 / 3;
  max-width: 440px;
  margin-inline: auto;
}

.collab-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.collab-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.collab-bar span:first-child {
  background: var(--warm);
}
.collab-bar span:nth-child(2) {
  background: var(--accent);
}

.collab-body {
  position: relative;
  height: calc(100% - 2.5rem);
  background:
    radial-gradient(circle at 60% 40%, rgba(200, 240, 77, 0.2), transparent 45%),
    #161b14;
}

.avatar {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  animation: float-y 3.5s ease-in-out infinite;
}

.a1 {
  background: var(--accent);
  top: 22%;
  left: 18%;
}
.a2 {
  background: var(--warm);
  top: 35%;
  right: 22%;
  animation-delay: -1s;
  color: #fff;
}
.a3 {
  background: #fff;
  bottom: 28%;
  left: 40%;
  animation-delay: -2s;
}

.comment {
  position: absolute;
  bottom: 18%;
  right: 12%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem 0.75rem 0.2rem 0.75rem;
  font-size: 0.8rem;
  max-width: 11rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: pop-in 4s ease-in-out infinite;
}

@keyframes pop-in {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Quote */
.quote {
  padding: 4rem clamp(1.25rem, 4vw, 3rem) 5rem;
}

.quote blockquote {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.75rem;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* Offer cards — blogs / newsletter / book */
.offer-cards {
  padding: var(--section-y) var(--pad-x) clamp(4rem, 9vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.offer-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 900px) {
  .offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }
}

.offer-card {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 100%;
}

@media (min-width: 900px) {
  .offer-card {
    border-top: none;
    padding: 0;
    gap: var(--space-md);
  }
}

.offer-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.offer-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.offer-card .btn {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

/* Mid-page film — full-bleed project video */
.film {
  padding: var(--section-y) 0 0;
  border-top: 1px solid var(--line);
}

.film-intro {
  padding: 0 var(--pad-x) clamp(1.5rem, 4vw, 2.5rem);
  max-width: calc(var(--content-max) + 2 * var(--pad-x));
  margin: 0 auto;
}

.film-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.film-intro p:last-child {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.film-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.film-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  margin: 0 auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 640px) {
  .film-video {
    max-height: min(58svh, 480px);
  }
}

/* Page sheet sits above full-screen newsletter shutter */
.page-sheet {
  --footer-h: 100vh;
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: var(--ink);
  border-radius: 0 0 2.75rem 2.75rem;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    0 2px 0 rgba(0, 0, 0, 0.08);
  margin-bottom: var(--footer-h);
}

/* Footer — white section at end of page */
.site-footer {
  position: relative;
  z-index: 2;
  color: var(--ink-soft);
  font-size: 0.9rem;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-radius: 0 0 2.75rem 2.75rem;
}

.footer-inner {
  padding: var(--section-y) var(--pad-x) var(--space-lg);
}

.footer-top {
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 4rem;
    align-items: start;
  }
}

.footer-brand {
  max-width: 18rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.footer-brand p {
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
  line-height: 1.55;
}

.footer-cta {
  font-size: 0.875rem;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: #fff;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.35s var(--ease-spring);
}

.footer-social a:hover {
  color: #fff;
  background: var(--accent);
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .footer-social {
    margin-left: 0;
    width: 100%;
  }
}

/* Black shutter — full-screen newsletter panel */
.newsletter-panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #000;
  color: #fff;
  overflow: hidden;
  --shutter: 0;
}

.footer-shutter {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  pointer-events: none;
  z-index: 2;
}

.footer-shutter span {
  background: #000;
  transform-origin: top;
  transform: scaleY(1);
  will-change: transform;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  opacity: calc(0.15 + var(--shutter) * 0.85);
  transform: translateY(calc((1 - var(--shutter)) * 40px)) scale(calc(0.94 + var(--shutter) * 0.06));
  will-change: transform, opacity;
}

.newsletter-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .newsletter-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 3rem;
  }
}

.newsletter-sticker {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-video {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 1.25rem;
  background: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  object-fit: cover;
  animation: sticker-float 4.5s ease-in-out infinite;
}

@keyframes sticker-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.5deg);
  }
}

.newsletter-form h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.newsletter-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.newsletter-field input {
  flex: 1 1 200px;
  min-width: 0;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-field input:focus {
  border-color: rgba(169, 129, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-submit {
  height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: none;
  background: #a981ff;
  color: #17082c;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.newsletter-submit:hover {
  transform: scale(1.04);
}

.newsletter-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

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

/* ─── Mobile optimization ─── */
@media (max-width: 899px) {
  .site-header {
    padding: 0.75rem 0.85rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .nav-shell {
    height: 56px;
  }

  .nav-pill-inner {
    gap: 0.5rem;
    padding: 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-cta {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    white-space: nowrap;
    min-height: 40px;
  }

  .site-header.is-scrolled .nav-shell {
    width: min(100%, calc(100vw - 1.25rem));
    max-width: none;
    height: 56px;
  }

  .site-header.is-scrolled .nav-pill-inner {
    padding: 0 0.35rem 0 0.9rem;
  }

  .site-header.is-scrolled .nav-cta {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero-line {
    white-space: normal;
  }

  .btn:hover {
    transform: none;
  }

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

@media (max-width: 899px) and (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: scale(1.04);
  }
}

@media (max-width: 767px) {
  .hero {
    padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.15rem var(--space-xl);
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }

  .hero-announce {
    font-size: 0.72rem;
    line-height: 1.4;
    max-width: 20rem;
    margin-bottom: var(--space-md);
  }

  .hero-stage {
    min-height: 6.5rem;
    padding: var(--space-md) 0.25rem var(--space-sm);
    overflow: visible;
  }

  .hero-cta {
    margin: var(--space-md) auto var(--space-lg);
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }

  .features,
  .teams,
  .offer-cards {
    padding: var(--space-2xl) 1.15rem clamp(3.5rem, 10vw, 5rem);
  }

  .section-head {
    margin-bottom: var(--space-lg);
  }

  .work {
    padding: var(--space-2xl) 0;
  }

  .work-intro {
    padding: 0 1.15rem var(--space-lg);
  }

  .work-item {
    margin-bottom: 40vh;
    height: min(68svh, 460px);
  }

  .cta {
    padding: 0 1.15rem var(--space-2xl);
  }

  .footer-inner {
    padding: var(--space-2xl) 1.15rem var(--space-lg);
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  }

  .hero-title {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.12;
  }

  .hero-title.is-clean {
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .offer-cards {
    padding: 3rem 1.15rem 4rem;
  }

  .offer-card {
    padding: 1.35rem 0;
  }

  .offer-card .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-line {
    white-space: normal;
    max-width: 100%;
  }

  .mascot-blue {
    width: 52px;
    left: 0;
    top: -8px;
  }

  .mascot-yellow {
    width: 58px;
    right: 0;
    bottom: 2%;
  }

  .hero-cta-main,
  .hero-cta-secondary {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
    min-height: 48px;
  }

  .hero-cta-main {
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-bottom: var(--space-md);
  }

  .hero-proof {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .logos {
    padding: 1.75rem 0 2.25rem;
    overflow: hidden;
  }

  .logos-marquee {
    overflow: hidden;
  }

  .logos p {
    font-size: 0.72rem;
    margin-bottom: 1rem;
  }

  .logos-track {
    gap: 2rem;
    font-size: 1.05rem;
    padding-left: 2rem;
  }

  .scroll-text-pin {
    padding: 3rem 1.25rem;
    min-height: 100svh;
  }

  .scroll-text-inner {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .features {
    padding: 3rem 1.15rem 3.5rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .section-sub {
    font-size: 0.98rem;
  }

  .feature {
    padding: 1.35rem 0;
  }

  .feature h3 {
    font-size: 1.15rem;
  }

  .demo-stack {
    margin-top: var(--space-md);
    overflow: hidden;
  }

  .demo-reel {
    gap: 1rem;
    padding: 0.75rem 1rem 1rem;
    animation-duration: 36s;
  }

  .tpl-wrap {
    width: 170px;
  }

  .tpl-text h3 {
    font-size: 0.82rem;
  }

  .tpl-open span {
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
  }

  .work {
    padding: 3rem 0 1.5rem;
  }

  .work-intro {
    padding: 0 1.15rem 1.75rem;
  }

  .work-intro h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .work-stack {
    max-width: 100%;
    padding: 0 1rem;
  }

  .work-item {
    width: min(100%, 420px);
    height: min(72svh, 480px);
    margin-bottom: 50vh;
    border-radius: 1.15rem;
  }

  .work-item-inner {
    padding: 1.35rem;
  }

  .work-item figcaption {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  }

  .work-blurb {
    font-size: 0.88rem;
  }

  .teams {
    padding: 3rem 1.15rem 3.5rem;
    gap: 2rem;
  }

  .teams-copy h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .team-list li {
    font-size: 0.95rem;
  }

  .quote {
    padding: 3rem 1.15rem 3.5rem;
  }

  .quote p {
    font-size: clamp(1.3rem, 6vw, 1.85rem);
  }

  .cta {
    padding: 0 1.15rem var(--space-2xl);
  }

  .cta-panel {
    padding: 0;
    max-width: 100%;
  }

  .footer-inner {
    padding: 3rem 1.15rem 1.75rem;
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  }

  .footer-brand {
    max-width: none;
  }

  .footer-cols {
    gap: 1.5rem 1.25rem;
  }

  .footer-col a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-legal a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .newsletter-inner {
    padding: 1.5rem 1.15rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    align-items: flex-end;
  }

  .newsletter-grid {
    gap: 1.5rem;
  }

  .newsletter-sticker {
    order: -1;
  }

  .newsletter-video {
    width: min(100%, 260px);
  }

  .newsletter-form h2 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    max-width: none;
  }

  .newsletter-field {
    flex-direction: column;
  }

  .newsletter-field input,
  .newsletter-submit {
    width: 100%;
    height: 52px;
    font-size: 16px;
  }

  .page-sheet,
  .site-footer {
    border-radius: 0 0 2rem 2rem;
  }

  .page-blog .blog-hero {
    min-height: unset;
    justify-content: flex-start;
    padding: 5.5rem 1.15rem 2.75rem;
  }

  .blog-brand {
    font-size: clamp(2.75rem, 18vw, 4.5rem);
  }

  .blog-hero-title {
    max-width: none;
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .blog-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-hero-actions .btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
    min-height: 48px;
  }

  .blog-featured-link {
    min-height: 0;
  }

  .blog-featured-visual {
    min-height: 220px;
  }

  .blog-featured-copy {
    padding: 1.75rem 1.15rem 2.25rem;
  }

  .blog-featured-copy h2 {
    max-width: none;
  }

  .blog-index {
    padding: 2.75rem 1.15rem 3rem;
  }

  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem 1.25rem;
    padding-bottom: 0.35rem;
    margin: 0 -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    scrollbar-width: none;
  }

  .blog-filters::-webkit-scrollbar {
    display: none;
  }

  .blog-filter {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.55rem 0;
  }

  .blog-cta-band {
    padding: 3rem 1.15rem;
  }

  .blog-cta-band .btn {
    width: 100%;
    max-width: 22rem;
    min-height: 48px;
  }

  .article-hero {
    padding: 5.5rem 1.15rem 2rem;
  }

  .article-hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
  }

  .article-lede {
    font-size: 1.05rem;
  }

  .article-body {
    padding: 0 1.15rem 3rem;
  }

  .article-body p {
    font-size: 1.02rem;
  }

  .article-nav {
    flex-direction: column;
    gap: 0.35rem;
  }

  .article-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .page-contact .contact-hero {
    min-height: auto;
    padding: 5.5rem 1.15rem 2.75rem;
    gap: 2rem;
  }

  .contact-brand {
    font-size: clamp(2.75rem, 18vw, 4.5rem);
  }

  .contact-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
    min-height: 48px;
  }

  .contact-points {
    flex-direction: column;
    gap: 0.65rem;
  }

  .contact-points li:not(:last-child)::after {
    display: none;
  }

  .contact-hero-visual {
    min-height: 260px;
  }

  .contact-video {
    width: min(100%, 200px);
  }

  .contact-detail {
    padding: 2.75rem 1.15rem 3rem;
  }

  .contact-detail-cta .btn {
    width: 100%;
    max-width: 22rem;
    min-height: 48px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
  }

  .hero-announce {
    font-size: 0.68rem;
  }

  .mascot-blue {
    width: 44px;
  }

  .mascot-yellow {
    width: 50px;
  }

  .nav-cta {
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-shutter {
    display: none;
  }

  .newsletter-inner {
    opacity: 1;
    transform: none;
  }

  .newsletter-video {
    animation: none;
  }
}

/* Reveal helpers — visible by default; GSAP enhances when available */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .demo-reel {
    animation: none;
  }

  .hero-title .line > span,
  .hero-sub,
  .hero-cta,
  .hero-proof,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── Blog page ─── */
.page-blog .blog-hero {
  position: relative;
  isolation: isolate;
  min-height: min(92svh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(6.5rem, 14vw, 8.5rem) var(--pad-x) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background: #ffffff;
}

.blog-hero-atmos {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blog-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.blog-blob-a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: -8%;
  right: -4%;
  background: rgba(52, 171, 252, 0.08);
  animation: blog-drift 14s ease-in-out infinite alternate;
}

.blog-blob-b {
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  bottom: 6%;
  left: -6%;
  background: rgba(245, 255, 99, 0.1);
  animation: blog-drift 18s ease-in-out infinite alternate-reverse;
}

.blog-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(25, 23, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 23, 28, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
}

@keyframes blog-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -22px, 0) scale(1.06);
  }
}

.blog-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.blog-hero-sub {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

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

/* Featured essay — full-bleed composition, not a card */
.blog-featured {
  padding: 0;
  border-top: 1px solid var(--line);
}

.blog-featured-link {
  display: grid;
  min-height: min(78vh, 720px);
}

@media (min-width: 900px) {
  .blog-featured-link {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.blog-featured-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #19171c 0%, #2a2433 48%, #17082c 100%);
}

.blog-feat-shape {
  position: absolute;
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  will-change: transform;
}

.blog-feat-shape-1 {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 1.25rem;
  background: #34abfc;
  top: 14%;
  left: 12%;
  transform: rotate(-8deg);
}

.blog-feat-shape-2 {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f5ff63;
  border-color: #19171c;
  bottom: 16%;
  right: 14%;
}

.blog-feat-shape-3 {
  width: 22%;
  aspect-ratio: 4 / 5;
  border-radius: 999px;
  background: #7a40ed;
  top: 28%;
  right: 28%;
  transform: rotate(18deg);
}

.blog-feat-mark {
  position: absolute;
  left: var(--pad-x);
  bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.12);
}

.blog-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad-x);
  background: #ffffff;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.blog-featured-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 16ch;
}

.blog-featured-copy p {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.blog-read {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.blog-featured-link:hover .blog-read {
  color: var(--accent);
}

.blog-featured-link:hover .blog-feat-shape-1 {
  transform: rotate(-4deg) scale(1.03);
}

.blog-featured-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* Index */
.blog-index {
  padding: var(--section-y) var(--pad-x);
  border-top: 1px solid var(--line);
  max-width: calc(var(--content-max) + 2 * var(--pad-x));
  margin: 0 auto;
}

.blog-index-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

@media (min-width: 720px) {
  .blog-index-head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}

.blog-index-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.blog-filter {
  appearance: none;
  background: none;
  border: none;
  padding: 0.2rem 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.blog-filter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-spring);
}

.blog-filter:hover {
  color: var(--ink);
}

.blog-filter.is-active {
  color: var(--ink);
}

.blog-filter.is-active::after {
  transform: scaleX(1);
}

.blog-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 980px) {
  .blog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.blog-row {
  transition: opacity 0.25s ease;
  height: 100%;
}

.blog-row.is-filtered-out {
  display: none;
}

.blog-row a {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 1.15rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  transition:
    transform 0.3s var(--ease-spring),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

@media (min-width: 720px) {
  .blog-row a {
    padding: 1.4rem 1.35rem 1.45rem;
  }
}

.blog-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.blog-row time {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.blog-row-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.blog-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.blog-row-excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  margin-top: auto;
  padding-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition:
    transform 0.35s var(--ease-spring),
    color 0.2s ease;
  display: inline-block;
  width: fit-content;
}

.blog-row a:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 14px 32px rgba(25, 23, 28, 0.08);
}

.blog-row a:hover h3 {
  color: var(--accent);
}

.blog-row a:hover .blog-read-more {
  color: var(--accent);
  transform: translateX(4px);
}

.blog-cta-band {
  padding: var(--section-y) var(--pad-x);
  border-top: 1px solid var(--line);
  text-align: center;
  background: #ffffff;
}

.blog-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 auto 1.5rem;
}

/* Case studies */
.case-index {
  padding: 0 var(--pad-x) var(--section-y);
  max-width: calc(var(--content-max) + 2 * var(--pad-x));
  margin: 0 auto;
}

.case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.case-card a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  min-height: 11.5rem;
  padding: 1.4rem 1.3rem;
  border-radius: 1.15rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  transition:
    transform 0.3s var(--ease-spring),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

@media (min-width: 800px) {
  .case-card a {
    grid-template-columns: 11.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.75rem;
    min-height: 10.75rem;
    padding: 1.7rem 2rem;
  }
}

.case-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  width: fit-content;
}

.case-card-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.case-card-copy p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 48ch;
}

.case-card-go {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.case-card a:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 14px 32px rgba(25, 23, 28, 0.08);
}

.case-card a:hover h2,
.case-card a:hover .case-card-go {
  color: var(--accent);
}

.case-block {
  margin: 0 0 1.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.case-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 0.5rem;
}

.case-block h2 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

/* Article pages */
.article-hero {
  padding: clamp(6.5rem, 14vw, 8rem) var(--pad-x) clamp(2.5rem, 5vw, 3.5rem);
  max-width: calc(720px + 2 * var(--pad-x));
  margin: 0 auto;
}

.article-hero .blog-meta {
  margin-bottom: 1.25rem;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.article-lede {
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
}

.article-body {
  padding: 0 var(--pad-x) var(--section-y);
  max-width: calc(680px + 2 * var(--pad-x));
  margin: 0 auto;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.35rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 2.5rem 0 1rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--accent-yellow);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.article-nav a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.article-nav a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .blog-row a {
    padding: 1.15rem 1.1rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-blob-a,
  .blog-blob-b {
    animation: none;
  }
}

/* ─── Contact page ─── */
.page-contact .contact-hero {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: end;
  min-height: min(92svh, 860px);
  padding: clamp(6.5rem, 14vw, 8.5rem) var(--pad-x) clamp(3rem, 7vw, 4.5rem);
  background: #ffffff;
}

@media (min-width: 960px) {
  .page-contact .contact-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

.contact-brand {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 12vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin-bottom: clamp(0.85rem, 2vw, 1.35rem);
}

.contact-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.contact-lede {
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-cta {
  background: var(--ink);
  color: #fff;
}

.contact-cta:hover {
  background: var(--accent);
}

.contact-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-points li {
  position: relative;
}

.contact-points li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
  transform: translateY(-50%);
}

.contact-hero-visual {
  position: relative;
  min-height: min(48vh, 420px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.contact-shape {
  position: absolute;
  z-index: 0;
  border: 2.5px solid var(--ink);
  will-change: transform;
}

.contact-shape-a {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 1.25rem;
  background: #34abfc;
  top: 8%;
  left: 6%;
  transform: rotate(-10deg);
}

.contact-shape-b {
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f5ff63;
  bottom: 10%;
  right: 8%;
}

.contact-shape-c {
  width: 18%;
  aspect-ratio: 3 / 4;
  border-radius: 999px;
  background: #7a40ed;
  top: 28%;
  right: 28%;
  transform: rotate(16deg);
}

.contact-video {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.contact-detail {
  padding: var(--section-y) var(--pad-x);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.contact-detail-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

@media (min-width: 800px) {
  .contact-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.contact-detail-grid h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.contact-detail-grid p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-detail-cta {
  max-width: var(--content-max);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
}

