/* =========================================================
   ARIESX — Website v2
   Dark, clean, motion-rich. Accent: lime (current site identity)
   with brand-blue glows (from the ARIESX mark).
   ========================================================= */

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #18181c;
  --paper: #f2f2ee;
  --ink: #0f0f12;
  --text: #f4f4f5;
  --muted: #9b9ba5;
  --muted-2: #6b6b75;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #0E2E6E;
  --accent-rgb: 14, 46, 110;
  --accent-2: #0a2252;
  --accent-mid: #1e52b8;
  --accent-end: #22d3ee;
  --accent-ink: #ffffff;
  --blue: #1f8bff;
  --cyan: #22d3ee;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Kanit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
}

.section--tight {
  padding: clamp(60px, 8vw, 100px) 0;
}

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

.section--light .muted {
  color: #5c5c66;
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
.display,
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.h-xxl {
  font-size: clamp(44px, 7.6vw, 124px);
  text-transform: uppercase;
  line-height: 0.92;
}

.h-xl {
  font-size: clamp(40px, 6.4vw, 96px);
  text-transform: uppercase;
  line-height: 0.96;
}

.h-lg {
  font-size: clamp(34px, 4.6vw, 68px);
}

.h-md {
  font-size: clamp(26px, 2.8vw, 40px);
}

.h-sm {
  font-size: clamp(20px, 1.8vw, 26px);
}

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--muted);
  max-width: 640px;
}

.section--light .lead {
  color: #55555f;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .num {
  color: var(--accent);
}

.section--light .eyebrow .num {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 99px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.55);
}

.grad-text div {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-mid) 40%, var(--accent-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* SplitText helpers */
.split-line {
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

[data-split] {
  visibility: hidden;
}

.no-js [data-split],
.reduced [data-split] {
  visibility: visible;
}

html:not(.no-js):not(.reduced) [data-hero-fade],
html:not(.no-js):not(.reduced) .hero .float-shape,
html:not(.no-js):not(.reduced) .hero .inline-shape {
  opacity: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn .btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease);
}

.btn:hover .btn-arrow {
  transform: rotate(-45deg);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--accent::before {
  background: #fff;
}

.btn--accent:hover {
  color: var(--ink);
}

.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
}

.btn--ghost::before {
  background: var(--accent);
}

.btn--ghost:hover {
  color: var(--accent-ink);
  border-color: var(--accent);
}

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

.btn--dark::before {
  background: var(--accent);
}

.btn--dark:hover {
  color: var(--accent-ink);
}

.btn--sm {
  --h: 46px;
  padding: 0 22px;
  font-size: 13px;
}

.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Circle button (Watch video etc.) */
.circle-btn {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  border: 1px solid var(--line-2);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.circle-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.circle-btn .play {
  width: 0;
  height: 0;
  border-left: 12px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin: 0 auto 6px;
}

/* ---------- Preloader ---------- */
/* Preloader */
html.is-preloading body {
  overflow: hidden;
}

html.is-preloading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--bg);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: grid;
  place-items: center;
}

.preloader__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.preloader__svg {
  width: clamp(84px, 14vw, 128px);
  height: clamp(84px, 14vw, 128px);
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(var(--accent-rgb), 0.16));
}

.preloader__svg .ax-shape {
  fill: #ffffff;
  fill-opacity: 0;
  stroke: #ffffff;
  stroke-width: 0.8;
  stroke-linejoin: round;
}

/* Page transition */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  display: flex;
}

.page-transition span {
  flex: 1;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
}

.page-transition span:nth-child(even) {
  background: var(--accent-2);
}

html.is-entering .page-transition span {
  transform: scaleY(1);
  transform-origin: top;
}

