.hero {
  padding: 108px 0 80px;
}
.hero h1 {
  font-family: var(--font-display), serif;
  font-weight: 300;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.01;
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero > .wrap > p {
  font-size: 19px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* --- services --- */
.services {
  padding: 80px 0;
}
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 32px;
  flex-wrap: wrap;
}
.services-head h2 {
  font-family: var(--font-display), serif;
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.services-head p {
  color: var(--muted);
  max-width: 42ch;
  font-size: 16px;
}
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.service-stack {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 32px;
}
.service-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  cursor: default;
  flex: 1;
}
.service-row + .service-row {
  border-top: 1px solid var(--line);
}
.service-row:hover .svc-name {
  color: var(--accent);
}
.svc-name {
  font-family: var(--font-display), serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: block;
  transition: color 0.15s;
}
.service-row--featured {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  gap: 20px;
}
.service-row--featured .svc-name {
  color: #fff;
  font-size: 36px;
}
.service-row--featured .svc-body {
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
}
.service-row--featured:hover .svc-name {
  color: rgba(155, 120, 255, 1);
}
.svc-body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* --- sprint --- */
.sprint {
  padding: 80px 0;
}
.sprint-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 64px 56px;
}
.sprint-inner .section-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  padding-top: 14px;
  border-top: 2px solid var(--accent);
  display: inline-block;
  margin-bottom: 22px;
}
.sprint-inner h2 {
  font-family: var(--font-display), serif;
  font-weight: 300;
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 14px;
  color: var(--ink);
}
.sprint-inner > p {
  color: var(--muted);
  max-width: 52ch;
  font-size: 16px;
  margin-bottom: 52px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-phase {
  display: block;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h4 {
  font-family: var(--font-display), serif;
  font-weight: 400;
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--ink);
}
.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* --- case studies --- */
.cases-section {
  padding: 88px 0;
}
.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 32px;
  flex-wrap: wrap;
}
.cases-head h2 {
  font-family: var(--font-display), serif;
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.cases-head p {
  color: var(--muted);
  max-width: 42ch;
  font-size: 16px;
}
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.case:nth-child(even) .case-visual {
  order: 2;
}
.case:nth-child(even) .case-copy {
  order: 1;
}
.case-visual {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: #0e0b1a;
  background-image:
    linear-gradient(rgba(91, 33, 245, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 245, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
}
.case:nth-child(2) .case-visual {
  background-color: #0a0c1e;
}
.case:nth-child(3) .case-visual {
  background-color: #100c1f;
}
.case-stat {
  font-family: var(--font-display), serif;
  font-weight: 300;
  font-size: 72px;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.case-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(155, 120, 255, 0.7);
  font-weight: 500;
}
.case-copy .client {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.case-copy h3 {
  font-family: var(--font-display), serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.case-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 22px;
}

/* --- contact --- */
.contact-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid h2 {
  font-family: var(--font-display), serif;
  font-weight: 300;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.contact-grid > div > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: "Spline Sans", system-ui, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form textarea {
  resize: vertical;
  min-height: 96px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form .submit-btn {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Spline Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: opacity 0.15s;
}
.contact-form .submit-btn:hover {
  opacity: 0.8;
}
.contact-thanks {
  font-size: 16px;
  color: var(--muted);
  padding: 8px 0;
  display: none;
}

@media (max-width: 860px) {
  .service-split {
    grid-template-columns: 1fr;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sprint-inner {
    padding: 40px 24px;
  }
  .case {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case:nth-child(even) .case-visual,
  .case:nth-child(even) .case-copy {
    order: 0;
  }
  .cases-list {
    gap: 56px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .services,
  .sprint,
  .cases-section {
    padding: 64px 0;
  }
}
