﻿:root {
  --milk: #f0ece5;
  --paper: #f8f5ee;
  --ink: #171717;
  --muted: #545454;
  --green: #004c32;
  --green-deep: #003d29;
  --line: #c9c3b8;
  --shadow: 0 24px 54px rgba(29, 24, 17, 0.16);
  --container: min(1440px, calc(100vw - 72px));
}
.language-trigger{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border:1px solid rgba(0,76,50,.22);border-radius:8px;background:transparent;color:var(--green);font:inherit;font-weight:800;cursor:pointer}.language-switcher:not(.is-open) .language-menu{display:none!important}.language-switcher.is-open .language-menu{display:flex!important;position:absolute!important;top:44px!important;right:0!important;z-index:40!important}.language-trigger:focus-visible{outline:3px solid rgba(0,76,50,.3);outline-offset:2px}
.flag-en{background:url('/assets/flag-en.jpg') center/cover no-repeat!important}.flag-en:before,.flag-en:after{display:none!important}.home-page .about{width:min(1100px,calc(100% - 32px))!important;margin-left:auto!important;margin-right:auto!important}
.locale-flag{display:inline-block;width:20px;height:14px;flex:0 0 20px;border:1px solid rgba(0,0,0,.14);border-radius:2px}.flag-ru{background:linear-gradient(#fff 0 33.33%,#1655b5 33.33% 66.66%,#d52b1e 66.66%)}.flag-en{background:#21468b;position:relative}.flag-en:before{content:"";position:absolute;inset:5px 0;background:#fff;border-top:2px solid #c8102e;border-bottom:2px solid #c8102e}.flag-en:after{content:"";position:absolute;inset:0 7px;background:#fff;border-left:2px solid #c8102e;border-right:2px solid #c8102e}.flag-sr{background:linear-gradient(#c6363c 0 33.33%,#0c4076 33.33% 66.66%,#fff 66.66%)}.language-switcher{width:auto!important;height:44px!important;overflow:visible!important}.language-switcher summary{width:auto!important;height:44px!important;box-sizing:border-box;white-space:nowrap}.language-menu{top:44px!important;right:0!important;left:auto!important;display:flex!important;flex-direction:column!important;width:172px!important;height:auto!important;box-sizing:border-box}.language-menu a{width:100%!important;box-sizing:border-box;white-space:nowrap}

.language-switcher{position:relative;color:var(--green);font-size:13px}.language-switcher summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid rgba(0,76,50,.22);border-radius:8px;cursor:pointer;font-weight:800;list-style:none}.language-switcher summary::-webkit-details-marker{display:none}.language-chevron{font-size:16px;transition:transform .18s ease}.language-switcher[open] .language-chevron{transform:rotate(180deg)}.language-menu{position:absolute;right:0;z-index:40;min-width:168px;margin-top:8px;padding:6px;background:#fff;border:1px solid rgba(0,76,50,.18);border-radius:10px;box-shadow:0 6px 8px rgba(0,45,30,.1)}.language-menu a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;border-radius:6px;color:var(--green);font-weight:700}.language-menu a:hover,.language-menu a[aria-current=page]{background:#eef5f1}.language-switcher summary:focus-visible,.language-menu a:focus-visible{outline:3px solid rgba(0,76,50,.3);outline-offset:2px}.mobile-menu>.language-switcher{align-self:stretch;margin:8px 0}.mobile-menu .language-menu{position:static}.mobile-menu .language-switcher summary{justify-content:center}@media(max-width:760px){.header-actions>.language-switcher{display:none}}@media(prefers-reduced-motion:reduce){.language-chevron{transition:none}}

/* Final premium overrides: keep this block last */
:root {
  --radius-soft: 18px;
  --radius-card: 22px;
  --radius-large: 30px;
  --soft-shadow: 0 22px 58px rgba(28, 24, 17, 0.10);
  --hover-shadow: 0 30px 70px rgba(28, 24, 17, 0.15);
}

.telegram-link,
.max-link,
.case-outline-button,
.contact-button,
.works-empty,
.work-placeholder,
.case-info-badge,
.case-video-player,
.case-video-embed iframe,
.case-gallery-item img,
.case-work-grid article,
.case-live-block,
.case-contact-strip,
.note-paper,
.contact-qr-card,
input,
textarea,
select {
  border-radius: var(--radius-soft);
}

.telegram-link,
.max-link {
  box-shadow: 0 14px 32px rgba(0, 76, 50, 0.16);
}

.hero {
  padding-top: clamp(72px, 7vw, 118px);
  padding-bottom: clamp(58px, 5vw, 86px);
}

.services {
  margin-top: clamp(34px, 4vw, 70px);
  border: 1px solid rgba(201, 195, 184, 0.78);
  border-radius: var(--radius-large);
  background: rgba(248, 245, 238, 0.48);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(28, 24, 17, 0.06);
}

.service-item {
  min-height: 238px;
  padding: 38px 38px 34px;
}

.service-icon {
  margin-bottom: 22px;
}

.works {
  padding: clamp(74px, 7vw, 118px) 0 clamp(52px, 5vw, 84px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 54px);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.work-grid-single {
  grid-template-columns: minmax(280px, 470px);
}

.work-item {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(201, 195, 184, 0.76);
  border-radius: var(--radius-card);
  background: rgba(248, 245, 238, 0.72);
  box-shadow: var(--soft-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-item:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 76, 50, 0.38);
  box-shadow: var(--hover-shadow);
}

.work-item img,
.work-placeholder {
  width: calc(100% - 22px);
  aspect-ratio: 4 / 3;
  margin: 11px 11px 0;
  border-radius: 16px;
  object-fit: cover;
  background: var(--paper);
}

.work-item:hover img {
  transform: scale(1.025);
  filter: contrast(1.03) saturate(1.02);
}

.work-card-body {
  display: grid;
  gap: 12px;
  padding: 22px 24px 24px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(0, 76, 50, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 76, 50, 0.045);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item h3 {
  margin: 0;
  max-width: 92%;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.05;
}

.work-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.work-more {
  width: fit-content;
  margin-top: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-more::after {
  content: " ->";
}

.about {
  margin-top: clamp(54px, 6vw, 90px);
  border-radius: var(--radius-large);
  box-shadow: 0 26px 70px rgba(0, 76, 50, 0.14);
  overflow: hidden;
}

.about-photo {
  border-radius: 18px;
}

.note-paper {
  box-shadow: 0 24px 58px rgba(28, 24, 17, 0.12);
}

.case-main-hero {
  min-height: clamp(640px, 74vh, 820px);
  padding: clamp(76px, 7vw, 128px) 0 clamp(58px, 6vw, 104px);
}

.case-info-badge {
  width: min(100%, 310px);
  min-height: 86px;
  padding: 18px 22px;
  background: rgba(248, 245, 238, 0.76);
  box-shadow: 0 18px 42px rgba(28, 24, 17, 0.08);
}

.case-block {
  padding: clamp(50px, 5vw, 82px) 0;
}

.case-work-grid article {
  padding: 34px 34px 32px;
  border: 1px solid rgba(201, 195, 184, 0.84);
  background: rgba(248, 245, 238, 0.52);
  box-shadow: 0 16px 42px rgba(28, 24, 17, 0.05);
}

.case-live-block,
.case-contact-strip {
  border: 1px solid rgba(201, 195, 184, 0.78);
  box-shadow: var(--soft-shadow);
}

@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  .services {
    margin-top: 52px;
    border-radius: 22px;
  }

  .service-item,
  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4) {
    min-height: 0;
    padding: 28px 0 !important;
  }

  .works {
    padding-top: 72px;
  }

  .work-grid,
  .work-grid-single {
    grid-template-columns: 1fr;
  }

  .work-card-body {
    padding: 20px;
  }

  .case-main-hero {
    min-height: 0;
    padding: 56px 0 42px;
  }

  .case-info-badge {
    width: 100%;
    min-height: 68px;
    border-radius: 18px;
  }
}

/* Final soft editorial pass: keep this block last */
:root {
  --display-soft: "Sofia Sans Extra Condensed", "Arial Narrow", "Inter", sans-serif;
}

.hero h1,
.case-main-hero h1,
.contact-hero h1,
.works-hero h1,
.section-heading h2,
.case-block h2,
.case-contact-strip h2,
.final-cta h2 {
  font-family: var(--display-soft);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  line-height: 0.91;
}

.case-main-hero h1 {
  font-size: clamp(72px, 8.2vw, 128px);
  line-height: 0.9;
  max-width: 940px;
}

.contact-hero h1,
.works-hero h1 {
  line-height: 0.9;
}

.case-block {
  padding: clamp(68px, 6vw, 104px) 0;
}

.case-block h2 {
  margin-bottom: clamp(26px, 3vw, 44px);
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 0.92;
}

.case-gallery-section,
.case-video-section,
.case-work-section {
  margin-top: clamp(20px, 2vw, 36px);
}

.case-work-grid {
  gap: clamp(18px, 2vw, 28px);
  border: 0;
}

.case-work-grid article,
.case-work-grid article:last-child {
  border: 1px solid rgba(201, 195, 184, 0.72);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(248, 245, 238, 0.82), rgba(244, 241, 234, 0.72)),
    var(--paper);
  box-shadow: 0 18px 48px rgba(28, 24, 17, 0.07);
}

.contact-button-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  justify-self: start;
}

.contact-button img.contact-button-logo {
  width: 25px;
  height: 25px;
}

@media (min-width: 761px) {
  .case-main-hero {
    column-gap: clamp(70px, 8vw, 150px);
  }

  .case-info-panel {
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(78px, 23vw, 122px);
  }

  .case-main-hero h1 {
    font-size: clamp(58px, 16vw, 84px);
    line-height: 0.92;
  }

  .contact-hero h1,
  .works-hero h1 {
    font-size: clamp(66px, 18vw, 96px);
  }

  .services {
    display: block;
    margin-top: 58px;
    border-radius: 24px;
    overflow: hidden;
  }

  .services .vertical-label {
    display: block;
    width: 100%;
    padding: 22px 22px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 195, 184, 0.78);
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
  }

  .services .service-list {
    display: block;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4) {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 30px 22px !important;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(201, 195, 184, 0.78);
  }

  .services .service-item:last-child {
    border-bottom: 0;
  }

  .services .service-icon {
    width: 78px;
    height: 78px;
    margin: 0;
    align-self: center;
    justify-self: center;
  }

  .services .service-item span {
    display: none;
  }

  .services .service-copy {
    display: grid;
    gap: 8px;
  }

  .services .service-item h2,
  .services .service-item p {
    margin: 0 !important;
  }

  .case-block {
    padding: 58px 0;
  }

  .case-block h2 {
    margin-bottom: 24px;
    font-size: clamp(40px, 12vw, 60px);
  }

  .case-work-grid {
    display: grid;
    gap: 16px;
  }

  .case-work-grid article,
  .case-work-grid article:last-child {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .case-work-grid .case-icon {
    margin: 0;
  }
}

/* Final soft editorial pass: keep this block last */
:root {
  --display-soft: "Sofia Sans Extra Condensed", "Arial Narrow", "Inter", sans-serif;
}

.hero h1,
.case-main-hero h1,
.contact-hero h1,
.works-hero h1,
.section-heading h2,
.case-block h2,
.case-contact-strip h2,
.final-cta h2 {
  font-family: var(--display-soft);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  line-height: 0.91;
}

.case-main-hero h1 {
  font-size: clamp(72px, 8.2vw, 128px);
  line-height: 0.9;
  max-width: 940px;
}

.contact-hero h1,
.works-hero h1 {
  line-height: 0.9;
}

.case-block {
  padding: clamp(68px, 6vw, 104px) 0;
}

.case-block h2 {
  margin-bottom: clamp(26px, 3vw, 44px);
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 0.92;
}

.case-gallery-section,
.case-video-section,
.case-work-section {
  margin-top: clamp(20px, 2vw, 36px);
}

.case-work-grid {
  gap: clamp(18px, 2vw, 28px);
  border: 0;
}

.case-work-grid article,
.case-work-grid article:last-child {
  border: 1px solid rgba(201, 195, 184, 0.72);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(248, 245, 238, 0.82), rgba(244, 241, 234, 0.72)),
    var(--paper);
  box-shadow: 0 18px 48px rgba(28, 24, 17, 0.07);
}

