:root {
  --ink: #090909;
  --paper: #f4f0e8;
  --paper-warm: #fffaf1;
  --muted: rgba(9, 9, 9, 0.62);
  --line: rgba(9, 9, 9, 0.16);
  --cloud: #ebe6dc;
  --lime: #d7ff3f;
  --blue: #133cff;
  --orange: #ff7a1a;
  --pink: #ff5bbd;
  --purple: #5f43ff;
  --olive: #d9e2c0;
  --shadow: 0 28px 90px rgba(9, 9, 9, 0.12);
  --lift: 0 34px 88px rgba(9, 9, 9, 0.2);
  --marker: Caveat, "Comic Sans MS", cursive;
  --logo-script: Pacifico, Caveat, "Comic Sans MS", cursive;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 7%, rgba(215, 255, 63, 0.24), transparent 25rem),
    radial-gradient(circle at 86% 14%, rgba(19, 60, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 52% 96%, rgba(255, 122, 26, 0.14), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(215, 255, 63, 0.16), transparent 20rem),
    var(--ink);
  color: var(--paper-warm);
  animation: intro-exit 0.95s cubic-bezier(0.76, 0, 0.24, 1) 3.15s forwards;
}

.intro-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(78vw, 680px);
  min-height: 360px;
}

.intro-stage p {
  position: absolute;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 250, 241, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(14px);
  animation: intro-caption 0.7s ease 2.15s forwards;
}

.intro-color-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-color-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(120vw, 1100px);
  height: 4px;
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(-150vw, -50%, 0) rotate(var(--line-rot, 0deg));
  transform-origin: center;
  animation: intro-line-pass 1.25s cubic-bezier(0.16, 1, 0.3, 1) var(--line-delay, 0s) forwards;
}

.line-lime {
  --line-delay: 0.18s;
  --line-rot: -8deg;
  background: linear-gradient(90deg, transparent, rgba(215, 255, 63, 0.18), var(--lime), rgba(215, 255, 63, 0.18), transparent);
  box-shadow: 0 0 28px rgba(215, 255, 63, 0.72);
}

.line-blue {
  --line-delay: 0.48s;
  --line-rot: 4deg;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(19, 60, 255, 0.16), var(--blue), rgba(19, 60, 255, 0.16), transparent);
  box-shadow: 0 0 28px rgba(19, 60, 255, 0.6);
}

.line-pink {
  --line-delay: 0.78s;
  --line-rot: -1deg;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 91, 189, 0.16), var(--pink), rgba(255, 91, 189, 0.16), transparent);
  box-shadow: 0 0 28px rgba(255, 91, 189, 0.58);
}

.intro-mark {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(4.6rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.14em;
  line-height: 0.8;
}

.intro-letter {
  position: absolute;
  left: 50%;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  min-width: 0.54em;
}

.intro-s-one {
  opacity: 0;
  transform: translate3d(-34px, 20px, 0) rotate(-18deg) scale(0.72);
  animation: intro-first-s 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.78s forwards;
}

.intro-word {
  display: inline-flex;
  overflow: visible;
  max-width: none;
  color: var(--lime);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.64em;
  font-weight: 900;
  gap: 0.01em;
  letter-spacing: -0.02em;
  text-shadow: 0 0 28px rgba(215, 255, 63, 0.22);
  transform-origin: center;
  animation: intro-word-handoff 1.18s cubic-bezier(0.45, 0, 0.18, 1) 1.08s forwards;
}

.intro-word span {
  display: inline-block;
}

.intro-word-c {
  position: relative;
  z-index: 2;
  animation: intro-c-letter-handoff 0.58s ease 2.02s forwards;
}

.intro-drop {
  transform-origin: left center;
  animation: intro-letter-drop 0.58s cubic-bezier(0.45, 0, 0.18, 1) calc(1.16s + var(--drop) * 64ms) forwards;
}

.intro-c {
  position: absolute;
  left: 50%;
  z-index: 4;
  color: var(--lime);
  opacity: 0;
  transform: translateX(-50%) scale(0.82);
  animation: intro-c-pop 0.58s ease 2.02s forwards;
}

.intro-s-two {
  color: var(--paper-warm);
  opacity: 0;
  transform: translate3d(38px, -24px, 0) rotate(17deg) scale(0.72);
  animation: intro-last-s 0.74s cubic-bezier(0.16, 1, 0.3, 1) 2.18s forwards;
}

.site-shell {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  animation: site-after-intro 0.9s cubic-bezier(0.16, 1, 0.3, 1) 3.42s forwards;
}

body.intro-done .intro-loader {
  display: none;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
  background-image:
    linear-gradient(rgba(9, 9, 9, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 0 45%, rgba(9, 9, 9, 0.035) 45% 45.35%, transparent 45.35% 100%),
    linear-gradient(64deg, transparent 0 65%, rgba(19, 60, 255, 0.06) 65% 65.3%, transparent 65.3% 100%);
  content: "";
  pointer-events: none;
}

.journey-map {
  position: fixed;
  top: 50%;
  left: clamp(12px, 2vw, 30px);
  z-index: 18;
  display: grid;
  gap: 18px;
  transform: translateY(-50%);
}

.journey-line {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 50%;
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.16);
  transform: translateX(-50%);
}

.journey-progress {
  display: block;
  width: 100%;
  height: var(--journey-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(var(--lime), var(--blue), var(--pink));
}

.journey-map a {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.journey-map a.is-active {
  background: var(--lime);
  transform: translateX(7px) rotate(-6deg) scale(1.08);
}

.trip-hud {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  bottom: clamp(14px, 2vw, 30px);
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(9, 9, 9, 0.18);
  border-radius: 999px;
  background: rgba(244, 240, 232, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(9, 9, 9, 0.1);
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trip-hud span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-warm);
}

.cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 17;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 255, 63, 0.18), rgba(19, 60, 255, 0.08) 46%, transparent 72%);
  filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--cursor-x, 0px) - 50%), calc(var(--cursor-y, 0px) - 50%), 0) scale(0.8);
  transition: opacity 0.35s ease, transform 0.12s linear;
  mix-blend-mode: multiply;
}