/* ---------- Cursor ---------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  pointer-events: none;
  border-radius: 50%;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent);
}

.cursor {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
}

.cursor span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor.is-hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--accent);
}

.cursor.is-label {
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  background: var(--accent);
  border-color: var(--accent);
}

.cursor.is-label span {
  opacity: 1;
}

.cursor.is-hidden,
.cursor-dot.is-hidden {
  opacity: 0;
}

@media (hover: none),
(pointer: coarse) {

  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* Scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
}

.progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s;
}

.header.is-scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.header.is-hidden {
  transform: translateY(-110%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
}

.nav a {
  position: relative;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: #d7d7dc;
  overflow: hidden;
  display: inline-block;
  transition: color 0.3s, background 0.3s;
}

.nav a .roll-mask {
  display: block;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
}

.nav a .roll {
  display: block;
  position: relative;
  transition: transform 0.5s var(--ease);
}

.nav a .roll::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
}

.nav a:hover .roll {
  transform: translateY(-100%);
}

.nav a.is-active {
  background: var(--text);
  color: var(--ink);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}

.burger span:nth-child(1) {
  top: 17px;
}

.burger span:nth-child(2) {
  top: 25px;
}

.menu-open .burger {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-open .burger span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 0;
}

.mobile-menu__bars span {
  background: var(--bg);
  transform: scaleY(0);
  will-change: transform;
}

.mobile-menu__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 108px var(--pad) 34px;
  overflow-y: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: auto 0;
}

.mobile-menu a.big {
  font-family: var(--font-display);
  font-size: clamp(38px, 11vw, 68px);
  text-transform: uppercase;
  line-height: 1.08;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 4px 0;
}

.mobile-menu a.big span {
  display: inline-block;
  transition: color 0.25s;
}

.mobile-menu a.big.is-active {
  color: var(--accent);
}

.mobile-menu a.big:hover {
  color: var(--accent);
}

.mobile-menu__foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 14px;
}

.mobile-menu__foot a:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(92px, 10vh, 124px) 0 clamp(28px, 4vh, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

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

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.6;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.blob--a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--blue), transparent 65%);
  top: -120px;
  right: -80px;
}

.blob--b {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), transparent 65%);
  bottom: -120px;
  left: -120px;
  opacity: 0.35;
}

.blob--mouse {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 65%);
  top: 0;
  left: 0;
  opacity: 0.28;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.hero__kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
  }
}

.hero__title {
  position: relative;
}

.hero__title .row {
  display: block;
}

.hero__title .row--indent {
  padding-left: clamp(0px, 12vw, 200px);
}

.hero__title .inline-shape {
  display: inline-block;
  vertical-align: middle;
  width: clamp(60px, 9vw, 150px);
  height: clamp(36px, 5.4vw, 90px);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 0.15em;
  position: relative;
  top: -0.06em;
}

.hero__title .inline-shape video,
.hero__title .inline-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title .inline-shape--mark {
  background: var(--accent);
  display: inline-grid;
  place-items: center;
}

.hero__title .inline-shape--mark svg {
  width: 42%;
  height: auto;
}

.hero__foot {
  margin-top: clamp(22px, 3.8vh, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.hero__foot p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.badge-rotate {
  position: relative;
  width: 150px;
  height: 150px;
}

.badge-rotate svg {
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
}

.badge-rotate text {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  fill: var(--text);
}

.badge-rotate .center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.badge-rotate .center span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.float-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.float-shape--1 {
  width: clamp(120px, 14vw, 230px);
  right: 6%;
  top: 22%;
}

.float-shape--2 {
  width: clamp(60px, 6vw, 100px);
  left: 46%;
  top: 16%;
}

.float-shape--3 {
  width: clamp(70px, 7vw, 120px);
  right: 28%;
  bottom: 14%;
}

.wiggle {
  animation: wiggle 7s ease-in-out infinite;
}

.wiggle-slow {
  animation: wiggle 11s ease-in-out infinite reverse;
}

@keyframes wiggle {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(10px, -16px) rotate(6deg);
  }

  50% {
    transform: translate(-6px, 10px) rotate(-4deg);
  }

  75% {
    transform: translate(-12px, -8px) rotate(3deg);
  }
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-hint .mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--line-2);
  border-radius: 20px;
  position: relative;
}

.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scrolly 1.8s var(--ease) infinite;
}

@keyframes scrolly {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* Hero media (expands on scroll) */
.hero-media {
  position: relative;
  padding: clamp(32px, 5vh, 64px) var(--pad) 0;
}

