:root {
  --ink: #080c12;
  --ink-2: #0d141d;
  --ink-3: #121c27;
  --paper: #f3f0e8;
  --paper-2: #e9e4da;
  --acid: #c7ff32;
  --cyan: #71e8ed;
  --coral: #ff7357;
  --muted: #98a4b3;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(8, 12, 18, 0.16);
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --header-h: 92px;
  --page-x: clamp(24px, 5vw, 96px);
  --section-y: clamp(88px, 10vw, 150px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

::selection {
  color: var(--ink);
  background: var(--acid);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  min-height: 100%;
  background: var(--ink);
}

/* Encoded reveal: short, branded and non-blocking. */
.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  color: var(--paper);
  background:
    linear-gradient(rgba(113, 232, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 232, 237, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  transition:
    clip-path 0.8s var(--ease-out),
    visibility 0.8s;
  clip-path: inset(0);
}

.intro.is-complete {
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}

.intro__mark {
  position: relative;
  width: min(40vw, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
}

.intro__outline,
.intro__fill {
  position: absolute;
}

.intro__outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.intro__fill {
  color: var(--acid);
  clip-path: inset(calc(100% - var(--load, 0%)) 0 0);
  transition: clip-path 0.1s linear;
}

.intro__meta {
  position: absolute;
  right: var(--page-x);
  bottom: 32px;
  left: var(--page-x);
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  padding: 0 var(--page-x);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(18px);
  transition:
    min-height 0.35s var(--ease-out),
    background-color 0.35s;
}

.topbar.is-scrolled {
  min-height: 74px;
  background: rgba(8, 12, 18, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.9rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.8vw, 48px);
}

.topnav a {
  position: relative;
  padding: 10px 0;
  color: rgba(243, 240, 232, 0.68);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.topnav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.topnav a:hover,
.topnav a.is-active {
  color: var(--paper);
}

.topnav a:hover::after,
.topnav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.top-cta {
  justify-self: end;
  min-width: 212px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    color 0.35s,
    background 0.35s,
    border-color 0.35s;
}

.top-cta:hover {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
}

.top-cta span,
.button span,
.case__open,
.more-work i {
  transition: transform 0.35s var(--ease-out);
}

.top-cta:hover span,
.button:hover span {
  transform: translate(4px, -4px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-dark);
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s;
}

.mobile-dock {
  display: none;
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #07130b;
  background: #25d366;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.whatsapp-fab span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #25d366;
  background: #07130b;
  font-size: 0.56rem;
  font-weight: 900;
}

.whatsapp-fab:hover {
  box-shadow: 0 22px 58px rgba(37, 211, 102, 0.28);
  transform: translateY(-4px);
}

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: clamp(20px, 3vw, 64px);
  padding: calc(var(--header-h) + 60px) var(--page-x) 84px;
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.32;
  background:
    linear-gradient(rgba(113, 232, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 232, 237, 0.07) 1px, transparent 1px);
  background-size: clamp(42px, 4vw, 72px) clamp(42px, 4vw, 72px);
  mask-image: linear-gradient(to right, black, transparent 85%);
}

.hero__glow {
  position: absolute;
  z-index: -2;
  width: min(65vw, 1100px);
  height: min(65vw, 1100px);
  right: -18%;
  top: -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 48%, rgba(113, 232, 237, 0.2), transparent 26%),
    radial-gradient(circle at 42% 62%, rgba(199, 255, 50, 0.11), transparent 43%);
  filter: blur(24px);
}

.hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 28px;
  color: #66707a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow--bright {
  color: rgba(243, 240, 232, 0.76);
}

.eyebrow--cyan {
  color: var(--cyan);
}

.availability-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 6px rgba(199, 255, 50, 0.1);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px rgba(199, 255, 50, 0);
  }
}

.hero h1 {
  width: 100%;
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.7rem, 5.2vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.92;
}

.hero h1 > span {
  color: var(--acid);
}

