/*!
Theme Name: РЕМФАКТУРА
Description: Тёплый архитектурный лендинг. Демонстрационный концепт в-квадрат.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: forma
Based on Underscores, (C) 2012–2020 Automattic, Inc., GPL-2.0-or-later.
*/
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/manrope-regular.ttf') format('truetype');
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/manrope-semibold.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-italic.ttf') format('truetype');
}
:root {
  --b2-color-primary: #352720;
  --b2-color-accent: #884b35;
  --b2-color-background: #faf4eb;
  --b2-color-text: #332721;
  --b2-color-surface: #eddfd0;
  --b2-color-muted: #6e594b;
  --b2-color-border: #d6c4b3;
  --b2-color-inverse: #fff8ef;
  --b2-color-button-text: #fff;
  --b2-color-demo-background: #20262b;
  --b2-color-demo-text: #f5f5f5;
  --b2-font-body: Manrope, Arial, sans-serif;
  --b2-font-heading: 'Cormorant Garamond', Georgia, serif;
  --b2-text-sm: 0.8125rem;
  --b2-text-body: 1rem;
  --b2-text-h3: 1.375rem;
  --b2-text-h2: clamp(2.6rem, 4.5vw, 4.5rem);
  --b2-text-h1: clamp(3rem, 4.7vw, 4.75rem);
  --b2-space-section: clamp(4.5rem, 8vw, 8rem);
  --b2-radius: 2px;
  --b2-radius-button: 999px;
  --b2-shadow-card: none;
  --b2-shadow-menu: none;
  --b2-shadow-decor: none;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--b2-color-background);
  color: var(--b2-color-text);
  font-family: var(--b2-font-body);
  font-size: var(--b2-text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select {
  font: inherit;
}
button, a, input, textarea {
  -webkit-tap-highlight-color: transparent;
}
button, input[type='submit'] {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
p, h1, h2, h3, figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
button:disabled, input:disabled {
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--b2-color-accent);
  outline-offset: 5px;
}
::selection {
  background: var(--b2-color-accent);
  color: var(--b2-color-button-text);
}
.container {
  --bs-gutter-x: 48px;
}
.row {
  --bs-gutter-x: 32px;
}
.b2-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--b2-color-background);
  transform: translateY(-160%);
}
.b2-skip:focus {
  transform: none;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.b2-demo {
  background: var(--b2-color-demo-background);
  color: var(--b2-color-demo-text);
}
.b2-demo__inner {
  padding-block: 16px;
}
.b2-demo__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.b2-demo__title svg {
  flex-shrink: 0;
}
.b2-demo__text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
}
.b2-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 32px;
  border-bottom: 1px solid var(--b2-color-border);
}
.b2-brand {
  flex-shrink: 0;
}
.b2-brand__name {
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}
.b2-brand__caption {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-top: 8px;
}
.custom-logo {
  width: auto;
  max-width: 180px;
  max-height: 52px;
}
.b2-navigation__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.b2-navigation a {
  display: inline-block;
  font-size: var(--b2-text-sm);
  text-decoration: none;
  padding: 12px 0;
}
.b2-navigation a:hover {
  color: var(--b2-color-accent);
}
.b2-header__contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: var(--b2-text-sm);
  text-decoration: none;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--b2-color-border);
  border-radius: var(--b2-radius-button);
}
.b2-header__contact:hover {
  color: var(--b2-color-accent);
  border-color: currentColor;
}
.b2-arrow {
  flex-shrink: 0;
}
.b2-menu-toggle {
  display: none;
}
.b2-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
}
.b2-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--b2-color-accent);
  flex-shrink: 0;
}
.b2-hero {
  padding-top: 32px;
}
.b2-hero__eyebrow {
  margin-bottom: 25px;
}
.b2-hero__intro {
  margin-bottom: 0;
  --bs-gutter-x: 48px;
}
.b2-hero__copy {
  padding-block: 36px;
}
.b2-hero__title {
  font-family: var(--b2-font-heading);
  font-size: var(--b2-text-h1);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.b2-hero__aside p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
  color: var(--b2-color-muted);
  max-width: 350px;
}
.b2-hero__aside {
  margin-top: 32px;
}
.b2-button, .b2-form input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 52px;
  padding: 14px 24px;
  background: var(--b2-color-accent);
  color: var(--b2-color-button-text);
  text-decoration: none;
  border: 1px solid var(--b2-color-accent);
  border-radius: var(--b2-radius-button);
  font-size: 16px;
  line-height: 1.4;
  transition: background 180ms, color 180ms;
}
.b2-button:hover, .b2-form input[type='submit']:hover {
  background: var(--b2-color-primary);
  border-color: var(--b2-color-primary);
}
.b2-button--small {
  min-height: 48px;
  padding: 10px 22px;
}
.b2-hero__image {
  height: clamp(500px, 45vw, 670px);
  overflow: hidden;
  box-shadow: var(--b2-shadow-decor);
}
.b2-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.b2-hero figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--b2-color-muted);
}
.b2-section {
  padding-block: var(--b2-space-section);
}
.b2-section__heading {
  margin-bottom: 58px;
}
.b2-section__heading .b2-eyebrow {
  padding-top: 0;
  margin-bottom: 24px;
}
.b2-heading {
  font-family: var(--b2-font-heading);
  font-size: var(--b2-text-h2);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.b2-section__description {
  max-width: 480px;
  margin-top: 26px;
  color: var(--b2-color-muted);
  font-size: 14px;
}
.b2-about__text {
  margin-top: 32px;
  max-width: 580px;
}
.b2-about__text p {
  max-width: none;
  color: var(--b2-color-muted);
  font-size: 14px;
}
.b2-about__text p + p {
  margin-top: 18px;
}
.b2-about__figure {
  position: relative;
}
.b2-about__figure img {
  width: 100%;
  aspect-ratio: 0.85;
  object-fit: cover;
  box-shadow: var(--b2-shadow-decor);
  object-position: 70% center;
}
.b2-about__heading .b2-eyebrow {
  padding-top: 0;
  margin-bottom: 24px;
}
.b2-about__heading .b2-heading {
  max-width: 880px;
}
.b2-principles {
  border-left: 1px solid var(--b2-color-border);
}
.b2-about__figure figcaption {
  font-family: var(--b2-font-heading);
  font-style: italic;
  font-size: 27px;
  margin-top: 14px;
}
.b2-principle {
  display: flex;
  gap: 32px;
  padding: 24px 32px;
}
.b2-principle__number {
  font-family: var(--b2-font-heading);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--b2-color-accent);
  padding-top: 0;
}
.b2-principle h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 10px;
}
.b2-prose {
  font-size: 14px;
  color: var(--b2-color-muted);
}
.b2-prose p + p {
  margin-top: 1em;
}
.b2-services {
  background: var(--b2-color-surface);
}
.b2-service {
  border-top: 1px solid var(--b2-color-border);
  padding-block: 34px;
  box-shadow: var(--b2-shadow-card);
}
.b2-service:last-child {
  border-bottom: 1px solid var(--b2-color-border);
}
.b2-service__number {
  font-family: var(--b2-font-heading);
  font-style: italic;
  font-size: 30px;
  color: var(--b2-color-accent);
}
.b2-service h3 {
  font-family: var(--b2-font-heading);
  font-size: clamp(2rem, 2.9vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.b2-service__action {
  text-align: right;
}
.b2-service__link {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 16px;
  min-height: 48px;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: var(--b2-color-border);
}
.b2-service__link:hover {
  color: var(--b2-color-accent);
}
.b2-interior {
  margin-bottom: 36px;
}
.b2-interior--2 {
  padding-top: 100px;
}
.b2-interior__image {
  overflow: hidden;
  box-shadow: var(--b2-shadow-decor);
}
.b2-interior img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b2-interior--1 .b2-interior__image {
  aspect-ratio: 1.12;
}
.b2-interior--2 .b2-interior__image {
  aspect-ratio: 0.83;
}
.b2-interior--3 .b2-interior__image {
  aspect-ratio: 2.8;
}
.b2-interior figcaption {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.b2-interior h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
}
.b2-interior figcaption p {
  margin-top: 7px;
  font-size: 11px;
  color: var(--b2-color-muted);
}
.b2-interior__tag {
  font-size: 9px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--b2-color-muted);
  max-width: 110px;
  padding-top: 3px;
}
.b2-interiors__note {
  max-width: 650px;
  font-size: 12px;
  color: var(--b2-color-muted);
}
.b2-process {
  padding-top: var(--b2-space-section);
}
.b2-work-slider {
  background: var(--b2-color-surface);
}
.b2-work-slider__heading {
  margin-bottom: 36px;
  row-gap: 24px;
}
.b2-work-slider__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.b2-work-slider__controls[hidden] {
  display: none;
}
.b2-work-slider__pagination {
  position: static;
  width: auto;
  margin-right: 14px;
  font-size: 14px;
  color: var(--b2-color-muted);
}
.b2-slider-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  color: var(--b2-color-primary);
  border: 1px solid var(--b2-color-primary);
  border-radius: var(--b2-radius-button);
  transition: background 180ms, color 180ms, transform 180ms;
}
.b2-slider-control:disabled {
  opacity: 0.35;
  cursor: default;
}
.b2-slider-control--prev .b2-arrow {
  transform: rotate(180deg);
}
.b2-work-slider__viewport {
  max-width: 100%;
  padding: 0 0 2px;
}
.b2-work-slider__viewport:not(.swiper-initialized) {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.b2-work-slider__viewport:not(.swiper-initialized) .swiper-wrapper {
  gap: 24px;
  height: auto;
}
.b2-work-slider__viewport:not(.swiper-initialized) .swiper-slide {
  width: 85%;
  scroll-snap-align: start;
}
.b2-work-slider .swiper-wrapper {
  align-items: stretch;
}
.b2-work-slider .swiper-slide {
  height: auto;
}
.b2-work-slide figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--b2-color-background);
}
.b2-work-slide__image {
  overflow: hidden;
  aspect-ratio: 1.65;
}
.b2-work-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b2-work-slide figcaption {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding: 24px;
}
.b2-work-slide h3 {
  font-family: var(--b2-font-heading);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
}
.b2-work-slide figcaption p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--b2-color-muted);
}
.b2-button .b2-arrow,
.b2-header__contact .b2-arrow,
.b2-service__link .b2-arrow {
  transition: transform 200ms ease-out;
}
.b2-hero__image img,
.b2-about__figure img,
.b2-interior__image img,
.b2-work-slide__image img {
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
.b2-navigation a {
  position: relative;
}
.b2-navigation a::after {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
}
.b2-navigation a:focus-visible::after {
  transform: scaleX(1);
}
.b2-button:active,
.b2-form input[type='submit']:active,
.b2-slider-control:not(:disabled):active {
  transform: scale(0.98);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .b2-button:hover .b2-arrow,
  .b2-header__contact:hover .b2-arrow,
  .b2-service__link:hover .b2-arrow {
    transform: translateX(4px);
  }
  .b2-navigation a:hover::after {
    transform: scaleX(1);
  }
  .b2-hero__image:hover img,
  .b2-about__figure:hover img,
  .b2-interior__image:hover img,
  .b2-work-slide__image:hover img {
    transform: scale(1.035);
  }
  .b2-slider-control:not(:disabled):hover {
    background: var(--b2-color-primary);
    color: var(--b2-color-inverse);
    transform: translateY(-2px);
  }
}
.b2-process__steps {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.b2-step {
  padding-top: 22px;
  padding-bottom: 20px;
  position: relative;
}
.b2-step::before {
  position: absolute;
  content: '';
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--b2-color-border);
}
.b2-step__number {
  font-family: var(--b2-font-heading);
  font-size: 62px;
  line-height: 1;
  color: var(--b2-color-accent);
}
.b2-step h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
  margin: 26px 0 12px;
}
.b2-step .b2-prose {
  font-size: 12px;
}
.b2-contact {
  background: var(--b2-color-primary);
  color: var(--b2-color-inverse);
}
.b2-contact__intro .b2-eyebrow {
  margin-bottom: 30px;
}
.b2-contact__intro > p:last-child {
  max-width: 340px;
  margin-top: 28px;
  font-size: 14px;
  opacity: 0.8;
}
.b2-contact .b2-heading {
  max-width: 470px;
}
.b2-contact :focus-visible {
  outline-color: var(--b2-color-inverse);
}
.b2-form {
  padding-top: 10px;
}
.b2-form__row {
  display: flex;
  gap: 28px;
}
.b2-form__row > p {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 28px;
}
.b2-form__row label {
  flex: 1;
  min-width: 0;
}
.b2-form label {
  display: block;
  font-size: 12px;
}
.b2-form input[type='text'], .b2-form input[type='tel'], .b2-form textarea {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--b2-color-inverse);
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 12px 0 18px;
  margin: 8px 0 25px;
  font-size: 14px;
}
.b2-form textarea {
  resize: vertical;
  min-height: 105px;
  max-height: 400px;
}
.b2-form input::placeholder, .b2-form textarea::placeholder {
  color: inherit;
  opacity: 0.6;
}
.b2-form .wpcf7-acceptance label {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 10px;
  line-height: 1.75;
}
.b2-form .wpcf7-list-item {
  margin: 0;
}
.b2-form input[type='checkbox'] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--b2-color-accent);
}
.b2-form .wpcf7-not-valid-tip {
  color: var(--b2-color-inverse);
  font-size: 12px;
  border-left: 2px solid currentColor;
  padding-left: 8px;
  margin-bottom: 14px;
}
.b2-form__submit {
  margin-top: 28px;
}
.b2-form input[type='submit'] {
  background: var(--b2-color-inverse);
  color: var(--b2-color-primary);
  border-color: var(--b2-color-inverse);
  min-width: 250px;
}
.b2-form input[type='submit']:hover {
  background: transparent;
  color: var(--b2-color-inverse);
  border-color: var(--b2-color-inverse);
}
.b2-form input[type='submit']:disabled {
  opacity: 0.55;
}
.b2-form .wpcf7-response-output {
  margin: 25px 0 0;
  padding: 16px;
  font-size: 13px;
}
.b2-form__note {
  font-size: 10px;
  line-height: 1.6;
  max-width: 430px;
  margin-top: 22px;
  opacity: 0.75;
}
.b2-footer {
  padding-top: 48px;
  padding-bottom: 32px;
}
.b2-footer__top {
  display: flex;
  align-items: center;
  gap: 44px;
  border-bottom: 1px solid var(--b2-color-border);
  padding-bottom: 36px;
}
.b2-footer__top > span {
  font-family: var(--b2-font-heading);
  font-style: italic;
  font-size: 26px;
}
.b2-footer__up {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  text-decoration: none;
}
.b2-footer__bottom {
  display: flex;
  align-items: start;
  gap: 30px;
  padding-top: 24px;
  font-size: 10px;
  color: var(--b2-color-muted);
}
.b2-footer__notice {
  max-width: 300px;
  margin-right: auto;
}
.b2-footer__documents {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 480px;
}
.b2-text-button {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: inherit;
  line-height: inherit;
}
.b2-cookie {
  position: fixed;
  bottom: 20px;
  left: 24px;
  z-index: 100;
  width: min(550px, calc(100% - 48px));
  background: var(--b2-color-background);
  color: var(--b2-color-text);
  padding: 24px;
  border: 1px solid var(--b2-color-border);
  box-shadow: var(--b2-shadow-menu);
}
.b2-cookie[hidden] {
  display: none;
}
.b2-cookie__text {
  font-size: 11px;
  line-height: 1.75;
}
.b2-cookie__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  font-size: 11px;
}
.b2-cookie-settings {
  display: none;
  white-space: nowrap;
}
.b2-site--js .b2-cookie-settings {
  display: inline-block;
}
.b2-noscript {
  padding-block: 24px;
  font-size: 12px;
}
.b2-document {
  padding-block: var(--b2-space-section);
  min-height: 65vh;
}
.b2-document__title {
  font-family: var(--b2-font-heading);
  font-weight: 400;
  font-size: var(--b2-text-h2);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 42px;
  overflow-wrap: anywhere;
}
.b2-document__content {
  max-width: 780px;
}
.b2-document__content h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  margin: 36px 0 16px;
}
.b2-document__content p {
  margin-bottom: 18px;
}
.b2-document__content a {
  overflow-wrap: anywhere;
}
.b2-result {
  border-top: 1px solid var(--b2-color-border);
  padding-block: 26px;
}
.b2-result h2 {
  font-family: var(--b2-font-heading);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 15px;
}
.b2-result h2 a {
  text-decoration: none;
}
.b2-search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.b2-search label {
  flex: 1;
  min-width: 200px;
}
.b2-search input[type='search'] {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--b2-color-border);
  border-radius: var(--b2-radius);
}
.b2-empty p {
  margin-bottom: 24px;
}
.nav-links {
  display: flex;
  gap: 20px;
  padding-block: 28px;
  flex-wrap: wrap;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
    --bs-gutter-x: 64px;
  }
}
@media (max-width: 1199.98px) {
  .b2-header__inner {
    gap: 24px;
  }
  .b2-navigation__list {
    gap: 20px;
  }
  .b2-header__contact {
    gap: 12px;
  }
  .b2-hero__title {
    font-size: clamp(48px, 4.7vw, 60px);
  }
  .b2-hero__aside .b2-button {
    padding-inline: 16px;
    gap: 15px;
  }
  .b2-interior figcaption {
    flex-direction: column;
    gap: 10px;
  }
  .b2-interior__tag {
    max-width: none;
  }
}
@media (max-width: 991.98px) {
  .b2-work-slider__controls {
    justify-content: flex-start;
  }
  .b2-header__inner {
    min-height: 92px;
  }
  .b2-brand__name {
    font-size: 28px;
  }
  .b2-header__contact {
    display: none;
  }
  .b2-hero__title {
    font-size: clamp(66px, 8vw, 85px);
  }
  .b2-hero__copy {
    padding-block: 16px 36px;
  }
  .b2-hero__intro {
    --bs-gutter-x: 32px;
  }
  .b2-hero__image {
    height: 480px;
  }
  .b2-hero__aside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 28px;
  }
  .b2-hero__aside p {
    max-width: 360px;
    margin: 0;
  }
  .b2-hero__aside .b2-button {
    flex-shrink: 0;
  }
  .b2-section__heading .b2-eyebrow {
    padding-top: 0;
    margin-bottom: 26px;
  }
  .b2-about__detail {
    align-items: start !important;
  }
  .b2-about__figure img {
    aspect-ratio: 1.5;
  }
  .b2-about__figure {
    margin-top: 40px;
  }
  .b2-principles {
    margin-top: 0;
  }
  .b2-service__number {
    display: block;
    margin-bottom: 18px;
  }
  .b2-service h3 {
    margin-bottom: 18px;
  }
  .b2-service__action {
    text-align: left;
    margin-top: 12px;
  }
  .b2-service__link {
    justify-content: space-between;
    width: 100%;
  }
  .b2-contact__intro > p:last-child {
    max-width: 450px;
  }
  .b2-contact .b2-heading {
    max-width: 600px;
  }
  .b2-form {
    padding-top: 48px;
  }
  .b2-footer__bottom {
    flex-wrap: wrap;
  }
  .b2-footer__notice {
    flex-basis: 100%;
    max-width: none;
  }
}
@media (max-width: 767.98px) {
  .b2-work-slide__image {
    aspect-ratio: 1.15;
  }
  .b2-work-slide figcaption {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .b2-work-slide h3 {
    font-size: 27px;
  }
  .container {
    --bs-gutter-x: 40px;
  }
  .row {
    --bs-gutter-x: 24px;
  }
  .b2-header__inner {
    min-height: 82px;
    position: relative;
    gap: 16px;
  }
  .b2-brand__name {
    font-size: clamp(22px, 6.3vw, 28px);
  }
  .b2-brand__caption {
    font-size: 8px;
  }
  .b2-menu-toggle {
    display: none;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    border: 0;
    background: transparent;
    min-height: 48px;
    padding: 0;
  }
  .b2-site--js .b2-menu-toggle {
    display: flex;
  }
  .b2-menu-toggle__lines {
    position: relative;
    width: 23px;
    height: 14px;
    border-top: 1px solid;
    border-bottom: 1px solid;
  }
  .b2-menu-toggle[aria-expanded='true'] .b2-menu-toggle__lines {
    transform: rotate(45deg);
    height: 0;
    border-bottom: 0;
  }
  .b2-menu-toggle[aria-expanded='true'] .b2-menu-toggle__lines::after {
    content: '';
    position: absolute;
    width: 23px;
    border-top: 1px solid;
    transform: rotate(90deg);
    top: -1px;
  }
  .b2-site--js .b2-navigation__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 22px 20px;
    background: var(--b2-color-background);
    border-bottom: 1px solid var(--b2-color-border);
    box-shadow: var(--b2-shadow-menu);
  }
  .b2-site--js .b2-navigation__panel--open {
    display: block;
  }
  .b2-navigation__list {
    gap: 8px 18px;
    flex-wrap: wrap;
  }
  .b2-site--js .b2-navigation__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .b2-navigation a {
    font-size: 13px;
  }
  .b2-hero {
    padding-top: 32px;
  }
  .b2-hero__eyebrow {
    font-size: 9px;
    margin-bottom: 24px;
  }
  .b2-hero__title {
    font-size: clamp(44px, 9.1vw, 68px);
    line-height: 0.95;
  }
  .b2-hero__aside {
    display: block;
    margin-top: 26px;
  }
  .b2-hero__aside p {
    font-size: 13px;
    max-width: 340px;
    margin-bottom: 22px;
    margin-bottom: 22px;
  }
  .b2-hero__aside .b2-button {
    margin-top: 0;
    padding-inline: 24px;
    font-size: 16px;
    gap: 32px;
  }
  .b2-hero__intro {
    margin-bottom: 0;
    --bs-gutter-x: 24px;
  }
  .b2-hero__image {
    height: 390px;
  }
  .b2-hero__image img {
    object-position: 65% center;
  }
  .b2-hero figcaption {
    font-size: 9px;
  }
  .b2-hero figcaption span:last-child {
    display: block;
  }
  .b2-heading {
    font-size: clamp(40px, 8.5vw, 60px);
  }
  .b2-section__heading {
    margin-bottom: 36px;
  }
  .b2-section__heading .b2-eyebrow {
    margin-bottom: 22px;
  }
  .b2-about__text {
    margin-top: 24px;
    row-gap: 18px;
  }
  .b2-about__text p {
    max-width: none;
    font-size: 13px;
  }
  .b2-about__figure img {
    aspect-ratio: 1.15;
  }
  .b2-about__figure figcaption {
    font-size: 24px;
  }
  .b2-principle {
    padding: 20px 0 20px 20px;
    gap: 22px;
  }
  .b2-principle h3 {
    font-size: 17px;
  }
  .b2-prose {
    font-size: 13px;
  }
  .b2-section__description {
    font-size: 13px;
    margin-top: 22px;
  }
  .b2-service {
    padding-block: 26px;
  }
  .b2-service h3 {
    font-size: 34px;
  }
  .b2-service__link {
    font-size: 12px;
  }
  .b2-interior {
    margin-bottom: 32px;
  }
  .b2-interior--2 {
    padding-top: 0;
  }
  .b2-interior--1 .b2-interior__image, .b2-interior--2 .b2-interior__image {
    aspect-ratio: 1.05;
  }
  .b2-interior--3 .b2-interior__image {
    aspect-ratio: 1.2;
  }
  .b2-interior figcaption {
    margin-top: 15px;
  }
  .b2-interior h3 {
    font-size: 19px;
  }
  .b2-interior__tag {
    font-size: 8px;
  }
  .b2-interiors__note {
    font-size: 11px;
  }
  .b2-step {
    padding-top: 24px;
    padding-bottom: 28px;
    display: grid;
    grid-template-columns: 66px 1fr;
    column-gap: 18px;
  }
  .b2-step::before {
    left: 12px;
    right: 12px;
  }
  .b2-step__number {
    grid-row: 1 / 3;
    font-size: 53px;
  }
  .b2-step h3 {
    margin: 4px 0 10px;
    font-size: 17px;
  }
  .b2-step .b2-prose {
    font-size: 13px;
  }
  .b2-form__row {
    display: block;
  }
  .b2-form__row > p {
    display: block;
  }
  .b2-form__note {
    font-size: 10px;
  }
  .b2-form input[type='submit'] {
    width: 100%;
  }
  .b2-form__submit p {
    position: relative;
  }
  .b2-form .wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 13px;
  }
  .b2-footer__top {
    gap: 22px;
    flex-wrap: wrap;
  }
  .b2-footer__top > span {
    font-size: 22px;
    order: 3;
    flex-basis: 100%;
  }
  .b2-footer__documents {
    flex-direction: column;
    gap: 16px;
  }
  .b2-footer__bottom {
    font-size: 10px;
    gap: 24px;
  }
  .b2-footer__notice {
    font-size: 10px;
  }
  .b2-cookie {
    width: calc(100% - 24px);
    bottom: 12px;
    left: 12px;
    padding: 20px;
  }
  .b2-cookie__text {
    font-size: 10px;
  }
  .b2-cookie__actions {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .b2-button:active,
  .b2-form input[type='submit']:active,
  .b2-slider-control:not(:disabled):active {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}


