:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e0ea;
  --paper: #f7f8fb;
  --white: #ffffff;
  --brand-purple: #9d17a3;
  --brand-blue: #1976d2;
  --teal: var(--brand-purple);
  --cyan: var(--brand-blue);
  --coral: #e85d5a;
  --amber: #d97706;
  --charcoal: #111827;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

img {
  display: block;
  max-width: 100%;
}

.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, 248, 251, 0.88);
  border-bottom: 1px solid rgba(217, 224, 234, 0.72);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a:hover,
.header-cta:hover {
  color: var(--teal);
}

.header-cta {
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 76px);
  align-items: center;
  padding: clamp(42px, 6vw, 84px) clamp(20px, 5vw, 72px) 46px;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.25rem, 8vw, 7.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.6rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-text,
.section-heading p,
.project-content p,
.service-list p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

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

.button,
.filter {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.primary {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.secondary,
.filter {
  color: var(--ink);
  background: var(--white);
}

.whatsapp {
  color: var(--white);
  background: #25d366;
  border-color: #25d366;
}

.whatsapp:hover {
  background: #128c7e;
  border-color: #128c7e;
}

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

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
}

.intro-strip div {
  display: grid;
  gap: 10px;
  min-height: 150px;
  align-content: center;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}

.intro-strip strong {
  font-size: 1.2rem;
}

.intro-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.filters {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter {
  padding: 0 16px;
}

.filter.active {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(23, 32, 51, 0.06);
}

.project-card.is-hidden {
  display: none;
}

.project-visual {
  display: grid;
  min-height: 210px;
  align-content: end;
  gap: 8px;
  padding: 22px;
  color: var(--white);
}

.project-visual span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-visual strong {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.visual-teal {
  background:
    linear-gradient(135deg, var(--brand-purple), var(--brand-blue)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.12) 24px 25px);
}

.visual-blue {
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
}

.visual-coral {
  background:
    linear-gradient(135deg, rgba(232, 93, 90, 0.92), rgba(245, 158, 11, 0.86)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.18) 18px 20px);
}

.visual-amber {
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.44), transparent 20%),
    linear-gradient(135deg, #d97706, var(--brand-purple));
}

.visual-pink {
  background:
    linear-gradient(135deg, rgba(190, 24, 93, 0.92), rgba(2, 132, 199, 0.82)),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(255, 255, 255, 0.2) 22px 23px);
}

.visual-dark {
  background:
    radial-gradient(circle at 65% 30%, rgba(34, 197, 94, 0.48), transparent 22%),
    linear-gradient(135deg, #111827, #334155);
}

.project-content {
  padding: 22px;
}

.project-type {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  padding: 7px 10px;
  color: #334155;
  background: #eef2f7;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 14px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 850;
}

.project-link:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--white);
}

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

.service-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-list article h3,
.service-list article p,
.service-list article div {
  grid-column: 2;
}

.service-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 900;
}

.service-list p {
  margin: 10px 0 0;
}

.social-section {
  background: #172033;
  color: var(--white);
}

.social-section .eyebrow,
.social-section .section-heading p {
  color: #8ddad3;
}

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

.metrics-grid article {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}

.metrics-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.metrics-grid span {
  color: #d5dee9;
  line-height: 1.5;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }

  .project-grid,
  .intro-strip,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .header-cta {
    display: none;
  }

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

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .project-grid,
  .intro-strip,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}