.hero h1 em {
  display: block;
  max-width: 9.2em;
  margin-top: 0.06em;
  color: var(--cyan);
  font-family: var(--serif);
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero__lede {
  max-width: 660px;
  margin: 38px 0 0;
  color: #aab3bd;
  font-size: clamp(1rem, 1.23vw, 1.24rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.button--acid {
  color: var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 0 100% no-repeat,
    var(--acid);
  transition:
    color 0.35s,
    background-size 0.45s var(--ease-out);
}

.button--acid:hover {
  color: var(--paper);
  background-size: 100% 100%;
}

.button--line {
  border-color: rgba(255, 255, 255, 0.3);
  transition:
    color 0.35s,
    border-color 0.35s,
    background 0.35s;
}

.button--line:hover {
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.button--ink {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
  transition:
    color 0.35s,
    background 0.35s;
}

.button--ink:hover {
  color: var(--ink);
  background: var(--acid);
}

.hero__proof {
  max-width: 670px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero__proof span {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 0;
  color: #c2c9d1;
  font-size: 0.73rem;
  font-weight: 700;
}

.hero__proof span + span {
  padding-left: 16px;
  border-left: 1px solid var(--line-dark);
}

.hero__proof b {
  color: var(--coral);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.hero-stage {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  z-index: 2;
  width: min(48vw, 860px);
  height: min(77vh, 790px);
  justify-self: end;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.depth-layer {
  translate: var(--depth-x, 0) var(--depth-y, 0);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-stage__halo {
  position: absolute;
  inset: 5% 3% 0 8%;
  border: 1px solid rgba(113, 232, 237, 0.24);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(113, 232, 237, 0.06),
    0 0 110px rgba(113, 232, 237, 0.06);
}

.hero-stage__halo::after {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px solid rgba(199, 255, 50, 0.16);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.hero-stage__portrait {
  position: absolute;
  inset: 3% 6% 0 8%;
  z-index: 4;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  filter: drop-shadow(0 34px 45px rgba(0, 0, 0, 0.46));
}

.hero-stage__portrait::before {
  position: absolute;
  z-index: -1;
  width: 68%;
  aspect-ratio: 1;
  bottom: 9%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 232, 237, 0.16), rgba(199, 255, 50, 0.04) 48%, transparent 70%);
}

.hero-stage__portrait img {
  width: min(84%, 690px);
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.hero-stage__window {
  position: absolute;
  z-index: 2;
  width: 41%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 18, 0.7);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
}

.hero-stage__window--back {
  top: 15%;
  right: 0;
  transform: rotateY(-12deg) rotateZ(4deg);
}

.hero-stage__window--front {
  right: -4%;
  bottom: 15%;
  z-index: 8;
  transform: translateZ(36px) rotateY(-8deg) rotateZ(-2deg);
}

.window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-dark);
}

.window-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.window-bar i:first-child {
  background: var(--coral);
}

.window-bar span {
  margin-left: auto;
  color: #778392;
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.window-code {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.window-code span {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(113, 232, 237, 0.85), rgba(113, 232, 237, 0.09));
}

.window-code span:nth-child(2) { width: 68%; }
.window-code span:nth-child(3) { width: 83%; }
.window-code span:nth-child(4) { width: 48%; }
.window-code span:nth-child(5) { width: 75%; }

.window-dashboard {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.window-dashboard strong {
  font-size: 1rem;
}

.window-dashboard small {
  color: #8e99a7;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.status-line {
  height: 4px;
  background: linear-gradient(90deg, var(--acid) 72%, rgba(255, 255, 255, 0.09) 72%);
}

.hero-stage__chip {
  position: absolute;
  z-index: 7;
  min-width: 170px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  background: rgba(12, 18, 27, 0.88);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.hero-stage__chip small {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.hero-stage__chip strong {
  font-size: 0.78rem;
}

.hero-stage__chip--one {
  top: 27%;
  left: -2%;
  transform: rotate(-5deg);
}

.hero-stage__chip--two {
  right: 14%;
  bottom: 2%;
  transform: rotate(3deg);
}

.hero-stage__index {
  position: absolute;
  right: -1%;
  bottom: 26%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #85909d;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero-stage__index span {
  color: var(--acid);
  font-size: 0.72rem;
}

.hero-stage__index i {
  width: 44px;
  height: 1px;
  background: var(--acid);
}

.hero__edge {
  position: absolute;
  right: var(--page-x);
  bottom: 22px;
  left: var(--page-x);
  display: flex;
  justify-content: space-between;
  color: #65717e;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: #05080d;
}

.proof-strip span {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--page-x);
  color: #ccd3db;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip span + span {
  border-left: 1px solid var(--line-dark);
}

.proof-strip i {
  color: var(--acid);
  font-style: normal;
}

.word-bridge {
  position: relative;
  min-height: clamp(330px, 31vw, 450px);
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(50px, 7vw, 130px);
  align-items: center;
  padding: clamp(58px, 6.5vw, 96px) var(--page-x);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.word-bridge::before,
.word-bridge::after {
  position: absolute;
  width: clamp(280px, 32vw, 620px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(8, 12, 18, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.word-bridge::before {
  top: -78%;
  left: -13%;
}

.word-bridge::after {
  right: -12%;
  bottom: -92%;
}

.word-bridge__intro {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.word-bridge__intro .eyebrow {
  margin-bottom: 20px;
}

.word-bridge__intro h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.35vw, 5.35rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.word-bridge__intro h2 em {
  color: var(--coral);
  font-family: var(--serif);
  font-weight: 400;
}

.word-bridge__intro > p:last-child {
  max-width: 590px;
  margin: 24px 0 0;
  color: #626b73;
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  line-height: 1.65;
}

.word-bridge__path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: stretch;
  margin: 0;
  padding: 0;
  border-block: 1px solid rgba(8, 12, 18, 0.18);
  list-style: none;
}

.word-bridge__path li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(30px, 4vw, 58px) clamp(22px, 2.5vw, 42px);
  transition:
    color 0.45s var(--ease-out),
    background-color 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.word-bridge__path li + li {
  border-left: 1px solid rgba(8, 12, 18, 0.18);
}

.word-bridge__path li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transition: width 0.55s var(--ease-out);
}

.word-bridge__path li:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-8px);
}

.word-bridge__path li:hover::before {
  width: 100%;
}

.word-bridge__path span {
  margin-bottom: auto;
  color: var(--coral);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.word-bridge__path strong {
  margin-top: 46px;
  font-size: clamp(1.25rem, 1.75vw, 1.8rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.word-bridge__path p {
  margin: 14px 0 0;
  color: #68717a;
  font-size: 0.92rem;
  line-height: 1.55;
  transition: color 0.45s var(--ease-out);
}

.word-bridge__path li:hover p {
  color: #aeb7c1;
}

.section {
  position: relative;
  padding: var(--section-y) var(--page-x);
}

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

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

.section--night {
  color: var(--paper);
  background: var(--ink-2);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
}

.manifesto__label {
  color: #6b747d;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.manifesto__copy h2 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3.6rem, 6.6vw, 8rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.manifesto__copy em {
  color: var(--coral);
  font-family: var(--serif);
  font-weight: 400;
}

.manifesto__copy span {
  display: block;
}

.manifesto__aside {
  align-self: end;
  padding-top: 12px;
}

.manifesto__aside p {
  margin: 0 0 34px;
  color: #5f6870;
  font-size: 1.1rem;
  line-height: 1.75;
}

.manifesto__aside a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto__ledger {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.manifesto__ledger span {
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 20px 28px 20px 0;
}

.manifesto__ledger span + span {
  padding-left: 28px;
  border-left: 1px solid var(--line-light);
}

.manifesto__ledger strong {
  font-size: 1.1rem;
}

.manifesto__ledger small {
  color: #68717a;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(70px, 8vw, 124px);
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-intro h2,
.stack-story__head h2,
.process__intro h2,
.experience__head h2,
.contact__intro h2 {
  margin: 0;
  font-size: clamp(3.8rem, 7vw, 8.5rem);
  font-weight: 650;
  letter-spacing: -0.068em;
  line-height: 0.9;
}

.section-intro h2 em,
.stack-story__head h2 em,
.process__intro h2 em,
.experience__head h2 em,
.contact__intro h2 em {
  display: block;
  color: var(--coral);
  font-family: var(--serif);
  font-weight: 400;
}

.section-intro > p:last-child,
.stack-story__head > p:last-child,
.process__intro > p:last-child {
  max-width: 560px;
  margin: 0;
  color: #97a2af;
  font-size: 1.12rem;
  line-height: 1.7;
}

.expertise {
  border-top: 1px solid var(--line-light);
}

.expertise__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 82px);
}

.expertise__head h2 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 6.5rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.expertise__head h2 em {
  display: block;
  color: var(--coral);
  font-family: var(--serif);
  font-weight: 400;
}

.expertise__head > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: #626b73;
  font-size: 1rem;
  line-height: 1.7;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.expertise-card {
  position: relative;
  min-width: 0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 1.8vw, 27px);
  overflow: hidden;
  background: var(--paper);
  transition: color 0.4s, background-color 0.4s, transform 0.45s var(--ease-out);
}

.expertise-card::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 105px;
  height: 105px;
  content: "";
  border: 1px solid rgba(8, 12, 18, 0.1);
  border-radius: 50%;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}

.expertise-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(8, 12, 18, 0.18);
  color: var(--coral);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.expertise-card small {
  color: #727b82;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.expertise-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.expertise-card p {
  margin: auto 0 0;
  color: #69727a;
  font-size: 0.72rem;
  line-height: 1.5;
}

.expertise-card:hover {
  z-index: 1;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-6px);
}

.expertise-card:hover::after {
  border-color: rgba(199, 255, 50, 0.35);
  transform: scale(1.18);
}

.expertise-card:hover > span {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
}

.expertise-card:hover small,
.expertise-card:hover p {
  color: #aeb8c4;
}

.case-list {
  display: grid;
  gap: clamp(76px, 9vw, 138px);
}

.case {
  --case-panel-x: clamp(22px, 4vw, 64px);
  --case-panel-y: clamp(22px, 4vw, 58px);
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.case::before {
  position: absolute;
  top: -0.52em;
  right: -0.02em;
  z-index: -1;
  content: attr(data-index);
  color: transparent;
  font-size: clamp(9rem, 19vw, 21rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);
  pointer-events: none;
}

.case::after {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -2;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #090e15;
  clip-path: polygon(0 0, 96% 0, 100% 7%, 100% 100%, 0 100%);
}

.case:nth-child(even)::before {
  right: auto;
  left: -0.04em;
}

.case__media {
  position: relative;
  min-height: 0;
  height: clamp(590px, 72vh, 760px);
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #101720;
  clip-path: polygon(0 0, 96% 0, 100% 7%, 100% 100%, 0 100%);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
  transform-style: preserve-3d;
}

.case:nth-child(even) .case__media {
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%, 0 7%);
}

.case__frame {
  width: 100%;
  height: 100%;
  padding: clamp(44px, 6vw, 94px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 68% 32%, rgba(113, 232, 237, 0.24), transparent 34%),
    radial-gradient(circle at 25% 78%, rgba(195, 255, 45, 0.1), transparent 28%),
    linear-gradient(145deg, #111d2a, #070b11 72%);
}

.case__frame img {
  width: min(88%, 1120px);
  max-height: 100%;
  object-fit: contain;
  translate: 9% var(--case-shift, 0);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  transition: transform 0.8s var(--ease-out);
}

.case__media:hover .case__frame img {
  transform: rotateX(1deg) rotateY(-2deg) scale(1.025);
}

.case__media--cambridge {
  background: #dce2f4;
}

.cambridge-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #122033;
}

.cambridge-gallery::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.58), transparent 58%),
    linear-gradient(0deg, rgba(5, 10, 16, 0.36), transparent 48%);
  pointer-events: none;
}

.cambridge-gallery__hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.1s var(--ease-out), filter 0.8s var(--ease-out);
}

.cambridge-gallery__panel {
  position: absolute;
  right: 4%;
  z-index: 3;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #eef0fb;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out);
}

.cambridge-gallery__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cambridge-gallery__panel--community {
  top: 9%;
  width: min(38%, 520px);
  aspect-ratio: 16 / 9;
  transform: rotate(1.5deg);
}

.cambridge-gallery__panel--community img {
  object-position: center top;
}

.cambridge-gallery__panel--page {
  right: 8%;
  bottom: 6%;
  width: min(19%, 260px);
  height: 43%;
  transform: rotate(-2deg);
}

.cambridge-gallery__panel--page img {
  object-position: center top;
}

.case__media--cambridge:hover .cambridge-gallery__hero {
  filter: brightness(0.82);
  transform: scale(1.035);
}

.case__media--cambridge:hover .cambridge-gallery__panel--community {
  transform: translate(-10px, 7px) rotate(0.5deg);
}

.case__media--cambridge:hover .cambridge-gallery__panel--page {
  transform: translate(8px, -8px) rotate(-1deg);
}

.case--cambridge .case__copy,
.case--chat .case__copy {
  right: auto;
  left: var(--case-panel-x);
}

.case--cambridge .case__copy h3 {
  font-size: clamp(2.8rem, 4.1vw, 4.7rem);
}

.case__media--broadway {
  background: #d8dee3;
}

.broadway-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #cfd7dc;
}

.broadway-gallery::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(270deg, rgba(7, 11, 17, 0.58), transparent 60%),
    linear-gradient(0deg, rgba(7, 11, 17, 0.28), transparent 52%);
  pointer-events: none;
}

.broadway-gallery__hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s var(--ease-out), filter 0.8s var(--ease-out);
}

.broadway-gallery__duo {
  position: absolute;
  top: 8%;
  left: 4%;
  z-index: 3;
  width: min(43%, 570px);
  height: 46%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(225, 231, 235, 0.82);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transform: rotate(-1.2deg);
  transition: transform 0.85s var(--ease-out), box-shadow 0.85s var(--ease-out);
}

.broadway-gallery__duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broadway-gallery__duo img:first-child {
  object-position: center 35%;
}

.broadway-gallery__duo img:last-child {
  object-position: center 28%;
}

.case__media--broadway:hover .broadway-gallery__hero {
  filter: brightness(0.82);
  transform: scale(1.035);
}

.case__media--broadway:hover .broadway-gallery__duo {
  box-shadow: 0 32px 78px rgba(0, 0, 0, 0.5);
  transform: translate(10px, 8px) rotate(-0.3deg);
}

.case--broadway .case__copy h3 {
  font-size: clamp(2.7rem, 4vw, 4.6rem);
}

.case__open {
  position: absolute;
  right: 20px;
  top: 20px;
  bottom: auto;
  z-index: 8;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  background: rgba(6, 10, 15, 0.58);
  backdrop-filter: blur(12px);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case__media:hover .case__open {
  color: var(--ink);
  background: var(--acid);
  transform: translate(-4px, 4px);
}

.case__copy {
  position: absolute;
  left: var(--case-panel-x);
  bottom: var(--case-panel-y);
  z-index: 12;
  width: min(540px, 43%);
  padding: clamp(28px, 3vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(12, 17, 24, 0.96), rgba(7, 11, 17, 0.91));
  box-shadow:
    18px 20px 0 rgba(4, 7, 11, 0.62),
    0 32px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
}

.case:nth-child(even) .case__copy {
  right: var(--case-panel-x);
  left: auto;
}

.case--redbull .case__copy {
  right: auto;
  left: var(--case-panel-x);
}

.case--velune .case__copy {
  left: var(--case-panel-x);
  right: auto;
}

.case--tooly .case__copy {
  right: var(--case-panel-x);
  left: auto;
}

.case__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--cyan);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case__meta span:last-child {
  color: #778391;
}

.case__copy h3 {
  margin: clamp(25px, 2.2vw, 34px) 0 16px;
  font-size: clamp(3rem, 4.6vw, 5.2rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.case__copy p {
  margin: 0;
  color: #b1bac5;
  font-size: 0.98rem;
  line-height: 1.62;
}

.case__copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.case__copy li {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c2cad3;
  font-size: 0.62rem;
}

.case__result {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 16px;
  align-items: start;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.case__result span {
  color: var(--acid);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case__result strong {
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.45;
}

.case__link {
  position: relative;
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 21px;
  padding: 0 17px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 0.4s,
    background 0.4s,
    transform 0.4s var(--ease-out);
}

.case__link::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--acid);
  transform: translateX(-102%);
  transition: transform 0.48s var(--ease-out);
}

.case__link span {
  font-size: 1rem;
  transition: transform 0.4s var(--ease-out);
}

.case__link:hover {
  background: transparent;
  transform: translateY(-3px);
}

.case__link:hover::before {
  transform: none;
}

.case__link:hover span {
  transform: translate(4px, -4px);
}

.case__media--world {
  background: #07140d;
}

.world-state {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #08130e;
  transition:
    opacity 0.7s var(--ease-out),
    transform 1s var(--ease-out);
}

.world-state > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  translate: 0 var(--case-shift, 0);
  transition: transform 1.3s var(--ease-out);
}

.world-state::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 9, 13, 0.58), transparent 60%);
}

