:root {
  --bg: #0a0f14;
  --surface: #101820;
  --surface-2: #f4f7f6;
  --text: #f8fbfb;
  --muted: #a8b4b2;
  --dark-text: #12201f;
  --dark-muted: #5d6b68;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #2ee6a6;
  --accent-2: #ffcf5a;
  --accent-3: #73a7ff;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(10, 15, 20, 0.72);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(10, 15, 20, 0.9);
}

.brand,
.nav,
.header-tools,
.language-switch,
.footer-inner,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(46, 230, 166, 0.6);
  background: rgba(46, 230, 166, 0.12);
  color: var(--accent);
  font-size: 17px;
  line-height: 1;
}

.nav {
  gap: 6px;
}

.header-tools {
  gap: 10px;
}

.language-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch a {
  display: grid;
  min-width: 34px;
  min-height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.nav a,
.header-action,
.site-footer a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  padding: 9px 12px;
}

.nav a:hover,
.header-action:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-action {
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 156px);
  overflow: hidden;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.signal-canvas {
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    radial-gradient(circle at 16% 24%, rgba(46, 230, 166, 0.22), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(115, 167, 255, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(10, 15, 20, 0.95), rgba(10, 15, 20, 0.6) 54%, rgba(10, 15, 20, 0.42));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(58px, 9vw, 112px) 0 clamp(52px, 8vw, 96px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(60px, 12vw, 148px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: #d9e2e0;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #06110e;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.intro,
.work,
.contact {
  background: var(--surface-2);
  color: var(--dark-text);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro p:last-child {
  margin: 0;
  color: var(--dark-muted);
  font-size: 20px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg);
}

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

.service-card {
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.service-index {
  display: block;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 72px;
}

.service-card h3,
.task-list h3,
.process-steps h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.service-card p,
.case-card p,
.task-list p,
.process-steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

.portfolio {
  background: #0c1218;
}

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

.case-card {
  display: grid;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}

.case-tag {
  border: 1px solid rgba(46, 230, 166, 0.38);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding: 8px 10px;
}

.case-card h3 {
  margin: 0;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.08;
}

.case-card .case-result {
  align-self: end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #d9e2e0;
  font-weight: 700;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 6vw, 84px);
}

.work .section-kicker,
.intro .section-kicker,
.contact .section-kicker {
  color: #087e62;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-list article {
  padding: 22px 0;
  border-top: 1px solid rgba(18, 32, 31, 0.18);
}

.task-list article:last-child {
  border-bottom: 1px solid rgba(18, 32, 31, 0.18);
}

.task-list p {
  color: var(--dark-muted);
}

.process {
  background: #111b1f;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-steps article {
  min-height: 260px;
  padding: 24px;
  background: #111b1f;
}

.process-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 58px;
  place-items: center;
  border: 1px solid rgba(115, 167, 255, 0.46);
  color: var(--accent-3);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.68fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.contact-copy p:not(.section-kicker) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--dark-muted);
  font-size: 19px;
}

.contact-links {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  border-bottom: 1px solid rgba(8, 126, 98, 0.45);
  color: #075b4a;
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(18, 32, 31, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 24, 28, 0.08);
}

.contact-card p {
  margin: 0;
  color: var(--dark-muted);
}

.contact-label {
  color: var(--dark-text);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-email {
  width: fit-content;
  border-bottom: 1px solid rgba(8, 126, 98, 0.45);
  color: #075b4a;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080c10;
}

.footer-inner {
  min-height: 84px;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 140px);
  }

  .intro-grid,
  .work-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .case-card,
  .process-steps article {
    min-height: 250px;
  }

  .service-index,
  .case-meta,
  .process-steps span {
    margin-bottom: 42px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    padding-inline: 14px;
  }

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

  .header-action {
    padding: 9px 11px;
    font-size: 13px;
  }

  .header-tools {
    gap: 6px;
  }

  .language-switch a {
    min-width: 30px;
    min-height: 28px;
    font-size: 11px;
  }

  .hero {
    min-height: calc(100svh - 128px);
  }

  .hero-inner {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(52px, 20vw, 86px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .case-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