body.has-pointer .cursor-aura {
  opacity: 1;
}

.particle-layer {
  position: fixed;
  inset: 0;
  z-index: 19;
  overflow: hidden;
  pointer-events: none;
}

.green-dust {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--dust-size, 7px);
  height: var(--dust-size, 7px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 255, 63, 0.96), rgba(215, 255, 63, 0.16) 68%, transparent);
  box-shadow: 0 0 18px rgba(215, 255, 63, 0.55);
  opacity: 0;
  transform: translate3d(var(--dust-x, 0px), var(--dust-y, 0px), 0) scale(0.35);
  animation: green-dust-fade 0.78s ease-out forwards;
  will-change: transform, opacity;
}

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.72);
  backdrop-filter: blur(22px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(244, 240, 232, 0.94);
  box-shadow: 0 12px 40px rgba(9, 9, 9, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 900;
}

.logo-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--ink), 0 18px 40px rgba(9, 9, 9, 0.12);
  color: var(--lime);
  font-family: var(--logo-script);
  font-size: 1.85rem;
  letter-spacing: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.28s ease;
}

.logo-mark strong {
  transform: translateY(-3px) rotate(-4deg);
}

.logo-text {
  display: grid;
  gap: 1px;
  line-height: 0.88;
}

.logo-text b {
  font-size: 1.06rem;
  letter-spacing: -0.04em;
}

.logo-text small {
  color: rgba(9, 9, 9, 0.58);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.logo:hover .logo-mark,
.logo:hover .logo-mark.drift,
.logo-mark:hover {
  transform: rotate(-4deg) translateY(-3px) scale(1.04);
  animation: logo-wiggle 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 15px;
  color: rgba(9, 9, 9, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--ink);
  color: #fff;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta,
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.nav-cta {
  padding: 13px 20px;
  font-size: 0.92rem;
}

.btn {
  padding: 16px 24px;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--blue);
}

.btn-secondary {
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--lime);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 86px;
}

.path-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translate3d(0, 72px, 0) scale(0.985);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-section.is-visible,
.path-section.is-path-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.path-section.is-leaving {
  opacity: 0.44;
  filter: saturate(0.72) blur(1px);
  transform: translate3d(calc((var(--section-progress, 0) - 0.5) * -74px), -78px, 0) rotate(calc((var(--section-progress, 0) - 0.5) * -2deg)) scale(0.975);
}

.path-section > .container {
  position: relative;
  z-index: 2;
}

