:root {
  color-scheme: dark;
  --bg: #141719;
  --ink: #f0eee7;
  --muted: #b7b1a6;
  --line: #2b333a;
  --soft: #191d20;
  --panel: #171b1f;
  --accent: #72e4dc;
  --accent-strong: #8df0e8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header {
  display: flex;
  width: min(1680px, calc(100% - 80px));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

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

main {
  width: min(1680px, calc(100% - 80px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(620px, 0.92fr) minmax(640px, 1.08fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  min-height: min(760px, calc(100vh - 76px));
  padding: 56px 0 64px;
}

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

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

h1 {
  font-size: clamp(3rem, 4.4vw, 4.7rem);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero p {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  inset: 22px -18px -18px 18px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  content: "";
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1717 / 916;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.section-label {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 790;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

.about > p {
  max-width: 760px;
  align-self: end;
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  display: block;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  margin-bottom: 34px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list article {
  min-height: 236px;
  padding: 26px 28px 30px 0;
}

.service-list article + article {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.service-index {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 790;
}

h3 {
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-list p {
  margin-top: 12px;
  color: var(--muted);
}

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

.details div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.details dd {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 640;
}

.footer {
  display: flex;
  width: min(1680px, calc(100% - 80px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1380px) {
  .site-header,
  main,
  .footer {
    width: min(1180px, calc(100% - 40px));
  }

  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: clamp(32px, 5vw, 72px);
  }

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

  h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-media {
    max-width: 680px;
  }

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

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

  .service-list article,
  .service-list article + article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0;
  }

  .service-list article:first-child {
    border-top: 0;
  }

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

@media (max-width: 560px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  h1 {
    font-size: clamp(2.08rem, 11.4vw, 3.35rem);
  }

  .hero {
    gap: 22px;
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .hero p {
    margin-top: 18px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .hero-media img {
    max-height: 170px;
  }

  .section {
    padding: 44px 0;
  }
}
