:root {
  --bg: #f4f2f8;
  --raised: #fbfbfe;
  --ink: #0b1020;
  --navy: #10182e;
  --blue: #1a3f86;
  --purple: #3c2468;
  --lilac: #d9ccff;
  --muted: #5c6178;
  --line: #ddd8ea;
  --white: #f7f6fb;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(60, 36, 104, 0.08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.menu-check { position: absolute; opacity: 0; pointer-events: none; }
.menu-button {
  display: none;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.92rem;
  cursor: pointer;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: flex-end; }
.site-nav a {
  text-decoration: none;
  color: #c9d0e4;
  font-size: 1rem;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--lilac); }

.stage {
  position: relative;
  color: var(--white);
  background: #070b14 url("atmosphere.jpg") center/cover no-repeat;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 15% 20%, rgba(26, 63, 134, 0.45), transparent 36%),
    radial-gradient(circle at 85% 10%, rgba(76, 42, 140, 0.5), transparent 34%);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.stage .wrap { position: relative; z-index: 1; }
.hero { padding: 84px 0 72px; }
.stage .kicker { color: var(--lilac); }
.stage h1, .stage .lede { color: var(--white); }
.stage h1 .accent { color: var(--lilac); }
.stage .fact-card {
  background: rgba(7, 11, 20, 0.45);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}
.stage .fact-card span { color: #d5d8e6; }
.stage .button.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.7); }

.motion {
  background: radial-gradient(ellipse at 50% 42%, #121a33 0%, #070b14 58%, #05070d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.motion-stage {
  position: relative;
  height: min(70vh, 620px);
  min-height: 420px;
}
.motion-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.motion-stage canvas:active { cursor: grabbing; }
.motion-hint {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: #9aa3bb;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  pointer-events: none;
}
.quote-block { padding: 72px 0 28px; }
.quote-block h2 {
  max-width: 18ch;
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}
.quote-block p {
  max-width: 40rem;
  font-size: 1.2rem;
  line-height: 1.65;
  color: #24304a;
}

.kicker {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.18; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 500; margin: 0; overflow-wrap: break-word; line-height: 1.12; }
h1 span, .accent { display: block; max-width: 100%; }
h1 .accent { font-style: italic; font-weight: 500; color: var(--lilac); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: 0 0 16px; }
h3 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 8px; }
.lede, .narrow { max-width: 42rem; }
.lede { font-size: 1.2rem; line-height: 1.6; color: #24304a; }
.muted { color: var(--muted); }
.hero-grid, .split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 48px; align-items: end; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  font: 500 1rem var(--sans);
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.button:hover, button:hover { transform: translateY(-2px); background: #2e1a52; }
.button.secondary, button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.fact-card, .card, .offer, .project, .panel {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .offer:hover, .project:hover {
  transform: translateY(-4px);
  border-color: #b7a6e4;
  box-shadow: 0 16px 40px rgba(16, 24, 46, 0.08);
}
.fact-card { padding: 22px; }
.fact-card p { margin: 0 0 16px; }
.fact-card p:last-child { margin-bottom: 0; }
.fact-card strong { display: block; font-weight: 600; }
.fact-card span { color: var(--muted); }

section { padding: 28px 0 64px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.cards, .projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card, .offer, .project { padding: 22px; }
.card p, .offer p, .project p { margin: 0 0 12px; }
.index {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
}
.status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d9ccff;
  background: #f3eeff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
}
.band {
  background:
    linear-gradient(120deg, rgba(26, 63, 134, 0.35), transparent 40%),
    var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
}
.band .muted, .band p { color: #d5d8e6; }
.band h2, .band .index { color: var(--white); }
.band .button.secondary { color: #fff; border-color: #fff; }
.band .button.secondary:hover { background: #fff; color: var(--navy); }
.page-hero { padding: 56px 0 12px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); line-height: 1.15; }
.prose p { max-width: 42rem; }
.timeline { display: grid; gap: 0; }
.timeline article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding-top: 14px; border-top: 1px solid var(--line); }
.step strong { display: block; margin-bottom: 8px; }
.catalog {
  width: 100%;
  border-radius: 24px;
  margin: 8px 0 28px;
  border: 1px solid var(--line);
}
form { display: grid; gap: 14px; max-width: 640px; }
label { display: grid; gap: 6px; font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 1rem var(--sans);
}
textarea { min-height: 140px; resize: vertical; }
.site-footer {
  background: #070b14;
  color: #d5d8e6;
  padding: 36px 0 48px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 6px; }
.site-footer .muted { color: #b7bdd0; }

@keyframes drift {
  from { transform: translate3d(-2%, 0, 0); }
  to { transform: translate3d(2%, -2%, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hero-grid > * { animation: rise 0.7s ease both; }
.hero-grid > *:last-child { animation-delay: 0.12s; }

@media (max-width: 980px) {
  .hero-grid, .split, .cards, .offers, .projects, .steps { grid-template-columns: 1fr; }
  .hero-grid > *, .split > *, .wrap, .header-inner, form { min-width: 0; max-width: 100%; }
  h1, h2, h3, p, a { overflow-wrap: anywhere; }
  h1 { font-size: clamp(2rem, 8vw, 2.45rem); line-height: 1.18; }
  .actions { flex-direction: column; align-items: stretch; }
  .menu-button { display: inline-flex; flex: 0 0 auto; }
  .timeline article { grid-template-columns: 1fr; gap: 6px; }
  .site-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    background: #070b14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .menu-check:checked ~ .site-nav { display: flex; }
  .band { padding: 32px 22px; }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage::before, .hero-grid > *, .button, .card, .offer, .project { animation: none; transition: none; }
}
