:root {
  --ink: #11100f;
  --paper: #f3f0eb;
  --paper-deep: #e9e4dc;
  --orange: #f47721;
  --orange-deep: #d9570d;
  --line: rgba(17, 16, 15, 0.15);
  --white-line: rgba(255, 255, 255, 0.14);
  --hero-progress: 0;
  --device-open: 0;
  --device-in: 0;
  --copy-in: 0;
  --light-in: 0;
  --signal-a: 1;
  --signal-b: 0;
  --signal-c: 0;
  --signal-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body,
a,
button {
  cursor: default;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 20px clamp(20px, 4vw, 68px);
  color: #fff;
  transition: transform 320ms ease, opacity 240ms ease, color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

body.light-header .site-header {
  color: var(--ink);
  background: rgba(242, 239, 233, 0.82);
  box-shadow: 0 1px 0 rgba(17, 16, 15, 0.08);
  backdrop-filter: blur(18px);
}

body.past-hero .site-header {
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
}

.brand-logo {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(244, 119, 33, 0.15));
}

.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-contact svg {
  width: 20px;
}

.cinematic-hero {
  position: relative;
  height: 380vh;
  background: var(--ink);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background: #11100f;
  isolation: isolate;
}

#particle-canvas,
.hero-grid,
.hero-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#particle-canvas {
  z-index: 1;
  opacity: calc(1 - (var(--light-in) * 0.82));
}

.hero-grid {
  z-index: 0;
  background-image:
    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: 76px 76px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 72%);
  opacity: calc(0.18 + (var(--hero-progress) * 0.2));
}

.hero-light {
  z-index: 2;
  background:
    radial-gradient(circle at 76% 47%, rgba(244, 119, 33, 0.24), transparent 25%),
    linear-gradient(110deg, rgba(243, 240, 235, 0.96) 0 42%, rgba(239, 234, 226, 0.88) 59%, rgba(246, 239, 231, 0.98) 100%);
  opacity: var(--light-in);
}

.opening-message {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
  transform: translate(-50%, -50%) translateY(calc(var(--device-in) * -16vh));
  opacity: calc(1 - (var(--device-in) * 1.4));
}

