@import url("assets/fonts/montserrat.css");
@import url("assets/fonts/lora.css");

:root {
  --black: #090909;
  --page: #FCFCFC;
  --line: #D7D7D7;
  --muted: #9B9B9B;
  --soft: #F5F5F5;
  --ink: var(--black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

img {
  display: block;
  width: 100%;
}

.topbar {
  height: 43px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 46px;
  background: var(--page);
  border-bottom: 1px solid var(--soft);
  font-size: 8px;
}

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

.nav a {
  white-space: nowrap;
}

.brand {
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
}

.pill {
  height: 29px;
  min-width: 92px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--black);
  color: var(--page);
  font-size: 8px;
}

.burger {
  width: 16px;
  height: 11px;
  position: relative;
}

.burger::before,
.burger::after,
.burger span {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--black);
}

.burger::before {
  top: 0;
}

.burger span {
  top: 5px;
}

.burger::after {
  bottom: 0;
}

.hero {
  position: relative;
  min-height: clamp(520px, calc(100svh - 43px), 760px);
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.16) 0%, rgba(9, 9, 9, 0.24) 52%, rgba(9, 9, 9, 0.32) 100%),
    radial-gradient(circle at 50% 50%, rgba(9, 9, 9, 0.06), rgba(9, 9, 9, 0.26));
  pointer-events: none;
}