.world-state--red {
  opacity: 0;
  transform: scale(1.06);
}

.case__media--world:hover .world-state--lime,
.case__media--world:focus-visible .world-state--lime {
  opacity: 0;
  transform: scale(1.06);
}

.case__media--world:hover .world-state--red,
.case__media--world:focus-visible .world-state--red {
  opacity: 1;
  transform: scale(1);
}

.case__media--world:hover .world-state > img:first-child {
  transform: scale(1.04);
}

.world-can {
  position: absolute;
  z-index: 3;
  width: 30%;
  max-height: 76%;
  left: 58%;
  top: 13%;
  object-fit: contain;
  filter: drop-shadow(0 36px 35px rgba(0, 0, 0, 0.46));
  transition: transform 0.9s var(--ease-out);
}

.case__media--world:hover .world-can {
  transform: translateY(-12px) rotate(2deg) scale(1.025);
}

.world-state strong {
  position: absolute;
  z-index: 4;
  top: 12%;
  left: 8%;
  max-width: 6.4em;
  color: white;
  font-size: clamp(2.3rem, 4vw, 5.6rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.world-state strong em {
  display: block;
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 400;
}

.world-state--red strong em {
  color: #ffe135;
}

.case__media--velune {
  background: #230609;
}

.case__media--velune > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  translate: 0 var(--case-shift, 0);
  transition:
    transform 1.1s var(--ease-out),
    filter 0.8s;
}

.case__media--velune:hover > img {
  transform: scale(1.03);
  filter: brightness(0.82);
}

.velune-message {
  position: absolute;
  z-index: 3;
  top: 11%;
  left: 7%;
  transition:
    opacity 0.65s,
    transform 0.75s var(--ease-out);
}

.velune-message small {
  display: block;
  margin-bottom: 20px;
  color: #e8bcb3;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.velune-message strong {
  color: #fff7ee;
  font-size: clamp(2.4rem, 4.6vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.84;
}

.velune-message em {
  color: #f0bfb6;
  font-family: var(--serif);
  font-weight: 400;
}

.velune-message--two {
  opacity: 0;
  transform: translateY(30px);
}

.case__media--velune:hover .velune-message--one {
  opacity: 0;
  transform: translateY(-30px);
}

.case__media--velune:hover .velune-message--two {
  opacity: 1;
  transform: none;
}

.case__media--tooly {
  color: #17151c;
  background: linear-gradient(145deg, #f9f9ff, #eee9ff);
}

.tooly-ui {
  width: 100%;
  min-height: inherit;
  height: calc(100% + 44px);
  translate: 0 var(--case-shift, 0);
  background:
    radial-gradient(circle at 50% 42%, rgba(115, 47, 255, 0.12), transparent 32%),
    #fbfbfd;
}

.tooly-ui header {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  border-bottom: 1px solid #dddde6;
  background: white;
}

.tooly-ui header b {
  font-size: 1rem;
}

.tooly-ui header i {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 8px;
  color: white;
  background: #6d2bff;
  font-style: normal;
}

.tooly-ui header span {
  color: #6d6976;
  font-size: 0.65rem;
}

.tooly-ui__hero {
  min-height: 320px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 40px;
  text-align: center;
}

.tooly-ui__hero small {
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid #dddde6;
  border-radius: 99px;
  font-weight: 700;
}

.tooly-ui__hero strong,
.tooly-ui__hero em {
  display: block;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.tooly-ui__hero em {
  color: #6d2bff;
}

.tooly-ui__tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 6% 6%;
}

.tooly-ui__tools span {
  min-height: 130px;
  display: flex;
  align-items: end;
  padding: 18px;
  border: 1px solid #dddde6;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 22px rgba(25, 20, 40, 0.07);
  font-weight: 750;
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s;
}

.case__media--tooly:hover .tooly-ui__tools span:nth-child(1) {
  transform: translateY(-12px);
}

.case__media--tooly:hover .tooly-ui__tools span:nth-child(2) {
  transform: translateY(-20px);
}

.case__media--tooly:hover .tooly-ui__tools span:nth-child(3) {
  transform: translateY(-8px);
}

.more-work {
  margin-top: clamp(100px, 13vw, 200px);
  border-top: 1px solid var(--line-dark);
}

.more-work a {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}

.more-work a::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--acid);
  transform: translateX(-102%);
  transition: transform 0.55s var(--ease-out);
}

.more-work a > * {
  position: relative;
  z-index: 1;
}

.more-work a:hover::before {
  transform: none;
}

.more-work a:hover {
  color: var(--ink);
}

.more-work span,
.more-work small {
  color: #7e8996;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.more-work a:hover span,
.more-work a:hover small {
  color: rgba(8, 12, 18, 0.65);
}

.more-work strong {
  font-size: clamp(1.7rem, 2.8vw, 3.5rem);
  letter-spacing: -0.04em;
}

.more-work i {
  font-style: normal;
  font-size: 1.3rem;
}

.more-work a:hover i {
  transform: translate(7px, -7px);
}

.stack-story {
  --stack-accent: var(--cyan);
  --stack-accent-rgb: 113, 232, 237;
  overflow: clip;
}

.stack-story[data-stack-active="1"] {
  --stack-accent: var(--coral);
  --stack-accent-rgb: 255, 112, 82;
}

.stack-story[data-stack-active="2"] {
  --stack-accent: var(--acid);
  --stack-accent-rgb: 199, 255, 50;
}

.stack-story[data-stack-active="3"] {
  --stack-accent: #b59cff;
  --stack-accent-rgb: 181, 156, 255;
}

.stack-story__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 60px;
  align-items: end;
  max-width: 1600px;
  margin: 0 auto clamp(74px, 8vw, 120px);
}

.stack-story__head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.stack-story__layout {
  max-width: 1700px;
  display: grid;
  grid-template-columns: minmax(560px, 1.12fr) minmax(390px, 0.88fr);
  gap: clamp(56px, 7vw, 128px);
  margin: 0 auto;
}

.stack-visual {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  height: min(760px, calc(100svh - var(--header-h) - 56px));
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 76% 22%, rgba(var(--stack-accent-rgb), 0.12), transparent 34%),
    linear-gradient(145deg, #090f17 0%, #060a10 70%);
  perspective: 1400px;
  isolation: isolate;
  transition: background 0.65s ease;
}

.stack-visual__grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom right, black, transparent 88%);
}