.contact-button-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  justify-self: start;
}

.contact-button img.contact-button-logo {
  width: 25px;
  height: 25px;
}

.services {
  position: relative;
}

@media (min-width: 761px) {
  .case-main-hero {
    column-gap: clamp(70px, 8vw, 150px);
  }

  .case-info-list {
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(78px, 23vw, 122px);
  }

  .case-main-hero h1 {
    font-size: clamp(58px, 16vw, 84px);
    line-height: 0.92;
  }

  .contact-hero h1,
  .works-hero h1 {
    font-size: clamp(66px, 18vw, 96px);
  }

  .services {
    display: block;
    margin-top: 58px;
    border-radius: 24px;
    overflow: hidden;
  }

  .services .vertical-label {
    display: block;
    width: 100%;
    padding: 22px 22px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 195, 184, 0.78);
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
  }

  .services .service-list {
    display: block;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4) {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 30px 22px !important;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(201, 195, 184, 0.78);
  }

  .services .service-item:last-child {
    border-bottom: 0;
  }

  .services .service-icon {
    width: 78px;
    height: 78px;
    margin: 0;
    align-self: center;
    justify-self: center;
  }

  .services .service-copy {
    display: grid;
    gap: 8px;
  }

  .services .service-item h2,
  .services .service-item p {
    margin: 0 !important;
  }

  .case-block {
    padding: 58px 0;
  }

  .case-block h2 {
    margin-bottom: 24px;
    font-size: clamp(40px, 12vw, 60px);
  }

  .case-work-grid {
    display: grid;
    gap: 16px;
  }

  .case-work-grid article,
  .case-work-grid article:last-child {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .case-work-grid .case-icon {
    margin: 0;
  }
}

/* Premium softening pass */
:root {
  --radius-soft: 18px;
  --radius-card: 22px;
  --radius-large: 30px;
  --soft-shadow: 0 22px 58px rgba(28, 24, 17, 0.10);
  --hover-shadow: 0 30px 70px rgba(28, 24, 17, 0.15);
}

.telegram-link,
.max-link,
.case-outline-button,
.contact-button,
.admin-link,
button,
.works-empty,
.work-placeholder,
.case-info-badge,
.case-video-player,
.case-video-embed iframe,
.case-gallery-item img,
.case-work-grid article,
.case-live-block,
.case-contact-strip,
.note-paper,
.contact-card,
.contact-qr-card,
.panel,
input,
textarea,
select {
  border-radius: var(--radius-soft);
}

.telegram-link,
.max-link {
  box-shadow: 0 14px 32px rgba(0, 76, 50, 0.16);
}

.hero {
  padding-top: clamp(72px, 7vw, 118px);
  padding-bottom: clamp(58px, 5vw, 86px);
}

.services {
  margin-top: clamp(34px, 4vw, 70px);
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: var(--radius-large);
  background: rgba(248, 245, 238, 0.48);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(28, 24, 17, 0.06);
}

.service-item {
  min-height: 238px;
  padding: 38px 38px 34px;
}

.service-icon {
  margin-bottom: 22px;
}

