:root {
  --ink: #151319;
  --muted: #65616b;
  --line: rgba(21, 19, 25, 0.12);
  --paper: #f7f6f3;
  --white: #ffffff;
  --purple: #4b1d79;
  --purple-deep: #241035;
  --orange: #f47a22;
  --orange-soft: #ffe1c7;
  --shadow: 0 28px 80px rgba(36, 16, 53, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--purple);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(22px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 42px rgba(21, 19, 25, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--orange));
  border-radius: 50%;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: 14px;
  font-weight: 600;
  color: rgba(21, 19, 25, 0.72);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 19, 25, 0.1);
  border-radius: 50%;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav a {
  transition: color 160ms ease;
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 120px 80px 68px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.28) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.82));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: 92px;
  line-height: 0.94;
  font-weight: 800;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(21, 19, 25, 0.72);
  font-size: 24px;
  line-height: 1.42;
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 18px 45px rgba(21, 19, 25, 0.18);
}

.button.primary:hover {
  background: var(--purple-deep);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 19, 25, 0.1);
}

.section,
.section-band {
  padding: 124px 72px;
}

.section-band {
  background: var(--paper);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: 68px;
  line-height: 1;
  font-weight: 800;
}

.intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
  font-weight: 500;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-number {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3,
.timeline-item h3,
.work-tile h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.service-card p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.timeline-item {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.timeline-item span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 62px;
  place-items: center;
  color: var(--white);
  background: var(--purple);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.work-tile {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.work-tile p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-tile h3 {
  max-width: 480px;
  margin-bottom: 0;
  font-size: 40px;
}

.tile-purple {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    #241035;
}

.tile-orange {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    #d95f17;
}

.tile-neutral {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(75, 29, 121, 0.12), rgba(244, 122, 34, 0.16)),
    #f1eee9;
}

.tile-neutral p {
  color: rgba(21, 19, 25, 0.58);
}

.contact {
  padding: 140px 72px;
  color: var(--white);
  background: var(--ink);
}

.contact-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact .section-kicker {
  color: var(--orange);
}

.contact p:not(.section-kicker) {
  max-width: 680px;
  margin: 24px auto 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1.5;
}

.contact .button.primary {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 72px;
  color: rgba(21, 19, 25, 0.62);
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 1181px) {
  .portfolio-grid {
    align-items: stretch;
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    min-height: 860px;
    padding-left: 48px;
    padding-right: 48px;
  }

  h1 {
    max-width: 720px;
    font-size: 72px;
  }

  .hero-copy {
    max-width: 590px;
    font-size: 22px;
  }

  .section,
  .section-band {
    padding: 104px 40px;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: 54px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portfolio-grid .work-tile:first-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 21;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 2px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(21, 19, 25, 0.1);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(21, 19, 25, 0.14);
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 6px;
  }

  .nav a:hover {
    background: var(--paper);
  }

  .site-header.is-open .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 760px;
    padding: 112px 28px 58px;
    align-items: end;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.72) 100%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .section-heading,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 650px;
    font-size: 54px;
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 560px;
    font-size: 20px;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: 44px;
  }

  .intro p:last-child,
  .contact p:not(.section-kicker) {
    font-size: 18px;
  }

  .service-card,
  .timeline-item {
    min-height: 220px;
  }

  .service-number,
  .timeline-item span {
    margin-bottom: 44px;
  }

  .work-tile {
    min-height: 320px;
  }
}

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

  .brand {
    font-size: 14px;
  }

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

  .hero {
    min-height: 720px;
    padding: 96px 18px 42px;
  }

  h1 {
    font-size: 40px;
  }

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

  .button {
    width: 100%;
  }

  .section,
  .section-band,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: 36px;
    line-height: 1.04;
  }

  .service-card,
  .timeline-item {
    min-height: auto;
    padding: 22px;
  }

  .service-number,
  .timeline-item span {
    margin-bottom: 32px;
  }

  .timeline {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .work-tile {
    min-height: 280px;
    padding: 24px;
  }

  .work-tile h3 {
    font-size: 28px;
  }

  .contact .button.primary {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 380px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .hero {
    min-height: 680px;
  }
}