.stack-console__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 8;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-dark);
  color: #768290;
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.stack-console__bar span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stack-console__bar i,
.ship-result i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stack-accent);
  box-shadow: 0 0 18px rgba(var(--stack-accent-rgb), 0.85);
  transition: background 0.45s, box-shadow 0.45s;
}

.stack-console__bar strong {
  color: #d4dbe2;
}

.stack-console__rail {
  position: absolute;
  z-index: 8;
  top: 88px;
  bottom: 82px;
  left: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-right: 1px solid var(--line-dark);
}

.stack-console__rail::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  content: "";
  background: var(--line-dark);
}

.stack-console__rail span {
  z-index: 1;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #27313d;
  border-radius: 50%;
  color: #65717e;
  background: #080d14;
  font-size: 0.52rem;
  font-weight: 850;
  transition: color 0.4s, border-color 0.4s, background 0.4s, transform 0.45s var(--ease-out);
}

.stack-console__rail span.is-current {
  border-color: var(--stack-accent);
  color: #081016;
  background: var(--stack-accent);
  transform: scale(1.12);
}

.stack-stage {
  position: absolute;
  z-index: 3;
  inset: 88px 26px 82px 92px;
  transform-style: preserve-3d;
}

.build-plane {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid #303b47;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(var(--stack-accent-rgb), 0.055), transparent 46%),
    #0c131c;
  box-shadow: 18px 22px 0 rgba(0, 0, 0, 0.2), 0 44px 90px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate3d(0, 46px, -120px) rotateX(3deg) rotateY(calc(var(--stack-px, 0) * 2deg)) scale(0.96);
  transform-origin: 50% 100%;
  pointer-events: none;
  transition:
    opacity 0.42s,
    transform 0.72s var(--ease-out),
    border-color 0.45s;
}

.build-plane::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(118deg, transparent 35%, rgba(255, 255, 255, 0.035), transparent 62%);
  transform: translateX(-70%);
  transition: transform 1s var(--ease-out);
}

.build-plane > header,
.build-plane > footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid #25303b;
  color: var(--stack-accent);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  transition: color 0.45s;
}

.build-plane > header strong {
  color: #6e7b88;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.build-plane > footer {
  justify-content: flex-start;
  gap: 9px;
  min-height: 58px;
  border-top: 1px solid #25303b;
  border-bottom: 0;
}

.build-plane > footer span {
  padding: 7px 9px;
  border: 1px solid #2d3945;
  color: #9aa6b2;
  font-size: 0.47rem;
  line-height: 1;
  letter-spacing: 0.09em;
}

.stack-story[data-stack-active="0"] .build-plane--interface,
.stack-story[data-stack-active="1"] .build-plane--api,
.stack-story[data-stack-active="2"] .build-plane--live,
.stack-story[data-stack-active="3"] .build-plane--ship {
  z-index: 6;
  border-color: rgba(var(--stack-accent-rgb), 0.5);
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(calc(var(--stack-py, 0) * -1.5deg)) rotateY(calc(var(--stack-px, 0) * 1.5deg)) scale(1);
  pointer-events: auto;
}

.stack-story[data-stack-active="0"] .build-plane--interface::before,
.stack-story[data-stack-active="1"] .build-plane--api::before,
.stack-story[data-stack-active="2"] .build-plane--live::before,
.stack-story[data-stack-active="3"] .build-plane--ship::before {
  transform: translateX(70%);
}

.interface-window {
  align-self: center;
  width: 86%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #33404d;
  border-radius: 8px;
  background: #111a24;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.interface-window__nav {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid #2b3743;
  color: #c6d0da;
  font-size: 0.65rem;
}

.interface-window__nav b {
  margin-right: auto;
}

.interface-window__nav i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43505d;
}

.interface-window__body {
  min-height: 278px;
  display: grid;
  grid-template-columns: 76px 1fr;
}

.interface-window__body aside {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 28px 16px;
  border-right: 1px solid #2b3743;
}

.interface-window__body aside span {
  height: 7px;
  border-radius: 10px;
  background: #273440;
}

.interface-window__body main {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 52px);
}

.interface-window__body small,
.api-trace small,
.live-trace small {
  color: var(--stack-accent);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.interface-window__body h4 {
  margin: 15px 0 28px;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.interface-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2b3743;
}

.interface-metrics span {
  display: grid;
  gap: 5px;
  padding: 14px 12px 0 0;
  color: #71808e;
  font-size: 0.52rem;
}

.interface-metrics b {
  color: #eaf0f5;
  font-size: 1rem;
}

.api-trace {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 56px minmax(0, 1.15fr);
  align-items: center;
  gap: 18px;
  width: 88%;
  margin: 0 auto;
}

.api-request,
.api-response {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 15px;
  padding: 25px;
  border: 1px solid #303c48;
  background: #101923;
}

.api-request b {
  width: max-content;
  padding: 7px 9px;
  color: #081016;
  background: var(--stack-accent);
  font-size: 0.58rem;
}

.api-request code,
.api-response code,
.event-stream code {
  color: #e4ebf1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  word-break: break-word;
}

.api-request em,
.api-response span {
  color: #778592;
  font-size: 0.63rem;
  font-style: normal;
}

.api-flow {
  position: relative;
  height: 1px;
  background: #35414d;
}

.api-flow i {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stack-accent);
  animation: trace-packet 2.4s infinite ease-in-out;
}

.api-flow i:nth-child(2) { animation-delay: 0.65s; }
.api-flow i:nth-child(3) { animation-delay: 1.3s; }

