:root {
  --black: #050505;
  --carbon: #0a0a0a;
  --ink: #111111;
  --soft: #f5f5f3;
  --white: #fafafa;
  --cement: #8a8a8a;
  --silver: #b7b7b7;
  --gold: #b38b59;
  --ochre: #c9972f;
  --gloss: #060606;
  --blue: #1e3a5f;
  --cyan: #06b6d4;
  --line-dark: rgba(245, 245, 243, 0.13);
  --line-light: rgba(10, 10, 10, 0.12);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  --focus-ring: 0 0 0 3px rgba(6, 182, 212, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--soft);
  background: var(--black);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body::before {
  position: fixed;
  inset: -18%;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(179, 139, 89, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(30, 58, 95, 0.28), transparent 30%),
    radial-gradient(circle at 58% 88%, rgba(245, 245, 243, 0.08), transparent 34%),
    linear-gradient(135deg, #050505 0%, #101010 48%, #050505 100%);
  filter: none;
  animation: none;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(245, 245, 243, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 245, 243, 0.03) 1px, transparent 1px);
  background-size: 82px 82px;
  pointer-events: none;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  box-shadow: var(--focus-ring);
}

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

.site-header {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(10px);
}

.menu-toggle {
  position: relative;
  z-index: 130;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 5px;
  padding: 0;
  color: var(--soft);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.12), rgba(245, 245, 243, 0.025)),
    rgba(6, 6, 6, 0.76);
  border: 1px solid rgba(201, 151, 47, 0.58);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}

.menu-toggle::before {
  position: absolute;
  inset: -34%;
  z-index: -1;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(6, 182, 212, 0.62), transparent, rgba(201, 151, 47, 0.72), transparent);
  opacity: 0.52;
  animation: menu-ring 5s linear infinite;
}

.menu-toggle::after {
  position: absolute;
  inset: 5px;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle at 68% 26%, rgba(6, 182, 212, 0.24), transparent 28%),
    rgba(5, 5, 5, 0.9);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.32);
  transition: transform 180ms ease, width 180ms ease, opacity 180ms ease;
}

.menu-toggle span:last-child {
  width: 12px;
  justify-self: end;
}

.menu-open .menu-toggle {
  border-color: rgba(6, 182, 212, 0.78);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  width: 18px;
  transform: translateY(-3.5px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  line-height: 1;
}

.brand span,
h1,
h2,
h3,
.numbers-grid strong {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.brand span {
  font-size: 2.1rem;
}

.brand small {
  margin-bottom: 4px;
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: rgba(245, 245, 243, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a,
.nav-cta,
.button {
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.nav-cta,
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(245, 245, 243, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  will-change: transform;
}

.nav-cta,
.button.primary {
  color: var(--soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(6, 6, 6, 0.78);
  border: 1px solid rgba(201, 151, 47, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(201, 151, 47, 0.14),
    0 18px 42px rgba(201, 151, 47, 0.14);
  backdrop-filter: blur(8px);
}

.button.secondary {
  color: var(--soft);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.1), rgba(245, 245, 243, 0.025)),
    rgba(6, 6, 6, 0.62);
  border-color: rgba(201, 151, 47, 0.58);
  backdrop-filter: blur(8px);
}

.button.primary::after,
.nav-cta::after {
  width: 7px;
  height: 7px;
  margin-left: 12px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 133, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 28px rgba(201, 151, 47, 0.24),
    0 18px 42px rgba(0, 0, 0, 0.24);
}

.section-dark,
.section-light {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 4vw, 58px);
}

.section-light {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(245, 245, 243, 0.92), rgba(216, 210, 200, 0.78)),
    var(--soft);
}

.section-dark {
  background:
    radial-gradient(circle at 10% 12%, rgba(201, 151, 47, 0.09), transparent 28%),
    linear-gradient(135deg, rgba(245, 245, 243, 0.045), rgba(245, 245, 243, 0.015)),
    rgba(5, 5, 5, 0.72);
}

.hero {
  min-height: calc(100svh - 85px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding-top: clamp(58px, 7vw, 96px);
}

.urban-bg,
.urban-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.58;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.32) 48%, rgba(5, 5, 5, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(201, 151, 47, 0.18), transparent 28%),
    radial-gradient(circle at 78% 64%, rgba(6, 182, 212, 0.12), transparent 30%);
  filter: none;
}

.urban-bg::after,
.urban-light::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(245, 245, 243, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 245, 243, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-content,
.hero-visual,
.section-head,
.two-columns,
.service-grid,
.timeline,
.numbers-grid,
.final-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.numbers-grid strong {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e4 36%, #858585 56%, #ffffff 74%, #6f6f6f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 20px 52px rgba(0, 0, 0, 0.42);
}

.section-light h2,
.section-light h3 {
  background: linear-gradient(180deg, #050505 0%, #111111 42%, #6a6a6a 56%, #050505 76%, #1b1b1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

h1 {
  max-width: 1040px;
  margin-bottom: 20px;
  font-size: clamp(4.8rem, 10.5vw, 11rem);
  line-height: 0.82;
}

h2 {
  max-width: 1060px;
  margin-bottom: 14px;
  font-size: clamp(3.4rem, 7.6vw, 7.8rem);
  line-height: 0.86;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 0.9;
}

p {
  color: rgba(245, 245, 243, 0.7);
  font-size: 1rem;
}

.section-light p {
  color: rgba(10, 10, 10, 0.68);
}

.subheadline {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(1.12rem, 1.65vw, 1.36rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.15), rgba(245, 245, 243, 0.04)),
    rgba(5, 5, 5, 0.48);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-visual::after {
  position: absolute;
  right: 18px;
  bottom: 54px;
  width: 72px;
  height: 3px;
  content: "";
  background: var(--ochre);
  box-shadow: 0 0 22px rgba(201, 151, 47, 0.45);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 0.9 / 1;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.08) brightness(0.78);
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 2px 2px;
  color: rgba(245, 245, 243, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

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

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.numbers-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-carousel {
  position: relative;
  z-index: 1;
  min-height: clamp(520px, 54vw, 680px);
  max-width: 1180px;
  margin: 44px auto 0;
  perspective: 1600px;
  overflow: hidden;
}

.carousel-horizon {
  position: absolute;
  top: 42%;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 47, 0.62), transparent);
}

.carousel-horizon::after {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 260px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(201, 151, 47, 0.18), transparent 68%);
  filter: none;
  transform: translateX(-50%);
}

.project-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.project-stage::after {
  position: absolute;
  right: 16%;
  bottom: 8%;
  left: 16%;
  height: 24%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72), transparent 68%);
  filter: none;
  transform: rotateX(76deg);
}

.project-card {
  --project-a: rgba(20, 20, 20, 0.96);
  --project-b: rgba(201, 151, 47, 0.34);
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 580px);
  min-height: 350px;
  display: grid;
  grid-template-rows: 40px 1fr;
  color: var(--soft);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.14), rgba(245, 245, 243, 0.035)),
    rgba(6, 6, 6, 0.72);
  border: 1px solid rgba(201, 151, 47, 0.42);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    18px 38px 0 rgba(0, 0, 0, 0.22),
    0 42px 96px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  transform:
    translate(-50%, -50%)
    translateX(var(--x, 0px))
    translateY(var(--y, 0px))
    translateZ(var(--z, 0px))
    rotateY(var(--ry, 0deg))
    rotateX(var(--rx, 0deg))
    scale(var(--s, 1));
  transform-style: preserve-3d;
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, filter 420ms ease;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.project-frame {
  position: relative;
  display: block;
  border-radius: 18px 18px 0 0;
  border-bottom: 1px solid rgba(201, 151, 47, 0.24);
  background: rgba(245, 245, 243, 0.07);
}