.hero img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  animation: heroPhotoIn 1700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 72px 28px 48px;
  color: var(--page);
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(48px, 6vw, 98px);
  line-height: 1;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 20px 48px rgba(9, 9, 9, 0.28);
  animation: heroTextIn 900ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(17px, 1.55vw, 26px);
  line-height: 1.3;
  font-weight: 400;
  text-shadow: 0 14px 38px rgba(9, 9, 9, 0.34);
  animation: heroTextIn 900ms 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-kicker {
  position: absolute;
  right: 0;
  bottom: 48px;
  left: 0;
  margin: 0;
  font-size: clamp(14px, 1.1vw, 19px);
  line-height: 1.35;
  font-weight: 400;
  text-shadow: 0 10px 28px rgba(9, 9, 9, 0.36);
  animation: heroTextIn 900ms 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-bottom-space {
  height: 48px;
}

.projects {
  padding-top: 0;
}

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

.project-card {
  min-width: 0;
}

.project-card a {
  display: block;
}

.project-card img {
  aspect-ratio: 486 / 264;
  object-fit: cover;
}

.project-copy {
  height: 82px;
  padding: 18px 0 0 47px;
}

.project-card:nth-child(even) .project-copy {
  padding-left: 10px;
}

.project-title {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.project-meta {
  margin: 0;
  font-size: 8px;
  line-height: 1.2;
}

.about {
  width: min(800px, calc(100% - 76px));
  margin: 0 auto;
  padding: 3px 0 52px;
}

.about h1 {
  width: 660px;
  max-width: 100%;
  margin: 0 0 37px;
  font-size: 39px;
  line-height: 1.13;
  font-weight: 400;
}

.about-intro {
  display: grid;
  grid-template-columns: 391fr 392fr;
  gap: 18px;
  align-items: start;
}

.about-text {
  padding-top: 1px;
  font-size: 7px;
  line-height: 1.52;
}

.about-text p {
  margin: 0 0 9px;
}

.about-link {
  display: inline-block;
  margin: 6px 0 17px;
  font-weight: 700;
}

.process-photo {
  margin-top: 0;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  margin-top: 32px;
}

.person-name {
  margin: 15px 0 7px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.person-role {
  margin: 0;
  font-size: 7px;
  line-height: 1.2;
}

.lead-form {
  background: var(--soft);
  border-top: 1px solid var(--soft);
  padding: 62px 0 39px;
  text-align: center;
}

.lead-form h2 {
  margin: 0 0 10px;
  font-size: 39px;
  line-height: 1;
  font-weight: 400;
}

.lead-form .sub {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1;
}

.form-box {
  width: 323px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.field {
  display: block;
  width: 100%;
  height: 26px;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  font-size: 8px;
  outline: 0;
}

.field + .field {
  margin-top: 3px;
}

.submit {
  width: 100%;
  height: 26px;
  margin-top: 14px;
  border: 0;
  border-radius: 5px;
  background: var(--black);
  color: var(--page);
  font-size: 8px;
}

.consent {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 7px;
  margin-top: 14px;
  text-align: left;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.2;
}

.consent input {
  width: 11px;
  height: 11px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--page);
}

.footer {
  border-top: 1px solid var(--soft);
  padding: 16px 42px 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.05fr 1fr auto;
  gap: 34px;
  min-height: 102px;
  align-items: start;
}

.footer h3,
.footer .phone,
.footer .mail {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.footer p {
  margin: 0;
  font-size: 7px;
  line-height: 1.35;
}

.messengers {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.messengers a {
  width: 64px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--black);
  color: var(--page);
  font-size: 7px;
}

.social {
  display: flex;
  gap: 14px;
  font-size: 12px;
  line-height: 1;
}

.to-top {
  font-size: 7px;
  font-weight: 700;
  text-decoration: underline;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  color: var(--muted);
  font-size: 7px;
}

.footer-bottom a {
  text-decoration: underline;
}

.footer-bottom span {
  text-align: center;
}

.footer-bottom a.footer-credit,
.footer-credit {
  color: var(--muted);
  text-decoration: none;
  text-align: right;
}

.footer-credit span {
  text-align: inherit;
}

.footer-credit-name {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page {
  width: min(900px, calc(100% - 76px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.page h1 {
  margin: 0 0 28px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 400;
}

.page p {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--black);
  font-size: 13px;
  line-height: 1.5;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.catalog article {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.catalog h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.catalog p {
  font-size: 10px;
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr auto;
    height: 52px;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .actions {
    gap: 18px;
  }

  .pill {
    display: none;
  }

  .hero img {
    height: 64vh;
    object-fit: cover;
    object-position: center;
  }

  .project-grid,
  .about-intro,
  .team,
  .footer-grid,
  .footer-bottom,
  .catalog {
    grid-template-columns: 1fr;
  }

  .project-copy,
  .project-card:nth-child(even) .project-copy {
    padding-left: 24px;
  }

  .about {
    width: calc(100% - 36px);
  }

  .about h1,
  .lead-form h2,
  .page h1 {
    font-size: 34px;
  }

  .footer {
    padding: 28px 24px;
  }

  .footer-bottom {
    gap: 16px;
    align-items: start;
  }

  .footer-bottom span {
    text-align: left;
  }

  .footer-credit {
    text-align: left;
  }
}

.home .topbar {
  height: 72px;
  padding: 0 64px;
  font-size: 14px;
}

.home .nav {
  gap: 30px;
}

.home .brand {
  font-size: 24px;
}

.home .actions {
  gap: 34px;
}

.home .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.home .burger,
.home .burger::before,
.home .burger::after,
.home .burger span {
  width: 23px;
}

.home .burger {
  height: 16px;
}

.home .burger span {
  top: 7px;
}

.home .hero img {
  min-height: 640px;
  max-height: 760px;
  object-fit: cover;
  object-position: center;
}

.home .hero-bottom-space {
  height: 72px;
}

.home .project-copy {
  height: 126px;
  padding: 28px 0 0 64px;
}

.home .project-card:nth-child(even) .project-copy {
  padding-left: 34px;
}

.home .project-title {
  margin-bottom: 10px;
  font-size: 24px;
}

.home .project-meta {
  color: var(--black);
  font-size: 15px;
}

.home .about {
  width: min(1280px, calc(100% - 80px));
  padding: 88px 0 96px;
}

.home .about h1 {
  width: min(1040px, 100%);
  margin-bottom: 56px;
  font-size: 64px;
  line-height: 1.08;
}

.home .about-intro {
  grid-template-columns: minmax(420px, 1.04fr) minmax(420px, 0.96fr);
  gap: 44px;
}

.home .about-text {
  padding-top: 2px;
  color: var(--black);
  font-size: 17px;
  line-height: 1.62;
}

.home .about-text p {
  margin-bottom: 18px;
}

.home .about-link {
  margin: 8px 0 30px;
  font-size: 17px;
}

.home .team {
  gap: 30px;
  margin-top: 54px;
}

.home .person-name {
  margin: 22px 0 9px;
  font-size: 22px;
}

.home .person-role {
  color: var(--muted);
  font-size: 15px;
}

.home .lead-form {
  padding: 90px 0 74px;
}

.home .lead-form h2 {
  margin-bottom: 18px;
  font-size: 60px;
}

.home .lead-form .sub {
  margin-bottom: 28px;
  font-size: 19px;
}

.home .form-box {
  width: 520px;
}

.home .field {
  height: 42px;
  font-size: 15px;
}

.home .field + .field {
  margin-top: 6px;
}

.home .submit {
  height: 46px;
  margin-top: 22px;
  border-radius: 8px;
  font-size: 15px;
}

.home .consent {
  grid-template-columns: 18px 1fr;
  gap: 11px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.35;
}

.home .consent input {
  width: 17px;
  height: 17px;
}

.home .footer {
  padding: 34px 64px 24px;
}

.home .footer-grid {
  min-height: 150px;
  gap: 46px;
}

.home .footer h3,
.home .footer .phone,
.home .footer .mail {
  margin-bottom: 16px;
  font-size: 26px;
}

.home .footer p,
.home .to-top,
.home .footer-bottom {
  font-size: 13px;
}

.home .messengers {
  gap: 12px;
  margin-top: 16px;
}

.home .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.home .social {
  gap: 18px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .home .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
  }

  .home .nav {
    display: none;
  }

  .home .brand {
    justify-self: start;
    font-size: 21px;
  }

  .home .pill {
    display: none;
  }

  .home .hero img {
    min-height: 520px;
    object-position: center;
  }

  .home .project-grid,
  .home .about-intro,
  .home .team,
  .home .footer-grid,
  .home .footer-bottom {
    grid-template-columns: 1fr;
  }

  .home .project-copy,
  .home .project-card:nth-child(even) .project-copy {
    height: 104px;
    padding: 24px 24px 0;
  }

  .home .about {
    width: calc(100% - 40px);
    padding: 64px 0 72px;
  }

  .home .about h1,
  .home .lead-form h2 {
    font-size: 42px;
  }

  .home .about-intro {
    gap: 30px;
  }

  .home .footer {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .home .hero img {
    min-height: 500px;
  }

  .home .about h1,
  .home .lead-form h2 {
    font-size: 34px;
  }

  .home .project-title,
  .home .person-name {
    font-size: 20px;
  }

  .home .about-text,
  .home .about-link {
    font-size: 16px;
  }
}

.projects-page .topbar {
  height: 72px;
  padding: 0 64px;
  font-size: 13px;
}

.projects-page .nav {
  gap: 24px;
}

.projects-page .nav a[aria-current="page"] {
  font-weight: 600;
}

.projects-page .brand {
  font-size: 24px;
}

.projects-page .actions {
  gap: 34px;
}

.projects-page .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.projects-page .burger,
.projects-page .burger::before,
.projects-page .burger::after,
.projects-page .burger span {
  width: 23px;
}

.projects-page .burger {
  height: 16px;
}

.projects-page .burger span {
  top: 7px;
}

.projects-hero {
  padding: 70px 0 52px;
  background: var(--page);
}

.projects-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.breadcrumbs {
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.breadcrumbs span {
  color: var(--black);
  font-weight: 600;
}

.projects-hero h1 {
  margin: 0 0 38px;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}

.project-tabs a {
  padding-bottom: 8px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.project-tabs .active {
  color: var(--black);
  border-bottom-color: var(--black);
  font-weight: 700;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--page);
}

.projects-item {
  min-width: 0;
}

.projects-item a {
  display: block;
}

.projects-item img {
  aspect-ratio: 437 / 237;
  height: auto;
  object-fit: cover;
}

.projects-item div {
  height: 104px;
  padding: 27px 0 0 64px;
  background: var(--page);
}

.projects-item:nth-child(even) div {
  padding-left: 34px;
}

.projects-item h2 {
  margin: 0 0 9px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.projects-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.projects-page .lead-form {
  padding: 90px 0 74px;
}

.projects-page .lead-form h2 {
  margin-bottom: 18px;
  font-size: 60px;
}

.projects-page .lead-form .sub {
  margin-bottom: 28px;
  font-size: 19px;
}

.projects-page .form-box {
  width: 520px;
}

.projects-page .field {
  height: 42px;
  font-size: 15px;
}

.projects-page .field + .field {
  margin-top: 6px;
}

.projects-page .submit {
  height: 46px;
  margin-top: 22px;
  border-radius: 8px;
  font-size: 15px;
}

.projects-page .consent {
  grid-template-columns: 18px 1fr;
  gap: 11px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.35;
}

.projects-page .consent input {
  width: 17px;
  height: 17px;
}

.projects-page .footer {
  padding: 34px 64px 24px;
}

.projects-page .footer-grid {
  min-height: 150px;
  gap: 46px;
}

.projects-page .footer h3,
.projects-page .footer .phone,
.projects-page .footer .mail {
  margin-bottom: 16px;
  font-size: 26px;
}

.projects-page .footer p,
.projects-page .to-top,
.projects-page .footer-bottom {
  font-size: 13px;
}

.projects-page .messengers {
  gap: 12px;
  margin-top: 16px;
}

.projects-page .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.projects-page .social {
  gap: 18px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .projects-page .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
  }

  .projects-page .nav {
    display: none;
  }

  .projects-page .brand {
    justify-self: start;
    font-size: 21px;
  }

  .projects-page .pill {
    display: none;
  }

  .projects-hero {
    padding: 46px 0 38px;
  }

  .projects-inner {
    width: calc(100% - 40px);
  }

  .breadcrumbs {
    margin-bottom: 42px;
    font-size: 13px;
  }

  .projects-hero h1 {
    margin-bottom: 30px;
    font-size: 44px;
  }

  .project-tabs {
    gap: 18px;
    font-size: 13px;
  }

  .projects-list,
  .projects-page .footer-grid,
  .projects-page .footer-bottom {
    grid-template-columns: 1fr;
  }

  .projects-item div,
  .projects-item:nth-child(even) div {
    height: 96px;
    padding: 24px 24px 0;
  }

  .projects-page .footer {
    padding: 32px 24px;
  }
}

.project-detail-page .topbar {
  height: 72px;
  padding: 0 64px;
  font-size: 13px;
}

.project-detail-page .nav {
  gap: 24px;
}

.project-detail-page .nav a[aria-current="page"] {
  font-weight: 600;
}

.project-detail-page .brand {
  font-size: 24px;
}

.project-detail-page .actions {
  gap: 34px;
}

.project-detail-page .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.project-detail-page .burger,
.project-detail-page .burger::before,
.project-detail-page .burger::after,
.project-detail-page .burger span {
  width: 23px;
}

.project-detail-page .burger {
  height: 16px;
}

.project-detail-page .burger span {
  top: 7px;
}

.detail-inner,
.gallery-section,
.detail-text {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.detail-head {
  padding: 66px 0 84px;
}

.detail-head .breadcrumbs {
  margin-bottom: 48px;
}

.detail-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}

.detail-title-row h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
}

.detail-title-row p {
  margin: 0 48px 4px 0;
  font-size: 14px;
  line-height: 1.2;
}

.detail-hero-img {
  width: 100%;
  aspect-ratio: 781 / 322;
  object-fit: cover;
}

.plan-section {
  width: min(900px, calc(100% - 80px));
  margin: 0 auto;
  padding: 86px 0 78px;
  text-align: center;
}

.plan-copy {
  width: min(620px, 100%);
  margin: 0 auto 42px;
}

.plan-copy h2 {
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
}

.plan-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.plan-section img {
  width: min(620px, 100%);
  margin: 0 auto;
}

.gallery-section {
  display: grid;
  gap: 28px;
  padding: 28px 0;
}

.gallery-section img {
  height: 100%;
  object-fit: cover;
}

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

.gallery-two img {
  aspect-ratio: 348 / 394;
}

.gallery-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-three img {
  aspect-ratio: 226 / 313;
}

.gallery-wide,
.gallery-final {
  grid-template-columns: 1fr;
}

.gallery-wide img,
.gallery-final img {
  aspect-ratio: 710 / 325;
}

.detail-text {
  padding: 28px 0 26px;
  text-align: center;
}

.detail-text p {
  width: min(760px, 100%);
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.45;
}

.gallery-final {
  padding-bottom: 92px;
}

.project-detail-page .lead-form {
  padding: 90px 0 74px;
}

.project-detail-page .lead-form h2 {
  margin-bottom: 18px;
  font-size: 60px;
}

.project-detail-page .lead-form .sub {
  margin-bottom: 28px;
  font-size: 19px;
}

.project-detail-page .form-box {
  width: 520px;
}

.project-detail-page .field {
  height: 42px;
  font-size: 15px;
}

.project-detail-page .field + .field {
  margin-top: 6px;
}

.project-detail-page .submit {
  height: 46px;
  margin-top: 22px;
  border-radius: 8px;
  font-size: 15px;
}

.project-detail-page .consent {
  grid-template-columns: 18px 1fr;
  gap: 11px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.35;
}

.project-detail-page .consent input {
  width: 17px;
  height: 17px;
}

.project-detail-page .footer {
  padding: 34px 64px 24px;
}

.project-detail-page .footer-grid {
  min-height: 150px;
  gap: 46px;
}

.project-detail-page .footer h3,
.project-detail-page .footer .phone,
.project-detail-page .footer .mail {
  margin-bottom: 16px;
  font-size: 26px;
}

.project-detail-page .footer p,
.project-detail-page .to-top,
.project-detail-page .footer-bottom {
  font-size: 13px;
}

.project-detail-page .messengers {
  gap: 12px;
  margin-top: 16px;
}

.project-detail-page .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.project-detail-page .social {
  gap: 18px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .project-detail-page .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
  }

  .project-detail-page .nav {
    display: none;
  }

  .project-detail-page .brand {
    justify-self: start;
    font-size: 21px;
  }

  .project-detail-page .pill {
    display: none;
  }

  .detail-inner,
  .gallery-section,
  .detail-text,
  .plan-section {
    width: calc(100% - 40px);
  }

  .detail-head {
    padding: 46px 0 58px;
  }

  .detail-title-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 38px;
  }

  .detail-title-row h1,
  .plan-copy h2,
  .project-detail-page .lead-form h2 {
    font-size: 42px;
  }

  .detail-title-row p {
    margin: 0;
  }

  .detail-hero-img {
    min-height: 320px;
  }

  .plan-section {
    padding: 62px 0 52px;
  }

  .gallery-two,
  .gallery-three,
  .project-detail-page .footer-grid,
  .project-detail-page .footer-bottom {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    gap: 20px;
    padding: 20px 0;
  }

  .gallery-section img {
    aspect-ratio: 4 / 3;
  }

  .project-detail-page .footer {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .detail-title-row h1,
  .plan-copy h2,
  .project-detail-page .lead-form h2 {
    font-size: 34px;
  }
}

.services-page .topbar {
  height: 72px;
  padding: 0 64px;
  font-size: 13px;
}

.services-page .nav {
  gap: 24px;
}

.services-page .nav a[aria-current="page"] {
  font-weight: 600;
}

.services-page .brand {
  font-size: 24px;
}

.services-page .actions {
  gap: 34px;
}

.services-page .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.services-page .burger,
.services-page .burger::before,
.services-page .burger::after,
.services-page .burger span {
  width: 23px;
}

.services-page .burger {
  height: 16px;
}

.services-page .burger span {
  top: 7px;
}

.services-inner,
.service-detail {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.services-hero {
  padding: 70px 0 34px;
}

.services-hero .breadcrumbs {
  margin-bottom: 50px;
}

.services-hero h1 {
  margin: 0 0 38px;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}

.service-tabs a,
.service-tabs button {
  padding-bottom: 8px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
}

.service-tabs .active {
  color: var(--black);
  border-bottom-color: var(--black);
  font-weight: 700;
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: grid;
}

.service-detail {
  grid-template-columns: minmax(360px, 0.94fr) minmax(420px, 1.06fr);
  gap: 54px;
  align-items: start;
  padding: 0 0 112px;
}

.service-info h2 {
  margin: 0 0 18px;
  font-size: 50px;
  line-height: 1.05;
  font-weight: 400;
}

.service-lead {
  width: min(420px, 100%);
  margin: 0 0 54px;
  font-size: 20px;
  line-height: 1.32;
}

.accordion-list {
  border-top: 1px solid var(--line);
}

.accordion-list button {
  width: 100%;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 24px;
  text-align: left;
  cursor: pointer;
}

.accordion-list button span:last-child {
  color: var(--muted);
  font-size: 30px;
  font-weight: 300;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item button {
  border-bottom: 0;
}

.accordion-item.expanded button {
  height: 58px;
}

.accordion-content {
  margin: 0;
  padding: 0 0 24px 22px;
  color: var(--black);
  font-size: 13px;
  line-height: 1.8;
}

.accordion-content li + li {
  margin-top: 7px;
}

.service-detail img {
  aspect-ratio: 486 / 264;
  object-fit: cover;
}

.service-cta {
  padding: 58px 20px 56px;
  background: var(--soft);
  text-align: center;
}

.service-cta h2 {
  width: min(650px, 100%);
  margin: 0 auto 24px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}

.service-cta-form {
  width: min(520px, 100%);
  margin: 0 auto;
}

.service-cta-form button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  color: var(--page);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.service-cta-form label {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 11px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.service-cta-form input {
  width: 17px;
  height: 17px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--page);
}

.services-page .footer {
  padding: 34px 64px 24px;
}

.services-page .footer-grid {
  min-height: 150px;
  gap: 46px;
}

.services-page .footer h3,
.services-page .footer .phone,
.services-page .footer .mail {
  margin-bottom: 16px;
  font-size: 26px;
}

.services-page .footer p,
.services-page .to-top,
.services-page .footer-bottom {
  font-size: 13px;
}

.services-page .messengers {
  gap: 12px;
  margin-top: 16px;
}

.services-page .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.services-page .social {
  gap: 18px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .services-page .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
  }

  .services-page .nav {
    display: none;
  }

  .services-page .brand {
    justify-self: start;
    font-size: 21px;
  }

  .services-page .pill {
    display: none;
  }

  .services-inner,
  .service-detail {
    width: calc(100% - 40px);
  }

  .services-hero {
    padding: 46px 0 32px;
  }

  .services-hero .breadcrumbs {
    margin-bottom: 42px;
  }

  .services-hero h1,
  .service-info h2 {
    font-size: 44px;
  }

  .service-tabs {
    gap: 18px;
    font-size: 13px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 72px;
  }

  .service-detail img {
    order: -1;
  }

  .service-lead {
    margin-bottom: 36px;
    font-size: 18px;
  }

  .accordion-list button {
    height: 64px;
    font-size: 20px;
  }

  .service-cta h2 {
    font-size: 24px;
  }

  .services-page .footer {
    padding: 32px 24px;
  }

  .services-page .footer-grid,
  .services-page .footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .services-hero h1,
  .service-info h2 {
    font-size: 34px;
  }

  .service-cta h2 {
    font-size: 21px;
  }
}

.about-page .topbar,
.contacts-page .topbar {
  height: 72px;
  padding: 0 64px;
  font-size: 13px;
}

.about-page .nav,
.contacts-page .nav {
  gap: 24px;
}

.about-page .nav a[aria-current="page"],
.contacts-page .nav a[aria-current="page"] {
  font-weight: 600;
}

.about-page .brand,
.contacts-page .brand {
  font-size: 24px;
}

.about-page .actions,
.contacts-page .actions {
  gap: 34px;
}

.about-page .pill,
.contacts-page .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.about-page .burger,
.about-page .burger::before,
.about-page .burger::after,
.about-page .burger span,
.contacts-page .burger,
.contacts-page .burger::before,
.contacts-page .burger::after,
.contacts-page .burger span {
  width: 23px;
}

.about-page .burger,
.contacts-page .burger {
  height: 16px;
}

.about-page .burger span,
.contacts-page .burger span {
  top: 7px;
}

.about-page-inner,
.contacts-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.about-page-main {
  padding: 70px 0 92px;
}

.about-page-main .breadcrumbs,
.contacts-hero .breadcrumbs {
  margin-bottom: 50px;
}

.about-page-main h1,
.contacts-hero h1 {
  margin: 0 0 54px;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
}

.about-page-intro {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.about-page-intro > img {
  aspect-ratio: 391 / 381;
  object-fit: cover;
}

.about-page-text {
  font-size: 14px;
  line-height: 1.45;
}

.about-page-text p {
  margin: 0 0 13px;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 108px;
}

.about-team img {
  aspect-ratio: 256 / 274;
  object-fit: cover;
}

.about-team h2 {
  margin: 22px 0 9px;
  font-size: 22px;
  line-height: 1;
}

.about-team p {
  margin: 0;
  color: var(--black);
  font-size: 14px;
}

.about-page .lead-form,
.contacts-page .lead-form {
  padding: 90px 0 74px;
}

.about-page .lead-form h2,
.contacts-page .lead-form h2 {
  margin-bottom: 18px;
  font-size: 60px;
}

.about-page .lead-form .sub,
.contacts-page .lead-form .sub {
  margin-bottom: 28px;
  font-size: 19px;
}

.about-page .form-box,
.contacts-page .form-box {
  width: 520px;
}

.about-page .field,
.contacts-page .field {
  height: 42px;
  font-size: 15px;
}

.about-page .field + .field,
.contacts-page .field + .field {
  margin-top: 6px;
}

.about-page .submit,
.contacts-page .submit {
  height: 46px;
  margin-top: 22px;
  border-radius: 8px;
  font-size: 15px;
}

.about-page .consent,
.contacts-page .consent {
  grid-template-columns: 18px 1fr;
  gap: 11px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.35;
}

.about-page .consent input,
.contacts-page .consent input {
  width: 17px;
  height: 17px;
}

.about-page .footer {
  padding: 34px 64px 24px;
}

.about-page .footer-grid {
  min-height: 150px;
  gap: 46px;
}

.about-page .footer h3,
.about-page .footer .phone,
.about-page .footer .mail {
  margin-bottom: 16px;
  font-size: 26px;
}

.about-page .footer p,
.about-page .to-top,
.about-page .footer-bottom {
  font-size: 13px;
}

.about-page .messengers,
.contacts-page .messengers {
  gap: 12px;
  margin-top: 16px;
}

.about-page .messengers a,
.contacts-page .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.about-page .social,
.contacts-page .social {
  gap: 18px;
  font-size: 18px;
}

.contacts-hero {
  min-height: 560px;
  padding: 70px 0 80px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(240px, 0.72fr) minmax(300px, 0.92fr);
  gap: 44px;
  align-items: start;
}

.contacts-map {
  min-width: 0;
}

.contacts-map iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
  filter: grayscale(1);
  transition: filter 260ms ease;
}

.contacts-map iframe:hover,
.contacts-map iframe:focus {
  filter: grayscale(0);
}

.contacts-grid h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.contacts-grid p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.35;
}

.contacts-phone {
  padding-top: 8px;
  font-size: 24px !important;
  font-weight: 700;
}

.contacts-form {
  min-height: 360px;
}

@media (max-width: 900px) {
  .about-page .topbar,
  .contacts-page .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
  }

  .about-page .nav,
  .contacts-page .nav {
    display: none;
  }

  .about-page .brand,
  .contacts-page .brand {
    justify-self: start;
    font-size: 21px;
  }

  .about-page .pill,
  .contacts-page .pill {
    display: none;
  }

  .about-page-inner,
  .contacts-inner {
    width: calc(100% - 40px);
  }

  .about-page-main,
  .contacts-hero {
    padding: 46px 0 64px;
  }

  .about-page-main h1,
  .contacts-hero h1,
  .about-page .lead-form h2,
  .contacts-page .lead-form h2 {
    font-size: 42px;
  }

  .about-page-intro,
  .about-team,
  .contacts-grid,
  .about-page .footer-grid,
  .about-page .footer-bottom {
    grid-template-columns: 1fr;
  }

  .about-team {
    margin-top: 64px;
  }

  .contacts-grid {
    gap: 34px;
  }

  .contacts-map iframe {
    height: 340px;
  }

  .about-page .footer {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .about-page-main h1,
  .contacts-hero h1,
  .about-page .lead-form h2,
  .contacts-page .lead-form h2 {
    font-size: 34px;
  }

  .contacts-phone,
  .contacts-grid h2 {
    font-size: 21px !important;
  }

  .contacts-map iframe {
    height: 280px;
  }
}

.gallery-page .topbar,
.gallery-detail-page .topbar {
  height: 72px;
  padding: 0 64px;
  font-size: 13px;
}

.gallery-page .nav,
.gallery-detail-page .nav {
  gap: 24px;
}

.gallery-page .nav a[aria-current="page"],
.gallery-detail-page .nav a[aria-current="page"] {
  font-weight: 600;
}

.gallery-page .brand,
.gallery-detail-page .brand {
  font-size: 24px;
}

.gallery-page .actions,
.gallery-detail-page .actions {
  gap: 34px;
}

.gallery-page .pill,
.gallery-detail-page .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.gallery-page .burger,
.gallery-page .burger::before,
.gallery-page .burger::after,
.gallery-page .burger span,
.gallery-detail-page .burger,
.gallery-detail-page .burger::before,
.gallery-detail-page .burger::after,
.gallery-detail-page .burger span {
  width: 23px;
}

.gallery-page .burger,
.gallery-detail-page .burger {
  height: 16px;
}

.gallery-page .burger span,
.gallery-detail-page .burger span {
  top: 7px;
}

.gallery-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.gallery-main {
  padding: 70px 0 112px;
}

.gallery-main .breadcrumbs,
.gallery-detail .breadcrumbs {
  margin-bottom: 50px;
}

.gallery-main h1,
.gallery-detail h1 {
  margin: 0 0 58px;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
}

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

.gallery-grid a {
  display: block;
}

.gallery-grid img {
  aspect-ratio: 226 / 291;
  object-fit: cover;
}

.gallery-page .footer,
.gallery-detail-page .footer {
  padding: 34px 64px 24px;
}

.gallery-page .footer-grid,
.gallery-detail-page .footer-grid {
  min-height: 150px;
  gap: 46px;
}

.gallery-page .footer h3,
.gallery-page .footer .phone,
.gallery-page .footer .mail,
.gallery-detail-page .footer h3,
.gallery-detail-page .footer .phone,
.gallery-detail-page .footer .mail {
  margin-bottom: 16px;
  font-size: 26px;
}

.gallery-page .footer p,
.gallery-page .to-top,
.gallery-page .footer-bottom,
.gallery-detail-page .footer p,
.gallery-detail-page .to-top,
.gallery-detail-page .footer-bottom {
  font-size: 13px;
}

.gallery-page .messengers,
.gallery-detail-page .messengers {
  gap: 12px;
  margin-top: 16px;
}

.gallery-page .messengers a,
.gallery-detail-page .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.gallery-page .social,
.gallery-detail-page .social {
  gap: 18px;
  font-size: 18px;
}

.gallery-detail {
  padding: 70px 0 82px;
}

.gallery-detail-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: start;
}

.gallery-detail-main-img {
  aspect-ratio: 290 / 330;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 88px);
  gap: 14px;
  margin-top: 34px;
}

.gallery-thumbs img {
  width: 88px;
  height: 84px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
}

.gallery-thumbs img.active {
  border-color: var(--black);
}

.gallery-product-info {
  padding-top: 4px;
}

.gallery-product-info p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.45;
}

.gallery-product-info > a {
  width: 142px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
}

.gallery-product-info h2 {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 900px) {
  .gallery-page .topbar,
  .gallery-detail-page .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
  }

  .gallery-page .nav,
  .gallery-detail-page .nav {
    display: none;
  }

  .gallery-page .brand,
  .gallery-detail-page .brand {
    justify-self: start;
    font-size: 21px;
  }

  .gallery-page .pill,
  .gallery-detail-page .pill {
    display: none;
  }

  .gallery-inner {
    width: calc(100% - 40px);
  }

  .gallery-main,
  .gallery-detail {
    padding: 46px 0 72px;
  }

  .gallery-main h1,
  .gallery-detail h1 {
    font-size: 42px;
  }

  .gallery-grid,
  .gallery-detail-layout,
  .gallery-page .footer-grid,
  .gallery-page .footer-bottom,
  .gallery-detail-page .footer-grid,
  .gallery-detail-page .footer-bottom {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    aspect-ratio: 4 / 3;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-thumbs img {
    width: 100%;
  }

  .gallery-page .footer,
  .gallery-detail-page .footer {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .gallery-main h1,
  .gallery-detail h1 {
    font-size: 34px;
  }
}

.site-enhanced .topbar {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 64px;
  background: var(--page);
  border-bottom: 1px solid var(--soft);
  font-size: 13px;
}

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

.site-enhanced .nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  font-weight: 500;
  color: var(--black);
  transition: color 180ms ease, opacity 180ms ease;
}

.site-enhanced .nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.site-enhanced .nav a:hover,
.site-enhanced .nav a[aria-current="page"] {
  color: var(--black);
  font-weight: 500;
}

.site-enhanced .nav a:hover::after,
.site-enhanced .nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site-enhanced .brand {
  font-size: 24px;
  font-weight: 500;
}

.site-enhanced .actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
}

.site-enhanced .pill,
.site-enhanced .modal-primary,
.site-enhanced .submit,
.site-enhanced .service-cta-form button,
.site-enhanced .messengers a {
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.site-enhanced .pill:hover,
.site-enhanced .modal-primary:hover,
.site-enhanced .submit:hover,
.site-enhanced .service-cta-form button:hover,
.site-enhanced .messengers a:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.site-enhanced .pill {
  height: 44px;
  min-width: 132px;
  border-radius: 10px;
  font-size: 13px;
}

.site-enhanced .burger {
  width: 23px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-enhanced .burger::before,
.site-enhanced .burger::after,
.site-enhanced .burger span {
  width: 23px;
}

.site-enhanced .burger span {
  top: 7px;
}

.site-enhanced .footer {
  border-top: 1px solid var(--soft);
  padding: 34px 64px 24px;
}

.site-enhanced .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.05fr 1fr;
  gap: 46px;
  min-height: 150px;
  align-items: start;
}

.site-enhanced .footer h3,
.site-enhanced .footer .phone,
.site-enhanced .footer .mail {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

.site-enhanced .footer p,
.site-enhanced .to-top,
.site-enhanced .footer-bottom {
  font-size: 13px;
}

.site-enhanced .messengers {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.site-enhanced .messengers a {
  width: 96px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.site-enhanced .social {
  display: flex;
  gap: 18px;
  font-size: 18px;
}

.site-enhanced .footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  color: var(--muted);
}

.site-enhanced .footer-credit {
  color: var(--muted);
  text-decoration: none;
  text-align: right;
}

.site-enhanced .footer-credit-name {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(9, 9, 9, 0.38);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.site-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-modal.active {
  display: flex;
}

.site-modal-card {
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  position: relative;
  padding: 38px;
  background: var(--page);
  color: var(--black);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(9, 9, 9, 0.18);
  animation: modalIn 180ms ease both;
}

.site-modal-card.small {
  width: min(420px, 100%);
}

.site-modal-card h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 500;
}

.site-modal-card p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
}

.ui-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 15px;
  outline: 0;
  padding: 12px 0;
  resize: vertical;
}

.modal-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.modal-consent input {
  width: 17px;
  height: 17px;
  min-width: 17px;
  padding: 0;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--page);
  box-sizing: border-box;
}

.modal-form .modal-consent input {
  width: 17px;
  height: 17px;
  min-width: 17px;
  padding: 0;
  border: 1px solid var(--line);
}

.modal-consent input:checked,
.consent input:checked,
.service-cta-form input:checked {
  background: var(--black);
  box-shadow: inset 0 0 0 4px var(--page);
}

.modal-primary {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  color: var(--page);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.site-modal-card.small > .modal-primary {
  min-width: 150px;
  display: flex;
  margin: 0 auto;
  padding: 0 24px;
}

.is-invalid {
  border-color: var(--black) !important;
  outline: 1px solid var(--black);
  outline-offset: 2px;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: min(390px, 92vw);
  height: 100vh;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  background: var(--page);
  box-shadow: -18px 0 60px rgba(9, 9, 9, 0.16);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.site-drawer.active {
  transform: translateX(0);
}

.site-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-drawer-nav {
  display: grid;
  align-content: start;
  gap: 22px;
  font-size: 24px;
}

.site-drawer-nav a {
  position: relative;
  width: fit-content;
  padding-bottom: 6px;
}

.site-drawer-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.site-drawer-nav a:hover::after,
.site-drawer-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 130;
  max-width: min(440px, calc(100% - 32px));
  padding: 14px 18px;
  background: var(--black);
  color: var(--page);
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top-button {
  position: fixed;
  right: 28px;
  bottom: 72px;
  z-index: 75;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: var(--black);
  color: var(--page);
  font: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease, color 180ms ease;
}

.scroll-top-button svg {
  width: 25px;
  height: 25px;
  display: block;
}

.scroll-top-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top-button.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover {
  background: var(--page);
  color: var(--black);
  transform: translateY(-2px) scale(1);
}

.scroll-top-button:active {
  transform: translateY(0) scale(0.98);
}

.site-toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

.project-tabs a,
.service-tabs button,
.gallery-product-info > a,
.accordion-list button {
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.project-tabs a:hover,
.service-tabs button:hover,
.gallery-product-info > a:hover,
.accordion-list button:hover {
  opacity: 0.82;
}

.project-card a,
.projects-item a,
.gallery-grid a {
  display: block;
  position: relative;
  background: var(--page);
  cursor: pointer;
  transition: color 220ms ease;
}

.image-zoom-frame {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.project-card img,
.projects-item img,
.gallery-grid img,
.gallery-thumbs img {
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1), filter 680ms ease;
  will-change: transform;
}

.project-card a:hover img,
.projects-item a:hover img,
.gallery-grid a:hover img {
  transform: scale(1.055) translate3d(0, -2px, 0);
}

.gallery-thumbs img:hover {
  transform: translateY(-3px) scale(1.02);
}

.project-copy,
.projects-item div {
  position: relative;
  z-index: 1;
  background: var(--page);
}

.service-panel.active {
  animation: panelIn 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.site-enhanced a:focus-visible,
.site-enhanced button:focus-visible,
.site-enhanced input:focus-visible,
.site-enhanced textarea:focus-visible {
  outline: 1px solid var(--black);
  outline-offset: 4px;
}

.site-enhanced .gallery-grid a:focus-visible,
.site-enhanced .project-card a:focus-visible,
.site-enhanced .projects-item a:focus-visible {
  outline-offset: -4px;
}

.projects-item[hidden] {
  display: none;
}

.accordion-content[hidden] {
  display: none;
}

.modal-open {
  overflow: hidden;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPhotoIn {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .project-card img,
  .projects-item img,
  .gallery-grid img,
  .gallery-thumbs img {
    transform: none !important;
  }

  .hero img,
  .hero-copy h1,
  .hero-subtitle,
  .hero-kicker {
    animation: none !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100svh - 64px);
  }

  .hero img {
    object-position: 56% center;
  }

  .hero-copy {
    padding: 72px 20px 44px;
  }

  .hero-kicker {
    bottom: 38px;
  }

  .site-enhanced .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 24px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 70;
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease;
    box-shadow: 0 10px 30px rgba(9, 9, 9, 0.04);
  }

  .site-enhanced.has-mobile-header {
    padding-top: 64px;
  }

  .site-enhanced.header-hidden .topbar {
    transform: translateY(-105%);
  }

  .site-enhanced .nav {
    display: none;
  }

  .site-enhanced .brand {
    justify-self: start;
    font-size: 21px;
  }

  .site-enhanced .pill {
    display: none;
  }

  .site-enhanced .footer {
    padding: 32px 24px;
  }

  .site-enhanced .footer-grid,
  .site-enhanced .footer-bottom {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-enhanced .footer-credit {
    text-align: left;
  }

  .scroll-top-button {
    right: 18px;
    bottom: 74px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .scroll-top-button svg {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 560px) {
  .site-modal-card {
    padding: 30px 22px 24px;
  }

  .site-drawer-nav {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .projects-hero h1,
  .projects-page .lead-form h2 {
    font-size: 34px;
  }

  .projects-item h2 {
    font-size: 20px;
  }

  .projects-item p {
    font-size: 13px;
  }
}
