:root {
  color-scheme: dark;
  --bg: #160805;
  --bg-deep: #0d0302;
  --bg-soft: #251009;
  --paper: #fff3e3;
  --paper-warm: #eed9c3;
  --ink: #351207;
  --white: #fff7ec;
  --muted: rgba(255, 247, 236, 0.68);
  --muted-dark: #79513d;
  --line: rgba(255, 247, 236, 0.18);
  --line-dark: rgba(53, 18, 7, 0.2);
  --orange: #ed6a2c;
  --orange-light: #ffc592;
  --orange-deep: #a83a0a;
  --ease: cubic-bezier(0.52, 0.01, 0, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, "SF Pro Display", "SF Pro Text", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.case-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 12%, rgba(237, 106, 44, 0.13), transparent 25%),
    linear-gradient(rgba(255, 247, 236, 0.028) 1px, transparent 1px);
  background-size: auto, 100% 9vw;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

.scroll-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffd9b7);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.cursor-shadow {
  position: fixed;
  z-index: 0;
  width: var(--cursor-size, 520px);
  height: var(--cursor-size, 520px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(237, 106, 44, 0.2), rgba(237, 106, 44, 0.08) 38%, transparent 68%);
  filter: blur(25px) saturate(var(--cursor-saturation, 1));
  opacity: 0.74;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 280ms ease;
  will-change: left, top, width, height;
}

.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1380px, calc(100% - 64px));
  min-height: 70px;
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
}

.brand {
  width: max-content;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand sup {
  margin-left: 4px;
  color: var(--orange);
  font-size: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 247, 236, 0.68);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 500ms var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-action {
  justify-self: end;
  padding: 12px 17px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 500ms var(--ease), color 500ms var(--ease), border-color 500ms var(--ease);
}

.nav-action:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

/* HERO */

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  padding: 118px max(32px, calc((100vw - 1380px) / 2)) 0;
  background:
    radial-gradient(circle at 80% 40%, rgba(237, 106, 44, 0.18), transparent 23%),
    linear-gradient(180deg, #160805 0%, #130604 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 52%, rgba(255, 247, 236, 0.04) 52% 52.08%, transparent 52.08%),
    linear-gradient(rgba(255, 247, 236, 0.03) 1px, transparent 1px);
  background-size: auto, 100% 11.2vw;
}

.hero-copy {
  position: relative;
  z-index: 6;
  width: min(65vw, 890px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(237, 106, 44, 0.13), 0 0 26px var(--orange);
  animation: nodeBlink 2s ease-in-out infinite;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(78px, 8vw, 122px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.068em;
}

.title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  transform: translateY(70px);
  animation: titleIn 900ms var(--ease) forwards;
}

.title-line:nth-child(2) {
  animation-delay: 120ms;
}

.title-line:nth-child(3) {
  animation-delay: 240ms;
}

.title-line:nth-child(4) {
  animation-delay: 360ms;
}

.title-line.accent {
  color: var(--orange);
}

.title-line.serif {
  color: #ffd9b7;
  font-style: italic;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(260px, 440px) auto;
  align-items: end;
  gap: 30px;
  margin-top: 45px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 700ms 620ms var(--ease) forwards;
}

.hero-bottom > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions,
.final-actions,
.case-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 17px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 500ms var(--ease),
    border-color 500ms var(--ease),
    color 500ms var(--ease),
    transform 500ms var(--ease);
}

.button b {
  font-size: 17px;
}

.button-solid {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.button-solid:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  transform: translateY(-3px);
}

.button-outline:hover {
  border-color: var(--orange);
  background: rgba(237, 106, 44, 0.12);
  transform: translateY(-3px);
}

.hero-actions .button-outline {
  background: rgba(22, 8, 5, 0.72);
  backdrop-filter: blur(10px);
}

.hero-visual {
  position: absolute;
  z-index: 5;
  top: 102px;
  right: max(28px, calc((100vw - 1380px) / 2 - 12px));
  width: min(43vw, 610px);
  height: 610px;
  perspective: 1200px;
  transition: transform 850ms var(--ease);
}

.hero-logo {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(19vw, 280px);
  height: min(19vw, 280px);
  border-radius: 28%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 247, 236, 0.26),
    0 40px 120px rgba(237, 106, 44, 0.3),
    0 0 100px rgba(237, 106, 44, 0.18);
  transform: translate(-50%, -50%) rotate(4deg);
  animation: logoFloat 6.65s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 209, 170, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 25px var(--orange);
}

