:root {
  --bg: #091117;
  --bg-soft: #111d26;
  --panel: rgba(14, 24, 33, 0.72);
  --panel-strong: rgba(18, 29, 40, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4efe8;
  --muted: #a5b0b7;
  --accent: #ff9f5a;
  --accent-soft: #ffbf84;
  --lime: #8bd6bf;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --content-width: min(1180px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 159, 90, 0.18), transparent 32%),
    radial-gradient(circle at left 18%, rgba(139, 214, 191, 0.15), transparent 25%),
    linear-gradient(180deg, #060b0f 0%, var(--bg) 35%, #0d1720 100%);
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", Calibri, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 90%);
  opacity: 0.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: var(--content-width);
  margin: 18px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(5, 11, 15, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 159, 90, 0.95), rgba(255, 191, 132, 0.82));
  color: #16100d;
  font-family: "Bahnschrift SemiBold", "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  box-shadow: 0 12px 30px rgba(255, 159, 90, 0.32);
}

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

.brand-copy strong,
.hero-copy h1,
.section-heading h2,
.insight-band h2,
.contact-copy h2,
.project-copy h3,
.service-card h3,
.process-step h3 {
  font-family: "Aptos Display", "Segoe UI Variable Display", "Bahnschrift", sans-serif;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.site-nav a {
  transition: color 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #f6c27d);
  color: #111;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px rgba(255, 159, 90, 0.25);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 159, 90, 0.32);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

main {
  width: var(--content-width);
  margin: 0 auto;
  padding: 36px 0 100px;
  scroll-snap-type: y proximity;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 54px 0 20px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5vw, 5.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text,
.insight-band p,
.service-card p,
.project-copy p,
.process-step p,
.contact-copy p,
.stats-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
}

.hero-metrics div,
.service-card,
.project-card,
.process-step,
.stats-panel article,
.contact-card,
.trusted,
.insight-band,
.stats-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 20px;
  border-radius: 20px;
}

.hero-metrics dt {
  font-family: "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 680px;
  perspective: 1800px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 260ms ease-out;
}

.visual-orbit,
.visual-grid {
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.visual-grid {
  inset: 12% 6% 10% 8%;
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: rotateX(68deg) rotateZ(-18deg) translate3d(0, 0, -80px);
  opacity: 0.55;
}

.visual-orbit {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: blur(0.2px);
}

.orbit-one {
  width: 320px;
  height: 320px;
  top: 14%;
  right: 2%;
  opacity: 0.42;
  animation: spin 16s linear infinite;
}

.orbit-two {
  width: 420px;
  height: 420px;
  bottom: 4%;
  left: -4%;
  opacity: 0.25;
  animation: spin-reverse 20s linear infinite;
}

.command-chip {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(9, 18, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.command-chip span,
.scan-card span,
.project-copy span,
.service-index,
.process-step span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.command-chip strong,
.scan-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.45;
}

.chip-left {
  top: 10%;
  left: -2%;
}

.chip-right {
  right: -4%;
  bottom: 11%;
}

.site-model {
  position: absolute;
  inset: 11% 6% 9% 6%;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-18deg);
}

.site-model__glow {
  position: absolute;
  inset: 18% 16% 14%;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(255, 159, 90, 0.32), transparent 65%);
  transform: translateZ(-140px);
  filter: blur(50px);
}

.site-model__frame,
.site-model__base {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.frame-front {
  inset: 18% 11% 14% 8%;
  transform: translateZ(16px);
}

.frame-side {
  top: 19%;
  right: 4%;
  bottom: 16%;
  width: 16%;
  transform: rotateY(90deg) translateZ(216px);
  transform-origin: right center;
}

.site-model__base {
  left: 10%;
  right: 10%;
  bottom: 8%;
  height: 16%;
  background:
    linear-gradient(180deg, rgba(255, 191, 132, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  transform: rotateX(82deg) translateZ(-20px);
}

.tower {
  position: absolute;
  bottom: 23%;
  width: 18%;
  transform-style: preserve-3d;
}

.tower-a {
  left: 16%;
  height: 34%;
}

.tower-b {
  left: 42%;
  height: 54%;
}

.tower-c {
  right: 16%;
  height: 44%;
}

.tower-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 159, 90, 0.16), rgba(255, 255, 255, 0.03)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
}

.tower-front {
  transform: translateZ(38px);
}

.tower-side {
  transform: rotateY(90deg) translateZ(38px);
  width: 76px;
  transform-origin: left center;
}

.tower-top {
  height: 76px;
  transform: rotateX(90deg) translateZ(calc(var(--tower-height, 180px) / 2));
}

.tower-a .tower-top {
  transform: rotateX(90deg) translateZ(88px);
}

.tower-b .tower-top {
  transform: rotateX(90deg) translateZ(140px);
}

.tower-c .tower-top {
  transform: rotateX(90deg) translateZ(116px);
}

.beam {
  position: absolute;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 214, 191, 0.28), rgba(255, 191, 132, 0.75));
  box-shadow: 0 0 28px rgba(255, 191, 132, 0.28);
}

.beam-a {
  top: 28%;
  left: 24%;
  width: 46%;
  transform: translateZ(64px) rotateZ(-10deg);
}

.beam-b {
  top: 48%;
  left: 18%;
  width: 52%;
  transform: translateZ(84px) rotateZ(12deg);
}

.beam-c {
  top: 62%;
  left: 30%;
  width: 34%;
  transform: translateZ(92px) rotateZ(-6deg);
}

.scan-card {
  position: absolute;
  width: 200px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(7, 15, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-card {
  top: 18%;
  right: 6%;
  transform: translateZ(120px);
}

.logistics-card {
  left: 6%;
  bottom: 18%;
  transform: translateZ(104px);
}

.trusted,
.insight-band,
.stats-panel,
.contact-section {
  border-radius: var(--radius);
}

.trusted {
  margin-top: 34px;
  padding: 24px 28px;
}

.trusted p {
  margin: 0;
  color: var(--muted);
}

.trusted-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.trusted-strip span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.insight-band {
  margin-top: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.insight-band h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.content-section {
  margin-top: 100px;
}

.section-heading {
  max-width: 720px;
}

.service-grid,
.project-grid,
.process-grid {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

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

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

.process-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.project-card,
.process-step,
.contact-card {
  position: relative;
  border-radius: var(--radius);
}

.service-card {
  padding: 28px;
  min-height: 250px;
}

.service-card h3,
.project-copy h3,
.process-step h3 {
  margin: 16px 0 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

.service-card p,
.project-copy p,
.process-step p {
  margin: 14px 0 0;
}

.projects-section .project-card {
  overflow: hidden;
}

.project-visual {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(4, 8, 11, 0.1)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(255, 159, 90, 0.18), transparent 48%);
  background-size: auto, 26px 26px, 26px 26px, auto;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.project-card:hover .project-visual img {
  transform: scale(1.05);
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 22%;
  background: linear-gradient(180deg, rgba(255, 191, 132, 0.92), rgba(255, 191, 132, 0.2));
  box-shadow: 0 0 50px rgba(255, 191, 132, 0.18);
}

.project-visual::after {
  left: 42%;
  width: 14%;
}

.skyline-a::before {
  height: 72%;
}

.skyline-a::after {
  height: 50%;
}

.skyline-b::before {
  height: 46%;
  width: 38%;
}

.skyline-b::after {
  left: 56%;
  width: 20%;
  height: 62%;
}

.skyline-c::before {
  height: 34%;
  width: 52%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.skyline-c::after {
  left: 66%;
  width: 10%;
  height: 38%;
}

section,
.trusted,
.stats-panel,
.contact-section,
.gallery-section {
  scroll-snap-align: start;
}

.gallery-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.gallery-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(7, 15, 20, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-copy {
  padding: 24px;
}

.gallery-copy h3 {
  margin: 12px 0 0;
  font-size: 1.45rem;
}

.gallery-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.project-copy {
  padding: 28px;
}

.project-copy span {
  color: var(--lime);
}

.process-section {
  position: relative;
}

.flow-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 184px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.process-step {
  padding: 28px;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(255, 159, 90, 0.1);
}

.stats-panel {
  margin-top: 100px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stats-panel article {
  padding: 26px;
  border-radius: 22px;
}

.stats-panel strong {
  font-family: "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.contact-section {
  margin-top: 100px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
}

.contact-card {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.contact-card label {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: vertical;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: rgba(244, 239, 232, 0.45);
}

.tilt-surface {
  transform-style: preserve-3d;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.tilt-surface:hover {
  border-color: rgba(255, 191, 132, 0.24);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes spin {
  from {
    transform: rotateX(76deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(76deg) rotateZ(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotateX(76deg) rotateZ(360deg);
  }
  to {
    transform: rotateX(76deg) rotateZ(0deg);
  }
}

@media (max-width: 1100px) {
  .site-header,
  main {
    width: min(100vw - 28px, 1000px);
  }

  .section-grid,
  .insight-band,
  .contact-section,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

  .flow-line {
    display: none;
  }

  .process-step::before {
    top: 28px;
    right: 24px;
    left: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .section-grid {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    max-width: 9.5ch;
  }

  .hero-metrics,
  .service-grid,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .trusted,
  .insight-band,
  .contact-section {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100vw - 24px, 1180px);
  }

  .button,
  .button-ghost {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 520px;
    display: flex;
    flex-direction: column;
  }

  .command-chip {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    margin-bottom: 14px;
  }

  .site-model {
    position: relative;
    inset: auto;
    min-height: 360px;
    margin-top: 8px;
  }

  .scan-card {
    width: 170px;
    padding: 14px;
  }

  .plan-card {
    top: 14%;
    right: 2%;
  }

  .logistics-card {
    left: 2%;
    bottom: 14%;
  }
}

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

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

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