:root {
  --bg: #050505;
  --panel: #111111;
  --panel-soft: #181818;
  --gold: #ffd34d;
  --gold-dark: #b98716;
  --text: #ffffff;
  --muted: #b8b8b8;
  --line: rgba(255, 211, 77, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.66);
  padding: 0 clamp(18px, 4vw, 64px);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 138px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d6d6d6;
  font-size: 14px;
}

nav a:hover {
  color: var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  background: var(--gold);
  color: #111;
}

.button.ghost {
  border: 1px solid var(--line);
  color: white;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  place-items: center start;
  padding: 130px clamp(22px, 7vw, 110px) 80px;
}

.hero-video,
.hero-fallback,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 24% 45%, rgba(255, 211, 77, 0.22), transparent 22%),
    radial-gradient(circle at 78% 34%, rgba(255, 211, 77, 0.18), transparent 18%),
    linear-gradient(135deg, #1d1d1d, #050505 58%, #161616);
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.76)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), #050505 96%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.hero-logo {
  display: block;
  width: min(420px, 82vw);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 28px rgba(255, 211, 77, 0.18));
}

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

.hero h1 {
  font-size: clamp(56px, 12vw, 144px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin-top: 24px;
  color: #e5e5e5;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.28;
}

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

.manifesto {
  position: relative;
  display: grid;
  min-height: 72vh;
  overflow: hidden;
  place-items: center;
  border-block: 1px solid rgba(255, 211, 77, 0.12);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 211, 77, 0.09), transparent 28%),
    #050505;
  padding: clamp(90px, 12vw, 170px) clamp(22px, 5vw, 70px);
  text-align: center;
}

.manifesto > * {
  position: relative;
  z-index: 1;
}

.manifesto-glow {
  position: absolute;
  width: min(620px, 76vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 77, 0.16), transparent 62%);
  filter: blur(18px);
  opacity: 0.75;
  transform: translateY(8%);
}

.manifesto-kicker {
  color: var(--gold);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.manifesto h2 {
  max-width: 1180px;
  margin-top: 8px;
  font-size: clamp(48px, 11vw, 152px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.manifesto p:last-child {
  max-width: 680px;
  margin-top: 28px;
  color: #e7e1cf;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.45;
}

.manifesto-build {
  min-height: 86vh;
}

.manifesto-build h2 {
  margin-top: 0;
}

.build-line {
  color: var(--gold);
  text-shadow: 0 0 34px rgba(255, 211, 77, 0.16);
}

.pause-line {
  width: min(120px, 26vw);
  height: 1px;
  margin: clamp(30px, 5vw, 58px) auto;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 77, 0.82), transparent);
  transform-origin: center;
}

.reveal-on-scroll {
  animation: fadeUp both;
  animation-timeline: view();
  animation-range: entry 10% cover 36%;
}

.text-reveal {
  animation: textReveal both;
  animation-timeline: view();
  animation-range: entry 15% cover 42%;
}

.manifesto-glow {
  animation: glowBreathe 7s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0.2;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textReveal {
  from {
    opacity: 0.18;
    filter: blur(10px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes glowBreathe {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96) translateY(8%);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.04) translateY(4%);
  }
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px clamp(22px, 4vw, 48px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.intro p,
.section-heading + p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.intro h2 {
  letter-spacing: -0.025em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 211, 77, 0.08), rgba(255, 255, 255, 0.025));
  padding: 24px;
}

.service-grid span {
  color: var(--gold);
  font-weight: 900;
}

.service-grid h3 {
  margin-top: 44px;
  font-size: 24px;
}

.service-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #0b0b0b;
}

.metrics article {
  min-height: 180px;
  border-right: 1px solid var(--line);
  padding: 42px clamp(20px, 4vw, 52px);
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-size: clamp(34px, 5vw, 62px);
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.workflow {
  max-width: 1220px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline div {
  min-height: 220px;
  border-right: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
}

.timeline div:last-child,
.metrics article:last-child {
  border-right: 0;
}

.timeline span {
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
}

.timeline p {
  margin-top: 44px;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 211, 77, 0.18), transparent 25%),
    var(--panel-soft);
  padding: clamp(30px, 5vw, 64px);
}

.contact p {
  max-width: 650px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px clamp(22px, 4vw, 64px);
  color: var(--muted);
}

footer span:first-child {
  color: white;
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }

  nav {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
    padding-inline: 22px;
  }

  .manifesto {
    min-height: 62vh;
  }

  .intro,
  .service-grid,
  .metrics,
  .timeline {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .timeline div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child,
  .timeline div:last-child {
    border-bottom: 0;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
    margin-inline: 18px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  footer {
    flex-direction: column;
  }
}

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

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