.project-frame::before {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 48px;
  height: 9px;
  content: "";
  background:
    radial-gradient(circle at 5px 50%, rgba(201, 151, 47, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 24px 50%, rgba(245, 245, 243, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 43px 50%, rgba(245, 245, 243, 0.28) 0 4px, transparent 5px);
}

.project-content {
  position: relative;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.82));
}

.project-content img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92) contrast(1.04) brightness(0.76);
  transform: scale(1.01);
  transition: transform 700ms ease, filter 700ms ease;
}

.project-content::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.2) 38%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 44%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.project-content small {
  position: relative;
  z-index: 2;
  color: var(--ochre);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-content strong {
  position: relative;
  z-index: 2;
  max-width: 430px;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.project-content em {
  position: relative;
  z-index: 2;
  max-width: 370px;
  color: rgba(245, 245, 243, 0.72);
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.project-card:hover .project-content img,
.project-card.is-active .project-content img {
  filter: saturate(1.04) contrast(1.06) brightness(0.86);
  transform: scale(1.045);
}

.project-card.is-active {
  --x: 0px;
  --y: 52px;
  --z: 260px;
  --ry: 0deg;
  --rx: 1deg;
  --s: 1;
  z-index: 8;
  opacity: 1;
  pointer-events: auto;
}

.project-card.is-next {
  --x: min(30vw, 360px);
  --y: -42px;
  --z: -260px;
  --ry: -34deg;
  --rx: 8deg;
  --s: 0.62;
  z-index: 5;
  opacity: 0.82;
  pointer-events: auto;
  filter: none;
}

.project-card.is-prev {
  --x: max(-30vw, -360px);
  --y: -42px;
  --z: -260px;
  --ry: 34deg;
  --rx: 8deg;
  --s: 0.62;
  z-index: 5;
  opacity: 0.82;
  pointer-events: auto;
  filter: none;
}

.project-card.is-far-next,
.project-card.is-far-prev {
  --y: -98px;
  --z: -620px;
  --rx: 12deg;
  --s: 0.42;
  z-index: 2;
  opacity: 0.38;
  filter: none;
}

.project-card.is-far-next {
  --x: min(40vw, 520px);
  --ry: -54deg;
}

.project-card.is-far-prev {
  --x: max(-40vw, -520px);
  --ry: 54deg;
}

.project-card.goldhouse {
  --project-a: rgba(24, 18, 10, 0.96);
  --project-b: rgba(201, 151, 47, 0.48);
}

.project-card.twb {
  --project-a: rgba(6, 14, 25, 0.96);
  --project-b: rgba(30, 58, 95, 0.62);
}

.project-card.laundry {
  --project-a: rgba(8, 20, 17, 0.96);
  --project-b: rgba(138, 138, 138, 0.38);
}

.project-card.fege {
  --project-a: rgba(18, 18, 18, 0.96);
  --project-b: rgba(216, 210, 200, 0.34);
}

.project-card.techno {
  --project-a: rgba(20, 8, 6, 0.96);
  --project-b: rgba(184, 92, 56, 0.38);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 151, 47, 0.72);
  border-radius: 50%;
  color: var(--soft);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.12), rgba(245, 245, 243, 0.03)),
    rgba(6, 6, 6, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.carousel-arrow:hover {
  border-color: rgba(6, 182, 212, 0.72);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.14), rgba(245, 245, 243, 0.04)),
    rgba(6, 6, 6, 0.86);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.8), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)),
    rgba(245, 245, 243, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 70px rgba(10, 10, 10, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 84px rgba(10, 10, 10, 0.16);
}

.testimonial-card p {
  color: rgba(10, 10, 10, 0.72);
  font-size: 1.08rem;
  font-weight: 700;
}

.testimonial-card strong {
  color: var(--ochre);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glass-card,
.service-card,
.timeline article,
.numbers-grid article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  background:
    radial-gradient(circle at 24% 18%, rgba(245, 245, 243, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(245, 245, 243, 0.14), rgba(245, 245, 243, 0.035) 58%, rgba(201, 151, 47, 0.055)),
    rgba(10, 10, 10, 0.46);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, border-color 220ms ease;
  animation: none;
}

.section-light .glass-card,
.section-light .timeline article {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.8), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)),
    rgba(245, 245, 243, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 70px rgba(10, 10, 10, 0.12);
}

