:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #080808;
  background: #fbfaf8;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #fbfaf8;
}

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

.site-header {
  height: 60px;
  padding: 0 47px 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e0dfdc;
  background: rgba(251, 250, 248, 0.96);
}

.logo {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-button {
  width: 120px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #073fe4;
  border: 1px solid #073fe4;
  font-size: 14px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.header-button--telegram {
  width: 148px;
  color: #fff;
  background: #073fe4;
}

.header-button--telegram svg {
  width: 21px;
  height: 19px;
  fill: currentColor;
}

.header-button--email svg {
  width: 21px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
}

.header-button--whatsapp {
  width: 148px;
  color: #073fe4;
  border-color: #073fe4;
  background: transparent;
}

.header-button--whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  height: 293px;
  margin: 0 55px;
  padding: 48px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 65%) minmax(390px, 35%);
  border-bottom: 1px solid #1d1d1d;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-size: 80px;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy {
  transform: translateY(-5px);
}

.hero-copy p {
  margin: 14px 0 0 2px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.hero-meta {
  transform: translateY(-5px);
}

.services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #999;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.availability {
  margin: 29px 0 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  line-height: 1;
}

.availability-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0648ed;
  animation: availability-pulse 2.4s ease-in-out infinite;
}

.availability svg {
  width: 17px;
  height: 17px;
  margin-left: -4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.works {
  padding: 13px 54px 21px;
}

.works h2 {
  height: 22px;
  margin: 0 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.works h2 svg {
  width: 16px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.projects {
  display: grid;
  grid-template-columns: minmax(0, 466fr) minmax(0, 453fr) minmax(0, 467fr);
  gap: 15px 21px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #deddda;
  border-radius: 2px;
  background: #fff;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card img {
  width: 100%;
  height: min(11.9792vw, 184px);
  display: block;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.project-card--tall img {
  height: min(14.0625vw, 216px);
}

.project-footer {
  height: 44px;
  padding: 0 20px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #deddda;
}

.project-footer h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.project-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: #003cff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
}

.project-action svg {
  width: 20px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  transition: transform 220ms ease;
}

@media (min-width: 861px) {
  .project-card:nth-child(3n + 1) .project-footer {
    padding-right: 18px;
  }

  .project-card:nth-child(3n) .project-footer {
    padding-right: 35px;
  }
}

.motion-ready .site-header .logo,
.motion-ready .header-nav,
.motion-ready .hero-copy > *,
.motion-ready .services li,
.motion-ready .availability,
.motion-ready .works h2 {
  opacity: 0;
}

.motion-ready .hero-copy > *,
.motion-ready .services li,
.motion-ready .availability,
.motion-ready .works h2 {
  transform: translateY(14px);
}

.motion-ready body.is-loaded .site-header .logo,
.motion-ready body.is-loaded .header-nav,
.motion-ready body.is-loaded .hero-copy > *,
.motion-ready body.is-loaded .services li,
.motion-ready body.is-loaded .availability,
.motion-ready body.is-loaded .works h2 {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.motion-ready body.is-loaded .header-nav {
  transition-delay: 70ms;
}

.motion-ready body.is-loaded .hero-copy p {
  transition-delay: 80ms;
}

.motion-ready body.is-loaded .services li:nth-child(1) {
  transition-delay: 90ms;
}

.motion-ready body.is-loaded .services li:nth-child(2) {
  transition-delay: 150ms;
}

.motion-ready body.is-loaded .services li:nth-child(3) {
  transition-delay: 210ms;
}

.motion-ready body.is-loaded .availability {
  transition-delay: 270ms;
}

.motion-ready body.is-loaded .works h2 {
  transition-delay: 230ms;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 540ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.motion-ready .project-card:nth-child(2),
.motion-ready .project-card:nth-child(5) {
  transition-delay: 60ms;
}

.motion-ready .project-card:nth-child(3),
.motion-ready .project-card:nth-child(6) {
  transition-delay: 120ms;
}

@keyframes availability-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(6, 72, 237, 0);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(6, 72, 237, 0.12);
  }
}

@media (hover: hover) and (pointer: fine) {
  .logo:hover {
    color: #0648ed;
  }

  .header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(7, 63, 228, 0.16);
  }

  .header-button--telegram:hover {
    background: #0037d0;
  }

  .header-button--whatsapp:hover {
    color: #fff;
    background: #073fe4;
  }

  .header-button--email:hover {
    color: #fff;
    background: #073fe4;
  }

  .project-card:hover {
    border-color: #aaa9a6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  }

  .project-card:hover img {
    transform: scale(1.025);
  }

  .project-card:hover .project-action svg {
    transform: translateX(4px);
  }

}

.logo:focus-visible,
.header-button:focus-visible {
  outline: 2px solid #073fe4;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 60%) minmax(330px, 40%);
  }

  .hero-copy h1 {
    font-size: clamp(58px, 7vw, 72px);
  }

  .project-action {
    gap: 8px;
  }

}

@media (min-width: 861px) and (max-width: 1280px) {
  .hero {
    height: auto;
    min-height: 350px;
    padding-bottom: 32px;
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 6vw, 68px);
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 20px;
  }

  .header-nav {
    gap: 8px;
  }

  .header-button {
    width: auto;
    height: 40px;
    padding: 0 12px;
    gap: 7px;
    font-size: 13px;
  }

  .header-button svg {
    width: 18px;
    height: 16px;
  }

  .hero {
    height: auto;
    margin: 0 20px;
    padding: 42px 0 32px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 10vw, 72px);
  }

  .hero-meta {
    transform: none;
  }

  .hero-copy {
    transform: none;
  }

  .works {
    padding: 16px 20px 20px;
  }

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

  .project-card img,
  .project-card--tall img {
    height: auto;
    aspect-ratio: 2.14 / 1;
  }

}

@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.98;
  }

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

  .hero-copy p br {
    display: none;
  }

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

  .project-action {
    gap: 14px;
  }

  .site-header {
    padding: 0 12px;
  }

  .header-button {
    width: 40px;
    padding: 0;
  }

  .header-button span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .site-header .logo,
  .motion-ready .header-nav,
  .motion-ready .hero-copy > *,
  .motion-ready .services li,
  .motion-ready .availability,
  .motion-ready .works h2,
  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.project-card--available {
  cursor: pointer;
}

.project-card--coming {
  background: #f4f3f0;
}

.project-card--coming img {
  opacity: 0.62;
  filter: grayscale(0.7) saturate(0.55);
}

.project-action--muted {
  color: #777;
}

.project-card--available:focus-visible {
  outline: 2px solid #073fe4;
  outline-offset: 3px;
}
