:root {
  --bg: #0c0c0f;
  --bg-soft: #141419;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f4efe8;
  --muted: #bdb3ab;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #cc352d;
  --accent-soft: #ff7b62;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(204, 53, 45, 0.28), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 123, 98, 0.12), transparent 24%),
    linear-gradient(135deg, #09090b 0%, #121217 52%, #17131a 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  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 45%, transparent 100%);
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.08;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
}

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

.site-header,
.section,
.site-footer,
.ticker {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  position: sticky;
  top: 14px;
  z-index: 10;
  isolation: isolate;
  overflow: hidden;
  max-width: 100%;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 123, 98, 0.06), transparent 28%),
    linear-gradient(135deg, rgba(18, 12, 14, 0.92), rgba(22, 15, 17, 0.82)),
    rgba(10, 10, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  z-index: -1;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08) 18%,
    rgba(255, 255, 255, 0.08) 82%,
    transparent
  );
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: block;
  background: url("favicon.svg") center / cover no-repeat;
  border-radius: 18px;
  box-shadow:
    0 14px 28px rgba(204, 53, 45, 0.16),
    0 10px 22px rgba(0, 0, 0, 0.2);
}

.brand-text {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-text strong,
.brand-text em {
  font-style: normal;
}

.brand-text strong {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
}

.brand-text em {
  color: rgba(244, 239, 232, 0.62);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 100%;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.section {
  padding: 52px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 140px);
  overflow-x: clip;
}

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

h1,
h2,
h3,
.spotlight h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  line-height: 0.92;
  max-width: 11ch;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
}

.hero-text,
.manifesto-grid p,
.service-card p,
.approach-panel p,
.step p,
.contact-card p,
.contact-line {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 54ch;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: white;
  box-shadow: 0 16px 40px rgba(204, 53, 45, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-stage {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  max-width: 100%;
}

.stage-card,
.approach-panel,
.service-card,
.step,
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.stage-card {
  position: absolute;
  width: min(320px, 86%);
  padding: 28px;
  border-radius: 30px;
}

.stage-card span,
.service-card span {
  color: var(--accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stage-card strong,
.step strong {
  display: block;
  margin-top: 18px;
  font-size: 1.6rem;
  font-family: "Syne", sans-serif;
}

.stage-card p {
  color: var(--muted);
  line-height: 1.6;
}

.stage-card-main {
  top: 12%;
  left: 4%;
  transform: rotate(-8deg);
}

.stage-card-accent {
  right: 2%;
  bottom: 18%;
  transform: rotate(9deg);
}

.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.orbit-a {
  width: 380px;
  height: 380px;
}

.orbit-b {
  width: 520px;
  height: 520px;
  border-style: dashed;
  animation: spin 18s linear infinite;
}

.hero-stamp {
  position: absolute;
  display: grid;
  gap: 10px;
  text-align: center;
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.section-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-intro h2,
.spotlight h2,
.contact h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  max-width: 12ch;
  line-height: 0.98;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 28px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 123, 98, 0.38);
  background: linear-gradient(180deg, rgba(204, 53, 45, 0.15), rgba(255, 255, 255, 0.05));
}

.service-card h3 {
  font-size: 1.7rem;
  margin-top: 18px;
}

.approach-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.approach-panel,
.contact-card {
  padding: 32px;
  border-radius: 30px;
}

.contact-card {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contact-line {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.approach-panel h3 {
  font-size: 2rem;
  max-width: 10ch;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 24px;
  align-items: center;
}

.step strong {
  margin-top: 0;
  font-size: 1.3rem;
}

.spotlight {
  padding: 110px 0;
  text-align: center;
}

.spotlight h2 {
  max-width: 14ch;
  margin: 0 auto;
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding: 20px 0 34px;
  font-size: 0.92rem;
}

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

body.has-motion .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

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

  .hero,
  .manifesto-grid,
  .approach-layout,
  .contact,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero-stage {
    min-height: 460px;
  }

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

@media (max-width: 720px) {
  .site-header,
  .section,
  .site-footer,
  .ticker {
    width: min(100% - 24px, 1180px);
  }

  .site-nav {
    gap: 6px;
    font-size: 0.86rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 4px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 12px;
  }

  .brand-text strong {
    font-size: 1.15rem;
  }

  .brand-text em {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
  }

  .section {
    padding: 38px 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.8rem);
  }

  .hero-stage {
    min-height: 380px;
  }

  .stage-card {
    width: min(260px, calc(100% - 24px));
    padding: 20px;
  }

  .stage-card-main {
    top: 10%;
    left: 6px;
    transform: rotate(-6deg);
  }

  .stage-card-accent {
    right: 6px;
    bottom: 12%;
    transform: rotate(6deg);
  }

  .orbit-a {
    width: 240px;
    height: 240px;
  }

  .orbit-b {
    width: 320px;
    height: 320px;
  }

  .contact-card,
  .approach-panel,
  .service-card {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    gap: 4px;
  }
}
