@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Один фирменный акцент и спокойные нейтральные поверхности. */
  --brand-brown: #74372f;
  --brand-brown-dark: #51251f;
  --brand-blue: var(--brand-brown);
  --ink: #171615;
  --ink-soft: #373432;
  --paper: #f5f3ef;
  --paper-deep: #ebe8e2;
  --white: #fff;
  --line: rgba(23, 22, 21, 0.17);
  --line-light: rgba(255, 255, 255, 0.28);
  --page-pad: clamp(20px, 4vw, 70px);
  --section-space: clamp(68px, 6.2vw, 108px);
  --header-height: 76px;
  --topline-height: 30px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.topline {
  height: var(--topline-height);
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.88);
  background: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topline-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topline-phones {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topline a {
  transition: color 180ms ease;
}

.topline a:hover {
  color: var(--brand-blue);
}

.nav-shell {
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: clamp(145px, 12vw, 190px) auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 42px);
}

.brand {
  width: 100%;
  max-width: 188px;
}

.brand img,
.footer-brand img {
  width: 100%;
  mix-blend-mode: multiply;
}

.catalog-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.catalog-button:hover {
  background: var(--brand-brown);
}

.catalog-icon {
  width: 20px;
  display: grid;
  gap: 4px;
}

.catalog-icon i {
  height: 1px;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 34px);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav > a,
.main-nav-item > a,
.main-nav > .menu-item > a {
  position: relative;
  padding: 14px 0;
}

.main-nav > a::after,
.main-nav-item > a::after,
.main-nav > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 1px;
  background: var(--brand-blue);
  transition: right 220ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after,
.main-nav-item > a:hover::after,
.main-nav-item > a:focus-visible::after,
.main-nav > .menu-item > a:hover::after,
.main-nav > .menu-item > a:focus-visible::after {
  right: 0;
}

.main-nav-item,
.main-nav > .menu-item {
  position: relative;
}

.nav-dropdown-mark {
  margin-left: 3px;
  color: var(--ink-soft);
  font-size: 11px;
}