.hero-media__frame {
  position: relative;
  height: min(78vh, 760px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  will-change: clip-path;
}

.hero-media__frame img {
  width: 100%;
  height: 115%;
  object-fit: cover;
}

.hero-media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0) 40%, rgba(10, 10, 12, 0.85) 100%);
}

.hero-media__caption {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vw, 48px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-media__caption h3 {
  font-size: clamp(26px, 3.4vw, 52px);
  text-transform: uppercase;
  max-width: 760px;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  user-select: none;
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--gap, 64px);
  padding-right: var(--gap, 64px);
  animation: marquee var(--speed, 32s) linear infinite;
  will-change: transform;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

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

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.marquee--fade {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logos .marquee__track img {
  height: 58px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 0.3s, filter 0.3s;
}

.logos .marquee__track img:hover {
  opacity: 1;
  filter: none;
}

.logos__label {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.text-marquee {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-marquee .marquee__track {
  --gap: 40px;
}

.text-marquee span {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 92px);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.text-marquee .star {
  width: clamp(30px, 3.6vw, 56px);
  color: var(--accent);
}

.band {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-2deg);
  margin: 0 -20px;
  border: 0;
}

.band .star {
  color: var(--accent-ink);
}

/* ---------- Intro / Who we are ---------- */
.intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(30px, 6vw, 90px);
}

.highlight-text {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.3vw, 66px);
  line-height: 1.08;
  font-weight: 400;
}

.highlight-text .word {
  opacity: 0.16;
  transition: none;
}

.highlight-text em {
  font-style: normal;
  color: var(--accent);
}

.intro__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.intro__side .circle-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
}

.intro__side .circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(60px, 8vw, 110px);
}

.stat {
  padding: 34px 26px 0 0;
  border-right: 1px solid var(--line);
  padding-left: 26px;
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  display: flex;
  align-items: flex-start;
}

.stat__num sup {
  font-size: 0.45em;
  color: var(--accent);
  margin-left: 4px;
  top: 0.2em;
  position: relative;
}

.stat p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

/* ---------- Section head ---------- */
.s-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.s-head .eyebrow {
  margin-bottom: 22px;
}

.s-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.s-head--center .lead {
  margin: 0 auto;
}

/* ---------- Team models (cards) ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.model {
  position: relative;
  padding: 38px 34px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.8s var(--ease);
}

.model:hover {
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: translateY(-6px);
}

.model:hover::before {
  clip-path: circle(150% at 100% 0%);
}

.model:hover p,
.model:hover .model__num {
  color: var(--accent-ink);
  opacity: 0.82;
}

.model__num {
  font-family: var(--font-display);
  color: var(--muted-2);
  font-size: 15px;
  letter-spacing: 0.1em;
  transition: color 0.4s;
}

.model h3 {
  font-size: clamp(30px, 2.8vw, 42px);
  text-transform: uppercase;
  margin: 70px 0 16px;
}

.model p {
  color: var(--muted);
  transition: color 0.4s;
}

.model__icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease), border-color 0.4s;
}

.model:hover .model__icon {
  transform: rotate(-45deg);
  border-color: currentColor;
}

/* ---------- Services (stacking cards) ---------- */
.stack {
  display: grid;
  gap: 0;
}

.stack-card {
  position: sticky;
  top: max(76px, calc(50svh - clamp(470px, 64svh, 550px) / 2));
  height: clamp(470px, 64svh, 550px);
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  transform-origin: center top;
  will-change: transform;
}

.stack-card:nth-child(2) {
  background: #15161b;
}

.stack-card:nth-child(3) {
  background: #1a1b20;
}

.stack-card:nth-child(4) {
  background: #1e1f25;
}

.stack-card__body {
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
}

.stack-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

.stack-card__num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
}

.stack-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb), 0.1);
  display: grid;
  place-items: center;
}

.stack-card__icon img {
  width: 26px;
  filter: brightness(0) invert(1);
}