.glass-card:hover,
.service-card:hover,
.timeline article:hover,
.numbers-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 151, 47, 0.58);
}

.card-index,
.service-card span,
.timeline span,
.numbers-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--ochre);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  color: rgba(10, 10, 10, 0.72);
  font-weight: 800;
}

.service-card p,
.numbers-grid span {
  color: rgba(245, 245, 243, 0.68);
}

.glass-card li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  content: "";
  border: 1px solid rgba(201, 151, 47, 0.84);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(201, 151, 47, 0.28);
}

.service-card::after,
.numbers-grid article::after,
.timeline article::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 54px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--ochre));
  opacity: 0.72;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.12);
}

.timeline article {
  min-height: 230px;
  box-shadow: none;
}

.numbers-grid article {
  min-height: 220px;
}

.numbers-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.82;
}

.final-cta {
  min-height: 78svh;
  display: grid;
  place-items: center;
}

.urban-light {
  opacity: 0.38;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.86)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 151, 47, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 22% 22%, rgba(201, 151, 47, 0.2), transparent 32%);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.final-cta::before {
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(70vw, 860px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 151, 47, 0.7), transparent);
  transform: translateX(-50%);
}

.final-copy {
  max-width: 980px;
  text-align: center;
}

.final-copy .actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: rgba(245, 245, 243, 0.58);
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@keyframes liquid-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1) rotate(0deg);
  }

  to {
    transform: translate3d(2%, 2%, 0) scale(1.06) rotate(8deg);
  }
}

@keyframes liquid-card {
  from {
    background-position: 0% 20%, 0% 50%, center;
  }

  to {
    background-position: 100% 80%, 100% 50%, center;
  }
}

@keyframes menu-ring {
  to {
    transform: rotate(360deg);
  }
}

@keyframes menu-scan {
  from {
    transform: translateY(-120%);
  }

  to {
    transform: translateY(420%);
  }
}

