:root {
  --ink: #101828;
  --muted: #5d6678;
  --line: #d9e0ea;
  --paper: #f7f4ee;
  --white: #ffffff;
  --teal: #0f766e;
  --lime: #b7e35f;
  --coral: #f16f5c;
  --navy: #16213e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 90px clamp(20px, 5vw, 72px) 160px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.88) 44%, rgba(247, 244, 238, 0.28) 100%),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  width: min(610px, 100%);
  color: #344054;
  font-size: 19px;
  line-height: 1.7;
}

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

.btn.primary {
  color: var(--white);
  border: 0;
  background: var(--teal);
  cursor: pointer;
}

.btn.secondary {
  color: var(--ink);
  border: 1px solid rgba(16, 24, 40, 0.18);
  background: rgba(255, 255, 255, 0.75);
}

.btn.secondary.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.hero-media {
  position: absolute;
  right: clamp(20px, 5vw, 82px);
  bottom: 54px;
  width: min(520px, 43vw);
  z-index: 1;
}

.dashboard {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.86);
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.25);
  backdrop-filter: blur(10px);
}

.dash-top {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-top span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--coral);
}

.dash-top span:nth-child(2) {
  background: #f7c948;
}

.dash-top span:nth-child(3) {
  background: var(--lime);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  padding: 16px;
}

.dash-panel {
  min-height: 120px;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.dash-panel.wide {
  grid-row: span 2;
}

.dash-panel p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.dash-panel strong {
  display: block;
  margin-bottom: 18px;
  font-size: 32px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 94px;
}

.chart-bars i {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--lime);
}

.chart-bars i:nth-child(1) { height: 34%; }
.chart-bars i:nth-child(2) { height: 62%; }
.chart-bars i:nth-child(3) { height: 48%; }
.chart-bars i:nth-child(4) { height: 78%; }
.chart-bars i:nth-child(5) { height: 92%; }

.dash-panel.code {
  display: grid;
  align-content: center;
  color: #b7e35f;
  font-family: Consolas, monospace;
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -82px;
  padding: 0 clamp(20px, 5vw, 72px);
  position: relative;
  z-index: 3;
}

.stats div {
  min-height: 150px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.stats span,
.card p,
.timeline p,
.contact p,
.work-item p,
.footer {
  color: var(--muted);
  line-height: 1.65;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 42px;
}

.service-grid,
.work-grid,
.timeline {
  display: grid;
  gap: 20px;
}

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

.card {
  min-height: 300px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 8px;
}

.service-link {
  display: block;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-link:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.38);
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 54px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.work-band {
  color: var(--white);
  background: var(--navy);
}

.work-band .eyebrow {
  color: var(--lime);
}

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

.band-actions {
  margin-top: 28px;
}

.work-item {
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.work-item:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 227, 95, 0.5);
}

.work-item div:last-child {
  padding: 24px;
}

.work-item p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
}

.work-preview {
  min-height: 230px;
  background-size: cover;
  background-position: center;
}

.work-preview.retail {
  background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=900&q=80");
}

.work-preview.saas {
  background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=900&q=80");
}

.work-preview.property {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=80");
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

.timeline div {
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--coral);
  border-radius: 8px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 42px;
  color: var(--white);
  background: var(--teal);
}

.contact .eyebrow {
  color: var(--lime);
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

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

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

input:focus,
textarea:focus {
  outline: 3px solid rgba(183, 227, 95, 0.45);
  border-color: var(--teal);
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.service-hero {
  padding: 110px clamp(20px, 5vw, 72px) 86px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.9) 52%, rgba(247, 244, 238, 0.45) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.service-hero.compact {
  min-height: 560px;
  display: grid;
  align-content: center;
}

.service-hero h1 {
  width: min(900px, 100%);
  font-size: clamp(42px, 7vw, 78px);
}

.service-detail .card {
  min-height: 230px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.38);
}

.case-content {
  padding: 24px;
}

.case-content span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-content p {
  color: var(--muted);
  line-height: 1.65;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 96px clamp(20px, 5vw, 72px);
}

.case-shot {
  min-height: 430px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.18);
}

.case-shot.retail {
  background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1100&q=80");
}

.case-shot.saas {
  background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1100&q=80");
}

.case-shot.property {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1100&q=80");
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 46px;
  }

  .stats,
  .service-grid,
  .work-grid,
  .case-grid,
  .case-hero,
  .timeline,
  .contact,
  .section-heading {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-bottom: 76px;
  }

  h1 {
    font-size: 45px;
  }

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

  .stats,
  .service-grid,
  .work-grid,
  .case-grid,
  .case-hero,
  .timeline,
  .contact,
  .section-heading,
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 0;
  }

  .section,
  .work-band,
  .contact {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .card {
    min-height: auto;
  }

  .icon {
    margin-bottom: 32px;
  }

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