:root {
  --ink: #182019;
  --muted: #667067;
  --paper: #f4f2ec;
  --card: #ffffff;
  --accent: #b45236;
  --accent-dark: #8f3b27;
  --line: rgba(24, 32, 25, 0.14);
  --radius: 24px;
  --shadow: 0 20px 70px rgba(24, 32, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1240px, 100% - 40px);
  margin: 0px auto;
}

.site-header {
  position: absolute;
  inset: 0px 0px auto;
  z-index: 5;
  color: rgb(255, 255, 255);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 600 13px / 1 Georgia, serif;
}

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

.nav a {
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 11px 17px;
}

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: rgb(255, 255, 255);
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(rgba(17, 24, 18, 0.48) 0%, rgba(17, 24, 18, 0.15) 38%, rgba(17, 24, 18, 0.82) 100%);
}

.hero-content {
  padding: 170px 0px 72px;
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 310px;
  align-items: end;
  gap: 70px;
}

.eyebrow {
  margin: 0px 0px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 700;
}

.hero h1 {
  max-width: 900px;
  margin: 0px;
  font: 500 clamp(54px, 7.7vw, 112px) / 0.91 Georgia, "Times New Roman", serif;
  letter-spacing: -0.055em;
}

.hero-aside {
  padding-bottom: 10px;
}

.hero-aside p {
  margin: 0px 0px 25px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.button:focus-visible,
.social-link:focus-visible {
  outline: rgb(255, 255, 255) solid 3px;
  outline-offset: 3px;
}

.button-light {
  color: var(--ink);
  background: rgb(255, 255, 255);
}

.button-light:hover {
  background: rgb(243, 238, 229);
}

.intro {
  padding: 118px 0px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 90px;
  align-items: start;
}

.section-label {
  margin: 7px 0px 0px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lead {
  margin: 0px;
  font: 500 clamp(34px, 4.5vw, 65px) / 1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.services {
  padding: 0px 0px 118px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.34);
}

.service-number {
  color: var(--accent);
  font-size: 13px;
}

.service-card h3 {
  margin: auto 0px 12px;
  font: 500 31px / 1.02 Georgia, serif;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0px;
  color: var(--muted);
}

.portfolio {
  padding: 110px 0px;
  background: var(--ink);
  color: rgb(255, 255, 255);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 820px;
  margin: 0px;
  font: 500 clamp(45px, 6vw, 78px) / 0.98 Georgia, serif;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 330px;
  margin: 0px;
  color: rgba(255, 255, 255, 0.62);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-auto-rows: minmax(260px, 44vw);
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: rgb(41, 49, 41);
}

.project-card:nth-child(3) {
  grid-column: 1 / -1;
  max-height: 620px;
}

.project-card picture,
.project-card img {
  width: 100%;
  height: 100%;
}

.project-card img {
  object-fit: cover;
  transition: transform 0.6s;
}

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

.project-meta {
  position: absolute;
  inset: auto 0px 0px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 42px 28px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.project-meta h3 {
  margin: 0px;
  font: 500 30px / 1.1 Georgia, serif;
}

.project-meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.process {
  padding: 118px 0px;
}

.process-grid {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 28px;
  padding: 28px 0px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.process-row b {
  color: var(--accent);
}

.process-row h3 {
  margin: 0px;
  font: 500 28px / 1.1 Georgia, serif;
}

.process-row p {
  margin: 0px;
  color: var(--muted);
}

.studio {
  padding: 0px 0px 118px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  background: rgb(222, 216, 204);
}

.studio-copy {
  padding: clamp(36px, 6vw, 82px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.studio-copy h2 {
  margin: 0px 0px 28px;
  font: 500 clamp(42px, 5vw, 68px) / 0.98 Georgia, serif;
  letter-spacing: -0.04em;
}

.studio-copy p {
  color: rgb(81, 90, 82);
  max-width: 520px;
}

.studio-stats {
  display: flex;
  gap: 36px;
  padding-top: 40px;
}

.studio-stats strong {
  display: block;
  font: 500 42px / 1 Georgia, serif;
}

.studio-stats span {
  font-size: 13px;
  color: var(--muted);
}

.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-strip {
  padding: 110px 0px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  text-align: center;
}

.contact-strip h2 {
  max-width: 900px;
  margin: 0px auto 34px;
  font: 500 clamp(43px, 6vw, 76px) / 0.98 Georgia, serif;
  letter-spacing: -0.04em;
}

.contact-strip p {
  max-width: 630px;
  margin: 0px auto 32px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-strip .button:last-child {
  margin-left: 10px;
}

.site-footer {
  padding: 42px 0px 30px;
  background: rgb(16, 22, 17);
  color: rgb(255, 255, 255);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.footer-copy p {
  margin: 7px 0px 0px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

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

.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgb(255, 255, 255);
}

.social-icon {
  width: 21px;
  height: 21px;
  display: block;
  background-color: currentcolor;
  mask-position: center center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.icon-telegram {
  mask-image: url("/media/social-icons/v1/mono/telegram.svg");
}

.icon-whatsapp {
  mask-image: url("/media/social-icons/v1/mono/whatsapp.svg");
}

.icon-vk {
  mask-image: url("/media/social-icons/v1/mono/vk.svg");
}

.color-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 28px 0px;
}

.color-icons img {
  width: 34px;
  height: 34px;
}

.menu-toggle {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s, transform 0.55s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav a:not(.header-cta) {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content,
  .intro-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-aside {
    max-width: 540px;
  }

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

  .service-card {
    min-height: 230px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(340px, 75vw);
  }

  .project-card:nth-child(3) {
    grid-column: auto;
  }

  .process-row {
    grid-template-columns: 55px 1fr;
  }

  .process-row p {
    grid-column: 2;
  }

  .studio-image {
    min-height: 480px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 24px, 1240px);
  }

  .header-inner {
    height: 74px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 13px;
  }

  .hero-aside .button {
    display: none;
  }

  .hero-aside {
    padding-bottom: 112px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding: 135px 0px 44px;
  }

  .intro,
  .process {
    padding: 78px 0px;
  }

  .services {
    padding-bottom: 78px;
  }

  .portfolio {
    padding: 78px 0px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .projects-grid {
    grid-auto-rows: 420px;
  }

  .project-meta {
    padding: 55px 18px 18px;
  }

  .project-meta h3 {
    font-size: 25px;
  }

  .studio {
    padding-bottom: 78px;
  }

  .studio-image {
    min-height: 380px;
  }

  .studio-stats {
    gap: 22px;
  }

  .contact-strip .button:last-child {
    margin-left: 0px;
    margin-top: 12px;
  }

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

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

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}