:root {
  --ink: #e5e7eb;
  --dark: #020617;
  --muted: #aab3c2;
  --paper: #020617;
  --panel: rgba(15, 23, 42, 0.78);
  --line: rgba(148, 163, 184, 0.18);
  --teal: #0f766e;
  --coral: #f06449;
  --gold: #f5b841;
  --sky: #7aa7c7;
  --shadow: 0 24px 70px rgba(16, 19, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.35), transparent 30%),
    radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.25), transparent 30%),
    #020617;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(2, 6, 23, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #6366f1;
  color: #ffffff;
}

.nav-links {
  gap: 28px;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 48%, rgba(2, 6, 23, 0.32) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.05));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.work-type {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: #cbd5e1;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 30px rgba(240, 100, 73, 0.28);
}

.button.secondary {
  background: rgba(15, 23, 42, 0.66);
  border-color: rgba(226, 232, 240, 0.24);
  color: #e5e7eb;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(148, 163, 184, 0.16);
  border-block: 1px solid var(--line);
}

.stats-band div {
  display: grid;
  gap: 8px;
  min-height: 142px;
  align-content: center;
  padding: 28px clamp(20px, 5vw, 72px);
  background: rgba(15, 23, 42, 0.58);
}

.stats-band strong {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.stats-band span,
.section-heading p,
.service-card p,
.work-card p,
.process-list p,
.contact-section p,
.site-footer {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  font-size: 1.05rem;
}

.service-grid,
.work-grid,
.process-list {
  display: grid;
  gap: 18px;
}

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

.service-card,
.work-card,
.process-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 8px;
  background: #e5f2ef;
  color: var(--teal);
  font-weight: 900;
}

.work-section {
  background: rgba(15, 23, 42, 0.34);
}

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

.work-card {
  overflow: hidden;
}

.work-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--sky);
}

.work-body {
  padding: 26px;
}

.projects-section {
  background: rgba(2, 6, 23, 0.26);
}

.project-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.25), transparent 28%),
    var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.project-number {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 8px;
  background: #e5f2ef;
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 900;
}

.project-body {
  max-width: 650px;
}

.project-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.project-body p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-card .button span {
  margin-left: 8px;
  font-size: 1.1rem;
}

.process-list {
  grid-template-columns: repeat(3, 1fr);
  counter-reset: process;
}

.process-list article {
  padding: 28px;
}

.process-list span {
  display: block;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding: 96px clamp(20px, 5vw, 72px);
  background: rgba(2, 6, 23, 0.72);
  color: var(--ink);
}

.contact-section h2 {
  margin-bottom: 22px;
}

.contact-section p {
  max-width: 560px;
  color: #cbd5e1;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  background: rgba(2, 6, 23, 0.58);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7f8ba0;
}

input:focus,
textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(245, 184, 65, 0.55);
  outline-offset: 3px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #020617;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(2, 6, 23, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    padding: 14px 0;
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.68));
  }

  .stats-band,
  .service-grid,
  .work-grid,
  .process-list,
  .contact-section,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 86vh;
    padding: 104px 18px 52px;
  }

  h1 {
    font-size: clamp(3.4rem, 20vw, 5rem);
  }

  .section,
  .contact-section {
    padding: 72px 18px;
  }

  .stats-band div {
    min-height: 122px;
    padding: 24px 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
