@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/condensed-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/condensed-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --coal: #151715;
  --ink: #101210;
  --paper: #f2f1e9;
  --lime: #dffa48;
  --line: #454942;
  --pad: clamp(24px, 5vw, 78px);
  --display: "Roboto Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--coal); color: var(--paper); font: 16px/1.5 system-ui, sans-serif; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3, .brand, .button, .header nav, .card-label, .footer a {
  font-family: var(--display);
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 900; line-height: .96; letter-spacing: -.025em; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - var(--pad) * 2, 1480px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 18px; top: 16px; padding: 8px 14px; background: var(--lime); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }

.header-inner { min-height: 100px; display: flex; gap: clamp(22px, 5vw, 75px); align-items: center; }
.brand { display: inline-flex; gap: 18px; align-items: center; margin-right: auto; font-weight: 900; line-height: .92; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 52px; height: 52px; background: var(--lime); color: var(--ink); font-size: 41px; }
.brand-name { display: grid; gap: 5px; border-left: 1px solid #83877e; padding-left: 18px; font-size: 29px; }
.brand-name span { font-size: 15px; letter-spacing: .035em; }
.header nav { display: flex; gap: clamp(18px, 4vw, 58px); font-size: 18px; letter-spacing: .035em; font-weight: 700; }
.header nav a { padding-block: 10px; white-space: nowrap; }
.header nav a:hover, .footer a:hover { color: var(--lime); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 52px; padding: 10px 20px; border: 1px solid transparent; font-size: 19px; line-height: 1.15; font-weight: 800; white-space: nowrap; transition: background .2s, color .2s; }
.button-outline { border-color: var(--paper); }
.button-outline:hover { background: var(--paper); color: var(--ink); }
.button-lime { min-height: 63px; padding-inline: 25px; background: var(--lime); color: var(--ink); font-size: 23px; }
.button-lime:hover { background: var(--paper); }
.button span, .card-arrow { font-family: system-ui, sans-serif; line-height: 1; }

.hero { overflow: clip; }
.hero-inner { position: relative; display: grid; grid-template-columns: 31% 1fr; min-height: clamp(500px, 54vw, 830px); }
.hero-content { position: relative; z-index: 1; grid-area: 1 / 1; align-self: center; padding-bottom: 65px; }
.hero h1 { width: max-content; font-size: clamp(54px, 7.3vw, 118px); transform: scaleX(.835); transform-origin: left center; text-shadow: 0 2px 22px #15171599; }
.hero p { max-width: 385px; margin-block: 29px 35px; font-size: clamp(16px, 1.48vw, 22px); line-height: 1.35; }
.hero-media { grid-area: 1 / 2; align-self: stretch; position: relative; display: grid; grid-template-rows: 1fr auto; min-width: 0; padding-bottom: 30px; }
.hero-media img { position: absolute; width: calc(100% + var(--pad)); height: calc(100% - 86px); max-width: none; object-fit: cover; object-position: 54% 46%; }
.hero-media::after { content: ""; pointer-events: none; position: absolute; inset: 0 auto 86px 0; width: min(32%, 265px); background: linear-gradient(90deg, #1517159c, transparent); }
.hero-media figcaption { grid-row: 2; border-top: 2px solid var(--lime); padding-top: 11px; color: #e2e4da; font-size: 13px; }

.services { padding-block: 63px 77px; background: var(--paper); color: var(--ink); }
.section-title { display: flex; align-items: center; gap: clamp(22px, 4vw, 55px); font-size: clamp(45px, 6vw, 82px); }
.section-title::after { content: ""; height: 1px; background: currentColor; opacity: .7; flex: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 35px; }
.services-grid article { padding: 11px clamp(18px, 3vw, 45px); border-left: 1px solid #96998f; }
.services-grid article:first-child { padding-left: 0; border-left: 0; }
.services-grid article:last-child { padding-right: 0; }
.services-grid h3 { font-size: clamp(26px, 3.2vw, 47px); }
.services-grid p { margin-top: 12px; max-width: 36ch; line-height: 1.45; }

.works { padding-block: 64px 78px; }
.works-grid, .photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.card { display: block; overflow: hidden; border: 1px solid var(--line); background: #101210; }
.card > img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; transition: filter .25s, transform .25s; }
.card:hover > img { transform: scale(1.025); filter: brightness(1.12); }
.card-label { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 10px 15px; background: var(--ink); line-height: 1.05; }
.card-label strong { display: block; font-size: clamp(20px, 2vw, 30px); font-weight: 900; }
.card-note { display: block; margin-top: 3px; color: #d0d2c8; font: 12px/1.2 system-ui, sans-serif; text-transform: none; }
.card-arrow { color: var(--lime); font-size: 27px; }

.address { padding-block: 30px 37px; background: var(--lime); color: var(--ink); }
.address p { margin-bottom: 5px; font-size: 14px; }
.address h2 { font-size: clamp(42px, 7vw, 97px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 25px; padding-block: 24px; }
.footer a { font-size: 18px; font-weight: 900; }
.footer span { color: #d1d4c9; font-size: 13px; }

.album .header { border-bottom: 1px solid var(--line); }
.album-inner { padding-block: 48px 80px; }
.back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 24px; color: var(--lime); font-weight: 700; }
.back:hover { text-decoration: underline; }
.album h1 { font-size: clamp(51px, 7vw, 99px); }
.album-note { margin-top: 12px; font-size: 20px; color: #d1d4c9; }
.photo { display: block; position: relative; overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; aspect-ratio: 1.55; object-fit: cover; transition: transform .25s; }
.photo:hover img { transform: scale(1.035); }
.photo span { position: absolute; bottom: 9px; right: 9px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--lime); color: var(--ink); font-size: 21px; }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: min(95vw, 1150px); max-width: none; max-height: 94dvh; padding: 15px; border: 1px solid var(--line); background: var(--coal); color: var(--paper); }
.lightbox::backdrop { background: #0a0b0aee; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lightbox-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.lightbox figure { text-align: center; min-width: 0; }
.lightbox img { width: 100%; height: min(65dvh, 680px); object-fit: contain; }
.lightbox figcaption { margin-top: 8px; }
.lightbox button { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #92968b; background: var(--coal); color: var(--paper); font-size: 25px; cursor: pointer; }
.lightbox button:hover { background: var(--lime); color: var(--ink); }

@media (max-width: 1070px) {
  .header-inner { min-height: 85px; gap: 25px; }
  .header nav { gap: 22px; }
  .hero-inner { grid-template-columns: 35% 1fr; }
  .hero-content { padding-bottom: 55px; }
  .hero p { max-width: 290px; }
}

@media (max-width: 740px) {
  .header-inner { min-height: unset; flex-wrap: wrap; padding-block: 17px 11px; gap: 10px 14px; }
  .header nav { order: 2; flex: 1 0 100%; gap: clamp(21px, 5vw, 35px); font-size: 15px; border-top: 1px solid var(--line); }
  .header .button-outline { min-height: 37px; padding: 7px 8px; font-size: 13px; gap: 4px; }
  .brand { gap: 8px; }
  .mark { width: 35px; height: 35px; font-size: 28px; }
  .brand-name { font-size: 20px; padding-left: 8px; gap: 3px; }
  .brand-name span { font-size: 11px; }
  .hero-inner { display: flex; flex-direction: column; min-height: unset; }
  .hero-content { align-self: stretch; padding-block: 28px 30px; }
  .hero h1 { font-size: clamp(29px, 9.5vw, 68px); transform: none; }
  .hero p { margin-block: 17px 23px; }
  .button-lime { min-height: 50px; padding-inline: 15px; font-size: 19px; }
  .hero-media { gap: 10px; grid-template-rows: none; padding-bottom: 22px; }
  .hero-media img { position: static; width: calc(100% + var(--pad) * 2); margin-inline: calc(-1 * var(--pad)); height: unset; aspect-ratio: 1.48; object-position: 55% 43%; }
  .hero-media::after { display: none; }
  .hero-media figcaption { padding-top: 7px; }
  .services, .works { padding-block: 43px 49px; }
  .services-grid { margin-top: 24px; }
  .services-grid article { padding-inline: 13px; }
  .services-grid p { font-size: 14px; }
  .works-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
  .card-label { padding: 8px; gap: 6px; }
  .card-label strong { font-size: 18px; }
  .card-note { font-size: 11px; }
  .card-arrow { font-size: 19px; }
  .album-inner { padding-block: 32px 55px; }
  .lightbox-main { gap: 6px; }
  .lightbox button { width: 36px; height: 42px; }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid article { padding: 15px 0; border: 0; border-top: 1px solid #96998f; }
  .services-grid p { margin-top: 7px; }
  .section-title { gap: 14px; font-size: clamp(34px, 9.6vw, 47px); }
  .address h2 { font-size: clamp(35px, 10.1vw, 49px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; width: min(390px, 100%); }
.hero-link { font-weight: 750; font-size: 15px; text-decoration: underline; text-underline-offset: .3em; }
.hero-link:hover { color: var(--lime); }
.price-note { margin-top: 20px; max-width: 62ch; }
.services-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.services-grid article p { margin-bottom: 20px; }
.service-price { display: inline-flex; gap: .28em; align-items: baseline; margin-top: auto; font: 900 clamp(22px, 3vw, 37px)/1 var(--display); white-space: nowrap; }
.service-price > span { font-size: max(12px, .58em); font-weight: 700; }
.service-price i { font: 500 .65em/1 system-ui, sans-serif; transition: transform .22s; }
.service-price:hover i, .package:hover i { transform: translate(3px, -3px); }
.service-price:hover { text-decoration: underline; text-underline-offset: .16em; }
.package { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; margin-top: 33px; border-top: 1px solid #96998f; border-bottom: 1px solid #96998f; padding: 18px 0; }
.package:hover { background-color: #e8ebd9; }
.package strong { display: block; font: 900 clamp(22px, 3.2vw, 41px)/1 var(--display); text-transform: uppercase; }
.package small { display: block; margin-top: 5px; font-size: 14px; }
.package .service-price { margin: 0; }
.request { padding-block: clamp(44px, 7vw, 105px); background: #232722; border-top: 1px solid var(--line); }
.request-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(22px, 6vw, 94px); }
.request h2 { font-size: clamp(47px, 7.7vw, 96px); }
.request-intro p { margin-top: 19px; max-width: 35ch; color: #e2e4da; }
.request-form { min-width: 0; }
.request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.request-form label { display: grid; gap: 6px; align-content: start; font-size: 15px; font-weight: 660; }
.request-fields input, .request-fields select {
  min-height: 48px; min-width: 0; width: 100%; padding: 8px 11px; background: var(--coal);
  border: 1px solid #858a7d; border-radius: 0; color: var(--paper); font: 400 16px/1.3 system-ui, sans-serif;
  caret-color: var(--lime);
}
.request-fields small { font-size: 12px; color: #e2e4da; font-weight: 400; }
.request-form .request-consent { display: flex; gap: 10px; align-items: flex-start; margin-block: 18px 20px; font-weight: 400; }
.request-consent input { inline-size: 17px; block-size: 17px; margin: 3px 0 0; flex: none; accent-color: var(--lime); }
.request-consent a { text-decoration: underline; text-underline-offset: .2em; }
.request-form button { cursor: pointer; }
.request-form button:disabled { cursor: default; opacity: .65; }
.request-message { margin-top: 12px; font-weight: 700; }
.request-message:empty { display: none; }
.data-note { padding-block: 55px; }
.data-note h1 { font-size: clamp(38px, 7vw, 80px); }
.data-note p { max-width: 63ch; margin-top: 16px; }
::selection { color: var(--ink); background: var(--lime); }

@media (max-width: 900px) {
  .hero-actions { width: auto; }
}
@media (max-width: 740px) {
  .hero-actions { gap: 10px 15px; }
  .hero-link { font-size: 13px; }
  .request-inner { grid-template-columns: 1fr; }
  .request h2 br { display: none; }
}
@media (max-width: 500px) {
  .package { align-items: flex-start; flex-direction: column; }
  .request-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: workshop-reveal 800ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero h1 { animation: headline-reveal 650ms 70ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero-content > p, .hero-actions { animation: content-arrive 570ms 140ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero-actions { animation-delay: 205ms; }
  .section-title.in-view::after { animation: rule-reveal 590ms cubic-bezier(.16, 1, .3, 1) both; }
  .in-view:not(.section-title) { animation: content-arrive 570ms var(--arrival-delay, 0ms) cubic-bezier(.16, 1, .3, 1) both; }
  .photo-reveal.in-view { animation-name: frame-arrive; }
  .works-grid li:nth-child(3n + 2), .services-grid article:nth-child(2) { --arrival-delay: 65ms; }
  .works-grid li:nth-child(3n), .services-grid article:nth-child(3) { --arrival-delay: 120ms; }

  @keyframes workshop-reveal {
    from { clip-path: inset(0 0 0 22%); opacity: .25; }
    to { clip-path: inset(0); opacity: 1; }
  }
  @keyframes headline-reveal {
    from { translate: -13px 14px; }
    to { translate: 0; }
  }
  @keyframes content-arrive {
    from { translate: 0 19px; }
    to { translate: 0; }
  }
  @keyframes frame-arrive {
    from { clip-path: inset(5% 0 -8px); opacity: .85; translate: 0 16px; }
    to { clip-path: inset(-8px); opacity: 1; translate: 0; }
  }
  @keyframes rule-reveal {
    from { transform: scaleX(.24); transform-origin: left center; }
    to { transform: scaleX(1); transform-origin: left center; }
  }
}