.path-section .container::before {
  position: absolute;
  inset: -34px;
  z-index: -1;
  border: 1px solid rgba(9, 9, 9, 0.08);
  border-radius: 42px;
  background: linear-gradient(120deg, rgba(255, 250, 241, 0.32), transparent 58%);
  content: "";
  opacity: 0;
  transform: translate3d(calc((var(--section-progress, 0) - 0.5) * -70px), 34px, 0) rotate(calc((var(--section-progress, 0) - 0.5) * 3deg));
  transition: opacity 0.75s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.path-section.is-world-active .container::before {
  opacity: 1;
  transform: translate3d(calc((var(--section-progress, 0) - 0.5) * 28px), 0, 0) rotate(calc((var(--section-progress, 0) - 0.5) * -1.4deg));
}

.path-section::before {
  position: absolute;
  top: clamp(18px, 5vw, 72px);
  left: max(18px, calc((100vw - 1180px) / 2));
  z-index: 0;
  color: rgba(9, 9, 9, 0.045);
  content: attr(data-path);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(5rem, 18vw, 17rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.75;
  opacity: 0;
  transform: translate3d(-5vw, 26px, 0) rotate(-1deg) scale(0.96);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.path-section::after {
  position: absolute;
  top: clamp(94px, 12vw, 184px);
  left: max(42px, calc((100vw - 1180px) / 2 + 42px));
  z-index: 1;
  color: var(--blue);
  content: attr(data-scribble);
  font-family: var(--marker);
  font-size: clamp(1.9rem, 4.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  text-shadow: 3px 3px 0 var(--paper);
  transform: translate3d(16px, 20px, 0) rotate(-4deg) scale(0.82);
  transition: opacity 0.7s ease 0.1s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  pointer-events: none;
}

.path-section.is-path-active::before,
.path-section.is-path-active::after {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--path-rotate, -1deg)) scale(1);
}

.path-section:nth-of-type(2n)::after {
  color: var(--orange);
  transform: translate3d(18px, 20px, 0) rotate(3deg) scale(0.82);
}

.path-section:nth-of-type(3n)::after {
  color: var(--purple);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 58px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-warm);
  box-shadow: 0 10px 30px rgba(9, 9, 9, 0.06);
  color: rgba(9, 9, 9, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 10px 15px;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(187, 255, 44, 0.25);
}

.spark {
  color: var(--pink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h1 {
  position: relative;
  margin-top: 24px;
  max-width: 900px;
  font-size: clamp(3.5rem, 9vw, 7.7rem);
  font-weight: 900;
  text-shadow:
    0.018em 0.026em 0 rgba(215, 255, 63, 0.78),
    -0.012em 0.014em 0 rgba(19, 60, 255, 0.24);
  transform-origin: left center;
  animation: hero-breathe 8.7s ease-in-out infinite;
}

h1 span {
  position: relative;
  z-index: 2;
}

h1::before {
  position: absolute;
  left: -0.04em;
  top: -0.18em;
  z-index: 0;
  color: rgba(9, 9, 9, 0.055);
  content: "STUDIO";
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08em;
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.8;
  transform: rotate(-2deg);
}

h1::after {
  content: none;
}

.scroll-actor {
  position: fixed;
  z-index: 12;
  pointer-events: none;
  will-change: transform, opacity;
}

.actor-ring {
  right: 8vw;
  top: 24vh;
  width: clamp(96px, 12vw, 190px);
  height: clamp(96px, 12vw, 190px);
  border: 2px dashed rgba(9, 9, 9, 0.42);
  border-radius: 999px;
  opacity: var(--ring-alpha, 0.24);
  transform: translate3d(var(--ring-x, 0px), var(--ring-y, 0px), 0) rotate(var(--ring-rot, 0deg)) scale(var(--ring-scale, 1));
}

h2 {
  position: relative;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-wrap: balance;
}

h3 {
  font-size: 1.55rem;
  font-weight: 900;
}

.jelly-text {
  --jelly-x: 0px;
  --jelly-y: 0px;
  --jelly-rot: 0deg;
  --jelly-sx: 1;
  --jelly-sy: 1;
  display: inline-block;
  transform: translate3d(var(--jelly-x), var(--jelly-y), 0) rotate(var(--jelly-rot)) scale(var(--jelly-sx), var(--jelly-sy));
  transform-origin: center;
  transition:
    transform 0.76s cubic-bezier(0.18, 1.35, 0.22, 1),
    text-shadow 0.35s ease;
  will-change: transform;
}

h1.jelly-text,
h2.jelly-text {
  display: block;
}

.is-visible .jelly-text,
.jelly-text.is-visible {
  animation: text-jelly-in 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--jelly-delay, 0ms) both;
}

.jelly-text:hover {
  text-shadow:
    0.015em 0.022em 0 rgba(215, 255, 63, 0.65),
    -0.012em 0.014em 0 rgba(19, 60, 255, 0.18);
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  font-weight: 600;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: rgba(9, 9, 9, 0.72);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg {
  color: var(--blue);
}

.creative-graphic {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 540px);
  margin-inline: auto;
}

.shape {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.shape-frame {
  inset: 8%;
  border: 2px solid var(--ink);
  border-radius: 48px;
  background: #fff;
  box-shadow: var(--lift);
}

.shape-lime {
  top: 13%;
  left: 1%;
  width: 42%;
  height: 42%;
  border-radius: 48px;
  background: var(--lime);
  box-shadow: 10px 10px 0 var(--ink);
  animation-delay: -1s;
}

.shape-pink {
  top: 18%;
  right: 1%;
  width: 39%;
  height: 39%;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: var(--shadow);
  animation-delay: -2s;
}

.shape-blue {
  right: 8%;
  bottom: 8%;
  width: 48%;
  height: 36%;
  border-radius: 42px;
  background: var(--blue);
  box-shadow: 8px 8px 0 var(--ink);
  animation-delay: -3s;
}

.browser-card {
  position: absolute;
  top: 28%;
  right: 13%;
  left: 13%;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.browser-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.bar {
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mini-grid span {
  height: 74px;
  border-radius: 16px;
}

.browser-button {
  width: 140px;
  height: 36px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--lime);
}

.doodle-ring {
  position: absolute;
  top: 4%;
  right: 0;
  width: 92px;
  height: 92px;
  border: 2px dashed rgba(9, 9, 9, 0.35);
  border-radius: 999px;
}

.services,
.portfolio,
.why,
.story,
.contact {
  position: relative;
  padding: clamp(110px, 14vw, 178px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin: 18px 0 40px;
}

.section-heading p,
.why-copy,
.contact-copy {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.75;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card,
.reason-card,
.story-card,
.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(244, 240, 232, 0.78)),
    var(--paper-warm);
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  transform-origin: center;
}

.reason-card::before,
.story-card::before,
.project-card::after,
.contact-panel::before,
.experience-band::before,
.project-philosophy::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.55) 48%, transparent 60% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-130%) skewX(-12deg);
  transition: opacity 0.35s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.reason-card > *,
.story-card > *,
.project-card > *,
.contact-panel > *,
.experience-band > *,
.project-philosophy > * {
  position: relative;
  z-index: 1;
}

.reason-card:hover::before,
.story-card:hover::before,
.project-card:hover::after,
.contact-panel:hover::before,
.experience-band:hover::before,
.project-philosophy:hover::before,
.is-world-active .reason-card::before,
.is-world-active .story-card::before,
.is-world-active .project-card::after {
  opacity: 1;
  transform: translateX(130%) skewX(-12deg);
}

.service-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
  border-radius: 32px;
  padding: 26px;
}

.service-card::after {
  position: absolute;
  z-index: 0;
  inset: 5px -6px -7px 5px;
  border: 2px solid var(--ink);
  border-radius: inherit;
  content: "";
  transform: rotate(-1deg);
  transition: clip-path 0.7s ease, opacity 0.45s ease, transform 0.7s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover,
.project-card:hover,
.story-card:hover,
.reason-card:hover {
  border-color: rgba(9, 9, 9, 0.32);
  box-shadow: var(--lift);
}

.service-card:hover::after {
  clip-path: inset(0 0 0 4%);
  transform: rotate(-0.7deg) translate3d(1px, -1px, 0);
}

.world-roll.is-world-active .service-card {
  animation: block-build 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--world-index, 0) * 90ms);
}

.world-roll.is-world-active .experience-band {
  animation: band-swipe 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.icon-box {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 32px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: visible;
  transform: translateZ(0);
}

.service-card p,
.reason-card p,
.story-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio,
.story {
  background:
    radial-gradient(circle at 12% 16%, rgba(215, 255, 63, 0.18), transparent 22rem),
    radial-gradient(circle at 86% 20%, rgba(19, 60, 255, 0.08), transparent 20rem),
    var(--cloud);
}

.studio-strip,
.experience-band,
.project-philosophy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(9, 9, 9, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 20px 70px rgba(9, 9, 9, 0.08);
  backdrop-filter: blur(18px);
}

.studio-strip {
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 10px;
}

.studio-strip span {
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-warm);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  padding: 10px 13px;
  text-transform: uppercase;
}

.studio-strip span:nth-child(2) {
  background: var(--blue);
}

.studio-strip span:nth-child(3) {
  background: var(--orange);
  color: var(--ink);
}

.studio-strip span:nth-child(4) {
  background: var(--lime);
  color: var(--ink);
}

.experience-band,
.project-philosophy {
  justify-content: space-between;
  margin-top: 34px;
  border-radius: 28px;
  padding: 22px;
}

.experience-band span,
.project-philosophy span {
  display: grid;
  min-width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-warm);
  font-weight: 900;
}

