/* Продолжение страницы: мастерская, фотоальбом, фактуры, материалы и условия работы. */
.studio,
.album,
.catalog,
.colour-section,
.materials,
.atelier,
.advantages,
.last-call {
  padding-block: clamp(70px, 7.7vw, 148px);
}
.studio {
  color: #eee7da;
  --section-paint: #262421 linear-gradient(110deg, #24221f, #312b25 100%);
  border-top: 1px solid #8f775957;
}
.flow-face:is(.studio, .dark-section, .paper-section, .colour-section, .last-call) {
  background: var(--section-paint);
}
.studio-inner,
.section-intro,
.colour-layout,
.atelier-grid,
.last-in {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
  gap: clamp(36px, 7vw, 139px);
}
.studio .eyebrow,
.section-intro .eyebrow,
.colour-layout .eyebrow,
.atelier-grid .eyebrow,
.advantages .eyebrow,
.last-call .eyebrow {
  margin-bottom: 20px;
}
.studio h2,
.section-intro h2,
.colour-layout h2,
.atelier-grid h2,
.advantages h2,
.last-call h2 {
  font-size: clamp(3.1rem, 5.2vw, 6.2rem);
  max-width: 19ch;
}
.studio-text,
.section-intro > p,
.colour-layout > div > p:not(.eyebrow),
.material-note,
.last-call p:not(.eyebrow) {
  font-size: clamp(1rem, 1.18vw, 1.24rem);
  line-height: 1.65;
}
.studio-text p + p {
  margin-top: 1rem;
}
.studio-text p {
  color: #dbd1c5;
}
.studio .lead,
.lead {
  font-size: clamp(1.12rem, 1.45vw, 1.58rem);
  line-height: 1.45;
  color: inherit;
}
.studio-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  margin-top: clamp(36px, 3.6vw, 75px);
}
.studio-facts > div {
  border-top: 1px solid #a78d6a70;
  padding-top: 1.4rem;
}
.studio-facts strong {
  display: block;
  color: #ffc080;
  font: 500 clamp(3.1rem, 5.35vw, 6.1rem) / 1 var(--serif);
  letter-spacing: -0.045em;
}
.studio-facts span {
  display: block;
  color: #d6cbbb;
  font-size: 0.98rem;
  margin-top: 0.45rem;
}
.dark-section {
  --section-paint: #1b1b1a;
  color: #f4eee3;
}
.section-intro {
  align-items: end;
  margin-bottom: clamp(33px, 3.8vw, 72px);
}
.section-intro > p {
  max-width: 49ch;
  color: #d3cabe;
  line-height: 1.5;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(25px, 2.4vw, 44px) clamp(16px, 1.6vw, 32px);
}
.gallery-item {
  min-width: 0;
}
.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #342e28;
}
.gallery-link img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.35s;
}
.gallery-item:nth-child(6n + 2) .gallery-link img,
.gallery-item:nth-child(6n + 5) .gallery-link img {
  object-position: 50% 55%;
}
.gallery-link:hover img {
  transform: scale(1.035);
  filter: brightness(1.05);
}
.expand-icon {
  display: grid;
  place-items: center;
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #fff8;
  background: #18151365;
  color: #fff;
}
.expand-icon .icon {
  width: 14px;
  height: 14px;
}
.gallery-item figcaption {
  font-size: clamp(0.96rem, 1.02vw, 1.2rem);
  line-height: 1.3;
  color: #eee5d8;
  padding-top: 0.8rem;
}
.paper-section {
  --section-paint: #eee8df;
  color: #28231f;
  color-scheme: light;
}
.paper-section .section-intro > p,
.paper-section .material-note {
  color: #554b41;
}
.paper-section .eyebrow {
  color: #66503c;
}
.paper-section .with-line::after {
  background: #b55e26;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-row button {
  font-size: 0.91rem;
  padding: 0.6em 1.08em;
  min-height: 40px;
  border: 1px solid #99847066;
  border-radius: 24px;
  transition: background 0.2s;
}
.filter-row button[aria-pressed="true"] {
  background: #352b24;
  color: #fff2df;
  border-color: #352b24;
}
.filter-row button:hover:not([aria-pressed="true"]) {
  background: #dfd3c3;
}
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.8fr);
  gap: clamp(22px, 4.6vw, 83px);
  align-items: start;
}
.sample-list {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
}
.sample-option {
  display: grid;
  grid-template-columns: 44px 1fr 17px;
  gap: 12px;
  align-items: center;
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #7c6e5e38;
  min-height: 55px;
}
.sample-option:first-child {
  border-top: 1px solid #7c6e5e38;
}
.sample-option img {
  width: 43px;
  height: 35px;
  border-radius: 3px;
  object-fit: cover;
}
.sample-option > span {
  font-size: 0.97rem;
  line-height: 1.25;
}
.sample-option > .icon {
  visibility: hidden;
  width: 16px;
  color: var(--rust);
}
.sample-option[aria-pressed="true"] {
  background: #e2d4c4;
  color: #642e13;
}
.sample-option[aria-pressed="true"] > .icon {
  visibility: visible;
}
.sample-option:hover {
  background: #e5dbcf;
}
.sample-photo {
  height: clamp(230px, 25vw, 480px);
  overflow: hidden;
  background: #cfbeaa;
}
.sample-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sample-content {
  padding: clamp(22px, 2.5vw, 48px) 0 0;
}
.small-label {
  font-size: 0.74rem;
  letter-spacing: 0.17em;
}
.sample-content .small-label {
  color: #7e5e42;
}
.sample-content h3 {
  font-size: clamp(2.6rem, 4.1vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0.1em 0;
}
.sample-content p:not(.small-label) {
  max-width: 65ch;
  color: #51463c;
}
.sample-content h4 {
  margin-top: 1.2em;
  font-size: 1rem;
}
.sample-content .text-link {
  margin-top: 0.8em;
}
.sample-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.subnote,
.material-note {
  margin-top: 1.4rem;
  color: #6a5c4f;
  font-size: 0.86rem;
  max-width: 90ch;
}
.colour-section {
  --section-paint:
    linear-gradient(108deg, #2a302ce6, #252c29e8 70%),
    var(--texture-image, url("assets/samples/concrete.webp")) center/cover;
  color: #f5efdf;
}
.colour-layout {
  align-items: center;
}
.colour-layout > div > p:not(.eyebrow) {
  color: #dedbcf;
  margin: 1.25rem 0;
}
.colour-picker {
  padding: clamp(22px, 3.1vw, 54px);
  border: 1px solid #bcc3af66;
  background: #ffffff08;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 1rem 0 1.6rem;
}
.swatches button {
  position: relative;
  background: var(--swatch);
  height: clamp(52px, 5.3vw, 104px);
  border: 2px solid transparent;
}
.swatches button::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #4b3626;
  opacity: 0;
}
.swatches button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px #fff;
  border-color: #534840;
}
.swatches button[aria-pressed="true"]::after {
  opacity: 1;
}
.colour-picker label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.colour-input-row {
  display: flex;
  gap: 10px;
}
.colour-input-row input {
  background: #191d19;
  color: #fcfaef;
  border: 1px solid #767b6a;
  min-width: 0;
  flex: 1;
  padding: 0.62rem 0.9rem;
  border-radius: 4px;
}
.colour-input-row .button {
  color: #f3cb9b;
  min-height: 44px;
}
.colour-note, #colour-status:not(:empty) {
  font-size: 0.84rem;
  color: #d5d3c9;
  margin-top: 0.85rem;
  line-height: 1.4;
}
#copy-selection {
  margin-top: .5rem;
  color: #f3cb9b;
}
#selection-text {
  display: block;
  width: 100%;
  margin-top: .75rem;
  padding: .65rem;
  font: inherit;
}
.materials {
  --section-paint: #f6f1ea;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(18px, 2.1vw, 38px);
  align-items: start;
}
.product-grid figure,
.brand-reference {
  min-width: 0;
}
.shelf-heading {
  margin-bottom: 22px;
}
.shelf-heading h3,
.partner-group h3 {
  font: 500 clamp(2rem, 3vw, 3.2rem) / 1.1 var(--serif);
}
.shelf-heading p {
  max-width: 62ch;
  margin-top: 0.55rem;
  color: #584d41;
}
.product-line {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a5137;
  font-weight: 600;
}
.product h4 {
  font: 500 clamp(1.7rem, 2.55vw, 2.9rem) / 1.08 var(--serif);
  margin: 0.15em 0;
}
.source-link {
  display: inline-block;
  margin-top: 0.55em;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--rust);
}
.cap-shelf {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.other-shelf {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.other-heading {
  margin-top: clamp(36px, 4.6vw, 75px);
}
.partner-links {
  margin-top: 12px;
}
.can-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(180px, 16vw, 283px);
  background: #eae3d8;
  overflow: hidden;
}
.can-stage img {
  width: 94%;
  height: 94%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-grid figcaption {
  padding-top: 14px;
}
.product-grid h3 {
  font-size: clamp(1.75rem, 2.1vw, 2.65rem);
  line-height: 1.08;
}
.product-grid p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #594d40;
}
.product-grid .text-link {
  font-size: 0.9rem;
}
.brand-reference {
  align-self: center;
  padding: 1rem 0;
}
.brand-reference .text-link {
  margin-top: 0.5rem;
}
.material-note {
  border-top: 1px solid #bdb2a2;
  padding-top: 1.35rem;
  font-size: 0.98rem;
}
.partner-group {
  margin-top: clamp(32px, 4vw, 65px);
  padding-top: clamp(28px, 3vw, 45px);
  border-top: 1px solid #b9ac98;
}
.partner-group h3 {
  font: 500 clamp(2rem, 3.1vw, 3.3rem) / 1.05 var(--serif);
}
.partner-group > p {
  max-width: 66ch;
  margin: 0.7rem 0 1rem;
  color: #594e42;
}
.partner-links {
  display: flex;
  align-items: center;
  gap: 10px 25px;
  flex-wrap: wrap;
}
.partner-links a {
  color: var(--rust);
  text-underline-offset: 4px;
  text-decoration: underline;
  font-size: 0.96rem;
  min-height: 30px;
}
.atelier {
  --section-paint: #251f1a;
}
.atelier-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.work-photo img {
  width: 100%;
  height: auto;
}
.atelier-grid .lead {
  color: #ded2c3;
  margin: 1.4rem 0;
}
.method-notes {
  border-top: 1px solid #7b65534f;
}
.method-notes article {
  padding: 1.12rem 0;
  border-bottom: 1px solid #7b65534f;
}
.method-notes h3,
.benefit-list h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.48rem, 1.8vw, 2.3rem);
  line-height: 1.12;
  margin-bottom: 0.3em;
}
.method-notes p {
  color: #d6cbbd;
  font-size: 1rem;
  line-height: 1.5;
}
.atelier-grid .text-link {
  margin-top: 1.3rem;
}
.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(38px, 7vw, 145px);
  margin-top: clamp(30px, 3.6vw, 68px);
}
.benefit-list article {
  border-top: 1px solid #ac9b898c;
  padding: clamp(21px, 2.1vw, 38px) 0;
}
.benefit-list h3 {
  font-size: clamp(1.65rem, 2.15vw, 2.6rem);
}
.benefit-list p {
  color: #574b3e;
  line-height: 1.55;
}
.last-call {
  display: grid;
  align-content: center;
  min-height: 58vh;
  min-height: 58svh;
  --section-paint:
    linear-gradient(90deg, #211b17f0, #281e17e6 52%, #342317cf),
    var(--texture-image, url("assets/images/plaster.webp")) left 60% / cover;
}
.last-in {
  align-items: center;
}
.last-call h2 {
  margin-bottom: 0.27em;
}
.last-call p:not(.eyebrow) {
  color: #ded2c2;
  max-width: 48ch;
}
.last-in .locations {
  max-width: 44ch;
  line-height: 1.65;
  text-wrap: balance;
}
.locations span {
  white-space: nowrap;
}
.last-phone {
  display: block;
  font: 600 clamp(2.6rem, 5.05vw, 5.5rem) / 1.1 var(--serif);
  font-variant-numeric: lining-nums;
  min-height: 44px;
  letter-spacing: -.025em;
  width: fit-content;
  max-width: 100%;
}
.last-phone .phone-local {
  white-space: nowrap;
}
.last-contacts .contact-routes {
  gap: .65rem;
  margin: 1.1rem 0 0;
}
.last-contacts .contact-routes a {
  min-height: 52px;
  padding: .65rem clamp(.85rem, 1.4vw, 1.5rem);
  gap: .65rem;
  border-radius: .5rem;
  border: 1px solid #b58d66;
  background: #29231f;
  color: #fff5e7;
  font-size: clamp(1.025rem, 1.25vw, 1.2rem);
  line-height: 1.25;
  font-weight: 700;
}
.last-contacts .contact-routes .icon {
  width: 1.3em;
  height: 1.3em;
  color: #ffb56d;
}
.last-contacts .contact-routes a:is(:hover, :focus-visible, :active) {
  background: #493627;
  border-color: #ffc385;
}
.footer-face {
  padding: 1.8rem 0;
  background: #171715;
  border-top: 1px solid #ab8d682e;
}
.footer-in {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 60px);
}
.footer-in .brand {
  margin-right: auto;
}
.footer-in > a:not(.brand) {
  font-size: 0.9rem;
  color: #d3c9ba;
}
.lightbox {
  position: fixed;
  inset: 0;
  max-width: min(1120px, 96vw);
  width: 100%;
  max-height: 95dvh;
  overflow: auto;
  margin: auto;
  padding: 14px 20px 20px;
  border: 1px solid #856d50;
  color: #f8eee0;
  background: #1c1a18;
  box-shadow: 0 22px 120px #000b;
}
.lightbox::backdrop {
  background: #0c0b09e8;
}
.lightbox-top,
.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lightbox-top {
  color: #cab8a1;
  font-size: 0.85rem;
  padding: 0 0 9px;
}
.lightbox-top button,
.lightbox-stage button {
  display: grid;
  place-items: center;
  border: 1px solid #c0ab8c88;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: #211c17d9;
  color: #fff5e6;
}
.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  background: #141312;
}
.lightbox-stage img {
  display: block;
  width: 100%;
  height: min(68dvh, 720px);
  object-fit: contain;
}
.lightbox-stage button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}
.lightbox-caption {
  padding: 14px 0 0;
  align-items: baseline;
}
.lightbox-caption h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.8rem);
  line-height: 1.1;
}
.lightbox-caption p {
  font-size: 0.8rem;
  color: #d4c4af;
}
.directions,
.style-guide {
  padding-block: clamp(70px, 7.7vw, 148px);
}
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.65vw, 50px);
}
.direction-card {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.direction-card > img {
  height: clamp(155px, 15.7vw, 295px);
  object-fit: cover;
}
.direction-card h3,
.style-description h3 {
  font: 500 clamp(1.95rem, 2.9vw, 3.55rem) / 1 var(--serif);
  letter-spacing: -0.02em;
  margin: 0.55em 0 0.38em;
}
.direction-card p {
  font-size: 1rem;
  color: #53483e;
  line-height: 1.56;
  margin: 0 0 1em;
}
.direction-card strong,
.style-description h4 {
  font-size: 0.83rem;
  letter-spacing: 0.07em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3em;
}
.direction-card button,
.style-choices button,
#style-samples button {
  border: 1px solid #a89077;
  border-radius: 28px;
  padding: 0.58em 1.05em;
  min-height: 42px;
  font-size: 0.91rem;
}
.direction-card button {
  margin-top: auto;
  color: #613316;
}
.style-guide {
  --section-paint: #27221f;
}
.style-choices,
#style-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.style-choices {
  margin-bottom: 24px;
}
.style-choices button {
  color: #f2e3d0;
}
.style-choices button[aria-pressed="true"] {
  color: #28190f;
  background: #edb783;
  border-color: #edb783;
}
.style-stage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(25px, 5vw, 90px);
  align-items: center;
}
.style-stage figure > img {
  height: clamp(300px, 31vw, 550px);
  object-fit: cover;
}
.style-stage figcaption {
  font-size: 0.8rem;
  color: #c5b6a6;
  margin-top: 8px;
}
.style-description {
  min-width: 0;
}
.style-description .small-label {
  color: #d7b798;
}
.style-description h3 {
  margin: 0.25em 0;
}
.style-description > p:not(.small-label) {
  color: #e0d4c7;
  font-size: 1.05rem;
  line-height: 1.6;
}
.style-description h4 {
  margin-top: 1.3rem;
  color: #d6c0a6;
}
#style-samples button {
  color: #f5d0ab;
  border-color: #826747;
}
.style-description > .button {
  margin-top: 1.5rem;
}
.colour-layout > * {
  min-width: 0;
}
body.dialog-open {
  overflow: hidden;
}
@keyframes arrive {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes wash {
  from {
    filter: brightness(0.8);
  }
  to {
    filter: brightness(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-body > * {
    animation: arrive 0.65s both;
  }
  .hero-body h1 {
    animation-delay: 0.06s;
  }
  .hero-lead {
    animation-delay: 0.12s;
  }
  .hero-actions {
    animation-delay: 0.18s;
  }
  .sample-photo img.changed {
    animation: wash 0.38s ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