.opening-message span,
.opening-message small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.opening-message strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(90px, 17vw, 250px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.opening-logo {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: clamp(180px, 29vw, 430px);
  opacity: 0.13;
  filter: grayscale(1);
  transform: translate(-50%, -50%);
}

.opening-message small {
  margin-top: 15vh;
  color: rgba(255, 255, 255, 0.52);
}

.device-stage {
  position: absolute;
  z-index: 5;
  top: 53%;
  right: clamp(-92px, 1.8vw, 36px);
  width: min(47vw, 780px);
  aspect-ratio: 1.33;
  perspective: 1500px;
  transform:
    translate3d(calc((1 - var(--device-in)) * 22vw), -43%, 0)
    scale(calc(0.68 + (var(--device-in) * 0.28)));
  opacity: var(--device-in);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(244, 119, 33, 0.25);
  border-radius: 50%;
  opacity: calc(var(--device-in) * 0.75);
}

.orbit-one {
  inset: 5% 6% 3% 8%;
  transform: rotate(-12deg);
}

.orbit-two {
  inset: 13% 0 12% 16%;
  transform: rotate(12deg);
}

.laptop {
  position: absolute;
  right: 16%;
  bottom: 11%;
  width: 68%;
  height: 60%;
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.laptop-lid {
  position: absolute;
  bottom: 11%;
  left: 5%;
  width: 90%;
  height: 83%;
  padding: 2%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(135deg, #252525, #050505 74%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.42);
  transform: rotateX(calc(86deg - (var(--device-open) * 86deg)));
  transform-origin: bottom center;
  transform-style: preserve-3d;
}

.laptop-camera {
  position: absolute;
  z-index: 2;
  top: 1.2%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #555;
}

.laptop-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #171717;
}

.screen-browser {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 9%;
  padding: 0 3%;
  color: rgba(255, 255, 255, 0.42);
  background: #272625;
  font-size: 6px;
}

.screen-browser i {
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.screen-browser i:first-child {
  background: var(--orange);
}

.screen-browser span {
  margin-left: 6px;
}

.screen-site {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 91%;
  padding: 8%;
  background:
    radial-gradient(circle at 79% 43%, rgba(244, 119, 33, 0.45), transparent 16%),
    linear-gradient(115deg, #111 0 59%, #22130d 100%);
}

.screen-site::after {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 17%;
  aspect-ratio: 0.45;
  border: 1px solid var(--orange);
  border-radius: 50%;
  content: "";
  transform: rotate(24deg);
  box-shadow: 0 0 30px rgba(244, 119, 33, 0.35);
}

.screen-kicker {
  margin-bottom: 5px;
  color: var(--orange);
  font-size: clamp(4px, 0.45vw, 7px);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen-site strong {
  max-width: 74%;
  font-family: "Manrope", sans-serif;
  font-size: clamp(12px, 1.7vw, 28px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.screen-site em {
  color: var(--orange);
  font-style: normal;
}

.screen-line {
  width: 34%;
  height: 2px;
  margin-top: 6%;
  background: var(--orange);
}

.screen-cards {
  position: absolute;
  right: 8%;
  bottom: 8%;
  display: flex;
  gap: 4px;
}

.screen-cards i {
  width: 18px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.laptop-base {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 14%;
  border-radius: 4px 4px 18px 18px;
  background: linear-gradient(#a5a3a0, #333 45%, #171717);
  clip-path: polygon(5% 0, 95% 0, 100% 75%, 94% 100%, 6% 100%, 0 75%);
}

.laptop-base span {
  position: absolute;
  top: 0;
  left: 41%;
  width: 18%;
  height: 35%;
  border-radius: 0 0 7px 7px;
  background: rgba(0, 0, 0, 0.35);
}

.laptop-shadow {
  position: absolute;
  right: -7%;
  bottom: -8%;
  width: 112%;
  height: 20%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  filter: blur(18px);
}

.phone {
  position: absolute;
  z-index: 4;
  right: 11%;
  bottom: 9%;
  width: 19%;
  aspect-ratio: 0.49;
  padding: 2.2%;
  border: 1px solid #736a62;
  border-radius: 16% / 8%;
  background: #111;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  transform:
    translate3d(calc((1 - var(--device-open)) * 9vw), calc((1 - var(--device-open)) * 14vh), 30px)
    rotateY(calc(-24deg + (var(--device-open) * 20deg)))
    rotateZ(calc(8deg - (var(--device-open) * 8deg)));
  opacity: var(--device-open);
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 2.1%;
  left: 35%;
  width: 30%;
  height: 3%;
  border-radius: 8px;
  background: #080808;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 14% / 7%;
  background: #f7f4f0;
}

.social-head,
.social-nav {
  display: flex;
  align-items: center;
  height: 13%;
  padding: 0 9%;
  gap: 7%;
  background: #fff;
}

.social-avatar {
  display: grid;
  place-items: center;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: clamp(4px, 0.55vw, 8px);
  font-weight: 800;
}

.social-head i,
.social-nav i {
  width: 8%;
  aspect-ratio: 1;
  border: 1px solid #aaa;
  border-radius: 50%;
}

.social-feature {
  height: 39%;
  background:
    linear-gradient(135deg, transparent 50%, rgba(244, 119, 33, 0.8) 51%),
    linear-gradient(160deg, #20150f 0 42%, #f5d7c1 43% 100%);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 35%;
  gap: 2px;
  padding: 2px;
}

.social-grid i:nth-child(1) { background: #ef7928; }
.social-grid i:nth-child(2) { background: #1c1c1b; }
.social-grid i:nth-child(3) { background: #d8c2b4; }
.social-grid i:nth-child(4) { background: #fff url("assets/websites/impar-engenharia.jpg") center / cover; }

.social-nav {
  justify-content: space-between;
  height: 13%;
}

.data-panel {
  position: absolute;
  z-index: 3;
  top: 5%;
  right: 2%;
  width: 25%;
  padding: 3%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  color: #191817;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 45px rgba(98, 57, 29, 0.14);
  backdrop-filter: blur(16px);
  transform: translate3d(calc((1 - var(--device-open)) * 8vw), calc((1 - var(--device-open)) * -6vh), 0);
  opacity: var(--device-open);
}

.data-panel span {
  display: block;
  color: #6f6964;
  font-size: clamp(6px, 0.65vw, 10px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-panel strong {
  display: block;
  margin: 5% 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.data-chart {
  display: flex;
  align-items: end;
  gap: 5%;
  height: 45px;
}

.data-chart i {
  width: 12%;
  height: 25%;
  border-radius: 2px 2px 0 0;
  background: var(--orange);
}

.data-chart i:nth-child(2) { height: 38%; }
.data-chart i:nth-child(3) { height: 30%; }
.data-chart i:nth-child(4) { height: 55%; }
.data-chart i:nth-child(5) { height: 70%; }
.data-chart i:nth-child(6) { height: 100%; }

.hero-copy {
  position: absolute;
  z-index: 8;
  top: 52%;
  left: clamp(24px, 6vw, 104px);
  width: min(44vw, 690px);
  color: #161514;
  transform: translateY(calc(-45% + ((1 - var(--copy-in)) * 8vh)));
  opacity: var(--copy-in);
  pointer-events: auto;
}

.eyebrow,
.section-index {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.manifesto h2,
.process h2,
.closing h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(46px, 4.7vw, 78px);
}

.hero-copy h1 em,
.section-heading h2 em,
.manifesto h2 em,
.process h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-description {
  max-width: 560px;
  margin: 22px 0 0;
  color: #5e5a55;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(17, 16, 15, 0.22);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.button svg {
  width: 18px;
  margin-left: 14px;
}

.button-primary {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
  box-shadow: 0 18px 40px rgba(244, 119, 33, 0.25);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary:hover {
  background: var(--orange-deep);
}

.button-ghost:hover {
  color: #fff;
  background: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 26px 0 0;
  padding: 0;
  color: #5f5a55;
  list-style: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-proof li {
  position: relative;
  padding-left: 13px;
}

.hero-proof li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--orange);
  transform: translateY(-50%);
}

.scroll-meter {
  position: absolute;
  z-index: 10;
  right: clamp(20px, 3vw, 54px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

body.light-header .scroll-meter {
  color: #1a1816;
}

.scroll-meter span {
  position: relative;
  width: 74px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-meter span::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: #fff;
  transform: scaleX(var(--hero-progress));
  transform-origin: left;
}

.scroll-meter small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-shell {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

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

.manifesto {
  position: relative;
  padding: clamp(110px, 14vw, 220px) 0;
  overflow: hidden;
}

.manifesto::before {
  position: absolute;
  top: -40%;
  left: 35%;
  width: 60vw;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 119, 33, 0.2);
  border-radius: 50%;
  content: "";
}

.manifesto-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
}

.manifesto h2,
.process h2,
.closing h2 {
  font-size: clamp(52px, 7vw, 112px);
}

.manifesto-copy .lead {
  max-width: 650px;
  margin: 40px 0 70px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.45;
}

.signal-scene {
  position: relative;
  height: 330vh;
  color: #fff;
  background: #0e0e0d;
}

.signal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 119, 33, 0.08), transparent 35%),
    #0e0e0d;
}

.signal-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.35;
  transform: translateY(calc(var(--signal-progress) * -68px));
}

.signal-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 119, 33, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--signal-progress) * 160deg)) scale(calc(.6 + (var(--signal-progress) * .5)));
}

.signal-orbit::before,
.signal-orbit::after,
.signal-orbit i {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.signal-orbit::before { inset: 12%; }
.signal-orbit::after { inset: 27%; border-color: rgba(244,119,33,.18); }
.signal-orbit i:nth-child(1) { inset: -5% 34% 78%; background: var(--orange); box-shadow: 0 0 35px rgba(244,119,33,.8); }
.signal-orbit i:nth-child(2) { inset: 42% -1% 52% 95%; background: #fff; }
.signal-orbit i:nth-child(3) { inset: 86% 61% 8% 33%; background: var(--orange); }

.signal-label {
  position: absolute;
  top: 28px;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.signal-statements {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.signal-statements p {
  position: absolute;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(55px, 10vw, 170px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  will-change: transform, opacity;
}

.signal-statements span,
.signal-statements strong {
  display: block;
}

.signal-statements span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
}

.signal-statements strong {
  color: #fff;
}

.signal-one {
  opacity: var(--signal-a);
  transform: translateY(calc((1 - var(--signal-a)) * -15vh)) scale(calc(.85 + (var(--signal-a) * .15)));
}

.signal-two {
  opacity: var(--signal-b);
  transform: translateX(calc((1 - var(--signal-b)) * 18vw));
}

.signal-two strong {
  color: var(--orange);
}

.signal-three {
  opacity: var(--signal-c);
  transform: translateY(calc((1 - var(--signal-c)) * 18vh)) scale(calc(.75 + (var(--signal-c) * .25)));
}

.signal-three strong {
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
}

.signal-counter {
  position: absolute;
  right: clamp(20px, 4vw, 70px);
  bottom: 30px;
  left: clamp(20px, 4vw, 70px);
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strategy-list {
  border-top: 1px solid var(--white-line);
}

.strategy-list article {
  display: grid;
  grid-template-columns: 56px 0.7fr 1.3fr;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--white-line);
}

.strategy-list span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

.strategy-list h3,
.strategy-list p {
  margin: 0;
}

.strategy-list h3 {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
}

.strategy-list p {
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.55;
}

.solutions {
  padding: clamp(100px, 12vw, 190px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.65fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: 80px;
}

.section-heading .section-index {
  align-self: start;
}

.section-heading h2 {
  font-size: clamp(48px, 6vw, 92px);
}

.section-heading > p:last-child {
  margin: 0;
  color: #6b6660;
  line-height: 1.65;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  position: relative;
  min-height: 390px;
  padding: 38px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 320ms ease, background 320ms ease, transform 320ms ease;
}

.solution-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.solution-card:hover {
  color: #fff;
  background: var(--ink);
}

.solution-card:hover {
  transform: translateY(-8px);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card .card-number {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

.solution-card img {
  display: block;
  width: 78px;
  height: 78px;
  margin: 68px 0 32px;
  object-fit: contain;
}

.solution-card h3 {
  margin: 0 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.solution-card p {
  margin: 0;
  color: #78716a;
  line-height: 1.65;
}

.solution-card:hover p {
  color: rgba(255, 255, 255, 0.54);
}

.work {
  padding: clamp(100px, 12vw, 190px) 0;
}

.work-heading {
  margin-bottom: 70px;
}

.work-heading > p:last-child {
  color: rgba(255, 255, 255, 0.5);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.work-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--white-line);
  background: #181716;
}

.work-card-large {
  grid-row: span 2;
}

.work-image {
  overflow: hidden;
  aspect-ratio: 1.7;
  background: #272625;
}

.work-card:not(.work-card-large) .work-image {
  aspect-ratio: 2.05;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.68);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 400ms ease;
}

.work-card:hover .work-image img {
  transform: scale(1.04);
  filter: saturate(1);
}

.work-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 24px;
}

.work-meta span {
  grid-column: 1 / -1;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-meta h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(21px, 2.3vw, 36px);
  letter-spacing: -0.05em;
}

.work-meta b {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials {
  position: relative;
  padding: clamp(110px, 13vw, 210px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(244, 119, 33, .13), transparent 28%),
    var(--ink);
}

.testimonials-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.testimonials-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(52px, 7vw, 112px);
  line-height: .93;
  letter-spacing: -.07em;
}

.testimonials-heading h2 em {
  color: var(--orange);
  font-style: normal;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}

.testimonial-controls .testimonial-count {
  min-width: 62px;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
}

.testimonial-controls b {
  color: var(--orange);
}

.testimonial-controls i {
  color: rgba(255, 255, 255, .7);
  font-style: normal;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.carousel-button:hover {
  color: var(--ink);
  background: var(--orange);
  transform: scale(1.06);
}

.carousel-button svg {
  width: 19px;
}

.testimonial-stage {
  position: relative;
  height: min(73vw, 850px);
  min-height: 650px;
  margin-top: 50px;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.testimonial-orbit {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(78vw, 1050px);
  aspect-ratio: 1;
  border: 1px solid rgba(244,119,33,.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(72deg);
  box-shadow: 0 0 0 70px rgba(255,255,255,.012), 0 0 0 140px rgba(255,255,255,.008);
}

.testimonial-card {
  position: absolute;
  top: 5%;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(230px, 360px);
  width: min(73vw, 790px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  background: #1c1b1a;
  box-shadow: 0 36px 80px rgba(0,0,0,.4);
  transform-style: preserve-3d;
  transition: transform 750ms cubic-bezier(.2,.75,.2,1), opacity 450ms ease, filter 450ms ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.testimonial-card.is-active {
  pointer-events: auto;
}

.testimonial-video {
  position: relative;
  min-height: 570px;
  background: #080808;
}

.testimonial-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(0,0,0,.36);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(28px, 4vw, 62px);
  background:
    radial-gradient(circle at 100% 0, rgba(244,119,33,.22), transparent 35%),
    #1c1b1a;
}

.testimonial-meta span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.testimonial-meta h3 {
  margin: 15px 0 24px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4.25vw, 62px);
  line-height: .92;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.testimonial-meta p {
  margin: 0;
  color: rgba(255,255,255,.52);
  line-height: 1.65;
}

.testimonial-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.15);
  border-left: 1px solid rgba(255,255,255,.15);
}

.testimonial-proof div {
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.testimonial-proof strong,
.testimonial-proof span {
  display: block;
}

.testimonial-proof strong {
  color: var(--orange);
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4vw, 70px);
  letter-spacing: -.07em;
}

.testimonial-proof span {
  margin-top: 6px;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.process {
  padding: clamp(100px, 12vw, 190px) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.process-image {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: #ddd;
}

.process-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(17, 16, 15, 0.82));
}

.process-image img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  filter: saturate(0.72);
}

.process-image span {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  left: 34px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.process-copy > p:not(.section-index) {
  max-width: 620px;
  margin: 36px 0 60px;
  color: #69635c;
  font-size: 18px;
  line-height: 1.7;
}

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

.process-stats div {
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--line);
}

.process-stats div:not(:first-child) {
  padding-left: 20px;
}

.process-stats div:last-child {
  border-right: 0;
}

.process-stats strong,
.process-stats span {
  display: block;
}

.process-stats strong {
  margin-bottom: 9px;
  color: var(--orange);
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3vw, 48px);
  letter-spacing: -0.06em;
}

.process-stats span {
  color: #706a63;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.logo-strip {
  position: relative;
  padding: clamp(95px, 12vw, 170px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 8%, rgba(244, 119, 33, .13), transparent 28%),
    linear-gradient(180deg, #f4f0e9 0%, #ebe6dd 100%);
}

.logo-strip::before {
  position: absolute;
  inset: 10% -10% auto;
  height: 260px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .72), transparent 64%);
  pointer-events: none;
}

.logo-strip p {
  position: relative;
  z-index: 1;
  margin: 0 0 54px;
  color: #776f68;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.logo-row {
  display: grid;
  align-items: center;
}

.logo-wall-3d {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  gap: 16px;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.logo-card-3d {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 145px;
  margin: 0;
  padding: 26px 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 16, 15, .1);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,244,239,.96) 56%, rgba(225,218,207,.95)),
    #fff;
  box-shadow:
    0 24px 42px rgba(46, 34, 24, .16),
    0 5px 0 rgba(255, 255, 255, .78) inset,
    0 -1px 0 rgba(17, 16, 15, .05) inset;
  transform:
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateZ(var(--z, 0));
  transform-style: preserve-3d;
  transition: transform 360ms ease, box-shadow 360ms ease, border-color 360ms ease;
}

.logo-card-3d::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255,255,255,.74), transparent 38%),
    radial-gradient(circle at 76% 20%, rgba(244,119,33,.12), transparent 38%);
  opacity: .82;
  pointer-events: none;
}

.logo-card-3d::after {
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 18px;
  content: "";
  background: rgba(17, 16, 15, .14);
  filter: blur(18px);
  transform: translateY(21px) translateZ(-30px);
}

.logo-card-3d img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(17, 16, 15, .13));
  transform: translateZ(42px);
}

.logo-card-3d:hover {
  z-index: 4;
  border-color: rgba(244, 119, 33, .34);
  box-shadow:
    0 34px 58px rgba(46, 34, 24, .22),
    0 0 0 1px rgba(244, 119, 33, .08),
    0 5px 0 rgba(255, 255, 255, .9) inset;
  transform: rotateX(0deg) rotateY(0deg) translateY(-10px) translateZ(38px);
}

.logo-card-3d:nth-child(7n+1) { --rx: 3deg; --ry: -8deg; --z: 12px; }
.logo-card-3d:nth-child(7n+2) { --rx: -2deg; --ry: -4deg; --z: 24px; }
.logo-card-3d:nth-child(7n+3) { --rx: 2deg; --ry: 3deg; --z: 8px; }
.logo-card-3d:nth-child(7n+4) { --rx: -3deg; --ry: 0deg; --z: 30px; }
.logo-card-3d:nth-child(7n+5) { --rx: 2deg; --ry: 5deg; --z: 14px; }
.logo-card-3d:nth-child(7n+6) { --rx: -2deg; --ry: 8deg; --z: 22px; }
.logo-card-3d:nth-child(7n+7) { --rx: 3deg; --ry: 10deg; --z: 10px; }

.mascot-showcase {
  position: relative;
  padding: clamp(100px, 12vw, 180px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 15%, rgba(244, 119, 33, .14), transparent 28%),
    linear-gradient(180deg, #f8f4ec 0%, #eee8df 100%);
}

.mascot-showcase::before {
  position: absolute;
  right: -14vw;
  bottom: -26vw;
  width: 56vw;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 119, 33, .22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 8vw rgba(244, 119, 33, .045), 0 0 0 16vw rgba(17, 16, 15, .025);
}

.mascot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 7vw;
  align-items: start;
}

.mascot-copy {
  position: sticky;
  top: 120px;
}

.mascot-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(50px, 6vw, 96px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.07em;
}

.mascot-copy h2 em {
  color: var(--orange);
  font-style: normal;
}

.mascot-copy > p:not(.section-index) {
  max-width: 520px;
  margin: 30px 0 0;
  color: #706960;
  font-size: 17px;
  line-height: 1.7;
}

.mascot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  perspective: 1500px;
}

.mascot-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  margin: 0;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(17, 16, 15, .1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,244,238,.96)),
    #fff;
  box-shadow:
    0 30px 60px rgba(42, 30, 20, .13),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  transform: rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg));
  transform-style: preserve-3d;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.mascot-card::before {
  position: absolute;
  inset: 20px;
  border-radius: 14px;
  content: "";
  background:
    radial-gradient(circle at 52% 42%, rgba(244, 119, 33, .16), transparent 42%),
    linear-gradient(135deg, rgba(244, 119, 33, .1), transparent 52%);
}

.mascot-card::after {
  position: absolute;
  right: 16%;
  bottom: 22px;
  left: 16%;
  height: 28px;
  content: "";
  background: rgba(17, 16, 15, .18);
  filter: blur(22px);
  transform: translateZ(-30px);
}

.mascot-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 96%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(17, 16, 15, .18));
  transform: translateZ(44px);
}

.mascot-card figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  color: #6d645c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mascot-card:nth-child(1) { --mx: 2deg; --my: -7deg; }
.mascot-card:nth-child(2) { --mx: -2deg; --my: 5deg; }
.mascot-card:nth-child(3) { --mx: 3deg; --my: 4deg; }
.mascot-card:nth-child(4) { --mx: -2deg; --my: -5deg; }

.mascot-card-wide {
  grid-column: 1 / -1;
  min-height: 440px;
}

.mascot-card-wide img {
  max-height: 350px;
}

.mascot-card:hover {
  z-index: 3;
  border-color: rgba(244, 119, 33, .32);
  box-shadow: 0 40px 72px rgba(42, 30, 20, .18);
  transform: rotateX(0deg) rotateY(0deg) translateY(-8px);
}

.floating-diagnostic {
  position: fixed;
  z-index: 95;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 18px 8px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #29d96b, #09a84d);
  box-shadow: 0 18px 44px rgba(9, 168, 77, .34);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.floating-diagnostic:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(9, 168, 77, .42);
}

.floating-diagnostic-icon {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #0aa64d;
  background: #fff;
}

.floating-diagnostic svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
}
}