.experience-band p,
.project-philosophy p {
  flex: 1 1 420px;
  margin: 0;
  color: rgba(9, 9, 9, 0.72);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.project-philosophy span {
  width: auto;
  padding-inline: 18px;
  background: var(--blue);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.project-card {
  border-radius: 32px;
  padding: 16px;
  cursor: pointer;
}

.project-card:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 6px;
}

.project-card.is-active-demo {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(19, 60, 255, 0.18), var(--lift);
}

.world-orbit.is-world-active .project-card {
  transform: translate3d(0, 0, 0) rotate(calc((var(--world-index, 0) - 1) * 0.65deg));
}

.world-orbit .project-card::before {
  position: absolute;
  inset: -16px;
  z-index: -1;
  border: 1px solid rgba(9, 9, 9, 0.12);
  border-radius: 40px;
  content: "";
  opacity: 0;
  transform: rotate(-4deg) scale(0.96);
  transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.world-orbit.is-world-active .project-card::before {
  opacity: 1;
  transform: rotate(calc(var(--world-index, 0) * 3deg - 4deg)) scale(1);
}

.project-preview {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 28px;
  padding: 18px;
}

.project-preview::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(9, 9, 9, 0.14), transparent 46%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.58), transparent 12rem);
  content: "";
}

.preview-window {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 22px 60px rgba(9, 9, 9, 0.22);
  padding: 16px;
}

