:root {
  --bg-dark: #313342;
  --bg-light: #ececec;
  --text-light: #f4f5f8;
  --text-dark: #313342;
  --text-muted: #d7d9df;
  --container: 1240px;
  --radius: 2px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mulish", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  z-index: 1000;
  background: #ffffff;
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 80px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(49, 51, 66, 0.94);
  backdrop-filter: blur(6px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: clamp(160px, 17vw, 220px);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.site-nav a {
  font-family: "Jura", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
  transition: opacity 220ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 0.75;
}

.site-nav .nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: clamp(380px, 54vw, 620px);
  overflow: clip;
}

.hero-bg {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 54vw, 620px);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.02) 45%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 34px;
}

.hero h1 {
  margin: 0;
  max-width: 520px;
  color: #f5f6f8;
  font-family: "Mulish", sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.hero-title-accent {
  color: #d0af88;
}

.section-title {
  margin: 0 0 42px;
  text-align: center;
  font-family: "Jura", sans-serif;
  font-size: clamp(2rem, 5vw, 3.9rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-dark);
}

.section-title-light {
  color: var(--text-light);
}

.projects {
  background: var(--bg-light);
  padding: clamp(64px, 9vw, 116px) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about {
  background: var(--bg-dark);
  padding: clamp(72px, 10vw, 122px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 3vw, 56px);
  align-items: start;
}

.about-image-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-content {
  color: var(--text-light);
}

.about-content .section-title {
  margin-bottom: 20px;
  text-align: left;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-content p {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 430px;
  font-size: clamp(1rem, 1.4vw, 1.55rem);
  line-height: 1.45;
  color: #f1f2f5;
}

.about-image-secondary img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.clients {
  background: var(--bg-dark);
  padding: clamp(24px, 4vw, 42px) 0 clamp(80px, 12vw, 150px);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.8vw, 44px);
}

.client-card {
  text-align: center;
  color: var(--text-light);
}

.client-card img {
  width: min(100%, 220px);
  margin: 0 auto 16px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.client-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-family: "Jura", sans-serif;
  font-weight: 500;
}

.client-card p {
  margin: 0 auto;
  max-width: 280px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.site-footer {
  background: var(--bg-light);
  padding: clamp(70px, 10vw, 130px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: clamp(20px, 8vw, 110px);
}

.footer-brand img {
  width: clamp(180px, 24vw, 320px);
  filter: brightness(0) saturate(100%) invert(19%) sepia(9%) saturate(617%) hue-rotate(197deg) brightness(94%) contrast(91%);
}

.footer-contact {
  font-style: normal;
  text-align: right;
  color: #3b3e50;
}

.footer-contact h2 {
  margin: 0 0 24px;
  font-size: clamp(1rem, 1.6vw, 1.7rem);
  line-height: 1.1;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
}

.footer-contact p {
  margin: 0 0 18px;
  font-size: clamp(0.475rem, 1.1vw, 1.1rem);
}

.footer-contact strong {
  display: inline-block;
  margin-bottom: 3px;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-content .section-title,
  .footer-contact {
    text-align: left;
  }

  .about-image-secondary img {
    max-width: none;
  }

  .footer-contact h2 {
    margin-top: 20px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav ul {
    position: absolute;
    right: 24px;
    top: calc(var(--header-height) - 4px);
    width: min(240px, 90vw);
    background: rgba(49, 51, 66, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
    display: grid;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

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

  .hero-content {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 300px;
    font-size: clamp(1.4rem, 7vw, 2.1rem);
  }

  .projects-grid,
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-card img {
    aspect-ratio: 16 / 10;
  }

  .client-card img {
    width: min(100%, 300px);
  }
}