@media (max-width: 1080px) {
  .hero,
  .two-columns,
  .service-grid,
  .timeline,
  .numbers-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(5, 5, 5, 0.9);
  }

  .site-header::after {
    position: fixed;
    inset: 0;
    z-index: 98;
    content: "";
    background:
      radial-gradient(circle at 74% 9%, rgba(6, 182, 212, 0.14), transparent 34%),
      rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .menu-open .site-header::after {
    opacity: 1;
    pointer-events: auto;
  }

  .brand span {
    font-size: 1.78rem;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 71px;
    right: 12px;
    left: 12px;
    z-index: 120;
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 2px;
    counter-reset: mobile-nav;
    max-height: calc(100svh - 92px);
    padding: 12px;
    color: rgba(245, 245, 243, 0.82);
    background:
      linear-gradient(90deg, rgba(6, 182, 212, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, rgba(245, 245, 243, 0.06) 1px, transparent 1px),
      radial-gradient(circle at 88% 12%, rgba(6, 182, 212, 0.14), transparent 28%),
      linear-gradient(145deg, rgba(245, 245, 243, 0.12), rgba(245, 245, 243, 0.03)),
      rgba(5, 5, 5, 0.94);
    background-size: 28px 28px, 28px 28px, auto, auto, auto;
    border: 1px solid rgba(6, 182, 212, 0.26);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    overflow: auto;
    clip-path: inset(0 0 100% 0 round 18px);
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, clip-path 220ms ease;
  }

  .main-nav::before {
    height: 24px;
    content: "Navigation System";
    display: flex;
    align-items: center;
    padding: 0 12px 8px;
    color: rgba(6, 182, 212, 0.86);
    border-bottom: 1px solid rgba(6, 182, 212, 0.16);
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .main-nav::after {
    position: absolute;
    right: 12px;
    left: 12px;
    height: 28px;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.12), transparent);
    pointer-events: none;
    animation: menu-scan 3.2s ease-in-out infinite;
  }

  .main-nav a {
    counter-increment: mobile-nav;
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(245, 245, 243, 0.08);
    border-radius: 10px;
  }

  .main-nav a::before {
    min-width: 30px;
    content: "0" counter(mobile-nav);
    color: rgba(201, 151, 47, 0.82);
    font-size: 0.68rem;
  }

  .main-nav a::after {
    width: 7px;
    height: 7px;
    margin-left: auto;
    content: "";
    border-top: 2px solid rgba(6, 182, 212, 0.62);
    border-right: 2px solid rgba(6, 182, 212, 0.62);
    transform: rotate(45deg);
  }

  .main-nav a:hover {
    color: var(--white);
    background: rgba(6, 182, 212, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0 round 18px);
    transform: translateY(0);
  }

  .nav-cta {
    grid-column: 1 / -1;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.68rem;
  }

  .hero,
  .two-columns,
  .service-grid,
  .timeline,
  .numbers-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .project-carousel {
    min-height: 0;
    margin-top: 24px;
    overflow: visible;
    perspective: none;
  }

  .carousel-horizon,
  .carousel-arrow,
  .project-stage::after {
    display: none;
  }

  .project-stage {
    position: relative;
    inset: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(286px, 82vw);
    gap: 14px;
    overflow-x: auto;
    padding: 4px 4px 22px;
    scroll-padding-left: 4px;
    scroll-snap-type: x mandatory;
    transform-style: flat;
    -webkit-overflow-scrolling: touch;
  }

.project-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 360px;
    opacity: 1;
    pointer-events: auto;
    scroll-snap-align: start;
    transform: none !important;
    filter: none !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 24px 72px rgba(0, 0, 0, 0.38);
  }

  .project-content {
    min-height: 320px;
    padding: 24px;
  }

  .project-content strong {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .project-card.is-next,
  .project-card.is-prev,
  .project-card.is-far-next,
  .project-card.is-far-prev {
    opacity: 1;
    pointer-events: auto;
  }

  .section-dark,
  .section-light {
    padding: 58px 14px;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.4rem);
  }

  h2 {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

  .actions,
  .button,
  .nav-cta {
    width: 100%;
  }

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

  .hero-proof article {
    min-height: 86px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 14px;
  }
}

@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;
  }
}

/* Hero-only premium restructure */
.hero {
  min-height: calc(100svh - 85px);
  grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(46px, 5vw, 72px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

.hero .urban-bg {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.9)),
    radial-gradient(circle at 18% 14%, rgba(201, 151, 47, 0.16), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(30, 58, 95, 0.32), transparent 34%),
    url("../avif/strategic-visual-showcase.avif") center / cover no-repeat;
  filter: none;
  transform: none;
}

.hero-abstract {
  display: none;
}

.positioning::before,
.services::before,
.projects::before,
.method::before,
.results::before,
.testimonials::before,
.final-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 151, 47, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.26;
  pointer-events: none;
  animation: none;
}

.positioning::after,
.services::after,
.projects::after,
.method::after,
.results::after,
.testimonials::after,
.final-cta::after {
  position: absolute;
  inset: -18%;
  z-index: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(6, 182, 212, 0.04) 48%, transparent 56%);
  opacity: 0.18;
  mix-blend-mode: normal;
  pointer-events: none;
  animation: section-overlay-drift 28s ease-in-out infinite alternate;
}

.positioning::before,
.method::before {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 10, 10, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.34;
  mix-blend-mode: normal;
}

.positioning::after,
.method::after {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 10, 10, 0.05) 1px, transparent 1px);
  opacity: 0.2;
  mix-blend-mode: normal;
}

.hero-abstract::before {
  position: absolute;
  inset: 11% 8% auto auto;
  width: min(42vw, 620px);
  height: min(42vw, 620px);
  content: "";
  border: 1px solid rgba(201, 151, 47, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(201, 151, 47, 0.14) 37% 38%, transparent 39% 100%),
    conic-gradient(from 120deg, transparent, rgba(201, 151, 47, 0.28), transparent, rgba(245, 245, 243, 0.12), transparent);
  filter: blur(0.2px);
  animation: orbit-line 18s linear infinite;
}

.hero-abstract > span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 47, 0.42), rgba(245, 245, 243, 0.2), transparent);
  filter: blur(0.2px);
  opacity: 0.72;
}

.hero-abstract > span:nth-child(1) {
  top: 24%;
  right: -8%;
  width: min(54vw, 780px);
  height: 1px;
  animation: future-line-a 8s ease-in-out infinite alternate;
}

.hero-abstract > span:nth-child(2) {
  top: 58%;
  right: 4%;
  width: min(42vw, 620px);
  height: 1px;
  transform: rotate(-16deg);
  animation: future-line-b 10s ease-in-out infinite alternate;
}

.hero-abstract > span:nth-child(3) {
  right: 30%;
  bottom: 15%;
  width: 1px;
  height: min(34vh, 320px);
  background: linear-gradient(180deg, transparent, rgba(201, 151, 47, 0.32), transparent);
  animation: future-line-c 7s ease-in-out infinite alternate;
}