.main-nav-dropdown,
.main-nav .sub-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: -20px;
  width: max-content;
  min-width: 250px;
  max-width: 340px;
  max-height: min(66vh, 560px);
  padding: 10px 0;
  overflow-y: auto;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(23, 22, 21, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.main-nav-dropdown a,
.main-nav .sub-menu a {
  padding: 11px 20px;
  display: block;
  white-space: normal;
}

.main-nav-dropdown a:hover,
.main-nav-dropdown a:focus-visible,
.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus-visible {
  color: var(--brand-brown);
  background: var(--paper);
}

.main-nav-item:hover > .main-nav-dropdown,
.main-nav-item:focus-within > .main-nav-dropdown,
.main-nav > .menu-item-has-children:hover > .sub-menu,
.main-nav > .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1360px) and (min-width: 961px) {
  .nav-shell {
    grid-template-columns: 150px auto 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav .nav-collapsible {
    display: none;
  }

  .header-action {
    max-width: none;
  }
}

.header-action {
  min-height: 52px;
  padding: 0 0 0 22px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  background: var(--brand-brown);
  border: 1px solid var(--brand-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.button-label {
  min-width: 0;
  padding-right: 18px;
  display: block;
  flex: 1 1 auto;
}

.header-action > .button-arrow,
.button > .button-arrow,
.outline-button > .button-arrow,
.text-button > .button-arrow {
  width: 52px;
  height: auto;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  align-self: stretch;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  transition: background 200ms ease, border-color 200ms ease;
}

.button-arrow i {
  display: block;
  font-style: normal;
  line-height: 1;
  transform: translate(0, 0);
  transition: transform 240ms var(--ease);
}

/*
 * Do not rely on Unicode arrow glyphs: mobile systems can render them as emoji.
 * Directional button arrows use the same vector mask at every viewport size.
 */
.button-arrow-up i,
.button-arrow-down i,
.button-arrow-right i {
  width: 14px;
  height: 14px;
  font-size: 0;
  background-color: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.button-arrow-up i {
  -webkit-mask-image: url("icons/arrow-up-right.svg");
  mask-image: url("icons/arrow-up-right.svg");
}

.button-arrow-down i {
  -webkit-mask-image: url("icons/arrow-down.svg");
  mask-image: url("icons/arrow-down.svg");
}

.button-arrow-right i {
  -webkit-mask-image: url("icons/arrow-right.svg");
  mask-image: url("icons/arrow-right.svg");
}

:is(.header-action, .button, .outline-button, .text-button):hover .button-arrow-up i {
  transform: translate(3px, -3px);
}

:is(.header-action, .button, .outline-button, .text-button):hover .button-arrow-right i {
  transform: translateX(4px);
}

:is(.header-action, .button, .outline-button, .text-button):hover .button-arrow-down i {
  transform: translateY(3px);
}

:is(.header-action, .button, .outline-button, .text-button):hover .button-arrow {
  background: rgba(255, 255, 255, 0.14);
}

.header-action:hover {
  background: var(--brand-brown-dark);
  border-color: var(--brand-brown-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero,
.hero-slider,
.hero-slide {
  position: relative;
  min-height: max(680px, calc(100svh - var(--header-height) - var(--topline-height)));
}

.hero-slider {
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 700ms;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-slide > img,
.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 50%);
  transform: scale(1.04);
  transition: transform 7.8s linear;
}

.hero-background-video {
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  transition: opacity 420ms ease, transform 7.8s linear;
}

.hero-background-video.is-playing {
  opacity: 1;
}

.hero-slide.is-active > img,
.hero-slide.is-active > .hero-background-video {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 13, 0.76) 0%, rgba(15, 14, 13, 0.42) 48%, rgba(15, 14, 13, 0.08) 82%),
    linear-gradient(0deg, rgba(15, 14, 13, 0.5) 0%, transparent 42%);
}

.hero-shade-warm {
  background:
    linear-gradient(90deg, rgba(32, 20, 16, 0.72) 0%, rgba(32, 20, 16, 0.32) 48%, transparent 82%),
    linear-gradient(0deg, rgba(32, 20, 16, 0.48) 0%, transparent 38%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: var(--page-pad);
  top: 50%;
  width: min(900px, 74vw);
  color: var(--white);
  transform: translateY(-53%);
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 104px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero-content h1 span,
.hero-content h1 em,
.hero-content h2 span,
.hero-content h2 em {
  width: auto;
  max-width: 900px;
  padding: 0;
  display: block;
  color: var(--white);
  background: transparent;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.24);
}

.hero-content h1 span,
.hero-content h2 span {
  color: var(--white);
  background: transparent;
}

.hero-content h1 em,
.hero-content h2 em {
  margin-top: 0.1em;
  color: var(--white);
  background: transparent;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.64em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-content > p {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.5;
}

.hero-content .button {
  margin-top: 30px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-content .hero-actions .button {
  margin-top: 0;
}

.hero-video-button {
  color: var(--white);
  background: rgba(18, 16, 14, 0.44);
  border-color: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-video-button:hover {
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.hero-content-compact h2 {
  font-size: clamp(45px, 5.3vw, 90px);
}

.hero-content--plaque {
  left: 0;
  width: min(620px, 48vw);
  padding: clamp(26px, 3vw, 42px);
  color: var(--ink);
  background: rgba(245, 243, 239, 0.93);
  box-shadow: 0 20px 58px rgba(15, 14, 13, 0.16);
  backdrop-filter: blur(10px);
}

.hero-content--plaque h1,
.hero-content--plaque h2,
.hero-content--plaque.hero-content-compact h2 {
  font-size: clamp(42px, 4.8vw, 76px);
}

.hero-content--plaque h1 span,
.hero-content--plaque h1 em,
.hero-content--plaque h2 span,
.hero-content--plaque h2 em {
  color: var(--ink);
  text-shadow: none;
}

.hero-content--plaque > p {
  color: var(--ink-soft);
}

.hero-content--plaque .hero-video-button {
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  backdrop-filter: none;
}

.hero-content--plaque .hero-video-button > .button-arrow {
  background: rgba(23, 22, 21, 0.035);
  border-left-color: rgba(23, 22, 21, 0.28);
}

.hero-content--plaque .hero-video-button:hover {
  color: var(--white);
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.button,
.outline-button,
.text-button {
  border-radius: 0;
}

.button {
  min-height: 54px;
  padding: 0 0 0 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--brand-brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
}

.button-light,
.button-dark {
  color: var(--white);
  background: var(--brand-brown);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-light:hover,
.button-dark:hover {
  background: var(--brand-brown-dark);
  border-color: var(--brand-brown-dark);
}

.hero-controls {
  position: absolute;
  z-index: 6;
  right: var(--page-pad);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 20px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.slider-arrow:hover:not(:disabled) {
  color: var(--white);
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.slider-arrow:disabled {
  cursor: default;
  opacity: 0.34;
}

.slider-arrow-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-counter {
  min-width: 64px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  text-align: center;
}

.hero-counter b {
  color: var(--white);
  font-size: 15px;
}

.hero-dots {
  position: absolute;
  z-index: 6;
  right: var(--page-pad);
  top: 30px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 36px;
  height: 3px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
}

.hero-dots button::after {
  content: "";
  width: 0;
  height: 100%;
  display: block;
  background: var(--white);
}

.hero-dots button.is-active::after {
  width: 100%;
  transition: width var(--hero-slide-duration, 7000ms) linear;
}

html.hero-video-open {
  overflow: hidden;
}

.hero-video-dialog {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--white);
  background: #090909;
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
}

.hero-video-dialog::backdrop {
  background: rgba(15, 14, 13, 0.88);
  backdrop-filter: blur(6px);
}

.hero-video-dialog-panel {
  position: relative;
}

.hero-video-dialog video {
  width: 100%;
  max-height: calc(100svh - 48px);
  display: block;
  background: #090909;
}

.hero-video-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(15, 14, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 28px;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-video-dialog-close:hover {
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.section-space {
  padding: var(--section-space) var(--page-pad);
}

.intro {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro h2,
.section-heading h2,
.bespoke h2,
.craft h2,
.architects h2,
.trust h2,
.contact h2,
.contact-dialog h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 4.8vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro-copy {
  max-width: 720px;
  margin: 30px auto 30px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.55;
}

.outline-button {
  min-height: 54px;
  padding: 0 0 0 22px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: transparent;
  border: 2px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.outline-button > .button-arrow,
.text-button > .button-arrow {
  background: rgba(23, 22, 21, 0.035);
  border-left-color: rgba(23, 22, 21, 0.28);
}

.outline-button:hover {
  color: var(--white);
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.outline-button:hover > .button-arrow,
.text-button:hover > .button-arrow {
  background: rgba(255, 255, 255, 0.14);
  border-left-color: rgba(255, 255, 255, 0.4);
}

.collections {
  min-height: calc(100svh - var(--header-height) - var(--topline-height));
  padding-top: clamp(46px, 4.4vw, 72px);
  padding-bottom: clamp(38px, 3.8vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height));
}

.section-heading {
  margin-bottom: clamp(28px, 3.2vw, 48px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.section-heading h2 {
  font-size: clamp(36px, 3.6vw, 60px);
}

.collection-controls {
  display: flex;
  gap: 10px;
}

.collection-viewport {
  overflow: hidden;
}

.collection-track {
  --collection-gap: clamp(14px, 1.6vw, 28px);
  display: flex;
  gap: var(--collection-gap);
  transition: transform 600ms var(--ease);
  will-change: transform;
}

.collection-card {
  min-width: calc((100% - var(--collection-gap) * 3) / 4);
}

.collection-card a {
  display: block;
}

.collection-image {
  position: relative;
  aspect-ratio: 3 / 2;
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.collection-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid rgba(255, 255, 255, 0.7);
  transition: border-width 300ms var(--ease);
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.collection-card a:hover .collection-image img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.collection-card a:hover .collection-image::after {
  border-width: 7px;
}

.collection-card h3 {
  margin: 16px 0 9px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(22px, 1.7vw, 29px);
  font-weight: 470;
  letter-spacing: -0.025em;
}

.collection-card p {
  min-height: 52px;
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.card-link {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.collection-card a:hover .card-link {
  color: var(--white);
  background: var(--ink);
}

.collection-progress {
  height: 2px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--paper-deep);
}

.collection-progress span {
  width: 50%;
  height: 100%;
  display: block;
  background: var(--brand-brown);
  transform-origin: left center;
  transition: transform 600ms var(--ease);
}

.bespoke {
  min-height: calc(100svh - var(--header-height) - var(--topline-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-deep);
}

.bespoke-media {
  min-height: calc(100svh - var(--header-height) - var(--topline-height));
  overflow: hidden;
}

.bespoke-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  transition: transform 800ms var(--ease);
}

.bespoke-media:hover img {
  transform: scale(1.025);
}

.bespoke-copy {
  padding: clamp(34px, 3.4vw, 58px) var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bespoke-copy > p {
  max-width: 620px;
  margin: 22px 0 22px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.48;
}

.bespoke-copy-without-heading > p {
  margin-top: 0;
}

.bespoke h2 {
  font-size: clamp(42px, 4.1vw, 68px);
}

.feature-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: 0 0 22px;
  background: var(--brand-blue);
}

.text-button {
  width: max-content;
  max-width: 100%;
  min-height: 54px;
  padding: 0 0 0 22px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 2px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.text-button:hover {
  color: var(--white);
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.craft {
  padding-top: clamp(46px, 5vw, 76px);
  padding-bottom: clamp(46px, 5vw, 76px);
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.craft .section-heading-light > p {
  max-width: 430px;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

.section-heading-copy-only {
  display: block;
}

.craft .section-heading-copy-only > p {
  max-width: 760px;
  margin: 0;
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: stretch;
}

.craft-image {
  position: relative;
  min-height: 390px;
  max-height: 440px;
  overflow: hidden;
}

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

.craft-image span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.craft-facts {
  display: grid;
  align-content: stretch;
}

.craft-facts article {
  min-height: 138px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: minmax(105px, 0.6fr) 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.craft-facts article:last-child {
  border-bottom: 1px solid var(--line);
}

.craft-facts strong {
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(52px, 5vw, 82px);
  font-weight: 350;
  line-height: 1;
}

.craft-facts p {
  max-width: 250px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.projects {
  background: var(--paper);
}

.section-heading-action-only {
  justify-content: flex-end;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  grid-template-rows: clamp(400px, 34vw, 560px);
  gap: 12px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.project-card-wide {
  grid-row: auto;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 16, 15, 0.72), transparent 55%);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter 400ms ease;
}

.project-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.project-card div {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 2.4vw, 40px);
  right: clamp(20px, 2.4vw, 40px);
  bottom: clamp(20px, 2.4vw, 38px);
  color: var(--white);
}

.project-card h3 {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(27px, 3vw, 52px);
  font-weight: 420;
}

.architects {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.architects-copy {
  padding: var(--section-space) var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.architects-copy > p {
  max-width: 600px;
  margin: 0 0 36px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
}

.outline-button-light {
  width: max-content;
  color: var(--white);
}

.outline-button-light > .button-arrow {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: rgba(255, 255, 255, 0.4);
}

.outline-button-light:hover {
  color: var(--white);
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.architects-pattern {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border-left: 1px solid var(--line);
}

.architects-pattern::before,
.architects-pattern::after {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    linear-gradient(45deg, transparent 46%, rgba(116, 55, 47, 0.11) 47%, rgba(116, 55, 47, 0.11) 52%, transparent 53%);
  background-size: 160px 160px;
  transform: rotate(7deg) scale(1.2);
}

.architects-pattern::after {
  background:
    linear-gradient(-45deg, transparent 46%, rgba(23, 22, 21, 0.08) 47%, rgba(23, 22, 21, 0.08) 52%, transparent 53%);
  background-size: 160px 160px;
  transform: rotate(-7deg) scale(1.2);
}

.architects-pattern span {
  position: absolute;
  z-index: 2;
  width: clamp(62px, 7vw, 120px);
  aspect-ratio: 1;
  border: 1px solid rgba(116, 55, 47, 0.18);
  transform: rotate(45deg);
}

.architects-pattern span:nth-child(1) { left: 15%; top: 18%; }
.architects-pattern span:nth-child(2) { left: 36%; top: 36%; }
.architects-pattern span:nth-child(3) { left: 57%; top: 18%; }
.architects-pattern span:nth-child(4) { left: 15%; top: 58%; }
.architects-pattern span:nth-child(5) { left: 57%; top: 58%; }
.architects-pattern span:nth-child(6) { left: 78%; top: 38%; }

.architects .outline-button-light,
.showroom .outline-button-light {
  color: var(--ink);
}

.architects .outline-button-light > .button-arrow,
.showroom .outline-button-light > .button-arrow {
  background: rgba(23, 22, 21, 0.035);
  border-left-color: rgba(23, 22, 21, 0.28);
}

.architects .outline-button-light:hover,
.showroom .outline-button-light:hover {
  color: var(--white);
}

.trust {
  padding-top: clamp(46px, 5vw, 72px);
  padding-bottom: clamp(46px, 5vw, 72px);
  background: var(--white);
}

.trust > h2 {
  max-width: 720px;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.trust-grid {
  margin-top: clamp(24px, 3vw, 42px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid article {
  min-height: 168px;
  padding: 20px clamp(22px, 3vw, 52px) 24px;
  border-left: 1px solid var(--line);
}

.trust-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-grid h3 {
  margin: 14px 0 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(27px, 2.35vw, 38px);
  font-weight: 450;
}

.trust-grid p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.contact {
  padding: clamp(68px, 6vw, 104px) var(--page-pad);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.contact-side {
  max-width: 480px;
  justify-self: end;
}

.contact-side > p {
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.55;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer .footer-brand img {
  filter: grayscale(1) invert(1) brightness(2.2);
  mix-blend-mode: screen;
}

.footer-main {
  padding: clamp(52px, 5vw, 78px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(150px, 0.68fr)) minmax(230px, 0.9fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: start;
}

.footer-intro {
  max-width: 390px;
}

.footer-brand {
  width: min(220px, 100%);
  display: block;
}

.footer-intro > p {
  max-width: 360px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.footer-intro .button {
  width: max-content;
}

.footer-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-heading {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-contacts address {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.footer-bottom {
  min-height: 54px;
  padding: 16px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-dialog {
  width: min(640px, calc(100% - 32px));
  padding: clamp(34px, 5vw, 72px);
  color: var(--ink);
  background: var(--paper);
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.contact-dialog::backdrop {
  background: rgba(20, 18, 16, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 24px;
}

.contact-dialog h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.contact-dialog > p {
  max-width: 470px;
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.contact-options {
  display: grid;
  gap: 10px;
}

.contact-options a {
  min-height: 62px;
  padding: 0 0 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 52px;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 2px solid var(--ink);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-options a:hover,
.contact-options a:focus-visible {
  color: var(--white);
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.contact-options a span {
  font-size: 17px;
  font-weight: 700;
}

.contact-options a small {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-options a:hover small,
.contact-options a:focus-visible small {
  color: rgba(255, 255, 255, 0.74);
}

.contact-options a b {
  height: 100%;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(23, 22, 21, 0.28);
  font-weight: 400;
  transition: padding 180ms ease, border-color 180ms ease;
}

.contact-options a:hover b,
.contact-options a:focus-visible b {
  padding: 0 0 4px 4px;
  border-left-color: rgba(255, 255, 255, 0.4);
}

.dialog-phone {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.dialog-phones {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1220px) {
  .nav-shell {
    grid-template-columns: 145px auto 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav .nav-collapsible {
    display: none;
  }

  .header-action {
    max-width: none;
  }

  .collection-card {
    min-width: calc((100% - var(--collection-gap) * 2) / 3);
  }

  .craft-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
  }

  .craft-facts article {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 76px;
    --topline-height: 0px;
  }

  .topline {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    width: 150px;
  }

  .catalog-button {
    min-height: 44px;
  }

  .header-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px var(--page-pad) 28px;
    display: grid;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .main-nav a,
  .main-nav a.nav-collapsible {
    padding: 15px 0;
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .main-nav-item,
  .main-nav > .menu-item {
    display: block;
  }

  .main-nav-dropdown,
  .main-nav .sub-menu,
  .nav-dropdown-mark {
    display: none;
  }

  .menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-open .menu-toggle > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .menu-toggle > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-content {
    width: 82vw;
  }

  .hero-content.hero-content--plaque {
    left: 0;
    width: min(640px, 74vw);
  }

  .collection-card {
    min-width: calc((100% - var(--collection-gap)) / 2);
  }

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

  .bespoke-media {
    min-height: 72svh;
  }

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

  .craft-image {
    min-height: min(62svh, 520px);
    max-height: 520px;
  }

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

  .craft-facts article {
    min-height: 176px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border-left: 1px solid var(--line-light);
  }

  .craft-facts article:first-child {
    border-left: 0;
  }

  .craft-facts article:last-child {
    border-bottom: 0;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(500px, 70vw) minmax(380px, 55vw);
  }

  .project-card-wide {
    grid-column: 1 / 3;
    grid-row: auto;
  }

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

  .architects-pattern {
    min-height: 430px;
  }

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

  .trust-grid article,
  .trust-grid article:first-child {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-grid article:first-child {
    border-top: 0;
  }

  .trust-grid h3 {
    margin-top: 0;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-side {
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(150px, 0.8fr));
    gap: 44px;
  }

  .footer-contacts {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 18px;
    --section-space: 86px;
  }

  .nav-shell {
    gap: 10px;
  }

  .brand {
    width: 126px;
  }

  .catalog-button {
    min-height: 42px;
    padding: 0 13px;
    gap: 8px;
    font-size: 9px;
  }

  .catalog-icon {
    width: 15px;
  }

  .hero,
  .hero-slider,
  .hero-slide {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    top: 43%;
    width: calc(100% - 36px);
    transform: translateY(-50%);
  }

  .hero-content.hero-content--plaque {
    top: 46%;
    width: calc(100% - 18px);
    padding: 22px 20px;
  }

  .hero-content h1,
  .hero-content h2,
  .hero-content-compact h2 {
    font-size: clamp(42px, 13.5vw, 62px);
  }

  .hero-content--plaque h1,
  .hero-content--plaque h2,
  .hero-content--plaque.hero-content-compact h2 {
    font-size: clamp(35px, 10.5vw, 48px);
  }

  .hero-content h1 em,
  .hero-content h2 em {
    font-size: 0.6em;
  }

  .hero-content > p {
    max-width: 90%;
    font-size: 17px;
  }

  .hero-content .button {
    width: 100%;
  }

  .hero-actions {
    width: min(100%, 340px);
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-video-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .hero-video-dialog video {
    max-height: calc(100svh - 20px);
  }

  .hero-video-dialog-close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .hero-controls {
    left: var(--page-pad);
    right: auto;
    bottom: 22px;
  }

  .hero-dots {
    top: 18px;
    right: var(--page-pad);
  }

  .hero-dots button {
    width: 25px;
  }

  .intro {
    min-height: 580px;
  }

  .intro h2,
  .section-heading h2,
  .bespoke h2,
  .craft h2,
  .architects h2,
  .trust h2,
  .contact h2 {
    font-size: clamp(37px, 11vw, 51px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }

  .collection-controls {
    align-self: flex-end;
  }

  .collection-card {
    min-width: 82%;
  }

  .collection-card p {
    min-height: 58px;
  }

  .bespoke-media {
    min-height: 600px;
    min-width: 0;
  }

  .bespoke-copy {
    min-width: 0;
    padding: 84px var(--page-pad);
  }

  .bespoke .text-button {
    width: 100%;
    white-space: normal;
  }

  .feature-list li {
    gap: 18px;
    line-height: 1.5;
  }

  .section-heading-light > p {
    font-size: 17px;
  }

  .craft-image {
    min-height: min(112vw, 460px);
    max-height: 460px;
  }

  .craft-facts {
    grid-template-columns: 1fr;
  }

  .craft-facts article,
  .craft-facts article:first-child {
    min-height: 132px;
    padding: 20px 0;
    flex-direction: row;
    align-items: center;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .craft-facts article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .craft-facts strong {
    min-width: 94px;
    font-size: 58px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(470px, 120vw));
  }

  .project-card-wide {
    grid-column: auto;
  }

  .architects {
    min-height: 0;
  }

  .architects-pattern {
    min-height: 330px;
  }

  .trust-grid h3 {
    margin-top: 0;
  }

  .trust > h2 {
    max-width: 330px;
    font-size: 23px;
    line-height: 1.2;
  }

  .contact {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .contact .button {
    width: 100%;
  }

  .footer-main {
    padding-top: 48px;
    padding-bottom: 48px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    width: 160px;
  }

  .footer-intro .button {
    width: 100%;
  }

  .footer-contacts {
    grid-column: auto;
  }

  .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-dialog {
    padding: 58px 24px 34px;
  }

  .contact-options a {
    grid-template-columns: 1fr auto;
  }

  .contact-options small {
    display: none;
  }
}

/* Compact archive introductions keep the first service/project cards above the fold. */
.services-intro.archive-compact-intro,
.projects-intro.archive-compact-intro {
  padding: clamp(24px, 2.4vw, 38px) var(--page-pad);
  display: block;
}

.archive-compact-intro .services-intro-copy,
.archive-compact-intro .projects-intro-copy {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.archive-compact-intro .services-intro-copy > p,
.archive-compact-intro .projects-intro-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.35vw, 21px);
}

.archive-compact-intro + .services-directory,
.archive-compact-intro + .projects-directory {
  padding-top: 18px;
}

@media (max-width: 640px) {
  .archive-compact-intro .services-intro-copy,
  .archive-compact-intro .projects-intro-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .archive-compact-intro .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide > img,
  .hero-background-video,
  .reveal-on-scroll {
    transform: none !important;
  }
}

/* Страница «О компании» */
.main-nav .is-current {
  color: var(--brand-brown);
}

.main-nav .is-current::after {
  right: 0;
}

.about-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - var(--topline-height));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.about-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.about-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 14, 0.9) 0%, rgba(20, 17, 14, 0.62) 46%, rgba(20, 17, 14, 0.12) 78%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 72vw);
  padding: clamp(72px, 10vh, 120px) var(--page-pad) 150px;
}

.about-hero-content h1 {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.about-hero-content > p {
  max-width: 650px;
  margin: 0 0 34px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.45;
}

.about-hero-dates {
  position: absolute;
  z-index: 1;
  right: var(--page-pad);
  bottom: 34px;
  left: var(--page-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-hero-dates span {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.about-hero-dates b {
  color: var(--brand-blue);
  font-size: 14px;
}

.about-lead {
  scroll-margin-top: calc(var(--header-height) + var(--topline-height) + 16px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.about-lead h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 4.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.about-lead > p:last-child {
  max-width: 620px;
  margin: 0;
  padding-top: 0.25em;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.5;
}

.about-lead-copy-only {
  display: block;
}

.about-lead-copy-only > p:last-child {
  max-width: 780px;
  padding-top: 0;
}

.company-history {
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(56px, 6vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.5fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  background: var(--white);
}

.company-history-copy {
  max-width: 840px;
}

.company-history h2,
.company-timeline h2,
.company-atelier h2,
.company-scope h2,
.company-principles h2 {
  margin: 0;
  font-size: clamp(38px, 3.7vw, 60px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.company-history-copy > p {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.55;
}

.company-director {
  width: min(100%, 380px);
  margin: 0;
  justify-self: end;
}

.company-director img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.company-director figcaption {
  padding: 18px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.company-director strong {
  font-size: 13px;
}

.company-director span {
  color: var(--ink-soft);
  text-align: right;
}

.company-timeline {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-timeline-heading {
  margin-bottom: clamp(42px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-end;
}

.company-timeline h2 {
  max-width: 900px;
}

.company-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-timeline-grid article {
  min-height: 300px;
  padding: 32px clamp(24px, 3vw, 48px) 34px;
  border-left: 1px solid var(--line);
}

.company-timeline-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.company-timeline-grid time {
  color: var(--brand-brown);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-timeline-grid h3 {
  margin: 64px 0 14px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
}

.company-timeline-grid p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.company-events {
  min-height: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-carousel-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(135deg, var(--brand-brown), var(--ink));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.event-carousel-card p:empty {
  visibility: hidden;
}

.company-atelier {
  min-height: calc(100svh - var(--header-height) - var(--topline-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.company-atelier-media {
  min-height: 760px;
  overflow: hidden;
}

.company-atelier-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 600ms var(--ease);
}

.company-atelier-media:hover img {
  transform: scale(1.025);
}

.company-atelier-copy {
  padding: clamp(70px, 8vw, 126px) var(--page-pad);
  align-self: center;
}

.company-atelier-copy > p {
  max-width: 660px;
  margin: 0 0 32px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.38;
}

.company-atelier .feature-list {
  max-width: 700px;
  margin-bottom: 26px;
}

.company-scope {
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: clamp(52px, 6vw, 88px);
  background: var(--paper-deep);
}

.company-scope-heading {
  max-width: 980px;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.company-scope-heading > p:last-child {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: 1.35;
}

.company-projects {
  height: min(54vw, 660px);
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 16px;
}

.company-projects figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.company-projects img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.company-projects figure:hover img {
  transform: scale(1.025);
}

.company-projects figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}

.company-principles {
  padding-top: clamp(46px, 5vw, 72px);
  padding-bottom: clamp(46px, 5vw, 72px);
  background: var(--white);
}

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

.company-principles-heading h2 {
  max-width: 760px;
  font-size: clamp(34px, 3.3vw, 52px);
}

.company-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-detail .service-detail-media {
	height: auto;
	display: block;
	aspect-ratio: 1280 / 809;
}

.partners-detail .service-detail-media img {
	display: block;
	object-position: center;
}

.partners-trust {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.service-detail-gallery-heading-copy-only {
  display: block;
}

.service-detail-gallery-heading-copy-only > p:last-child {
  max-width: 760px;
}

.company-principles-grid article {
  min-height: 160px;
  padding: 24px clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--line);
}

.company-principles-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.company-principles-grid h3 {
  margin: 0 0 20px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
}

.company-principles-grid p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .about-hero-content {
    width: 88vw;
  }

  .about-lead {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-lead > p:last-child {
    grid-column: auto;
    padding-top: 0;
  }

  .company-history {
    gap: 48px;
  }

  .company-timeline-heading,
  .company-scope-heading {
    display: block;
  }

  .company-scope-heading > p:last-child {
    max-width: 680px;
    margin-top: 0;
  }

  .company-atelier {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .company-projects {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(420px, 58vw) minmax(360px, 50vw);
  }

  .company-projects-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .about-hero {
    min-height: calc(100svh - var(--header-height));
  }

  .about-hero-shade {
    background: linear-gradient(180deg, rgba(20, 17, 14, 0.42) 0%, rgba(20, 17, 14, 0.9) 78%);
  }

  .about-hero-content {
    width: auto;
    padding: 110px var(--page-pad) 196px;
  }

  .about-hero-content h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .about-hero-dates {
    grid-template-columns: 1fr;
    gap: 9px;
    bottom: 24px;
    padding-top: 14px;
  }

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

  .about-lead > p:last-child {
    grid-column: auto;
  }

  .company-history {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .company-director {
    max-width: 340px;
    justify-self: start;
  }

  .company-director figcaption {
    flex-direction: column;
    gap: 6px;
  }

  .company-director span {
    text-align: left;
  }

  .company-timeline-grid,
  .company-principles-grid {
    grid-template-columns: 1fr;
  }

  .company-timeline-grid article,
  .company-timeline-grid article:first-child,
  .company-principles-grid article,
  .company-principles-grid article:first-child {
    min-height: 0;
    padding: 28px 0 30px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .company-timeline-grid article:first-child,
  .company-principles-grid article:first-child {
    border-top: 0;
  }

  .company-timeline-grid h3,
  .company-principles-grid h3 {
    margin: 0 0 12px;
  }

  .company-atelier {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .company-atelier-media {
    min-height: 590px;
  }

  .company-atelier-copy {
    padding: 74px var(--page-pad);
  }

  .company-projects {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(390px, 110vw));
  }

  .company-projects-wide {
    grid-column: auto;
  }

  .company-principles-heading {
    margin-bottom: 20px;
  }

  .company-principles-grid article,
  .company-principles-grid article:first-child {
    border-color: var(--line);
  }
}

/* Страница «Контакты» */
.contact-hero {
  min-height: max(620px, calc(100svh - var(--header-height) - var(--topline-height)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  background: var(--white);
}

.contact-hero-copy {
  padding: clamp(62px, 7vw, 112px) var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.contact-hero-copy > p {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.52;
}

.contact-hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-hero-media {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.contact-hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease);
}

.contact-hero-media:hover > img {
  transform: scale(1.018);
}

.contact-hero-card {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px clamp(22px, 3vw, 42px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  color: var(--ink);
  background: rgba(245, 243, 239, 0.95);
  backdrop-filter: blur(10px);
}

.contact-hero-card span {
  display: grid;
  gap: 8px;
}

.contact-hero-card small,
.showroom-information small {
  color: var(--brand-brown);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-hero-card strong {
  font-size: 13px;
  line-height: 1.45;
}

.contact-details {
  padding-top: clamp(52px, 4.5vw, 72px);
  padding-bottom: clamp(52px, 4.5vw, 72px);
  background: var(--paper);
}

.contact-details-heading {
  margin-bottom: clamp(32px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.55fr);
  column-gap: clamp(40px, 5vw, 70px);
  row-gap: 20px;
  align-items: end;
}

.contact-details h2,
.showroom h2,
.contact-socials h2 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.contact-details-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.52;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-detail-grid article {
  min-height: 284px;
  padding: 28px clamp(24px, 3vw, 42px) 30px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.contact-detail-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.contact-detail-grid article:last-child {
  padding-right: 0;
}

.contact-detail-label {
  margin: 0 0 26px;
  color: var(--brand-brown);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-detail-grid h3 {
  margin: 0 0 14px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.12;
}

.contact-detail-grid h3 a {
  transition: color 180ms ease;
}

.contact-detail-grid h3 a:hover {
  color: var(--brand-brown);
}

.contact-phone-list {
  display: grid;
  gap: 7px;
}

.contact-detail-grid article > p:not(.contact-detail-label) {
  max-width: 360px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.contact-detail-action {
  width: min(100%, 260px);
  margin-top: auto;
}

.showroom {
  padding: clamp(70px, 7vw, 116px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showroom-information {
  padding-top: 6px;
  display: grid;
  gap: 30px;
}

.showroom-information > div {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.showroom-information small {
  color: var(--brand-brown);
}

.showroom-information p {
  margin: 13px 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.42;
}

.showroom-map-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.58fr);
  gap: 12px;
}

.showroom-information .showroom-map-actions .outline-button {
  width: 100%;
  margin-top: 4px;
}

.contact-socials {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: end;
  background: var(--paper-deep);
}

.social-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.social-link-grid a {
  min-height: 86px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.social-link-grid a:nth-child(even) {
  border-right: 0;
}

.social-link-grid a:hover {
  color: var(--white);
  background: var(--brand-brown);
}

.social-link-grid b {
  font-size: 16px;
  font-weight: 400;
}

@media (max-width: 960px) {
  .contact-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .contact-hero-copy {
    min-height: 620px;
  }

  .contact-hero-media {
    min-height: max(480px, 64vw);
  }

  .contact-details-heading,
  .contact-socials {
    grid-template-columns: 1fr;
  }

  .contact-details-heading {
    row-gap: 22px;
  }

  .contact-details-heading > p:last-child {
    max-width: 680px;
  }

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

  .contact-detail-grid article:last-child {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .showroom {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .showroom-information {
    max-width: 680px;
  }

  .social-link-grid {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .contact-hero-copy {
    min-height: 560px;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact-hero-copy h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .contact-hero-copy > p {
    margin-top: 26px;
  }

  .contact-hero-actions {
    display: grid;
  }

  .contact-hero-actions .button,
  .contact-hero-actions .outline-button {
    width: 100%;
  }

  .contact-hero-media {
    min-height: 540px;
  }

  .contact-hero-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .contact-detail-grid article,
  .contact-detail-grid article:first-child,
  .contact-detail-grid article:last-child {
    min-height: 0;
    padding: 28px 0 30px;
    grid-column: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-detail-grid article:first-child {
    border-top: 0;
  }

  .contact-detail-label {
    margin-bottom: 22px;
  }

  .contact-detail-action {
    width: 100%;
    margin-top: 12px;
  }

  .showroom {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .showroom-information .outline-button {
    width: 100%;
  }

  .showroom-map-actions {
    grid-template-columns: 1fr;
  }

  .contact-socials {
    gap: 44px;
  }

  .social-link-grid a {
    min-height: 74px;
    padding: 0 14px;
    font-size: 10px;
  }
}

/* Страница каталога */
.catalog-nav {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.catalog-dropdown {
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  width: min(500px, calc(100vw - var(--page-pad) * 2));
  max-height: calc(100vh - var(--topline-height) - var(--header-height));
  overflow-y: auto;
  padding: 8px 24px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(25, 22, 19, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.catalog-nav:hover .catalog-dropdown,
.catalog-nav:focus-within .catalog-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.catalog-dropdown a {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding 180ms ease;
}

.catalog-dropdown a:last-child {
  border-bottom: 0;
}

.catalog-dropdown a:hover,
.catalog-dropdown a:focus-visible {
  padding-left: 8px;
  color: var(--brand-brown);
}

.catalog-dropdown span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.catalog-dropdown small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-button.is-current {
  background: var(--brand-brown);
}

.catalog-hero {
  padding: clamp(38px, 4vw, 60px) var(--page-pad) clamp(34px, 3.5vw, 52px);
  background: var(--paper);
}

.catalog-hero-heading {
  margin-bottom: clamp(24px, 2.6vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.55fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: end;
}

.catalog-hero-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 4.3vw, 68px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.catalog-hero-heading > p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.52;
}

.catalog-index {
  border-top: 1px solid var(--line);
}

.catalog-index a {
  min-height: clamp(96px, 8.5vw, 126px);
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(250px, 0.65fr) auto 24px;
  gap: clamp(22px, 3vw, 50px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.catalog-index a:hover {
  padding-right: 14px;
  padding-left: 14px;
  color: var(--brand-brown);
  background: rgba(255, 255, 255, 0.55);
}

.catalog-index a span {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.catalog-index a em {
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(15px, 1.18vw, 19px);
  font-style: normal;
  line-height: 1.4;
}

.catalog-index a small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-index a b {
  font-size: 22px;
  font-weight: 400;
}

.catalog-hero-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.catalog-hero-foot > p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.catalog-category {
  padding: clamp(52px, 4.5vw, 76px) var(--page-pad);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height));
}

.catalog-category-light {
  background: var(--white);
}

.catalog-category-warm {
  background: var(--paper-deep);
}

.catalog-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.6fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: end;
}

.catalog-category-heading h2,
.catalog-consultation h2 {
  margin: 0;
  font-size: clamp(38px, 3.9vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.catalog-category-summary > p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.52;
}

.catalog-category-summary > strong {
  display: block;
  color: var(--brand-brown);
  font-size: clamp(27px, 2.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.catalog-category-summary > strong small {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-facts {
  margin: clamp(28px, 3vw, 42px) 0 clamp(26px, 2.8vw, 38px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-facts span {
  min-height: 58px;
  padding: 0 clamp(20px, 2.5vw, 38px);
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.catalog-facts span:first-child {
  padding-left: 0;
  border-left: 0;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.catalog-product {
  min-width: 0;
}

.catalog-product-image {
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: var(--paper);
}

.catalog-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.catalog-product:hover .catalog-product-image img {
  transform: scale(1.025);
}

.catalog-product-copy {
  padding-top: 14px;
}

.catalog-product-copy > p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.catalog-product-copy h3 {
  min-height: 1.95em;
  margin: 0 0 14px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.1;
}

.catalog-product-copy .outline-button {
  min-height: 54px;
  width: 100%;
  padding-right: 0;
  padding-left: 18px;
}

.catalog-consultation {
  padding: clamp(58px, 5vw, 82px) var(--page-pad);
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-consultation > div:last-child {
  max-width: 570px;
}

.catalog-consultation > div:last-child p {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.52;
}

@media (max-width: 960px) {
  .catalog-dropdown {
    display: none;
  }

  .catalog-hero {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .catalog-hero-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .catalog-hero-heading > p {
    max-width: 680px;
  }

  .catalog-index a {
    grid-template-columns: minmax(0, 1fr) auto 22px;
  }

  .catalog-index a em {
    grid-column: 1;
    grid-row: 2;
    margin-top: -20px;
  }

  .catalog-index a small {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .catalog-index a b {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .catalog-category-heading,
  .catalog-consultation {
    grid-template-columns: 1fr;
  }

  .catalog-category-summary {
    max-width: 720px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 18px;
  }

  .catalog-product-copy h3 {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .catalog-hero {
    padding-top: 42px;
    padding-bottom: 40px;
  }

  .catalog-hero-heading {
    margin-bottom: 28px;
  }

  .catalog-hero-heading h1 {
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .catalog-index a {
    min-height: 104px;
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 12px 16px;
  }

  .catalog-index a span {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(28px, 9vw, 38px);
  }

  .catalog-index a em {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    font-size: 14px;
  }

  .catalog-index a small {
    grid-column: 1;
    grid-row: 3;
  }

  .catalog-index a b {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .catalog-hero-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-hero-foot .outline-button {
    width: 100%;
  }

  .catalog-facts {
    grid-template-columns: 1fr;
  }

  .catalog-facts span,
  .catalog-facts span:first-child {
    min-height: 60px;
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .catalog-facts span:first-child {
    border-top: 0;
  }

  .catalog-product-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .catalog-product-image {
    aspect-ratio: 4 / 4.7;
  }

  .catalog-product-copy h3 {
    font-size: 27px;
  }

  .catalog-consultation {
    gap: 44px;
  }

  .catalog-consultation .button {
    width: 100%;
  }
}

/* Компактный обзор каталога */
.catalog-overview {
  padding: clamp(18px, 2vw, 32px) var(--page-pad) clamp(34px, 3.5vw, 58px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
  background: var(--paper);
}

.catalog-overview-section {
  height: clamp(550px, calc(100svh - var(--header-height) - var(--topline-height) - 64px), 700px);
  min-height: 550px;
  display: grid;
  grid-template-rows: 210px minmax(0, 1fr);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.catalog-overview-section[data-catalog-card-url] {
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.catalog-overview-section[data-catalog-card-url]:hover {
  border-color: rgba(123, 55, 44, 0.48);
  box-shadow: 0 16px 38px rgba(23, 22, 21, 0.08);
}

.catalog-overview-section[data-catalog-card-url]:focus-visible {
  outline: 2px solid var(--brand-brown);
  outline-offset: 3px;
}

.catalog-overview-section[data-catalog-card-url] a,
.catalog-overview-section[data-catalog-card-url] button {
  cursor: pointer;
}

.catalog-overview-copy {
  min-width: 0;
  padding: clamp(24px, 2vw, 32px) clamp(24px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
}

.catalog-overview-copy h1,
.catalog-overview-copy h2 {
  margin: 0;
  font-size: clamp(44px, 3.7vw, 58px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.catalog-overview-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.catalog-overview-bottom > strong {
  flex: 0 0 auto;
  color: var(--brand-brown);
  font-size: clamp(21px, 1.9vw, 31px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.catalog-overview-bottom > strong small {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-overview-actions {
  display: flex;
  gap: 8px;
}

.catalog-overview-actions .button,
.catalog-overview-actions .outline-button {
  min-height: 52px;
  padding: 0 0 0 16px;
}

.catalog-overview-slider {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--paper-deep);
  touch-action: pan-y;
}

.catalog-overview-placeholder {
  min-width: 0;
  min-height: 0;
  padding: clamp(24px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(123, 55, 44, 0.1) 48% 52%, transparent 52%),
    var(--paper-deep);
  border-top: 1px solid var(--line);
}

.catalog-overview-placeholder span,
.catalog-image-placeholder span {
  position: relative;
  z-index: 1;
  color: var(--brand-brown);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-overview-placeholder b {
  position: relative;
  z-index: 1;
  max-width: 520px;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.catalog-overview-track {
  height: 100%;
  display: flex;
  transition: transform 620ms var(--ease);
  will-change: transform;
}

.catalog-overview-track figure {
  position: relative;
  flex: 0 0 50%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--paper-deep);
}

.catalog-overview-track figure:first-child {
  border-left: 0;
}

.catalog-overview-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
  user-select: none;
}

.catalog-overview-track figure:hover img {
  transform: scale(1.025);
}

.catalog-overview-track figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(24, 21, 18, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.catalog-slider-controls {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.2);
}

.catalog-slider-controls button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 17px;
}

.catalog-slider-controls button:hover:not(:disabled) {
  color: var(--white);
  background: var(--brand-brown);
}

.catalog-slider-controls button:disabled {
  opacity: 0.32;
  cursor: default;
}

.catalog-slider-controls span {
  min-width: 72px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.catalog-slider-controls b,
.catalog-slider-controls i {
  font-style: normal;
  font-weight: 700;
}

.catalog-overview-section-warm,
.catalog-overview-section-warm .catalog-overview-copy {
  background: var(--white);
}

.catalog-overview-section-dark,
.catalog-overview-section-dark .catalog-overview-copy {
  color: var(--ink);
  background: var(--white);
}

.catalog-overview-section-dark .catalog-overview-bottom > strong {
  color: var(--brand-brown);
}

.catalog-overview-section-dark .outline-button-light {
  color: var(--ink);
}

.catalog-overview-section-dark .outline-button-light > .button-arrow {
  background: rgba(23, 22, 21, 0.035);
  border-left-color: rgba(23, 22, 21, 0.28);
}

.catalog-overview-section-dark .outline-button-light:hover {
  color: var(--white);
}

/* Подробные страницы разделов каталога */
.catalog-breadcrumb {
  min-height: 44px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-breadcrumb a {
  color: var(--brand-brown);
}

.catalog-detail-hero {
  min-height: 0;
  padding: clamp(26px, 3vw, 44px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(34px, 4vw, 68px);
  row-gap: clamp(20px, 2vw, 30px);
  align-items: start;
  background: var(--paper);
}

.catalog-detail-hero > div:first-child {
  grid-column: 1;
  grid-row: 1;
}

.catalog-detail-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.catalog-detail-tagline {
  max-width: 560px;
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  color: var(--brand-brown);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.18;
}

.catalog-detail-summary {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.catalog-detail-summary > p {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.46;
}

.catalog-detail-summary > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-brown);
  font-size: clamp(26px, 2.35vw, 38px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.catalog-detail-summary > strong small {
  font-size: 0.35em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-detail-actions {
  display: flex;
  gap: 10px;
}

.catalog-detail-preview {
  position: relative;
  height: clamp(380px, 32vw, 520px);
  min-width: 0;
  min-height: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.catalog-detail-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
}

.catalog-detail-preview img + img {
  border-left: 1px solid rgba(255, 255, 255, 0.42);
}

.catalog-detail-preview > img:only-of-type {
  grid-column: 1 / -1;
}

.catalog-detail-preview-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: rgba(24, 21, 18, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-detail-preview-caption small {
  font-size: 9px;
  opacity: 0.78;
}

.catalog-detail-preview.catalog-image-placeholder {
  padding: clamp(24px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-image-placeholder {
  position: relative;
  color: var(--ink);
  background:
    linear-gradient(135deg, transparent 0 48.5%, rgba(123, 55, 44, 0.11) 48.5% 51.5%, transparent 51.5%),
    var(--paper-deep);
}

.catalog-image-placeholder::after {
  content: "";
  position: absolute;
  inset: clamp(16px, 2vw, 28px);
  border: 1px solid rgba(123, 55, 44, 0.18);
  pointer-events: none;
}

.catalog-detail-preview.catalog-image-placeholder b {
  position: relative;
  z-index: 1;
  max-width: 650px;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.catalog-detail-facts {
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-detail-facts span {
  min-height: 58px;
  padding: 0 clamp(22px, 3vw, 48px);
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.catalog-detail-facts span:first-child {
  padding-left: 0;
  border-left: 0;
}

.catalog-detail-story {
  padding: clamp(52px, 5vw, 82px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  background: var(--white);
}

.catalog-detail-story h2,
.catalog-detail-gallery-section h2,
.catalog-detail-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.catalog-detail-text {
  max-width: 780px;
}

.catalog-detail-text > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.52;
}

.catalog-detail-text .catalog-detail-text-link {
  margin-top: 34px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.catalog-detail-text-link a {
  padding-bottom: 8px;
  color: var(--brand-brown);
  border-bottom: 1px solid currentColor;
}

.catalog-quality {
  padding: clamp(52px, 5vw, 82px) var(--page-pad);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-quality-heading {
  margin-bottom: clamp(34px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
}

.catalog-quality-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.catalog-quality-heading > p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

.catalog-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-quality-grid article {
  min-height: 220px;
  padding: 34px clamp(30px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px solid var(--line);
}

.catalog-quality-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.catalog-quality-grid h3 {
  margin: 0 0 18px;
  color: var(--brand-brown);
  font-size: clamp(29px, 2.9vw, 44px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.catalog-quality-grid p {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.5;
}

.catalog-subsections {
  padding: clamp(52px, 5vw, 82px) var(--page-pad);
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height));
}

.catalog-subsections > header {
  margin-bottom: clamp(34px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.catalog-subsections h2 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.catalog-subsections-intro {
  max-width: 780px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.52;
}

.catalog-subsections-intro > *:first-child {
  margin-top: 0;
}

.catalog-subsections-intro > *:last-child {
  margin-bottom: 0;
}

.catalog-subsections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.catalog-subsection-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.catalog-subsection-card:hover,
.catalog-subsection-card:focus-visible {
  color: var(--brand-brown);
  border-color: rgba(123, 55, 44, 0.48);
  transform: translateY(-4px);
}

.catalog-subsection-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.catalog-subsection-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.catalog-subsection-card:hover .catalog-subsection-media img {
  transform: scale(1.025);
}

.catalog-detail-chemistry .catalog-subsection-media img,
.catalog-detail-chemistry .catalog-detail-preview img,
.catalog-detail-chemistry .catalog-detail-gallery img {
  padding: clamp(18px, 2.5vw, 38px);
  object-fit: contain;
  background: var(--white);
}

.catalog-subsection-media.catalog-image-placeholder {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-subsection-media.catalog-image-placeholder b {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  color: rgba(123, 55, 44, 0.38);
  font-size: clamp(42px, 4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.catalog-subsection-copy {
  min-height: 230px;
  padding: clamp(22px, 2vw, 30px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 20px;
}

.catalog-subsection-copy > span {
  grid-column: 1;
  color: var(--brand-brown);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.catalog-subsection-copy h3 {
  grid-column: 1;
  margin: 18px 0 14px;
  font-size: clamp(27px, 2.2vw, 36px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.catalog-subsection-copy p {
  grid-column: 1;
  align-self: end;
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.catalog-subsection-copy i {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: end;
  color: var(--brand-brown);
  font-size: 24px;
  font-style: normal;
}

.catalog-detail-gallery-section {
  padding: clamp(52px, 5vw, 82px) var(--page-pad);
  background: var(--paper-deep);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height));
}

.catalog-detail-gallery-section > header {
  margin-bottom: clamp(34px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.45fr);
  gap: 60px;
  align-items: end;
}

.catalog-detail-gallery-section > header > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.catalog-detail-gallery-section > header strong {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-brown);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-detail-gallery {
  columns: 4;
  column-gap: clamp(14px, 1.6vw, 24px);
}

.catalog-detail-gallery figure {
  width: 100%;
  min-width: 0;
  margin: 0 0 clamp(14px, 1.6vw, 24px);
  break-inside: avoid;
  overflow: hidden;
  background: var(--white);
}

.catalog-detail-gallery img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--paper);
}

.catalog-detail-gallery .woodex-lightbox-button {
  height: auto;
}

.woodex-lightbox-button {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.woodex-lightbox-button img {
  transition: transform 420ms var(--ease);
}

.woodex-lightbox-button:hover img {
  transform: scale(1.025);
}

.woodex-lightbox-button:focus-visible {
  outline: 2px solid var(--brand-brown);
  outline-offset: -2px;
}

html.catalog-lightbox-open {
  overflow: hidden;
}

.catalog-lightbox {
  width: min(1180px, calc(100vw - 64px));
  max-width: none;
  max-height: calc(100vh - 64px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.catalog-lightbox::backdrop {
  background: rgba(18, 16, 14, 0.84);
  backdrop-filter: blur(4px);
}

.catalog-lightbox-panel {
  position: relative;
  padding: clamp(12px, 1.5vw, 20px);
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.catalog-lightbox-figure {
  margin: 0;
  display: grid;
}

.catalog-lightbox-figure img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  display: block;
  object-fit: contain;
  background: #24211e;
}

.catalog-lightbox-figure figcaption {
  min-height: 48px;
  padding: 13px 2px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.catalog-lightbox-figure figcaption [data-catalog-lightbox-count] {
  flex: 0 0 auto;
  color: var(--ink);
}

.catalog-lightbox-close,
.catalog-lightbox-arrow {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  font-size: 22px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease;
}

.catalog-lightbox-close:hover,
.catalog-lightbox-arrow:hover {
  color: var(--white);
  background: var(--brand-brown);
}

.catalog-lightbox-close:focus-visible,
.catalog-lightbox-arrow:focus-visible {
  outline: 2px solid var(--brand-brown);
  outline-offset: 2px;
}

.catalog-lightbox-close {
  top: clamp(20px, 2.2vw, 34px);
  right: clamp(20px, 2.2vw, 34px);
}

.catalog-lightbox-arrow {
  top: calc(50% - 30px);
  transform: translateY(-50%);
}

.catalog-lightbox-arrow-prev {
  left: clamp(20px, 2.2vw, 34px);
}

.catalog-lightbox-arrow-next {
  right: clamp(20px, 2.2vw, 34px);
}

.catalog-detail-gallery figcaption {
  min-height: 58px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-gallery-more {
  margin: 38px auto 0;
}

.catalog-gallery-more[hidden] {
  display: none;
}

.catalog-detail-cta {
  padding: clamp(52px, 5vw, 82px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.catalog-detail-cta > div:last-child {
  max-width: 600px;
}

.catalog-detail-cta > div:last-child > p {
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.52;
}

@media (max-width: 1220px) {
  .catalog-overview-section {
    grid-template-rows: 235px minmax(0, 1fr);
  }

  .catalog-overview-copy h1,
  .catalog-overview-copy h2 {
    font-size: clamp(42px, 4.5vw, 54px);
  }

  .catalog-overview-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-detail-gallery {
    column-count: 3;
  }
}

@media (max-width: 960px) {
  .catalog-overview {
    grid-template-columns: 1fr;
  }

  .catalog-overview-section {
    height: auto;
    min-height: 0;
    grid-template-rows: auto minmax(390px, 58vw);
    overflow: visible;
  }

  .catalog-overview-copy {
    min-height: 230px;
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .catalog-overview-bottom {
    align-items: flex-end;
    flex-direction: row;
  }

  .catalog-overview-slider {
    height: auto;
  }

  .catalog-detail-hero,
  .catalog-detail-story,
  .catalog-quality-heading,
  .catalog-detail-gallery-section > header,
  .catalog-detail-cta {
    grid-template-columns: 1fr;
  }

  .catalog-detail-hero,
  .catalog-detail-story,
  .catalog-detail-cta {
    gap: 52px;
  }

  .catalog-detail-hero {
    min-height: 0;
    grid-template-rows: auto;
    row-gap: 28px;
  }

  .catalog-detail-hero > div:first-child,
  .catalog-detail-summary {
    grid-column: 1;
    grid-row: auto;
    max-width: 720px;
  }

  .catalog-detail-preview {
    height: min(72vw, 600px);
    min-height: 0;
    grid-column: 1;
    grid-row: auto;
  }

  .catalog-detail-gallery {
    column-count: 2;
  }

  .catalog-subsections > header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 640px) {
  .catalog-overview {
    padding-right: 12px;
    padding-left: 12px;
    gap: 14px;
  }

  .catalog-overview-section {
    grid-template-rows: auto auto;
    overflow: hidden;
  }

  .catalog-overview-copy {
    min-height: 260px;
    padding: 28px 16px 24px;
  }

  .catalog-overview-copy h1,
  .catalog-overview-copy h2 {
    font-size: clamp(42px, 13vw, 52px);
  }

  .catalog-overview-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .catalog-overview-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-overview-actions .button,
  .catalog-overview-actions .outline-button {
    width: 100%;
  }

  .catalog-overview-slider {
    height: 115vw;
    max-height: 560px;
  }

  .catalog-overview-placeholder {
    min-height: min(115vw, 560px);
  }

  .catalog-overview-track figure {
    flex-basis: 100%;
  }

  .catalog-slider-controls {
    top: 12px;
    right: 12px;
  }

  .catalog-slider-controls span {
    min-width: 60px;
  }

  .catalog-breadcrumb {
    min-height: 48px;
    overflow: hidden;
    white-space: nowrap;
  }

  .catalog-detail-hero {
    padding-top: 30px;
    padding-bottom: 30px;
    gap: 24px;
  }

  .catalog-detail-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .catalog-detail-tagline {
    font-size: 21px;
  }

  .catalog-detail-summary > strong {
    font-size: 28px;
  }

  .catalog-detail-preview {
    height: min(112vw, 520px);
    min-height: 0;
    max-height: 520px;
    grid-template-columns: 1fr;
  }

  .catalog-detail-preview img:nth-child(2) {
    display: none;
  }

  .catalog-detail-preview-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 0 14px;
  }

  .catalog-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-detail-actions .button,
  .catalog-detail-actions .outline-button {
    width: 100%;
  }

  .catalog-detail-facts {
    grid-template-columns: 1fr;
  }

  .catalog-detail-facts span,
  .catalog-detail-facts span:first-child {
    min-height: 62px;
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .catalog-detail-facts span:first-child {
    border-top: 0;
  }

  .catalog-detail-story h2,
  .catalog-quality-heading h2,
  .catalog-detail-gallery-section h2,
  .catalog-detail-cta h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .catalog-detail-gallery-section > header {
    gap: 30px;
  }

  .catalog-quality-grid {
    grid-template-columns: 1fr;
  }

  .catalog-quality-grid article,
  .catalog-quality-grid article:first-child {
    min-height: 0;
    padding: 34px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .catalog-quality-grid article:first-child {
    border-top: 0;
  }

  .catalog-detail-gallery {
    column-count: 1;
  }

  .catalog-lightbox {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .catalog-lightbox-panel {
    padding: 8px;
  }

  .catalog-lightbox-figure img {
    max-height: calc(100vh - 98px);
  }

  .catalog-lightbox-figure figcaption {
    min-height: 42px;
    padding: 11px 4px 0;
  }

  .catalog-lightbox-close,
  .catalog-lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .catalog-lightbox-close {
    top: 16px;
    right: 16px;
  }

  .catalog-lightbox-arrow-prev {
    left: 16px;
  }

  .catalog-lightbox-arrow-next {
    right: 16px;
  }

  .catalog-subsections-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-subsection-copy {
    min-height: 205px;
  }

  .catalog-gallery-more,
  .catalog-detail-cta .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .catalog-overview-bottom {
    margin-top: 20px;
  }

  .catalog-overview-actions {
    grid-template-columns: 1fr;
  }
}

/* Services overview and detail pages */

.services-intro {
  padding: clamp(56px, 6vw, 88px) var(--page-pad) clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.services-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 6.4vw, 96px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.services-intro-copy {
  max-width: 520px;
}

.services-intro-copy > p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.48;
}

.services-directory {
  padding: clamp(24px, 2.5vw, 40px) var(--page-pad) clamp(72px, 7vw, 112px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  background: var(--paper);
}

.service-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 220ms ease, transform 220ms var(--ease);
}

.service-card:hover {
  border-color: var(--brand-brown);
  transform: translateY(-3px);
}

.service-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

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

.service-card-copy {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card h2 {
  margin: 0;
  font-size: clamp(34px, 3.25vw, 50px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.service-card p {
  max-width: 590px;
  margin: 22px 0 28px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.service-card-link {
  min-height: 44px;
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  align-self: stretch;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-card-link i {
  color: var(--brand-brown);
  font-size: 19px;
  font-style: normal;
  transition: transform 200ms var(--ease);
}

.service-card:hover .service-card-link i {
  transform: translateX(5px);
}

.service-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-template-rows: auto;
}

.service-card-wide .service-card-media {
  min-height: 420px;
  aspect-ratio: 3 / 1.65;
}

.service-breadcrumb {
  min-height: 48px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-breadcrumb a {
  transition: color 180ms ease;
}

.service-breadcrumb a:hover {
  color: var(--brand-brown);
}

.service-detail-hero {
  padding: clamp(48px, 5vw, 74px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: start;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.service-detail-copy {
  min-width: 0;
}

.service-detail-copy h1 {
  margin: 0 0 26px;
  font-size: clamp(54px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.service-detail-lead {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.48;
}

.service-detail-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-detail-facts {
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-detail-facts li {
  min-height: 52px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-detail-media {
  min-width: 0;
  height: clamp(390px, 42vw, 590px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.55fr);
  gap: 10px;
}

.service-detail-media figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.service-detail-media figure:only-child {
  grid-column: 1 / -1;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-hero--showroom .service-detail-media {
  grid-template-columns: 1fr;
}

.service-detail-hero--showroom-video {
  position: relative;
  min-height: clamp(600px, 72svh, 790px);
  padding-top: clamp(54px, 6vw, 88px);
  padding-bottom: clamp(54px, 6vw, 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.showroom-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

.showroom-hero-background img,
.showroom-hero-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.showroom-hero-background video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.showroom-hero-background video::-webkit-media-controls,
.showroom-hero-background video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.showroom-hero-background video.is-playing {
  opacity: 1;
}

.showroom-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 14, 13, 0.32), rgba(15, 14, 13, 0.06) 68%);
}

.showroom-hero-plaque {
  position: relative;
  z-index: 2;
  width: min(600px, 47vw);
  margin-left: calc(var(--page-pad) * -1);
  padding: clamp(26px, 2.5vw, 36px);
  background: rgba(245, 243, 239, 0.93);
  box-shadow: 0 20px 58px rgba(15, 14, 13, 0.18);
  backdrop-filter: blur(10px);
}

.showroom-hero-plaque .service-detail-lead {
  color: var(--ink-soft);
}

.service-detail-hero--production {
  position: relative;
  min-height: clamp(600px, 72svh, 790px);
  padding-top: clamp(54px, 6vw, 88px);
  padding-bottom: clamp(54px, 6vw, 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.production-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

.production-hero-background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.production-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 14, 13, 0.42), rgba(15, 14, 13, 0.08) 68%);
}

.production-hero-plaque {
  position: relative;
  z-index: 2;
  width: min(600px, 47vw);
  margin-left: calc(var(--page-pad) * -1);
  padding: clamp(26px, 2.5vw, 36px);
  background: rgba(245, 243, 239, 0.93);
  box-shadow: 0 20px 58px rgba(15, 14, 13, 0.18);
  backdrop-filter: blur(10px);
}

.production-hero-plaque .service-detail-lead {
  color: var(--ink-soft);
}

.showroom-visit-facts {
  padding: clamp(48px, 5vw, 76px) var(--page-pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.showroom-visit-facts ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showroom-visit-facts li {
  min-height: 96px;
  padding: 28px clamp(20px, 2.6vw, 40px);
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.showroom-visit-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.production-facts {
  padding: clamp(48px, 5vw, 76px) var(--page-pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.production-facts ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.production-facts li {
  min-height: 96px;
  padding: 28px clamp(20px, 2.6vw, 40px);
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.production-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.showroom-story,
.production-story,
.showroom-choice,
.production-choice {
  padding: clamp(58px, 6vw, 96px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.showroom-story--text {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  background: var(--paper);
}

.production-story--text {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  background: var(--paper);
}

.showroom-story:not(:has(.showroom-story-media)),
.production-story:not(:has(.production-story-media)),
.showroom-choice:not(:has(.showroom-choice-media)),
.production-choice:not(:has(.production-choice-media)) {
  grid-template-columns: 1fr;
}

.showroom-story-copy h2,
.production-story-copy h2,
.showroom-choice-copy h3,
.production-choice-copy h3 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.showroom-story-media,
.production-story-media,
.showroom-choice-media,
.production-choice-media {
  min-width: 0;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-deep);
}

.showroom-story-media img,
.production-story-media img,
.showroom-choice-media img,
.production-choice-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.showroom-choice-list {
  background: var(--white);
}

.production-choice-list {
  background: var(--white);
}

.showroom-choice,
.production-choice {
  min-height: clamp(520px, 48vw, 720px);
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
}

.showroom-choice:nth-child(even) {
  background: var(--paper);
}

.production-choice:nth-child(even) {
  background: var(--paper);
}

.showroom-choice--reverse,
.production-choice--reverse {
  grid-template-columns: minmax(0, 1.26fr) minmax(300px, 0.74fr);
}

.showroom-choice--reverse .showroom-choice-media {
  order: -1;
}

.production-choice--reverse .production-choice-media {
  order: -1;
}

.showroom-choice-copy p,
.production-choice-copy p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.showroom-choice-media {
  aspect-ratio: 4 / 3;
}

.production-choice-media {
  aspect-ratio: 4 / 3;
}

.production-gallery-featured {
  padding: clamp(68px, 6vw, 100px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.production-gallery-copy {
  max-width: 680px;
}

.production-gallery-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.production-gallery-copy > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.production-gallery-featured:not(:has(.production-gallery-media)) {
  grid-template-columns: 1fr;
}

.production-gallery-media {
  min-width: 0;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-deep);
}

.production-gallery-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-detail-story {
  padding: clamp(68px, 6.5vw, 104px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
  background: var(--white);
}

.service-detail-story h2,
.service-detail-gallery-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.service-detail-text {
  max-width: 720px;
}

.service-detail-text p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.58;
}

.service-detail-text p:last-child {
  margin-bottom: 0;
}

.service-detail-points {
  padding: 0 var(--page-pad) clamp(68px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.service-detail-points article {
  min-width: 0;
  padding: clamp(28px, 3vw, 46px) clamp(24px, 3vw, 44px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-detail-points article:first-child {
  padding-left: 0;
  border-left: 0;
}

.service-detail-points article:last-child {
  padding-right: 0;
}

.service-detail-points h3 {
  margin: 0 0 16px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 560;
  line-height: 1.1;
}

.service-detail-points p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.service-detail-gallery-section {
  padding: clamp(68px, 6vw, 100px) var(--page-pad);
  background: var(--paper);
}

.design-examples {
  padding: clamp(68px, 6vw, 100px) var(--page-pad);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.design-examples-heading {
  margin-bottom: clamp(38px, 4vw, 60px);
}

.design-examples-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.design-examples-list {
  display: grid;
  gap: clamp(44px, 5vw, 76px);
}

.design-example {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 40px);
  padding-top: clamp(24px, 2.6vw, 40px);
  border-top: 1px solid var(--line);
}

.design-example figure {
  min-width: 0;
  margin: 0;
}

.design-example figcaption {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.design-example .woodex-lightbox-button {
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.design-example .woodex-lightbox-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-example > figure:first-child .woodex-lightbox-button img {
  object-position: center top;
  transform: scale(1.12);
  transform-origin: top center;
}

.design-example > figure:first-child .woodex-lightbox-button:hover img {
  transform: scale(1.145);
}

.service-detail-gallery-heading {
  margin-bottom: clamp(38px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 48px;
  align-items: end;
}

.service-detail-gallery-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.5;
}

.service-detail-gallery {
  columns: 3;
  column-gap: clamp(12px, 1.6vw, 24px);
}

.service-detail-gallery figure {
  width: 100%;
  min-width: 0;
  margin: 0 0 clamp(12px, 1.6vw, 24px);
  break-inside: avoid;
}

.service-detail-gallery img {
  width: 100%;
  height: auto;
}

.service-detail-gallery .woodex-lightbox-button {
  height: auto;
}

.service-detail-gallery-section--design .service-detail-gallery .woodex-lightbox-button img {
  transform: scale(1.12);
  transform-origin: top center;
}

.service-detail-gallery-section--design .service-detail-gallery .woodex-lightbox-button:hover img {
  transform: scale(1.145);
}

.service-detail-gallery figcaption {
  padding: 12px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .services-intro,
  .service-detail-hero,
  .service-detail-story,
  .service-detail-gallery-heading {
    grid-template-columns: 1fr;
  }

  .services-intro {
    gap: 34px;
  }

  .services-intro-copy {
    max-width: 680px;
  }

  .service-card-wide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .service-card-wide .service-card-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .service-detail-hero {
    gap: 42px;
  }

  .service-detail-copy {
    max-width: 720px;
  }

  .service-detail-media {
    height: min(70vw, 560px);
  }

  .service-detail-story {
    gap: 38px;
  }

  .service-detail-text {
    max-width: 760px;
  }

  .service-detail-points {
    grid-template-columns: 1fr;
  }

  .service-detail-points article,
  .service-detail-points article:first-child,
  .service-detail-points article:last-child {
    padding: 28px 0;
    border-left: 0;
  }

	.service-detail-gallery-heading {
		gap: 24px;
	}

	.design-example {
		gap: 18px;
	}

  .production-gallery-featured {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .production-gallery-copy {
    max-width: 760px;
  }

  .service-detail-gallery {
    column-count: 2;
  }

  .showroom-story,
  .showroom-story--text,
  .production-story,
  .production-story--text,
  .showroom-choice,
  .showroom-choice--reverse,
  .production-choice,
  .production-choice--reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .showroom-story--text .showroom-story-media,
  .production-story--text .production-story-media,
  .showroom-choice--reverse .showroom-choice-media,
  .production-choice--reverse .production-choice-media {
    order: 0;
  }

  .showroom-story--text .showroom-story-media,
  .production-story--text .production-story-media,
  .showroom-choice:nth-child(even) .showroom-choice-media,
  .production-choice:nth-child(even) .production-choice-media {
    order: -1;
  }

  .showroom-story-copy,
  .production-story-copy,
  .showroom-choice-copy,
  .production-choice-copy {
    max-width: 760px;
  }

  .service-detail-hero--showroom-video {
    min-height: 660px;
  }

  .showroom-hero-plaque {
    width: min(600px, 72vw);
  }

  .service-detail-hero--production {
    min-height: 660px;
  }

  .production-hero-plaque {
    width: min(600px, 72vw);
  }
}

@media (max-width: 640px) {
  .services-intro {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .services-intro h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .services-directory {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .service-card h2 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .service-card p {
    font-size: 16px;
  }

  .service-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
  }

  .service-detail-hero {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .service-detail-hero--showroom-video {
    min-height: calc(100svh - var(--header-height));
    padding: 30px 18px 88px;
    align-items: flex-end;
  }

  .service-detail-hero--production {
    min-height: calc(100svh - var(--header-height));
    padding: 30px 18px 88px;
    align-items: flex-end;
  }

  .showroom-hero-plaque {
    width: calc(100% + 18px);
    margin-left: -18px;
    padding: 24px 20px;
  }

  .showroom-hero-plaque .service-detail-lead {
    font-size: 17px;
  }

  .production-hero-plaque {
    width: calc(100% + 18px);
    margin-left: -18px;
    padding: 24px 20px;
  }

  .production-hero-plaque .service-detail-lead {
    font-size: 17px;
  }

  .service-detail-copy h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

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

  .service-detail-actions .button,
  .service-detail-actions .outline-button {
    width: 100%;
  }

  .service-detail-media {
    height: min(112vw, 500px);
    grid-template-columns: 1fr;
  }

  .service-detail-media figure:nth-child(2) {
    display: none;
  }

	.service-detail-story h2,
	.service-detail-gallery-heading h2,
	.production-gallery-copy h2,
	.design-examples-heading h2 {
		font-size: clamp(36px, 10.8vw, 48px);
	}

  .service-detail-points {
    padding-bottom: 52px;
  }

  .service-detail-gallery {
    column-count: 1;
  }

  .showroom-story,
  .production-story,
  .showroom-choice,
  .production-choice {
    padding-top: 46px;
    padding-bottom: 46px;
    gap: 26px;
  }

  .showroom-story-copy h2,
  .production-story-copy h2,
  .showroom-choice-copy h3,
  .production-choice-copy h3 {
    font-size: clamp(36px, 10.8vw, 48px);
  }

  .showroom-story-media,
  .production-story-media,
  .showroom-choice-media,
  .production-choice-media {
    aspect-ratio: 4 / 3;
  }

  .showroom-choice-copy p {
    margin-top: 18px;
    font-size: 17px;
  }

  .production-choice-copy p {
    margin-top: 18px;
    font-size: 17px;
  }

  .production-gallery-featured {
    padding-top: 46px;
    padding-bottom: 46px;
    gap: 26px;
  }

  .production-gallery-copy > p {
    margin-top: 18px;
    font-size: 17px;
  }

  .showroom-visit-facts {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .production-facts {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .showroom-visit-facts ul {
    grid-template-columns: 1fr;
  }

  .showroom-visit-facts li,
  .showroom-visit-facts li:first-child {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .showroom-visit-facts li:first-child {
    border-top: 0;
  }

  .production-facts ul {
    grid-template-columns: 1fr;
  }

  .production-facts li,
  .production-facts li:first-child {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .production-facts li:first-child {
    border-top: 0;
  }
}

/* Projects overview and detail pages */

.projects-intro {
  padding: clamp(54px, 5.5vw, 82px) var(--page-pad) clamp(44px, 4.6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.62fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.projects-intro h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(58px, 6.4vw, 96px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.projects-intro-copy {
  max-width: 540px;
}

.projects-intro-copy > p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.48;
}

.projects-directory {
  padding: clamp(24px, 2.5vw, 40px) var(--page-pad) clamp(72px, 7vw, 108px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  background: var(--paper);
}

.project-directory-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 220ms ease, transform 220ms var(--ease);
}

.project-directory-card:hover {
  border-color: var(--brand-brown);
  transform: translateY(-3px);
}

.project-directory-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-directory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

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

.project-directory-copy {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-directory-card h2 {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.project-directory-card p {
  max-width: 610px;
  margin: 22px 0 30px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.project-directory-link {
  min-height: 48px;
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  align-self: stretch;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-directory-link i {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-style: normal;
}

.project-directory-link em {
  color: var(--brand-brown);
  font-size: 18px;
  font-style: normal;
  transition: transform 200ms var(--ease);
}

.project-directory-card:hover .project-directory-link em {
  transform: translateX(5px);
}

/* Unified editorial projects page. */
.projects-showcase {
  padding: 0 var(--page-pad);
  color: var(--ink);
  background: var(--white);
}

.projects-showcase-block {
  padding: clamp(58px, 6.5vw, 106px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height) + 20px);
}

.projects-showcase-block:first-child {
  border-top: 0;
}

.projects-showcase-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr);
  grid-auto-rows: clamp(260px, 28vw, 440px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 18px);
}

.projects-showcase-collage figure,
.projects-showcase-slider figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.projects-showcase-collage figure:nth-child(3n + 1),
.projects-showcase-collage figure:nth-child(3n + 2) {
  grid-column: auto;
}

.projects-showcase-collage figure:nth-child(3n) {
  grid-column: auto;
}

.projects-showcase-block.is-reversed .projects-showcase-collage {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
}

.projects-showcase-block.is-reversed .projects-showcase-collage figure:nth-child(3n + 1) {
	grid-column: 2;
}

.projects-showcase-block.is-reversed .projects-showcase-collage figure:nth-child(3n + 2) {
	grid-column: 3;
}

.projects-showcase-block.is-reversed .projects-showcase-collage figure:nth-child(3n) {
	grid-column: 1;
  grid-row: auto;
}

.projects-showcase-block .projects-showcase-collage.is-count-1 figure {
  grid-column: 1 / -1;
}

.projects-showcase-block .projects-showcase-collage.is-count-2 figure {
  grid-column: auto;
}

.projects-showcase-block .projects-showcase-collage.is-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.projects-showcase-collage img,
.projects-showcase-slider img,
.projects-showcase-collage .woodex-lightbox-button,
.projects-showcase-slider .woodex-lightbox-button {
  width: 100%;
  height: 100%;
}

.projects-showcase-collage img {
  object-fit: cover;
}

.projects-showcase-slider img {
  object-fit: cover;
}

.projects-showcase-copy {
  width: min(760px, 56%);
  margin-top: clamp(18px, 2.2vw, 32px);
}

.projects-showcase-block.is-reversed .projects-showcase-copy {
  margin-left: auto;
}

.projects-showcase-copy h2 {
  margin: 0 0 clamp(14px, 1.5vw, 22px);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.projects-showcase-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.projects-showcase-slider {
  position: relative;
  height: clamp(260px, 28vw, 440px);
  overflow: hidden;
  background: var(--white);
}

.projects-showcase-slides {
  --project-slide-gap: 1%;
  --project-slide-small: 32.66%;
  --project-slide-large: 32.66%;
  position: relative;
  width: 100%;
  height: 100%;
}

.projects-showcase-slides figure {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--project-slide-small);
  display: block;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
  will-change: left, width;
  transition: left 650ms var(--ease), width 650ms var(--ease);
}

.projects-showcase-slides figure.is-active {
  visibility: visible;
  pointer-events: auto;
}

.projects-showcase-slides figure.is-slot-1 {
  left: 0;
  width: var(--project-slide-small);
}

.projects-showcase-slides figure.is-slot-2 {
  left: calc(var(--project-slide-small) + var(--project-slide-gap));
  width: var(--project-slide-small);
}

.projects-showcase-slides figure.is-slot-3 {
  left: 67.32%;
  width: var(--project-slide-large);
}

.projects-showcase-block.is-reversed .projects-showcase-slides figure.is-slot-1 {
  left: 0;
  width: var(--project-slide-large);
}

.projects-showcase-block.is-reversed .projects-showcase-slides figure.is-slot-2 {
  left: calc(var(--project-slide-large) + var(--project-slide-gap));
  width: var(--project-slide-small);
}

.projects-showcase-block.is-reversed .projects-showcase-slides figure.is-slot-3 {
  left: 67.32%;
  width: var(--project-slide-small);
}

.projects-showcase-slides figure.is-entering-right,
.projects-showcase-slides figure.is-leaving-right {
  left: 102%;
}

.projects-showcase-slides figure.is-entering-right {
  width: var(--project-slide-large);
}

.projects-showcase-block.is-reversed .projects-showcase-slides figure.is-entering-right {
  width: var(--project-slide-small);
}

.projects-showcase-slides figure.is-entering-left,
.projects-showcase-slides figure.is-leaving-left {
  left: -44%;
}

.projects-showcase-slides figure.is-entering-left {
  width: var(--project-slide-small);
}

.projects-showcase-block.is-reversed .projects-showcase-slides figure.is-entering-left {
  width: var(--project-slide-large);
}

.projects-showcase-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  color: var(--ink);
  background: var(--white);
}

.projects-showcase-block.is-reversed .projects-showcase-controls {
  right: auto;
  left: 0;
}

.projects-showcase-controls span {
  min-width: 96px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-right: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.projects-showcase-controls button {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 23px;
  transition: color 180ms ease, background 180ms ease;
}

.projects-showcase-controls button + button {
  border-left: 0;
}

.projects-showcase-controls button:hover {
  color: var(--white);
  background: var(--ink);
}

.projects-showcase-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--ink-soft) 42%, transparent);
  background:
    linear-gradient(135deg, transparent 49.8%, var(--line) 50%, transparent 50.2%),
    var(--paper-deep);
}

.projects-showcase-placeholder span {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 72px);
  font-style: italic;
}

@media (max-width: 960px) {
  .projects-showcase-copy {
    width: min(720px, 78%);
  }

  .projects-showcase-collage {
    grid-auto-rows: clamp(210px, 33vw, 340px);
  }

  .projects-showcase-slider {
    height: clamp(210px, 33vw, 340px);
  }
}

@media (max-width: 640px) {
  .projects-showcase {
    padding: 0 var(--page-pad);
  }

  .projects-showcase-block {
    padding: 46px 0 58px;
  }

  .projects-showcase-collage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
    grid-auto-rows: 46vw;
    gap: 8px;
  }

  .projects-showcase-collage figure:nth-child(3n + 1),
  .projects-showcase-collage figure:nth-child(3n + 2),
  .projects-showcase-block.is-reversed .projects-showcase-collage figure:nth-child(3n + 1),
  .projects-showcase-block.is-reversed .projects-showcase-collage figure:nth-child(3n + 2) {
    grid-column: auto;
  }

  .projects-showcase-collage figure:nth-child(3n),
  .projects-showcase-block.is-reversed .projects-showcase-collage figure:nth-child(3n) {
    grid-column: auto;
  }

  .projects-showcase-block .projects-showcase-collage.is-count-1 figure {
    grid-column: 1 / -1;
  }

  .projects-showcase-block .projects-showcase-collage.is-count-2 figure {
    grid-column: span 1;
  }

  .projects-showcase-block.is-reversed .projects-showcase-collage {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .projects-showcase-block .projects-showcase-collage.is-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-showcase-copy,
  .projects-showcase-block.is-reversed .projects-showcase-copy {
    width: 100%;
    margin: 20px 0 0;
  }

  .projects-showcase-copy h2 {
    font-size: clamp(34px, 9.5vw, 44px);
  }

  .projects-showcase-copy p {
    font-size: 16px;
  }

  .projects-showcase-slider {
    height: 48vw;
    max-height: 350px;
  }

  .projects-showcase-controls span {
    min-width: 82px;
    padding: 0 12px;
  }

  .projects-showcase-controls button {
    width: 54px;
    height: 54px;
  }
}

.project-breadcrumb {
  min-height: 48px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-breadcrumb a {
  transition: color 180ms ease;
}

.project-breadcrumb a:hover {
  color: var(--brand-brown);
}

.project-detail-hero {
  padding: clamp(46px, 4.6vw, 70px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(40px, 5.5vw, 88px);
  align-items: start;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.project-detail-copy {
  min-width: 0;
}

.project-detail-copy h1 {
  max-width: 660px;
  margin: 0 0 26px;
  font-size: clamp(54px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.project-detail-lead {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(19px, 1.48vw, 23px);
  line-height: 1.48;
}

.project-detail-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-detail-facts {
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}

.project-detail-facts li {
  min-height: 50px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-detail-media {
  min-width: 0;
  height: clamp(410px, 43vw, 610px);
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(180px, 0.66fr);
  gap: 10px;
}

.project-detail-media figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-story {
  padding: clamp(64px, 6vw, 96px) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
  background: var(--white);
}

.project-detail-story h2,
.project-gallery-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.project-detail-text {
  max-width: 720px;
}

.project-detail-text p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.58;
}

.project-detail-text p:last-child {
  margin-bottom: 0;
}

.project-topic-sections {
  padding: clamp(24px, 2.6vw, 40px) 0;
  display: grid;
  gap: clamp(24px, 2.6vw, 40px);
  background: var(--white);
}

.project-topic {
  min-height: clamp(460px, 43vw, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-topic-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-topic-slides,
.project-topic-slides figure,
.project-topic-slides img,
.project-topic-placeholder {
  width: 100%;
  height: 100%;
}

.project-topic-slides figure {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 700ms var(--ease), visibility 700ms var(--ease);
}

.project-topic-slides figure.is-active {
  visibility: visible;
  opacity: 1;
}

.project-topic-slides img {
  object-fit: cover;
}

.project-topic-placeholder {
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--ink-soft) 42%, transparent);
  background:
    linear-gradient(135deg, transparent 49.8%, var(--line) 50%, transparent 50.2%),
    var(--paper-deep);
}

.project-topic-placeholder span {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 46px);
  font-style: italic;
  letter-spacing: -0.04em;
}

.project-topic-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  color: var(--ink);
  background: var(--white);
}

.project-topic-counter {
  min-width: 86px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.project-topic-counter i {
  color: var(--ink-soft);
  font-style: normal;
}

.project-topic-controls button {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-right: 0;
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
  transition: color 180ms ease, background 180ms ease;
}

.project-topic-controls button:hover {
  color: var(--white);
  background: var(--ink);
}

.project-topic-copy {
  padding: clamp(40px, 5vw, 76px) clamp(34px, 4.7vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}

.project-topic-copy h2 {
  max-width: 640px;
  margin: 0 0 clamp(24px, 2.5vw, 36px);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.project-topic-text {
  max-width: 650px;
}

.project-topic-text p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
}

.project-topic-text p:last-child {
  margin-bottom: 0;
}

.project-gallery-section {
  padding: clamp(64px, 6vw, 96px) var(--page-pad);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + var(--topline-height));
}

.project-gallery-heading {
  margin-bottom: clamp(36px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 48px;
  align-items: end;
}

.project-gallery-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.5;
}

.project-gallery {
  columns: 3;
  column-gap: clamp(12px, 1.6vw, 24px);
}

.project-gallery figure {
  width: 100%;
  margin: 0 0 clamp(12px, 1.6vw, 24px);
  break-inside: avoid;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-gallery figure.is-hidden {
  display: none;
}

.project-gallery img {
  width: 100%;
  height: auto;
  transition: transform 500ms var(--ease);
}

.project-gallery figure:hover img {
  transform: scale(1.02);
}

.project-gallery-more {
  margin: 30px auto 0;
}

.project-gallery-more[hidden] {
  display: none;
}

.project-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.project-pagination a {
  min-width: 0;
  min-height: 132px;
  padding: 30px var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  transition: color 200ms ease, background 200ms ease;
}

.project-pagination a:last-child {
  align-items: flex-end;
  border-right: 0;
  text-align: right;
}

.project-pagination a:hover {
  color: var(--brand-brown);
  background: var(--paper);
}

.project-pagination small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-pagination span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 560;
  line-height: 1.15;
}

@media (max-width: 960px) {
  .projects-intro,
  .project-detail-hero,
  .project-detail-story,
  .project-gallery-heading {
    grid-template-columns: 1fr;
  }

  .projects-intro {
    gap: 34px;
  }

  .projects-intro-copy,
  .project-detail-copy,
  .project-detail-text {
    max-width: 740px;
  }

  .project-detail-hero {
    gap: 40px;
  }

  .project-detail-media {
    height: min(70vw, 560px);
  }

  .project-detail-story {
    gap: 36px;
  }

  .project-topic {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-topic-media {
    min-height: min(62vw, 480px);
  }

  .project-topic-copy {
    min-height: 320px;
  }

  .project-gallery-heading {
    gap: 24px;
  }

  .project-gallery {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .projects-intro {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .projects-intro h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .projects-directory {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .project-directory-card h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .project-directory-card p {
    font-size: 16px;
  }

  .project-directory-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .project-directory-link i {
    align-self: stretch;
    justify-content: space-between;
  }

  .project-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
  }

  .project-detail-hero {
    padding-top: 38px;
    padding-bottom: 46px;
  }

  .project-detail-copy h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .project-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-detail-actions .button,
  .project-detail-actions .outline-button,
  .project-gallery-more {
    width: 100%;
  }

  .project-detail-media {
    height: min(112vw, 500px);
    grid-template-columns: 1fr;
  }

  .project-detail-media figure:nth-child(2) {
    display: none;
  }

  .project-detail-facts {
    display: none;
  }

  .project-detail-story h2,
  .project-gallery-heading h2 {
    font-size: clamp(36px, 10.8vw, 48px);
  }

  .project-topic-media {
    min-height: 70vw;
  }

  .project-topic-copy {
    min-height: 0;
    padding: 34px var(--page-pad) 40px;
  }

  .project-topic-copy h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 10vw, 44px);
  }

  .project-topic-text p {
    font-size: 18px;
  }

  .project-topic-counter {
    min-width: 78px;
    padding: 0 12px;
  }

  .project-topic-controls button {
    width: 54px;
    height: 54px;
  }

  .project-gallery {
    columns: 1;
  }

  .project-pagination {
    grid-template-columns: 1fr;
  }

  .project-pagination a,
  .project-pagination a:last-child {
    min-height: 108px;
    align-items: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
}

/* WordPress integration: preserve the approved layout while logged in. */
.admin-bar .site-header {
  top: 32px;
}

.project-card > a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.woodex-page {
  min-height: 65vh;
  color: var(--ink);
  background: var(--paper);
}

.woodex-page-content {
  width: min(100%, 980px);
  margin: 0 auto;
}

.woodex-page-content > h1 {
  max-width: 920px;
  margin-bottom: clamp(32px, 5vw, 72px);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 450;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.woodex-page-image {
  margin: 0 0 clamp(32px, 5vw, 72px);
}

.woodex-page-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.woodex-entry-content {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.6;
}

.woodex-entry-content > * {
  max-width: 760px;
}

.woodex-entry-content > .alignwide {
  max-width: 980px;
}

.woodex-entry-content a {
  color: var(--brand-brown);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Events: editorial archive and Gutenberg-driven article pages. */
.events-archive,
.event-single {
  color: var(--ink);
  background: var(--paper);
}

.events-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 9vw, 160px);
  align-items: end;
  padding: var(--section-space) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.events-hero .section-kicker {
  margin-bottom: 20px;
  color: var(--brand-brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-hero h1 {
  max-width: 1000px;
  margin-bottom: 0;
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 450;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.events-hero > p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.45;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 var(--page-pad);
}

.event-card {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-card:nth-child(3n) {
  border-right: 0;
}

.event-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: clamp(18px, 2.2vw, 36px);
}

.event-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: clamp(24px, 3vw, 42px);
  background: var(--paper-deep);
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

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

.event-card-media > span {
  position: absolute;
  inset: auto 22px 18px auto;
  color: var(--brand-brown);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.event-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.event-card-copy time,
.event-single-header time {
  margin-bottom: 18px;
  color: var(--brand-brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.event-card-copy p {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.event-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-card-link i {
  margin-left: 8px;
  font-style: normal;
}

.events-pagination,
.events-empty {
  padding: clamp(40px, 5vw, 80px) var(--page-pad);
}

.events-pagination .nav-links {
  display: flex;
  gap: 10px;
}

.events-pagination .page-numbers {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
}

.events-pagination .current {
  color: var(--white);
  background: var(--ink);
}

.events-empty {
  min-height: 360px;
}

.events-empty h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 450;
  letter-spacing: -0.055em;
}

.event-single > article {
  padding-bottom: var(--section-space);
}

.event-breadcrumb {
  display: flex;
  gap: 12px;
  padding: 24px var(--page-pad);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}

.event-breadcrumb span:last-child {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
}

.event-single-header {
  max-width: 1240px;
  padding: var(--section-space) var(--page-pad) clamp(46px, 6vw, 94px);
}

.event-single-header h1 {
  max-width: 1180px;
  margin: 16px 0 clamp(28px, 4vw, 52px);
  font-size: clamp(56px, 8.5vw, 126px);
  font-weight: 450;
  letter-spacing: -0.068em;
  line-height: 0.93;
}

.event-single-header > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.42;
}

.event-single-cover {
  margin: 0 var(--page-pad) clamp(56px, 8vw, 120px);
}

.event-single-cover img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}

.event-entry-content {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.68;
}

.event-entry-content > * {
  margin-bottom: 1.35em;
}

.event-entry-content h2,
.event-entry-content h3 {
  margin-top: 1.75em;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.event-entry-content h2 {
  font-size: clamp(36px, 4.3vw, 62px);
}

.event-entry-content h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.event-entry-content blockquote {
  margin: clamp(40px, 6vw, 72px) 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--brand-brown);
  color: var(--ink);
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.42;
}

.event-entry-content a {
  color: var(--brand-brown);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.event-entry-content .wp-block-image,
.event-entry-content .wp-block-gallery {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.event-entry-content figcaption {
  color: var(--ink-soft);
  font-size: 14px;
}

.event-single-footer {
  width: min(820px, calc(100% - 40px));
  margin: clamp(56px, 8vw, 110px) auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .events-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .events-hero > p {
    max-width: 620px;
  }

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

  .event-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .event-card:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .events-hero h1 {
    font-size: clamp(54px, 20vw, 86px);
  }

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

  .event-card,
  .event-card:nth-child(3n) {
    border-right: 0;
  }

  .event-card > a {
    padding: 20px 0 34px;
  }

  .event-single-header h1 {
    font-size: clamp(48px, 16vw, 74px);
  }
}

/* Text takes over the visual hierarchy where decorative headings were removed. */
.bespoke-copy-without-heading > p,
.craft .section-heading-copy-only > p,
.architects-copy > p,
.about-lead-copy-only > p:last-child,
.service-detail-gallery-heading-copy-only > p:last-child {
  color: var(--ink);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.42;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