.stack-card h3 {
  font-size: clamp(28px, 3vw, 48px);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.stack-card p {
  color: var(--muted);
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
}

.stack-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.stack-card .tag {
  padding: 6px 13px;
  font-size: 13px;
}

.stack-card .btn {
  margin-top: 20px !important;
}

.tag {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: #d6d6dc;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.tag:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.section--light .tag {
  border-color: rgba(0, 0, 0, 0.15);
  color: #2a2a30;
}

.stack-card__media {
  position: relative;
  overflow: hidden;
  margin: 14px;
  border-radius: calc(var(--radius-lg) - 10px);
}

.stack-card__media img,
.stack-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}

.stack-card:hover .stack-card__media img,
.stack-card:hover .stack-card__media video {
  transform: scale(1);
}

/* ---------- Horizontal work gallery ---------- */
.hwork {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 6vh, 96px) 0;
}

.hwork__head {
  margin-bottom: clamp(24px, 3.5vh, 40px);
}

.hwork__track {
  display: flex;
  gap: 28px;
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}

.work-card {
  position: relative;
  width: clamp(300px, 34vw, 500px);
  flex-shrink: 0;
  display: block;
  cursor: pointer;
}

.hwork .work-card {
  width: clamp(260px, 26vw, 400px);
}

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}

.hwork .work-card__media {
  aspect-ratio: auto;
  height: clamp(260px, 44vh, 460px);
}

.work-card__media img,
.work-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease), filter 0.6s;
}