.data-orbit {
  position: absolute;
  z-index: 1;
  width: clamp(150px, 18vw, 260px);
  padding: 14px;
  color: rgba(245, 245, 243, 0.82);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.12), rgba(245, 245, 243, 0.025)),
    rgba(3, 8, 12, 0.58);
  border: 1px solid rgba(6, 182, 212, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 72px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
}

.data-orbit small {
  display: block;
  margin-bottom: 10px;
  color: rgba(6, 182, 212, 0.86);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.orbit-code {
  top: 15%;
  right: 7%;
  display: grid;
  gap: 7px;
  animation: orbit-panel-a 12s ease-in-out infinite alternate;
}

.orbit-code code {
  display: block;
  color: rgba(245, 245, 243, 0.76);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.58rem, 0.76vw, 0.72rem);
  white-space: nowrap;
}

.orbit-preview {
  top: 24%;
  right: 28%;
  width: clamp(170px, 19vw, 280px);
  min-height: 154px;
  animation: orbit-panel-b 14s ease-in-out infinite alternate;
}

.orbit-preview i,
.orbit-preview b,
.orbit-preview em {
  display: block;
  border-radius: 999px;
}

.orbit-preview i {
  width: 76%;
  height: 42px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(201, 151, 47, 0.74), rgba(6, 182, 212, 0.34));
}

.orbit-preview b {
  width: 92%;
  height: 8px;
  margin-bottom: 9px;
  background: rgba(245, 245, 243, 0.28);
}

.orbit-preview b + b {
  width: 62%;
}

.orbit-preview em {
  width: 42%;
  height: 24px;
  margin-top: 14px;
  background: rgba(6, 182, 212, 0.36);
}

.orbit-table {
  right: 10%;
  bottom: 16%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  animation: orbit-panel-c 10s ease-in-out infinite alternate;
}

.orbit-table small {
  grid-column: 1 / -1;
}

.orbit-table span,
.orbit-table strong {
  font-size: 0.78rem;
  font-weight: 900;
}

.orbit-table span {
  color: rgba(245, 245, 243, 0.56);
}

.orbit-table strong {
  color: var(--soft);
}

.orbit-report {
  top: 58%;
  right: 34%;
  animation: orbit-panel-d 15s ease-in-out infinite alternate;
}

.orbit-report span {
  display: block;
  height: 9px;
  margin-top: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 151, 47, 0.74), rgba(6, 182, 212, 0.18));
}

.orbit-report span:nth-of-type(2) {
  width: 68%;
}

.orbit-report span:nth-of-type(3) {
  width: 82%;
}

.orbit-chat {
  top: 9%;
  left: 47%;
  width: clamp(170px, 20vw, 290px);
  animation: orbit-panel-e 11s ease-in-out infinite alternate;
}

.orbit-chat p {
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 10px;
  color: rgba(245, 245, 243, 0.78);
  background: rgba(245, 245, 243, 0.08);
  border: 1px solid rgba(245, 245, 243, 0.1);
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 800;
}

.orbit-chat p:last-child {
  margin-left: auto;
  color: rgba(5, 5, 5, 0.84);
  background: rgba(201, 151, 47, 0.82);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0.22;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 245, 243, 0.38) 1px, transparent 0);
  background-size: 4px 4px;
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-content {
  max-width: 840px;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(5.2rem, 11vw, 12rem);
  line-height: 0.8;
  animation: hero-rise 760ms ease both;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  padding: 2px;
}

.trust-line span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  color: rgba(245, 245, 243, 0.78);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.12), rgba(245, 245, 243, 0.03)),
    rgba(6, 6, 6, 0.52);
  border: 1px solid rgba(201, 151, 47, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 720px);
  margin-top: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(201, 151, 47, 0.28);
  background: rgba(201, 151, 47, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.hero-proof article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.12), rgba(245, 245, 243, 0.025)),
    rgba(5, 5, 5, 0.66);
}

.hero-proof strong {
  color: var(--soft);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 4.7rem);
  font-weight: 400;
  line-height: 0.82;
}

