.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 700;
}

.brand-word {
  letter-spacing: 0.28em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.hero-grid,
.split-section,
.contact-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  min-height: calc(100vh - 124px);
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
}

.hero-copy {
  max-width: 760px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  max-width: 46rem;
  line-height: 1.75;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-tags span,
.card-index,
.project-tag {
  color: var(--muted-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-panels {
  display: grid;
  gap: 18px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.panel:hover {
  background: var(--panel-hover);
  transform: translateY(-2px);
}

.service-card:hover,
.project-card:hover,
.step-card:hover,
.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stat-card strong,
.step-number {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  font-weight: 700;
}

.stat-card p,
.panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-section,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.contact-grid {
  gap: 38px;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.project-card,
.step-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.step-card {
  min-height: 220px;
}

.service-card h3,
.project-card h3,
.step-card h3 {
  margin-bottom: 14px;
}

.card-index,
.project-tag,
.step-number {
  display: inline-block;
  margin-bottom: 18px;
}

.note-card {
  margin-top: 24px;
}

.note-card,
.form-panel {
  height: 100%;
}

.contact-form,
.auth-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.auth-form label {
  display: grid;
  gap: 8px;
}

.contact-form span,
.auth-form span {
  font-size: 0.88rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

textarea {
  resize: vertical;
  min-height: 140px;
  padding-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-solid {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.btn-solid:hover {
  background: #efefef;
  border-color: #efefef;
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-full {
  width: 100%;
}

.sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #444;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  backdrop-filter: blur(6px);
}

.video-manifesto {
  padding: 120px 0;
  border-top: 1px solid #141414;
  background: linear-gradient(180deg, #000 0%, #050505 100%);
}

.video-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.video-header h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  color: #fff;
  max-width: 14ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.video-header p,
.video-header .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.video-header p {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #a1a1aa;
}

.video-shell {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #1a1a1a;
  border-radius: 30px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.1) 45%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: #000;
  min-height: 340px;
  max-height: 720px;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  pointer-events: none;
}

.video-badge {
  align-self: flex-start;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e5e5;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.video-copy {
  max-width: 620px;
}

.video-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
}

.video-copy p {
  margin: 0;
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.static-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.96);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .split-section,
  .contact-grid,
  .cards-3,
  .cards-4,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
  }

  .hero-panels {
    gap: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .panel {
    padding: 22px;
    border-radius: 20px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 26px;
  }

  .hero-tags {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-tags span {
    padding: 9px 12px;
    font-size: 0.74rem;
  }

  .video-manifesto {
    padding: 84px 0;
  }

  .video-header {
    margin-bottom: 34px;
  }

  .video-shell {
    border-radius: 20px;
  }

  .video-overlay {
    padding: 18px;
  }

  .video-copy h3 {
    line-height: 1.02;
  }

  .video-copy p {
    font-size: 0.95rem;
  }

  .hero-video {
    min-height: 260px;
  }

  .contact-grid {
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 14px;
  }

  .brand-word {
    letter-spacing: 0.2em;
    font-size: 0.86rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .panel {
    padding: 20px;
  }

  .btn {
    min-height: 50px;
    font-size: 0.93rem;
  }

  .video-badge {
    font-size: 0.74rem;
    padding: 8px 11px;
  }

  .video-copy p {
    font-size: 0.92rem;
  }
}