:root {
  --bg: #000000;
  --ink: #f2f7f9;
  --muted: #8aa3ad;
  --accent: #0a8bb7;
  --line: rgba(10, 139, 183, 0.28);
  --panel: #070d10;
  --font: "Golos Text", "Golos Text Fallback", system-ui, sans-serif;
  --display: "Golos Text", "Golos Text Fallback", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.glow {
  position: fixed;
  inset: -20% auto auto 40%;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 139, 183, 0.22), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
  animation: drift 14s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes drift {
  from {
    transform: translate(-8%, 0) scale(1);
  }
  to {
    transform: translate(12%, 18%) scale(1.12);
  }
}

.top,
main,
.footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.top-brand img {
  width: min(160px, 42vw);
  height: auto;
  mix-blend-mode: lighten;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.top-nav a:not(.nav-cta) {
  color: var(--muted);
  transition: color 0.2s ease;
}

.top-nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: #000;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.hero-left {
  animation: rise 0.9s ease both;
}

.hero-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  mix-blend-mode: lighten;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
  color: var(--ink);
}

.hero-lead {
  margin-top: 1.35rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-form {
  animation: rise 1s 0.12s ease both;
}

.hero-form h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.form-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  max-width: 28rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #0ea0d2;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-wide {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.section {
  padding: 5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-lead {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: var(--muted);
}

.project {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

.project-logo {
  width: min(180px, 48vw);
  height: auto;
  margin-bottom: 1.25rem;
  mix-blend-mode: lighten;
}

.project-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.project-copy p {
  color: var(--muted);
  max-width: 34rem;
}

.project-showcase {
  margin: 0.5rem calc(-1 * clamp(1.25rem, 4vw, 3rem)) 0;
  width: calc(100% + 2 * clamp(1.25rem, 4vw, 3rem));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #000;
}

.project-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

.project-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.project-tags li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.meeting-form {
  margin-top: 0;
  width: 100%;
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.meeting-form label {
  display: grid;
  gap: 0.4rem;
}

.meeting-form span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.meeting-form input,
.meeting-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: #000;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
}

.meeting-form input:focus,
.meeting-form textarea:focus {
  border-color: var(--accent);
}

.meeting-form textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status.ok {
  color: var(--accent);
}

.form-status.err {
  color: #ff8f8f;
}

.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer img {
  width: 120px;
  mix-blend-mode: lighten;
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-form {
    order: 2;
  }
}

@media (max-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .top-nav a:not(.nav-cta) {
    display: none;
  }
}