.work-card:hover .work-card__media img,
.work-card:hover .work-card__media video {
  transform: scale(1);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.hwork .work-card__meta {
  margin-top: 14px;
}

.work-card__meta h3 {
  font-size: clamp(22px, 2vw, 30px);
  text-transform: uppercase;
}

.work-card__meta span {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  padding-top: 6px;
}

.work-card__cat {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.work-card--wide .work-card__media {
  aspect-ratio: 5 / 4;
}

.work-card--end {
  display: grid;
  place-items: center;
  width: clamp(260px, 26vw, 380px);
}

.work-card--end .circle-btn {
  width: 220px;
  height: 220px;
  font-size: 18px;
}

/* Work grid (work page) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.filter {
  padding: 11px 22px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.filter.is-active,
.filter:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 32px;
}

.work-grid .work-card {
  width: auto;
}

.work-grid .work-card:nth-child(even) {
  margin-top: 120px;
}

.work-grid .work-card.is-hidden {
  display: none;
}

.work-grid.is-filtered .work-card:nth-child(even) {
  margin-top: 0;
}

/* ---------- Tech expertise ---------- */
.tech {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tech__item {
  aspect-ratio: 1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease);
}

.tech__item img,
.tech__item svg {
  width: 74px;
  height: 74px;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.tech__item span {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.tech__item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tech__item:hover img,
.tech__item:hover svg {
  transform: scale(1.12) rotate(-4deg);
}

/* ---------- Why (light, Creative Software-like) ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why__card {
  padding: 40px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.why__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}

.why__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #111114;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
}

.why__icon svg {
  stroke: #fff;
}

.why__card h3 {
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 12px;
}

.why__card p {
  color: #5c5c66;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process__line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-2);
}

.process__line i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.process__step {
  position: relative;
  padding-right: 30px;
}

.process__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  transition: background 0.4s, color 0.4s;
}

.process__step.is-active .process__dot {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.process__step h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.process__step p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Testimonials ---------- */
.testi {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.testi__slides {
  display: grid;
  align-items: start;
}

.testi__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.testi__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testi__quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.25;
  font-weight: 400;
}

.testi__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.testi__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
}

.testi__author strong {
  display: block;
  font-size: 17px;
}

.testi__author span {
  color: var(--muted);
  font-size: 14px;
}

.testi__nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  align-items: center;
}

.testi__nav button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.testi__nav button:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.testi__count {
  font-family: var(--font-display);
  color: var(--muted);
  margin-left: 12px;
}

.testi__side .rating {
  width: 104px;
  margin: 28px 0 10px;
}

.quote-mark {
  width: 70px;
  height: 70px;
  color: var(--accent);
  margin-bottom: 30px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
}

.cta__title {
  font-size: clamp(54px, 11vw, 190px);
  text-transform: uppercase;
  line-height: 0.9;
}

.cta__title .line2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2em;
}

.cta__btn {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  display: inline-grid;
  place-items: center;
  width: clamp(120px, 13vw, 200px);
  height: clamp(120px, 13vw, 200px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: transform 0.6s var(--ease);
  vertical-align: middle;
}

.cta__btn:hover {
  transform: scale(1.08) rotate(-8deg);
}

.cta .lead {
  margin: 36px auto 0;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 90px 0 30px;
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.footer__hello {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.footer__mail {
  display: inline-block;
  margin-top: 22px;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--accent);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer li {
  margin-bottom: 10px;
  color: #cfcfd6;
}

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

.footer address {
  font-style: normal;
  color: #cfcfd6;
  line-height: 1.7;
}

.footer address+address {
  margin-top: 18px;
}

.footer address strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.socials a:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer__word {
  font-family: var(--font-display);
  font-size: clamp(64px, 21vw, 420px);
  line-height: 0.8;
  text-transform: uppercase;
  text-align: center;
  margin: 50px 0 20px;
  display: flex;
  justify-content: center;
  cursor: default;
}

.footer__word span {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
}

.footer__word span::after {
  content: attr(data-char);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-mid) 38%, #7ea2ff 78%, #ffffff 100%);
  background-size: 520% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  -webkit-mask-image: radial-gradient(circle 250px at var(--mx, -400px) var(--my, -400px), #000 38%, transparent 88%);
  mask-image: radial-gradient(circle 250px at var(--mx, -400px) var(--my, -400px), #000 38%, transparent 88%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.footer__word span:nth-child(1)::after {
  background-position: 0% 50%;
}

.footer__word span:nth-child(2)::after {
  background-position: 20% 50%;
}

.footer__word span:nth-child(3)::after {
  background-position: 40% 50%;
}

.footer__word span:nth-child(4)::after {
  background-position: 60% 50%;
}

.footer__word span:nth-child(5)::after {
  background-position: 80% 50%;
}

.footer__word span:nth-child(6)::after {
  background-position: 100% 50%;
}

.footer__word.is-hovered span::after {
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  color: var(--muted-2);
  font-size: 14px;
}

.to-top-float {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 95;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.to-top-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top-float:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(115px, 11vw, 150px) 0 clamp(44px, 5vw, 72px);
  overflow: hidden;
}

.page-hero .eyebrow {
  margin-bottom: 20px;
}

.page-hero__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  margin-top: 32px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

/* ---------- About ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 20px;
}

.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figure:nth-child(1) {
  grid-row: span 2;
}

.gallery figure:nth-child(2) {
  grid-row: span 2;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.5s var(--ease);
}

.feature-row:hover {
  padding-left: 20px;
}

.feature-row .n {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 18px;
}

.feature-row h3 {
  font-size: clamp(24px, 2.4vw, 36px);
  text-transform: uppercase;
}

.feature-row p {
  color: var(--muted);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 40px 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3);
}

.plan--featured {
  background: var(--ink);
  color: #fff;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan__note {
  font-size: 14px;
  color: #6b6b75;
  margin-top: 8px;
  min-height: 44px;
}

.plan--featured .plan__note {
  color: #a0a0aa;
}

.plan__price {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1;
  margin: 30px 0 6px;
}

.plan__price small {
  font-size: 16px;
  color: #6b6b75;
  font-family: var(--font-body);
}

.plan__price.custom {
  font-size: clamp(30px, 2.6vw, 40px);
}

.plan ul {
  margin: 30px 0 36px;
  display: grid;
  gap: 12px;
}

.plan li {
  display: flex;
  gap: 12px;
  font-size: 15px;
}

.plan li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.plan__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Service detail (services page) */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.svc:nth-child(even) .svc__media {
  order: -1;
}

.svc__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--bg-3);
}

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

.svc__num {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 160px);
  line-height: 0.8;
  display: block;
  margin-bottom: 20px;
}

.svc h2 {
  font-size: clamp(34px, 4vw, 62px);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.svc p {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Steps (design thinking) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  padding: 34px 30px 42px;
  min-height: 260px;
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 36px;
  overflow: hidden;
}

.step-card .s {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b75;
}

.step-card h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  text-transform: uppercase;
  min-height: 2.04em;
}

.step-card .big {
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
}

.contact__info {
  display: grid;
  gap: 34px;
  align-content: start;
}

.info-block h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 10px;
}

.info-block a,
.info-block p {
  font-size: clamp(18px, 1.5vw, 22px);
}

.info-block a:hover {
  color: var(--accent);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
  padding: clamp(28px, 4vw, 50px);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.field {
  position: relative;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  font-size: 17px;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field select option {
  background: var(--bg-2);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.chip input:checked+span {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.form__note {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 13px;
}

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

.office {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}

.office img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.office:hover img {
  transform: scale(1.06);
}

.office__label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(12px);
}

.office__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.office__label span {
  color: #c9c9d0;
  font-size: 14px;
}

/* ---------- Video modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: var(--pad);
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__inner {
  width: min(1000px, 100%);
  border-radius: var(--radius);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.6s var(--ease);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.modal.is-open .modal__inner {
  transform: scale(1);
}

.modal__inner video,
.modal__inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background: #000;
}

.modal__caption {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.modal__caption strong {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
}

.modal__caption span {
  color: var(--muted);
  font-size: 14px;
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
}

/* ---------- Reveal defaults (set by JS) ---------- */
.reveal-img {
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (min-width: 1600px) {
  :root {
    --container: min(1520px, 88vw);
  }

  .hero-media__frame {
    height: min(80vh, 880px);
  }

  .d2-stage {
    height: min(600px, 68svh);
    top: max(92px, calc(50svh - 300px));
  }
}

@media (max-width: 1100px) {
  .tech {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (max-width: 960px) {

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .band {
    margin: 0;
  }

  .nav,
  .header__actions .btn {
    display: none;
  }

  .burger {
    display: block;
  }

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

  .badge-rotate {
    width: 120px;
    height: 120px;
  }

  .intro,
  .testi,
  .split-2,
  .contact,
  .svc {
    grid-template-columns: 1fr;
  }

  .svc:nth-child(even) .svc__media {
    order: 0;
  }

  .intro__side .circle-img {
    display: none;
  }

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

  .stat {
    padding: 26px 20px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
  }

  .stat:nth-child(even) {
    border-right: 0;
    padding-right: 0;
  }

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

  .models,
  .pricing,
  .offices {
    grid-template-columns: 1fr;
  }

  .stack-card {
    grid-template-columns: 1fr;
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    margin-bottom: 24px;
  }

  .stack-card__media {
    aspect-ratio: 16 / 10;
    margin: 0 14px 14px;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 40px 0;
  }

  .process__line {
    display: none;
  }

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

  .hwork {
    min-height: 0;
    padding: clamp(56px, 8vw, 90px) 0;
  }

  .hwork__track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .work-card,
  .hwork .work-card,
  .hwork .work-card--end {
    scroll-snap-align: start;
    width: clamp(270px, 74vw, 380px);
  }

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

  .work-grid .work-card {
    width: 100%;
  }

  .work-grid .work-card:nth-child(even) {
    margin-top: 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }

  .gallery figure:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery figure:nth-child(2) {
    grid-row: span 2;
  }

  .feature-row {
    grid-template-columns: 50px 1fr;
  }

  .feature-row p {
    grid-column: 2;
  }

  .page-hero__row {
    grid-template-columns: 1fr;
  }

  .float-shape--2 {
    display: none;
  }

  .float-shape--1 {
    opacity: 0.45;
    width: 110px;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 34px;
  }

  .to-top-float {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .h-xxl {
    font-size: clamp(32px, 9.6vw, 48px);
  }

  .h-xl {
    font-size: clamp(30px, 8.6vw, 44px);
  }

  .cta__title {
    font-size: clamp(36px, 11vw, 64px);
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 48px;
  }

  .form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

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

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

  .hero__title .row--indent {
    padding-left: 0;
  }

  .hero-media__frame {
    height: clamp(340px, 56svh, 480px);
  }

  .circle-btn {
    width: 100px;
    height: 100px;
    font-size: 12px;
  }

  .model {
    min-height: 260px;
    padding: 28px 24px;
  }

  .why__card {
    padding: 28px 22px;
  }

  .s-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }

  .feature-row p {
    grid-column: 1;
  }

  .float-shape {
    display: none;
  }

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

  .d2-metrics {
    grid-template-columns: 1fr;
  }

  .modal__caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .modal__close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {

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

/* ---------- Digital 2.0 (cinema studio) ---------- */
.d2-hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(110px, 12vh, 148px) 0 clamp(36px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.d2-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.d2-hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity, clip-path;
}

.d2-hero__bg video.is-active {
  opacity: 1;
}

.d2-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.84) 0%, rgba(10, 10, 12, 0.66) 45%, rgba(10, 10, 12, 0.97) 100%);
}

.d2-shape {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.d2-shape--sec-a {
  width: clamp(52px, 5vw, 82px);
  right: 5%;
  top: 44px;
  opacity: 0.85;
}

.d2-shape--sec-b {
  width: clamp(54px, 5vw, 86px);
  left: 3%;
  bottom: 54px;
  opacity: 0.85;
}

.d2-shape--sec-c {
  width: clamp(90px, 9vw, 140px);
  right: 4%;
  top: 28px;
  opacity: 0.55;
}

.d2-hero__inner {
  position: relative;
  z-index: 3;
}

.d2-hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.d2-hero__tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c8c8d2;
  background: rgba(255, 255, 255, 0.03);
}

.d2-hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-top: clamp(28px, 4.5vh, 52px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.d2-hero__statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

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

.d2-chapter {
  position: relative;
  text-align: left;
  padding: 14px 0 4px;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}

.d2-chapter::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.d2-chapter i {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.d2-chapter__n {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 4px;
  transition: color 0.35s;
}

.d2-chapter__t {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d6d6de;
  transition: color 0.35s;
}

.d2-chapter__sub {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}

.d2-chapter:hover .d2-chapter__t,
.d2-chapter.is-active .d2-chapter__t {
  color: #fff;
}

.d2-chapter.is-active .d2-chapter__n {
  color: var(--accent);
}

.d2-manifesto {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.d2-manifesto__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.d2-axis {
  width: 42px;
  height: 42px;
  color: var(--accent);
  opacity: 0.85;
  flex-shrink: 0;
}

.d2-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.d2-metric__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.d2-metric__num sup {
  font-size: 0.45em;
  color: var(--accent);
}

.d2-metric p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.d2-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.d2-items {
  border-top: 1px solid var(--line);
}

.d2-item {
  position: relative;
  padding: clamp(34px, 5.5vh, 60px) 0 clamp(34px, 5.5vh, 60px) 24px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.34;
  transition: opacity 0.45s var(--ease), padding-left 0.45s var(--ease);
}

.d2-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}

.d2-item.is-active {
  opacity: 1;
  padding-left: 32px;
}

.d2-item.is-active::before {
  transform: scaleY(1);
}

.d2-item__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.d2-item__meta span:first-child {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 16px;
}

.d2-item h3 {
  font-size: clamp(28px, 3vw, 44px);
  text-transform: uppercase;
}

.d2-item p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
  max-width: 440px;
}

.d2-item__mob {
  display: none;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.d2-item__mob img,
.d2-item__mob video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d2-stage {
  position: sticky;
  top: max(92px, calc(50svh - 260px));
  height: min(520px, 66svh);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
}

.d2-stage__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  will-change: opacity;
}

.d2-stage__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.d2-stage__slide img,
.d2-stage__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d2-stage__foot {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.d2-stage__foot span {
  font-size: 14px;
  color: #d7d7de;
}

.d2-craft {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  perspective: 900px;
}

.d2-craft__cell {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 230px;
  transition: background 0.4s;
}

.d2-craft__cell:hover {
  background: rgba(255, 255, 255, 0.03);
}

.d2-craft__cell .num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.d2-craft__cell h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin: 28px 0 10px;
}

.d2-craft__cell p {
  color: var(--muted);
  font-size: 14px;
  margin-top: auto;
}

.d2-tools-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.d2-tools-bar__logos {
  display: flex;
  align-items: center;
  gap: 28px;
}

.d2-tools-bar__logos img {
  height: 42px;
  width: auto;
}

.step-card {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  transition: color 0.45s var(--ease);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}

.step-card:hover {
  color: #fff;
}

.step-card:hover::before {
  transform: translateY(0);
}

.step-card:hover .s,
.step-card:hover p {
  color: #b5b5c0 !important;
}

.step-card:hover .big {
  color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 960px) {
  .d2-hero__foot {
    grid-template-columns: 1fr;
  }

  .d2-chapters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .d2-stage {
    display: none;
  }

  .d2-item {
    opacity: 1;
    padding-left: 18px;
  }

  .d2-item__mob {
    display: block;
  }

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

  .d2-shape {
    display: none;
  }
}

@media (max-width: 600px) {
  .d2-chapters {
    grid-template-columns: 1fr;
  }

  .d2-craft {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   REFINED HUMAN POLISH (clean, unified across all 5 pages)
   ========================================================= */
:root {
  --accent-soft: #7ea2ff;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* Remove gas-cloud radial blobs */
.blob { display: none !important; }

/* Subtle editorial serif italic for highlighted display phrases */
.grad-text,
.grad-text div {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--accent-soft);
  -webkit-text-fill-color: currentColor;
}

.grad-text {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  padding: 0.04em 0.16em 0.12em 0.02em;
  margin: -0.04em -0.14em -0.12em 0;
}

/* Clean bare section numbers (no AI bordered boxes or slashed-zero mono) */
.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.eyebrow .num {
  color: var(--accent-soft);
  border: 0;
  padding: 0;
  background: none;
}

.section--light .eyebrow .num {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 2px 9px;
  border-radius: 99px;
}

/* Marquee separators: typographic slash & italic contrast */
.text-marquee .sep {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--accent-soft);
  opacity: 0.85;
}

.text-marquee .marquee-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
}

.band .sep { color: rgba(255, 255, 255, 0.55); }
.footer__hello span { color: var(--muted); }

/* Dark-surface accent contrast */
.accent,
.highlight-text em,
.stat__num sup,
.stack-card__num,
.process__dot,
.quote-mark,
.footer__mail,
.footer li a:hover,
.mobile-menu a.big.is-active,
.mobile-menu a.big:hover,
.mobile-menu__foot a:hover,
.breadcrumb a:hover,
.info-block a:hover,
.feature-row .n,
.d2-chapter.is-active .d2-chapter__n,
.d2-axis,
.d2-metric__num sup,
.d2-item__meta span:first-child,
.d2-craft__cell .num {
  color: var(--accent-soft);
}

.process__step.is-active .process__dot { color: var(--accent-ink); }
.process__line i { background: var(--accent-soft); }

.section--light .accent,
.section--light .feature-row .n,
.section--light .stat__num sup { color: var(--accent); }

/* Clean surfaces & labels across inner pages */
.model { background: var(--bg-2); }
.stack-card__icon {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}
.cta__title .outline-text { -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28); }

.svc__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.svc__num::after {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(126, 162, 255, 0.35);
}

.d2-hero__tag {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.d2-chapter i { background: var(--accent-soft); }

/* Architectural 4-col structural backdrop & blueprint spotlight */
.hx-cols {
  position: absolute;
  inset: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hx-cols i { border-left: 1px solid rgba(255, 255, 255, 0.045); }
.hx-cols i:last-child { border-right: 1px solid rgba(255, 255, 255, 0.045); }

.hx-blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 162, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 162, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(280px circle at var(--hx, 70%) var(--hy, 40%), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 78%);
  -webkit-mask-image: radial-gradient(280px circle at var(--hx, 70%) var(--hy, 40%), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 78%);
  opacity: 0.9;
}

/* Contact form status & honeypot */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__status {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--line);
}

.form__status.is-ok {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.form__status.is-err {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}
