:root {
  --ink: #f3f5f1;
  --muted: #a6aea9;
  --paper: #0b0d0e;
  --white: #ffffff;
  --panel: #141819;
  --panel-soft: #1a1f20;
  --teal: #52b6aa;
  --teal-dark: #77d3c6;
  --coral: #d9856f;
  --gold: #bfa46a;
  --plum: #8a7696;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 11, 0.72);
  color: var(--white);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 11, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  font-weight: 800;
  min-width: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  background: #0b0d0e;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px 16px 44px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 9, 0.94) 0%, rgba(6, 8, 9, 0.76) 46%, rgba(6, 8, 9, 0.52) 100%),
    linear-gradient(0deg, rgba(6, 8, 9, 0.86) 0%, rgba(6, 8, 9, 0.22) 52%, rgba(6, 8, 9, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-bottom: 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button.primary {
  background: var(--teal);
  color: #06100f;
}

.button.primary:hover {
  background: #6dd0c4;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-height: 104px;
  padding: 20px;
  background: rgba(13, 16, 17, 0.78);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 88px 16px;
}

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

.intro-band {
  background: #0f1213;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-layout {
  display: grid;
  gap: 34px;
}

.services-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: end;
}

.services-heading h2 {
  max-width: 780px;
}

.services-heading p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 64px;
  height: 2px;
  background: var(--teal);
  opacity: 0.54;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 28px;
  border: 1px solid rgba(119, 211, 198, 0.26);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.intro-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.specialties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.specialties span,
.about-list span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading.narrow {
  display: block;
  max-width: 720px;
}

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

.work-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.work-visual {
  position: relative;
  height: 220px;
  margin: 0;
  overflow: hidden;
  background: #111617;
}

.work-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 220ms ease, filter 220ms ease;
}

.work-card:hover .work-visual img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04);
}

.work-body {
  padding: 22px;
}

.work-meta {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.work-card h3,
.process-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.work-card p:not(.work-meta),
.process-grid p,
.about-grid p,
.contact-grid p {
  color: var(--muted);
}

.work-site {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.work-site:hover {
  border-color: rgba(119, 211, 198, 0.42);
  background: rgba(119, 211, 198, 0.08);
}

.about-band {
  background: #0f1213;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portrait-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.portrait-initial {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border-radius: 8px;
  background: #202828;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 84px;
  font-weight: 800;
}

.portrait-lines {
  display: grid;
  gap: 14px;
}

.portrait-lines span {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.portrait-lines span:nth-child(2) {
  width: 72%;
  background: rgba(217, 133, 111, 0.36);
}

.portrait-lines span:nth-child(3) {
  width: 48%;
  background: rgba(119, 211, 198, 0.36);
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-list span {
  min-height: 44px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--panel);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--teal);
  font-weight: 800;
}

.contact-band {
  background: #101515;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-link span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.site-footer {
  background: #070809;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px 16px;
}

.site-footer a {
  text-align: right;
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 24px));
    padding: 8px;
    border-radius: 8px;
    background: rgba(22, 23, 23, 0.95);
  }

  .brand span:last-child {
    max-width: 52vw;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

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

  .hero-content {
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  .hero-stats,
  .intro-grid,
  .services-heading,
  .about-grid,
  .contact-grid,
  .work-grid,
  .process-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 16px;
  }

  h2 {
    font-size: 34px;
  }

  .section-heading {
    display: block;
  }

  .process-grid article {
    min-height: auto;
  }

  .process-grid span {
    margin-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .hero-actions,
  .button,
  .contact-link,
  .footer-inner {
    width: 100%;
  }

  .button,
  .contact-link,
  .footer-inner {
    justify-content: center;
  }

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

  .portrait-block {
    grid-template-columns: 1fr;
  }

  .portrait-initial {
    width: 128px;
    height: 128px;
    font-size: 68px;
  }

  .contact-link {
    display: grid;
    text-align: center;
  }

  .contact-link strong {
    text-align: center;
  }

  .footer-inner {
    display: grid;
    text-align: center;
  }

  .site-footer a {
    text-align: center;
  }
}