.orbit::before {
  top: 12%;
  left: 14%;
}

.orbit::after {
  right: 8%;
  bottom: 22%;
}

.orbit-one {
  width: 400px;
  height: 400px;
  animation: orbitSpin 18s linear infinite;
}

.orbit-two {
  width: 510px;
  height: 510px;
  border-style: dashed;
  animation: orbitSpin 30s linear reverse infinite;
}

.orbit-three {
  width: 600px;
  height: 600px;
  border-color: rgba(237, 106, 44, 0.12);
  animation: orbitSpin 42s linear infinite;
}

.floating-shot {
  position: absolute;
  z-index: 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 236, 0.32);
  background: rgba(22, 8, 5, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
  animation: cardFloat 7s var(--ease) infinite;
}

.floating-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-shot figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 6px 7px;
  background: rgba(13, 3, 2, 0.82);
  color: var(--white);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.shot-one {
  top: 10px;
  right: 28px;
  width: 160px;
  height: 112px;
  transform: rotate(6deg);
}

.shot-two {
  right: -2px;
  bottom: 70px;
  width: 188px;
  height: 128px;
  transform: rotate(-5deg);
  animation-delay: -2.4s;
}

.shot-three {
  bottom: 12px;
  left: 2px;
  width: 104px;
  height: 150px;
  transform: rotate(4deg);
  animation-delay: -4.3s;
}

.hero-rail {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(13, 3, 2, 0.38);
  backdrop-filter: blur(12px);
}

.hero-rail div {
  display: grid;
  gap: 13px;
  min-height: 112px;
  padding: 22px max(24px, calc((100vw - 1380px) / 8));
  border-right: 1px solid var(--line);
  transition: background 500ms var(--ease);
}

.hero-rail div:hover {
  background: rgba(237, 106, 44, 0.14);
}

.hero-rail span {
  color: rgba(255, 247, 236, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-rail strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

/* Animated circuitry */

.circuit-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.circuit-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 106, 44, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(237, 106, 44, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 78% 42%, black 10%, transparent 62%);
}

.circuit-chip {
  position: absolute;
  display: grid;
  width: 48px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255, 196, 146, 0.28);
  background: rgba(42, 14, 6, 0.62);
  color: rgba(255, 218, 184, 0.72);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 0 28px rgba(237, 106, 44, 0.08);
  animation: chipBlink 4s ease-in-out infinite;
}

.circuit-chip::before,
.circuit-chip::after {
  content: "";
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--orange-light) 0 3px, transparent 3px 7px);
  opacity: 0.35;
}

.circuit-chip::before {
  left: -5px;
}

.circuit-chip::after {
  right: -5px;
}

.chip-ai {
  top: 22%;
  right: 46%;
}

.chip-api {
  top: 43%;
  right: 4%;
  animation-delay: -1s;
}

.chip-crm {
  right: 35%;
  bottom: 28%;
  animation-delay: -2s;
}

.chip-bot {
  right: 8%;
  bottom: 16%;
  animation-delay: -3s;
}

.circuit-trace {
  position: absolute;
  width: 260px;
  height: 130px;
  border-top: 1px solid rgba(237, 106, 44, 0.22);
  border-right: 1px solid rgba(237, 106, 44, 0.22);
  border-radius: 0 22px 0 0;
}

.circuit-trace::before,
.circuit-trace::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255, 192, 139, 0.55);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 18px rgba(237, 106, 44, 0.42);
  animation: nodeBlink 2.8s ease-in-out infinite;
}

.circuit-trace::before {
  top: -5px;
  left: -5px;
}

.circuit-trace::after {
  right: -5px;
  bottom: -5px;
}

.circuit-trace i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 32px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #ffb36f, transparent);
  filter: blur(0.5px);
  animation: signalMove 4.8s linear infinite;
}

.trace-one {
  top: 19%;
  right: 28%;
  transform: rotate(0deg);
}

.trace-two {
  top: 35%;
  right: -3%;
  transform: rotate(180deg);
}

.trace-three {
  right: 18%;
  bottom: 20%;
  transform: rotate(90deg);
}

.trace-four {
  top: 12%;
  right: 3%;
  width: 180px;
  height: 80px;
  transform: rotate(270deg);
}

.trace-five {
  right: 42%;
  bottom: 15%;
  width: 190px;
  height: 90px;
  transform: rotate(180deg);
}