.hero-proof span {
  color: rgba(245, 245, 243, 0.68);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual {
  animation: none;
}

.hero-visual img {
  aspect-ratio: 0.92 / 1;
  filter: contrast(1.08) saturate(1.05) brightness(0.82);
}

.dashboard-card {
  position: absolute;
  right: -18px;
  bottom: 78px;
  min-width: 178px;
  padding: 16px;
  color: var(--soft);
  background:
    linear-gradient(145deg, rgba(245, 245, 243, 0.14), rgba(245, 245, 243, 0.035)),
    rgba(6, 6, 6, 0.74);
  border: 1px solid rgba(201, 151, 47, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
}

.dashboard-card span,
.dashboard-card small {
  display: block;
  color: rgba(245, 245, 243, 0.64);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-card strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--ochre);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.9;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 22px;
  height: 42px;
  display: grid;
  justify-items: center;
  border: 1px solid rgba(245, 245, 243, 0.26);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 4px;
  height: 4px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ochre);
  animation: scroll-dot 1.7s ease-in-out infinite;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes visual-float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10px);
  }
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  70% {
    transform: translateY(18px);
    opacity: 0.32;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes section-overlay-drift {
  from {
    background-position: center center;
    transform: translate3d(-8px, -4px, 0);
  }

  to {
    background-position: 58% 46%;
    transform: translate3d(8px, 4px, 0);
  }
}

@keyframes section-grid-drift {
  from {
    background-position: 0 0, 0 0, center;
  }

  to {
    background-position: 46px 0, 0 46px, center;
  }
}

@keyframes orbit-line {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes future-line-a {
  from {
    transform: translateX(0);
    opacity: 0.28;
  }

  to {
    transform: translateX(-9%);
    opacity: 0.78;
  }
}

@keyframes future-line-b {
  from {
    transform: rotate(-16deg) translateX(0);
    opacity: 0.2;
  }

  to {
    transform: rotate(-16deg) translateX(-12%);
    opacity: 0.68;
  }
}

@keyframes future-line-c {
  from {
    transform: translateY(12%);
    opacity: 0.22;
  }

  to {
    transform: translateY(-8%);
    opacity: 0.62;
  }
}

@keyframes orbit-panel-a {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
    opacity: 0.42;
  }

  to {
    transform: translate3d(-26px, 18px, 0) rotate(2deg);
    opacity: 0.76;
  }
}

@keyframes orbit-panel-b {
  from {
    transform: translate3d(18px, -10px, 0) rotate(4deg) scale(0.96);
    opacity: 0.28;
  }

  to {
    transform: translate3d(-18px, 20px, 0) rotate(-3deg) scale(1);
    opacity: 0.62;
  }
}

@keyframes orbit-panel-c {
  from {
    transform: translate3d(0, 18px, 0) rotate(2deg);
    opacity: 0.42;
  }

  to {
    transform: translate3d(-18px, -14px, 0) rotate(-2deg);
    opacity: 0.72;
  }
}

@keyframes orbit-panel-d {
  from {
    transform: translate3d(0, 0, 0) rotate(-4deg);
    opacity: 0.24;
  }

  to {
    transform: translate3d(22px, -20px, 0) rotate(3deg);
    opacity: 0.56;
  }
}

@keyframes orbit-panel-e {
  from {
    transform: translate3d(16px, 10px, 0) rotate(3deg);
    opacity: 0.34;
  }

  to {
    transform: translate3d(-20px, -12px, 0) rotate(-2deg);
    opacity: 0.68;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    padding-top: 58px;
    padding-bottom: 76px;
  }

  .hero .urban-bg {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.9)),
      radial-gradient(circle at 18% 14%, rgba(201, 151, 47, 0.16), transparent 28%),
      radial-gradient(circle at 80% 18%, rgba(30, 58, 95, 0.32), transparent 34%),
      url("../avif/strategic-visual-showcase.avif") center / cover no-repeat;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .data-orbit {
    max-width: calc(100vw - 32px);
    opacity: 0.36;
    transform: scale(0.82);
  }

  .orbit-code {
    top: 8%;
    right: 16px;
  }

  .orbit-table {
    right: 16px;
    bottom: 20%;
  }

  .orbit-chat {
    top: 2%;
    right: 16px;
    left: auto;
  }

  .orbit-preview,
  .orbit-report {
    display: none;
  }

  .dashboard-card {
    right: 10px;
    bottom: 72px;
  }
}

@media (max-width: 900px) {
  .positioning::after,
  .services::after,
  .projects::after,
  .method::after,
  .results::after,
  .testimonials::after,
  .final-cta::after {
    animation: none;
    opacity: 0.18;
    transform: none;
  }

  .site-header,
  .nav-cta,
  .button,
  .hero-proof,
  .trust-line span,
  .glass-card,
  .service-card,
  .timeline article,
  .numbers-grid article,
  .project-card,
  .testimonial-card,
  .dashboard-card {
    backdrop-filter: none;
  }
}

/* Performance mode: static digital look, no heavy 3D or continuous motion */
.site-header,
.nav-cta,
.button,
.hero-visual,
.glass-card,
.service-card,
.timeline article,
.numbers-grid article,
.project-card,
.testimonial-card,
.hero-proof,
.trust-line span,
.dashboard-card,
.data-orbit {
  backdrop-filter: none !important;
}

.positioning::before,
.services::before,
.projects::before,
.method::before,
.results::before,
.testimonials::before,
.final-cta::before,
.positioning::after,
.services::after,
.projects::after,
.method::after,
.results::after,
.testimonials::after,
.final-cta::after,
.hero::before,
.scroll-indicator span,
.menu-toggle::before,
.orbit-code,
.orbit-preview,
.orbit-table,
.orbit-report,
.orbit-chat {
  animation: none !important;
}

.positioning::after,
.services::after,
.projects::after,
.method::after,
.results::after,
.testimonials::after,
.final-cta::after {
  transform: none !important;
  opacity: 0.18;
}

.project-carousel {
  min-height: 0 !important;
  max-width: 1180px;
  margin-top: 34px;
  overflow: visible;
  perspective: none !important;
}

.carousel-horizon,
.carousel-arrow,
.project-stage::after {
  display: none !important;
}

.project-stage {
  position: relative !important;
  inset: auto !important;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
  transform-style: flat !important;
}

.project-card,
.project-card.is-active,
.project-card.is-next,
.project-card.is-prev,
.project-card.is-far-next,
.project-card.is-far-prev {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  min-height: 0;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  transition: transform 160ms ease, border-color 160ms ease !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28) !important;
  filter: none !important;
}

.project-card:hover {
  transform: translateY(-3px) !important;
}

.project-frame {
  min-height: 0;
}