@keyframes trace-packet {
  0% { left: 0; opacity: 0; }
  15%, 70% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

.live-trace {
  align-self: center;
  width: 88%;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  margin: 0 auto;
}

.live-pulse {
  position: relative;
  min-height: 280px;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid #303c48;
  background: #0f1821;
}

.live-pulse i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(var(--stack-accent-rgb), 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: signal-wave 2.8s infinite ease-out;
}

.live-pulse i:nth-child(2) { animation-delay: 0.8s; }
.live-pulse i:nth-child(3) { animation-delay: 1.6s; }

@keyframes signal-wave {
  from { opacity: 0.8; transform: translate(-50%, -50%) scale(0.35); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
}

.live-pulse strong {
  z-index: 2;
  color: var(--stack-accent);
  font-size: 3.4rem;
  line-height: 1;
}

.live-pulse span {
  z-index: 2;
  margin-top: 7px;
  color: #8c99a5;
  font-size: 0.6rem;
}

.event-stream {
  display: grid;
  align-content: center;
  border: 1px solid #303c48;
  background: #0f1821;
}

.event-stream > span {
  min-height: 74px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #26323d;
}

.event-stream > span:last-child {
  border-bottom: 0;
}

.event-stream i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stack-accent);
  box-shadow: 0 0 14px rgba(var(--stack-accent-rgb), 0.8);
}

.event-stream time {
  color: #65727f;
  font-size: 0.5rem;
}

.ship-trace {
  align-self: center;
  width: 88%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 22px;
  border: 1px solid #303c48;
  background: #0f1821;
}

.ship-trace > div {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 20px;
  border-right: 1px solid #303c48;
}

.ship-trace > div:last-child {
  border-right: 0;
}

.ship-trace i {
  color: var(--stack-accent);
  font-size: 0.57rem;
  font-style: normal;
}

.ship-trace b {
  color: #edf2f5;
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
}

.ship-trace span {
  color: #75828e;
  font-size: 0.56rem;
}

.ship-result {
  width: 88%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  padding: 15px 18px;
  border: 1px solid rgba(var(--stack-accent-rgb), 0.38);
  color: #9ba7b2;
  font-size: 0.62rem;
}

.ship-result strong {
  color: var(--stack-accent);
  font-size: 0.7rem;
}

.stack-console__foot {
  position: absolute;
  inset: auto 0 0;
  z-index: 8;
  height: 60px;
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-top: 1px solid var(--line-dark);
  color: #687582;
  font-size: 0.49rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.stack-console__foot span:first-child {
  display: flex;
  gap: 8px;
}

.stack-console__foot b {
  color: var(--stack-accent);
  transition: color 0.45s;
}

.stack-console__foot > strong {
  color: #8f9aa5;
  font-size: 0.48rem;
}

.stack-signal {
  height: 1px;
  overflow: hidden;
  background: #26313c;
}

.stack-signal i {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--stack-accent);
  box-shadow: 0 0 12px rgba(var(--stack-accent-rgb), 0.7);
  transition: width 0.75s var(--ease-out), background 0.45s;
}

.stack-story[data-stack-active="1"] .stack-signal i { width: 50%; }
.stack-story[data-stack-active="2"] .stack-signal i { width: 75%; }
.stack-story[data-stack-active="3"] .stack-signal i { width: 100%; }

.stack-chapters {
  display: grid;
}

.stack-chapter {
  min-height: min(72vh, 680px);
  display: grid;
  align-content: center;
  padding: 70px 0;
  border-top: 1px solid var(--line-dark);
  opacity: 0.32;
  transform: translateY(30px);
  transition:
    opacity 0.6s,
    transform 0.8s var(--ease-out);
}

.stack-chapter:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.stack-chapter.is-active {
  opacity: 1;
  transform: none;
}

.stack-chapter > span {
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stack-chapter h3 {
  margin: 22px 0 18px;
  font-size: clamp(2.5rem, 3.7vw, 4.6rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
}

.stack-chapter p {
  max-width: 650px;
  margin: 0;
  color: #9aa5b1;
  font-size: 1.06rem;
  line-height: 1.75;
}

.stack-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
}

.stack-proof small,
.stack-proof span,
.stack-proof a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #293440;
  color: #a7b1ba;
  font-size: 0.57rem;
}

.stack-proof small {
  border-color: transparent;
  padding-left: 0;
  color: var(--stack-accent);
  font-weight: 850;
  letter-spacing: 0.12em;
  transition: color 0.45s;
}

.stack-proof a {
  transition: color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}

.stack-proof a:hover {
  border-color: var(--stack-accent);
  color: var(--paper);
  transform: translateY(-3px);
}

.stack-cta {
  max-width: 650px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding: 20px 0;
  border-top: 1px solid #2c3742;
  border-bottom: 1px solid #2c3742;
  color: #a4afb9;
  font-size: 0.72rem;
}

.stack-cta i {
  color: var(--stack-accent);
  font-style: normal;
  font-weight: 800;
  transition: color 0.45s, transform 0.3s var(--ease-out);
}

.stack-cta:hover i {
  transform: translateX(6px);
}

.process {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(70px, 9vw, 170px);
  isolation: isolate;
}

.process__intro {
  position: sticky;
  top: calc(var(--header-h) + 46px);
  align-self: start;
}

/* Moving a sticky container during its first reveal can make its lower copy
   briefly paint over the next grid row. Its children already animate in. */
.process__intro.reveal {
  transform: none;
  transition: opacity 0.8s var(--ease-out);
}

.process__intro h2 {
  font-size: clamp(3.6rem, 6vw, 7.2rem);
}

.process__intro > p:last-child {
  margin-top: 30px;
  color: #626b73;
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.process__steps li {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
}

.process__steps li::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--ink);
  transform: translateX(-102%);
  transition: transform 0.65s var(--ease-out);
}

.process__steps li > * {
  position: relative;
  z-index: 1;
}

.process__steps li:hover::before {
  transform: none;
}

.process__steps li:hover {
  color: var(--paper);
}

.process__steps li > span {
  align-self: start;
  padding: 56px 0 0 18px;
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 900;
}

.process__steps small {
  color: var(--coral);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.process__steps h3 {
  margin: 7px 0;
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  letter-spacing: -0.035em;
}

.process__steps p {
  max-width: 600px;
  margin: 0;
  color: #667078;
}

.process__steps li:hover p {
  color: #aeb7bf;
}

.process__cta {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 34px 40px;
  color: var(--paper);
  background: var(--coral);
  transition:
    color 0.35s,
    background 0.35s;
}

.process__cta:hover {
  color: var(--ink);
  background: var(--acid);
}

.process__cta span {
  font-size: 1rem;
}

.process__cta strong {
  font-size: clamp(1.3rem, 2vw, 2.1rem);
}

.experience__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  align-items: end;
  margin-bottom: 90px;
}

.experience__head .eyebrow {
  grid-column: 1 / -1;
}

.timeline {
  border-top: 1px solid var(--line-dark);
}

.role {
  min-height: 220px;
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.35fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.role time {
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role h3 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.role p {
  max-width: 720px;
  margin: 0;
  color: #929eaa;
}

.role > strong {
  text-align: right;
  font-size: 0.82rem;
}

.role small {
  color: #75808d;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: clamp(70px, 10vw, 180px);
  align-items: start;
}

.contact__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.contact__intro h2 {
  font-size: clamp(3.7rem, 6.4vw, 7.4rem);
}

.contact__intro > p {
  max-width: 640px;
  margin: 32px 0;
  color: #5e6870;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.contact__actions a {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}

.contact__actions a:last-child {
  color: #07130b;
  border-color: #25d366;
  background: #25d366;
}

.contact__actions a:hover {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
  transform: translateY(-3px);
}

.contact__promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.contact__promise span {
  min-height: 90px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 15px;
  color: #555f67;
  font-size: 0.65rem;
  font-weight: 750;
}

.contact__promise span + span {
  border-left: 1px solid var(--line-light);
}

.contact__promise b {
  color: var(--coral);
  font-size: 0.55rem;
}

.contact__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.contact__links a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__links a:nth-child(odd) {
  margin-right: 24px;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 62px);
  border: 1px solid var(--line-light);
  background: #faf8f2;
  box-shadow: 28px 28px 0 rgba(8, 12, 18, 0.06);
}

.contact-form__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-light);
}

.contact-form__head strong {
  font-size: 1.45rem;
}

.contact-form__head span {
  color: #68717a;
  font-size: 0.68rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c8c4bb;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.contact-form input,
.contact-form select {
  min-height: 55px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 14px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  background: rgba(255, 115, 87, 0.035);
}

.form-status,
.form-note {
  margin: 0;
  color: #626c74;
  font-size: 0.67rem;
}

.form-status:not(:empty) {
  padding: 12px;
  border-left: 3px solid var(--coral);
  background: rgba(255, 115, 87, 0.08);
}

.footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 30px var(--page-x);
  border-top: 1px solid var(--line-dark);
  background: #05080d;
}