.live {
  margin-left: auto;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 5px 10px;
}

.preview-tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  rotate: -2deg;
  border: 1px solid rgba(9, 9, 9, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 16px 40px rgba(9, 9, 9, 0.13);
  font-family: var(--marker);
  font-size: 1.45rem;
  font-weight: 700;
  padding: 9px 16px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 10px 8px;
}

.project-meta p {
  margin: 6px 0 0;
  color: rgba(9, 9, 9, 0.6);
  font-weight: 800;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px 18px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.outline-btn:hover {
  background: var(--ink);
  color: #fff;
}

.btn,
.nav-cta,
.outline-btn {
  --button-radius: 999px;
  border-radius: var(--button-radius);
}

.demo-viewer {
  margin-top: 44px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--lift);
  padding: clamp(16px, 3vw, 26px);
}

.demo-viewer[hidden] {
  display: none;
}

.demo-toolbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.demo-eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.demo-toolbar h3 {
  margin: 0;
}

.demo-actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: auto;
}

.demo-size,
.demo-close {
  position: relative;
  z-index: 6;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 10px 14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.demo-size:hover,
.demo-close:hover,
.demo-size.is-active {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
}

.demo-close {
  background: var(--pink);
}

.demo-browser {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--cloud);
  box-shadow: 8px 8px 0 var(--ink);
  transition: max-width 0.35s ease;
}

.demo-browser.is-tablet {
  max-width: 820px;
}

.demo-browser.is-mobile {
  max-width: 430px;
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
  background: #fff;
  padding: 12px 14px;
}

.demo-browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--pink);
}

.demo-browser-bar span:nth-child(2) {
  background: var(--orange);
}

.demo-browser-bar span:nth-child(3) {
  background: var(--lime);
}

.demo-browser-bar strong {
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  color: rgba(9, 9, 9, 0.55);
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-browser iframe {
  display: block;
  width: 100%;
  height: min(76vh, 780px);
  border: 0;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
}

.why {
  background:
    radial-gradient(circle at 10% 24%, rgba(215, 255, 63, 0.24), transparent 18rem),
    radial-gradient(circle at 82% 18%, rgba(19, 60, 255, 0.14), transparent 20rem),
    radial-gradient(circle at 72% 82%, rgba(255, 122, 26, 0.16), transparent 18rem),
    var(--paper);
}

.why .section-label {
  background: var(--ink);
  color: var(--paper-warm);
}

.why .section-label .spark {
  color: var(--lime);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.reason-card {
  border-radius: 24px;
  padding: 22px;
}

.reason-card:nth-child(1) {
  border-color: rgba(215, 255, 63, 0.75);
  background: linear-gradient(180deg, rgba(215, 255, 63, 0.28), rgba(255, 250, 241, 0.9));
}

.reason-card:nth-child(2) {
  border-color: rgba(19, 60, 255, 0.35);
  background: linear-gradient(180deg, rgba(19, 60, 255, 0.12), rgba(255, 250, 241, 0.9));
}

.reason-card:nth-child(3) {
  border-color: rgba(255, 122, 26, 0.42);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.16), rgba(255, 250, 241, 0.9));
}

.reason-card:nth-child(4) {
  border-color: rgba(255, 91, 189, 0.38);
  background: linear-gradient(180deg, rgba(255, 91, 189, 0.14), rgba(255, 250, 241, 0.9));
}

.reason-card:nth-child(5) {
  border-color: rgba(95, 67, 255, 0.34);
  background: linear-gradient(180deg, rgba(95, 67, 255, 0.12), rgba(255, 250, 241, 0.9));
}

.reason-card:nth-child(6) {
  border-color: rgba(9, 9, 9, 0.26);
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.08), rgba(255, 250, 241, 0.9));
}

.world-magnetic .reason-card {
  transform: translate3d(calc(var(--mag-x, 0px) * var(--mag-depth, 1)), calc(var(--mag-y, 0px) * var(--mag-depth, 1)), 0) rotate(calc(var(--mag-x, 0px) * 0.018deg));
}

.world-magnetic .reason-card:nth-child(2n) {
  --mag-depth: -0.7;
}

.world-magnetic .reason-card:nth-child(3n) {
  --mag-depth: 1.35;
}