.project-content {
  min-height: 260px;
  padding: 22px;
}

.project-content img,
.project-card:hover .project-content img,
.project-card.is-active .project-content img {
  transform: none !important;
  transition: none !important;
  filter: brightness(0.78) contrast(1.02) !important;
}

.hero h1 {
  animation: none !important;
}

.reveal {
  transition: opacity 240ms ease, transform 240ms ease !important;
}

@media (max-width: 1100px) {
  .project-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-stage {
    grid-template-columns: 1fr;
  }
}

/* Spatial project loop: lightweight 3D room motion */
.project-carousel {
  min-height: clamp(620px, 62vw, 780px) !important;
  max-width: 1180px;
  perspective: 1450px !important;
  perspective-origin: 50% 42%;
  overflow: hidden !important;
}

.project-carousel::before {
  position: absolute;
  inset: 6% 10% 4%;
  z-index: 0;
  content: "";
  border: 1px solid rgba(201, 151, 47, 0.16);
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 151, 47, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: rotateX(66deg) translateY(30%);
  transform-origin: center bottom;
  opacity: 0.3;
  pointer-events: none;
}

.project-carousel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.82), transparent 22%, transparent 78%, rgba(5, 5, 5, 0.82)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.58), transparent 28%, transparent 72%, rgba(5, 5, 5, 0.68));
  pointer-events: none;
}

.project-stage {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  transform-style: preserve-3d !important;
}

.project-stage::after {
  display: block !important;
  opacity: 0.45;
}

.carousel-horizon,
.carousel-arrow {
  display: grid !important;
}

.project-card,
.project-card.is-active,
.project-card.is-next,
.project-card.is-prev,
.project-card.is-far-next,
.project-card.is-far-prev {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: min(62vw, 620px) !important;
  min-height: 340px;
  pointer-events: none !important;
  transform:
    translate(-50%, -50%)
    translate3d(var(--space-x, 0px), var(--space-y, 0px), var(--space-z, 0px))
    rotateX(var(--space-rx, 0deg))
    rotateY(var(--space-ry, 0deg))
    scale(var(--space-scale, 1)) !important;
  opacity: var(--space-opacity, 0);
  filter: none !important;
  transition:
    transform 1050ms cubic-bezier(0.2, 0.72, 0.16, 1),
    opacity 700ms ease,
    border-color 220ms ease !important;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: none !important;
  will-change: transform, opacity;
}

.project-card.depth-0 {
  --space-y: 160px;
  --space-z: 430px;
  --space-rx: 0deg;
  --space-ry: 0deg;
  --space-scale: 1;
  --space-opacity: 1;
  z-index: 9;
  pointer-events: auto !important;
}

.project-card.depth-1 {
  --space-y: -126px;
  --space-z: -420px;
  --space-rx: 17deg;
  --space-ry: 0deg;
  --space-scale: 0.54;
  --space-opacity: 0.46;
  z-index: 5;
}

.project-card.depth-2 {
  --space-y: -360px;
  --space-z: -1120px;
  --space-rx: 24deg;
  --space-ry: 0deg;
  --space-scale: 0.24;
  --space-opacity: 0;
  z-index: 1;
}

.project-card.depth-3 {
  --space-y: 370px;
  --space-z: -1280px;
  --space-rx: -18deg;
  --space-ry: 0deg;
  --space-scale: 0.2;
  --space-opacity: 0;
  z-index: 1;
}

.project-card.depth-4 {
  --space-y: 420px;
  --space-z: -1360px;
  --space-rx: -20deg;
  --space-ry: 0deg;
  --space-scale: 0.18;
  --space-opacity: 0;
  z-index: 1;
}

.project-card.depth-0 .project-content img {
  filter: brightness(0.86) contrast(1.04) !important;
}

.project-card.depth-0:hover {
  border-color: rgba(6, 182, 212, 0.56);
}

@media (max-width: 760px) {
  .project-carousel {
    min-height: 0 !important;
    overflow: visible !important;
    perspective: none !important;
  }

  .project-carousel::before,
  .carousel-horizon,
  .carousel-arrow,
  .project-stage::after {
    display: none !important;
  }

  .project-stage {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .project-card,
  .project-card.depth-0,
  .project-card.depth-1,
  .project-card.depth-2,
  .project-card.depth-3,
  .project-card.depth-4 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
  }
}

/* 3D coverflow project carousel */
.project-carousel {
  min-height: clamp(500px, 48vw, 640px) !important;
  perspective: 1200px !important;
  perspective-origin: 50% 48%;
}

.project-carousel::before {
  display: none !important;
}

.project-carousel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78), transparent 16%, transparent 84%, rgba(5, 5, 5, 0.78)),
    linear-gradient(180deg, transparent 0%, transparent 68%, rgba(5, 5, 5, 0.38) 100%);
  pointer-events: none;
}

.carousel-horizon {
  display: none !important;
}

.project-stage {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  transform-style: preserve-3d !important;
}

.project-stage::after {
  display: block !important;
  right: 18% !important;
  bottom: 8% !important;
  left: 18% !important;
  height: 18% !important;
  opacity: 0.42;
  transform: rotateX(78deg);
}