.footer > div {
  display: grid;
}

.footer strong {
  letter-spacing: 0.12em;
}

.footer small,
.footer p,
.footer a {
  color: #788491;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer p {
  text-align: center;
}

.footer a {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 1s var(--ease-out);
}

.reveal[data-delay="1"] {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.scroll-text {
  --text-delay: 0ms;
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.72s var(--ease-out) var(--text-delay),
    filter 0.82s var(--ease-out) var(--text-delay),
    transform 0.92s var(--ease-out) var(--text-delay);
  will-change: opacity, filter, transform;
}

.scroll-text--heading {
  clip-path: inset(0 0 22% 0);
  transform: translate3d(0, 58px, 0);
  transition:
    opacity 0.68s var(--ease-out) var(--text-delay),
    clip-path 1s var(--ease-out) var(--text-delay),
    filter 0.8s var(--ease-out) var(--text-delay),
    transform 1s var(--ease-out) var(--text-delay);
}

.scroll-text--meta {
  transform: translate3d(-24px, 0, 0);
}

.scroll-text.is-text-visible {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
}

.tilt-panel {
  transition:
    transform 0.18s linear,
    box-shadow 0.5s var(--ease-out);
  will-change: transform;
}

.tilt-panel:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1260px) {
  :root {
    --page-x: clamp(24px, 4vw, 60px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    display: none;
  }

  .top-cta {
    margin-right: 66px;
  }

  .menu-toggle {
    position: absolute;
    right: var(--page-x);
    display: block;
  }

  .topnav.is-open {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: grid;
    align-content: center;
    gap: 0;
    padding: 36px var(--page-x);
    background: rgba(8, 12, 18, 0.98);
    backdrop-filter: blur(18px);
  }

  .topnav.is-open a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--paper);
    font-size: clamp(1.4rem, 4vw, 2.6rem);
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  }

  .hero-stage {
    width: 47vw;
  }

  .stack-story__layout {
    grid-template-columns: minmax(460px, 1.05fr) minmax(330px, 0.95fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 78px;
    --section-y: 88px;
  }

  .top-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 9.5vw, 6.4rem);
  }

  .hero > * {
    min-width: 0;
  }

  .hero__lede {
    max-width: 720px;
  }

  .hero-stage {
    width: 100%;
    height: min(72vw, 650px);
    justify-self: center;
  }

  .hero-stage__portrait img {
    width: 70%;
  }

  .hero-stage__chip--one {
    left: 6%;
  }

  .hero__edge {
    display: none;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip span {
    min-height: 78px;
  }

  .proof-strip span + span {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto__copy h2 {
    font-size: clamp(3.6rem, 11vw, 7rem);
  }

  .manifesto__aside {
    max-width: 680px;
  }

  .manifesto__ledger {
    grid-column: 1;
  }

  .section-intro,
  .stack-story__head {
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child,
  .stack-story__head > p:last-child {
    max-width: 720px;
  }

  .case__media {
    height: min(76vw, 680px);
    min-height: 500px;
  }

  .case__copy,
  .case:nth-child(even) .case__copy,
  .case--cambridge .case__copy,
  .case--chat .case__copy,
  .case--redbull .case__copy,
  .case--velune .case__copy,
  .case--tooly .case__copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 42px);
    max-width: 720px;
    margin: -82px 21px 0;
  }

  .case::after {
    inset: 14px -10px -14px 10px;
  }

  .more-work a {
    grid-template-columns: 0.7fr 1fr auto;
  }

  .more-work small {
    display: none;
  }

  .stack-story__layout {
    grid-template-columns: 1fr;
  }

  .stack-visual {
    position: relative;
    top: auto;
    height: min(76vw, 650px);
    min-height: 560px;
  }

  .stack-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-dark);
  }

  .stack-chapter {
    min-height: auto;
    align-content: start;
    padding: 64px 38px 72px 0;
    opacity: 1;
    transform: none;
  }

  .stack-chapter:nth-child(even) {
    padding-right: 0;
    padding-left: 38px;
    border-left: 1px solid var(--line-dark);
  }

  .stack-chapter h3 {
    font-size: clamp(2.3rem, 5vw, 3.7rem);
  }

  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .process__intro,
  .contact__intro {
    position: relative;
    top: auto;
  }

  .experience__head {
    grid-template-columns: 1fr;
  }

  .role {
    grid-template-columns: 0.45fr 1fr;
    padding: 42px 0;
  }

  .role > strong {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 20px;
    --header-h: 72px;
    --section-y: 70px;
  }

  body {
    font-size: 15px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 0.75rem;
  }

  .brand-copy small {
    font-size: 0.48rem;
  }

  .menu-toggle {
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .hero__copy {
    width: 100%;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.57rem;
  }

  .hero h1 {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(2.75rem, 12.2vw, 3.45rem);
    letter-spacing: -0.065em;
    line-height: 0.91;
  }

  .hero h1 em {
    margin-inline: auto;
  }

  .hero__lede {
    width: 100%;
    margin-top: 28px;
    font-size: 0.98rem;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__proof {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__proof span {
    min-height: 52px;
    padding: 10px 0;
  }

  .hero__proof span + span {
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .hero-stage {
    height: 114vw;
    max-height: 580px;
  }

  .hero-stage__portrait {
    inset: 0 0 0;
  }

  .hero-stage__portrait img {
    width: 92%;
  }

  .hero-stage__window {
    width: 54%;
  }

  .hero-stage__window--back {
    top: 9%;
  }

  .hero-stage__window--front {
    right: 0;
    bottom: 16%;
  }

  .hero-stage__chip {
    min-width: 140px;
    padding: 12px;
  }

  .hero-stage__chip--one {
    top: 33%;
    left: -2%;
  }

  .hero-stage__chip--two {
    right: 1%;
    bottom: 4%;
  }

  .hero-stage__index {
    display: none;
  }

  .proof-strip span {
    padding-inline: 20px;
  }

  .word-bridge {
    height: 240px;
  }

  .word-bridge p {
    font-size: 28vw;
  }

  .manifesto__copy h2,
  .section-intro h2,
  .stack-story__head h2,
  .process__intro h2,
  .experience__head h2,
  .contact__intro h2 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .manifesto__ledger {
    grid-template-columns: 1fr;
  }

  .manifesto__ledger span {
    min-height: 96px;
    padding: 18px 0;
  }

  .manifesto__ledger span + span {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .section-intro,
  .stack-story__head {
    gap: 32px;
  }

  .case-list {
    gap: 86px;
  }

  .case__media {
    height: min(116vw, 580px);
    min-height: 420px;
    max-height: none;
  }

  .case--chat .case__media {
    height: min(88vw, 440px);
    min-height: 380px;
  }

  .case--chat .case__frame {
    padding: 24px 12px;
  }

  .case--chat .case__frame img {
    width: 96%;
    translate: 0 var(--case-shift, 0);
  }

  .cambridge-gallery__panel--community {
    top: 8%;
    right: 4%;
    width: 54%;
  }

  .cambridge-gallery__panel--page {
    right: 7%;
    bottom: 7%;
    width: 29%;
    height: 42%;
  }

  .broadway-gallery__hero {
    object-position: 54% center;
  }

  .broadway-gallery__duo {
    top: 7%;
    left: 3%;
    width: 62%;
    height: 39%;
    gap: 4px;
    padding: 4px;
  }

  .case__copy,
  .case:nth-child(even) .case__copy,
  .case--cambridge .case__copy,
  .case--chat .case__copy,
  .case--redbull .case__copy,
  .case--velune .case__copy,
  .case--tooly .case__copy {
    width: calc(100% - 16px);
    margin: -42px 8px 0;
    padding: 25px 22px;
    box-shadow:
      9px 11px 0 rgba(4, 7, 11, 0.62),
      0 25px 52px rgba(0, 0, 0, 0.36);
  }

  .case__meta {
    display: grid;
    gap: 6px;
  }

  .case__copy h3 {
    margin-top: 24px;
    font-size: clamp(2.9rem, 13vw, 4.6rem);
  }

  .case__result {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case__link {
    min-height: 58px;
  }

  .world-can {
    width: 38%;
    left: 56%;
    top: 17%;
  }

  .world-state strong,
  .velune-message strong {
    font-size: 12vw;
  }

  .tooly-ui header span {
    display: none;
  }

  .tooly-ui__hero {
    min-height: 245px;
    padding: 30px 18px;
  }

  .tooly-ui__tools {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding-inline: 4%;
  }

  .tooly-ui__tools span {
    min-height: 92px;
    padding: 11px;
    font-size: 0.68rem;
  }

  .more-work a {
    min-height: 115px;
    grid-template-columns: 1fr auto;
  }

  .more-work span {
    grid-column: 1;
  }

  .more-work strong {
    grid-column: 1;
  }

  .more-work i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .stack-visual {
    display: none;
  }

  .stack-chapters {
    grid-template-columns: 1fr;
  }

  .stack-chapter,
  .stack-chapter:nth-child(even) {
    padding: 48px 0 52px 34px;
    border-left: 1px solid #2b3641;
  }

  .stack-chapter::before {
    position: absolute;
    top: 52px;
    left: -5px;
    width: 9px;
    height: 9px;
    content: "";
    border-radius: 50%;
    background: var(--stack-accent);
    box-shadow: 0 0 18px rgba(var(--stack-accent-rgb), 0.65);
  }

  .stack-chapter {
    position: relative;
  }

  .stack-chapter h3 {
    margin-top: 18px;
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .stack-proof {
    margin-top: 26px;
  }

  .stack-proof small {
    width: 100%;
  }

  .process__steps li {
    min-height: 230px;
    grid-template-columns: 40px 1fr;
  }

  .process__steps li > span {
    padding-top: 52px;
  }

  .process__cta {
    display: grid;
    gap: 12px;
    padding: 28px 22px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .role > strong {
    grid-column: 1;
  }

  .contact__promise {
    grid-template-columns: 1fr;
  }

  .contact__promise span {
    min-height: 68px;
  }

  .contact__promise span + span {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .contact__links {
    grid-template-columns: 1fr;
  }

  .contact__links a:nth-child(odd) {
    margin-right: 0;
  }

  .contact-form {
    padding: 26px 20px;
    box-shadow: 10px 10px 0 rgba(8, 12, 18, 0.06);
  }

  .contact-form__head {
    display: grid;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .footer {
    min-height: 210px;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer > div {
    justify-content: center;
  }

  .footer p {
    margin: 0;
  }

  .footer a {
    justify-self: center;
  }
}

@media (max-height: 800px) and (min-width: 981px) {
  :root {
    --header-h: 72px;
  }

  .topbar {
    min-height: 72px;
  }

  .hero {
    min-height: 760px;
    padding-top: 114px;
  }

  .hero-stage {
    height: 650px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 4.8vw, 5.8rem);
  }

  .hero__lede {
    margin-top: 26px;
  }

  .hero__actions,
  .hero__proof {
    margin-top: 25px;
  }

  .stack-visual {
    min-height: 560px;
  }
}

@media (hover: none), (pointer: coarse) {
  .tilt-panel {
    transform: none !important;
  }

  .world-state--red,
  .velune-message--two {
    display: none;
  }
}

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

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

  .intro {
    display: none;
  }

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

  .word-bridge p,
  .depth-layer,
  .tilt-panel,
  .stack-core {
    transform: none !important;
  }
}

/* PROJECT CATALOGUE — compact editorial grid */
.work .case-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.6vw, 26px);
}

.work .case {
  position: relative;
  grid-column: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(145deg, rgba(16, 23, 32, 0.96), rgba(7, 11, 17, 0.98));
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.45s,
    box-shadow 0.5s,
    transform 0.55s var(--ease-out);
}

.work .case:nth-child(4n + 1),
.work .case:nth-child(4n) {
  grid-column: auto;
}

.work .case:nth-child(4n + 2),
.work .case:nth-child(4n + 3) {
  grid-column: auto;
}

.work .case::before,
.work .case::after {
  display: none;
}

.work .case:hover {
  z-index: 2;
  border-color: rgba(113, 232, 237, 0.48);
  box-shadow:
    0 36px 82px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(113, 232, 237, 0.08);
  transform: translateY(-7px);
}

.work .case__media,
.work .case:nth-child(even) .case__media,
.work .case--chat .case__media {
  width: 100%;
  height: clamp(245px, 20vw, 315px);
  min-height: 0;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  clip-path: none;
  box-shadow: none;
}

.work .case:nth-child(even) {
  flex-direction: column;
}

.work .case:nth-child(even) .case__media {
  border-right: 0;
  border-left: 0;
}

.work .case__copy,
.work .case:nth-child(even) .case__copy,
.work .case--redbull .case__copy,
.work .case--velune .case__copy,
.work .case--tooly .case__copy {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  min-height: 390px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  padding: clamp(21px, 1.7vw, 28px);
  border: 0;
  color: var(--paper);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  clip-path: none;
}

.work .case__meta {
  display: grid;
  gap: 5px;
  padding-bottom: 12px;
  font-size: 0.48rem;
}

.work .case__copy h3 {
  margin: 20px 0 14px;
  font-size: clamp(1.8rem, 2.2vw, 2.75rem);
  line-height: 0.96;
}

.work .case__copy p {
  color: #aeb8c4;
  font-size: clamp(0.78rem, 0.76vw, 0.88rem);
  line-height: 1.55;
}

.work .case__copy ul {
  gap: 6px;
  margin-top: 16px;
}

.work .case__copy li {
  padding: 6px 8px;
  font-size: 0.56rem;
}

.work .case__result {
  display: none;
}

.work .case__result strong {
  color: #d6dce3;
}

.work .case__link {
  min-height: 46px;
  margin-top: auto;
  padding-inline: 13px;
  font-size: 0.57rem;
}

.work .case__frame {
  padding: clamp(20px, 2.4vw, 38px);
}

.work .case__frame img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  aspect-ratio: 1910 / 943;
  translate: 0 var(--case-shift, 0);
}

.work .world-state strong {
  top: 10%;
  left: 7%;
  font-size: clamp(1.65rem, 2.15vw, 2.8rem);
}

.work .world-can {
  width: 34%;
  left: 58%;
  top: 17%;
}

.work .velune-message {
  top: 9%;
  left: 7%;
}

.work .velune-message strong {
  font-size: clamp(1.65rem, 2.15vw, 2.8rem);
}

.work .tooly-ui {
  height: 100%;
  min-height: 100%;
}

.work .tooly-ui header {
  min-height: 58px;
}

.work .tooly-ui__hero {
  min-height: 142px;
  padding: 18px 12px;
}

.work .tooly-ui__hero strong,
.work .tooly-ui__hero em {
  font-size: clamp(1.65rem, 2.5vw, 3.2rem);
}

.work .tooly-ui__tools {
  gap: 7px;
  padding-inline: 4%;
}

.work .tooly-ui__tools span {
  min-height: 54px;
  padding: 8px;
  font-size: 0.58rem;
}

.work .more-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 4vw, 62px);
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.work .more-work a {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 28px;
  border: 0;
  background: #080d14;
}

.work .more-work a::before {
  background: linear-gradient(145deg, var(--acid), #9eea36);
  transform: translateY(102%);
}

.work .more-work a:hover::before {
  transform: none;
}

.work .more-work strong {
  margin-top: auto;
  font-size: clamp(1.55rem, 2.2vw, 2.6rem);
}

.work .more-work i {
  position: absolute;
  top: 24px;
  right: 26px;
}

.work .more-work .more-work__next {
  background:
    radial-gradient(circle at 88% 18%, rgba(199, 255, 50, 0.16), transparent 34%),
    linear-gradient(145deg, #111a1f, #0a1017);
}

.work .more-work__next span {
  color: var(--acid);
}

.work .more-work__next strong {
  max-width: 10em;
  line-height: 1.02;
}

.work .more-work__next small {
  color: #aeb8c4;
}

@media (max-width: 1180px) {
  .work .case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work .case:nth-child(n) {
    grid-column: auto;
    display: flex;
  }

  .work .case:nth-child(even) {
    flex-direction: column;
  }

  .work .case__media,
  .work .case:nth-child(even) .case__media,
  .work .case--chat .case__media {
    width: 100%;
    height: clamp(270px, 31vw, 360px);
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    border-left: 0;
  }

  .work .case__copy,
  .work .case:nth-child(even) .case__copy,
  .work .case--redbull .case__copy,
  .work .case--velune .case__copy,
  .work .case--tooly .case__copy {
    width: 100%;
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .work .case-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work .case:nth-child(n) {
    grid-column: 1;
  }

  .work .case__media,
  .work .case:nth-child(even) .case__media,
  .work .case--chat .case__media {
    height: clamp(235px, 64vw, 320px);
    min-height: 0;
  }

  .work .case__copy,
  .work .case:nth-child(even) .case__copy,
  .work .case--redbull .case__copy,
  .work .case--velune .case__copy,
  .work .case--tooly .case__copy {
    min-height: 0;
    padding: 25px 21px 22px;
  }

  .work .case__copy h3 {
    margin-top: 25px;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .work .case__result {
    margin-top: 28px;
  }

  .work .more-work {
    grid-template-columns: 1fr;
  }

  .work .more-work a {
    min-height: 145px;
  }
}

@media (max-width: 980px) {
  .word-bridge {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .word-bridge__intro {
    max-width: 760px;
  }

  .word-bridge__path {
    min-height: 310px;
  }
}

@media (max-width: 640px) {
  .word-bridge {
    height: auto;
    padding-block: 72px;
  }

  .word-bridge__intro h2 {
    font-size: clamp(2.9rem, 13vw, 4.5rem);
    line-height: 0.94;
  }

  .word-bridge__intro > p:last-child {
    margin-top: 24px;
    font-size: 0.98rem;
  }

  .word-bridge .eyebrow {
    font-size: 0.57rem;
  }

  .word-bridge__path {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .word-bridge__path li {
    min-height: 178px;
    padding: 26px 22px;
  }

  .word-bridge__path li + li {
    border-top: 1px solid rgba(8, 12, 18, 0.18);
    border-left: 0;
  }

  .word-bridge__path strong {
    margin-top: 34px;
  }

  .word-bridge__path p {
    font-size: 0.9rem;
  }

  .word-bridge__path li:hover {
    transform: none;
  }
}

@media (max-width: 1260px) {
  .expertise__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .expertise__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .expertise__head > p {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .expertise__head h2 {
    font-size: clamp(2.7rem, 12vw, 4.3rem);
  }

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

  .expertise-card {
    min-height: 190px;
    padding: 18px 16px;
  }

  .expertise-card.reveal {
    opacity: 1;
    transform: none;
  }

  .expertise-card:hover {
    transform: none;
  }
}

/* Mobile app shell */
@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  html {
    scroll-padding-bottom: 92px;
  }

  body.menu-open {
    overflow: auto;
  }

  .site-shell {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .topbar,
  .topbar.is-scrolled {
    min-height: var(--header-h);
    grid-template-columns: 1fr;
    padding-inline: 16px;
    background: rgba(8, 12, 18, 0.92);
    backdrop-filter: blur(22px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    display: none;
  }

  .topnav,
  .topnav.is-open,
  .menu-toggle,
  .top-cta {
    display: none !important;
  }

  .mobile-dock {
    position: fixed;
    right: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 50%;
    z-index: 140;
    width: calc(100% - 24px);
    max-width: 560px;
    min-height: 68px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(10, 15, 22, 0.9);
    box-shadow:
      0 18px 54px rgba(0, 0, 0, 0.48),
      inset 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px) saturate(1.3);
    transform: translateX(-50%);
  }

  .mobile-dock a {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    overflow: hidden;
    border-radius: 15px;
    color: #7f8b98;
    transition: color 0.25s, background-color 0.25s, transform 0.25s var(--ease-out);
  }

  .mobile-dock a span {
    font-size: 1.18rem;
    line-height: 1;
  }

  .mobile-dock a small {
    overflow: hidden;
    font-size: 0.47rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mobile-dock a.is-active {
    color: var(--acid);
    background: rgba(199, 255, 50, 0.09);
    transform: translateY(-1px);
  }

  .whatsapp-fab {
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: 52px;
    min-height: 52px;
    justify-content: center;
    padding: 7px;
  }

  .whatsapp-fab strong {
    display: none;
  }

  .contact__actions {
    grid-template-columns: 1fr;
  }

  .work .case {
    border-radius: 20px;
  }

  .work .scroll-text,
  .work .scroll-text--heading,
  .work .scroll-text--meta {
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }

  .work .case__copy,
  .work .case__copy > :not(.case__result) {
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
  }

  .work .case__media,
  .work .case:nth-child(even) .case__media {
    border-radius: 19px 19px 0 0;
  }

  .work .case__link,
  .button,
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    border-radius: 13px;
  }
}

@media (max-width: 380px) {
  .mobile-dock {
    width: calc(100% - 16px);
    min-height: 64px;
    padding: 4px;
    border-radius: 18px;
  }

  .mobile-dock a {
    min-height: 52px;
  }

  .mobile-dock a small {
    font-size: 0.42rem;
    letter-spacing: 0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-text,
  .scroll-text--heading,
  .scroll-text--meta {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
  }
}

/* Search-intent services */
.services { border-top: 1px solid var(--line-light); }
.services__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(32px, 7vw, 110px); align-items: end; margin-bottom: clamp(36px, 5vw, 68px); }
.services__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.services__head h2 { max-width: 11em; margin: 0; font-size: clamp(2.8rem, 5vw, 6rem); letter-spacing: -.065em; line-height: .94; }
.services__head h2 em { display: block; color: var(--coral); font-family: var(--serif); font-weight: 400; }
.services__head > p { max-width: 620px; margin: 0; color: #626b73; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.7; }
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-light); background: var(--line-light); gap: 1px; }
.service-card { min-width: 0; min-height: 300px; display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 52px); background: var(--paper); }
.service-card > span { color: var(--coral); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { max-width: 15em; margin: 28px 0 16px; font-size: clamp(1.5rem, 2.1vw, 2.45rem); letter-spacing: -.045em; line-height: 1.05; }
.service-card p { max-width: 54ch; margin: 0 0 30px; color: #626b73; line-height: 1.65; }
.service-card a { margin-top: auto; display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line-light); color: var(--ink); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.case__links { display: grid; gap: 8px; margin-top: auto; }
.work .case__links .case__link { margin-top: 0; }

/* Floating quick-contact bubble */
.contact-bubble { position: fixed; right: 22px; bottom: 22px; z-index: 180; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.contact-bubble__toggle { width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--ink); background: var(--acid); box-shadow: 0 16px 48px rgba(0,0,0,.38); cursor: pointer; transition: transform .3s var(--ease-out), box-shadow .3s; }
.contact-bubble__toggle:hover, .contact-bubble__toggle:focus-visible { box-shadow: 0 20px 54px rgba(199,255,50,.22); transform: translateY(-3px); }
.contact-bubble__toggle svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.contact-bubble.is-open .contact-bubble__toggle svg { transform: rotate(-12deg) scale(.9); }
.contact-bubble__actions { display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 9px; pointer-events: none; }
.contact-bubble__actions a { min-height: 46px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--paper); text-decoration: none; opacity: 0; transform: translateY(12px) scale(.88); transform-origin: right center; transition: opacity .22s, transform .32s var(--ease-out); }
.contact-bubble.is-open .contact-bubble__actions { pointer-events: auto; }
.contact-bubble.is-open .contact-bubble__actions a { opacity: 1; transform: none; }
.contact-bubble__actions span { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--paper); background: rgba(8,12,18,.94); box-shadow: 0 12px 34px rgba(0,0,0,.34); font-size: .63rem; font-weight: 900; }
.contact-bubble__actions small { order: -1; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: #d9e0e7; background: rgba(8,12,18,.92); font-size: .55rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.contact-bubble__actions a:hover span, .contact-bubble__actions a:focus-visible span { border-color: var(--acid); color: var(--ink); background: var(--acid); }

@media (max-width: 980px) {
  .services__head { grid-template-columns: 1fr; }
  .services__head .eyebrow { grid-column: auto; }
}

@media (max-width: 760px) {
  .site-shell { width: 100%; max-width: 100%; overflow-x: hidden; }
  .hero { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); }
  .hero__copy, .hero h1, .hero__lede { min-width: 0; max-width: 100%; }
  .hero h1 > span { display: block; }
  .hero h1 em { max-width: 100%; font-size: .82em; }
  .contact-bubble { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .contact-bubble__toggle { width: 52px; height: 52px; }
  .contact-bubble__actions span { width: 43px; height: 43px; flex-basis: 43px; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-bubble__toggle, .contact-bubble__toggle svg, .contact-bubble__actions a { transition: none; }
}