.trace-six {
  top: 51%;
  right: 45%;
  width: 130px;
  height: 65px;
}

/* Moving rail */

.motion-rail {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(255, 247, 236, 0.28);
  border-bottom: 1px solid rgba(255, 247, 236, 0.28);
  background: var(--orange);
  color: var(--bg);
}

.ticker {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  animation: tickerMove 24s linear infinite;
}

.ticker span {
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  letter-spacing: -0.03em;
}

.ticker i {
  font-style: normal;
  font-size: 13px;
}

/* Shared sections */

.section {
  position: relative;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.45fr);
  column-gap: 70px;
  align-items: end;
  margin-bottom: 62px;
}

.section-index {
  grid-column: 1 / -1;
  margin: 0 0 23px;
  color: var(--orange-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.statement h2,
.final-cta h2,
.case-details h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.section-heading h2 em,
.final-cta h2 em {
  color: var(--orange);
  font-weight: 400;
}

.section-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 850ms var(--ease), transform 850ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services */

.services {
  padding-bottom: 150px;
}

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

.service-card {
  position: relative;
  grid-column: span 6;
  display: flex;
  min-height: 370px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 247, 236, 0.025);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition:
    background 600ms var(--ease),
    border-color 600ms var(--ease),
    transform 180ms ease-out;
  will-change: transform;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 106, 44, 0.28), transparent 68%);
  opacity: 0;
  transform: translate3d(-40%, -40%, 0) scale(0.7);
  transition: opacity 500ms var(--ease), transform 700ms var(--ease);
}

.service-card:hover {
  border-color: rgba(255, 197, 146, 0.5);
  background: rgba(255, 247, 236, 0.055);
}

.service-card:hover::before {
  opacity: 1;
  transform: translate3d(15%, 15%, 0) scale(1.2);
}

.service-card > span {
  position: relative;
  z-index: 2;
  color: var(--orange-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: auto 0 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.service-card p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.service-card b {
  position: relative;
  z-index: 2;
  color: var(--orange-light);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.orange-card {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--bg);
}

.orange-card > span,
.orange-card b {
  color: var(--bg);
}

.orange-card p {
  color: rgba(22, 8, 5, 0.68);
}

.orange-card:hover {
  background: #f47b43;
}

.visual-card {
  grid-column: span 5;
}

.service-card:nth-child(4) {
  grid-column: span 7;
}

.visual-card > img {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: -2%;
  width: 45%;
  height: 124%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.78) contrast(1.08);
  transform: rotate(4deg) scale(1.05);
  transition: transform 900ms var(--ease), opacity 900ms var(--ease);
}

.visual-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(37, 16, 9, 0.94) 54%, rgba(37, 16, 9, 0.2));
}

.visual-card:hover > img {
  opacity: 0.78;
  transform: rotate(1deg) scale(1.12);
}

/* Statement */

.statement {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: 150px max(32px, calc((100vw - 1320px) / 2));
  background: var(--orange);
  color: var(--bg);
}

.statement-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: max-content;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(130px, 18vw, 260px);
  font-style: italic;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(22, 8, 5, 0.2);
  transform: translateY(-50%);
  animation: statementMove 32s linear infinite;
  white-space: nowrap;
}

.statement-copy {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 70px;
  align-items: start;
}

.statement-copy > p {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statement h2 {
  max-width: 960px;
  font-size: clamp(55px, 6.6vw, 96px);
}

/* Prices */

.prices {
  width: 100%;
  padding: 130px max(32px, calc((100vw - 1320px) / 2));
  background: var(--paper);
  color: var(--ink);
}

.prices .section-index {
  color: var(--orange-deep);
}

.prices .section-heading > p:last-child {
  color: var(--muted-dark);
}

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

.price-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.55fr 54px;
  gap: 30px;
  align-items: center;
  min-height: 145px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color 500ms var(--ease), padding 500ms var(--ease);
}

.price-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 500ms var(--ease);
}

.price-row:hover::before,
.price-row.featured::before {
  transform: scaleY(1);
}

.price-row:hover,
.price-row.featured {
  padding-right: 18px;
  padding-left: 18px;
}

.price-name {
  display: flex;
  align-items: center;
  gap: 18px;
}

.price-name span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.price-name h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.price-row > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.48;
  transition: color 500ms var(--ease);
}

.price-row:hover > p,
.price-row.featured > p {
  color: rgba(22, 8, 5, 0.7);
}