.reason-card svg {
  margin-bottom: 20px;
  color: var(--blue);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.story-card {
  border: 2px solid transparent;
  border-radius: 32px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.world-jelly.is-world-active .story-card {
  animation: jelly-rise 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--world-index, 0) * 95ms);
}

.story-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--lift);
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 9px 14px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--lift);
  padding: 42px;
}

.world-wave .contact-panel {
  transform: translate3d(0, calc(var(--wave-y, 0px) * -0.15), 0);
}

.world-wave.is-world-active .callout {
  animation: wave-pulse 2.8s ease-in-out infinite;
}

.callout {
  margin-top: 28px;
  border-radius: 24px;
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 20px;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 2px solid rgba(9, 9, 9, 0.15);
  border-radius: 18px;
  background: var(--cloud);
  color: var(--ink);
  font-weight: 650;
  outline: 0;
  padding: 16px 18px;
  transition: border 0.2s ease, background 0.2s ease;
}

.quote-form textarea {
  min-height: 148px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
}

.form-status {
  display: none;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  padding: 16px 18px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: var(--pink);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(9, 9, 9, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer p {
  margin: 0;
  color: rgba(9, 9, 9, 0.55);
  font-size: 0.9rem;
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0) rotate(0.8deg) scale(0.985);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--world-index, 0) * 55ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.reveal.is-leaving {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(calc((var(--world-index, 0) % 2) * -80px + 40px), -74px, 0) rotate(calc((var(--world-index, 0) - 2) * -1.4deg)) scale(0.94);
  transition-duration: 0.52s;
  transition-delay: calc(var(--world-index, 0) * 20ms);
}

.path-section:nth-of-type(2n) .reveal {
  transform: translate3d(34px, 46px, 0) rotate(-0.6deg) scale(0.985);
}

.path-section:nth-of-type(2n) .reveal.is-visible {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.world-follow .reveal {
  transform: translate3d(-54px, 28px, 0) rotate(-0.8deg) scale(0.985);
}

.world-follow .reveal.is-visible {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.world-follow .reveal.is-leaving {
  transform: translate3d(70px, -26px, 0) rotate(1deg) scale(0.965);
}

.world-roll .service-card.is-leaving {
  transform: translate3d(0, -72px, 0) rotate(calc(var(--world-index, 0) * -1.2deg)) scale(0.88);
  clip-path: inset(0 0 100% 0 round 32px);
}

.world-orbit .project-card.reveal {
  transform: translate3d(calc((var(--world-index, 0) - 1) * 70px), 58px, 0) rotate(calc((var(--world-index, 0) - 1) * 5deg)) scale(0.94);
}

.world-orbit .project-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) rotate(calc((var(--world-index, 0) - 1) * 0.65deg)) scale(1);
}

.world-orbit .project-card.reveal.is-leaving {
  transform: translate3d(calc((var(--world-index, 0) - 1) * -90px), -64px, 0) rotate(calc((var(--world-index, 0) - 1) * -7deg)) scale(0.9);
}

.world-magnetic .reason-card.reveal {
  transform: translate3d(calc((var(--world-index, 0) % 2) * 90px - 45px), 44px, 0) rotate(calc((var(--world-index, 0) % 2) * 4deg - 2deg)) scale(0.96);
}

.world-magnetic .reason-card.reveal.is-visible {
  transform: translate3d(calc(var(--mag-x, 0px) * var(--mag-depth, 1)), calc(var(--mag-y, 0px) * var(--mag-depth, 1)), 0) rotate(calc(var(--mag-x, 0px) * 0.018deg)) scale(1);
}

.world-magnetic .reason-card.reveal.is-leaving {
  transform: translate3d(calc((var(--world-index, 0) % 2) * -120px + 60px), -42px, 0) rotate(calc((var(--world-index, 0) % 2) * -7deg + 3deg)) scale(0.92);
}

.world-jelly .story-card.reveal.is-leaving {
  transform: translate3d(0, -64px, 0) scale(1.08, 0.82) rotate(calc((var(--world-index, 0) - 1) * 2deg));
}

.world-wave .quote-form.reveal.is-leaving,
.world-wave .contact-panel.is-leaving {
  transform: translate3d(0, -44px, 0) scale(0.96);
}

.living {
  --mx: 0px;
  --my: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --aura-lift: 0px;
  --aura-scale: 1;
  --aura-radius: 0px;
  --float-distance: 3px;
  --float-rotate: 0.16deg;
  --float-duration: 9s;
  --float-delay: 0s;
  transform: translate3d(var(--mx), calc(var(--my) - var(--aura-lift)), 0) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--aura-scale));
  transform-style: preserve-3d;
  transition:
    transform 0.82s cubic-bezier(0.18, 0.9, 0.22, 1),
    box-shadow 0.42s ease,
    background 0.25s ease,
    border-radius 0.42s ease;
  will-change: transform;
  animation: living-float var(--float-duration) ease-in-out var(--float-delay) infinite;
}