.faq-scene {
  position: relative;
  padding: clamp(110px, 14vw, 220px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10vw;
  align-items: start;
}

.faq-title {
  position: sticky;
  top: 110px;
}

.faq-title h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(58px, 8vw, 130px);
  line-height: .84;
  letter-spacing: -.08em;
}

.faq-title h2 em {
  color: var(--orange);
  font-style: normal;
}

.faq-outline {
  position: absolute;
  z-index: 1;
  top: 60%;
  left: -6%;
  color: transparent;
  font-family: "Manrope", sans-serif;
  font-size: clamp(110px, 16vw, 270px);
  font-weight: 800;
  letter-spacing: -.1em;
  opacity: .1;
  transform: rotate(-90deg) translateX(-35%);
  -webkit-text-stroke: 1px var(--ink);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  padding: 31px 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -.035em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  grid-column: 3;
  content: "+";
  color: var(--orange);
  font-size: 24px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary span {
  color: var(--orange);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
}

.faq-list details p {
  max-width: 650px;
  margin: -5px 0 30px 55px;
  color: #6c665f;
  font-size: 16px;
  line-height: 1.7;
}

.section-orange {
  color: #fff;
  background: var(--orange);
}

.closing {
  position: relative;
  padding: clamp(100px, 14vw, 220px) 0;
  overflow: hidden;
}

.closing::before {
  position: absolute;
  right: -10vw;
  bottom: -34vw;
  width: 70vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 6vw rgba(255, 255, 255, 0.035), 0 0 0 12vw rgba(255, 255, 255, 0.035);
}

.closing-inner {
  position: relative;
}

.closing .section-index {
  color: rgba(255, 255, 255, 0.7);
}

.closing h2 em {
  color: #fff;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.65);
  color: transparent;
}

.closing-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(520px, 100%);
  margin-top: 65px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing-link svg {
  width: 25px;
  transition: transform 200ms ease;
}

.closing-link:hover svg {
  transform: translateX(8px);
}

footer {
  padding: 44px 0;
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.brand-footer {
  color: #fff;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-align: center;
}

.footer-inner > div {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  body.past-hero .site-header {
    opacity: 0;
    transform: translateY(-110%);
    pointer-events: none;
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .device-stage {
    top: 24%;
    right: -2vw;
    width: 58vw;
    transform:
      translate3d(calc((1 - var(--device-in)) * 34vw), -50%, 0)
      scale(calc(0.68 + (var(--device-in) * 0.3)));
  }

  .data-panel {
    display: none;
  }

  .hero-copy {
    top: auto;
    bottom: 5vh;
    width: min(72vw, 650px);
    transform: translateY(calc((1 - var(--copy-in)) * 9vh));
  }

  .hero-copy h1 {
    font-size: clamp(42px, 5.5vw, 68px);
  }

  .hero-description {
    max-width: 570px;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-proof {
    margin-top: 18px;
  }

  .section-heading {
    grid-template-columns: 1fr 1.6fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

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

  .logo-wall-3d {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .logo-card-3d {
    min-height: 132px;
  }

  .process-grid {
    gap: 5vw;
  }

  .testimonial-card {
    grid-template-columns: minmax(230px, 330px) minmax(210px, 300px);
  }

  .testimonial-video,
  .testimonial-video video {
    min-height: 510px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 16px;
  }

  body.mobile-hero-scrolled .site-header {
    opacity: 0;
    transform: translateY(-110%);
    pointer-events: none;
  }

  .brand-name,
  .header-contact span {
    display: none;
  }

  .brand-mark {
    width: 38px;
  }

  .brand-logo {
    width: 39px;
    height: 39px;
  }

  .header-contact svg {
    width: 25px;
  }

  .cinematic-hero {
    height: auto;
    min-height: 0;
  }

  .hero-sticky {
    position: relative;
    height: 100svh;
    min-height: 650px;
  }

  .hero-grid {
    background-size: 44px 44px;
    opacity: 0.16;
  }

  #particle-canvas {
    display: none;
  }

  .hero-light {
    opacity: 1;
  }

  .opening-message {
    display: none;
  }

  .opening-message small {
    margin-top: 24vh;
  }

  .device-stage {
    top: 21%;
    right: auto;
    left: 50%;
    width: 128vw;
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(0.98);
  }

  .orbit {
    opacity: 0.72;
  }

  .laptop-lid {
    transform: rotateX(0deg);
  }

  .phone {
    right: 18%;
    opacity: 1;
    transform: translate3d(0, 0, 30px) rotateY(-4deg) rotateZ(0deg);
  }

  .hero-copy {
    top: auto;
    right: 18px;
    bottom: max(24px, 5svh);
    left: 18px;
    width: auto;
    text-align: center;
    opacity: 1;
    transform: none;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .hero-copy h1 {
    max-width: 540px;
    margin-inline: auto;
    font-size: clamp(32px, 9.4vw, 44px);
    line-height: 0.98;
  }

  .hero-description {
    display: block;
    max-width: 520px;
    margin: 13px auto 0;
    font-size: 13px;
    line-height: 1.48;
  }

  .hero-actions {
    display: grid;
    max-width: 520px;
    margin: 16px auto 0;
    gap: 9px;
  }

  .button {
    min-height: 48px;
    padding: 0 15px;
  }

  .hero-proof {
    display: none;
  }

  .scroll-meter {
    display: none;
  }

  .section-shell {
    width: min(100% - 32px, 1380px);
  }

  .manifesto-grid,
  .section-heading,
  .process-grid,
  .faq-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .manifesto {
    padding: 90px 0;
  }

  .manifesto h2,
  .process h2,
  .closing h2 {
    font-size: clamp(46px, 15vw, 74px);
  }

  .manifesto-copy .lead {
    margin: 45px 0;
    font-size: 20px;
  }

  .strategy-list article {
    grid-template-columns: 35px 1fr;
  }

  .strategy-list p {
    grid-column: 2;
  }

  .signal-scene {
    height: 270vh;
  }

  .signal-sticky {
    min-height: 590px;
  }

  .signal-orbit {
    width: 120vw;
  }

  .signal-statements p {
    width: 92%;
    font-size: clamp(52px, 18vw, 82px);
  }

  .signal-counter {
    font-size: 7px;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 44px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .section-heading h2 {
    font-size: clamp(45px, 14vw, 70px);
  }

  .solutions,
  .work,
  .process {
    padding: 90px 0;
  }

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

  .logo-wall-3d {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .solution-card {
    min-height: 320px;
  }

  .solution-card img {
    margin: 55px 0 25px;
  }

  .work-card-large {
    grid-row: auto;
  }

  .work-card:not(.work-card-large) .work-image,
  .work-image {
    aspect-ratio: 1.35;
  }

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

  .testimonials {
    padding: 95px 0;
  }

  .testimonials-heading {
    display: block;
  }

  .testimonials-heading h2 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .testimonial-controls {
    margin-top: 34px;
  }

  .testimonial-stage {
    height: 690px;
    min-height: 690px;
    margin-top: 25px;
  }

  .testimonial-card {
    top: 4%;
    grid-template-columns: 1fr;
    width: min(78vw, 310px);
  }

  .testimonial-video,
  .testimonial-video video {
    min-height: 410px;
    max-height: 410px;
  }

  .testimonial-meta {
    min-height: 185px;
    padding: 24px;
  }

  .testimonial-meta h3 {
    margin: 10px 0 14px;
    font-size: 32px;
    line-height: .96;
  }

  .testimonial-meta p {
    font-size: 12px;
  }

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

  .process-image,
  .process-image img {
    min-height: 480px;
  }

  .process-copy {
    padding-top: 30px;
  }

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

  .process-stats div,
  .process-stats div:not(:first-child) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo-card-3d {
    min-height: 118px;
    padding: 20px 16px;
    border-radius: 8px;
    transform: none;
  }

  .logo-card-3d img {
    max-width: 92%;
    max-height: 66px;
    transform: translateZ(20px);
  }

  .mascot-showcase {
    padding: 90px 0;
  }

  .mascot-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mascot-copy {
    position: relative;
    top: auto;
  }

  .mascot-copy h2 {
    font-size: clamp(45px, 13vw, 68px);
  }

  .mascot-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mascot-card,
  .mascot-card-wide {
    grid-column: auto;
    min-height: 330px;
    padding: 26px;
    transform: none;
  }

  .mascot-card img,
  .mascot-card-wide img {
    max-height: 250px;
    transform: translateZ(20px);
  }

  .faq-title {
    position: relative;
    top: auto;
    margin-bottom: 60px;
  }

  .faq-title h2 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .faq-outline {
    display: none;
  }

  .faq-list summary {
    grid-template-columns: 38px 1fr;
    padding: 24px 0;
    font-size: 17px;
  }

  .faq-list details p {
    margin-left: 38px;
    font-size: 14px;
  }

  .closing {
    padding: 100px 0;
  }

  .closing-link {
    margin-top: 45px;
  }

  .footer-inner {
    justify-items: start;
    gap: 25px;
  }

  .footer-inner p {
    text-align: left;
  }

  .footer-inner > div {
    flex-direction: column;
    justify-content: flex-start;
    gap: 9px;
  }

  .floating-diagnostic {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 7px 14px 7px 7px;
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  }

  .floating-diagnostic-icon {
    width: 38px;
  }

  .floating-diagnostic svg {
    width: 22px;
    height: 22px;
  }

  body.past-hero .floating-diagnostic {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .cinematic-hero {
    height: auto;
    min-height: 0;
  }

  .hero-sticky {
    min-height: 600px;
  }

  .device-stage {
    top: 18%;
    right: auto;
    left: 50%;
    width: 116vw;
    transform: translate3d(-50%, -50%, 0) scale(0.98);
  }

  .hero-copy {
    bottom: 78px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 6px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8.2vw, 34px);
  }

  .hero-description {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.38;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .button {
    min-height: 44px;
    font-size: 10px;
  }
}

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

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