.price-row > strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.price-row > a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
  transition: transform 500ms var(--ease), background 500ms var(--ease), color 500ms var(--ease);
}

.price-row > a:hover {
  background: var(--bg);
  color: var(--white);
  transform: rotate(45deg);
}

/* Works */

.works {
  padding-top: 145px;
}

.works-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}

.works-heading .section-heading {
  display: block;
  margin: 0;
}

.works-heading .section-heading h2 {
  margin-bottom: 25px;
}

.works-heading .section-heading > p:last-child {
  max-width: 520px;
}

.work-filter-panel {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.work-filters {
  display: flex;
  gap: 6px;
}

.work-filter {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
}

.work-filter:hover,
.work-filter.active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--bg);
}

.work-count {
  color: rgba(255, 247, 236, 0.42);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.work-item {
  position: relative;
  grid-column: span 4;
  min-height: 560px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #241009;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease-out, border-color 500ms var(--ease);
  will-change: transform;
}

.work-item.wide {
  grid-column: span 8;
}

.work-item:hover {
  border-color: rgba(255, 197, 146, 0.52);
}

.work-item > img {
  width: 100%;
  height: 355px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
  transition: transform 1s var(--ease), filter 1s var(--ease);
}

.work-item:hover > img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.work-copy {
  position: relative;
  display: grid;
  min-height: 204px;
  align-content: start;
  padding: 24px;
}

.work-copy > span,
.visual-item div > span {
  margin-bottom: 18px;
  color: var(--orange-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.work-copy h3,
.visual-item h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.work-copy p {
  max-width: 430px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.work-copy b,
.visual-item b {
  margin-top: auto;
  color: var(--orange-light);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Visuals */

.visuals {
  width: 100%;
  padding: 145px max(32px, calc((100vw - 1320px) / 2));
  background: #240f08;
}

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

.visual-item {
  position: relative;
  grid-column: span 3;
  min-height: 600px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease-out, border-color 500ms var(--ease);
}

.visual-item.visual-wide {
  grid-column: span 3;
}

.visual-item img {
  width: 100%;
  height: 455px;
  object-fit: cover;
  filter: saturate(0.78);
  transition: transform 1s var(--ease), filter 1s var(--ease);
}

.visual-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.06);
}

.visual-item > div {
  display: grid;
  min-height: 145px;
  align-content: start;
  padding: 20px;
}

.visual-item h3 {
  font-size: 25px;
}

.visual-item b {
  margin-top: 9px;
}

/* Process */

.process {
  width: 100%;
  overflow: hidden;
  padding: 145px max(32px, calc((100vw - 1320px) / 2));
  background: var(--paper-warm);
  color: var(--ink);
}

.process .section-index {
  color: var(--orange-deep);
}

.process .section-heading > p:last-child {
  color: var(--muted-dark);
}

.process-list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.process-step {
  position: relative;
  min-height: 330px;
  padding: 23px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 500ms var(--ease), color 500ms var(--ease);
}

.process-step:hover {
  background: var(--orange);
}

.process-step > span {
  display: block;
  margin-bottom: 90px;
  color: var(--orange-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.process-step p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.5;
  transition: color 500ms var(--ease);
}

.process-step:hover p {
  color: rgba(22, 8, 5, 0.7);
}

.process-circuits {
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.process-circuits .circuit-trace {
  border-color: rgba(168, 58, 10, 0.4);
}

.process-circuits .circuit-trace::before,
.process-circuits .circuit-trace::after {
  border-color: rgba(168, 58, 10, 0.55);
  background: var(--paper-warm);
}

.process-trace-one {
  top: 20%;
  right: 10%;
  transform: rotate(180deg);
}

.process-trace-two {
  top: 10%;
  left: 22%;
  transform: rotate(90deg);
}

.process-trace-three {
  right: 38%;
  bottom: 8%;
}

/* FAQ */

.faq {
  padding-top: 145px;
}

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

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

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

.faq summary {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  align-items: center;
  min-height: 92px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.03em;
}

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

.faq summary span {
  color: var(--orange-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.faq summary::after {
  content: "+";
  justify-self: end;
  color: var(--orange);
  font-family: var(--sans);
  font-size: 26px;
  transition: transform 500ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 760px;
  margin: 0 0 38px 52px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

/* Final CTA */

.final-cta {
  position: relative;
  display: grid;
  min-height: 780px;
  overflow: hidden;
  place-content: center;
  padding: 120px 32px;
  background: var(--orange);
  color: var(--bg);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 8, 5, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(22, 8, 5, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.final-cta .section-index {
  position: relative;
  z-index: 3;
  color: var(--bg);
}

.final-cta h2 {
  position: relative;
  z-index: 3;
  max-width: 1120px;
}

.final-cta h2 em {
  color: var(--white);
}

.final-cta > p:not(.section-index) {
  position: relative;
  z-index: 3;
  margin: 30px auto;
  font-size: 17px;
}

.final-actions {
  position: relative;
  z-index: 3;
  justify-content: center;
}

.button-light {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--white);
}

.button-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  transform: translateY(-3px);
}

.button-ghost-light {
  border-color: rgba(22, 8, 5, 0.42);
  color: var(--bg);
}

.button-ghost-light:hover {
  border-color: var(--bg);
  background: rgba(22, 8, 5, 0.08);
}

.final-circuit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(1160px, 90vw);
  align-items: center;
  justify-content: space-between;
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

.final-circuit span {
  display: grid;
  width: 94px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--bg);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.final-circuit i {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: var(--bg);
}

.final-circuit i::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  animation: finalSignal 3s linear infinite;
}

/* Case dialog */

.case-dialog {
  width: min(1160px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255, 247, 236, 0.24);
  background: var(--bg);
  color: var(--white);
}

.case-dialog::backdrop {
  background: rgba(6, 1, 0, 0.84);
  backdrop-filter: blur(10px);
}

.case-shell {
  position: relative;
}

.case-close {
  position: sticky;
  z-index: 10;
  top: 14px;
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 14px 14px 0 0;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(22, 8, 5, 0.84);
  color: var(--white);
  cursor: pointer;
  font-size: 25px;
}

.case-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 700px;
}

.case-visual {
  min-height: 700px;
  border-right: 1px solid var(--line);
  background: var(--bg-deep);
}

.case-live-frame,
.case-image-frame {
  width: 100%;
  height: 100%;
  min-height: 700px;
}

.case-live-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: 0;
  background: white;
}

.case-image-frame {
  display: grid;
  place-items: center;
  padding: 28px;
}

.case-image-frame img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
}

.case-details {
  align-self: center;
  padding: 72px 42px 42px;
}

.case-details h2 {
  margin-bottom: 22px;
  font-size: clamp(45px, 5vw, 72px);
}

.case-summary {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-metric {
  display: grid;
  gap: 6px;
  padding: 18px 0;
}

.case-metric + .case-metric {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.case-metric strong {
  color: var(--orange-light);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.case-metric span {
  color: var(--muted);
  font-size: 11px;
}

.case-details > h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.case-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.case-list li::before {
  content: "↳";
  margin-right: 8px;
  color: var(--orange);
}

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

.case-actions .button {
  width: 100%;
}

.floating-contact {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(22, 8, 5, 0.82);
  backdrop-filter: blur(18px);
}

.floating-contact a {
  padding: 12px 15px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-contact a:first-child {
  background: var(--orange);
}

/* Animations */

@keyframes titleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nodeBlink {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes chipBlink {
  0%,
  100% {
    border-color: rgba(255, 196, 146, 0.2);
    box-shadow: 0 0 20px rgba(237, 106, 44, 0.04);
  }
  50% {
    border-color: rgba(255, 196, 146, 0.55);
    box-shadow: 0 0 32px rgba(237, 106, 44, 0.22);
  }
}

@keyframes signalMove {
  0% {
    left: -10%;
  }
  70%,
  100% {
    left: 100%;
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(4deg) scale(0.98);
    filter: saturate(0.95);
  }
  50% {
    transform: translate(-50%, -53%) rotate(0deg) scale(1.035);
    filter: saturate(1.2);
  }
}

@keyframes orbitSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -13px;
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes statementMove {
  to {
    transform: translate(-50%, -50%);
  }
}

@keyframes finalSignal {
  to {
    left: 100%;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 930px;
  }

  .hero-copy {
    width: min(76vw, 820px);
  }

  .hero-title {
    font-size: clamp(72px, 9vw, 104px);
  }

  .hero-visual {
    right: -80px;
    opacity: 0.72;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading > p:last-child {
    max-width: 540px;
  }

  .work-item,
  .work-item.wide {
    grid-column: span 6;
  }

  .visual-item,
  .visual-item.visual-wide {
    grid-column: span 6;
  }

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

@media (max-width: 760px) {
  body::before {
    background-size: auto, 100% 24vw;
  }

  .cursor-shadow {
    display: none;
  }

  .site-header {
    width: calc(100% - 28px);
    min-height: 61px;
  }

  .brand {
    font-size: 12px;
  }

  .nav-action {
    padding: 10px 11px;
    font-size: 9px;
  }

  .hero {
    min-height: 1120px;
    padding: 94px 14px 128px;
  }

  .hero::after {
    background-size: auto, 100% 25vw;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-kicker {
    margin-bottom: 28px;
    font-size: 8px;
  }

  .hero-title {
    position: relative;
    z-index: 8;
    font-size: clamp(55px, 16vw, 76px);
    line-height: 0.87;
  }

  .title-line.serif {
    font-size: 0.76em;
    letter-spacing: -0.07em;
  }

  .hero-bottom {
    position: relative;
    z-index: 9;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
  }

  .hero-bottom > p {
    max-width: 350px;
    font-size: 15px;
  }

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

  .hero-visual {
    z-index: 2;
    top: 510px;
    right: -137px;
    width: 520px;
    height: 520px;
    opacity: 0.8;
  }

  .hero-logo {
    width: 210px;
    height: 210px;
  }

  .orbit-one {
    width: 340px;
    height: 340px;
  }

  .orbit-two {
    width: 430px;
    height: 430px;
  }

  .orbit-three {
    width: 500px;
    height: 500px;
  }

  .shot-one {
    display: none;
  }

  .shot-two {
    display: none;
  }

  .shot-three {
    display: none;
  }

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

  .hero-rail div {
    min-height: 83px;
    padding: 14px;
  }

  .hero-rail strong {
    font-size: 20px;
  }

  .hero-circuits .circuit-chip {
    display: none;
  }

  .ticker {
    padding: 14px 0;
  }

  .ticker span {
    font-size: 21px;
  }

  .section,
  .prices,
  .visuals,
  .process {
    width: 100%;
    padding: 92px 14px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(51px, 14vw, 72px);
  }

  .section-heading > p:last-child {
    font-size: 14px;
  }

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

  .service-card,
  .visual-card,
  .service-card:nth-child(4) {
    grid-column: auto;
    min-height: 330px;
    padding: 22px;
  }

  .service-card h3 {
    font-size: 38px;
  }

  .visual-card > img {
    width: 58%;
  }

  .statement {
    min-height: 600px;
    padding: 100px 14px;
  }

  .statement-copy {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .statement h2 {
    font-size: clamp(48px, 13vw, 65px);
  }

  .price-row {
    grid-template-columns: 1fr auto;
    gap: 13px;
    min-height: 0;
    padding: 24px 0;
  }

  .price-row:hover,
  .price-row.featured {
    padding: 24px 12px;
  }

  .price-name {
    grid-column: 1 / -1;
  }

  .price-row > p {
    grid-column: 1 / -1;
  }

  .price-row > strong {
    font-size: 21px;
  }

  .price-row > a {
    width: 42px;
    height: 42px;
  }

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

  .work-filter-panel {
    justify-items: start;
    overflow-x: auto;
  }

  .work-filters {
    min-width: max-content;
  }

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

  .work-item,
  .work-item.wide {
    grid-column: auto;
    min-height: 500px;
  }

  .work-item > img {
    height: 310px;
  }

  .work-copy {
    min-height: 190px;
    padding: 20px;
  }

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

  .visual-item,
  .visual-item.visual-wide {
    grid-column: auto;
    min-height: 560px;
  }

  .visual-item img {
    height: 420px;
  }

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

  .process-step {
    min-height: 255px;
  }

  .process-step > span {
    margin-bottom: 62px;
  }

  .faq summary {
    grid-template-columns: 35px 1fr 28px;
    min-height: 82px;
    font-size: 24px;
  }

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

  .final-cta {
    min-height: 690px;
    padding: 90px 14px;
  }

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

  .final-circuit {
    width: 130%;
  }

  .case-dialog {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-visual,
  .case-live-frame,
  .case-image-frame,
  .case-live-frame iframe {
    min-height: 460px;
  }

  .case-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-details {
    padding: 42px 20px 28px;
  }

  .case-details h2 {
    font-size: 50px;
  }

  .floating-contact {
    right: 9px;
    bottom: 9px;
  }
}

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

  .cursor-shadow {
    display: none;
  }
}