.living.is-aura-near {
  box-shadow: var(--lift);
}

.btn.living.is-aura-near,
.nav-cta.living.is-aura-near,
.outline-btn.living.is-aura-near {
  --aura-scale: 1.02;
  --aura-lift: 2px;
  --aura-radius: 8px;
  border-radius: calc(var(--button-radius) + var(--aura-radius));
  box-shadow: 0 20px 54px rgba(9, 9, 9, 0.14);
}

.service-card.living.is-aura-near,
.project-card.living.is-aura-near,
.story-card.living.is-aura-near,
.reason-card.living.is-aura-near {
  --aura-lift: 3px;
}

.drift {
  --drift-delay: 0s;
  animation: sketch-breathe 12s ease-in-out var(--drift-delay) infinite;
  transform-origin: center;
  will-change: transform;
}

.sketch-doodle {
  position: absolute;
  z-index: 0;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 24px;
  color: rgba(9, 9, 9, 0.38);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  pointer-events: none;
  transform-origin: center;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.section-drawn .sketch-doodle {
  animation:
    sketch-draw 0.55s ease-out forwards,
    sketch-breathe 13s ease-in-out 0.8s infinite;
}

.sketch-doodle.is-wiggling {
  animation:
    sketch-draw 0.01s linear forwards,
    one-doodle-wiggle 0.95s ease-in-out;
}

.doodle-arrow {
  top: 8%;
  right: 8%;
  transform: rotate(-8deg);
}

.doodle-star {
  bottom: 10%;
  left: 6%;
}

.doodle-circle {
  top: 12%;
  left: 7%;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: rgba(9, 9, 9, 0.28);
  font-size: 0;
}

.doodle-squiggle {
  right: 7%;
  bottom: 14%;
  transform: rotate(7deg);
}

.doodle-line {
  right: 6%;
  top: 18%;
  transform: rotate(10deg);
}

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

@keyframes hero-breathe {
  0%,
  78%,
  100% {
    transform: scale(1);
  }
  88% {
    transform: scale(1.019);
  }
}

@keyframes living-float {
  0%,
  100% {
    transform: translate3d(var(--mx), calc(var(--my) - var(--aura-lift)), 0) rotateX(var(--rx)) rotateY(var(--ry)) rotate(0deg) scale(var(--aura-scale));
  }
  35% {
    transform: translate3d(var(--mx), calc(var(--my) - var(--aura-lift) - var(--float-distance)), 0) rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--float-rotate)) scale(var(--aura-scale));
  }
  70% {
    transform: translate3d(var(--mx), calc(var(--my) - var(--aura-lift) + 1px), 0) rotateX(var(--rx)) rotateY(var(--ry)) rotate(calc(var(--float-rotate) * -0.6)) scale(var(--aura-scale));
  }
}

@keyframes sketch-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  45% {
    transform: translate3d(1px, -2px, 0) rotate(0.55deg) scale(1.01);
  }
  72% {
    transform: translate3d(-1px, 1px, 0) rotate(-0.35deg) scale(1);
  }
}

@keyframes sketch-draw {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes one-doodle-wiggle {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  28% {
    transform: translate3d(1px, -1px, 0) rotate(0.85deg) scale(1.012);
  }
  58% {
    transform: translate3d(-1px, 1px, 0) rotate(-0.65deg) scale(0.998);
  }
}

@keyframes world-card-roll {
  0% {
    opacity: 0;
    transform: translate3d(-42px, 52px, 0) rotate(-7deg) scale(0.92);
  }
  62% {
    opacity: 1;
    transform: translate3d(8px, -5px, 0) rotate(1.4deg) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes block-build {
  0% {
    opacity: 0;
    transform: translate3d(0, calc(96px - var(--world-index, 0) * 9px), 0) rotate(calc(-4deg + var(--world-index, 0) * 0.7deg)) scale(0.9);
    clip-path: inset(100% 0 0 0 round 32px);
  }
  48% {
    opacity: 1;
    transform: translate3d(0, -10px, 0) rotate(calc(var(--world-index, 0) * 0.35deg)) scale(1.018);
    clip-path: inset(0 0 0 0 round 32px);
  }
  72% {
    transform: translate3d(0, 4px, 0) rotate(calc(var(--world-index, 0) * -0.18deg)) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    clip-path: inset(0 0 0 0 round 32px);
  }
}

@keyframes band-swipe {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 28px);
    transform: translate3d(-28px, 0, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 28px);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes jelly-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 70px, 0) scale(0.92, 1.08) rotate(-2deg);
  }
  46% {
    opacity: 1;
    transform: translate3d(0, -12px, 0) scale(1.04, 0.96) rotate(1deg);
  }
  72% {
    transform: translate3d(0, 5px, 0) scale(0.985, 1.015) rotate(-0.35deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes wave-pulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: translate3d(0, -5px, 0) scale(1.025);
  }
}

@keyframes text-jelly-in {
  0% {
    opacity: 0;
    transform: translate3d(-18px, 38px, 0) rotate(-1.6deg) scale(0.92, 1.12);
  }
  42% {
    opacity: 1;
    transform: translate3d(7px, -8px, 0) rotate(0.9deg) scale(1.035, 0.965);
  }
  68% {
    transform: translate3d(-3px, 3px, 0) rotate(-0.35deg) scale(0.988, 1.012);
  }
  100% {
    opacity: 1;
    transform: translate3d(var(--jelly-x), var(--jelly-y), 0) rotate(var(--jelly-rot)) scale(var(--jelly-sx), var(--jelly-sy));
  }
}

@keyframes green-dust-fade {
  0% {
    opacity: 0;
    transform: translate3d(var(--dust-x), var(--dust-y), 0) scale(0.25);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--dust-x) + var(--dust-dx)), calc(var(--dust-y) + var(--dust-dy)), 0) scale(1.2);
  }
}