.project-card,
.project-card.is-active,
.project-card.is-next,
.project-card.is-prev,
.project-card.is-far-next,
.project-card.is-far-prev,
.project-card.depth-0,
.project-card.depth-1,
.project-card.depth-2,
.project-card.depth-3,
.project-card.depth-4 {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: min(38vw, 430px) !important;
  min-height: 330px;
  opacity: var(--cover-opacity, 0.7) !important;
  pointer-events: auto !important;
  transform:
    translate(-50%, -50%)
    translate3d(var(--cover-x, 0px), var(--cover-y, 0px), var(--cover-z, 0px))
    rotateY(var(--cover-ry, 0deg))
    scale(var(--cover-scale, 1)) !important;
  transform-origin: center center;
  transition:
    transform 760ms cubic-bezier(0.2, 0.78, 0.2, 1),
    opacity 520ms ease,
    border-color 180ms ease !important;
  filter: none !important;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.36) !important;
  z-index: var(--cover-zindex, 1);
}

.project-card.depth-0 {
  --cover-x: 0px;
  --cover-y: 22px;
  --cover-z: 180px;
  --cover-ry: 0deg;
  --cover-scale: 1.12;
  --cover-opacity: 1;
  --cover-zindex: 8;
}

.project-card.depth-1 {
  --cover-x: min(25vw, 290px);
  --cover-y: 8px;
  --cover-z: -80px;
  --cover-ry: -42deg;
  --cover-scale: 0.88;
  --cover-opacity: 0.82;
  --cover-zindex: 5;
}

.project-card.depth-2 {
  --cover-x: min(43vw, 510px);
  --cover-y: 16px;
  --cover-z: -260px;
  --cover-ry: -54deg;
  --cover-scale: 0.78;
  --cover-opacity: 0.68;
  --cover-zindex: 3;
}

.project-card.depth-3 {
  --cover-x: max(-43vw, -510px);
  --cover-y: 16px;
  --cover-z: -260px;
  --cover-ry: 54deg;
  --cover-scale: 0.78;
  --cover-opacity: 0.68;
  --cover-zindex: 3;
}

.project-card.depth-4 {
  --cover-x: max(-25vw, -290px);
  --cover-y: 8px;
  --cover-z: -80px;
  --cover-ry: 42deg;
  --cover-scale: 0.88;
  --cover-opacity: 0.82;
  --cover-zindex: 5;
}

.project-content {
  min-height: clamp(300px, 35vw, 390px);
}

.project-content img,
.project-card:hover .project-content img,
.project-card.is-active .project-content img,
.project-card.depth-0 .project-content img {
  transform: none !important;
  transition: none !important;
  filter: brightness(0.82) contrast(1.04) saturate(0.96) !important;
}

.project-card.depth-0 .project-content img {
  filter: brightness(0.92) contrast(1.05) saturate(1.02) !important;
}

.project-card.depth-0:hover {
  border-color: rgba(6, 182, 212, 0.6);
}

@media (max-width: 980px) {
  .project-card,
  .project-card.depth-0,
  .project-card.depth-1,
  .project-card.depth-2,
  .project-card.depth-3,
  .project-card.depth-4 {
    width: min(54vw, 410px) !important;
  }
}

/* Final smartphone layout guard: keep every section breathable and non-overflowing */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .section-dark,
  .section-light,
  .site-footer {
    padding-left: max(20px, env(safe-area-inset-left)) !important;
    padding-right: max(20px, env(safe-area-inset-right)) !important;
  }

  .section-dark,
  .section-light {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .hero {
    min-height: auto !important;
    padding-top: 72px !important;
    padding-bottom: 76px !important;
  }

  .section-head,
  .hero-content,
  .final-copy,
  .two-columns,
  .service-grid,
  .timeline,
  .numbers-grid,
  .testimonial-grid,
  .project-carousel,
  .project-stage,
  .hero-proof,
  .trust-line {
    width: 100% !important;
    max-width: 100% !important;
  }

  h1,
  h2,
  h3,
  p,
  .button,
  .nav-cta,
  .project-content strong,
  .project-content em {
    overflow-wrap: anywhere;
  }

  .actions,
  .final-copy .actions {
    width: 100%;
    gap: 12px;
  }

  .button,
  .nav-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }

  .glass-card,
  .service-card,
  .timeline article,
  .numbers-grid article,
  .testimonial-card,
  .project-card,
  .hero-proof article {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .project-carousel {
    min-height: 0 !important;
    margin-top: 28px !important;
    overflow: visible !important;
    perspective: none !important;
  }

  .project-carousel::before,
  .project-carousel::after,
  .carousel-horizon,
  .carousel-arrow,
  .project-stage::after {
    display: none !important;
  }

  .project-stage {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    gap: 18px !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-padding-left: 0 !important;
    scroll-snap-type: none !important;
    transform: none !important;
  }

  .project-card,
  .project-card.is-active,
  .project-card.is-next,
  .project-card.is-prev,
  .project-card.is-far-next,
  .project-card.is-far-prev,
  .project-card.depth-0,
  .project-card.depth-1,
  .project-card.depth-2,
  .project-card.depth-3,
  .project-card.depth-4 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    scroll-snap-align: none !important;
    transform: none !important;
    transition: none !important;
  }

  .project-content {
    min-height: 300px !important;
    padding: 22px !important;
  }

  .trust-line {
    gap: 8px;
  }

  .trust-line span {
    white-space: normal;
  }
}
