* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #080d0f;
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header,
.hero__content,
.section-shell {
  width: calc(100% - 96px);
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #f8fbfa;
  background: #020708;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #020708 0%, rgba(2, 7, 8, 0.94) 34%, rgba(2, 7, 8, 0.14) 74%),
    linear-gradient(180deg, rgba(2, 7, 8, 0) 70%, #020708 100%);
  z-index: 1;
}

.hero__map {
  position: absolute;
  top: 72px;
  right: 0;
  width: 980px;
  max-width: 72vw;
  height: calc(100% - 72px);
  object-fit: cover;
  object-position: center right;
  opacity: 0.88;
}

.hero__shade {
  display: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 750;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  color: rgba(248, 251, 250, 0.9);
  font-size: 1rem;
  font-weight: 560;
}

.nav-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #23f7db;
  border: 1px solid #23f7db;
  border-radius: 4px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 82px 0 76px;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  color: #ffffff;
  font-size: 5.7rem;
  font-weight: 820;
  line-height: 0.98;
}

.hero p {
  max-width: 460px;
  margin: 28px 0 34px;
  color: rgba(248, 251, 250, 0.78);
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 28px;
  border-radius: 5px;
  font-size: 1.08rem;
  font-weight: 700;
}

.button--primary {
  color: #01100d;
  background: #23f7db;
}

.button--primary:hover {
  background: #20e6af;
}

.arrow {
  display: inline-block;
  font-size: 1.7em;
  line-height: 1;
}

.projects {
  background: #ffffff;
}

.section-heading {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 0 10px;
}

.section-heading h2 {
  margin: 0;
  color: #080d0f;
  font-size: 2rem;
  font-weight: 790;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: #5a6366;
  font-size: 1rem;
}

.project-list {
  padding-bottom: 24px;
}

.project-row {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 28px;
  color: #080d0f;
  border-bottom: 1px solid #dce1e2;
}

.project-row--active:hover {
  background: linear-gradient(90deg, rgba(35, 247, 219, 0.08), transparent 58%);
}

.project-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  color: #888f92;
  background: #e7e9ea;
  border: 1px solid #d7dcde;
  border-radius: 5px;
}

.project-icon--active {
  color: #23f7db;
  background: #03090a;
  border-color: rgba(35, 247, 219, 0.16);
}

.project-icon svg {
  stroke-width: 2.2;
}

.project-main {
  display: flex;
  flex: 1 1 auto;
  gap: 28px;
  align-items: baseline;
  min-width: 0;
}

.project-name {
  flex: 0 0 260px;
  color: #080d0f;
  font-size: 1.95rem;
  font-weight: 760;
  line-height: 1.05;
}

.project-status {
  color: #5a6366;
  font-size: 1rem;
  font-weight: 560;
}

.project-status--live {
  color: #00bd8d;
}

.project-action,
.project-lock {
  display: inline-flex;
  min-width: 166px;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #080d0f;
  font-size: 1rem;
  font-weight: 680;
}

.project-action .arrow {
  color: #20e6af;
}

.project-lock svg {
  width: 22px;
  height: 22px;
  color: #777f82;
  stroke-width: 1.8;
}

.project-row--disabled {
  color: #90979a;
}

.project-row--disabled .project-name {
  color: #111719;
  font-weight: 650;
}

.about {
  background: #ffffff;
  border-top: 1px solid #dce1e2;
}

.about__grid {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 0 46px;
}

.about h2 {
  margin: 0 0 12px;
  color: #080d0f;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
}

.about p {
  max-width: 760px;
  margin: 0;
  color: #5a6366;
  font-size: 1rem;
  line-height: 1.6;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 2px;
  color: #080d0f;
  border-bottom: 1px solid currentColor;
  font-size: 1rem;
  font-weight: 680;
  white-space: nowrap;
}

.profile-link:hover {
  color: #006f5f;
}

.site-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  color: #f8fbfa;
  background: #020708;
}

.site-footer span {
  font-size: 1.2rem;
  font-weight: 560;
}

:focus-visible {
  outline: 3px solid #ff866d;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header,
  .hero__content,
  .section-shell {
    width: calc(100% - 48px);
    max-width: 760px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__map {
    right: -240px;
    width: 900px;
    max-width: none;
    opacity: 0.55;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero p {
    font-size: 1.6rem;
  }

  .section-heading,
  .about__grid {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }

  .project-row {
    gap: 18px;
  }

  .project-main {
    display: block;
  }

  .project-name {
    display: block;
    flex-basis: auto;
    font-size: 1.55rem;
  }

  .project-status {
    display: block;
    margin-top: 8px;
  }

  .project-action span:first-child {
    display: none;
  }

  .project-action,
  .project-lock {
    min-width: 32px;
  }

  .about__grid {
    padding: 36px 0 42px;
  }

  .profile-link {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero__content,
  .section-shell {
    width: calc(100% - 32px);
    max-width: 420px;
  }

  .hero {
    min-height: 640px;
  }

  .site-header {
    min-height: 74px;
  }

  .brand {
    font-size: 1.28rem;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.92rem;
  }

  .nav-links a:not(.nav-action) {
    display: none;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero__map {
    top: 78px;
    right: -260px;
    width: 720px;
    height: calc(100% - 78px);
    opacity: 0.42;
  }

  .hero__content {
    padding: 68px 0 66px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero p {
    max-width: 330px;
    margin: 22px 0 28px;
    font-size: 1.28rem;
  }

  .button {
    min-height: 54px;
    padding: 0 22px;
    font-size: 1.02rem;
  }

  .section-heading {
    padding-top: 22px;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .project-row {
    min-height: 92px;
    gap: 14px;
  }

  .project-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .project-icon svg {
    width: 31px;
    height: 31px;
  }

  .project-name {
    font-size: 1.24rem;
  }

  .project-status {
    font-size: 0.94rem;
  }

  .about h2 {
    font-size: 1.35rem;
  }

  .site-footer {
    min-height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