@keyframes intro-line-pass {
  0% {
    opacity: 0;
    transform: translate3d(-150vw, -50%, 0) rotate(var(--line-rot));
  }
  18%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(50vw, -50%, 0) rotate(var(--line-rot));
  }
}

@keyframes intro-first-s {
  to {
    opacity: 1;
    transform: translate3d(calc(-100% - 0.28em), 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes intro-word-crush {
  0% {
    max-width: 8.2em;
    opacity: 1;
    clip-path: inset(0 0 0 0 round 999px);
    transform: scaleX(1);
  }
  64% {
    max-width: 8.2em;
    opacity: 0.9;
    clip-path: inset(0 34% 0 0 round 999px);
    transform: scaleX(0.34);
  }
  100% {
    max-width: 8.2em;
    opacity: 0;
    clip-path: inset(0 48% 0 42% round 999px);
    transform: scaleX(0.08);
  }
}

@keyframes intro-word-slide {
  to {
    transform: translateX(-18%);
  }
}

@keyframes intro-word-handoff {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  78% {
    opacity: 1;
    transform: translate3d(calc(50% - 0.52em), 0, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(calc(50% - 0.52em), 0, 0) scale(0.98);
  }
}

@keyframes intro-letter-drop {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate3d(-0.16em, 0.12em, 0) scaleX(0.08);
    filter: blur(4px);
  }
}

@keyframes intro-c-letter-handoff {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.98);
  }
}

@keyframes intro-c-pop {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes intro-last-s {
  to {
    opacity: 1;
    transform: translate3d(0.28em, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes intro-caption {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-exit {
  to {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
  }
}

@keyframes site-after-intro {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-wiggle {
  0%,
  100% {
    transform: rotate(-4deg) translateY(-3px) scale(1.04);
  }
  28% {
    transform: rotate(4deg) translateY(-4px) scale(1.07, 0.97);
  }
  58% {
    transform: rotate(-2deg) translateY(-2px) scale(0.99, 1.04);
  }
  78% {
    transform: rotate(1deg) translateY(-3px) scale(1.02);
  }
}

@media (max-width: 980px) {
  .journey-map {
    display: none;
  }

  .trip-hud,
  .cursor-aura,
  .scroll-actor {
    display: none;
  }

  .path-section::before {
    opacity: 0.45;
  }

  h1::before {
    display: none;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 4px;
    width: min(100% - 40px, 1180px);
    margin: 0 auto 14px;
    border: 1px solid var(--line);
    border-radius: 0 0 24px 24px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .mobile-menu a {
    border-radius: 18px;
    padding: 13px 16px;
    font-weight: 900;
  }

  .mobile-menu a:hover {
    background: var(--cloud);
  }

  .hero-grid,
  .why-grid,
  .demo-toolbar,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-actions {
    justify-content: flex-start;
  }

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

  .hero {
    padding-top: 130px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero-actions,
  .project-meta,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .outline-btn {
    width: 100%;
  }

  .demo-browser iframe {
    height: 640px;
  }

  .card-grid,
  .project-grid,
  .reason-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .creative-graphic {
    width: min(100%, 430px);
  }

  .contact-panel {
    padding: 22px;
  }

  .services,
  .portfolio,
  .why,
  .story,
  .contact {
    padding: 64px 0;
  }
}

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

  .scroll-actor,
  .cursor-aura,
  .particle-layer {
    display: none !important;
  }

  .jelly-text {
    transform: none !important;
  }

  .intro-loader {
    animation: intro-exit 0.01ms linear forwards !important;
  }

  .site-shell {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