.works {
  padding: clamp(74px, 7vw, 118px) 0 clamp(52px, 5vw, 84px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 54px);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.work-grid-single {
  grid-template-columns: minmax(280px, 470px);
}

.work-item {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(201, 195, 184, 0.76);
  border-radius: var(--radius-card);
  background: rgba(248, 245, 238, 0.72);
  box-shadow: var(--soft-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-item:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 76, 50, 0.38);
  box-shadow: var(--hover-shadow);
}

.work-item img,
.work-placeholder {
  width: calc(100% - 22px);
  aspect-ratio: 4 / 3;
  margin: 11px 11px 0;
  border-radius: 16px;
  object-fit: cover;
  background: var(--paper);
}

.work-item:hover img {
  transform: scale(1.025);
  filter: contrast(1.03) saturate(1.02);
}

.work-card-body {
  display: grid;
  gap: 12px;
  padding: 22px 24px 24px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(0, 76, 50, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 76, 50, 0.045);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item h3 {
  margin: 0;
  max-width: 90%;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.05;
}

.work-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.work-more {
  width: fit-content;
  margin-top: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-more::after {
  content: " ->";
}

.about {
  margin-top: clamp(54px, 6vw, 90px);
  border-radius: var(--radius-large);
  box-shadow: 0 26px 70px rgba(0, 76, 50, 0.14);
  overflow: hidden;
}

.about-photo {
  border-radius: 18px;
}

.note-paper {
  box-shadow: 0 24px 58px rgba(28, 24, 17, 0.12);
}

.case-main-hero {
  min-height: clamp(640px, 74vh, 820px);
  padding: clamp(76px, 7vw, 128px) 0 clamp(58px, 6vw, 104px);
}

.case-info-panel {
  gap: 22px;
}

.case-info-badge {
  width: min(100%, 310px);
  min-height: 86px;
  padding: 18px 22px;
  background: rgba(248, 245, 238, 0.76);
  box-shadow: 0 18px 42px rgba(28, 24, 17, 0.08);
}

.case-block {
  padding: clamp(50px, 5vw, 82px) 0;
}

.case-work-grid article {
  padding: 34px 34px 32px;
  border: 1px solid rgba(201, 195, 184, 0.84);
  background: rgba(248, 245, 238, 0.52);
  box-shadow: 0 16px 42px rgba(28, 24, 17, 0.05);
}

.case-live-block,
.case-contact-strip {
  border: 1px solid rgba(201, 195, 184, 0.78);
  box-shadow: var(--soft-shadow);
}

@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  .services {
    margin-top: 52px;
    border-radius: 22px;
  }

  .service-item {
    min-height: 0;
    padding: 28px 0 !important;
  }

  .works {
    padding-top: 72px;
  }

  .work-grid,
  .work-grid-single {
    grid-template-columns: 1fr;
  }

  .work-card-body {
    padding: 20px;
  }

  .case-main-hero {
    min-height: 0;
    padding: 56px 0 42px;
  }

  .case-info-badge {
    width: 100%;
    min-height: 68px;
    border-radius: 18px;
  }
}

@media (max-width: 760px) {
  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4) {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
  }

  .services .service-icon {
    flex: 0 0 74px !important;
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
  }

  .services .service-copy {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .services .service-item h2 {
    margin: 4px 0 0 !important;
  }

  .services .service-item p {
    margin: 7px 0 0 !important;
    max-width: none !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--milk);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

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

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

.site-header,
main,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 26px 0 18px;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--green);
  font-weight: 700;
  font-size: 19px;
}

.brand img {
  width: 52px;
  height: 38px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 70px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding-bottom: 6px;
}

.desktop-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.desktop-nav a,
.site-footer a,
.section-heading a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.site-footer a:hover,
.section-heading a:hover {
  color: var(--green);
}

.desktop-nav a.is-active {
  color: var(--green);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  width: 100%;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.telegram-link:hover {
  transform: translateY(-2px);
  background: var(--green-deep);
}

.messenger-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-actions {
  justify-self: end;
}

.max-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid var(--green);
  background: var(--green);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.max-link:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.max-link img {
  width: 23px;
  height: 23px;
}

.header-cta {
  justify-self: end;
}

.plane {
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(5% 47%, 94% 10%, 68% 90%, 48% 58%, 26% 78%, 36% 55%);
  transform: rotate(-8deg);
}

.telegram-label {
  display: grid;
  gap: 2px;
  line-height: 0.92;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(720px, 1fr);
  gap: clamp(18px, 2.8vw, 48px);
  align-items: start;
  min-height: 760px;
  padding: 28px 0 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 56px;
}

.hero h1 {
  margin: 0;
  max-width: 500px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(68px, 5.8vw, 106px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hand {
  font-family: "Caveat", cursive;
  color: var(--green);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-hand {
  position: relative;
  width: fit-content;
  margin: 6px 0 34px;
  font-size: clamp(32px, 2.45vw, 48px);
  transform: rotate(-3deg);
}

.hero-hand::after {
  position: absolute;
  left: 6px;
  bottom: -12px;
  width: 97%;
  height: 12px;
  border-bottom: 2px solid var(--green);
  border-radius: 50%;
  content: "";
}

.hero-text {
  margin: 0 0 30px;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-actions .telegram-link {
  min-width: 246px;
  padding-inline: 28px;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: start;
  min-width: 0;
  margin-top: -8px;
  margin-left: -380px;
  margin-right: -72px;
}

.mobile-collage-note {
  position: absolute;
  left: 19%;
  top: 58%;
  z-index: 3;
  display: grid;
  grid-template-columns: 58px auto;
  align-items: start;
  gap: 5px;
  color: var(--green);
  font-family: "Caveat", cursive;
  font-size: 22px;
  line-height: 0.94;
  transform: rotate(-7deg);
}

.mobile-collage-note svg {
  width: 58px;
  height: 34px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual img {
  width: min(90vw, 1450px);
  max-width: none;
  height: auto;
  object-fit: contain;
}

.hero-mobile-img {
  display: none;
}

.side-note {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-self: center;
  margin: -24px 0 0;
  color: var(--ink);
  font-size: 21px;
  transform: rotate(-5deg);
  white-space: nowrap;
}

.note-arrow {
  position: static;
  grid-row: 1 / 5;
  align-self: center;
  width: 72px;
  height: 44px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-collage {
  position: relative;
  min-height: 520px;
}

.paint-stroke {
  position: absolute;
  right: 28%;
  top: 15px;
  width: 360px;
  height: 400px;
  background: var(--green);
  clip-path: polygon(11% 0, 100% 13%, 88% 31%, 100% 53%, 78% 55%, 87% 100%, 13% 89%, 23% 60%, 0 50%, 18% 31%);
  transform: rotate(5deg);
}

.collage-item {
  position: absolute;
  box-shadow: var(--shadow);
}

.folder {
  left: 0;
  top: 72px;
  width: 42%;
  transform: rotate(-8deg);
}

.sign {
  right: 0;
  top: 68px;
  width: 47%;
  transform: rotate(2deg);
}

.phone {
  left: 39%;
  top: 142px;
  z-index: 3;
  width: 25%;
  min-width: 168px;
  filter: drop-shadow(0 22px 28px rgba(23, 23, 23, 0.25));
}

.stamp {
  position: absolute;
  right: 11%;
  bottom: 10px;
  width: 150px;
}

.services {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vertical-label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-right: 1px solid var(--line);
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.service-item {
  min-height: 205px;
  padding: 30px 36px 27px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  width: 74px;
  height: 74px;
  margin: 0 0 16px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.service-item span {
  display: none;
}

.service-item h2 {
  margin: 0 0 10px;
  font-size: 17px;
  text-transform: uppercase;
}

.service-item p {
  margin: 0;
  max-width: 220px;
  font-size: 14px;
  line-height: 1.55;
}

.works {
  padding: 30px 0 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(40px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-heading a {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading .hand {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 34px;
}

.works-page {
  min-height: 62vh;
  padding: 80px 0 60px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.work-grid-single {
  grid-template-columns: minmax(220px, 320px);
}

.works-empty {
  max-width: 360px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.works-empty p {
  margin: 0;
}

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

.work-item img {
  width: 100%;
  aspect-ratio: 1 / 0.96;
  object-fit: cover;
  margin-bottom: 14px;
  background: var(--paper);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.work-item:hover img {
  transform: translateY(-5px) rotate(-1deg);
  filter: contrast(1.04);
}

.work-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.18;
}

.work-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.work-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 0.96;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 82px;
}

.case-page main {
  padding-bottom: 34px;
}

.case-preview-note {
  display: inline-block;
  margin: 22px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-main-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(300px, 0.62fr);
  gap: clamp(40px, 6.5vw, 96px);
  align-items: center;
  min-height: 560px;
  padding: 42px 0 38px;
}

.case-kicker,
.case-block h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.case-main-hero h1 {
  margin: 0;
  max-width: 690px;
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(56px, 4.7vw, 86px);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
}

.case-hand {
  margin: 24px 0 18px;
  color: var(--green);
  font-size: clamp(30px, 2.9vw, 48px);
  line-height: 0.95;
}

.case-description {
  max-width: 610px;
  margin: 0 0 30px;
  font-size: 18px;
}

.case-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.case-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.case-outline-button:hover {
  transform: translateY(-2px);
  background: rgba(0, 76, 50, 0.08);
}

.case-info-panel {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  min-height: 330px;
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid var(--line);
}

.case-info-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: min(100%, 270px);
  min-height: 76px;
  padding: 16px 20px;
  border: 1px solid var(--green);
  background: rgba(248, 245, 238, 0.68);
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.06);
}

.case-icon,
.case-live-icon {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--green);
  overflow: hidden;
}

.case-icon svg,
.case-live-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-icon img,
.case-live-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-info-badge b {
  font-size: 18px;
  text-transform: uppercase;
}

.case-block {
  padding: 28px 0 34px;
}

.case-block h2 {
  font-size: clamp(24px, 2.2vw, 36px);
  letter-spacing: 0;
}

.case-video-list {
  display: grid;
  gap: 22px;
}

.case-video-card {
  margin: 0;
}

.case-video-player,
.case-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111;
  box-shadow: var(--shadow);
}

.case-video-caption {
  margin: 10px 0 0;
  color: var(--green);
  font-family: "Caveat", cursive;
  font-size: 26px;
  line-height: 1;
}

.case-gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 18px;
  scroll-snap-type: x mandatory;
}

.case-gallery-item {
  flex: 0 0 min(320px, 72vw);
  border: 0;
  background: transparent;
  padding: 0;
  scroll-snap-align: start;
}

.case-gallery-item img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(23, 23, 23, 0.08);
}

.case-gallery-item span {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-family: "Caveat", cursive;
  font-size: 25px;
  line-height: 1;
  text-align: center;
}

.case-work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.case-work-grid article {
  min-height: 230px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.case-work-grid article:last-child {
  border-right: 0;
}

.case-work-grid h3 {
  margin: 20px 0 12px;
  font-size: 16px;
  text-transform: uppercase;
}

.case-work-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.case-live-block {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin: 36px 0 24px;
  padding: 28px 34px;
  border: 1px solid rgba(201, 195, 184, 0.55);
  background: rgba(248, 245, 238, 0.5);
}

.case-live-icon {
  width: 86px;
  height: 86px;
}

.case-live-block h2 {
  margin: 0 0 8px;
  font-size: 22px;
  text-transform: uppercase;
}

.case-live-block p {
  margin: 0;
}

.case-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 34px 0 26px;
  padding: 28px 34px;
  border: 1px solid rgba(201, 195, 184, 0.68);
  background: rgba(248, 245, 238, 0.62);
}

.case-contact-strip h2 {
  margin: 0 0 6px;
  color: var(--green);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.case-contact-strip p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.case-neighbors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(201, 195, 184, 0.68);
}

.case-neighbors a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 24px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 76, 50, 0.18);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.case-neighbors a:hover {
  background: var(--green-deep);
  box-shadow: 0 22px 52px rgba(0, 76, 50, 0.24);
  transform: translateY(-2px);
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 70px 18px 24px;
  overflow: auto;
  background: rgba(10, 10, 10, 0.82);
}

.case-lightbox[hidden] {
  display: none;
}

.case-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1180px, calc(100vw - 36px));
  max-height: calc(100dvh - 112px);
  margin: auto;
  object-fit: contain;
}

.case-lightbox button {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 32px;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(540px, 0.9fr) minmax(260px, 0.55fr);
  gap: 46px;
  align-items: start;
  margin-top: 18px;
  padding: 46px 48px 40px;
  background: var(--green);
  color: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 238px 1fr;
  gap: 36px;
  align-items: center;
}

.about-photo {
  width: 238px;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: 50% 18%;
}

.about-kicker {
  margin: 0 0 22px;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 0 0 22px;
  font-size: 20px;
}

.about-copy p {
  max-width: 330px;
  margin: 0 0 14px;
  font-size: 16px;
}

.signature {
  margin-top: 18px !important;
  color: #fff;
  font-size: 52px !important;
}

.note-paper {
  position: relative;
  align-self: center;
  padding: 32px 42px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.13);
  transform: rotate(-1.5deg);
}

.tape {
  position: absolute;
  width: 46px;
  height: 22px;
  background: rgba(212, 199, 178, 0.8);
}

.tape-left {
  left: 18px;
  top: -11px;
  transform: rotate(-7deg);
}

.tape-right {
  right: 22px;
  bottom: -10px;
  transform: rotate(-9deg);
}

.note-paper ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.note-paper li {
  display: flex;
  gap: 14px;
}

.note-paper li::before {
  color: var(--green);
  content: "✓";
}

.final-cta {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 34px;
  text-transform: uppercase;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.58fr) minmax(640px, 1fr);
  gap: clamp(40px, 6vw, 94px);
  align-items: center;
  min-height: 760px;
  padding: 54px 0 38px;
}

.contact-hero-centered {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 92px);
  padding: 72px 0 78px;
  text-align: center;
}

.contact-hero-centered .contact-copy {
  width: min(100%, 560px);
}

.contact-copy h1 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(86px, 7.2vw, 142px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.contact-hand {
  position: relative;
  width: fit-content;
  margin: 20px 0 28px;
  color: var(--green);
  font-size: 34px;
  transform: rotate(-3deg);
}

.contact-hero-centered .contact-hand {
  margin-inline: auto;
}

.contact-hand::after {
  position: absolute;
  left: 2px;
  bottom: -10px;
  width: 100%;
  height: 10px;
  border-bottom: 2px solid var(--green);
  border-radius: 50%;
  content: "";
}

.contact-text {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.48;
}

.contact-links {
  display: grid;
  gap: 10px;
  max-width: 410px;
}

.contact-hero-centered .contact-links {
  max-width: 460px;
  margin-inline: auto;
}

.contact-button {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(0, 76, 50, 0.44);
  background: rgba(248, 245, 238, 0.35);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.contact-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-button b {
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.contact-button:hover {
  border-color: var(--green);
  background: rgba(0, 76, 50, 0.06);
}

.contact-button:hover b {
  transform: translateX(5px);
}

.response-note {
  display: grid;
  grid-template-columns: 72px auto;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 22px 0 0 118px;
  color: var(--ink);
  font-size: 24px;
  line-height: 0.92;
  transform: rotate(-6deg);
}

.contact-hero-centered .response-note {
  margin: 24px auto 0;
}

.response-note svg {
  width: 70px;
  height: 44px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-visual {
  position: relative;
  min-height: 640px;
}

.contact-paint {
  position: absolute;
  left: 27%;
  top: 64px;
  width: 520px;
  height: 310px;
  background: var(--green);
  clip-path: polygon(1% 29%, 79% 6%, 100% 20%, 76% 36%, 98% 54%, 74% 72%, 83% 97%, 13% 82%, 25% 58%, 4% 47%);
  transform: rotate(3deg);
}

.contact-folder {
  position: absolute;
  left: 33%;
  top: 48px;
  width: 260px;
  height: 360px;
  background: #064730;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}

.contact-folder img {
  width: 140px;
  margin: 92px auto 0;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.contact-phone {
  position: absolute;
  left: 9%;
  top: 170px;
  z-index: 4;
  display: grid;
  justify-items: center;
  width: 205px;
  height: 410px;
  padding: 72px 20px 28px;
  border: 12px solid #0e0e0e;
  border-radius: 36px;
  background: #f8f5ee;
  box-shadow: 0 28px 44px rgba(23, 23, 23, 0.22);
  transform: rotate(-8deg);
}

.contact-phone::before {
  position: absolute;
  top: 14px;
  width: 76px;
  height: 17px;
  border-radius: 999px;
  background: #0e0e0e;
  content: "";
}

.contact-phone span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-phone strong {
  margin: 18px 0 30px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 42px;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.contact-phone i {
  width: 72px;
  height: 110px;
  background:
    linear-gradient(var(--green), var(--green)) 50% 0 / 2px 100% no-repeat,
    radial-gradient(circle at 35% 28%, transparent 8px, var(--green) 9px, var(--green) 10px, transparent 11px);
  opacity: 0.55;
}

.contact-phone img {
  position: absolute;
  bottom: 18px;
  width: 66px;
}

.contact-note-paper {
  position: absolute;
  right: 14%;
  top: 186px;
  z-index: 5;
  padding: 34px 44px;
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.14);
  font-family: "Caveat", cursive;
  font-size: 27px;
  line-height: 0.96;
  text-align: center;
  transform: rotate(5deg);
}

.contact-note-paper .tape {
  left: 34px;
  top: -13px;
}

.contact-qr-card {
  position: absolute;
  right: 28%;
  bottom: 44px;
  z-index: 6;
  width: 190px;
  padding: 24px 22px 22px;
  background: var(--paper);
  box-shadow: 0 20px 42px rgba(23, 23, 23, 0.16);
  text-align: center;
  transform: rotate(5deg);
}

.contact-qr-card span {
  display: block;
  margin-bottom: 15px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.qr-art {
  width: 122px;
  height: 122px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 18px, #111 18px 28px, transparent 28px 36px, #111 36px 46px, transparent 46px 54px, #111 54px 64px, transparent 64px),
    linear-gradient(#111 10px, transparent 10px 18px, #111 18px 28px, transparent 28px 36px, #111 36px 46px, transparent 46px 54px, #111 54px 64px, transparent 64px);
  background-size: 64px 64px;
  border: 8px solid #111;
}

.contact-laptop {
  position: absolute;
  right: -150px;
  top: 110px;
  width: 300px;
  height: 430px;
  background:
    linear-gradient(115deg, transparent 0 30%, #111 31% 68%, transparent 69%),
    linear-gradient(#2f2f2f, #0f0f0f);
  box-shadow: -20px 28px 54px rgba(23, 23, 23, 0.2);
  transform: rotate(12deg);
}

.contact-branch {
  position: absolute;
  right: 68px;
  bottom: 8px;
  width: 145px;
  height: 105px;
  border-left: 3px solid #6b7f53;
  border-radius: 80% 0 0 40%;
  transform: rotate(58deg);
}

.contact-branch::before,
.contact-branch::after {
  position: absolute;
  width: 54px;
  height: 24px;
  border-radius: 100% 0;
  background: #788b61;
  content: "";
}

.contact-branch::before {
  left: 20px;
  top: 20px;
  transform: rotate(-42deg);
}

.contact-branch::after {
  left: 58px;
  top: 56px;
  transform: rotate(22deg);
}

.section-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

.hero.section-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --container: min(100vw - 48px, 1040px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    gap: 28px;
  }

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

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    margin: 26px -40px 0;
  }

  .hero-visual img {
    width: min(112vw, 1040px);
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-main-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-info-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    min-height: 0;
    padding-left: 0;
    border-left: 0;
  }

  .case-info-badge {
    width: 100%;
  }

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

  .case-work-grid article {
    border-top: 1px solid var(--line);
  }

  .case-live-block {
    grid-template-columns: 84px 1fr;
  }

  .case-live-block .telegram-link {
    grid-column: 2;
    width: fit-content;
  }

  .case-contact-strip {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-item:nth-child(3) {
    border-right: 0;
  }

  .service-item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

  .contact-hero {
    grid-template-columns: 0.72fr 1fr;
    gap: 34px;
  }

  .contact-hero-centered {
    display: flex;
  }

  .contact-visual {
    min-height: 590px;
  }

  .contact-folder {
    left: 30%;
  }

  .contact-phone {
    left: 2%;
  }

  .contact-note-paper {
    right: 4%;
  }

  .contact-laptop {
    right: -210px;
  }

}

@media (max-width: 760px) {
  :root {
    --container: min(calc(100vw - 34px), 430px);
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 18px 0 10px;
  }

  .brand {
    gap: 10px;
    font-size: 16px;
  }

  .brand img {
    width: 44px;
    height: 32px;
  }

  .desktop-nav,
  .header-cta,
  .header-actions {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 74px 17px auto;
    z-index: 28;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    border: 1px solid var(--line);
    background: rgba(248, 245, 238, 0.97);
    box-shadow: 0 20px 60px rgba(23, 23, 23, 0.16);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu[aria-hidden="false"] {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-menu .telegram-link {
    margin-top: 0;
    padding: 0 18px;
    border-bottom: 0;
  }

  .mobile-menu .messenger-actions {
    margin-top: 18px;
    width: 100%;
  }

  .mobile-menu .messenger-actions .telegram-link {
    flex: 1;
  }

  .mobile-menu .messenger-actions .max-link {
    padding: 0;
    border-bottom: 1px solid var(--green);
  }

  .hero {
    position: relative;
    display: block;
    min-height: 0;
    padding: 38px 0 0;
    isolation: isolate;
  }

  .hero::before {
    content: none;
  }

  .hero h1 {
    font-size: clamp(70px, 18vw, 84px);
    line-height: 1.04;
  }

  .hero-hand {
    margin: 20px 0 30px;
    font-size: clamp(36px, 9vw, 44px);
  }

  .hero-text {
    margin-bottom: 28px;
    font-size: 20px;
    line-height: 1.45;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .telegram-link {
    width: calc(100vw - 154px);
    flex: 0 0 calc(100vw - 154px);
    min-height: 58px;
    min-width: 0;
    padding-inline: 14px;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(0, 76, 50, 0.2);
  }

  .hero-actions .max-link {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  .hero + .services {
    margin-top: 38px;
  }

  .side-note {
    display: grid;
    width: fit-content;
    margin: 16px auto 0;
    font-size: 21px;
  }

  .note-arrow {
    width: 58px;
    height: 48px;
    transform: rotate(142deg);
  }

  .hero-visual {
    display: none;
  }

  .mobile-collage-note {
    position: absolute;
    left: 16px;
    top: 6px;
    z-index: 3;
    display: grid;
    grid-template-columns: 54px auto;
    align-items: start;
    gap: 3px;
    color: var(--green);
    font-family: "Caveat", cursive;
    font-size: 18px;
    line-height: 0.94;
    transform: rotate(-7deg);
  }

  .mobile-collage-note svg {
    width: 54px;
    height: 32px;
    fill: none;
    stroke: var(--green);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-desktop-img {
    display: none;
  }

  .hero-mobile-img {
    display: block;
    width: calc(100vw + 40px);
    max-width: none;
    margin-top: 0;
    transform: translateX(-40px);
  }

  .case-main-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 22px;
    padding: 28px 0 24px;
  }

  .case-preview-note {
    margin: 18px 0 10px;
    padding: 0;
    border: 0;
    color: var(--muted);
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
  }

  .case-kicker,
  .case-block h2 {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .case-block h2 {
    margin-bottom: 18px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
  }

  .case-main-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 50px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .case-hand {
    margin: 16px 0 14px;
    font-size: 28px;
    line-height: 1;
  }

  .case-description {
    font-size: 16px;
  }

  .case-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .case-buttons .telegram-link,
  .case-outline-button {
    width: 100%;
    min-height: 54px;
  }

  .case-info-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    justify-items: stretch;
    min-height: 0;
    padding-left: 0;
    border-left: 0;
  }

  .case-info-badge {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    align-content: center;
    min-height: 92px;
    padding: 12px 8px;
    text-align: center;
    border-color: rgba(0, 76, 50, 0.45);
    background: var(--paper);
  }

  .case-info-badge .case-icon {
    width: 28px;
    height: 28px;
  }

  .case-info-badge b {
    font-size: 13px;
    line-height: 1.15;
  }

  .case-video-player,
  .case-video-embed iframe {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
  }

  .case-gallery {
    margin: 0 -17px;
    padding-inline: 17px;
  }

  .case-gallery-item {
    flex-basis: min(300px, 78vw);
  }

  .case-gallery-item span {
    font-size: 24px;
  }

  .case-work-grid {
    grid-template-columns: 1fr;
  }

  .case-work-grid article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    min-height: 0;
    padding: 24px 20px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .case-work-grid .case-icon {
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    margin-top: 2px;
  }

  .case-work-grid h3 {
    margin-top: 0;
  }

  .case-live-block {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 20px;
  }

  .case-live-icon {
    width: 36px;
    height: 36px;
  }

  .case-live-block .telegram-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .case-contact-strip {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .case-contact-strip .messenger-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 10px;
    width: 100%;
  }

  .case-contact-strip .telegram-link {
    width: 100%;
    min-height: 56px;
  }

  .case-contact-strip .max-link {
    width: 56px;
    height: 56px;
    min-height: 56px;
    min-width: 56px;
    flex: 0 0 56px;
  }

  .case-contact-strip .max-link img {
    width: 26px;
    height: 26px;
    object-fit: contain;
  }

  .case-neighbors {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 430px;
    margin-top: 22px;
  }

  .services {
    display: block;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .vertical-label {
    display: block;
    padding: 0 0 14px;
    border-right: 0;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 18px;
  }

  .service-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-child(3),
  .service-item:nth-child(n + 4) {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 6px;
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .service-item h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 4px 0 0;
  }

  .service-item p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin-top: 0;
    font-size: 16px;
  }

  .about {
    display: block;
    margin-inline: calc(50% - 50vw);
    padding: 28px 17px 36px;
    overflow: hidden;
  }

  .about-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-photo {
    width: min(250px, 64vw);
    margin: 0 auto;
  }

  .about-copy h2,
  .about-copy p {
    max-width: none;
  }

  .signature {
    display: none;
  }

  .note-paper {
    margin-top: 28px;
    padding: 28px 26px;
    transform: rotate(-1deg);
  }

  .contact-hero {
    display: block;
    min-height: 0;
    padding: 38px 0 28px;
  }

  .contact-hero-centered {
    min-height: calc(100vh - 70px);
    padding: 44px 0 56px;
  }

  .contact-copy h1 {
    max-width: 100%;
    font-size: clamp(58px, 16vw, 68px);
    line-height: 0.9;
  }

  .contact-hand {
    margin: 16px 0 24px;
    font-size: 30px;
  }

  .contact-text {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.42;
  }

  .contact-links {
    width: min(100%, 340px);
    max-width: none;
    gap: 8px;
    margin-inline: auto;
  }

  .contact-button {
    grid-template-columns: 30px 1fr auto;
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    font-size: 13px;
  }

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

  .response-note {
    grid-template-columns: 62px auto;
    gap: 6px;
    margin: 18px auto 0;
    font-size: 22px;
  }

  .response-note svg {
    width: 60px;
    height: 38px;
  }

  .contact-visual {
    width: calc(100vw - 8px);
    min-height: 500px;
    margin: 24px -13px 0;
    overflow: visible;
  }

  .contact-paint {
    left: 23%;
    top: 54px;
    width: 310px;
    height: 245px;
  }

  .contact-folder {
    left: 28%;
    top: 52px;
    width: 178px;
    height: 255px;
    transform: rotate(-7deg);
  }

  .contact-folder img {
    width: 96px;
    margin-top: 66px;
  }

  .contact-phone {
    left: 5%;
    top: 110px;
    width: 136px;
    height: 282px;
    padding: 48px 14px 18px;
    border-width: 8px;
    border-radius: 26px;
  }

  .contact-phone::before {
    top: 10px;
    width: 52px;
    height: 12px;
  }

  .contact-phone span {
    font-size: 9px;
  }

  .contact-phone strong {
    margin: 12px 0 18px;
    font-size: 30px;
  }

  .contact-phone i {
    width: 48px;
    height: 72px;
  }

  .contact-phone img {
    width: 42px;
    bottom: 12px;
  }

  .contact-note-paper {
    right: 4%;
    top: 126px;
    padding: 22px 22px;
    font-size: 21px;
  }

  .contact-note-paper .tape {
    width: 38px;
    height: 18px;
    left: 18px;
    top: -10px;
  }

  .contact-qr-card {
    right: 17%;
    bottom: 24px;
    width: 142px;
    padding: 18px 16px 16px;
  }

  .contact-qr-card span {
    margin-bottom: 11px;
    font-size: 12px;
  }

  .qr-art {
    width: 92px;
    height: 92px;
    border-width: 6px;
    background-size: 48px 48px;
  }

  .contact-laptop {
    right: -118px;
    top: 84px;
    width: 190px;
    height: 300px;
  }

  .contact-branch {
    right: 26px;
    bottom: 2px;
    width: 92px;
    height: 72px;
  }

}

@media (max-width: 1280px) and (min-width: 1025px) {
  .home-page .hero {
    grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1fr);
    gap: 28px;
  }

  .home-page .hero-visual {
    width: min(100%, 620px);
  }
}

/* Final premium overrides: keep this block last */
:root {
  --radius-soft: 18px;
  --radius-card: 22px;
  --radius-large: 30px;
  --soft-shadow: 0 22px 58px rgba(28, 24, 17, 0.10);
  --hover-shadow: 0 30px 70px rgba(28, 24, 17, 0.15);
}

.telegram-link,
.max-link,
.case-outline-button,
.contact-button,
.works-empty,
.work-placeholder,
.case-info-badge,
.case-video-player,
.case-video-embed iframe,
.case-gallery-item img,
.case-work-grid article,
.case-live-block,
.case-contact-strip,
.note-paper,
.contact-qr-card,
input,
textarea,
select {
  border-radius: var(--radius-soft);
}

.telegram-link,
.max-link {
  box-shadow: 0 14px 32px rgba(0, 76, 50, 0.16);
}

.hero {
  padding-top: clamp(72px, 7vw, 118px);
  padding-bottom: clamp(58px, 5vw, 86px);
}

.services {
  margin-top: clamp(34px, 4vw, 70px);
  border: 1px solid rgba(201, 195, 184, 0.78);
  border-radius: var(--radius-large);
  background: rgba(248, 245, 238, 0.48);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(28, 24, 17, 0.06);
}

.service-item {
  min-height: 238px;
  padding: 38px 38px 34px;
}

.service-icon {
  margin-bottom: 22px;
}

.works {
  padding: clamp(74px, 7vw, 118px) 0 clamp(52px, 5vw, 84px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 54px);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.work-grid-single {
  grid-template-columns: minmax(280px, 470px);
}

.work-item {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(201, 195, 184, 0.76);
  border-radius: var(--radius-card);
  background: rgba(248, 245, 238, 0.72);
  box-shadow: var(--soft-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-item:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 76, 50, 0.38);
  box-shadow: var(--hover-shadow);
}

.work-item img,
.work-placeholder {
  width: calc(100% - 22px);
  aspect-ratio: 4 / 3;
  margin: 11px 11px 0;
  border-radius: 16px;
  object-fit: cover;
  background: var(--paper);
}

.work-item:hover img {
  transform: scale(1.025);
  filter: contrast(1.03) saturate(1.02);
}

.work-card-body {
  display: grid;
  gap: 12px;
  padding: 22px 24px 24px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(0, 76, 50, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 76, 50, 0.045);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item h3 {
  margin: 0;
  max-width: 92%;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.05;
}

.work-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.work-more {
  width: fit-content;
  margin-top: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-more::after {
  content: " ->";
}

.about {
  margin-top: clamp(54px, 6vw, 90px);
  border-radius: var(--radius-large);
  box-shadow: 0 26px 70px rgba(0, 76, 50, 0.14);
  overflow: hidden;
}

.about-photo {
  border-radius: 18px;
}

.note-paper {
  box-shadow: 0 24px 58px rgba(28, 24, 17, 0.12);
}

.case-main-hero {
  min-height: clamp(640px, 74vh, 820px);
  padding: clamp(76px, 7vw, 128px) 0 clamp(58px, 6vw, 104px);
}

.case-info-badge {
  width: min(100%, 310px);
  min-height: 86px;
  padding: 18px 22px;
  background: rgba(248, 245, 238, 0.76);
  box-shadow: 0 18px 42px rgba(28, 24, 17, 0.08);
}

.case-block {
  padding: clamp(50px, 5vw, 82px) 0;
}

.case-work-grid article {
  padding: 34px 34px 32px;
  border: 1px solid rgba(201, 195, 184, 0.84);
  background: rgba(248, 245, 238, 0.52);
  box-shadow: 0 16px 42px rgba(28, 24, 17, 0.05);
}

.case-live-block,
.case-contact-strip {
  border: 1px solid rgba(201, 195, 184, 0.78);
  box-shadow: var(--soft-shadow);
}

@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  .services {
    margin-top: 52px;
    border-radius: 22px;
  }

  .service-item,
  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4) {
    min-height: 0;
    padding: 28px 0 !important;
  }

  .works {
    padding-top: 72px;
  }

  .work-grid,
  .work-grid-single {
    grid-template-columns: 1fr;
  }

  .work-card-body {
    padding: 20px;
  }

  .case-main-hero {
    min-height: 0;
    padding: 56px 0 42px;
  }

  .case-info-badge {
    width: 100%;
    min-height: 68px;
    border-radius: 18px;
  }
}



/* True final soft editorial pass: do not move below */
:root {
  --display-soft: "Sofia Sans Extra Condensed", "Arial Narrow", "Inter", sans-serif;
}

.hero h1,
.case-main-hero h1,
.contact-hero h1,
.works-hero h1,
.section-heading h2,
.case-block h2,
.case-contact-strip h2,
.final-cta h2 {
  font-family: var(--display-soft);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  line-height: 0.91;
}

.case-main-hero h1 {
  font-size: clamp(72px, 8.2vw, 128px);
  line-height: 0.9;
  max-width: 940px;
}

.contact-hero h1,
.works-hero h1 {
  line-height: 0.9;
}

.case-block {
  padding: clamp(68px, 6vw, 104px) 0;
}

.case-block h2 {
  margin-bottom: clamp(26px, 3vw, 44px);
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 0.92;
}

.case-gallery-section,
.case-video-section,
.case-work-section {
  margin-top: clamp(20px, 2vw, 36px);
}

.case-work-grid {
  gap: clamp(18px, 2vw, 28px);
  border: 0;
}

.case-work-grid article,
.case-work-grid article:last-child {
  border: 1px solid rgba(201, 195, 184, 0.72);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.82), rgba(244, 241, 234, 0.72)), var(--paper);
  box-shadow: 0 18px 48px rgba(28, 24, 17, 0.07);
}

.contact-button-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  justify-self: start;
}

.contact-button img.contact-button-logo {
  width: 25px;
  height: 25px;
}

@media (min-width: 761px) {
  .case-main-hero {
    column-gap: clamp(70px, 8vw, 150px);
  }

  .case-info-panel {
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(78px, 23vw, 122px);
  }

  .case-main-hero h1 {
    font-size: clamp(58px, 16vw, 84px);
    line-height: 0.92;
  }

  .contact-hero h1,
  .works-hero h1 {
    font-size: clamp(66px, 18vw, 96px);
  }

  .services {
    display: block;
    margin-top: 58px;
    border-radius: 24px;
    overflow: hidden;
  }

  .services .vertical-label {
    display: block;
    width: 100%;
    padding: 22px 22px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 195, 184, 0.78);
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
  }

  .services .service-list {
    display: block;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4) {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 30px 22px !important;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(201, 195, 184, 0.78);
  }

  .services .service-item:last-child {
    border-bottom: 0;
  }

  .services .service-icon {
    width: 78px;
    height: 78px;
    margin: 0;
    align-self: center;
    justify-self: center;
  }

  .services .service-item span {
    display: none;
  }

  .services .service-copy {
    display: grid;
    gap: 8px;
  }

  .services .service-item h2,
  .services .service-item p {
    margin: 0 !important;
  }

  .case-block {
    padding: 58px 0;
  }

  .case-block h2 {
    margin-bottom: 24px;
    font-size: clamp(40px, 12vw, 60px);
  }

  .case-work-grid {
    display: grid;
    gap: 16px;
  }

  .case-work-grid article,
  .case-work-grid article:last-child {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .case-work-grid .case-icon {
    margin: 0;
  }
}

/* Micro fixes 2026-06-02 */
@media (min-width: 981px) {
  .hero {
    padding-top: clamp(28px, 3.5vw, 54px);
  }
}

.contact-button img.contact-button-logo {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(72%) saturate(875%) hue-rotate(126deg) brightness(90%) contrast(101%);
}

.case-work-grid article,
.case-work-grid article:last-child {
  row-gap: 10px;
}

.case-work-grid h3 {
  margin: 10px 0 4px;
}

.case-work-grid p {
  margin-top: 0;
}

@media (max-width: 760px) {
  .contact-button img.contact-button-logo {
    width: 19px;
    height: 19px;
  }

  .case-work-grid article,
  .case-work-grid article:last-child {
    column-gap: 18px;
    row-gap: 6px;
  }

  .case-work-grid h3 {
    margin: 0 0 2px !important;
  }

  .case-work-grid p {
    margin: 0 !important;
  }
}

/* Compact rhythm and custom gallery scrollbar 2026-06-02 */
:root {
  --section-display: "Unbounded", "Inter", sans-serif;
}

.section-heading h2,
.case-block h2,
.case-contact-strip h2,
.final-cta h2 {
  font-family: var(--section-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.case-block h2 {
  margin-bottom: clamp(18px, 2vw, 30px);
  font-size: clamp(30px, 3.2vw, 54px);
}

@media (min-width: 981px) {
  .hero {
    padding-top: clamp(18px, 2.4vw, 38px);
    padding-bottom: clamp(42px, 4vw, 66px);
  }

  .works {
    padding-top: clamp(54px, 5vw, 84px);
    padding-bottom: clamp(44px, 4vw, 70px);
  }

  .section-heading {
    margin-bottom: clamp(22px, 3vw, 38px);
  }

  .case-main-hero {
    min-height: clamp(560px, 64vh, 700px);
    padding-top: clamp(54px, 5vw, 86px);
    padding-bottom: clamp(42px, 4vw, 70px);
  }

  .case-block {
    padding: clamp(42px, 4vw, 70px) 0;
  }

  .case-gallery-section,
  .case-video-section,
  .case-work-section {
    margin-top: clamp(8px, 1vw, 18px);
  }
}

.case-gallery {
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 76, 50, 0.72) rgba(201, 195, 184, 0.28);
}

.case-gallery::-webkit-scrollbar {
  height: 12px;
}

.case-gallery::-webkit-scrollbar-track {
  border: 1px solid rgba(201, 195, 184, 0.55);
  border-radius: 999px;
  background: rgba(248, 245, 238, 0.8);
}

.case-gallery::-webkit-scrollbar-thumb {
  border: 3px solid rgba(248, 245, 238, 0.9);
  border-radius: 999px;
  background: linear-gradient(90deg, #004c32, #0b6a4c);
}

.case-gallery::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #003f2a, #005f40);
}

@media (max-width: 760px) {
  .hero {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .works {
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .case-block {
    padding: 42px 0;
  }

  .case-block h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 8vw, 42px);
  }

  .case-gallery {
    padding-bottom: 14px;
  }
}

/* Hero font and gallery motion 2026-06-02 */
.hero h1,
.case-main-hero h1,
.contact-hero h1,
.works-hero h1 {
  font-family: var(--section-display);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(70px, 7.2vw, 126px);
  line-height: 0.9;
}

.case-main-hero h1 {
  font-size: clamp(58px, 6.2vw, 108px);
  line-height: 0.93;
}

.contact-hero h1,
.works-hero h1 {
  font-size: clamp(64px, 8vw, 126px);
}

.case-gallery-item {
  overflow: visible;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.case-gallery-item img {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.case-gallery-item span {
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.case-gallery-item:hover {
  transform: translateY(-6px);
}

.case-gallery-item:hover img {
  transform: scale(1.025);
  box-shadow: 0 24px 54px rgba(28, 24, 17, 0.16);
  filter: contrast(1.04) saturate(1.03);
}

.case-gallery-item:hover span {
  color: var(--ink);
  transform: translateY(2px);
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(60px, 16vw, 82px);
    line-height: 0.94;
  }

  .case-main-hero h1 {
    font-size: clamp(44px, 11vw, 64px);
    line-height: 1;
  }

  .contact-hero h1,
  .works-hero h1 {
    font-size: clamp(54px, 14vw, 78px);
  }

  .case-gallery-item:hover {
    transform: none;
  }

  .case-gallery-item:hover img {
    transform: none;
  }
}

/* Case hero scale and gallery hover headroom 2026-06-02 */
.case-main-hero h1 {
  font-size: clamp(48px, 4.95vw, 86px);
  line-height: 0.98;
  max-width: 820px;
}

.case-gallery {
  padding-top: 12px;
  margin-top: -12px;
}

.case-gallery-item:hover {
  transform: translateY(-4px);
}

.case-gallery-item:hover img {
  transform: scale(1.018);
}

@media (max-width: 760px) {
  .case-main-hero h1 {
    font-size: clamp(38px, 9.5vw, 56px);
    line-height: 1.02;
  }

  .case-gallery {
    padding-top: 0;
    margin-top: 0;
  }
}

/* Video crop polish 2026-06-02 */
.case-video-card {
  background: var(--paper);
}

.case-video-player,
.case-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  object-fit: cover;
}

.case-video-card video::-webkit-media-controls-panel {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
}

/* Mobile menu and overflow guard 2026-06-02 */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    width: calc(100% - 34px);
    max-width: none;
  }

  .mobile-menu {
    inset: 78px 17px auto;
    width: auto;
    max-width: calc(100vw - 34px);
    box-sizing: border-box;
    padding: 16px 20px 20px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 64px rgba(28, 24, 17, 0.18);
  }

  .mobile-menu a {
    min-width: 0;
  }

  .mobile-menu .messenger-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .mobile-menu .messenger-actions .telegram-link {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 12px;
    justify-content: center;
    white-space: nowrap;
    font-size: 13px;
  }

  .mobile-menu .messenger-actions .max-link {
    width: 56px;
    height: 56px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 18px;
  }

  .contact-links {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    gap: 12px;
    padding-inline: 22px;
  }

  .contact-button b {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .case-main-hero,
  .case-main-copy,
  .case-content,
  .case-page main {
    max-width: 100%;
    box-sizing: border-box;
  }

  .case-main-hero {
    overflow: hidden;
    padding-inline: 24px;
  }

  .case-main-copy {
    min-width: 0;
  }

  .case-main-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 8.4vw, 48px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .case-hand,
  .case-description {
    max-width: 100%;
  }

  .case-buttons {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-buttons .telegram-link,
  .case-buttons .case-outline-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .case-info-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    overflow: visible;
  }

  .case-info-badge {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 78px;
    box-sizing: border-box;
    grid-template-columns: 36px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    padding: 16px 18px;
  }

  .case-info-badge b {
    overflow-wrap: anywhere;
  }
}

/* Hero and contact icon sizing polish 2026-06-02 */
.hero h1 {
  font-size: clamp(64px, 5.6vw, 96px);
  line-height: 0.96;
}

.case-main-hero h1 {
  font-size: clamp(44px, 4.35vw, 76px);
  line-height: 1.02;
}

.contact-button img.contact-button-logo {
  display: block;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(20%) sepia(63%) saturate(1251%) hue-rotate(127deg) brightness(92%) contrast(101%);
}

.contact-button img.contact-button-logo--max,
.contact-button img[src$="max-logo.svg"] {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(52px, 13.5vw, 72px);
    line-height: 0.98;
  }

  .contact-hero h1,
  .works-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.2vw, 58px);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  .case-main-hero h1 {
    font-size: clamp(31px, 7.8vw, 42px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  .contact-button img.contact-button-logo {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
  }
}

/* Hero tighter scale and mail icon 2026-06-02 */
.hero h1 {
  font-size: clamp(56px, 4.75vw, 82px);
  line-height: 0.98;
  max-width: 560px;
}

.hero-line-nowrap {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(48px, 12.6vw, 66px);
    line-height: 1;
    max-width: 100%;
  }
}

/* Contacts hero title scale 2026-06-02 */
.contact-hero-centered {
  text-align: center;
}

.contact-hero h1 {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(56px, 4.75vw, 82px);
  line-height: 0.98;
  text-align: center;
}

@media (max-width: 760px) {
  .contact-hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 10.5vw, 54px);
    line-height: 1.03;
  }
}

/* Contact underline and works heading polish 2026-06-02 */
.contact-hand::after {
  bottom: -8px;
  height: 2px;
  border-bottom: 0;
  border-radius: 0;
  background: var(--green);
  transform: rotate(-2deg);
}

.works-page .section-heading {
  align-items: center;
}

.works-page .section-heading h1 {
  color: var(--green);
  font-family: var(--section-display);
  font-size: clamp(56px, 4.75vw, 82px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.works-page .section-heading .hand {
  color: var(--green);
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 0.95;
}

@media (max-width: 760px) {
  .works-page {
    padding-top: 56px;
  }

  .works-page .section-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 24px;
  }

  .works-page .section-heading h1 {
    flex: 0 0 auto;
    font-size: clamp(36px, 10vw, 48px);
    line-height: 0.98;
  }

  .works-page .section-heading .hand {
    flex: 1 1 auto;
    margin: 0;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 0.95;
    transform: rotate(-4deg);
  }
}

/* Works color and hero diacritic spacing 2026-06-02 */
.hero h1 {
  line-height: 1.06;
}

.works-page .section-heading h1 {
  color: var(--ink);
}

@media (max-width: 760px) {
  .works-page .section-heading {
    align-items: center;
  }

  .works-page .section-heading h1 {
    color: var(--ink);
    line-height: 1;
    transform: translateY(0.16em);
  }

  .works-page .section-heading .hand {
    align-self: center;
    margin-top: 0.08em;
    line-height: 0.9;
  }
}

/* Mobile case work icon centering 2026-06-02 */
@media (max-width: 760px) {
  .case-work-grid article,
  .case-work-grid article:last-child {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
  }

  .case-work-grid .case-icon {
    justify-self: center;
    margin-left: 0;
    transform: translateX(7px);
  }
}

/* Mobile case work icon circles 2026-06-02 */
@media (max-width: 760px) {
  .case-work-grid article,
  .case-work-grid article:last-child {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
  }

  .case-work-grid .case-icon {
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: start;
    width: 46px;
    height: 46px;
    margin-top: -5px;
    margin-left: 0;
    border: 1px solid rgba(201, 195, 184, 0.6);
    border-radius: 999px;
    background: rgba(201, 195, 184, 0.2);
    transform: none;
  }

  .case-work-grid .case-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Home repair: restore services and about layout after encoding rollback */
.services {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin: clamp(42px, 4.4vw, 74px) auto 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 195, 184, 0.8);
  border-radius: 30px;
  background: rgba(248, 245, 238, 0.58);
  box-shadow: 0 24px 70px rgba(28, 24, 17, 0.08);
}

.services .vertical-label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-right: 1px solid rgba(201, 195, 184, 0.8);
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.services .service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.services .service-item,
.services .service-item:nth-child(3),
.services .service-item:nth-child(n + 4),
.services .service-item:last-child {
  display: block !important;
  min-height: 230px;
  padding: 32px 30px 30px !important;
  border-top: 0;
  border-right: 1px solid rgba(201, 195, 184, 0.8);
  border-bottom: 0;
  background: transparent;
}

.services .service-item:last-child {
  border-right: 0;
}

.services .service-icon-img {
  display: block;
  width: 82px;
  height: 82px;
  max-width: 82px;
  max-height: 82px;
  margin: 0 0 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.services .service-item span {
  display: block;
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  line-height: 1;
}

.services .service-item h2 {
  margin: 0 0 10px !important;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.services .service-item p {
  margin: 0 !important;
  max-width: 230px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.42;
}

.about {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin: clamp(62px, 6vw, 96px) auto 0;
  display: block;
  padding: 46px 56px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 76, 50, 0.16);
}

.about .about-inner {
  display: grid;
  grid-template-columns: 238px minmax(280px, 420px) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.about .about-photo {
  width: 238px;
  max-width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 18px;
}

.about .about-text .kicker {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.about .about-text h2 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.about .about-text p {
  max-width: 370px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.45;
}

.about .about-text .signature {
  display: block;
  margin: 18px 0 0;
  color: #fff;
  font-family: var(--hand-font);
  font-size: 54px;
  font-weight: 500;
  line-height: 0.9;
}

.about .note-paper {
  position: relative;
  justify-self: end;
  width: min(430px, 100%);
  max-width: 430px;
  margin: 0;
  padding: 32px 42px;
  transform: rotate(-1.5deg);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(28, 24, 17, 0.12);
}

.about .note-paper ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about .note-paper li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 17px;
  line-height: 1.25;
}

.about .note-paper li::before {
  color: var(--green);
  content: "✓";
}

@media (max-width: 1020px) {
  .services .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services .service-item:nth-child(3) {
    border-right: 0;
  }

  .services .service-item:nth-child(n + 4) {
    border-top: 1px solid rgba(201, 195, 184, 0.8);
  }

  .about .about-inner {
    grid-template-columns: 220px 1fr;
  }

  .about .note-paper {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .services {
    width: calc(100% - 34px);
    margin: 54px auto 0;
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .services .vertical-label {
    display: block;
    padding: 0 0 14px;
    writing-mode: horizontal-tb;
    transform: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    text-align: left;
  }

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

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 6px;
    min-height: 0;
    padding: 22px 0 !important;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services .service-item:last-child {
    border-bottom: 0;
  }

  .services .service-icon-img {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: start;
    width: 76px;
    height: 76px;
    max-width: 76px;
    max-height: 76px;
    margin: 0;
  }

  .services .service-item span {
    display: none;
  }

  .services .service-item h2 {
    grid-column: 2;
    margin: 0 0 3px !important;
    font-size: 21px;
    line-height: 1.08;
    text-transform: uppercase;
  }

  .services .service-item p {
    grid-column: 2;
    max-width: none;
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.45;
  }

  .about {
    width: 100%;
    margin: 48px 0 0;
    padding: 28px 17px 36px;
    border-radius: 0;
    box-sizing: border-box;
  }

  .about .about-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about .about-photo {
    width: min(250px, 64vw);
    margin: 0 auto;
    border-radius: 16px;
  }

  .about .about-text .kicker {
    margin-top: 4px;
  }

  .about .about-text h2 {
    font-size: 20px;
  }

  .about .about-text p {
    max-width: none;
    font-size: 16px;
  }

  .about .about-text .signature {
    display: none;
  }

  .about .note-paper {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    padding: 26px 28px;
    box-sizing: border-box;
    transform: rotate(-1deg);
  }
}

/* Final small polish: about tape, case CTA, mobile home spacing */
.about .note-paper .tape,
.about .note-paper .tape-one,
.about .note-paper .tape-two {
  position: absolute;
  z-index: 0;
  width: 58px;
  height: 20px;
  pointer-events: none;
  background: rgba(201, 195, 184, 0.72);
  box-shadow: none;
}

.about .note-paper .tape-one {
  top: -10px;
  left: 30px;
  right: auto;
  bottom: auto;
  transform: rotate(-5deg);
}

.about .note-paper .tape-two {
  right: 34px;
  bottom: -10px;
  left: auto;
  top: auto;
  transform: rotate(5deg);
}

.about .note-paper ul {
  position: relative;
  z-index: 1;
}

.case-contact-strip h2 {
  font-size: clamp(30px, 2.45vw, 44px);
  line-height: 0.98;
}

.about .about-text .signature {
  display: none !important;
}

@media (max-width: 760px) {
  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    row-gap: 2px;
    align-content: center;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .services .service-item h2 {
    margin: 0 !important;
  }

  .services .service-item p {
    margin: -2px 0 0 !important;
  }

  .works {
    display: flex;
    flex-direction: column;
  }

  .works .section-heading {
    display: contents;
  }

  .works .section-heading h2 {
    order: 1;
    margin-bottom: 22px;
  }

  .works [data-cases-scope="home"] {
    order: 2;
  }

  .works .section-heading a {
    order: 3;
    align-self: flex-start;
    max-width: 100%;
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
  }

  .about {
    width: calc(100% - 34px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 28px;
  }

  .about .note-paper .tape-one {
    top: -9px;
    left: 28px;
  }

  .about .note-paper .tape-two {
    right: 30px;
    bottom: -9px;
  }

  .case-contact-strip h2 {
    font-size: clamp(28px, 8.2vw, 38px);
    line-height: 1;
  }
}

/* Mobile services: restore the rounded editorial list */
@media (max-width: 760px) {
  .services {
    width: calc(100% - 34px);
    margin: 48px auto 0;
    overflow: hidden;
    border: 1px solid rgba(201, 195, 184, 0.92);
    border-radius: 24px;
    background: rgba(248, 245, 238, 0.46);
    box-shadow: 0 18px 46px rgba(28, 24, 17, 0.08);
  }

  .services .vertical-label {
    padding: 18px 24px 16px;
    border-bottom: 1px solid rgba(201, 195, 184, 0.88);
    font-size: 18px;
    line-height: 1;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    grid-template-columns: 118px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    padding: 18px 22px !important;
    border-bottom: 1px solid rgba(201, 195, 184, 0.88);
  }

  .services .service-item:last-child {
    border-bottom: 0;
  }

  .services .service-icon-img {
    justify-self: center;
    width: 78px;
    height: 78px;
    max-width: 78px;
    max-height: 78px;
  }

  .services .service-item h2 {
    margin: 0 0 -2px !important;
    font-size: 20px;
    line-height: 1.05;
  }

  .services .service-item p {
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.36;
  }
}

/* Align services block with case cards */
.services {
  width: var(--container);
  max-width: var(--container);
}

@media (max-width: 760px) {
  .services {
    width: calc(100% - 34px);
  }
}

/* Case media finish: portrait videos and desktop gallery zoom */
.case-video-player {
  height: auto;
  object-fit: contain;
}

.case-video-card.is-portrait-video {
  width: min(440px, 100%);
  margin-inline: auto;
}

.case-video-card.is-portrait-video .case-video-player {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(78dvh, 820px);
  object-fit: contain;
  background: var(--paper);
}

.case-lightbox {
  cursor: zoom-out;
}

.case-lightbox img {
  cursor: zoom-in;
  transition: width 180ms ease, max-width 180ms ease, max-height 180ms ease;
}

.case-lightbox.is-zoomed {
  place-items: start center;
}

.case-lightbox.is-zoomed img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.case-lightbox-close {
  z-index: 3;
}

.case-lightbox-tools {
  position: fixed;
  top: 20px;
  right: 84px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.case-lightbox .case-lightbox-tools button {
  position: static;
  width: auto;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(248, 245, 238, 0.12);
  color: #fff;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.case-lightbox .case-lightbox-tools button:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 760px) {
  .services {
    width: min(calc(100% - 48px), 430px);
  }

  .case-lightbox-tools {
    display: none;
  }

  .case-lightbox img,
  .case-lightbox.is-zoomed img {
    cursor: default;
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 112px);
  }
}

/* Video cards: remove the paper halo that can peek out after rounded corners */
.case-video-card {
  background: transparent !important;
  line-height: 0;
}

.case-video-card .case-video-caption {
  line-height: 1;
}

.case-video-player,
.case-video-embed,
.case-video-embed iframe {
  overflow: hidden;
  background: transparent;
}

/* Final home polish: keep services aligned with cards and remove footer stripe */
.about + .site-footer {
  margin-top: 34px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

@media (min-width: 761px) {
  .services {
    width: min(var(--container), calc(100% - 48px)) !important;
    max-width: var(--container) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 760px) {
  .services {
    width: calc(100% - 34px) !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    grid-template-columns: clamp(92px, 26vw, 110px) minmax(0, 1fr) !important;
    column-gap: clamp(12px, 3.6vw, 18px) !important;
    padding: 18px clamp(16px, 4.2vw, 22px) !important;
    box-sizing: border-box !important;
  }

  .services .service-icon-img {
    justify-self: center !important;
    width: clamp(70px, 18vw, 82px) !important;
    height: clamp(70px, 18vw, 82px) !important;
    max-width: clamp(70px, 18vw, 82px) !important;
    max-height: clamp(70px, 18vw, 82px) !important;
  }

  .services .service-item h2,
  .services .service-item p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .services .service-item h2 {
    margin: 0 0 4px !important;
    font-size: clamp(18px, 4.8vw, 20px) !important;
    line-height: 1.08 !important;
  }

  .services .service-item p {
    margin: 0 !important;
    font-size: clamp(15px, 4.1vw, 16px) !important;
    line-height: 1.34 !important;
  }
}

@media (max-width: 390px) {
  .services {
    width: calc(100% - 28px) !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

/* 2026-06-04 final pass: hero image/cache, services width, about/footer spacing */
.about + .site-footer {
  margin-top: 42px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

@media (min-width: 761px) {
  .services {
    width: min(var(--container), calc(100% - 48px)) !important;
    max-width: var(--container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 760px) {
  .services {
    width: calc(100% - 34px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    grid-template-columns: clamp(88px, 24vw, 104px) minmax(0, 1fr) !important;
    column-gap: clamp(10px, 3.2vw, 15px) !important;
    padding: 17px clamp(15px, 4vw, 20px) !important;
    box-sizing: border-box !important;
  }

  .services .service-icon-img {
    justify-self: center !important;
    width: clamp(68px, 18vw, 78px) !important;
    height: clamp(68px, 18vw, 78px) !important;
    max-width: clamp(68px, 18vw, 78px) !important;
    max-height: clamp(68px, 18vw, 78px) !important;
  }

  .services .service-item h2,
  .services .service-item p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .services .service-item h2 {
    margin: 0 0 5px !important;
    font-size: clamp(18px, 4.8vw, 20px) !important;
    line-height: 1.08 !important;
  }

  .services .service-item p {
    margin: 0 !important;
    font-size: clamp(15px, 4.1vw, 16px) !important;
    line-height: 1.34 !important;
  }
}

@media (max-width: 390px) {
  .services {
    width: calc(100% - 28px) !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    padding-left: 13px !important;
    padding-right: 13px !important;
  }
}

/* 2026-06-04: hard final correction for services width and footer stripe */
.about,
.about-section,
.about-block,
.about-card,
.site-footer,
.footer {
  border-bottom: 0 !important;
}

.site-footer,
.footer {
  border-top: 0 !important;
}

.about::after,
.about-section::after,
.about-block::after,
.about-card::after,
.about + .site-footer::before,
.site-footer::before,
.site-footer::after,
.footer::before,
.footer::after {
  content: none !important;
  display: none !important;
}

.about + .site-footer {
  margin-top: 52px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

@media (min-width: 761px) {
  .services {
    width: min(var(--container), calc(100% - 64px)) !important;
    max-width: var(--container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 760px) {
  .services {
    width: min(calc(100% - 48px), 430px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    align-items: center !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
  }

  .services .service-number {
    display: none !important;
  }

  .services .service-icon,
  .services .service-icon-img {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    justify-self: center !important;
  }

  .services .service-icon-img {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    object-fit: contain !important;
  }

  .services .service-item h2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
    font-size: clamp(18px, 4.7vw, 20px) !important;
    line-height: 1.08 !important;
  }

  .services .service-item p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
    font-size: clamp(15px, 4.05vw, 16px) !important;
    line-height: 1.28 !important;
  }
}

@media (max-width: 390px) {
  .services {
    width: calc(100% - 44px) !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    column-gap: 13px !important;
    padding: 13px 15px !important;
  }

  .services .service-icon-img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
  }
}

/* 2026-06-04: services text spacing, card width match, footer line removal */
.site-footer,
main + .site-footer,
.final-cta + .site-footer {
  border-top: 0 !important;
}

.final-cta {
  border-bottom: 0 !important;
}

@media (min-width: 761px) {
  .services {
    width: min(100%, var(--container)) !important;
    max-width: var(--container) !important;
  }
}

@media (max-width: 760px) {
  .services,
  .works [data-cases-scope="home"] {
    width: min(calc(100vw - 48px), 544px) !important;
    max-width: 544px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    position: relative !important;
    display: block !important;
    min-height: 120px !important;
    padding: 18px 18px 18px 126px !important;
  }

  .services .service-icon,
  .services .service-icon-img {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .services .service-icon-img {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
  }

  .services .service-item h2 {
    margin: 0 0 8px !important;
    line-height: 1.06 !important;
  }

  .services .service-item p {
    margin: 0 !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 390px) {
  .services,
  .works [data-cases-scope="home"] {
    width: min(calc(100vw - 32px), 544px) !important;
  }

  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    min-height: 112px !important;
    padding: 16px 16px 16px 104px !important;
  }

  .services .service-icon,
  .services .service-icon-img {
    left: 16px !important;
  }

  .services .service-icon-img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }
}
.services,
.works,
.about,
.final-cta,
.works-page,
.case-block,
.case-live-block,
.case-contact-strip,
.case-neighbors {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* 2026-07-08: compact home about block and VK messenger icon */
.max-link img[src$="vk-icon.svg"] {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.about {
  width: min(var(--container), calc(100% - 64px)) !important;
  max-width: var(--container) !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: clamp(44px, 5vw, 72px) !important;
  padding: 26px 30px !important;
  border-radius: 24px !important;
  contain-intrinsic-size: auto 280px !important;
}

.about .about-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  grid-template-columns: 156px minmax(240px, 330px) minmax(300px, 1fr) !important;
  gap: 28px !important;
  align-items: center !important;
  height: auto !important;
  min-height: 0 !important;
}

.about .about-photo {
  display: block;
  width: 156px !important;
  height: 184px !important;
  aspect-ratio: 1 / 1.18 !important;
  object-fit: cover;
  object-position: 50% 18%;
}

.about .about-text .kicker {
  margin-bottom: 12px !important;
  font-size: 15px !important;
}

.about .about-text h2 {
  margin-bottom: 14px !important;
  font-size: 19px !important;
}

.about .about-text p {
  max-width: 310px !important;
  margin-bottom: 10px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.about .note-paper {
  width: min(300px, 100%) !important;
  max-width: 300px !important;
  padding: 22px 28px !important;
  justify-self: end !important;
}

.about .note-paper ul {
  gap: 11px !important;
}

.about .note-paper li {
  font-size: 14px !important;
}

@media (max-width: 1020px) {
  .about {
    width: min(760px, calc(100% - 48px)) !important;
  }

  .about .about-inner {
    grid-template-columns: 148px minmax(0, 1fr) !important;
  }

  .about .about-photo {
    width: 148px !important;
    height: 175px !important;
  }

  .about .note-paper {
    grid-column: 2 !important;
    justify-self: start !important;
    width: min(320px, 100%) !important;
    max-width: 320px !important;
  }
}

@media (max-width: 760px) {
  .about {
    width: min(430px, calc(100% - 34px)) !important;
    margin-top: 42px !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .about .about-inner {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  .about .about-photo {
    width: 96px !important;
    height: 115px !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1.2 !important;
    border-radius: 14px !important;
  }

  .about .about-text .kicker {
    margin: 0 0 8px !important;
    font-size: 13px !important;
  }

  .about .about-text h2 {
    margin-bottom: 10px !important;
    font-size: 17px !important;
  }

  .about .about-text p {
    margin-bottom: 8px !important;
    font-size: 13px !important;
    line-height: 1.34 !important;
  }

  .about .note-paper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 2px !important;
    padding: 18px 20px !important;
    transform: rotate(-0.8deg) !important;
  }

  .about .note-paper li {
    font-size: 13px !important;
  }
}

.hero,
.case-main-hero {
  content-visibility: visible;
}

/* 2026-07-08: friendly compact home refresh from reference */
.home-page {
  --home-bg: #f5f2eb;
  --home-paper: #fffdf8;
  --home-ink: #18201e;
  --home-muted: #4e5853;
  --home-green: var(--green, #004c32);
  --home-green-deep: var(--green-deep, #003d29);
  --home-line: rgba(0, 76, 50, 0.14);
  --home-shadow: 0 12px 30px rgba(42, 34, 22, 0.08);
  --home-container: min(1220px, calc(100vw - 48px));
  background: var(--home-bg);
  color: var(--home-ink);
  overflow-x: hidden;
}

.home-page::before {
  opacity: 0.32;
}

.home-page .site-header {
  width: var(--home-container);
  min-height: 58px;
  margin: 18px auto 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .brand {
  gap: 10px;
  color: var(--home-green);
  font-size: 14px;
  font-weight: 800;
}

.home-page .brand img {
  width: 45px;
  height: auto;
}

.home-page .desktop-nav {
  gap: clamp(28px, 4vw, 54px);
  padding: 0 18px;
}

.home-page .desktop-nav a,
.home-page .site-footer a {
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 700;
}

.home-page .messenger-actions {
  gap: 10px;
}

.home-page .telegram-link,
.home-page .whatsapp-link,
.home-page .max-link {
  min-height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 76, 50, 0.13);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.home-page .telegram-link {
  background: var(--home-green);
  color: #fff;
}

.home-page .whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(0, 76, 50, 0.28);
  color: var(--home-green);
  background: rgba(255, 253, 248, 0.78);
}

.home-page .whatsapp-link img {
  width: 18px;
  height: 18px;
  filter: none;
}

.home-page .hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  width: var(--home-container);
  min-height: 610px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 82px) 0 clamp(22px, 3vw, 42px);
}

.home-page .hero-copy {
  position: relative;
  max-width: 500px;
}

.home-page .hero h1 {
  margin: 0;
  color: var(--home-ink);
  font-family: "Sofia Sans Extra Condensed", "Bebas Neue", Arial, sans-serif;
  font-size: clamp(76px, 8.4vw, 96px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.home-page .hero h1 span {
  color: var(--home-green);
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

.home-page .hero-text {
  max-width: 440px;
  margin: 30px 0 24px;
  color: var(--home-ink);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
}

.home-page .hero-hand,
.home-page .hero-note {
  color: var(--home-ink);
  font-family: Caveat, cursive;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.home-page .hero-hand {
  position: absolute;
  top: 26px;
  right: -108px;
  transform: rotate(-8deg);
}

.home-page .hero-hand::after,
.home-page .hero-note::before {
  content: "";
  display: block;
  width: 42px;
  height: 36px;
  margin: 4px 0 0 28px;
  border-right: 2px solid var(--home-green);
  border-bottom: 2px solid var(--home-green);
  border-radius: 0 0 24px 0;
  transform: rotate(22deg);
}

.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.home-page .hero-actions .telegram-link,
.home-page .hero-actions .whatsapp-link {
  min-width: 190px;
}

.home-page .hero-note {
  max-width: 410px;
  margin: 26px 0 0 44px;
  font-size: 21px;
  transform: rotate(-2deg);
}

.home-page .hero-note::before {
  display: inline-block;
  margin: 0 12px 0 -32px;
  transform: rotate(130deg);
  vertical-align: middle;
}

.home-page .hero-visual {
  position: relative;
  width: min(100%, 740px);
  justify-self: end;
}

.home-page .hero-visual::before,
.home-page .hero-visual::after {
  position: absolute;
  z-index: 2;
  color: var(--home-ink);
  font-family: Caveat, cursive;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  pointer-events: none;
}

.home-page .hero-visual::before {
  content: "логотипы\A и фирменный стиль";
  top: 24px;
  right: 28px;
  white-space: pre;
  transform: rotate(-4deg);
}

.home-page .hero-visual::after {
  content: "боты для заявок,\A записей и своего дела";
  left: 40px;
  bottom: 0;
  white-space: pre;
  transform: rotate(-3deg);
}

.home-page .hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(34, 28, 18, 0.14));
}

.home-page .services,
.home-page .works,
.home-page .process,
.home-page .reviews,
.home-page .about {
  width: var(--home-container) !important;
  max-width: 1220px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.home-page .services {
  margin-top: 22px !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.home-page .section-title-row,
.home-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.home-page .section-title-row h2,
.home-page .section-heading h2,
.home-page .process h2,
.home-page .reviews h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: Caveat, cursive;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.home-page .doodle-heart {
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--home-green);
  border-bottom: 2px solid var(--home-green);
  border-radius: 0 0 14px 0;
  transform: rotate(35deg);
}

.home-page .service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-page .service-item,
.home-page .services .service-item,
.home-page .services .service-item:nth-child(3),
.home-page .services .service-item:nth-child(n + 4) {
  display: flex !important;
  flex-direction: column;
  min-height: 278px !important;
  padding: 24px 22px 20px !important;
  border: 1px solid rgba(0, 76, 50, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--home-shadow);
}

.home-page .service-icon-img {
  position: static !important;
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  margin: 0 0 22px !important;
  transform: none !important;
  object-fit: contain;
}

.home-page .service-item h3 {
  margin: 0 0 10px;
  color: var(--home-ink);
  font-size: 17px;
  line-height: 1.15;
}

.home-page .service-item p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.42;
}

.home-page .service-price {
  margin-top: auto;
  padding-top: 18px;
}

.home-page .service-price-label {
  display: block;
  margin: 0 0 5px;
  color: var(--home-green, var(--green, #004c32));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .service-price strong {
  display: block;
  color: var(--home-ink, var(--ink, #171717));
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.home-page .paper-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px auto 0;
  padding: 16px 22px;
  color: var(--home-ink);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 22px rgba(42, 34, 22, 0.06);
  transform: rotate(-0.5deg);
}

.home-page .paper-strip span {
  position: relative;
  padding-left: 22px;
  font-family: Caveat, cursive;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}

.home-page .paper-strip span::before,
.home-page .note-paper li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 9px;
  height: 15px;
  border-right: 2px solid var(--home-green);
  border-bottom: 2px solid var(--home-green);
  transform: rotate(42deg);
}

.home-page .works {
  padding: clamp(44px, 6vw, 76px) 0 0;
}

.home-page .section-heading a {
  color: var(--home-green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-page .work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-page .work-item {
  border: 1px solid rgba(0, 76, 50, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--home-shadow);
}

.home-page .work-item img,
.home-page .work-placeholder {
  width: 100%;
  height: clamp(260px, 22vw, 310px);
  margin: 0;
  border-radius: 12px 12px 0 0;
  aspect-ratio: auto;
}

.home-page .work-card-body {
  gap: 8px;
  padding: 16px 18px 18px;
}

.home-page .work-tags {
  gap: 6px;
}

.home-page .work-tags span {
  min-height: 21px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  color: var(--home-green);
  background: rgba(0, 76, 50, 0.08);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-page .work-item h3 {
  max-width: none;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.13;
}

.home-page .work-item p {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.42;
}

.home-page .work-more {
  margin-top: 4px;
  font-size: 12px;
  text-transform: none;
}

.home-page .process,
.home-page .reviews {
  padding-top: clamp(40px, 5vw, 66px);
}

.home-page .process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.home-page .process-list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0, 76, 50, 0.45) 0 16px, transparent 16px 28px);
}

.home-page .process-list article {
  position: relative;
  z-index: 1;
  padding-top: 46px;
}

.home-page .process-list span {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--home-green);
  font-size: 13px;
  font-weight: 900;
}

.home-page .process-list h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.15;
}

.home-page .process-list p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-page .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-page .review-card {
  padding: 22px;
  border: 1px solid rgba(0, 76, 50, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--home-shadow);
}

.home-page .review-card div {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
}

.home-page .review-card strong {
  font-size: 15px;
}

.home-page .review-card span {
  color: var(--home-green);
  font-size: 12px;
  font-weight: 800;
}

.home-page .review-card p {
  margin: 0;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.48;
}

.home-page .about {
  margin-top: clamp(40px, 5vw, 70px) !important;
  padding: 26px !important;
  border-radius: 16px !important;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(42, 135, 95, 0.22), transparent 34%),
    linear-gradient(135deg, var(--home-green-deep), #00593c);
  box-shadow: 0 18px 44px rgba(0, 76, 50, 0.18);
}

.home-page .about .about-inner {
  display: grid;
  grid-template-columns: 260px minmax(300px, 1fr) minmax(260px, 360px) !important;
  gap: 34px !important;
  align-items: center !important;
}

.home-page .about .about-photo {
  width: 260px !important;
  height: 260px !important;
  border-radius: 12px !important;
  object-fit: cover;
}

.home-page .about .about-text h2 {
  margin: 0 0 6px !important;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px) !important;
  line-height: 1.05;
}

.home-page .about .about-text h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
}

.home-page .about .about-text p {
  max-width: 560px !important;
  margin: 0 0 16px !important;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.home-page .about .about-button {
  width: fit-content;
  margin-top: 2px;
  background: #fff;
  color: var(--home-green);
}

.home-page .about .note-paper {
  position: relative;
  width: min(340px, 100%) !important;
  max-width: 340px !important;
  padding: 28px 34px !important;
  justify-self: end !important;
  color: var(--home-ink);
  background: #fffaf0;
  transform: rotate(-2deg);
}

.home-page .about .note-paper li {
  position: relative;
  color: var(--home-ink);
  font-family: Caveat, cursive;
  font-size: 21px !important;
  font-weight: 700;
}

.home-page .site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: var(--home-container);
  margin: 28px auto 0;
  padding: 20px 0 26px;
  color: var(--home-muted);
}

.home-page .footer-brand {
  color: var(--home-green);
}

.home-page .site-footer p,
.home-page .footer-soul {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
}

.home-page .footer-links,
.home-page .footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-page .footer-links {
  justify-self: center;
}

.home-page .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 76, 50, 0.16);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.82);
}

.home-page .footer-social img {
  width: 20px;
  height: 20px;
}

@media (max-width: 1180px) {
  .home-page .hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
  }

  .home-page .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .service-item:last-child {
    grid-column: span 1;
  }

  .home-page .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 26px;
  }

  .home-page .process-list::before {
    display: none;
  }

  .home-page .about .about-inner {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  .home-page .about .about-photo {
    width: 220px !important;
    height: 240px !important;
  }

  .home-page .about .note-paper {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .home-page .site-footer {
    grid-template-columns: 1fr auto;
  }

  .home-page .footer-links,
  .home-page .footer-soul {
    justify-self: start;
  }
}

@media (max-width: 1024px) {
  .home-page .site-header {
    margin-top: 14px;
  }

  .home-page .desktop-nav {
    gap: 24px;
  }

  .home-page .header-actions .whatsapp-link {
    display: none;
  }

  .home-page .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 44px;
  }

  .home-page .hero-copy {
    max-width: 620px;
  }

  .home-page .hero-hand {
    right: 24px;
  }

  .home-page .hero-visual {
    width: min(100%, 720px);
    justify-self: center;
  }

  .home-page .work-grid,
  .home-page .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page {
    --home-container: min(100vw - 34px, 544px);
  }

  .home-page .site-header {
    min-height: 52px;
  }

  .home-page .brand span {
    font-size: 13px;
  }

  .home-page .mobile-menu {
    width: min(100vw - 34px, 430px);
    right: 17px;
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.96);
  }

  .home-page .mobile-menu .messenger-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .hero {
    padding-top: 32px;
  }

  .home-page .hero h1 {
    font-size: clamp(64px, 19vw, 82px);
    line-height: 0.9;
  }

  .home-page .hero-hand {
    position: static;
    width: fit-content;
    margin: 14px 0 0 auto;
    font-size: 20px;
  }

  .home-page .hero-text {
    margin: 22px 0 20px;
    font-size: 16px;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .home-page .hero-actions .telegram-link,
  .home-page .hero-actions .whatsapp-link {
    width: 100%;
    min-width: 0;
  }

  .home-page .hero-note {
    margin: 20px 0 0 32px;
    font-size: 20px;
  }

  .home-page .hero-visual::before,
  .home-page .hero-visual::after {
    display: none;
  }

  .home-page .hero-visual {
    display: block !important;
    margin: 10px auto 0 !important;
    width: min(100%, 390px) !important;
  }

  .home-page .hero-desktop-img {
    display: none !important;
  }

  .home-page .hero-mobile-img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-page .services,
  .home-page .works,
  .home-page .process,
  .home-page .reviews,
  .home-page .about {
    width: var(--home-container) !important;
  }

  .home-page .section-title-row,
  .home-page .section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .home-page .section-heading {
    display: grid;
  }

  .home-page .service-list,
  .home-page .work-grid,
  .home-page .review-grid {
    grid-template-columns: 1fr;
  }

  .home-page .service-item,
  .home-page .services .service-item,
  .home-page .services .service-item:nth-child(3),
  .home-page .services .service-item:nth-child(n + 4) {
    position: relative !important;
    min-height: 0 !important;
    padding: 18px 18px 18px 92px !important;
  }

  .home-page .service-icon-img {
    position: absolute !important;
    left: 18px !important;
    top: 18px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .home-page .paper-strip {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .home-page .work-item img,
  .home-page .work-placeholder {
    height: clamp(220px, 64vw, 300px);
  }

  .home-page .process-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .process-list article {
    min-height: 74px;
    padding: 0 0 0 52px;
  }

  .home-page .about {
    padding: 18px !important;
  }

  .home-page .about .about-inner {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .home-page .about .about-photo {
    width: 92px !important;
    height: 116px !important;
  }

  .home-page .about .about-text h2 {
    font-size: 24px !important;
  }

  .home-page .about .about-text h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .home-page .about .about-text p {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .home-page .about .about-button {
    width: 100%;
  }

  .home-page .about .note-paper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 20px 24px !important;
  }

  .home-page .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-width: 390px) {
  .home-page {
    --home-container: calc(100vw - 30px);
  }

  .home-page .hero h1 {
    font-size: clamp(58px, 18vw, 72px);
  }

  .home-page .service-item,
  .home-page .services .service-item,
  .home-page .services .service-item:nth-child(3),
  .home-page .services .service-item:nth-child(n + 4) {
    padding-left: 84px !important;
  }

  .home-page .service-icon-img {
    width: 46px !important;
    height: 46px !important;
  }
}

/* 2026-07-08: cache-busting responsive corrections for home hero */
@media (max-width: 1280px) and (min-width: 1025px) {
  .home-page .hero {
    grid-template-columns: minmax(300px, 0.84fr) minmax(390px, 0.96fr) !important;
    gap: 22px !important;
  }

  .home-page .hero-visual {
    width: min(100%, 580px) !important;
    justify-self: start !important;
  }
}

@media (max-width: 760px) {
  .home-page .hero-visual {
    display: block !important;
    width: min(100%, 390px) !important;
    margin: 8px auto 0 !important;
  }

  .home-page .hero-desktop-img {
    display: none !important;
  }

  .home-page .hero-mobile-img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    object-fit: contain !important;
  }
}

/* Service prices: match the cost label + amount treatment */
.services .service-item,
.services .service-item:nth-child(3),
.services .service-item:nth-child(n + 4),
.services .service-item:last-child {
  display: flex !important;
  flex-direction: column;
  min-height: 292px;
}

.services .service-price {
  margin-top: auto;
  padding-top: 22px;
}

.services .service-price-label {
  display: block;
  margin: 0 0 5px;
  color: var(--green, #004c32);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.services .service-price strong {
  display: block;
  color: var(--ink, #171717);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  .services .service-item,
  .services .service-item:nth-child(3),
  .services .service-item:nth-child(n + 4),
  .services .service-item:last-child {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    min-height: 0 !important;
    padding: 16px 16px !important;
  }

  .services .service-icon,
  .services .service-icon-img {
    position: static !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: start !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    transform: none !important;
  }

  .services .service-item h2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    text-transform: none !important;
  }

  .services .service-item p {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    max-width: none !important;
    margin: 6px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  .services .service-price {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin-top: 8px !important;
    padding-top: 0 !important;
  }

  .services .service-price strong {
    font-size: 17px !important;
  }
}

.site-footer .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.site-footer .footer-requisites {
  color: var(--muted, #6f6a62);
  font-size: 12px;
  line-height: 1.45;
  max-width: 42rem;
}

@media (max-width: 760px) {
  .site-footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-footer .footer-legal {
    flex: 1 1 220px;
  }
}
