/* The prototype's first line was @import "@fontsource-variable/onest" — a bare
   npm specifier that a bundler resolves and a browser cannot. Over HTTP it
   requested a path that answers with the 404 page, and the browser refused it
   with a MIME error while the page carried on looking fine. The same font is
   enqueued as a real stylesheet in inc/assets.php. This is the only edit to
   globals.css. */

:root {
  --paper: #f3eee6;
  --paper-soft: #ded4c8;
  --paper-warm: #e9dfd3;
  --stone: #c8b8a7;
  --ink: #222324;
  --ink-deep: #151617;
  --muted: #68605a;
  --oak: #9f8065;
  --blue: #3f617f;
  --line: rgba(34, 35, 36, 0.18);
  --shell: 1320px;
  --radius-media: clamp(14px, 1.4vw, 22px);
  --radius-panel: clamp(18px, 2vw, 28px);
}

/* Content photography and physical samples share one soft geometry.
 * Full-bleed CSS backgrounds and brand marks stay untouched. */
main img:not(.project-detail-backdrop):not([class*="logo"]):not([alt*="logo" i]) {
  border-radius: var(--radius-media);
}

main figure:has(img:not(.project-detail-backdrop):not([class*="logo"]):not([alt*="logo" i])) {
  border-radius: var(--radius-media);
}

.material-section-link {
  margin-top: 34px;
}

.countertop-card-link {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(249, 246, 240, 0.68);
  backdrop-filter: blur(10px);
  transition: background-color 180ms ease, transform 180ms ease;
}

.countertop-card-link:hover,
.countertop-card-link:focus-visible {
  background: rgba(249, 246, 240, 0.92);
  transform: translateY(-3px);
}

.countertop-card-link h3 {
  margin-top: 48px;
}

.countertop-card-link > p:nth-of-type(2) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.countertop-card-link > span {
  display: inline-block;
  margin-top: auto;
  padding-top: 26px;
  font-size: 0.78rem;
  font-weight: 650;
}

.stone-partner-section {
  background:
    linear-gradient(105deg, rgba(222, 212, 200, 0.96), rgba(222, 212, 200, 0.76)),
    url("/images/portfolio/georgy/georgy-1.jpg") center / cover no-repeat;
}

.stone-partner-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(46px, 8vw, 120px);
}

.stone-partner-layout h2 {
  margin-top: 20px;
}

.stone-partner-layout p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
}

.stone-partner-layout .text-link {
  margin-top: 28px;
}

.stone-partner-layout > a {
  display: grid;
  min-height: 290px;
  place-items: center;
  padding: 54px;
  border: 1px solid var(--line);
  background: rgba(249, 246, 240, 0.84);
  backdrop-filter: blur(14px);
}

.stone-partner-layout img {
  width: min(100%, 310px);
  max-height: 120px;
  object-fit: contain;
}

.partner-list li:only-child {
  grid-column: 1 / -1;
}

.partner-list li:only-child img {
  width: min(100%, 260px);
  height: 92px;
}

.catalog-hero {
  display: flex;
  min-height: 620px;
  align-items: flex-end;
  padding-block: clamp(120px, 15vw, 190px) clamp(78px, 10vw, 126px);
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.97), rgba(16, 17, 18, 0.76) 58%, rgba(16, 17, 18, 0.48)),
    url("/images/portfolio/georgy/georgy-3.jpg") center / cover no-repeat;
  color: var(--paper);
}

.catalog-hero--compact {
  min-height: 440px;
  padding-block: clamp(112px, 11vw, 148px) clamp(48px, 6vw, 72px);
}

.catalog-hero.catalog-hero--compact .catalog-back {
  margin-bottom: 30px;
}

.catalog-hero.catalog-hero--compact h1 {
  max-width: 900px;
  margin-top: 16px;
  font-size: clamp(2.7rem, 5vw, 4.15rem);
}

.catalog-hero.catalog-hero--compact .shell > p:last-child {
  max-width: 680px;
  margin-top: 20px;
}

/* Обложки конечных страниц фасадов: реальные изделия из соответствующего материала. */
.catalog-hero--facades {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.94), rgba(16, 17, 18, 0.7) 58%, rgba(16, 17, 18, 0.38)),
    url("/images/facades/facades-hub-hero-owner.jpg");
  background-position: center 48%;
}

.catalog-hero--facade-laminated {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96), rgba(16, 17, 18, 0.72) 58%, rgba(16, 17, 18, 0.28)),
    url("/images/facades/laminated-hub-hero-owner.jpg");
  background-position: center 48%;
}

.catalog-hero--egger {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.82) 46%, rgba(16, 17, 18, 0.2) 100%),
    url("/images/portfolio/natalia/natalia-3.jpg");
  background-position: center 48%;
}

.catalog-hero--fenix {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.97) 0%, rgba(16, 17, 18, 0.82) 46%, rgba(16, 17, 18, 0.18) 100%),
    url("/images/facades/editorial/fenix/fenix-hero-v2.webp");
  background-position: center;
}

.catalog-hero--kronospan {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.78) 46%, rgba(16, 17, 18, 0.16) 100%),
    url("/images/portfolio/irina/irina-4.jpg");
  background-position: center 28%;
}

.catalog-hero--veneer {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.94), rgba(16, 17, 18, 0.7) 58%, rgba(16, 17, 18, 0.4)),
    url("/images/facades/veneer-hero.webp");
}

.catalog-hero--decor {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.94), rgba(16, 17, 18, 0.72) 58%, rgba(16, 17, 18, 0.42)),
    url("/images/materials/decor-hero.webp");
  background-position: center 58%;
}

.catalog-hero--milling {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.95), rgba(16, 17, 18, 0.74) 58%, rgba(16, 17, 18, 0.44)),
    url("/images/facades/milling/references/frame-slim-kitchen.jpg");
  background-position: center 52%;
}

.catalog-hero--countertops {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    url("/images/countertops-overview.webp") center 52% / cover no-repeat,
    var(--ink-deep);
}

.catalog-hero--countertops::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 17, 18, 0.98) 0%, rgba(16, 17, 18, 0.8) 40%, rgba(16, 17, 18, 0.22) 76%, rgba(16, 17, 18, 0.08) 100%);
  content: "";
}

.catalog-hero--countertops .shell {
  position: relative;
  z-index: 2;
}

.catalog-hero--hardware {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.97), rgba(16, 17, 18, 0.76) 58%, rgba(16, 17, 18, 0.48)),
    url("/images/detail-storage.webp");
}

.catalog-hero--laminate,
.catalog-hero--quartz,
.catalog-hero--ceramic,
.catalog-hero--granite,
.catalog-hero--hpl,
.catalog-hero--wood {
  background-position: center;
  background-size: cover;
}

.catalog-hero--laminate {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.8) 43%, rgba(16, 17, 18, 0.24) 100%),
    url("/images/countertop-heroes/laminate.webp");
}

.catalog-hero--quartz {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.8) 43%, rgba(16, 17, 18, 0.22) 100%),
    url("/images/countertop-heroes/quartz.webp");
}

.catalog-hero--ceramic {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.8) 43%, rgba(16, 17, 18, 0.22) 100%),
    url("/images/countertop-heroes/ceramic.webp");
}

.catalog-hero--granite {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.8) 43%, rgba(16, 17, 18, 0.22) 100%),
    url("/images/countertop-heroes/granite.webp");
}

.catalog-hero--hpl {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.8) 43%, rgba(16, 17, 18, 0.22) 100%),
    url("/images/countertop-heroes/hpl.webp");
}

.catalog-hero--wood {
  background-image:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.8) 43%, rgba(16, 17, 18, 0.2) 100%),
    url("/images/countertop-heroes/wood.webp");
}

.wood-countertops-page {
  --wood-oat: #d9c3a4;
  --wood-sage: #aeb9a7;
  --wood-clay: #c79e82;
  --wood-walnut: #8f7869;
}

.wood-countertops-page .catalog-info-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(162, 116, 70, 0.14), transparent 28%),
    linear-gradient(135deg, #f7f2e9 0%, #eee4d5 100%);
}

.wood-detail-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(171, 139, 97, 0.24), transparent 34%),
    #22251f;
  color: var(--paper);
}

.wood-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
}

.wood-editorial-figure img,
.wood-finish-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.wood-editorial-figure figcaption,
.wood-finish-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.wood-detail-section figcaption,
.wood-detail-section .wood-detail-copy > p:last-child {
  color: rgba(249, 246, 240, 0.68);
}

.wood-detail-section .eyebrow {
  color: #d7bb91;
}

.wood-detail-copy h2 {
  margin-top: 20px;
}

.wood-detail-copy > p:last-child {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.wood-uses-section {
  background:
    linear-gradient(90deg, rgba(44, 34, 25, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 10% 12%, rgba(89, 110, 82, 0.18), transparent 24%),
    radial-gradient(circle at 90% 88%, rgba(137, 89, 56, 0.18), transparent 30%),
    linear-gradient(145deg, #eee7dc 0%, #d9d1c3 55%, #e7d9c8 100%);
  background-size: 120px 100%, auto, auto, auto;
}

.wood-species-section {
  background:
    linear-gradient(90deg, rgba(106, 77, 48, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #eee4d5 0%, #e5d6c2 100%);
  background-size: 96px 100%, auto;
}

.wood-species-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
}

.wood-species-grid article {
  overflow: hidden;
  border: 1px solid rgba(66, 47, 29, 0.14);
  background: rgba(249, 246, 240, 0.72);
  box-shadow: 0 22px 58px rgba(68, 45, 23, 0.08);
}

.wood-species-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.wood-species-grid article > div {
  padding: clamp(24px, 3vw, 38px);
}

.wood-species-grid h3 {
  font-size: 1.16rem;
}

.wood-species-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.62;
}

.wood-section-heading {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 18px clamp(48px, 8vw, 118px);
  margin-bottom: clamp(44px, 6vw, 76px);
}

.wood-section-heading .eyebrow {
  grid-column: 1 / -1;
}

.wood-section-heading h2 {
  grid-column: 1 / 2;
}

.wood-section-heading > p:last-child {
  max-width: 620px;
  grid-column: 2 / 3;
  align-self: end;
  color: var(--muted);
}

.wood-use-list {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.wood-use-row {
  --wood-panel-texture: url("/images/wood/species-oak.webp");
  display: grid;
  min-height: clamp(430px, 45vw, 650px);
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  overflow: hidden;
  border: 1px solid rgba(55, 40, 26, 0.14);
  box-shadow: 0 24px 70px rgba(53, 37, 23, 0.12);
}

.wood-use-row:nth-child(even) {
  grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
}

.wood-use-row:nth-child(even) figure {
  order: 2;
}

.wood-use-row figure,
.wood-use-row figure img {
  width: 100%;
  height: 100%;
}

.wood-use-row figure {
  min-height: 430px;
}

.wood-use-row figure img {
  display: block;
  object-fit: cover;
}

.wood-use-copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 82px);
  background: var(--wood-panel);
}

.wood-use-copy::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--wood-panel-texture) center / cover no-repeat;
  content: "";
  filter: saturate(0.55) contrast(1.08);
  opacity: 0.16;
}

.wood-use-copy::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.36), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--wood-panel) 94%, white), color-mix(in srgb, var(--wood-panel) 86%, transparent));
  content: "";
}

.wood-use-row--oat {
  --wood-panel: var(--wood-oat);
  --wood-panel-texture: url("/images/wood/species-oak.webp");
}

.wood-use-row--sage {
  --wood-panel: var(--wood-sage);
  --wood-panel-texture: url("/images/wood/species-ash.webp");
}

.wood-use-row--clay {
  --wood-panel: var(--wood-clay);
  --wood-panel-texture: url("/images/wood/species-walnut.webp");
}

.wood-use-row--walnut {
  --wood-panel: var(--wood-walnut);
  --wood-panel-texture: url("/images/wood/species-birch.webp");
}

.wood-use-copy .eyebrow {
  margin-bottom: 22px;
  color: rgba(41, 35, 29, 0.62);
}

.wood-use-copy h3,
.wood-finish-list h3 {
  font-size: clamp(1.6rem, 3vw, 2.75rem);
}

.wood-use-copy > p:last-child,
.wood-finish-list p,
.wood-finish-layout > div:first-child > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.wood-use-copy > p:last-child {
  max-width: 520px;
  color: rgba(41, 35, 29, 0.74);
}

.production-page-cta.wood-page-cta {
  background:
    linear-gradient(90deg, rgba(34, 27, 20, 0.98) 0%, rgba(52, 39, 28, 0.9) 50%, rgba(61, 43, 29, 0.7) 100%),
    url("/images/wood/cta-texture.webp") center / cover no-repeat;
}

.wood-finish-section {
  background:
    linear-gradient(90deg, rgba(74, 51, 34, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 16% 84%, rgba(89, 64, 43, 0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(112, 129, 99, 0.14), transparent 30%),
    linear-gradient(135deg, #d1bfad 0%, #eadfd2 58%, #cbd1c1 100%);
  background-size: 108px 100%, auto, auto, auto;
}

.wood-finish-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(50px, 9vw, 132px);
}

.wood-finish-layout h2 {
  margin-top: 20px;
}

.wood-finish-figure {
  margin-top: 36px;
}

.wood-finish-list {
  border-top: 1px solid var(--line);
}

.wood-finish-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.wood-finish-list p {
  margin-top: 0;
}

.catalog-back {
  display: inline-block;
  margin-bottom: 58px;
  color: rgba(241, 238, 232, 0.7);
  font-size: 0.82rem;
}

.catalog-hero .eyebrow {
  color: rgba(241, 238, 232, 0.66);
}

.catalog-hero h1 {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
}

.catalog-hero .shell > p:last-child {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(241, 238, 232, 0.8);
}

.countertop-comparison-section {
  background: var(--paper-warm);
}

.countertop-comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px clamp(50px, 8vw, 120px);
  align-items: end;
}

.countertop-comparison-heading .eyebrow {
  grid-column: 1 / -1;
}

.countertop-comparison-heading h2 {
  max-width: 620px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.02;
}

.countertop-comparison-heading > p:last-child {
  max-width: 640px;
  color: var(--muted);
}

.countertop-comparison-table-wrap {
  margin-top: clamp(42px, 6vw, 76px);
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.countertop-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.countertop-comparison-table th,
.countertop-comparison-table td {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.countertop-comparison-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.countertop-comparison-table tbody th {
  width: 23%;
  font-size: 0.96rem;
  font-weight: 650;
}

.countertop-comparison-table tbody td {
  color: var(--muted);
  font-size: 0.85rem;
}

.catalog-direction-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.catalog-direction-heading h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.catalog-direction-section,
.catalog-section,
.hardware-catalog-section {
  background:
    radial-gradient(circle at 91% 6%, rgba(63, 97, 127, 0.1), transparent 30rem),
    radial-gradient(circle at 6% 80%, rgba(159, 128, 101, 0.14), transparent 34rem),
    var(--paper);
}

.catalog-direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

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

.catalog-direction-grid--facades .catalog-direction-card {
  grid-column: auto;
}

.catalog-direction-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(239, 235, 229, 0.94);
  color: var(--ink);
  backdrop-filter: blur(10px);
  transition: background-color 180ms ease, transform 180ms ease;
}

a.catalog-direction-card:hover,
a.catalog-direction-card:focus-visible {
  background: rgba(249, 246, 240, 0.96);
  transform: translateY(-4px);
}

.catalog-direction-card h2 {
  margin-top: 22px;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
}

.catalog-direction-card > p:not(.material-note) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-direction-card > span {
  padding-top: 34px;
  font-size: 0.8rem;
  font-weight: 650;
}

.catalog-direction-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.catalog-direction-card__visual {
  height: clamp(210px, 22vw, 320px);
  overflow: hidden;
  background: #d8d0c4;
}

.catalog-direction-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.catalog-direction-card__visual img.catalog-direction-card__image--contain {
  position: relative;
  z-index: 1;
  object-fit: contain;
}

.catalog-direction-card__visual--fenix {
  position: relative;
  isolation: isolate;
}

.catalog-direction-card__visual--fenix::before {
  position: absolute;
  z-index: 0;
  inset: -18px;
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(14px) saturate(0.72) brightness(0.82);
  transform: scale(1.04);
}

.catalog-direction-card__visual--fenix::before {
  background-image: url("/images/facades/fenix-samples-owner.jpg");
}

.catalog-direction-card:hover .catalog-direction-card__visual img,
.catalog-direction-card:focus-visible .catalog-direction-card__visual img {
  transform: scale(1.025);
}

.catalog-direction-card:hover .catalog-direction-card__visual img.catalog-direction-card__image--contain,
.catalog-direction-card:focus-visible .catalog-direction-card__visual img.catalog-direction-card__image--contain {
  transform: none;
}

.catalog-hub-page .catalog-direction-card .catalog-direction-card__visual img.catalog-direction-card__image--contain {
  border-radius: 0;
}

.catalog-direction-card__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3vw, 40px);
}

.catalog-direction-card--facade .catalog-direction-card__body {
  min-height: clamp(250px, 22vw, 310px);
}

.catalog-direction-card--text .catalog-direction-card__body {
  min-height: clamp(240px, 20vw, 290px);
}

.catalog-direction-card__body > p:not(.material-note) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-direction-card__body > span {
  margin-top: auto;
  padding-top: 30px;
  font-size: 0.8rem;
  font-weight: 650;
}

.facade-details-section {
  background: #17191a;
  color: var(--paper);
}

.facade-details-section .material-feature-heading > p {
  color: rgba(243, 238, 230, 0.68);
}

.facade-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
}

.facade-detail-card {
  overflow: hidden;
  border: 1px solid rgba(243, 238, 230, 0.16);
  border-radius: var(--radius-panel);
  background: #202324;
}

.facade-detail-card figure {
  height: clamp(260px, 28vw, 410px);
  overflow: hidden;
}

.facade-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facade-detail-card > div {
  padding: clamp(24px, 3vw, 36px);
}

.facade-detail-card h3 {
  margin-top: 15px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.facade-detail-card h3 + p {
  margin-top: 18px;
  color: rgba(243, 238, 230, 0.68);
  font-size: 0.88rem;
}

.catalog-direction-card--static {
  background: rgba(222, 212, 200, 0.64);
}

.facade-methods {
  background:
    linear-gradient(110deg, rgba(222, 212, 200, 0.95), rgba(222, 212, 200, 0.76)),
    url("/images/detail-jana.webp") center / cover no-repeat;
}

.catalog-notice {
  max-width: 950px;
  padding: 22px 26px;
  border-left: 3px solid var(--oak);
  background: rgba(222, 212, 200, 0.52);
  color: var(--muted);
  font-size: 0.86rem;
}

.facade-project-feature {
  padding-block: clamp(76px, 9vw, 124px);
  background:
    radial-gradient(circle at 88% 12%, rgba(137, 102, 67, 0.13), transparent 28rem),
    var(--paper-warm);
}

.facade-project-feature__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.facade-project-feature figure {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d6cec3;
}

.facade-project-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facade-project-feature h2 {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 1.05;
}

.facade-project-feature div > p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 26px;
  color: var(--muted);
}

.facade-project-feature .text-link {
  display: inline-block;
  margin-top: 30px;
}

.facade-inspiration {
  padding-block: clamp(76px, 9vw, 124px);
  background:
    radial-gradient(circle at 84% 12%, rgba(178, 132, 81, 0.2), transparent 30rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 76px),
    #172025;
  color: #f3eee6;
}

.facade-inspiration__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(44px, 8vw, 118px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.facade-inspiration__heading h2 {
  max-width: 800px;
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.02;
}

.facade-inspiration__heading > p {
  max-width: 620px;
  color: rgba(243, 238, 230, 0.7);
}

.facade-inspiration__grid {
  display: grid;
  height: clamp(570px, 56vw, 760px);
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.facade-inspiration__grid--single {
  height: clamp(420px, 46vw, 680px);
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.facade-inspiration__grid--single .facade-inspiration__item--lead {
  grid-row: auto;
}

.facade-inspiration__item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #293236;
}

.facade-inspiration__item--lead {
  grid-row: 1 / span 2;
}

.facade-inspiration__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.facade-inspiration__item:hover img {
  transform: scale(1.015);
}

.facade-inspiration__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 58px clamp(18px, 2.3vw, 30px) clamp(18px, 2.3vw, 28px);
  background: linear-gradient(transparent, rgba(10, 14, 16, 0.84));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.facade-inspiration__source {
  margin-top: 20px;
  color: rgba(243, 238, 230, 0.56);
  font-size: 0.68rem;
}

.facade-inspiration__source a {
  border-bottom: 1px solid currentColor;
  color: inherit;
}

.catalog-info-section {
  padding-block: clamp(72px, 9vw, 118px);
  background:
    radial-gradient(circle at 90% 10%, rgba(63, 97, 127, 0.12), transparent 28rem),
    var(--paper-warm);
}

@media (max-width: 900px) {
  .facade-project-feature__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .facade-project-feature figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .facade-inspiration__heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .facade-inspiration__grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .facade-inspiration__item,
  .facade-inspiration__item--lead {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .facade-inspiration__item,
  .facade-inspiration__item--lead {
    aspect-ratio: 5 / 4;
  }
}

.catalog-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.catalog-info-copy h2 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
}

.catalog-info-copy > p:not(.eyebrow):not(.catalog-source-links) {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
}

.catalog-source-links {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-source-links a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

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

.catalog-specs > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.catalog-specs dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-specs dd {
  font-size: 0.88rem;
  font-weight: 590;
}

.catalog-controls {
  margin-top: 46px;
}

.catalog-section--primary {
  padding-block: clamp(46px, 6vw, 78px) clamp(82px, 9vw, 132px);
}

.catalog-section--primary .catalog-controls {
  margin-top: 0;
}

.catalog-section--primary .catalog-notice + .catalog-browser .catalog-controls {
  margin-top: 28px;
}

.catalog-search {
  display: grid;
  max-width: 680px;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 620;
}

.catalog-search input {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 18px;
  background: rgba(249, 246, 240, 0.88);
  color: var(--ink);
  outline: none;
}

.catalog-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 97, 127, 0.14);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.catalog-filters button {
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  background: rgba(249, 246, 240, 0.62);
  color: var(--ink);
  font-size: 0.76rem;
  cursor: pointer;
}

.catalog-filters button:hover,
.catalog-filters button:focus-visible,
.catalog-filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.catalog-result-count {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.decor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px) clamp(14px, 2vw, 24px);
  margin-top: 34px;
}

.decor-card {
  min-width: 0;
}

.decor-preview-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.decor-card figure {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(34, 35, 36, 0.12);
  border-radius: var(--radius-media);
  background: var(--paper-soft);
}

.decor-card figure span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(21, 22, 23, 0.78);
  color: var(--paper);
  font-size: 0.66rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.decor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.decor-card:hover img,
.decor-preview-button:focus-visible img {
  transform: scale(1.035);
}

.decor-card:hover figure span,
.decor-preview-button:focus-visible figure span {
  opacity: 1;
  transform: translateY(0);
}

.decor-card > div {
  padding-top: 14px;
}

.decor-brand {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.decor-card h2,
.decor-card h3 {
  margin-top: 5px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: -0.02em;
}

.decor-name {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.decor-card.is-shortlisted figure {
  border-color: rgba(63, 97, 127, 0.72);
  box-shadow: inset 0 0 0 2px rgba(63, 97, 127, 0.2);
}

.decor-shortlist-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  border: 0;
  border-bottom: 1px solid rgba(34, 35, 36, 0.34);
  padding: 0 0 4px;
  background: transparent;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 640;
  cursor: pointer;
}

.decor-shortlist-toggle span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
  line-height: 1;
}

.decor-card.is-shortlisted .decor-shortlist-toggle {
  border-color: var(--blue);
  color: var(--blue);
}

.decor-lightbox-name {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-more {
  display: flex;
  min-width: 210px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 52px auto 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.catalog-more:hover,
.catalog-more:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.catalog-empty {
  margin-top: 48px;
  color: var(--muted);
}

/* Коллекции внутри каталога: свёрнуты до трёх рядов, кнопка раскрывает остальное */
.catalog-groups {
  margin-top: 8px;
}

.catalog-group + .catalog-group {
  margin-top: clamp(38px, 5vw, 68px);
}

.catalog-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.catalog-group-head h2 {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  letter-spacing: 0.01em;
}

.catalog-group-count {
  flex: none;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decor-grid-wrap {
  position: relative;
}

/* Мягкое затухание нижнего ряда — видно, что коллекция продолжается.
 * Маской, а не подложкой: секции у страниц разного тона. */
.decor-grid-wrap.is-collapsed {
  mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
}

.catalog-group-more {
  display: flex;
  min-width: 232px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 26px auto 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.catalog-group-more:hover,
.catalog-group-more:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.decor-lightbox {
  position: fixed;
  width: min(90vw, var(--preview-width, 1100px));
  height: min(82dvh, var(--preview-height, 720px));
  max-width: none;
  max-height: none;
  margin: auto;
  border: 1px solid rgba(241, 238, 232, 0.2);
  border-radius: var(--radius-panel);
  padding: 0;
  background: #0d0e0f;
  color: var(--paper);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.decor-lightbox::backdrop {
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(10px);
}

.decor-lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ink-deep);
}

.decor-lightbox figure {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d0e0f;
}

.decor-lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.decor-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(241, 238, 232, 0.42);
  border-radius: 50%;
  background: rgba(21, 22, 23, 0.78);
  color: var(--paper);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.decor-lightbox-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  width: fit-content;
  max-width: calc(100% - 44px);
  min-width: min(320px, calc(100% - 44px));
  padding: 16px 20px 18px;
  border-radius: var(--radius-media);
  background: rgba(21, 22, 23, 0.82);
  backdrop-filter: blur(12px);
}

.decor-lightbox-caption p {
  color: rgba(241, 238, 232, 0.58);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.decor-lightbox-caption h2 {
  margin-top: 3px;
  font-size: 1.25rem;
}

.decor-lightbox-shortlist {
  margin-top: 12px;
  border: 0;
  border-bottom: 1px solid rgba(241, 238, 232, 0.55);
  padding: 0 0 4px;
  background: transparent;
  color: var(--paper);
  font-size: 0.76rem;
  cursor: pointer;
}

.catalog-browser.has-shortlist {
  padding-bottom: 82px;
}

.material-shortlist {
  position: fixed;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 90;
  width: min(760px, calc(100vw - 32px));
  border: 1px solid rgba(241, 238, 232, 0.22);
  background: rgba(21, 22, 23, 0.97);
  color: var(--paper);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.material-shortlist__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 13px 14px 13px 22px;
}

.material-shortlist__summary {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.material-shortlist__summary span {
  display: block;
  color: rgba(241, 238, 232, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.material-shortlist__summary strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-shortlist__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.material-shortlist__actions > button,
.material-shortlist__clear {
  border: 0;
  border-bottom: 1px solid rgba(241, 238, 232, 0.42);
  padding: 4px 0;
  background: transparent;
  color: rgba(241, 238, 232, 0.78);
  font-size: 0.74rem;
  cursor: pointer;
}

.material-shortlist__actions .button {
  min-height: 46px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
  white-space: nowrap;
}

.material-shortlist__actions .button:hover {
  border-color: var(--stone);
  background: var(--stone);
}

.material-shortlist__details {
  max-height: min(44dvh, 420px);
  overflow: auto;
  border-top: 1px solid rgba(241, 238, 232, 0.16);
  padding: 4px 22px 18px;
}

.material-shortlist__details li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(241, 238, 232, 0.12);
}

.material-shortlist__details li span {
  display: grid;
  gap: 3px;
  color: rgba(241, 238, 232, 0.62);
  font-size: 0.74rem;
}

.material-shortlist__details li strong {
  color: var(--paper);
  font-size: 0.9rem;
}

.material-shortlist__details li > button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(241, 238, 232, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.material-shortlist__clear {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .material-shortlist {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .material-shortlist__bar {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 14px;
  }

  .material-shortlist__actions {
    justify-content: space-between;
  }

  .material-shortlist__actions .button {
    min-height: 42px;
    padding-inline: 15px;
  }
}

.hardware-catalog-grid {
  display: grid;
  gap: clamp(44px, 7vw, 90px);
}

.hardware-catalog-grid article {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
}

.hardware-catalog-grid article:nth-child(even) {
  grid-template-columns: 5fr 7fr;
}

.hardware-catalog-grid article:nth-child(even) figure {
  order: 2;
}

.hardware-catalog-grid figure {
  min-height: 430px;
  overflow: hidden;
  background: var(--stone);
}

.hardware-catalog-grid img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hardware-catalog-grid article > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 6vw, 78px);
  background: rgba(222, 212, 200, 0.72);
}

.hardware-catalog-grid h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.hardware-catalog-grid p {
  margin-top: 22px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .catalog-direction-grid--wide,
  .catalog-direction-grid--facades,
  .facade-detail-grid,
  .decor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-direction-grid--facades .catalog-direction-card,
  .catalog-direction-grid--facades .catalog-direction-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .catalog-info-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .catalog-direction-grid--facades,
  .facade-detail-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero--countertops::after {
    background: linear-gradient(90deg, rgba(16, 17, 18, 0.98) 0%, rgba(16, 17, 18, 0.84) 72%, rgba(16, 17, 18, 0.46) 100%);
  }

  .wood-section-heading,
  .wood-finish-layout,
  .wood-detail-layout {
    grid-template-columns: 1fr;
  }

  .wood-section-heading .eyebrow,
  .wood-section-heading h2,
  .wood-section-heading > p:last-child {
    grid-column: auto;
  }

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

  .wood-use-row,
  .wood-use-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .wood-use-row:nth-child(even) figure {
    order: 0;
  }

  .countertop-comparison-heading {
    grid-template-columns: 1fr;
  }

  .countertop-comparison-heading .eyebrow {
    grid-column: auto;
  }

  .countertop-comparison-table-wrap {
    overflow: visible;
    border-top: 0;
  }

  .countertop-comparison-table,
  .countertop-comparison-table tbody,
  .countertop-comparison-table tr,
  .countertop-comparison-table th,
  .countertop-comparison-table td {
    display: block;
    width: 100%;
  }

  .countertop-comparison-table thead {
    display: none;
  }

  .countertop-comparison-table tbody {
    display: grid;
    gap: 14px;
  }

  .countertop-comparison-table tr {
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(249, 246, 240, 0.48);
  }

  .countertop-comparison-table th,
  .countertop-comparison-table td {
    padding: 0;
    border: 0;
  }

  .countertop-comparison-table tbody th {
    margin-bottom: 22px;
    font-size: 1.08rem;
  }

  .countertop-comparison-table tbody td + td {
    margin-top: 16px;
  }

  .countertop-comparison-table tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .stone-partner-layout,
  .hardware-catalog-grid article,
  .hardware-catalog-grid article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hardware-catalog-grid article:nth-child(even) figure {
    order: 0;
  }
}

@media (max-width: 620px) {
  .catalog-hero {
    min-height: 580px;
  }

  .catalog-hero--compact {
    min-height: 430px;
    padding-block: 104px 48px;
  }

  .catalog-hero.catalog-hero--compact .catalog-back {
    margin-bottom: 24px;
  }

  .catalog-hero--laminate,
  .catalog-hero--quartz,
  .catalog-hero--ceramic,
  .catalog-hero--granite,
  .catalog-hero--hpl,
  .catalog-hero--wood {
    background-position: 62% center;
  }

  .wood-species-grid {
    grid-template-columns: 1fr;
  }

  .wood-use-row,
  .wood-use-row figure {
    min-height: 0;
  }

  .wood-use-row figure {
    aspect-ratio: 4 / 3;
  }

  .wood-finish-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .catalog-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.35rem);
  }

  .catalog-direction-grid,
  .catalog-direction-grid--wide {
    grid-template-columns: 1fr;
  }

  .catalog-direction-card {
    min-height: 300px;
  }

  .catalog-specs > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .decor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .decor-card h2,
  .decor-card h3 {
    font-size: 0.98rem;
  }

  .hardware-catalog-grid figure,
  .hardware-catalog-grid img {
    min-height: 340px;
  }
}

/* Sequential hardware navigation and client-facing storage guide */
.hardware-choice-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 170px);
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 82% 18%, rgba(194, 144, 88, 0.3), transparent 27rem),
    linear-gradient(135deg, #172125 0%, #273237 52%, #151d20 100%);
}

.hardware-choice-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 76px 100%,
    linear-gradient(135deg, transparent 0 61%, rgba(255, 255, 255, 0.05) 61% calc(61% + 1px), transparent calc(61% + 1px));
  content: "";
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.45) 72%, transparent);
}

.hardware-choice-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(520px, 8fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.hardware-choice-section__grid > div:first-child h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.hardware-choice-section__grid > div:first-child > p:last-child {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(243, 238, 230, 0.68);
}

.hardware-choice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hardware-choice-cards article {
  min-height: 220px;
  padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 72%);
}

.hardware-choice-cards span {
  color: rgba(194, 144, 88, 0.88);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hardware-choice-cards h3 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.hardware-choice-cards p {
  margin-top: 14px;
  color: rgba(243, 238, 230, 0.64);
  font-size: 0.82rem;
}

.hardware-next-section {
  display: grid;
  min-height: 280px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: end;
  gap: 20px 46px;
  padding-block: clamp(62px, 8vw, 104px);
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 88% 22%, rgba(209, 138, 73, 0.3), transparent 24rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 82px),
    linear-gradient(125deg, #27353a, #182125 70%);
  transition: filter 180ms ease;
}

.hardware-next-section:hover,
.hardware-next-section:focus-visible {
  filter: brightness(1.1);
}

.hardware-next-section > span:first-child {
  grid-column: 1 / -1;
  color: rgba(243, 238, 230, 0.58);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hardware-next-section strong {
  max-width: 960px;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hardware-next-section > span:last-child {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1;
}

.hardware-next-section--corners {
  background:
    radial-gradient(circle at 88% 22%, rgba(194, 144, 88, 0.28), transparent 24rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 76px),
    linear-gradient(125deg, #5b4438, #292724 72%);
}

.hardware-next-section--lifts {
  background:
    radial-gradient(circle at 86% 16%, rgba(210, 117, 48, 0.32), transparent 25rem),
    linear-gradient(145deg, transparent 0 62%, rgba(255, 255, 255, 0.05) 62% calc(62% + 1px), transparent calc(62% + 1px)),
    linear-gradient(125deg, #45564b, #1a2421 72%);
}

.hardware-next-section--overview {
  background:
    radial-gradient(circle at 85% 20%, rgba(92, 125, 145, 0.38), transparent 25rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 82px),
    linear-gradient(125deg, #27353a, #151d20 72%);
}

/* Site-wide thematic background language derived from the hardware section. */
:where(.home-page, .production-page, .portfolio-page, .project-detail-page, .materials-page, .catalog-hub-page, .catalog-page, .wood-countertops-page, .faq-page) {
  --theme-surface-pattern:
    radial-gradient(circle at 88% 16%, rgba(76, 105, 120, 0.14), transparent 27rem),
    linear-gradient(132deg, transparent 0 63%, rgba(43, 57, 62, 0.045) 63% calc(63% + 1px), transparent calc(63% + 1px)),
    repeating-linear-gradient(90deg, rgba(43, 57, 62, 0.04) 0 1px, transparent 1px 84px);
}

.production-page {
  --theme-surface-pattern:
    radial-gradient(circle at 84% 18%, rgba(73, 111, 129, 0.18), transparent 27rem),
    linear-gradient(145deg, transparent 0 56%, rgba(42, 56, 61, 0.055) 56% calc(56% + 1px), transparent calc(56% + 1px)),
    repeating-linear-gradient(90deg, rgba(42, 56, 61, 0.045) 0 1px, transparent 1px 66px);
}

:where(.materials-page, .catalog-hub-page, .catalog-page) {
  --theme-surface-pattern:
    radial-gradient(ellipse at 88% 12%, rgba(157, 111, 72, 0.17), transparent 31rem),
    radial-gradient(ellipse at 9% 88%, rgba(79, 108, 122, 0.12), transparent 29rem),
    linear-gradient(128deg, transparent 0 69%, rgba(81, 61, 45, 0.052) 69% calc(69% + 1px), transparent calc(69% + 1px));
}

.wood-countertops-page {
  --theme-surface-pattern:
    radial-gradient(ellipse at 86% 15%, rgba(145, 91, 48, 0.18), transparent 30rem),
    repeating-linear-gradient(165deg, rgba(91, 59, 38, 0.045) 0 1px, transparent 1px 34px),
    linear-gradient(125deg, transparent 0 62%, rgba(91, 59, 38, 0.05) 62% calc(62% + 1px), transparent calc(62% + 1px));
}

.faq-page {
  --theme-surface-pattern:
    radial-gradient(circle at 84% 12%, rgba(74, 105, 121, 0.17), transparent 25rem),
    linear-gradient(90deg, rgba(56, 75, 83, 0.04) 1px, transparent 1px) 0 0 / 76px 100%,
    linear-gradient(rgba(56, 75, 83, 0.035) 1px, transparent 1px) 0 0 / 100% 76px;
}

:where(.home-page, .production-page, .portfolio-page, .project-detail-page, .materials-page, .catalog-hub-page, .catalog-page, .wood-countertops-page, .faq-page)
  #content > section:not([class*="hero"]):not(.project-detail-intro):not(.process-section):not(.trusted-section):not(.brands-section):not(.estimate-section):not(.production-page-cta):not(.process-stage) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

:where(.home-page, .production-page, .portfolio-page, .project-detail-page, .materials-page, .catalog-hub-page, .catalog-page, .wood-countertops-page, .faq-page)
  #content > section:not([class*="hero"]):not(.project-detail-intro):not(.process-section):not(.trusted-section):not(.brands-section):not(.estimate-section):not(.production-page-cta):not(.process-stage)::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--theme-surface-pattern);
  content: "";
  opacity: 0.78;
  mix-blend-mode: multiply;
}

:where(.home-page, .production-page, .portfolio-page, .project-detail-page, .materials-page, .catalog-hub-page, .catalog-page, .wood-countertops-page, .faq-page)
  #content > section:not([class*="hero"]):not(.project-detail-intro):not(.process-section):not(.trusted-section):not(.brands-section):not(.estimate-section):not(.production-page-cta):not(.process-stage) > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  .hardware-choice-section__grid {
    grid-template-columns: 1fr;
  }

  .hardware-next-section {
    min-height: 240px;
  }
}

@media (max-width: 620px) {
  .hardware-choice-cards {
    grid-template-columns: 1fr;
  }

  .hardware-choice-cards article {
    min-height: 0;
  }

  .hardware-next-section {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 22px;
  }

  .hardware-next-section strong {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }
}

/* Hardware routes: hub + separate mechanism guides */
html:has(.hardware-page) {
  scroll-behavior: auto;
}

.hardware-page {
  --hardware-blue: #5c7d91;
  --hardware-brass: #c29058;
  --hardware-ink: #172024;
  --hardware-paper: #f3eee6;
  background: #e8e1d7;
}

.hardware-section-nav {
  position: sticky;
  z-index: 8;
  top: 0;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 27, 30, 0.94);
  backdrop-filter: blur(18px);
}

.hardware-section-nav .shell {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hardware-section-nav a {
  display: grid;
  min-height: 64px;
  place-items: center;
  padding: 11px 14px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(244, 240, 233, 0.78);
  font-size: 0.72rem;
  font-weight: 650;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.hardware-section-nav a:first-child {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.11);
}

.hardware-section-nav a:hover,
.hardware-section-nav a:focus-visible {
  background: #5f7f92;
  color: #fff;
}

.hardware-hub-hero {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 18% 78%, rgba(87, 123, 143, 0.33), transparent 34rem),
    linear-gradient(115deg, #111719 0%, #172125 55%, #253237 100%);
}

.hardware-hub-hero::before,
.hardware-hub-hero::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.hardware-hub-hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 88px 100%,
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 88px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hardware-hub-hero::after {
  right: 5vw;
  bottom: 12%;
  width: clamp(180px, 28vw, 420px);
  height: 2px;
  background: linear-gradient(90deg, transparent, #d18a49, transparent);
  box-shadow: 0 0 34px rgba(209, 138, 73, 0.62);
  transform: rotate(-19deg);
}

.hardware-hub-hero__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding-block: 168px 110px;
}

.hardware-hub-hero__copy h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(3.2rem, 7.4vw, 7.4rem);
  line-height: 0.91;
}

.hardware-hub-hero__copy > p:last-child {
  max-width: 670px;
  margin-top: 32px;
  color: rgba(243, 238, 230, 0.72);
}

.hardware-hub-hero__image {
  position: absolute;
  z-index: 2;
  top: 14%;
  right: -3%;
  bottom: 10%;
  width: min(50vw, 760px);
}

.hardware-hub-hero__image img:first-child {
  width: 78%;
  height: 78%;
  margin-left: 12%;
  object-fit: cover;
  object-position: 60% center;
  clip-path: polygon(9% 0, 100% 0, 100% 92%, 0 100%, 0 9%);
  filter: saturate(0.84) contrast(1.05);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.hardware-hub-hero__image img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.24);
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hardware-hub-intro,
.hardware-detail-intro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(92px, 11vw, 160px);
  background:
    radial-gradient(circle at 84% 18%, rgba(91, 126, 144, 0.16), transparent 26rem),
    linear-gradient(130deg, rgba(250, 247, 241, 0.92), rgba(222, 211, 196, 0.88)),
    repeating-linear-gradient(90deg, rgba(34, 47, 52, 0.045) 0 1px, transparent 1px 62px);
}

.hardware-hub-intro::after,
.hardware-detail-intro::after {
  position: absolute;
  top: 14%;
  right: 8%;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(57, 77, 84, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(57, 77, 84, 0.025), inset 0 0 0 68px rgba(57, 77, 84, 0.025);
  content: "";
}

.hardware-hub-intro__grid,
.hardware-detail-intro__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: end;
}

.hardware-hub-intro h2,
.hardware-detail-intro h2 {
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
  line-height: 0.98;
}

.hardware-hub-intro__grid > p:last-child,
.hardware-detail-intro__grid > p:last-child {
  color: #625f5a;
}

.hardware-hub-categories {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 10vw, 150px);
  background:
    linear-gradient(115deg, rgba(21, 29, 32, 0.98), rgba(31, 41, 44, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 70px, rgba(255, 255, 255, 0.025) 70px 72px);
}

.hardware-hub-list {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
}

.hardware-hub-card {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--hardware-paper);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

.hardware-hub-card:nth-child(even) {
  grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr);
}

.hardware-hub-card:nth-child(even) figure {
  order: 2;
}

.hardware-hub-card figure,
.hardware-hub-card img {
  min-height: 560px;
}

.hardware-hub-card figure {
  overflow: hidden;
}

.hardware-hub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.hardware-hub-card:hover img {
  transform: scale(1.025);
}

.hardware-hub-card > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 88px);
}

.hardware-hub-card > div::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.2), transparent 23rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 54px);
  content: "";
}

.hardware-hub-card > div > * {
  position: relative;
  z-index: 1;
}

.hardware-hub-card h2 {
  margin-top: 16px;
  font-size: clamp(2.45rem, 4.8vw, 5rem);
}

.hardware-hub-card > div > p:not(.hardware-kicker) {
  margin-top: 24px;
  color: rgba(243, 238, 230, 0.72);
}

.hardware-hub-card span {
  margin-top: 34px;
  color: #fff;
  font-size: 0.79rem;
  font-weight: 700;
}

.hardware-hub-card--storage > div { background: linear-gradient(145deg, #695a46, #393c39); }
.hardware-hub-card--drawers > div { background: linear-gradient(145deg, #30434b, #1f272a); }
.hardware-hub-card--corners > div { background: linear-gradient(145deg, #805847, #473831); }
.hardware-hub-card--lifts > div { background: linear-gradient(145deg, #566657, #29332e); }

.hardware-source-note {
  padding-block: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: #151d20;
  color: rgba(243, 238, 230, 0.58);
  font-size: 0.72rem;
}

.hardware-source-note a,
.hardware-source-link {
  border-bottom: 1px solid currentColor;
}

.hardware-detail-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  color: var(--hardware-paper);
  background-position: center;
  background-size: cover;
}

.hardware-detail-hero::before,
.hardware-detail-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hardware-detail-hero::before {
  background: linear-gradient(90deg, rgba(14, 19, 21, 0.97) 0%, rgba(14, 19, 21, 0.78) 46%, rgba(14, 19, 21, 0.16) 100%);
}

.hardware-detail-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 86px 100%,
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 86px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hardware-detail-hero--storage { background-image: url("/images/materials/hardware/official/storage-tandem.jpg"); background-position: 65% center; }
.hardware-detail-hero--drawers { background-image: url("/images/materials/hardware/official/drawers-movento.jpg"); background-position: 62% center; }
.hardware-detail-hero--corners { background-image: url("/images/materials/hardware/official/corners-lemans.jpg"); background-position: 67% center; }
/* Кадр заменён: на прежнем шкаф читался как сервант, а стеклянная створка накладывалась на деревянную панель */
.hardware-detail-hero--lifts { background-image: url("/images/materials/hardware/official/lifts-hs.jpg"); background-position: 60% center; }

.hardware-detail-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: 158px 108px;
}

.hardware-detail-hero__copy h1 {
  max-width: 850px;
  margin-top: 22px;
  font-size: clamp(3.1rem, 7vw, 7rem);
  line-height: 0.92;
}

.hardware-detail-hero__copy > p:last-child {
  max-width: 680px;
  margin-top: 30px;
  color: rgba(243, 238, 230, 0.72);
}

.hardware-lift-hero-tech {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 8%;
  width: clamp(180px, 24vw, 350px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(200, 116, 48, 0.2);
  box-shadow: 0 0 64px rgba(214, 116, 44, 0.24);
  opacity: 0.86;
  mix-blend-mode: screen;
}

.hardware-lift-hero-tech img {
  display: block;
  width: 100%;
  filter: sepia(0.55) saturate(1.35) contrast(1.08);
}

.hardware-product-sequence {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 11vw, 160px);
  background:
    radial-gradient(circle at 12% 12%, rgba(132, 103, 70, 0.2), transparent 30rem),
    linear-gradient(135deg, #ded2c2, #f2ece3 52%, #d6c9b7);
}

.hardware-product-sequence::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(62, 50, 39, 0.05) 0 1px, transparent 1px 78px),
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.48) 35% 52%, transparent 52%);
  content: "";
}

.hardware-product-sequence--dark {
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 89% 14%, rgba(75, 117, 137, 0.36), transparent 31rem),
    linear-gradient(135deg, #172126, #293338 48%, #151d20);
}

.hardware-product-sequence--corner {
  background:
    radial-gradient(circle at 88% 16%, rgba(160, 88, 56, 0.25), transparent 27rem),
    linear-gradient(135deg, #dbc1ad, #f2e4d8 48%, #cda88f);
}

.hardware-product-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(44px, 7vw, 92px);
}

.hardware-product-row {
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  overflow: hidden;
  border: 1px solid rgba(56, 49, 42, 0.17);
  background: rgba(249, 245, 238, 0.82);
  box-shadow: 0 34px 88px rgba(78, 56, 36, 0.14);
}

.hardware-product-row:nth-child(even) {
  grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr);
}

.hardware-product-row:nth-child(even) figure {
  order: 2;
}

.hardware-product-row figure {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #c9bbab;
}

.hardware-product-row figure > img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.hardware-product-row figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  background: rgba(15, 20, 22, 0.74);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.64rem;
  backdrop-filter: blur(10px);
}

.hardware-product-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 86px);
}

.hardware-product-copy::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 28%;
  border-left: 1px solid rgba(42, 54, 59, 0.11);
  border-bottom: 1px solid rgba(42, 54, 59, 0.11);
  content: "";
}

.hardware-product-copy h2 {
  margin-top: 15px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.hardware-product-copy > p:not(.hardware-kicker) {
  margin-top: 24px;
  color: #5f5c58;
}

.hardware-product-copy ul {
  display: grid;
  gap: 10px;
  margin: 27px 0 0;
  padding-left: 19px;
  color: #5f5c58;
  font-size: 0.82rem;
}

.hardware-product-detail {
  padding-top: 22px;
  border-top: 1px solid rgba(50, 61, 65, 0.14);
  font-size: 0.82rem;
}

.hardware-source-link {
  align-self: flex-start;
  margin-top: 28px;
  color: #3f6577;
  font-size: 0.69rem;
}

.hardware-product-sequence--dark .hardware-product-row {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(9, 14, 16, 0.42);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.28);
}

.hardware-product-sequence--dark .hardware-product-copy > p:not(.hardware-kicker),
.hardware-product-sequence--dark .hardware-product-copy ul {
  color: rgba(243, 238, 230, 0.7);
}

.hardware-product-sequence--dark .hardware-product-detail {
  border-color: rgba(255, 255, 255, 0.14);
}

.hardware-product-sequence--dark .hardware-source-link {
  color: #9eb8c6;
}

.hardware-checklist {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 13vw, 180px);
  color: var(--hardware-paper);
  background: #1b2528;
}

.hardware-checklist::before {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    radial-gradient(circle at 85% 28%, rgba(201, 136, 76, 0.34), transparent 26rem),
    linear-gradient(135deg, transparent 0 54%, rgba(255, 255, 255, 0.035) 54% 55%, transparent 55% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
  content: "";
}

.hardware-checklist__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(420px, 7fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
}

.hardware-checklist h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.hardware-checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.hardware-checklist li {
  min-height: 128px;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(243, 238, 230, 0.74);
}

.drawer-design-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 12vw, 175px);
  background:
    linear-gradient(110deg, rgba(226, 215, 199, 0.94), rgba(243, 237, 228, 0.84)),
    url("/images/materials/hardware/official/drawers-ambia.jpg") center / cover no-repeat;
}

.drawer-design-layout {
  display: grid;
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.drawer-design-copy h2,
.drawer-fillers-title h2,
.corner-motion-layout h2,
.lift-motion-summary h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.drawer-design-copy > p:not(.eyebrow) {
  margin-top: 24px;
  color: #5d5954;
}

.drawer-design-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.drawer-design-images figure {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(36, 46, 50, 0.16);
  background: #b8afa3;
  box-shadow: 0 28px 70px rgba(56, 44, 32, 0.16);
}

.drawer-design-images figure:nth-child(2) { transform: translateY(44px); }

.drawer-design-images img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.drawer-design-images figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  background: rgba(18, 24, 26, 0.78);
  color: #fff;
  font-size: 0.68rem;
  backdrop-filter: blur(10px);
}

.drawer-fillers-section {
  padding-block: clamp(100px, 12vw, 175px);
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 15% 20%, rgba(77, 117, 136, 0.32), transparent 29rem),
    linear-gradient(145deg, #182125, #29343a 48%, #151c1f);
}

.drawer-fillers-title {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: end;
}

.drawer-fillers-title > p:last-child { color: rgba(243, 238, 230, 0.68); }

.drawer-fillers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(50px, 7vw, 92px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.drawer-fillers-grid article {
  position: relative;
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent);
}

.drawer-fillers-grid h3 { margin-top: 0; font-size: 1.35rem; }
.drawer-fillers-grid p { margin-top: 17px; color: rgba(243, 238, 230, 0.61); font-size: 0.8rem; }

.corner-motion-section {
  padding-block: clamp(100px, 12vw, 175px);
  background:
    radial-gradient(circle at 90% 18%, rgba(162, 91, 56, 0.23), transparent 28rem),
    linear-gradient(135deg, #efe1d5, #d8b9a4);
}

.corner-motion-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: center;
}

.corner-motion-layout figure {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #c6aa98;
  box-shadow: 0 34px 86px rgba(83, 47, 32, 0.18);
}

.corner-motion-layout figure > img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.corner-motion-layout figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 17px;
  background: rgba(42, 31, 27, 0.78);
  color: #fff;
  font-size: 0.72rem;
  backdrop-filter: blur(10px);
}

.corner-motion-layout > div > p:not(.eyebrow) { margin-top: 24px; color: #665850; }

.technical-trace {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.technical-trace span {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(225, 118, 45, 0.76);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(225, 118, 45, 0.42);
}

.technical-trace span:nth-child(1) { top: 33%; left: 25%; }
.technical-trace span:nth-child(2) { top: 48%; left: 47%; }
.technical-trace span:nth-child(3) { top: 38%; left: 68%; }

.technical-trace::before {
  position: absolute;
  top: 43%;
  left: 28%;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, #df772f, rgba(223, 119, 47, 0.16));
  box-shadow: 0 0 18px rgba(223, 119, 47, 0.65);
  content: "";
  transform: rotate(5deg);
}

.lift-product-sequence {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 12vw, 175px);
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 88% 10%, rgba(173, 109, 53, 0.26), transparent 30rem),
    linear-gradient(140deg, #1a2425, #33413b 48%, #17201f);
}

.lift-product-sequence::before {
  position: absolute;
  inset: 0;
  opacity: 0.44;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 74px),
    linear-gradient(154deg, transparent 0 49.7%, rgba(207, 134, 67, 0.55) 50%, transparent 50.3% 100%);
  content: "";
}

.lift-product-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(52px, 8vw, 110px);
}

.lift-product-row {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 6.4fr) minmax(330px, 3.7fr) minmax(220px, 2.2fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 13, 14, 0.39);
  box-shadow: 0 38px 92px rgba(0, 0, 0, 0.28);
}

.lift-product-row:nth-child(even) {
  grid-template-columns: minmax(220px, 2.2fr) minmax(330px, 3.7fr) minmax(0, 6.4fr);
}

.lift-product-row:nth-child(even) .lift-product-scene { order: 3; }
.lift-product-row:nth-child(even) .lift-tech-card { order: 1; }
.lift-product-row:nth-child(even) .lift-product-copy { order: 2; }

.lift-product-scene {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.lift-product-scene img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.lift-product-scene span,
.lift-tech-card figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 9px 12px;
  background: rgba(13, 18, 19, 0.75);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.64rem;
  backdrop-filter: blur(8px);
}

.lift-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 76px);
}

.lift-product-copy h2 {
  margin-top: 15px;
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
}

.lift-product-copy > p:not(.hardware-kicker) {
  margin-top: 24px;
  color: rgba(243, 238, 230, 0.69);
}

.lift-product-copy .hardware-source-link { color: #a8c1cc; }

.lift-tech-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #2c2925;
}

.lift-tech-card > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.32) saturate(1.1) contrast(1.06);
}

.lift-tech-glow {
  position: absolute;
  inset: 24% 10%;
  border: 1px solid rgba(239, 133, 56, 0.65);
  background: radial-gradient(circle, rgba(239, 123, 44, 0.28), transparent 67%);
  box-shadow: 0 0 42px rgba(239, 123, 44, 0.32), inset 0 0 28px rgba(239, 123, 44, 0.2);
  mix-blend-mode: screen;
}

.lift-tech-glow::before,
.lift-tech-glow::after {
  position: absolute;
  background: rgba(248, 154, 76, 0.74);
  box-shadow: 0 0 16px rgba(248, 154, 76, 0.8);
  content: "";
}

.lift-tech-glow::before { top: 50%; left: -14%; width: 128%; height: 1px; }
.lift-tech-glow::after { top: -14%; left: 50%; width: 1px; height: 128%; }

.lift-motion-summary {
  padding-block: clamp(100px, 12vw, 175px);
  background:
    radial-gradient(circle at 12% 78%, rgba(94, 128, 112, 0.2), transparent 30rem),
    linear-gradient(135deg, #e5ded2, #f4efe7);
}

.lift-motion-summary__grid {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(420px, 7fr);
  gap: clamp(48px, 8vw, 120px);
}

.lift-motion-summary dl { border-top: 1px solid rgba(38, 48, 51, 0.18); }
.lift-motion-summary dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding-block: 24px; border-bottom: 1px solid rgba(38, 48, 51, 0.18); }
.lift-motion-summary dt { color: #4d6f7f; font-weight: 760; }
.lift-motion-summary dd { color: #5e5a55; }

.hardware-page .site-footer {
  position: relative;
  background-position: center;
  background-size: cover;
}

.hardware-page .site-footer::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 18, 20, 0.97), rgba(13, 18, 20, 0.77));
  content: "";
}

.hardware-page .site-footer > * { position: relative; z-index: 1; }
.hardware-hub-page .site-footer { background-image: url("/images/materials/hardware/official/drawers-movento-clean.jpg"); }
.hardware-storage-page .site-footer { background-image: url("/images/materials/hardware/official/storage-tandem.jpg"); }
.hardware-drawers-page .site-footer { background-image: url("/images/materials/hardware/official/drawers-movento-clean.jpg"); }
.hardware-corners-page .site-footer { background-image: url("/images/materials/hardware/official/corners-magic-motion.avif"); }
.hardware-lifts-page .site-footer { background-image: url("/images/materials/hardware/official/lifts-hf-tech.jpg"); }

@media (max-width: 1120px) {
  .hardware-hub-hero__image { opacity: 0.56; }
  .hardware-hub-intro__grid,
  .hardware-detail-intro__grid,
  .drawer-fillers-title { grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr); }
  .hardware-hub-intro__grid > p:last-child,
  .hardware-detail-intro__grid > p:last-child,
  .drawer-fillers-title > p:last-child { grid-column: 2; }
  .lift-product-row,
  .lift-product-row:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(320px, 4fr); }
  .lift-product-row:nth-child(even) .lift-product-scene { order: 0; }
  .lift-product-row:nth-child(even) .lift-product-copy { order: 0; }
  .lift-tech-card { grid-column: 1 / -1; min-height: 340px; }
  .lift-tech-card > img { min-height: 340px; object-position: center 42%; }
}

@media (max-width: 860px) {
  .hardware-section-nav { position: relative; }
  .hardware-section-nav .shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hardware-section-nav a:last-child { grid-column: 1 / -1; }
  .hardware-hub-hero__image { width: 78vw; opacity: 0.38; }
  .hardware-hub-card,
  .hardware-hub-card:nth-child(even),
  .hardware-product-row,
  .hardware-product-row:nth-child(even),
  .drawer-design-layout,
  .corner-motion-layout,
  .hardware-checklist__grid,
  .lift-motion-summary__grid,
  .lift-product-row,
  .lift-product-row:nth-child(even) { grid-template-columns: 1fr; }
  .hardware-hub-card:nth-child(even) figure,
  .hardware-product-row:nth-child(even) figure { order: 0; }
  .hardware-hub-intro__grid,
  .hardware-detail-intro__grid,
  .drawer-fillers-title { grid-template-columns: 1fr; }
  .hardware-hub-intro__grid > p:last-child,
  .hardware-detail-intro__grid > p:last-child,
  .drawer-fillers-title > p:last-child { grid-column: auto; }
  .drawer-design-images { margin-bottom: 44px; }
  .drawer-fillers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lift-product-row:nth-child(even) .lift-product-scene,
  .lift-product-row:nth-child(even) .lift-product-copy,
  .lift-product-row:nth-child(even) .lift-tech-card { order: 0; }
  .lift-tech-card { grid-column: auto; }
}

@media (max-width: 620px) {
  .hardware-hub-hero,
  .hardware-detail-hero { min-height: 650px; }
  .hardware-hub-hero__copy,
  .hardware-detail-hero__copy { padding-block: 132px 82px; }
  .hardware-hub-hero__image { top: 25%; right: -30%; bottom: 5%; width: 120vw; }
  .hardware-lift-hero-tech { right: -12%; bottom: 3%; width: 220px; opacity: 0.52; }
  .hardware-detail-hero::before { background: linear-gradient(90deg, rgba(14, 19, 21, 0.97), rgba(14, 19, 21, 0.62)); }
  .hardware-hub-card,
  .hardware-hub-card figure,
  .hardware-hub-card img,
  .hardware-product-row,
  .hardware-product-row figure,
  .hardware-product-row figure > img,
  .corner-motion-layout figure,
  .corner-motion-layout figure > img,
  .lift-product-row,
  .lift-product-scene,
  .lift-product-scene img,
  .lift-tech-card,
  .lift-tech-card > img { min-height: 0; }
  .hardware-hub-card figure,
  .hardware-hub-card img,
  .hardware-product-row figure,
  .hardware-product-row figure > img,
  .corner-motion-layout figure,
  .corner-motion-layout figure > img,
  .lift-product-scene,
  .lift-product-scene img,
  .lift-tech-card,
  .lift-tech-card > img { aspect-ratio: 4 / 3; }
  .hardware-hub-card > div,
  .hardware-product-copy,
  .lift-product-copy { padding: 34px 26px 42px; }
  .drawer-design-images { grid-template-columns: 1fr; }
  .drawer-design-images figure:nth-child(2) { transform: none; }
  .drawer-design-images figure,
  .drawer-design-images img { min-height: 0; aspect-ratio: 4 / 3; }
  .drawer-fillers-grid,
  .hardware-checklist ul { grid-template-columns: 1fr; }
  .drawer-fillers-grid article { min-height: 0; }
  .hardware-checklist li { min-height: 0; }
  .lift-motion-summary dl > div { grid-template-columns: 100px 1fr; }
  .hardware-page .site-footer { background-position: 65% center; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 7%, rgba(159, 128, 101, 0.12), transparent 29rem),
    linear-gradient(180deg, #f5f1eb 0%, var(--paper) 38%, #eee7dd 100%);
  color: var(--ink);
  font-family: "Onest Variable", "Onest", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

main {
  overflow: clip;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 520;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 850px;
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  line-height: 1.05;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: clamp(22px, 4vw, 56px);
}

.section {
  padding-block: clamp(82px, 9vw, 132px);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  min-height: 78px;
  padding-inline: clamp(22px, 4vw, 56px);
  border-bottom: 1px solid rgba(34, 35, 36, 0.12);
  background: rgba(241, 238, 232, 0.94);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: block;
  width: clamp(116px, 8.8vw, 132px);
  overflow: visible;
}

.wordmark__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  overflow: visible;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 36px);
  color: #3f3d3a;
  font-size: 0.9rem;
}

.desktop-nav a,
.text-link {
  position: relative;
}

.nav-dropdown {
  position: relative;
  padding-block: 27px;
  margin-block: -27px;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger span {
  margin-top: -3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 5;
  display: grid;
  width: 370px;
  max-height: min(720px, calc(100dvh - 96px));
  padding: 12px 18px 16px;
  border: 1px solid var(--line);
  background: rgba(241, 238, 232, 0.98);
  box-shadow: 0 18px 42px rgba(34, 35, 36, 0.13);
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown-panel > a,
.material-menu-accordion a {
  padding: 10px 11px;
  font-size: 0.84rem;
}

.material-menu-root {
  display: block;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem !important;
}

.material-menu-accordion details {
  border-bottom: 1px solid var(--line);
}

.material-menu-accordion > .material-menu-direct {
  display: flex;
  min-height: 47px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: inherit;
  font-weight: 620;
}

.material-menu-accordion summary {
  position: relative;
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px 0 0;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 620;
  list-style: none;
}

.material-menu-accordion summary .material-menu-section-label {
  display: flex;
  flex: 1;
  min-height: 47px;
  align-items: center;
  padding: 8px 11px;
  color: inherit;
}

/* Ссылка на обзорную страницу раздела — первым пунктом внутри раскрытого списка */
.material-menu-accordion > details > div > .material-menu-section-link {
  font-weight: 620;
}

.material-menu-accordion summary::-webkit-details-marker {
  display: none;
}

.material-menu-accordion summary span[aria-hidden] {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, 2px);
  transition: transform 160ms ease;
}

.material-menu-accordion details[open] summary span[aria-hidden] {
  transform: rotate(225deg) translate(-1px, -1px);
}

.material-menu-accordion details > div {
  display: grid;
  padding: 0 6px 9px 15px;
}

.material-menu-accordion details > div a {
  min-height: 36px;
  padding-block: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.material-menu-subgroup {
  margin: 3px 0 6px;
  border-left: 1px solid rgba(34, 35, 36, 0.18);
}

.material-menu-accordion details > div .material-menu-subgroup__title {
  display: block;
  color: var(--ink);
  font-weight: 620;
}

.material-menu-subgroup__links {
  display: grid;
  padding-left: 12px;
}

.material-menu-accordion details > div .material-menu-subgroup__links a {
  min-height: 32px;
  padding-block: 5px;
  font-size: 0.74rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.78rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.header-cta:hover,
.button--dark:hover {
  background: var(--blue);
}

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--stone);
  background: var(--stone);
}

.mobile-nav {
  display: none;
}

/* Hero: фотография занимает весь блок, заголовок и кнопки лежат на ней */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(640px, 60vw, 820px);
  /* растягиваем слой с затемнением на всю высоту: иначе виден стык градиента */
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--ink-deep);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(120px, 16vw, 220px) clamp(32px, 6vw, 96px) clamp(56px, 6vw, 92px) clamp(22px, 4vw, 56px);
  background: linear-gradient(
    180deg,
    rgba(16, 17, 18, 0.16) 0%,
    rgba(16, 17, 18, 0.3) 42%,
    rgba(16, 17, 18, 0.72) 100%
  );
  color: var(--paper);
}

.hero-copy .eyebrow {
  color: rgba(243, 238, 230, 0.72);
}

.hero-copy .button--dark {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink-deep);
}

.hero-copy .button--dark:hover {
  border-color: var(--stone);
  background: var(--stone);
}

.hero-copy .text-link {
  color: var(--paper);
}

.hero h1 {
  max-width: 900px;
  margin-top: 22px;
  color: var(--paper);
  font-size: clamp(3.15rem, 5.1vw, 4.15rem);
  line-height: 1.035;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 6px;
  font-size: 0.92rem;
  font-weight: 560;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 40px;
  margin-bottom: clamp(46px, 6vw, 78px);
}

.projects-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(63, 97, 127, 0.12), transparent 28rem),
    radial-gradient(circle at 8% 88%, rgba(159, 128, 101, 0.16), transparent 32rem),
    var(--paper);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-link {
  margin-bottom: 8px;
}

.project-grid {
  display: grid;
  grid-auto-rows: minmax(300px, 360px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.project-card figure {
  height: 100%;
}

.project-card--primary {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.project-card--dark,
.project-card--blue {
  grid-column: 8 / 13;
}

.project-card--dark {
  grid-row: 1;
}

.project-card--blue {
  grid-row: 2;
}

.project-image-wrap {
  height: calc(100% - 64px);
  min-height: 0;
  background: var(--stone);
  overflow: hidden;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.project-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-top: 15px;
}

.project-card figcaption strong {
  font-size: 1.05rem;
  font-weight: 650;
}

.project-card figcaption span {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.process-section {
  background:
    linear-gradient(90deg, rgba(21, 22, 23, 0.95) 0%, rgba(21, 22, 23, 0.86) 56%, rgba(21, 22, 23, 0.78) 100%),
    url("/images/project-andrei-a.webp") center 46% / cover no-repeat;
  color: var(--paper);
}

.process-section .eyebrow {
  color: rgba(241, 238, 232, 0.72);
}

.process-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(56px, 8vw, 128px);
}

.process-intro {
  position: sticky;
  top: 124px;
  align-self: start;
}

.process-intro h2 {
  margin-top: 20px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(241, 238, 232, 0.28);
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) 1fr;
  align-items: start;
  gap: 20px;
  padding-block: 27px;
  border-bottom: 1px solid rgba(241, 238, 232, 0.28);
}

.process-list h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.process-list p {
  color: rgba(241, 238, 232, 0.9);
  font-size: 0.92rem;
}

.owner-section {
  position: relative;
  isolation: isolate;
  background: var(--paper-soft);
  overflow: hidden;
}

.owner-section::before {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: -2;
  background: url("/images/portfolio/karima/karima-1.jpg") center / cover no-repeat;
  content: "";
  opacity: 0.28;
}

.owner-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--paper-soft) 0%, rgba(222, 212, 200, 0.96) 42%, rgba(222, 212, 200, 0.76) 100%);
  content: "";
}

.owner-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.studio-portrait {
  position: relative;
  min-height: 620px;
  background: var(--stone);
  overflow: hidden;
}

.studio-portrait img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 50% 34%;
}

.studio-portrait figcaption,
.production-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(21, 22, 23, 0.72);
  color: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.studio-copy {
  padding: clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 238, 230, 0.58);
  backdrop-filter: blur(10px);
}

.studio-copy h2 {
  max-width: 690px;
  margin-top: 30px;
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.studio-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
}

.studio-copy > p:not(.eyebrow) + p {
  margin-top: 14px;
}

.trusted-section {
  padding-block: clamp(56px, 6vw, 88px);
  background:
    linear-gradient(95deg, rgba(18, 23, 27, 0.96), rgba(18, 23, 27, 0.86)),
    url("/images/portfolio/georgy-f/georgy-f-1.jpg") center 48% / cover no-repeat;
  color: var(--paper);
}

.trusted-layout {
  display: grid;
  grid-template-columns: 3fr 9fr;
  align-items: center;
  gap: clamp(42px, 7vw, 108px);
}

.trusted-layout h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  white-space: nowrap;
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trusted-logos li {
  display: flex;
  min-width: 0;
  height: 82px;
  align-items: center;
  justify-content: center;
}

.trusted-logo {
  width: auto;
  /* The markup carries width/height for the aspect ratio; without this the
     height attribute would win over the per-logo width below. */
  height: auto;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.trusted-logo--utilitas {
  width: min(100%, 210px);
}

.trusted-logo--sushi-plaza {
  width: min(100%, 176px);
  max-height: 72px;
}

.trusted-logo--kuehne-nagel {
  width: min(100%, 220px);
  /* Секция стоит на тёмной фотографии, поэтому синий фирменный знак осветляем */
  filter: brightness(0) invert(1) opacity(0.92);
}

.production-section {
  background:
    linear-gradient(90deg, rgba(243, 238, 230, 0.86) 0%, rgba(243, 238, 230, 0.96) 52%, rgba(243, 238, 230, 0.99) 100%),
    url("/images/portfolio/tenno/tenno-1.jpg") left center / 60% auto no-repeat,
    var(--paper);
}

.production-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 108px);
  align-items: center;
}

.production-copy {
  padding-right: clamp(0px, 2vw, 28px);
  padding-block: clamp(28px, 4vw, 54px);
  background: rgba(243, 238, 230, 0.68);
  backdrop-filter: blur(8px);
}

.production-copy h2 {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.production-copy > p:not(.eyebrow, .studio-stat) {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
}

.studio-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.studio-stat strong {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1;
}

.studio-stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.production-link {
  margin-top: 32px;
}

.production-visual {
  position: relative;
  min-height: 500px;
  background: var(--stone);
  overflow: hidden;
}

.production-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

.partners-section {
  background:
    linear-gradient(105deg, rgba(222, 212, 200, 0.96) 0%, rgba(222, 212, 200, 0.86) 52%, rgba(222, 212, 200, 0.73) 100%),
    url("/images/portfolio/agne/agne-1.jpg") center 45% / cover no-repeat;
}

.partners-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  align-items: start;
  gap: clamp(56px, 8vw, 128px);
}

.partners-heading h2 {
  margin-top: 20px;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
}


.partner-list img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.partner-list span {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.78rem;
}

.brands-section {
  position: relative;
  background:
    linear-gradient(100deg, rgba(15, 16, 17, 0.97) 0%, rgba(15, 16, 17, 0.91) 52%, rgba(15, 16, 17, 0.86) 100%),
    url("/images/project-gerli.webp") center 54% / cover no-repeat;
  color: var(--paper);
}

.brands-heading {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px clamp(56px, 8vw, 128px);
  margin-bottom: clamp(52px, 6vw, 82px);
}

.brands-heading .eyebrow {
  grid-column: 1 / -1;
}

.brands-heading h2 {
  grid-column: 1 / 2;
  font-size: clamp(2.2rem, 3.8vw, 3.45rem);
}

.brands-heading > p:last-child {
  max-width: 600px;
  grid-column: 2 / 3;
  align-self: end;
  padding-bottom: 8px;
  color: rgba(241, 238, 232, 0.74);
}

.brands-section .eyebrow {
  color: rgba(241, 238, 232, 0.62);
}

.brand-groups {
  border-top: 1px solid rgba(241, 238, 232, 0.2);
}

.brand-group {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 30px;
  padding-block: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid rgba(241, 238, 232, 0.2);
}

.brand-group-label > p {
  color: rgba(241, 238, 232, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-group-label span {
  display: block;
  max-width: 210px;
  margin-top: 10px;
  color: rgba(241, 238, 232, 0.56);
  font-size: 0.72rem;
  line-height: 1.45;
}

.brand-group ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 4vw, 52px) clamp(34px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-group li {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
}

.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-wordmark--egger {
  padding-left: 18px;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 820;
  letter-spacing: -0.075em;
}

.brand-wordmark--egger::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9px;
  background: #e1261c;
  content: "";
}

.brand-wordmark--fenix {
  font-size: clamp(1.35rem, 2.25vw, 1.95rem);
  font-weight: 420;
  letter-spacing: 0.2em;
}

.brand-wordmark--technistone {
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  font-style: italic;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.brand-wordmark--blum {
  color: #f47b20;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  font-weight: 780;
  letter-spacing: -0.085em;
}

.brand-wordmark--hettich {
  font-size: clamp(1.45rem, 2.45vw, 2.1rem);
  font-weight: 760;
  letter-spacing: -0.055em;
}

.brand-wordmark--kessebohmer {
  font-size: clamp(1rem, 1.7vw, 1.42rem);
  font-weight: 680;
  letter-spacing: 0.045em;
}

.brand-wordmark--hafele {
  color: #ee2b2f;
  font-size: clamp(1.45rem, 2.35vw, 2.05rem);
  font-weight: 760;
  letter-spacing: 0.02em;
}

.brand-wordmark--franke {
  font-size: clamp(1.4rem, 2.35vw, 2rem);
  font-weight: 720;
  letter-spacing: 0.16em;
}

.brand-wordmark--aeg {
  border: 2px solid #e52822;
  padding: 7px 10px 6px;
  color: #ef3931;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 760;
  letter-spacing: 0.05em;
}

.brand-wordmark--bosch {
  color: #ea0016;
  font-size: clamp(1.45rem, 2.45vw, 2.1rem);
  font-weight: 760;
  letter-spacing: 0.01em;
}

.brand-wordmark--electrolux {
  font-size: clamp(1.25rem, 2.15vw, 1.85rem);
  font-weight: 470;
  letter-spacing: -0.045em;
}

.brand-wordmark--miele {
  padding: 6px 11px;
  background: #b80f1a;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  font-weight: 720;
  letter-spacing: 0.075em;
}

.brand-wordmark--neff {
  border-bottom: 3px solid rgba(255, 255, 255, 0.9);
  padding-bottom: 4px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 760;
  letter-spacing: 0.12em;
}

.brand-wordmark--falmec {
  font-size: clamp(1.35rem, 2.25vw, 1.95rem);
  font-style: italic;
  font-weight: 520;
  letter-spacing: 0.03em;
}

.brand-wordmark--smeg {
  font-size: clamp(1.55rem, 2.55vw, 2.2rem);
  font-weight: 780;
  letter-spacing: -0.08em;
}

.reviews-section {
  background:
    linear-gradient(90deg, rgba(243, 238, 230, 0.9) 0%, rgba(243, 238, 230, 0.97) 56%, rgba(243, 238, 230, 0.82) 100%),
    url("/images/portfolio/brenda/brenda-1.jpg") center / cover no-repeat;
  color: var(--ink);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(56px, 8vw, 128px);
}

.reviews-heading .eyebrow {
  color: var(--muted);
}

.reviews-heading h2 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 3.5vw, 3.3rem);
}

.review-list {
  padding-inline: clamp(22px, 3vw, 40px);
  border-top: 1px solid var(--line);
  background: rgba(249, 246, 240, 0.5);
  backdrop-filter: blur(10px);
}

.review-list blockquote {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.review-list blockquote p {
  max-width: 760px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.review-list cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.review-source {
  margin-top: 28px;
  color: var(--muted);
}

.faq-section {
  padding-top: 0;
  background:
    radial-gradient(circle at 88% 34%, rgba(63, 97, 127, 0.11), transparent 26rem),
    linear-gradient(125deg, rgba(243, 238, 230, 0.7), rgba(233, 223, 211, 0.92));
}

.faq-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(56px, 8vw, 128px);
  padding-top: clamp(82px, 9vw, 132px);
  border-top: 1px solid var(--line);
}

.faq-layout h2 {
  margin-top: 20px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 580;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--muted);
  content: "+";
  font-size: 1.35rem;
  font-weight: 350;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 680px;
  padding: 0 48px 25px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.estimate-section {
  padding-block: clamp(82px, 10vw, 146px);
  background:
    linear-gradient(90deg, rgba(21, 22, 23, 0.97) 0%, rgba(21, 22, 23, 0.91) 48%, rgba(21, 22, 23, 0.74) 100%),
    url("/images/project-helen.webp") center / cover no-repeat;
  color: var(--paper);
}

.estimate-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(56px, 9vw, 132px);
}

.estimate-intro .eyebrow {
  color: var(--stone);
}

.estimate-intro h2 {
  margin-top: 20px;
}

.estimate-intro > p:last-child {
  max-width: 470px;
  margin-top: 28px;
  color: var(--stone);
}

.estimate-form {
  display: grid;
  gap: 22px;
}

.estimate-form label {
  display: grid;
  gap: 8px;
}

.estimate-form label > span {
  color: #dfddd8;
  font-size: 0.78rem;
}

.estimate-form label small {
  margin-left: 6px;
  color: #aaa59d;
  font-size: inherit;
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(241, 238, 232, 0.42);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
}

.estimate-form input {
  min-height: 48px;
}

.estimate-form textarea {
  min-height: 118px;
  padding-block: 10px;
  resize: vertical;
}

.estimate-materials {
  border-block: 1px solid rgba(241, 238, 232, 0.2);
  padding-block: 16px;
}

.estimate-materials > span {
  color: #dfddd8;
  font-size: 0.78rem;
}

.estimate-materials ul {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.estimate-materials li {
  display: grid;
  gap: 2px;
  color: #aaa59d;
  font-size: 0.76rem;
}

.estimate-materials li strong {
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 620;
}

.estimate-materials p {
  margin-top: 13px;
  color: #aaa59d;
  font-size: 0.72rem;
}

.estimate-form input:focus,
.estimate-form textarea:focus {
  border-color: var(--paper);
}

.file-field input {
  min-height: auto;
  padding-block: 12px;
  color: #c8c4bd;
  font-size: 0.82rem;
}

.file-field input::file-selector-button {
  margin-right: 14px;
  border: 1px solid rgba(241, 238, 232, 0.42);
  padding: 8px 11px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.estimate-form .button {
  justify-self: start;
  margin-top: 10px;
}

.form-note {
  color: #aaa59d;
  font-size: 0.74rem;
}

.site-footer {
  --footer-image: url("/images/portfolio/norman/norman-1.jpg");
  --footer-position: center 56%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border-top: 1px solid rgba(241, 238, 232, 0.15);
  background-color: #090b0c;
  background-image: var(--footer-image);
  background-position: var(--footer-position);
  background-size: cover;
  color: var(--paper);
}

.site-footer::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 11, 0.97) 0%, rgba(8, 10, 11, 0.91) 48%, rgba(8, 10, 11, 0.67) 100%),
    linear-gradient(180deg, rgba(8, 10, 11, 0.18), rgba(8, 10, 11, 0.76));
  content: "";
}

.site-footer::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.36;
  background: repeating-linear-gradient(90deg, transparent 0 96px, rgba(255, 255, 255, 0.055) 96px 97px);
  content: "";
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding-block: 30px;
}

.footer-logo {
  display: block;
  width: clamp(190px, 19vw, 280px);
  color: #fff;
}

.footer-logo__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.footer-contacts {
  display: grid;
  gap: 7px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-style: normal;
  text-align: right;
}

.footer-contacts a {
  justify-self: end;
  color: #fff;
}

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

@media (max-width: 1080px) {
  .desktop-nav {
    gap: clamp(10px, 1.2vw, 14px);
    font-size: 0.78rem;
  }

  .hero {
    grid-template-columns: 44% 56%;
  }

  .project-grid {
    grid-auto-rows: 320px;
  }

}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav > summary {
    display: grid;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 7px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav > summary span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }

  .mobile-nav nav {
    position: absolute;
    top: 58px;
    right: -22px;
    display: grid;
    width: min(330px, calc(100vw - 28px));
    max-height: calc(100dvh - 84px);
    gap: 1px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 60px rgba(34, 35, 36, 0.12);
    overflow-y: auto;
  }

  .mobile-nav nav > a:not(.button) {
    padding: 12px 8px;
  }

  .mobile-subnav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .mobile-subnav > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-subnav > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-subnav > summary::after {
    color: var(--muted);
    content: "+";
    font-size: 1.15rem;
  }

  .mobile-subnav[open] > summary::after {
    content: "−";
  }

  .mobile-subnav > div {
    display: grid;
    padding: 0 0 10px 12px;
  }

  .mobile-subnav a {
    padding: 9px 8px;
    color: var(--muted);
    font-size: 0.88rem;
  }

  .mobile-nav .button {
    margin-top: 10px;
  }

  .hero-copy {
    padding: clamp(100px, 22vw, 150px) clamp(22px, 6vw, 50px) 48px;
  }

  .hero h1 {
    max-width: 680px;
  }

  .project-grid {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .project-card--primary,
  .project-card--dark,
  .project-card--blue {
    grid-column: auto;
    grid-row: auto;
  }

  .project-image-wrap {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .project-card--primary .project-image-wrap {
    aspect-ratio: 4 / 5;
  }

  .process-layout,
  .partners-layout,
  .reviews-layout,
  .faq-layout,
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
  }

  .brands-heading {
    grid-template-columns: 1fr;
  }

  .brands-heading h2,
  .brands-heading > p:last-child {
    grid-column: 1;
  }

  .brands-heading > p:last-child {
    margin-top: 10px;
  }

  .owner-layout,
  .production-layout,
  .trusted-layout {
    grid-template-columns: 1fr;
  }

  .trusted-layout {
    gap: 38px;
  }

  .trusted-layout h2 {
    white-space: normal;
  }

  .studio-copy {
    padding: 42px 0;
  }

  .production-copy {
    padding: 0;
  }

  .production-visual {
    min-height: 0;
    aspect-ratio: 500 / 306;
  }

  .production-visual img {
    min-height: 0;
  }

  .review-list {
    margin-top: 8px;
  }

  .brand-group {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .wordmark {
    width: 104px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.05rem);
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 34px;
  }

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

  .section {
    padding-block: 72px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 18px;
  }

  .section-link {
    margin-top: 26px;
  }

  .project-grid {
    gap: 42px;
  }

  .project-image-wrap,
  .project-card--primary .project-image-wrap {
    aspect-ratio: 4 / 5;
  }

  .project-card figcaption {
    display: grid;
    min-height: auto;
  }

  .project-card figcaption span {
    text-align: left;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 23px;
  }

  .process-list li p {
    grid-column: auto;
  }

  .owner-layout {
    gap: 28px;
  }

  .trusted-logos {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .trusted-logos li {
    height: 64px;
  }

  .studio-portrait,
  .studio-portrait img {
    min-height: 500px;
  }

  .production-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .production-visual img {
    min-height: 0;
  }

  .reviews-heading h2 {
    font-size: 2.25rem;
  }

  .faq-layout {
    padding-top: 72px;
  }

  .estimate-section {
    padding-block: 76px;
  }

  .estimate-form .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-contacts {
    text-align: left;
  }

  .footer-contacts a {
    justify-self: start;
  }

  .footer-logo {
    width: min(240px, 72vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.site-header--dark {
  border-bottom-color: rgba(241, 238, 232, 0.16);
  background: rgba(21, 22, 23, 0.94);
  color: var(--paper);
}

.site-header--dark .desktop-nav {
  color: rgba(241, 238, 232, 0.76);
}

.site-header--dark .nav-dropdown-trigger span {
  color: rgba(241, 238, 232, 0.62);
}

.site-header--dark .nav-dropdown-panel {
  border-color: rgba(241, 238, 232, 0.16);
  background: rgba(21, 22, 23, 0.98);
  color: var(--paper);
}

.site-header--dark .material-menu-root,
.site-header--dark .material-menu-accordion details,
.site-header--dark .material-menu-accordion > .material-menu-direct {
  border-color: rgba(241, 238, 232, 0.14);
}

.site-header--dark .material-menu-accordion details > div a {
  color: rgba(241, 238, 232, 0.66);
}

.site-header--dark .mobile-nav > summary span {
  background: var(--paper);
}

@media (max-width: 900px) {
  .site-header--dark .mobile-nav nav {
    color: var(--ink);
  }
}

.header-cta--light {
  background: var(--paper);
  color: var(--ink);
}

.header-cta--light:hover {
  background: var(--stone);
}

.production-hero {
  display: flex;
  min-height: 720px;
  align-items: flex-end;
  padding-block: clamp(100px, 14vw, 180px) clamp(80px, 10vw, 130px);
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.76) 56%, rgba(16, 17, 18, 0.48) 100%),
    url("/images/production-panels.webp") center / cover no-repeat;
  color: var(--paper);
}

.production-hero .eyebrow,
.production-page-cta .eyebrow {
  color: rgba(241, 238, 232, 0.66);
}

.production-hero h1 {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(3.1rem, 6vw, 5.25rem);
  line-height: 1.02;
}

.production-hero-copy > p:last-child {
  max-width: 680px;
  margin-top: 30px;
  color: rgba(241, 238, 232, 0.82);
  font-size: 1.08rem;
}

.production-page-heading,
.preparation-heading {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.production-process-page {
  background:
    radial-gradient(circle at 86% 14%, rgba(159, 128, 101, 0.14), transparent 30rem),
    var(--paper);
}

.production-page-heading h2,
.preparation-heading h2 {
  margin-top: 20px;
}

.production-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0;
  padding-top: 0;
  padding-bottom: 0;
  list-style: none;
}

.production-step-grid li {
  min-height: 310px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.production-step-grid li:first-child {
  border-left: 1px solid var(--line);
}

.production-step-grid h3,
.preparation-grid h3,
.mistakes-grid h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.production-step-grid p,
.mistakes-grid p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.production-machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(46px, 6vw, 76px);
}

.production-machine-grid figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: transparent;
}

.production-machine-grid img {
  width: 100%;
  aspect-ratio: 500 / 306;
  object-fit: cover;
  transition: transform 450ms ease;
}

.production-machine-grid figure:hover img {
  transform: scale(1.025);
}

.production-machine-grid figcaption {
  padding: 20px 2px 0;
}

.production-machine-grid figcaption span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.production-machine-grid figcaption h3 {
  margin-top: 8px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.production-machine-grid figcaption p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.production-evidence-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  column-gap: clamp(36px, 8vw, 120px);
  align-items: end;
}

.production-evidence-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.production-evidence-heading h2 {
  max-width: 760px;
}

.production-evidence-heading > p:last-child {
  max-width: 560px;
  margin: 0;
  line-height: 1.68;
}

.production-evidence-list {
  display: grid;
  gap: clamp(54px, 8vw, 112px);
}

.production-evidence-row {
  display: grid;
  grid-template-areas: "media copy";
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 104px);
  align-items: center;
}

.production-evidence-row--reverse {
  grid-template-areas: "copy media";
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.production-evidence-row figure {
  grid-area: media;
  min-width: 0;
  margin: 0;
}

.production-evidence-row img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.production-evidence-copy {
  grid-area: copy;
  max-width: 470px;
}

.production-evidence-copy h3 {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.08;
}

.production-evidence-copy > p:last-child {
  margin-top: 24px;
  font-size: 0.98rem;
  line-height: 1.72;
}

.production-journey-hero {
  background:
    linear-gradient(90deg, rgba(15, 16, 17, 0.97) 0%, rgba(15, 16, 17, 0.82) 55%, rgba(15, 16, 17, 0.56) 100%),
    url("/images/production/process-measurement-bg-owner-v1.webp") center 57% / cover no-repeat;
}

.process-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 10vw, 148px);
  background-color: #514f4a;
  background-size: cover, cover;
  background-repeat: no-repeat;
  color: #f4f1eb;
}

.process-stage::before,
.process-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.process-stage::before {
  display: none;
}

.process-stage::after {
  z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 86px);
}

.process-stage > .container {
  position: relative;
  z-index: 1;
}

.process-stage--measurement {
  background-image:
    linear-gradient(90deg, rgba(31, 32, 31, 0.91), rgba(48, 47, 44, 0.8) 52%, rgba(41, 42, 40, 0.9)),
    url("/images/production/process-measurement-bg-owner-v2.webp");
  background-position: center, center 44%;
}

.process-stage--project {
  background-image:
    linear-gradient(90deg, rgba(31, 32, 31, 0.91), rgba(48, 47, 44, 0.8) 52%, rgba(41, 42, 40, 0.9)),
    url("/images/production/process-project-bg-owner-v4.png");
  background-position: center, center 48%;
}

.process-stage--production {
  background-image:
    linear-gradient(90deg, rgba(31, 32, 31, 0.91), rgba(48, 47, 44, 0.8) 52%, rgba(41, 42, 40, 0.9)),
    url("/images/production/process-production-bg-owner-v2.webp");
  background-position: center, center 48%;
}

.process-stage--delivery {
  background-image:
    linear-gradient(90deg, rgba(31, 32, 31, 0.91), rgba(48, 47, 44, 0.8) 52%, rgba(41, 42, 40, 0.9)),
    url("/images/production/process-delivery-bg-owner-v4.jpg");
  background-position: center, center 54%;
}

.process-stage--installation {
  background-image:
    linear-gradient(90deg, rgba(31, 32, 31, 0.91), rgba(48, 47, 44, 0.8) 52%, rgba(41, 42, 40, 0.9)),
    url("/images/production/process-installation-bg-owner-v2.webp");
  background-position: center, center 46%;
}

.process-stage--connections {
  background-image:
    linear-gradient(90deg, rgba(31, 32, 31, 0.91), rgba(48, 47, 44, 0.8) 52%, rgba(41, 42, 40, 0.9)),
    url("/images/production/process-connections-bg-owner-v2.webp");
  background-position: center, center 50%;
}

.process-stage + .process-stage {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-stage .eyebrow {
  color: rgba(244, 241, 235, 0.62);
}

.process-stage-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 122px);
  align-items: start;
}

.process-stage-grid--reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.process-stage-grid--reverse > .process-stage-copy {
  order: 2;
}

.process-stage-copy {
  max-width: 590px;
}

.process-stage-copy h2,
.process-stage-heading h2 {
  margin-top: 18px;
  color: #f7f4ee;
  font-size: clamp(2.45rem, 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.process-stage-copy > p:not(.eyebrow, .process-stage-result),
.process-stage-heading > p:last-child,
.process-stage-summary p,
.production-operation > div > p:last-child {
  color: rgba(244, 241, 235, 0.8);
  line-height: 1.72;
}

.process-stage-copy > p:not(.eyebrow, .process-stage-result) {
  margin-top: 26px;
}

.process-stage-result {
  margin-top: 30px;
  padding-left: 22px;
  border-left: 2px solid rgba(217, 188, 156, 0.72);
  color: rgba(244, 241, 235, 0.88);
  line-height: 1.66;
}

.process-client-prep {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-client-prep h3,
.process-stage-summary h3,
.production-operation h3 {
  color: #f7f4ee;
}

.process-client-prep h3 {
  font-size: 1.25rem;
}

.process-client-prep > p {
  margin-top: 13px;
  color: rgba(244, 241, 235, 0.72);
  font-size: 0.92rem;
  line-height: 1.62;
}

.process-client-prep ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: rgba(244, 241, 235, 0.82);
  font-size: 0.92rem;
  line-height: 1.58;
}

.process-stage-media,
.process-stage-gallery figure,
.production-operation figure {
  position: relative;
  min-width: 0;
  margin: 0;
}

.process-stage-media img,
.process-stage-gallery img,
.production-operation img {
  display: block;
  width: 100%;
  border-radius: clamp(18px, 2.2vw, 30px);
  object-fit: cover;
}

.process-stage-media--portrait {
  width: min(100%, 660px);
  justify-self: end;
}

.process-stage-grid--reverse .process-stage-media--portrait {
  justify-self: start;
}

.process-stage-media--portrait img {
  aspect-ratio: 4 / 5;
}

.process-stage-media--landscape img {
  aspect-ratio: 3 / 2;
}

.process-stage-media figcaption,
.process-stage-gallery figcaption {
  margin-top: 13px;
  color: rgba(244, 241, 235, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.process-stage-gallery {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

.process-stage-gallery--technical img {
  aspect-ratio: 2.05 / 1;
  background: rgba(237, 235, 229, 0.92);
  object-fit: contain;
}

.process-stage-gallery--portrait {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-stage-gallery--portrait img {
  aspect-ratio: 3 / 4;
}

.process-stage-gallery--portrait .process-stage-gallery-feature {
  grid-column: 1 / -1;
}

.process-stage-gallery--portrait .process-stage-gallery-feature img {
  aspect-ratio: 4 / 3;
}

.process-stage-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  column-gap: clamp(42px, 9vw, 130px);
  align-items: end;
}

.process-stage-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.process-stage-heading h2 {
  max-width: 850px;
}

.process-stage-heading > p:last-child {
  margin: 0;
}

.production-operation-list {
  display: grid;
  gap: clamp(54px, 8vw, 106px);
  margin-top: clamp(58px, 8vw, 108px);
}

.production-operation {
  display: grid;
  grid-template-areas: "media copy";
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.82fr);
  gap: clamp(38px, 8vw, 116px);
  align-items: center;
}

.production-operation--reverse {
  grid-template-areas: "copy media";
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
}

.production-operation figure {
  grid-area: media;
}

.production-operation img {
  aspect-ratio: 16 / 10;
}

.production-operation > div {
  grid-area: copy;
  max-width: 480px;
}

.production-operation h3 {
  margin-top: 17px;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.production-operation > div > p:not(.eyebrow) {
  margin-top: 22px;
}

.process-stage-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 108px);
  margin-top: clamp(66px, 9vw, 126px);
  padding-block: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.process-stage-summary h3 {
  font-size: clamp(1.6rem, 2.7vw, 2.45rem);
}

.process-stage-summary p {
  margin: 0;
}

@media (max-width: 900px) {
  .process-stage-grid,
  .process-stage-grid--reverse,
  .process-stage-heading,
  .production-operation,
  .production-operation--reverse,
  .process-stage-summary {
    grid-template-columns: 1fr;
  }

  .process-stage-grid--reverse > .process-stage-copy {
    order: initial;
  }

  .process-stage-grid,
  .process-stage-grid--reverse {
    gap: 42px;
  }

  .process-stage-copy,
  .process-stage-heading h2,
  .process-stage-heading > p:last-child,
  .production-operation > div {
    max-width: 700px;
  }

  .process-stage-media--portrait,
  .process-stage-grid--reverse .process-stage-media--portrait {
    width: 100%;
    max-width: 660px;
    justify-self: start;
  }

  .process-stage-heading {
    row-gap: 24px;
  }

  .production-operation,
  .production-operation--reverse {
    grid-template-areas:
      "media"
      "copy";
    gap: 28px;
  }

  .process-stage-summary {
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .process-stage {
    padding-block: 74px;
  }

  .process-stage-copy h2,
  .process-stage-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .process-stage-gallery--portrait {
    grid-template-columns: 1fr;
  }

  .process-stage-gallery--portrait img {
    aspect-ratio: 4 / 5;
  }
}

.preparation-section {
  background:
    linear-gradient(105deg, rgba(222, 212, 200, 0.96) 0%, rgba(222, 212, 200, 0.84) 58%, rgba(222, 212, 200, 0.7) 100%),
    url("/images/portfolio/helen/helen-1.jpg") center / cover no-repeat;
}

.preparation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.preparation-grid article {
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid rgba(34, 35, 36, 0.13);
  background: rgba(249, 246, 240, 0.76);
  backdrop-filter: blur(12px);
}

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

.preparation-grid ul {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.mistakes-section {
  background:
    radial-gradient(circle at 12% 90%, rgba(63, 97, 127, 0.12), transparent 30rem),
    var(--paper);
}

.mistakes-grid article {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

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

.production-page-cta {
  padding-block: clamp(90px, 11vw, 150px);
  background:
    linear-gradient(90deg, rgba(15, 17, 18, 0.97) 0%, rgba(15, 17, 18, 0.88) 58%, rgba(15, 17, 18, 0.68) 100%),
    url("/images/portfolio/norman/norman-1.jpg") center 48% / cover no-repeat;
  color: var(--paper);
}

.production-page-cta h2 {
  margin-top: 20px;
}

.production-page-cta .button {
  margin-top: 34px;
}

.materials-hero {
  display: flex;
  min-height: 650px;
  align-items: flex-end;
  padding-block: clamp(110px, 14vw, 180px) clamp(78px, 10vw, 126px);
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.97) 0%, rgba(16, 17, 18, 0.8) 54%, rgba(16, 17, 18, 0.56) 100%),
    url("/images/detail-jana.webp") center 54% / cover no-repeat;
  color: var(--paper);
}

.materials-hero .eyebrow {
  color: rgba(241, 238, 232, 0.68);
}

.materials-hero h1 {
  max-width: 880px;
  margin-top: 24px;
  font-size: clamp(3.1rem, 6vw, 5.2rem);
  line-height: 1.02;
}

.materials-hero-copy > p:last-child {
  max-width: 680px;
  margin-top: 30px;
  color: rgba(241, 238, 232, 0.82);
  font-size: 1.04rem;
}

.material-direction-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.material-direction-list article {
  min-height: 360px;
  padding: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.material-direction-list article:first-child {
  border-left: 1px solid var(--line);
}

.material-direction-list h2 {
  margin-top: 46px;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.18;
}

.material-direction-list article > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.materials-brands-section {
  background-position: center 52%;
}

.materials-page-cta h2 {
  max-width: 820px;
}

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

  .production-step-grid li:nth-child(3) {
    border-left: 1px solid var(--line);
  }

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

  .production-machine-grid figure:first-child {
    grid-column: 1 / -1;
  }

  .production-evidence-heading {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .production-evidence-row,
  .production-evidence-row--reverse {
    grid-template-areas:
      "media"
      "copy";
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .production-evidence-copy {
    max-width: 660px;
  }

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

  .material-direction-list {
    grid-template-columns: 1fr;
  }

  .material-direction-list article,
  .material-direction-list article:first-child {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .production-hero {
    min-height: 650px;
  }

  .production-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .materials-hero {
    min-height: 610px;
  }

  .materials-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .production-step-grid,
  .preparation-grid {
    grid-template-columns: 1fr;
  }

  .production-step-grid li {
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  .production-machine-grid {
    grid-template-columns: 1fr;
  }

  .production-machine-grid figure:first-child {
    grid-column: auto;
  }

  .production-evidence-list {
    gap: 54px;
  }

  .production-evidence-copy h3 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }
}

.faq-page-link {
  margin-top: 28px;
}

.portfolio-hero,
.faq-hero {
  display: flex;
  min-height: 670px;
  align-items: flex-end;
  padding-block: clamp(110px, 14vw, 180px) clamp(78px, 10vw, 126px);
  color: var(--paper);
}

.portfolio-hero {
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.72) 56%, rgba(16, 17, 18, 0.38) 100%),
    url("/images/hero-jana.webp") center 47% / cover no-repeat;
}

.faq-hero {
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.97) 0%, rgba(16, 17, 18, 0.83) 55%, rgba(16, 17, 18, 0.62) 100%),
    url("/images/faq-hero-questions-owner.jpg") center 48% / cover no-repeat;
}

.portfolio-hero .eyebrow,
.faq-hero .eyebrow {
  color: rgba(241, 238, 232, 0.68);
}

.portfolio-hero h1,
.faq-hero h1 {
  max-width: 930px;
  margin-top: 24px;
  font-size: clamp(3.1rem, 6vw, 5.25rem);
  line-height: 1.02;
}

.portfolio-hero-copy > p:last-child,
.faq-hero-copy > p:last-child {
  max-width: 720px;
  margin-top: 30px;
  color: rgba(241, 238, 232, 0.82);
  font-size: 1.05rem;
}

.portfolio-section {
  background:
    radial-gradient(circle at 88% 5%, rgba(63, 97, 127, 0.1), transparent 30rem),
    radial-gradient(circle at 7% 70%, rgba(159, 128, 101, 0.15), transparent 34rem),
    var(--paper);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 58px) clamp(18px, 2.5vw, 34px);
}

.portfolio-card {
  min-width: 0;
}

.portfolio-card figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portfolio-card:hover img {
  transform: scale(1.02);
}

.portfolio-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-card-link h2 {
  padding-top: 15px;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 620;
}

.project-detail-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 760px;
  align-items: flex-end;
  overflow: hidden;
  padding-block: clamp(150px, 18vw, 230px) clamp(72px, 9vw, 120px);
  background: var(--ink-deep);
  color: var(--paper);
}

.project-detail-backdrop,
.project-detail-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-detail-backdrop {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.project-detail-overlay {
  z-index: -1;
  /* Затемнение держим ровно настолько, чтобы читался текст: кухня проекта должна оставаться видимой */
  background:
    linear-gradient(180deg, rgba(16, 17, 18, 0.1) 0%, rgba(16, 17, 18, 0.26) 46%, rgba(16, 17, 18, 0.72) 100%),
    linear-gradient(90deg, rgba(16, 17, 18, 0.58) 0%, rgba(16, 17, 18, 0.26) 46%, rgba(16, 17, 18, 0.08) 100%);
}

.project-detail-heading {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: end;
}

.project-back-link {
  display: inline-flex;
  margin-bottom: clamp(48px, 7vw, 92px);
  color: rgba(241, 238, 232, 0.72);
  font-size: 0.82rem;
  text-decoration: none;
}

.project-detail-intro .eyebrow {
  color: rgba(241, 238, 232, 0.62);
}

.project-detail-intro h1 {
  margin-top: 22px;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.project-detail-description {
  max-width: 700px;
  margin-top: 28px;
  color: rgba(241, 238, 232, 0.82);
}

.project-material-list {
  padding: 26px 28px 12px;
  border-top: 1px solid rgba(241, 238, 232, 0.24);
  background: rgba(16, 17, 18, 0.34);
  backdrop-filter: blur(14px);
}

.project-material-list dl {
  margin: 20px 0 0;
}

.project-material-list dl > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.65fr) minmax(0, 1.35fr);
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(241, 238, 232, 0.16);
}

.project-material-list dt {
  color: rgba(241, 238, 232, 0.58);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-material-list dd {
  margin: 0;
  color: rgba(241, 238, 232, 0.88);
  font-size: 0.9rem;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
}

.project-photo-section {
  background:
    radial-gradient(circle at 91% 14%, rgba(159, 128, 101, 0.14), transparent 34rem),
    var(--paper);
}

.project-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.project-photo--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-guide {
  padding-block: clamp(82px, 9vw, 132px);
  background:
    linear-gradient(96deg, rgba(222, 212, 200, 0.96) 0%, rgba(222, 212, 200, 0.85) 54%, rgba(222, 212, 200, 0.66) 100%),
    url("/images/portfolio/artur/artur-1.jpg") center / cover no-repeat;
}

.portfolio-guide-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(50px, 8vw, 120px);
}

.portfolio-guide h2 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
}

.portfolio-guide-layout > div:last-child {
  align-self: end;
}

.portfolio-guide-layout > div:last-child > p {
  max-width: 620px;
  color: var(--muted);
}

.portfolio-guide .text-link {
  margin-top: 28px;
}

.material-jump-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -34px;
}

.material-jump-nav a {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(241, 238, 232, 0.16);
  background: var(--ink-deep);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 570;
  text-align: center;
}

.material-jump-nav a:hover,
.material-jump-nav a:focus-visible {
  background: var(--blue);
}

.material-feature,
.countertop-section,
.facade-section,
.materials-brands-section {
  scroll-margin-top: 90px;
}

.material-feature,
.facade-section {
  background:
    radial-gradient(circle at 91% 8%, rgba(63, 97, 127, 0.1), transparent 30rem),
    var(--paper);
}

.material-feature-heading {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: end;
  gap: clamp(44px, 7vw, 104px);
  margin-bottom: clamp(48px, 7vw, 84px);
}

.material-feature-heading h2 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
}

.material-feature-heading > p {
  max-width: 560px;
  padding-bottom: 7px;
  color: var(--muted);
}

.material-split,
.facade-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(30px, 5vw, 74px);
  align-items: stretch;
}

.material-image {
  min-height: 620px;
  overflow: hidden;
  background: var(--stone);
}

.material-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hardware-grid,
.facade-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hardware-grid article,
.facade-list article {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hardware-grid h3,
.countertop-grid h3,
.facade-list h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}

.hardware-grid p,
.countertop-grid article > p:last-child,
.facade-list p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.countertop-section {
  background:
    linear-gradient(105deg, rgba(222, 212, 200, 0.96) 0%, rgba(222, 212, 200, 0.84) 58%, rgba(222, 212, 200, 0.7) 100%),
    url("/images/portfolio/irina/irina-1.jpg") center / cover no-repeat;
}

.countertop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.countertop-grid article {
  min-height: 340px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(249, 246, 240, 0.68);
  backdrop-filter: blur(10px);
}

.countertop-grid h3 {
  margin-top: 48px;
}

.material-note {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facade-layout {
  grid-template-columns: 5fr 7fr;
}

.material-image--facade,
.material-image--facade img {
  min-height: 700px;
}

.facade-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.facade-options p {
  min-height: 120px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 570;
}

.material-selection {
  padding-block: clamp(82px, 10vw, 142px);
  background:
    radial-gradient(circle at 90% 12%, rgba(159, 128, 101, 0.2), transparent 28rem),
    linear-gradient(120deg, var(--paper-soft), var(--paper-warm));
}

.material-selection-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(38px, 7vw, 104px);
  align-items: center;
}

.material-selection figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.material-selection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-selection h2 {
  margin-top: 20px;
  font-size: clamp(2.15rem, 3.5vw, 3.25rem);
}

.material-selection div > p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 26px;
  color: var(--muted);
}

.material-selection .button {
  margin-top: 32px;
}

.faq-catalog-layout {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(54px, 8vw, 124px);
}

.faq-catalog {
  background:
    radial-gradient(circle at 88% 12%, rgba(63, 97, 127, 0.1), transparent 30rem),
    var(--paper);
}

.faq-catalog aside {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-catalog aside nav {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-catalog aside a {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.faq-catalog aside a:hover,
.faq-catalog aside a:focus-visible {
  color: var(--ink);
}

.faq-groups {
  display: grid;
  gap: clamp(70px, 9vw, 116px);
}

.faq-group {
  scroll-margin-top: 110px;
}

.faq-group h2 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.faq-related {
  padding-block: clamp(66px, 8vw, 100px);
  background:
    linear-gradient(100deg, rgba(222, 212, 200, 0.96), rgba(222, 212, 200, 0.74)),
    url("/images/portfolio/egert/egert-1.jpg") center 52% / cover no-repeat;
}

.faq-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-related-grid > a {
  display: grid;
  min-height: 230px;
  align-content: space-between;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  background: rgba(249, 246, 240, 0.76);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, transform 180ms ease;
}

.faq-related-grid > a:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.faq-related-grid strong {
  margin-block: 34px;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 540;
  letter-spacing: -0.03em;
}

.faq-related-grid > a > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .portfolio-guide-layout,
  .project-detail-heading,
  .material-feature-heading,
  .material-split,
  .facade-layout,
  .material-selection-layout,
  .faq-catalog-layout {
    grid-template-columns: 1fr;
  }

  .material-feature-heading > p {
    padding-bottom: 0;
  }

  .project-detail-intro {
    min-height: 820px;
  }

  .project-detail-heading {
    align-items: end;
  }

  .project-back-link {
    margin-bottom: 44px;
  }

  .material-image,
  .material-image img,
  .material-image--facade,
  .material-image--facade img {
    min-height: 520px;
  }

  .facade-layout .material-image {
    order: 2;
  }

  .facade-layout .facade-list {
    order: 1;
  }

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

  .faq-catalog aside {
    position: static;
  }

  .faq-catalog aside nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
}

@media (max-width: 620px) {
  .owner-section::before {
    inset: 0;
    opacity: 0.18;
  }

  .owner-section::after {
    background: rgba(222, 212, 200, 0.88);
  }

  .studio-copy,
  .production-copy {
    background: rgba(243, 238, 230, 0.78);
  }

  .partners-section,
  .reviews-section,
  .preparation-section,
  .countertop-section,
  .faq-related,
  .portfolio-guide {
    background-position: center;
  }

  .portfolio-hero,
  .faq-hero {
    min-height: 610px;
  }

  .portfolio-hero h1,
  .faq-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  /*
   * На узком экране фотография не растягивается на всю высоту секции:
   * при вертикальном кадрировании от общего плана кухни остаётся полоса стены.
   * Поэтому снимок показывается лентой сверху, а текст и материалы уходят на плотный фон.
   */
  .project-detail-intro {
    min-height: 0;
    padding-block: calc(56svh + 30px) 48px;
  }

  .project-detail-backdrop {
    height: 56svh;
    bottom: auto;
    object-position: center;
  }

  .project-detail-overlay {
    height: 56svh;
    bottom: auto;
    background:
      linear-gradient(180deg, rgba(16, 17, 18, 0.1) 0%, rgba(16, 17, 18, 0.22) 58%, rgba(16, 17, 18, 0.92) 100%);
  }

  .project-detail-heading {
    gap: 34px;
  }

  .project-back-link {
    margin-bottom: 26px;
  }

  .project-material-list {
    margin-top: 6px;
    background: rgba(241, 238, 232, 0.05);
  }

  .project-material-list {
    padding-inline: 18px;
  }

  .project-material-list dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .portfolio-grid,
  .project-photo-grid,
  .countertop-grid,
  .faq-related-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card figure {
    aspect-ratio: 4 / 5;
  }

  .project-photo--wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .material-jump-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-jump-nav a {
    min-height: 60px;
    border-bottom: 1px solid rgba(241, 238, 232, 0.16);
  }

  .hardware-grid,
  .facade-list,
  .facade-options {
    grid-template-columns: 1fr;
  }

  .material-image,
  .material-image img,
  .material-image--facade,
  .material-image--facade img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .countertop-grid article {
    min-height: 0;
  }

  .material-selection figure {
    aspect-ratio: 4 / 5;
  }

  .faq-catalog aside nav {
    grid-template-columns: 1fr;
  }
}

/* Deep hardware guide */
html:has(.hardware-deep-page) {
  scroll-behavior: auto;
}

.hardware-deep-page {
  --hardware-cream: #ece1d1;
  --hardware-brass: #a98055;
  --hardware-clay: #b77f68;
  --hardware-sage: #8f9d8c;
  --hardware-graphite: #202426;
  background: #e8dfd3;
}

.hardware-hero {
  min-height: 680px;
  background-image:
    linear-gradient(90deg, rgba(13, 16, 18, 0.98) 0%, rgba(13, 16, 18, 0.78) 46%, rgba(13, 16, 18, 0.24) 100%),
    url("/images/detail-storage.webp");
  background-position: center;
}

.hardware-hero .shell > p:last-child {
  max-width: 680px;
}

.hardware-jump-nav {
  position: sticky;
  z-index: 8;
  top: 0;
  border-block: 1px solid rgba(241, 238, 232, 0.13);
  background: rgba(19, 22, 23, 0.96);
  backdrop-filter: blur(16px);
}

.hardware-jump-nav .shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hardware-jump-nav a {
  display: grid;
  min-height: 66px;
  place-items: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(241, 238, 232, 0.13);
  color: rgba(243, 238, 230, 0.86);
  font-size: 0.78rem;
  font-weight: 630;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.hardware-jump-nav a:first-child {
  border-left: 1px solid rgba(241, 238, 232, 0.13);
}

.hardware-jump-nav a:hover,
.hardware-jump-nav a:focus-visible {
  background: var(--blue);
  color: #fff;
}

.hardware-story {
  position: relative;
  overflow: hidden;
  padding-block: clamp(86px, 10vw, 148px);
  scroll-margin-top: 66px;
}

.hardware-story::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hardware-story > .shell {
  position: relative;
  z-index: 1;
}

.hardware-story--storage {
  background:
    linear-gradient(118deg, rgba(244, 237, 226, 0.94), rgba(214, 196, 172, 0.76)),
    repeating-linear-gradient(132deg, transparent 0 46px, rgba(87, 66, 46, 0.035) 46px 48px),
    var(--hardware-cream);
}

.hardware-story--storage::before {
  background:
    radial-gradient(circle at 8% 12%, rgba(167, 125, 81, 0.2), transparent 25rem),
    radial-gradient(circle at 91% 82%, rgba(78, 100, 111, 0.14), transparent 31rem);
}

.hardware-story--drawers {
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(31, 37, 40, 0.98), rgba(44, 51, 53, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 90px),
    var(--hardware-graphite);
}

.hardware-story--drawers::before {
  background:
    radial-gradient(circle at 88% 14%, rgba(99, 131, 150, 0.24), transparent 30rem),
    radial-gradient(circle at 12% 68%, rgba(169, 128, 85, 0.18), transparent 32rem);
}

.hardware-story--corners {
  background:
    linear-gradient(128deg, rgba(241, 223, 209, 0.96), rgba(198, 151, 126, 0.72)),
    repeating-linear-gradient(45deg, rgba(99, 61, 43, 0.025) 0 2px, transparent 2px 14px),
    #d9b49f;
}

.hardware-story--corners::before {
  background:
    radial-gradient(circle at 94% 15%, rgba(102, 57, 39, 0.15), transparent 29rem),
    radial-gradient(circle at 7% 85%, rgba(57, 86, 91, 0.12), transparent 27rem);
}

.hardware-story--lifts {
  color: var(--paper);
  background:
    linear-gradient(132deg, rgba(42, 49, 45, 0.98), rgba(73, 84, 74, 0.92)),
    repeating-linear-gradient(150deg, transparent 0 62px, rgba(255, 255, 255, 0.02) 62px 64px),
    #39433b;
}

.hardware-story--lifts::before {
  background:
    radial-gradient(circle at 11% 13%, rgba(173, 192, 171, 0.17), transparent 27rem),
    radial-gradient(circle at 91% 89%, rgba(191, 141, 90, 0.18), transparent 29rem);
}

.hardware-story-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 92px);
}

.hardware-story-heading h2 {
  font-size: clamp(2.45rem, 4.7vw, 4.8rem);
  line-height: 0.98;
}

.hardware-story-heading > p:last-child {
  color: var(--muted);
}

.hardware-story-heading--light > p:last-child,
.hardware-story--lifts .hardware-story-heading > p:last-child {
  color: rgba(243, 238, 230, 0.68);
}

.hardware-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hardware-option-card {
  display: grid;
  min-height: 610px;
  grid-template-rows: minmax(320px, 1.3fr) minmax(250px, 0.7fr);
  overflow: hidden;
  border: 1px solid rgba(48, 42, 37, 0.16);
  background: rgba(250, 247, 241, 0.76);
  box-shadow: 0 28px 70px rgba(74, 54, 36, 0.08);
}

.hardware-option-card:nth-child(2) {
  transform: translateY(42px);
}

.hardware-option-card:nth-child(3) {
  transform: translateY(-18px);
}

.hardware-option-card figure {
  min-height: 320px;
  overflow: hidden;
  background: #d1c3b3;
}

.hardware-option-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.hardware-option-card:hover img {
  transform: scale(1.025);
}

.hardware-option-card > div {
  padding: clamp(30px, 4vw, 50px);
}

.hardware-label,
.hardware-kicker {
  color: var(--hardware-brass);
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hardware-option-card > div > p:nth-child(2) {
  margin-top: 18px;
}

.hardware-choice {
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid rgba(38, 39, 40, 0.16);
  color: var(--muted);
  font-size: 0.82rem;
}

.hardware-zigzag {
  display: grid;
  gap: clamp(38px, 6vw, 78px);
}

.hardware-zigzag-row {
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  overflow: hidden;
  border: 1px solid rgba(243, 238, 230, 0.13);
  background: rgba(12, 15, 16, 0.35);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
}

.hardware-zigzag-row:nth-child(even) {
  grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr);
}

.hardware-zigzag-row:nth-child(even) figure {
  order: 2;
}

.hardware-zigzag-row figure {
  min-height: 570px;
  overflow: hidden;
  background: #303638;
}

.hardware-zigzag-row img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.hardware-zigzag-row > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 86px);
}

.hardware-zigzag-row h3 {
  margin-top: 14px;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.hardware-zigzag-row > div > p:not(.hardware-kicker, .hardware-choice) {
  margin-top: 24px;
  color: rgba(243, 238, 230, 0.78);
}

.hardware-zigzag-row .hardware-choice {
  border-color: rgba(243, 238, 230, 0.16);
  color: rgba(243, 238, 230, 0.58);
}

.hardware-index {
  position: absolute;
  right: 26px;
  bottom: 14px;
  color: rgba(243, 238, 230, 0.07);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 760;
  line-height: 1;
}

.hardware-design-block {
  display: grid;
  grid-template-columns: minmax(310px, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
  margin-top: clamp(96px, 12vw, 170px);
  padding: clamp(44px, 6vw, 80px);
  border: 1px solid rgba(243, 238, 230, 0.14);
  background: rgba(242, 235, 224, 0.07);
}

.hardware-design-copy h2,
.drawer-fillers-heading h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.hardware-design-copy > p:last-child,
.drawer-fillers-heading > p:last-child {
  margin-top: 24px;
  color: rgba(243, 238, 230, 0.68);
}

.hardware-design-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hardware-design-gallery figure {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #202426;
}

.hardware-design-gallery img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.hardware-design-gallery figcaption,
.drawer-filler-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 13px 16px;
  background: rgba(18, 21, 22, 0.78);
  color: rgba(243, 238, 230, 0.9);
  font-size: 0.72rem;
  font-weight: 620;
  backdrop-filter: blur(10px);
}

.drawer-fillers {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: clamp(42px, 7vw, 100px);
  margin-top: clamp(96px, 12vw, 170px);
}

.drawer-fillers-heading {
  align-self: start;
}

.drawer-filler-visuals {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 18px;
}

.drawer-filler-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #34393a;
}

.drawer-filler-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.drawer-filler-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(243, 238, 230, 0.16);
  list-style: none;
}

.drawer-filler-list li {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid rgba(243, 238, 230, 0.16);
  border-bottom: 1px solid rgba(243, 238, 230, 0.16);
}

.drawer-filler-list strong,
.drawer-filler-list span {
  display: block;
}

.drawer-filler-list span {
  margin-top: 12px;
  color: rgba(243, 238, 230, 0.58);
  font-size: 0.79rem;
}

.corner-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.corner-comparison article {
  overflow: hidden;
  border: 1px solid rgba(74, 46, 35, 0.17);
  background: rgba(251, 243, 236, 0.74);
  box-shadow: 0 26px 68px rgba(83, 49, 34, 0.1);
}

.corner-comparison figure {
  min-height: 470px;
  overflow: hidden;
  background: #c9a58e;
}

.corner-comparison img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.corner-comparison article > div {
  padding: clamp(34px, 5vw, 62px);
}

.corner-comparison h3 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.corner-comparison article > div > p:not(.hardware-label) {
  margin-top: 22px;
  color: var(--muted);
}

.corner-comparison ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hardware-decision-note {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(300px, 0.85fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  margin-top: clamp(50px, 7vw, 94px);
  padding: clamp(34px, 5vw, 62px);
  border-left: 5px solid #704b3c;
  background: rgba(92, 54, 39, 0.11);
}

.hardware-decision-note h3 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.hardware-decision-note > p:last-child {
  color: #68574f;
}

.lift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lift-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 230, 0.14);
  background: rgba(17, 21, 19, 0.34);
}

.lift-grid article:nth-child(2),
.lift-grid article:nth-child(3) {
  background: rgba(228, 218, 201, 0.08);
}

.lift-grid figure,
.lift-grid img {
  min-height: 430px;
}

.lift-grid figure {
  overflow: hidden;
  background: #515b53;
}

.lift-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lift-grid article > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
}

.lift-grid h3 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 2.7vw, 2.65rem);
}

.lift-grid article > div > p:last-child {
  margin-top: 22px;
  color: rgba(243, 238, 230, 0.65);
}

.lift-selection {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(360px, 7fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
  margin-top: clamp(56px, 8vw, 104px);
  padding-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid rgba(243, 238, 230, 0.18);
}

.lift-selection h3 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
}

.lift-selection ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.lift-selection li {
  min-height: 100px;
  padding: 24px;
  border-right: 1px solid rgba(243, 238, 230, 0.16);
  border-bottom: 1px solid rgba(243, 238, 230, 0.16);
  color: rgba(243, 238, 230, 0.76);
}

.hardware-final-note {
  padding-block: clamp(110px, 14vw, 190px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(17, 19, 18, 0.96), rgba(17, 19, 18, 0.68)),
    url("/images/materials/hardware/deep/drawers-movento.jpg") center 66% / cover no-repeat;
}

.hardware-final-note .shell {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.hardware-final-note h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.hardware-final-note .shell > p:last-child {
  max-width: 680px;
  margin: 26px auto 0;
  color: rgba(243, 238, 230, 0.7);
}

@media (max-width: 1120px) {
  .hardware-story-heading {
    grid-template-columns: minmax(150px, 0.3fr) minmax(0, 0.8fr);
  }

  .hardware-story-heading > p:last-child {
    grid-column: 2;
  }

  .hardware-zigzag-row,
  .hardware-zigzag-row:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }

  .lift-grid article {
    grid-template-columns: 1fr;
  }

  .lift-grid figure,
  .lift-grid img {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .hardware-jump-nav {
    position: relative;
  }

  .hardware-jump-nav .shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hardware-story-heading,
  .hardware-design-block,
  .drawer-fillers,
  .hardware-decision-note,
  .lift-selection {
    grid-template-columns: 1fr;
  }

  .hardware-story-heading > p:last-child {
    grid-column: auto;
  }

  .hardware-option-grid,
  .corner-comparison,
  .lift-grid {
    grid-template-columns: 1fr;
  }

  .hardware-option-card:nth-child(2),
  .hardware-option-card:nth-child(3) {
    transform: none;
  }

  .hardware-zigzag-row,
  .hardware-zigzag-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hardware-zigzag-row:nth-child(even) figure {
    order: 0;
  }

  .hardware-design-gallery,
  .drawer-filler-visuals {
    grid-template-columns: 1fr;
  }

  .drawer-filler-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hardware-hero {
    min-height: 620px;
    background-position: 62% center;
  }

  .hardware-jump-nav a {
    min-height: 60px;
    padding-inline: 10px;
    border-bottom: 1px solid rgba(241, 238, 232, 0.13);
    font-size: 0.71rem;
  }

  .hardware-option-card {
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .hardware-option-card figure,
  .hardware-option-card img {
    min-height: 300px;
  }

  .hardware-zigzag-row,
  .hardware-zigzag-row figure,
  .hardware-zigzag-row img {
    min-height: 0;
  }

  .hardware-zigzag-row figure,
  .hardware-zigzag-row img {
    aspect-ratio: 4 / 3;
  }

  .hardware-design-block {
    padding: 24px;
  }

  .hardware-design-gallery figure,
  .hardware-design-gallery img,
  .drawer-filler-visual,
  .drawer-filler-visual img,
  .corner-comparison figure,
  .corner-comparison img,
  .lift-grid figure,
  .lift-grid img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .drawer-filler-list,
  .lift-selection ul {
    grid-template-columns: 1fr;
  }

  .drawer-filler-list li {
    min-height: 0;
  }
}

/* Shared atmospheric backgrounds and linear hardware handoff */
.hardware-choice-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 13vw, 180px);
  color: var(--hardware-paper);
  background:
    radial-gradient(circle at 14% 22%, rgba(91, 126, 144, 0.3), transparent 29rem),
    radial-gradient(circle at 88% 78%, rgba(194, 144, 88, 0.22), transparent 25rem),
    linear-gradient(138deg, #152025, #28353a 52%, #171f21);
}

.hardware-choice-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 76px),
    linear-gradient(145deg, transparent 0 47%, rgba(210, 144, 82, 0.35) 47.1% 47.35%, transparent 47.45% 100%);
  content: "";
}

.hardware-choice-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(460px, 7fr);
  gap: clamp(54px, 8vw, 126px);
  align-items: start;
}

.hardware-choice-section h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.hardware-choice-section__grid > div:first-child > p:last-child {
  margin-top: 26px;
  color: rgba(243, 238, 230, 0.68);
}

.hardware-choice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hardware-choice-cards article {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent);
}

.hardware-choice-cards span {
  color: #d7a875;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hardware-choice-cards h3 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.hardware-choice-cards p {
  margin-top: 15px;
  color: rgba(243, 238, 230, 0.64);
  font-size: 0.78rem;
}

.hardware-next-section {
  position: relative;
  display: grid;
  min-height: 250px;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) max(24px, calc((100vw - 1280px) / 2));
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3eee6;
  background:
    radial-gradient(circle at 84% 18%, rgba(194, 144, 88, 0.28), transparent 24rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px),
    linear-gradient(125deg, #172125, #29363a);
}

.hardware-next-section > span:first-child {
  color: rgba(243, 238, 230, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hardware-next-section strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.hardware-next-section > span:last-child {
  font-size: clamp(2rem, 4vw, 4rem);
  transition: transform 180ms ease;
}

.hardware-next-section:hover > span:last-child,
.hardware-next-section:focus-visible > span:last-child {
  transform: translateX(10px);
}

.hardware-next-section--corners {
  background:
    radial-gradient(circle at 80% 24%, rgba(166, 91, 55, 0.3), transparent 25rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 72px),
    linear-gradient(125deg, #241d1a, #513c33);
}

.hardware-next-section--lifts {
  background:
    radial-gradient(circle at 82% 18%, rgba(115, 143, 122, 0.28), transparent 25rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px),
    linear-gradient(125deg, #18211d, #35433a);
}

.hardware-next-section--overview {
  background:
    radial-gradient(circle at 82% 16%, rgba(91, 126, 144, 0.34), transparent 25rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px),
    linear-gradient(125deg, #131a1d, #243238);
}

/* The hardware visual language becomes the site-wide background system. */
.home-page,
.materials-page,
.catalog-hub-page,
.catalog-page,
.production-page,
.portfolio-page,
.project-detail-page,
.faq-page {
  background: #e8e1d7;
}

.home-page .projects-section,
.portfolio-page .portfolio-section,
.project-detail-page .project-photo-section {
  background:
    radial-gradient(circle at 86% 12%, rgba(96, 126, 140, 0.16), transparent 29rem),
    repeating-linear-gradient(90deg, rgba(46, 57, 61, 0.045) 0 1px, transparent 1px 78px),
    linear-gradient(135deg, #f4efe7, #ddd2c3);
}

.home-page .process-section,
.production-page .production-process-page,
.catalog-page .catalog-section,
.catalog-hub-page .catalog-direction-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(137, 102, 67, 0.18), transparent 30rem),
    linear-gradient(145deg, transparent 0 58%, rgba(255, 255, 255, 0.36) 58.1% 72%, transparent 72.1%),
    repeating-linear-gradient(90deg, rgba(66, 52, 40, 0.045) 0 1px, transparent 1px 74px),
    linear-gradient(135deg, #ded1c0, #f2ece3 54%, #d7c7b3);
}

.home-page .owner-section,
.materials-page .material-feature,
.catalog-page .catalog-info-section,
.faq-page .faq-catalog {
  background:
    radial-gradient(circle at 84% 18%, rgba(82, 119, 137, 0.18), transparent 28rem),
    repeating-linear-gradient(90deg, rgba(42, 55, 60, 0.045) 0 1px, transparent 1px 72px),
    linear-gradient(132deg, rgba(249, 246, 240, 0.96), rgba(219, 210, 197, 0.92));
}

.home-page .production-section,
.materials-page .countertop-section,
.production-page .preparation-section,
.portfolio-page .portfolio-guide {
  background:
    radial-gradient(circle at 12% 80%, rgba(90, 117, 93, 0.22), transparent 28rem),
    repeating-linear-gradient(135deg, rgba(44, 63, 52, 0.045) 0 1px, transparent 1px 70px),
    linear-gradient(135deg, #d8d8ca, #edf0e7 52%, #cbd1c3);
}

.home-page .partners-section,
.home-page .reviews-section,
.materials-page .facade-section,
.catalog-hub-page .facade-methods,
.production-page .mistakes-section,
.faq-page .faq-related {
  background:
    radial-gradient(circle at 88% 18%, rgba(155, 89, 55, 0.19), transparent 27rem),
    repeating-linear-gradient(90deg, rgba(93, 55, 39, 0.045) 0 1px, transparent 1px 76px),
    linear-gradient(135deg, #e7d3c3, #f4e8dd 50%, #d8bca7);
}

.home-page .faq-section,
.catalog-hub-page .countertop-comparison-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(80, 108, 123, 0.24), transparent 29rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 76px),
    linear-gradient(138deg, #1a2428, #314047 52%, #182125);
  color: #f3eee6;
}

.home-page .faq-section .faq-list p,
.home-page .faq-section summary,
.catalog-hub-page .countertop-comparison-section p {
  color: rgba(243, 238, 230, 0.72);
}

.home-page .estimate-section,
.production-page .production-page-cta,
.portfolio-page .production-page-cta,
.project-detail-page .production-page-cta,
.faq-page .production-page-cta {
  background:
    radial-gradient(circle at 82% 18%, rgba(194, 144, 88, 0.24), transparent 27rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 78px),
    linear-gradient(135deg, #151e21, #2c393d 54%, #192124);
}

.home-page .process-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(91, 126, 144, 0.26), transparent 29rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px),
    linear-gradient(138deg, #171f22, #303d42 54%, #182124);
  color: #f3eee6;
}

.catalog-hub-page .countertop-comparison-section .countertop-comparison-heading > p:last-child,
.catalog-hub-page .countertop-comparison-section .countertop-comparison-table thead th,
.catalog-hub-page .countertop-comparison-section .countertop-comparison-table tbody td {
  color: rgba(243, 238, 230, 0.72);
}

.catalog-hub-page .countertop-comparison-section .countertop-comparison-table-wrap,
.catalog-hub-page .countertop-comparison-section .countertop-comparison-table th,
.catalog-hub-page .countertop-comparison-section .countertop-comparison-table td {
  border-color: rgba(243, 238, 230, 0.18);
}

@media (max-width: 620px) {
  .catalog-hub-page .countertop-comparison-section .countertop-comparison-table tr {
    border-color: rgba(243, 238, 230, 0.18);
    background: rgba(255, 255, 255, 0.045);
  }

  .catalog-hub-page .countertop-comparison-section .countertop-comparison-table tbody td::before {
    color: rgba(243, 238, 230, 0.92);
  }
}

@media (max-width: 860px) {
  .hardware-choice-section__grid,
  .hardware-next-section {
    grid-template-columns: 1fr;
  }

  .hardware-next-section {
    gap: 18px;
  }

  .hardware-next-section > span:last-child {
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .hardware-choice-cards {
    grid-template-columns: 1fr;
  }

  .hardware-choice-cards article {
    min-height: 0;
  }
}

/* Мобильный hero: та же композиция, что на десктопе, только компактнее */
@media (max-width: 760px) {
  .hero {
    min-height: min(86svh, 680px);
    border-bottom: none;
  }

  .hero-visual img {
    object-position: 58% center;
  }

  .hero-copy {
    background: linear-gradient(
      180deg,
      rgba(18, 17, 16, 0.12) 0%,
      rgba(18, 17, 16, 0.28) 30%,
      rgba(18, 17, 16, 0.6) 58%,
      rgba(18, 17, 16, 0.84) 100%
    );
  }
}

/* Site typography scale: editorial hierarchy without oversized display headings. */
main h1 {
  font-size: clamp(2.3rem, 4vw, 4rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.042em !important;
}

:where(
  .section-heading,
  .process-intro,
  .studio-copy,
  .trusted-layout,
  .production-copy,
  .partners-heading,
  .brands-heading,
  .reviews-heading,
  .faq-layout,
  .estimate-intro,
  .production-page-heading,
  .preparation-heading,
  .production-evidence-heading,
  .process-stage-copy,
  .process-stage-heading,
  .materials-page-cta,
  .material-feature-heading,
  .stone-partner-layout,
  .countertop-comparison-heading,
  .catalog-direction-heading,
  .catalog-info-copy,
  .facade-project-feature,
  .facade-inspiration__heading,
  .portfolio-guide,
  .material-selection,
  .faq-group,
  .hardware-story-heading,
  .hardware-design-copy,
  .drawer-fillers-heading,
  .hardware-final-note,
  .hardware-choice-section,
  .hardware-hub-section-heading,
  .hardware-detail-intro__grid,
  .hardware-checklist__grid,
  .drawer-design-copy,
  .drawer-fillers-title,
  .corner-motion-layout,
  .lift-motion-summary,
  .hardware-product-copy,
  .lift-product-copy,
  .contacts-section-heading,
  .contacts-message__copy,
  .blog-story__copy,
  .blog-archive,
  .wood-detail-copy,
  .wood-section-heading,
  .wood-finish-layout,
  .milling-rules-layout,
  .veneer-feature-copy
) h2,
.hardware-hub-card h2 {
  font-size: clamp(1.75rem, 3vw, 3rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

:where(
  .production-evidence-copy,
  .production-operation,
  .process-stage-summary,
  .contacts-map__copy,
  .hardware-zigzag-row,
  .corner-comparison,
  .hardware-decision-note,
  .lift-grid,
  .lift-selection,
  .wood-use-copy,
  .wood-finish-list
) h3 {
  font-size: clamp(1.25rem, 2.2vw, 2rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.025em !important;
}


/* ── Партнёры ─────────────────────────────────────────────
   Подача такая же, как в блоке «Нам доверяют»: ряд знаков,
   без карточек, рамок и подписей под каждым партнёром. */
.partner-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(30px, 4vw, 58px) clamp(34px, 5vw, 76px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list li {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
}

.partner-logo {
  width: auto;
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
}

.partner-logo--marmi {
  width: min(100%, 190px);
  max-height: none;
  color: var(--ink);
}

.partner-logo--acrulam {
  max-height: 30px;
}

/* Декоративные элементы: карточки только на обзорной странице материалов. */
.materials-page .decor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(30px, 4vw, 46px);
}

@media (max-width: 900px) {
  .materials-page .decor-grid {
    grid-template-columns: 1fr;
  }
}

/* На демонстрационных страницах фасадов образцы компактнее интерьерных кадров. */
.catalog-page--facade-showcase .decor-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 16px;
}

@media (max-width: 1200px) {
  .catalog-page--facade-showcase .decor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .catalog-page--facade-showcase .decor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .catalog-page--facade-showcase .decor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }
}

/* Тональность фона раздела — тёплый металл рядом с деревом */
.catalog-page--decor {
  --theme-surface-pattern:
    radial-gradient(ellipse at 87% 13%, rgba(158, 122, 62, 0.2), transparent 30rem),
    radial-gradient(ellipse at 7% 87%, rgba(78, 96, 108, 0.13), transparent 28rem),
    repeating-linear-gradient(90deg, rgba(70, 60, 44, 0.045) 0 1px, transparent 1px 68px),
    linear-gradient(128deg, transparent 0 64%, rgba(70, 60, 44, 0.055) 64% calc(64% + 1px), transparent calc(64% + 1px));
}

.partner-logo--elux {
  max-height: 34px;
}

.partner-logo--mass {
  max-height: 64px;
}

/*
 * Партнёр без оригинального знака: название набирается как марка,
 * а не как строка текста. Заменяется файлом логотипа, как только он появится.
 */
.partner-wordmark,
.trusted-wordmark {
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.partner-wordmark {
  color: var(--ink);
}

/* Блок «Нам доверяют» лежит на тёмной фотографии — знаки здесь светлые */
.trusted-wordmark {
  color: rgba(243, 238, 230, 0.94);
}

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

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


/* Оригинальные знаки партнёров */
.partner-logo--am { max-height: 56px; }
.partner-logo--hahle { max-height: 44px; }
.partner-logo--metaforma { max-height: 44px; }

/* «Нам доверяют»: секция тёмная */
.trusted-logo--laam {
  /* знак LAAM — фирменная тёмная плашка, оставляем как есть */
  width: min(100%, 150px);
}

.trusted-logo--ingrad {
  width: min(100%, 190px);
  /* цветной знак на тёмной фотографии переводим в белый силуэт, как Kuehne+Nagel */
  filter: brightness(0) invert(1) opacity(0.92);
}

.trusted-logo--nobe {
  width: min(100%, 170px);
}


/* ── Раздел «Фасады»: новые страницы ─────────────────────── */
.facade-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: clamp(30px, 4vw, 46px);
}

.facade-group-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facade-group-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1120px) {
  .facade-group-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.facade-group-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(249, 246, 240, 0.66);
}

.facade-group-card h3 {
  font-size: 1.25rem;
}

.facade-group-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Каталог пород натурального шпона: карточки без фото — рисунок листа
 * словами, пока не сняты собственные образцы. */
.veneer-species-block + .veneer-species-block {
  margin-top: clamp(36px, 5vw, 64px);
}

.veneer-species-title {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.veneer-species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.veneer-species-card {
  padding: 22px 24px 24px;
  background: var(--paper);
}

/* Блок о материале: крупная колонка с фотографиями сбоку от текста.
 * Ведущий кадр во всю ширину колонки, остальные — плиткой под ним. */
/* Страница шпона живёт в общей фоновой системе сайта (--theme-surface-pattern),
 * меняется только тональность: тёплое дерево вместо нейтрального камня. */
.catalog-page--milling {
  --theme-surface-pattern:
    radial-gradient(circle at 86% 14%, rgba(84, 110, 124, 0.2), transparent 28rem),
    radial-gradient(ellipse at 8% 88%, rgba(120, 106, 88, 0.12), transparent 28rem),
    repeating-linear-gradient(90deg, rgba(43, 57, 62, 0.045) 0 1px, transparent 1px 64px),
    linear-gradient(132deg, transparent 0 61%, rgba(43, 57, 62, 0.055) 61% calc(61% + 1px), transparent calc(61% + 1px));
}

.milling-samples-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(115, 101, 83, 0.12), transparent 28rem),
    var(--paper);
}

.milling-samples-heading {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.milling-sample-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.milling-sample-grid--frames {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.milling-sample-grid--handles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.milling-sample-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: rgba(249, 246, 240, 0.96);
}

.milling-sample-card figure {
  overflow: hidden;
  background: #d7d2ca;
}

.milling-sample-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 360ms ease;
}

.milling-sample-card:hover img {
  transform: scale(1.02);
}

.milling-sample-card > div {
  padding: clamp(22px, 2.6vw, 34px);
}

.milling-sample-card h3 {
  font-size: clamp(1.24rem, 2vw, 1.7rem);
}

.milling-sample-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.milling-samples-section--alt {
  background:
    radial-gradient(circle at 84% 12%, rgba(125, 102, 79, 0.28), transparent 28rem),
    linear-gradient(128deg, #262321, #151617 68%);
  color: rgba(243, 238, 230, 0.76);
}

.milling-samples-section--alt h2 {
  color: var(--paper);
}

.milling-samples-section--alt .eyebrow,
.milling-samples-section--alt .material-feature-heading > p:last-child {
  color: rgba(243, 238, 230, 0.58);
}

.milling-samples-section--alt .milling-sample-grid {
  border-color: rgba(243, 238, 230, 0.16);
  background: rgba(243, 238, 230, 0.16);
}

.milling-samples-section--alt .milling-sample-card {
  background: rgba(243, 238, 230, 0.07);
}

.milling-samples-section--alt .milling-sample-card h3 {
  color: var(--paper);
}

.milling-samples-section--alt .milling-sample-card p {
  color: rgba(243, 238, 230, 0.62);
}

.milling-rules-section {
  background: var(--paper);
}

.milling-rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.milling-rules-layout h2 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.milling-rules-layout > div > p:last-child {
  margin-top: 24px;
  color: var(--muted);
}

.milling-rule-list {
  border-top: 1px solid var(--line);
}

.milling-rule-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 0.62fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.milling-rule-list dt {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.milling-rule-list dd {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

@media (max-width: 900px) {
  .milling-sample-grid--frames,
  .milling-sample-grid--milling {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milling-rules-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .milling-sample-grid--frames,
  .milling-sample-grid--milling,
  .milling-sample-grid--handles {
    grid-template-columns: 1fr;
  }

  .milling-rule-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.catalog-page--veneer {
  --theme-surface-pattern:
    radial-gradient(ellipse at 87% 13%, rgba(150, 99, 56, 0.2), transparent 30rem),
    radial-gradient(ellipse at 6% 87%, rgba(96, 74, 52, 0.13), transparent 28rem),
    repeating-linear-gradient(90deg, rgba(91, 59, 38, 0.05) 0 1px, transparent 1px 72px),
    linear-gradient(126deg, transparent 0 66%, rgba(91, 59, 38, 0.06) 66% calc(66% + 1px), transparent calc(66% + 1px));
}

.veneer-feature {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0;
  background: var(--paper);
}

/* Дизайнерский шпон уходит в тёмный блок — тот же приём, что у тёмных секций
 * главной: смена ритма страницы, фотографии читаются ярче */
.veneer-feature--alt {
  background:
    radial-gradient(circle at 85% 20%, rgba(150, 99, 56, 0.3), transparent 25rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 82px),
    linear-gradient(125deg, #2a2422, #151617 72%);
  color: rgba(243, 238, 230, 0.78);
}

.veneer-feature--alt h2,
.veneer-feature--alt h3,
.veneer-feature--alt .catalog-specs dd {
  color: var(--paper);
}

.veneer-feature--alt .eyebrow,
.veneer-feature--alt .catalog-specs dt,
.veneer-feature--alt figcaption,
.veneer-feature--alt .catalog-source-links {
  color: rgba(243, 238, 230, 0.56);
}

.veneer-feature--alt .catalog-specs,
.veneer-feature--alt .catalog-specs > div,
.veneer-feature--alt .veneer-feature-points {
  border-color: rgba(243, 238, 230, 0.18);
}

.veneer-feature--alt .veneer-feature-points h3 {
  color: rgba(243, 238, 230, 0.62);
}

.veneer-feature--alt .veneer-feature-points b {
  color: var(--paper);
}

.veneer-feature--alt a {
  color: rgba(243, 238, 230, 0.82);
}

/* Текстовая колонка тянется на высоту фотоколонки: список прижимается к низу,
 * чтобы слева от снимков не оставалось пустого поля */
.veneer-feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.veneer-feature-copy .veneer-feature-points {
  margin-top: clamp(22px, 3vw, 38px);
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
}

.veneer-feature-points h3 {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veneer-feature-points ul {
  display: grid;
  align-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 901px) {
  .veneer-feature-copy .veneer-feature-points ul {
    gap: clamp(12px, 1.6vw, 22px);
  }
}

.veneer-feature-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.veneer-feature-points li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.5;
}

.veneer-feature-points b {
  font-weight: 620;
}

.veneer-feature-copy .catalog-specs {
  margin-top: auto;
  padding-top: clamp(22px, 3vw, 36px);
}

.veneer-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.veneer-feature-layout--reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

.veneer-feature-media {
  display: grid;
  align-content: start;
  gap: clamp(18px, 2.4vw, 32px);
}

/* Пара кадров в колонке: крупные планы и образцы идут рядом, чтобы колонка
 * не вытягивалась вдвое длиннее текста */
.veneer-feature-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

@media (max-width: 620px) {
  .veneer-feature-media-pair {
    grid-template-columns: 1fr;
  }
}

.veneer-feature-media figure {
  min-width: 0;
}

.veneer-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.veneer-feature-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Медиа-колонка шире текстовой и выходит к внешнему краю экрана.
 * Вылет считаем от ширины shell, иначе процент берётся от колонки и кадр
 * уезжает за границу вьюпорта. */
@media (min-width: 901px) {
  .veneer-feature-layout {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    --veneer-bleed: max(0px, (100vw - var(--shell)) / 2 + clamp(22px, 4vw, 56px));
  }

  .veneer-feature-layout--reverse {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  }

  .veneer-feature-layout .veneer-feature-media {
    margin-right: calc(-1 * var(--veneer-bleed));
  }

  .veneer-feature-layout--reverse .veneer-feature-media {
    margin-right: 0;
    margin-left: calc(-1 * var(--veneer-bleed));
  }
}

@media (max-width: 900px) {
  .veneer-feature-layout,
  .veneer-feature-layout--reverse {
    grid-template-columns: 1fr;
  }

  .veneer-feature-layout--reverse .veneer-feature-media {
    order: 0;
  }
}

/* Образец породы: появляется, как только у позиции есть картинка */
.veneer-species-card img {
  display: block;
  width: calc(100% + 48px);
  margin: -22px -24px 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.veneer-species-card h4 {
  font-size: 1.05rem;
}

.veneer-species-cut {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.veneer-species-card p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Программы готовых шпонированных плит: имя декора — это и есть товар,
 * поэтому показываем их списком по семействам, без плиток. */
.veneer-panel-programs {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.veneer-panel-program {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(249, 246, 240, 0.66);
}

.veneer-panel-program header {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  margin-bottom: 22px;
}

.veneer-panel-program h3 {
  font-size: 1.4rem;
}

.veneer-panel-program header p {
  color: var(--muted);
  font-size: 0.88rem;
}

.veneer-panel-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px 28px;
}

.veneer-panel-group-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veneer-panel-groups ul {
  list-style: none;
  display: grid;
  gap: 4px;
}

.veneer-panel-groups li {
  font-size: 0.95rem;
  line-height: 1.45;
}

/*
 * Слот под фотографию, которой ещё нет: держит место и напоминает о съёмке.
 * После добавления реальных снимков блок заменяется на <img>.
 */
.milling-photo-slot,
.veneer-photo-slot {
  display: grid;
  place-items: center;
  margin: 0 0 18px;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(34, 35, 36, 0.28);
  background: repeating-linear-gradient(45deg, rgba(34, 35, 36, 0.03) 0 12px, transparent 12px 24px);
}

.veneer-photo-slot {
  margin: 26px 0 0;
  aspect-ratio: 16 / 7;
}

.milling-photo-slot span,
.veneer-photo-slot span {
  max-width: 80%;
  color: rgba(104, 96, 90, 0.75);
  font-size: 0.78rem;
  text-align: center;
}

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

/* Pilot: editorial material pages use one continuous canvas instead of
 * alternating full-width colour bands. Panels belong to complete chapters;
 * imagery stays open on the canvas so its radius is never framed twice. */
.catalog-page--decor {
  --decor-canvas: #57534e;
  --decor-panel: rgba(229, 224, 216, 0.92);
  --decor-panel-strong: rgba(235, 230, 222, 0.96);
  --decor-panel-line: rgba(48, 44, 40, 0.28);
  --material-panel-strong: var(--decor-panel-strong);
  --material-panel-line: var(--decor-panel-line);
}

.catalog-page--decor .decor-page-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--decor-canvas);
}

.catalog-page--decor .decor-page-canvas::before,
.catalog-page--decor .decor-page-canvas::after {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  pointer-events: none;
  content: "";
  filter: saturate(0.52) contrast(0.92) brightness(0.72);
}

.catalog-page--decor .decor-page-canvas::before {
  top: clamp(560px, 50vw, 720px);
  height: clamp(980px, 108vw, 1480px);
  background:
    linear-gradient(180deg, var(--decor-canvas) 0%, rgba(76, 72, 67, 0.68) 18%, rgba(76, 72, 67, 0.72) 78%, var(--decor-canvas) 100%),
    url("/images/materials/decor/brass-edge-detail.webp") center 42% / cover no-repeat;
}

.catalog-page--decor .decor-page-canvas::after {
  bottom: clamp(760px, 66vw, 1080px);
  height: clamp(1040px, 118vw, 1640px);
  background:
    linear-gradient(180deg, var(--decor-canvas) 0%, rgba(70, 69, 67, 0.7) 18%, rgba(70, 69, 67, 0.74) 80%, var(--decor-canvas) 100%),
    url("/images/materials/decor/metal-brass-reveal.webp") center / cover no-repeat;
}

.catalog-page--decor .decor-page-canvas > section {
  position: relative;
  z-index: 1;
}

.catalog-page--decor .decor-intro-section,
.catalog-page--decor .decor-story-section,
.catalog-page--decor .decor-catalog-section,
.catalog-page--decor .decor-related-section {
  background: transparent;
}

.catalog-page--decor .decor-page-canvas > section:not(.catalog-hero):not(.production-page-cta)::after {
  display: none;
}

.catalog-page--decor .decor-intro-section {
  padding-block: clamp(44px, 6vw, 78px);
}

.catalog-page--decor .decor-intro-section .catalog-info-layout,
.catalog-page--decor .decor-catalog-section > .shell {
  width: min(calc(100% - clamp(36px, 6vw, 84px)), 1240px);
  border: 1px solid var(--decor-panel-line);
  border-radius: var(--radius-panel);
  background: var(--decor-panel-strong);
  box-shadow: 0 22px 70px rgba(38, 32, 27, 0.1);
  backdrop-filter: blur(12px);
}

.catalog-page--decor .decor-intro-section .catalog-info-layout {
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(26px, 4vw, 52px);
}

.catalog-page--decor .decor-story-section {
  padding-block: clamp(34px, 5vw, 68px);
  color: var(--ink);
}

.catalog-page--decor .decor-story-section .veneer-feature-layout,
.catalog-page--decor .decor-story-section .veneer-feature-layout--reverse {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: stretch;
}

.catalog-page--decor .decor-story-section .veneer-feature-copy {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--decor-panel-line);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3vw, 38px);
  background: var(--decor-panel);
  box-shadow: 0 18px 58px rgba(38, 32, 27, 0.09);
  backdrop-filter: blur(12px);
}

.catalog-page--decor .decor-story-section .veneer-feature-media {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: clamp(12px, 1.5vw, 18px);
}

.catalog-page--decor .decor-story-section .veneer-feature-media-pair {
  display: contents;
}

.catalog-page--decor .decor-story-section .veneer-feature-media img {
  min-height: 0;
  flex: 1 1 auto;
  aspect-ratio: auto;
}

.catalog-page--decor .decor-story-section .veneer-feature-media figure {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.catalog-page--decor .decor-story-section .veneer-feature-media figcaption {
  color: var(--muted);
}

.catalog-page--decor .decor-story-section .veneer-feature-points {
  margin-top: clamp(18px, 2vw, 26px);
  padding-top: clamp(16px, 1.8vw, 22px);
}

.catalog-page--decor .decor-story-section .catalog-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(20px, 2.4vw, 30px);
}

.catalog-page--decor .decor-story-section .catalog-specs > div {
  display: block;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.catalog-page--decor .decor-story-section .catalog-specs > div:nth-child(2n) {
  border-right: 0;
}

.catalog-page--decor .decor-story-section .catalog-specs dd {
  margin-top: 5px;
}

.catalog-page--decor .decor-catalog-section,
.catalog-page--decor .decor-related-section {
  padding-block: clamp(38px, 6vw, 76px);
}

.catalog-page--decor .decor-catalog-section > .shell,
.catalog-page--decor .decor-intro-section .catalog-info-layout {
  padding-block: clamp(30px, 4vw, 52px);
}

.catalog-page--decor .decor-related-section > .shell {
  width: min(calc(100% - clamp(36px, 6vw, 84px)), 1240px);
}

.catalog-page--decor .decor-related-section .facade-group-card {
  background: rgba(235, 230, 222, 0.84);
}

@media (max-width: 900px) {
  .catalog-page--decor .decor-story-section .veneer-feature-layout,
  .catalog-page--decor .decor-story-section .veneer-feature-layout--reverse {
    grid-template-columns: 1fr;
  }

  .catalog-page--decor .decor-story-section .veneer-feature-media {
    order: -1;
  }
}

@media (max-width: 620px) {
  .catalog-page--decor .decor-page-canvas::before {
    top: 580px;
    height: 1050px;
  }

  .catalog-page--decor .decor-page-canvas::after {
    bottom: 740px;
    height: 1180px;
  }

  .catalog-page--decor .decor-intro-section .catalog-info-layout,
  .catalog-page--decor .decor-story-section .veneer-feature-copy {
    padding: 20px;
  }

  .catalog-page--decor .decor-story-section .veneer-feature-media {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .catalog-page--decor .decor-story-section .veneer-feature-media > figure {
    grid-column: auto;
  }

  .catalog-page--decor .decor-story-section .veneer-feature-media img {
    flex: none;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 900px) {
  .facade-group-grid {
    grid-template-columns: 1fr;
  }
}


/* Approved material-page system: the Decor pilot becomes the shared canvas.
 * A panel contains a whole chapter, never every heading, thesis or image. */
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) {
  --material-canvas: #55514c;
  --material-panel: rgba(230, 225, 217, 0.92);
  --material-panel-strong: rgba(237, 232, 224, 0.96);
  --material-panel-line: rgba(47, 43, 39, 0.27);
  --material-canvas-image-a: url("/images/detail-storage.webp");
  --material-canvas-image-b: url("/images/detail-jana.webp");
}

.catalog-hub-page,
.catalog-page:not(.catalog-page--decor) {
  --material-canvas-image-a: url("/images/facades/veneer/natural-interior-1.webp");
  --material-canvas-image-b: url("/images/portfolio/georgy/georgy-1.jpg");
}

.catalog-page--veneer {
  --material-canvas-image-a: url("/images/facades/veneer/natural-interior-1.webp");
  --material-canvas-image-b: url("/images/facades/veneer/alpi-kitchen-walnut.webp");
}

.catalog-page--fenix {
  --material-canvas-image-a: url("/images/facades/editorial/fenix/fenix-interior-v2.webp");
  --material-canvas-image-b: url("/images/facades/editorial/fenix/fenix-pairing-v2.webp");
}

.catalog-page--milling {
  --material-canvas-image-a: url("/images/facades/milling/slim-frame-detail.webp");
  --material-canvas-image-b: url("/images/facades/milling/milled-pull-line.webp");
}

.wood-countertops-page {
  --material-canvas-image-a: url("/images/wood/interior-shelving.webp");
  --material-canvas-image-b: url("/images/countertop-heroes/wood.webp");
}

.hardware-page {
  --material-canvas-image-a: url("/images/materials/hardware/deep/drawers-legrabox.webp");
  --material-canvas-image-b: url("/images/materials/hardware/official/corners-magic-motion.avif");
}

.production-page {
  --material-canvas-image-a: url("/images/production-live.webp");
  --material-canvas-image-b: url("/images/production-cnc.webp");
}

:where(.portfolio-page, .project-detail-page) {
  --material-canvas-image-a: url("/images/portfolio/agne/agne-1.jpg");
  --material-canvas-image-b: url("/images/portfolio/artur/artur-1.jpg");
}

.faq-page {
  --material-canvas-image-a: url("/images/detail-storage.webp");
  --material-canvas-image-b: url("/images/portfolio/egert/egert-1.jpg");
}

.contacts-page {
  --material-canvas-image-a: url("/images/contacts-salon-interior-owner.jpg");
  --material-canvas-image-b: url("/images/contacts-salon-exterior-owner.jpg");
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--material-canvas);
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content::before,
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content::after {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  height: clamp(980px, 105vw, 1500px);
  pointer-events: none;
  content: "";
  filter: saturate(0.46) contrast(0.9) brightness(0.62);
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content::before {
  top: clamp(520px, 48vw, 760px);
  background:
    linear-gradient(180deg, var(--material-canvas), rgba(73, 69, 64, 0.66) 20%, rgba(73, 69, 64, 0.72) 80%, var(--material-canvas)),
    var(--material-canvas-image-a) center / cover no-repeat;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content::after {
  bottom: clamp(420px, 38vw, 720px);
  background:
    linear-gradient(180deg, var(--material-canvas), rgba(69, 66, 62, 0.68) 20%, rgba(69, 66, 62, 0.74) 80%, var(--material-canvas)),
    var(--material-canvas-image-b) center / cover no-repeat;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > * {
  position: relative;
  z-index: 1;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > section:not(:where(
  .materials-hero,
  .catalog-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .production-hero,
  .portfolio-hero,
  .project-detail-intro,
  .faq-hero,
  .contacts-hero,
  .production-page-cta,
  .process-stage
)) {
  padding-block: clamp(34px, 5vw, 68px);
  background: transparent;
  color: var(--paper);
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > section:not(:where(
  .materials-hero,
  .catalog-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .production-hero,
  .portfolio-hero,
  .project-detail-intro,
  .faq-hero,
  .contacts-hero,
  .production-page-cta,
  .process-stage
))::before,
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > section:not(:where(
  .materials-hero,
  .catalog-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .production-hero,
  .portfolio-hero,
  .project-detail-intro,
  .faq-hero,
  .contacts-hero,
  .production-page-cta,
  .process-stage
))::after {
  display: none;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > section:not(:where(
  .materials-hero,
  .catalog-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .production-hero,
  .portfolio-hero,
  .project-detail-intro,
  .faq-hero,
  .contacts-hero,
  .production-page-cta
)) > .shell {
  width: min(calc(100% - clamp(36px, 6vw, 84px)), 1240px);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > section:not(:where(
  .materials-hero,
  .catalog-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .production-hero,
  .portfolio-hero,
  .project-detail-intro,
  .faq-hero,
  .contacts-hero,
  .production-page-cta
)) > .shell + .shell {
  margin-top: clamp(24px, 4vw, 52px);
}

/* Only complete semantic or functional chapters receive a surface. */
#content > section:where(
  .catalog-info-section,
  .hardware-hub-intro,
  .hardware-detail-intro,
  .portfolio-guide,
  .faq-catalog,
  .countertop-comparison-section,
  .brands-section,
  .wood-detail-section,
  .milling-samples-section--alt,
  .hardware-product-sequence--dark,
  .drawer-fillers-section,
  .hardware-checklist
) > .shell,
#content > section.catalog-section:has(.catalog-browser) > .shell {
  border: 1px solid var(--material-panel-line);
  border-radius: var(--radius-panel);
  padding: clamp(26px, 4vw, 52px);
  background: var(--material-panel-strong);
  color: var(--ink);
  box-shadow: 0 18px 52px rgba(28, 24, 21, 0.09);
  backdrop-filter: blur(12px);
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(.catalog-direction-heading, .milling-samples-heading, .wood-section-heading) {
  margin-bottom: 0;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) #content > section:where(
  .countertop-comparison-section,
  .brands-section,
  .wood-detail-section,
  .milling-samples-section--alt,
  .hardware-product-sequence--dark,
  .drawer-fillers-section,
  .hardware-checklist
) > .shell {
  border-color: rgba(243, 238, 230, 0.17);
  background: rgba(24, 26, 26, 0.88);
  color: var(--paper);
  box-shadow: 0 22px 70px rgba(15, 13, 12, 0.2);
}

/* Shared contrast hierarchy for the continuous dark canvas. */
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(#content > section:not(:where([class*="-hero"], .production-page-cta))) :where(h2, h3, h4) {
  color: #f3eee6;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(#content > section:not(:where([class*="-hero"], .production-page-cta))) .eyebrow {
  color: #d8d0c5;
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(#content > section:not(:where([class*="-hero"], .production-page-cta))) :where(li, dt, dd) {
  color: rgba(243, 238, 230, 0.78);
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(.material-feature-heading, .wood-section-heading, .milling-samples-heading, .catalog-direction-heading) > p:last-child {
  color: rgba(243, 238, 230, 0.78);
}

:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(.material-feature-heading, .wood-section-heading, .milling-samples-heading, .catalog-direction-heading) .eyebrow {
  color: #d8d0c5;
}

/* Light cards always reset to dark ink even when their section is open on
 * the dark canvas. Their own muted rules keep descriptions quieter. */
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(
  .countertop-card-link,
  .catalog-direction-card,
  .wood-species-grid article,
  .wood-use-copy,
  .hardware-product-row,
  .preparation-grid article,
  .faq-related-grid > a,
  .facade-group-card,
  .veneer-species-card,
  .milling-sample-card
) {
  color: var(--ink);
}

.materials-page .material-jump-nav {
  overflow: hidden;
  border-radius: var(--radius-panel);
}

:where(.catalog-hub-page, .catalog-page, .wood-countertops-page, .hardware-page) :where(
  .wood-species-grid article,
  .wood-use-row,
  .hardware-hub-card,
  .hardware-product-row,
  .drawer-fillers-grid article,
  .hardware-choice-cards article,
  .lift-tech-card
) {
  overflow: hidden;
  border-radius: var(--radius-panel);
}

:where(.production-page, .portfolio-page, .project-detail-page, .faq-page, .contacts-page) :where(
  .preparation-grid article,
  .portfolio-card figure,
  .project-photo,
  .faq-related-grid > a,
  .contacts-details__grid article,
  .contacts-map
) {
  overflow: hidden;
  border-radius: var(--radius-panel);
}

.catalog-hub-page .facade-details-section .material-feature-heading > p,
.catalog-page--milling .milling-samples-section:not(.milling-samples-section--alt) .material-feature-heading > p:last-child {
  color: rgba(243, 238, 230, 0.82);
}

/* Overview pages sit on a dark photographic canvas. Open editorial copy is
 * light; light navigation cards reset to dark ink and a quieter description. */
.catalog-hub-page #content > :where(.catalog-direction-section, .facade-details-section) {
  color: #f3eee6;
}

.catalog-hub-page :where(.catalog-direction-heading, .facade-details-section .material-feature-heading) :where(h2, h3) {
  color: #f3eee6;
}

.catalog-hub-page :where(.catalog-direction-heading, .facade-details-section .material-feature-heading) > p:last-child {
  color: rgba(243, 238, 230, 0.82);
}

.catalog-hub-page :where(.catalog-direction-heading, .facade-details-section .material-feature-heading) .eyebrow,
.catalog-hub-page .facade-detail-card .eyebrow {
  color: #d8d0c5;
}

.catalog-hub-page .catalog-direction-card {
  color: #242526;
}

.catalog-hub-page .catalog-direction-card h2,
.catalog-hub-page .catalog-direction-card__body > span {
  color: #242526;
}

.catalog-hub-page .catalog-direction-card .material-note {
  color: #625b55;
}

.catalog-hub-page .catalog-direction-card__body > p:not(.material-note) {
  color: #615c57;
}

.catalog-hub-page .facade-detail-card h3 {
  color: #f3eee6;
}

/* Descriptions follow the canvas, then opt back into dark text only inside a
 * genuinely light surface. This prevents isolated legacy muted rules from
 * producing dark copy on the new background system. */
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(#content > section:not(:where([class*="-hero"], .production-page-cta))) p:not(.eyebrow) {
  color: rgba(243, 238, 230, 0.78);
}

:where(
  .catalog-info-section,
  .hardware-hub-intro,
  .hardware-detail-intro,
  .portfolio-guide,
  .faq-catalog
) > .shell p:not(.eyebrow),
.catalog-section:has(.catalog-browser) > .shell p:not(.eyebrow),
:where(
  .materials-page,
  .catalog-hub-page,
  .catalog-page:not(.catalog-page--decor),
  .wood-countertops-page,
  .hardware-page,
  .production-page,
  .portfolio-page,
  .project-detail-page,
  .faq-page,
  .contacts-page
) :where(
  .countertop-card-link,
  .catalog-direction-card,
  .wood-species-grid article,
  .wood-use-copy,
  .hardware-product-row,
  .preparation-grid article,
  .faq-related-grid > a,
  .facade-group-card,
  .veneer-species-card,
  .milling-sample-card
) p:not(.eyebrow) {
  color: var(--muted);
}

/* Text inside a real light surface must opt out of the dark-canvas palette.
 * Keeping this rule after the canvas hierarchy prevents future page-specific
 * copy styles from producing light text on translucent paper cards. */
:where(
  #content > section:where(
    .catalog-info-section,
    .hardware-hub-intro,
    .hardware-detail-intro,
    .portfolio-guide,
    .faq-catalog
  ) > .shell,
  #content > section.catalog-section:has(.catalog-browser) > .shell,
  .countertop-card-link,
  .catalog-direction-card,
  .wood-species-grid article,
  .wood-use-copy,
  .hardware-product-row,
  .preparation-grid article,
  .faq-related-grid > a,
  .facade-group-card,
  .veneer-species-card,
  .milling-sample-card
) :is(h2, h3, h4, dt, strong, a) {
  color: var(--ink);
}

:where(
  #content > section:where(
    .catalog-info-section,
    .hardware-hub-intro,
    .hardware-detail-intro,
    .portfolio-guide,
    .faq-catalog
  ) > .shell,
  #content > section.catalog-section:has(.catalog-browser) > .shell,
  .countertop-card-link,
  .catalog-direction-card,
  .wood-species-grid article,
  .wood-use-copy,
  .hardware-product-row,
  .preparation-grid article,
  .faq-related-grid > a,
  .facade-group-card,
  .veneer-species-card,
  .milling-sample-card
) :is(p, li, dd) {
  color: #59534d;
}

:where(
  #content > section:where(
    .catalog-info-section,
    .hardware-hub-intro,
    .hardware-detail-intro,
    .portfolio-guide,
    .faq-catalog
  ) > .shell,
  #content > section.catalog-section:has(.catalog-browser) > .shell,
  .countertop-card-link,
  .catalog-direction-card,
  .wood-species-grid article,
  .wood-use-copy,
  .hardware-product-row,
  .preparation-grid article,
  .faq-related-grid > a,
  .facade-group-card,
  .veneer-species-card,
  .milling-sample-card
) :is(.eyebrow, .material-note) {
  color: #625b55;
}

:where(
  .countertop-card-link,
  .catalog-direction-card,
  .faq-related-grid > a,
  .facade-group-card
) {
  color: var(--ink);
}

/* Decor has its own nested canvas rather than direct #content sections. */
:where(.catalog-page--decor .decor-page-canvas > section) :where(h2, h3, h4) {
  color: #f3eee6;
}

:where(.catalog-page--decor .decor-page-canvas > section) .eyebrow {
  color: #d2c9bd;
}

:where(.catalog-page--decor .decor-page-canvas > section) :where(p:not(.eyebrow), li, dt, dd) {
  color: rgba(243, 238, 230, 0.78);
}

:where(
  .catalog-page--decor .decor-intro-section .catalog-info-layout,
  .catalog-page--decor .decor-story-section .veneer-feature-copy,
  .catalog-page--decor .decor-catalog-section > .shell
) :is(h2, h3, h4, dt, strong, a) {
  color: var(--ink);
}

:where(
  .catalog-page--decor .decor-intro-section .catalog-info-layout,
  .catalog-page--decor .decor-story-section .veneer-feature-copy,
  .catalog-page--decor .decor-catalog-section > .shell
) :is(p:not(.eyebrow), li, dd) {
  color: #5f5953;
}

:where(
  .catalog-page--decor .decor-intro-section .catalog-info-layout,
  .catalog-page--decor .decor-story-section .veneer-feature-copy,
  .catalog-page--decor .decor-catalog-section > .shell
) :is(.eyebrow, .material-note) {
  color: #625b55;
}

.catalog-page--decor .decor-intro-section .catalog-info-layout :where(p, li, dd),
.catalog-page--decor .decor-story-section .veneer-feature-copy :where(p, li, dd),
.catalog-page--decor .decor-catalog-section > .shell :where(p, li, dd) {
  color: #59534d;
}

.catalog-page--decor .decor-intro-section .catalog-info-layout,
.catalog-page--decor .decor-catalog-section > .shell {
  background: rgba(235, 230, 222, 0.96);
}

.catalog-page--decor .decor-intro-section .catalog-info-layout :where(.eyebrow, .material-note),
.catalog-page--decor .decor-story-section .veneer-feature-copy :where(.eyebrow, .material-note),
.catalog-page--decor .decor-catalog-section > .shell :where(.eyebrow, .material-note) {
  color: #625b55;
}

.catalog-page--decor .decor-story-section .veneer-feature-copy :where(h2, h3, h4, dt, strong),
.catalog-page--decor .decor-related-section .facade-group-card :where(h2, h3, h4, strong) {
  color: #484440;
}

.catalog-page--decor .decor-story-section .veneer-feature-copy :where(p, li, dd),
.catalog-page--decor .decor-related-section .facade-group-card :where(p, li, dd) {
  color: #504b47;
}

.catalog-page--decor .decor-related-section .material-feature-heading > p:not(.eyebrow) {
  color: rgba(243, 238, 230, 0.82);
}

.faq-page .faq-related-grid > a {
  color: var(--ink);
}

.hardware-page .hardware-hub-card > div > p:not(.hardware-kicker) {
  color: rgba(243, 238, 230, 0.82);
}

.production-page .production-machine-grid figcaption :where(span, p),
.catalog-page .facade-project-feature div > p:not(.eyebrow) {
  color: rgba(243, 238, 230, 0.82);
}

.contacts-page :where(.contacts-section-heading, .contacts-map__copy) p:not(.eyebrow),
.contacts-page .contacts-prep__steps p,
.contacts-page .contacts-details__grid :where(address, p, a) {
  color: rgba(243, 238, 230, 0.82);
}

.contacts-page :where(.contacts-label, .contacts-detail-note) {
  color: #d8d0c5;
}

.contacts-page :where(.contacts-prep, .contacts-details) :where(h2, h3, strong) {
  color: #f3eee6;
}

.contacts-page #content .contacts-details .contacts-details__grid article > :where(address, p, a) {
  color: rgba(243, 238, 230, 0.82);
}

.contacts-page #content .contacts-details .contacts-details__grid article > :where(.contacts-label, .contacts-detail-note) {
  color: #d8d0c5;
}

.contacts-page #content .contacts-details .contacts-map__copy > p:not(.eyebrow) {
  color: rgba(243, 238, 230, 0.82);
}

.catalog-page #content .catalog-section:has(.catalog-browser) .catalog-notice {
  color: #49443f;
}

.catalog-search input,
.catalog-filters button,
.catalog-notice,
.material-shortlist {
  border-radius: 12px;
}

@media (max-width: 620px) {
  :where(
    .catalog-info-section,
    .hardware-hub-intro,
    .hardware-detail-intro,
    .portfolio-guide,
    .faq-catalog,
    .countertop-comparison-section,
    .brands-section,
    .wood-detail-section,
    .milling-samples-section--alt,
    .hardware-product-sequence--dark,
    .drawer-fillers-section,
    .hardware-checklist
  ) > .shell,
  .catalog-section:has(.catalog-browser) > .shell {
    padding: 20px;
  }
}


/* Тематические CTA-подвалы страниц фасадов */
.production-page-cta--kronospan,
.production-page-cta--veneer,
.production-page-cta--milling,
.production-page-cta--decor {
  background-size: cover;
  background-position: center;
}

.catalog-page .production-page-cta--kronospan {
  background:
    linear-gradient(90deg, rgba(18, 20, 22, 0.94) 0%, rgba(18, 20, 22, 0.78) 55%, rgba(18, 20, 22, 0.55) 100%),
    url("/images/facades/kronospan-cta.webp") center 40% / cover no-repeat;
}

.catalog-page .production-page-cta--veneer {
  background:
    linear-gradient(90deg, rgba(30, 22, 14, 0.93) 0%, rgba(30, 22, 14, 0.76) 55%, rgba(30, 22, 14, 0.5) 100%),
    url("/images/facades/veneer-cta.webp") center / cover no-repeat;
}

.catalog-page .production-page-cta--decor {
  background:
    linear-gradient(90deg, rgba(20, 20, 22, 0.94) 0%, rgba(20, 20, 22, 0.78) 55%, rgba(20, 20, 22, 0.52) 100%),
    url("/images/materials/decor-cta.webp") center / cover no-repeat;
}

.catalog-page .production-page-cta--milling {
  background:
    linear-gradient(90deg, rgba(24, 20, 15, 0.94) 0%, rgba(24, 20, 15, 0.78) 55%, rgba(24, 20, 15, 0.52) 100%),
    url("/images/facades/milling/references/frame-classic-kitchen.jpg") center 62% / cover no-repeat;
}

/* Фото образцов шпона в теле страницы */

/* Contacts — WordPress-transferable prototype */
.contacts-page {
  --contacts-ink: #15191b;
  --contacts-paper: #f1eee8;
  --contacts-stone: #b9afa2;
  background: var(--contacts-paper);
}

.contacts-hero {
  min-height: clamp(650px, 69vw, 850px);
  border-bottom: 1px solid rgba(241, 238, 232, 0.14);
  background:
    radial-gradient(circle at 16% 20%, rgba(92, 125, 145, 0.2), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.025) 88px 89px),
    var(--contacts-ink);
  color: var(--contacts-paper);
}

.contacts-hero__layout {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  align-items: stretch;
  gap: clamp(50px, 8vw, 120px);
}

.contacts-hero__copy {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(120px, 14vw, 190px) clamp(90px, 11vw, 150px);
}

.contacts-hero__copy .eyebrow {
  color: var(--contacts-stone);
}

.contacts-hero__copy h1 {
  max-width: 780px;
  margin-top: 30px;
  font-size: clamp(3.5rem, 5.3vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.062em;
}

.contacts-hero__copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 38px;
  color: rgba(241, 238, 232, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.contacts-hero__copy .button {
  margin-top: 42px;
}

.contacts-hero__visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-inline: 1px solid rgba(241, 238, 232, 0.14);
}

.contacts-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 25, 27, 0.06), rgba(21, 25, 27, 0.38));
  content: "";
  pointer-events: none;
}

.contacts-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 52% center;
}

.contacts-hero__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 24px;
  color: rgba(241, 238, 232, 0.76);
  font-size: 0.76rem;
}

.contacts-details {
  padding-block: clamp(95px, 11vw, 160px);
  background: var(--contacts-paper);
}

.contacts-prep {
  padding-block: clamp(95px, 10vw, 145px);
  background: #ddd7cd;
}

.contacts-section-heading--prep {
  align-items: start;
}

.contacts-section-heading--prep > div > p {
  max-width: 680px;
  margin-top: 28px;
  color: #665f57;
  font-size: 1rem;
  line-height: 1.7;
}

.contacts-prep__steps {
  display: grid;
  margin: clamp(60px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-prep__steps li {
  position: relative;
  min-height: 280px;
  border-top: 1px solid rgba(21, 25, 27, 0.24);
  padding: 58px clamp(26px, 4vw, 52px) 34px 0;
}

.contacts-prep__steps li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: -1px;
  right: 0;
  width: 33.333%;
  height: 1px;
  background: var(--contacts-ink);
  content: "";
}

.contacts-prep__number {
  position: absolute;
  top: -18px;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--contacts-ink);
  border-radius: 50%;
  background: #ddd7cd;
  font-size: 0.78rem;
  place-items: center;
}

.contacts-prep__steps h3 {
  max-width: 300px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.contacts-prep__steps p {
  max-width: 340px;
  margin-top: 24px;
  color: #665f57;
  line-height: 1.65;
}

.contacts-section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(30px, 6vw, 90px);
}

.contacts-section-heading h2 {
  max-width: 900px;
  font-size: clamp(2.8rem, 5.5vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.contacts-details__grid {
  display: grid;
  margin-top: clamp(60px, 7vw, 100px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-details__grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 4vw, 54px);
}

.contacts-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contacts-details__grid address,
.contacts-details__grid article > p:not(.contacts-label, .contacts-detail-note),
.contacts-details__grid article > a:not(.text-link) {
  margin-top: 28px;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-style: normal;
  line-height: 1.5;
}

.contacts-details__grid article > a + a {
  margin-top: 8px;
}

.contacts-details__grid .text-link {
  margin-top: auto;
  padding-top: 34px;
}

.contacts-detail-note {
  max-width: 300px;
  margin-top: auto;
  padding-top: 34px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.contacts-map {
  display: grid;
  min-height: 520px;
  margin-top: clamp(70px, 8vw, 110px);
  border: 1px solid var(--line);
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
}

.contacts-map__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 5vw, 72px);
}

.contacts-map__copy h3 {
  max-width: 430px;
  margin-top: 24px;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contacts-map__copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 30px;
  color: var(--muted);
  line-height: 1.7;
}

.contacts-map__copy .text-link {
  margin-top: 38px;
}

.contacts-map__frame {
  min-height: 520px;
  border-left: 1px solid var(--line);
  background: #d8d4cc;
}

.contacts-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: grayscale(1) contrast(0.94);
}

.contacts-message {
  padding-block: clamp(95px, 11vw, 155px);
  background:
    linear-gradient(110deg, rgba(21, 25, 27, 0.98), rgba(28, 35, 38, 0.94)),
    var(--contacts-ink);
  color: var(--contacts-paper);
}

.contacts-message__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(60px, 10vw, 150px);
}

.contacts-message__copy .eyebrow {
  color: var(--contacts-stone);
}

.contacts-message__copy h2 {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(2.5rem, 4.7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.048em;
}

.contacts-message__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-top: 34px;
  color: rgba(241, 238, 232, 0.64);
  line-height: 1.7;
}

.contacts-message__copy .text-link {
  margin-top: 38px;
  color: var(--contacts-paper);
}

.contact-form textarea {
  min-height: 168px;
}

.contact-file {
  position: relative;
}

.contact-file > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-file__control {
  display: flex;
  min-height: 54px;
  margin-top: 12px;
  align-items: center;
  gap: 18px;
}

.contact-file__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(241, 238, 232, 0.42);
  padding: 0 18px;
  color: var(--contacts-paper);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease;
}

.contact-file:hover .contact-file__button,
.contact-file:has(input:focus-visible) .contact-file__button {
  background: var(--contacts-paper);
  color: var(--contacts-ink);
}

.contact-file:has(input:focus-visible) .contact-file__button {
  outline: 2px solid var(--contacts-paper);
  outline-offset: 3px;
}

.contact-file__name {
  overflow: hidden;
  color: rgba(241, 238, 232, 0.55);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contacts-hero {
    min-height: auto;
  }

  .contacts-hero__layout,
  .contacts-section-heading,
  .contacts-message__layout {
    grid-template-columns: 1fr;
  }

  .contacts-hero__layout {
    gap: 0;
    padding-inline: 0;
  }

  .contacts-hero__copy {
    padding: 120px clamp(22px, 4vw, 56px) 76px;
  }

  .contacts-hero__copy h1 {
    font-size: clamp(2.65rem, 11.6vw, 4.5rem);
    line-height: 0.96;
  }

  .contacts-hero__visual {
    min-height: 520px;
    border: 0;
    border-top: 1px solid rgba(241, 238, 232, 0.14);
  }

  .contacts-section-heading {
    align-items: start;
  }

  .contacts-details__grid {
    grid-template-columns: 1fr;
  }

  .contacts-prep__steps,
  .contacts-map {
    grid-template-columns: 1fr;
  }

  .contacts-prep__steps {
    gap: 34px;
  }

  .contacts-prep__steps li {
    min-height: auto;
    padding: 46px 0 20px;
  }

  .contacts-prep__steps li:not(:last-child)::after {
    width: 25%;
  }

  .contacts-map__frame {
    min-height: 440px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contacts-details__grid article {
    min-height: 270px;
  }

  .contacts-message__layout {
    gap: 62px;
  }

  .contact-form .button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .contacts-hero__visual {
    min-height: 430px;
  }

  .contacts-details__grid article {
    min-height: 245px;
    padding: 30px 24px;
  }

  .contacts-map {
    min-height: 0;
  }

  .contacts-map__copy {
    padding: 36px 24px 42px;
  }

  .contacts-map__frame {
    min-height: 360px;
  }

  .contact-file__control {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* Contacts: the real salon establishes place instead of abstract colour bands. */
.contacts-page {
  --contacts-ink: #15191b;
  --contacts-paper: #f3eee7;
  --contacts-stone: #c8beb2;
  background: #171a1b;
  color: var(--contacts-paper);
}

.contacts-hero {
  min-height: clamp(650px, 72vw, 900px);
  background:
    linear-gradient(90deg, rgba(12, 14, 15, 0.92) 0%, rgba(12, 14, 15, 0.72) 42%, rgba(12, 14, 15, 0.28) 72%, rgba(12, 14, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 14, 15, 0.12), rgba(12, 14, 15, 0.5)),
    url("/images/contacts-salon-interior-owner.jpg") center 46% / cover no-repeat;
  color: var(--contacts-paper);
}

.contacts-hero__layout {
  display: flex;
  min-height: inherit;
  align-items: center;
}

.contacts-hero__copy {
  max-width: min(760px, 64vw);
  padding-block: clamp(130px, 16vw, 210px) clamp(100px, 13vw, 170px);
}

.contacts-hero__copy .eyebrow,
.contacts-message__copy .eyebrow,
.contacts-details .eyebrow,
.contacts-prep .eyebrow {
  color: var(--contacts-stone);
}

.contacts-hero__copy > p:not(.eyebrow),
.contacts-message__copy > p:not(.eyebrow) {
  color: rgba(243, 238, 231, 0.78);
}

.contacts-page #content > .contacts-prep {
  padding-block: clamp(88px, 9vw, 138px);
  border-bottom: 1px solid rgba(243, 238, 231, 0.14);
  background:
    linear-gradient(110deg, rgba(18, 21, 22, 0.96), rgba(31, 34, 34, 0.9)),
    url("/images/contacts-salon-interior-owner.jpg") center 70% / cover no-repeat;
  color: var(--contacts-paper);
}

.contacts-section-heading--prep > div > p,
.contacts-prep__steps p {
  color: rgba(243, 238, 231, 0.7);
}

.contacts-prep__steps li {
  border-color: rgba(243, 238, 231, 0.22);
}

.contacts-prep__steps li:not(:last-child)::after {
  background: rgba(243, 238, 231, 0.7);
}

.contacts-prep__number {
  border-color: rgba(243, 238, 231, 0.62);
  background: #1d2021;
  color: var(--contacts-paper);
}

.contacts-page #content > .contacts-details {
  position: relative;
  padding-block: clamp(95px, 11vw, 160px);
  background:
    linear-gradient(100deg, rgba(12, 14, 15, 0.94) 0%, rgba(12, 14, 15, 0.82) 48%, rgba(12, 14, 15, 0.68) 100%),
    url("/images/contacts-salon-exterior-owner.jpg") center 35% / cover no-repeat;
  color: var(--contacts-paper);
}

.contacts-details__grid {
  border-color: rgba(243, 238, 231, 0.18);
  background: rgba(14, 16, 17, 0.54);
  backdrop-filter: blur(6px);
}

.contacts-details__grid article {
  border-color: rgba(243, 238, 231, 0.18);
}

.contacts-label,
.contacts-detail-note,
.contacts-map__copy > p:not(.eyebrow) {
  color: rgba(243, 238, 231, 0.68);
}

.contacts-details__grid address,
.contacts-details__grid article > p:not(.contacts-label, .contacts-detail-note),
.contacts-details__grid article > a:not(.text-link),
.contacts-details .text-link,
.contacts-details :where(h2, h3) {
  color: var(--contacts-paper);
}

.contacts-map {
  border-color: rgba(243, 238, 231, 0.18);
  background: rgba(14, 16, 17, 0.68);
  backdrop-filter: blur(7px);
}

.contacts-map__frame {
  border-color: rgba(243, 238, 231, 0.18);
  background: #272929;
}

.contacts-page #content > .contacts-message {
  padding-block: clamp(95px, 11vw, 155px);
  border-top: 1px solid rgba(243, 238, 231, 0.14);
  background: linear-gradient(110deg, #151819, #222626);
}

@media (max-width: 900px) {
  .contacts-hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .contacts-hero__layout {
    display: flex;
    padding-inline: clamp(22px, 4vw, 56px);
  }

  .contacts-hero__copy {
    max-width: 690px;
    padding: 150px 0 92px;
  }
}

@media (max-width: 540px) {
  .contacts-hero {
    min-height: 650px;
    background:
      linear-gradient(90deg, rgba(12, 14, 15, 0.9), rgba(12, 14, 15, 0.48)),
      linear-gradient(180deg, rgba(12, 14, 15, 0.18), rgba(12, 14, 15, 0.62)),
      url("/images/contacts-salon-interior-owner.jpg") 63% center / cover no-repeat;
  }

  .contacts-details {
    background-position: 42% center;
  }

  .contacts-details__grid,
  .contacts-map {
    backdrop-filter: none;
  }
}

/* Главная: единое спокойное полотно между Hero и формой расчёта. */
.home-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1b2326;
  color: #f3eee6;
}

.home-story::before,
.home-story::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: -1;
  height: min(1040px, 19%);
  content: "";
  pointer-events: none;
}

.home-story::before {
  top: 0;
  background:
    linear-gradient(180deg, rgba(18, 24, 27, 0.74), rgba(27, 35, 38, 0.94) 78%, #1b2326),
    linear-gradient(90deg, rgba(18, 24, 27, 0.72), rgba(18, 24, 27, 0.34)),
    url("/images/portfolio/agne/agne-1.jpg") center 38% / cover no-repeat;
}

.home-story::after {
  bottom: 0;
  background:
    linear-gradient(0deg, rgba(18, 24, 27, 0.8), rgba(27, 35, 38, 0.94) 74%, #1b2326),
    linear-gradient(90deg, rgba(18, 24, 27, 0.58), rgba(18, 24, 27, 0.78)),
    url("/images/portfolio/karima/karima-1.jpg") center 54% / cover no-repeat;
}

.home-page .home-story > section {
  position: relative;
  background: transparent;
  color: inherit;
}

.home-page .home-story > section + section {
  border-top: 1px solid rgba(243, 238, 230, 0.12);
}

.home-page .home-story h2,
.home-page .home-story h3,
.home-page .home-story strong,
.home-page .home-story summary,
.home-page .home-story .text-link {
  color: #f3eee6;
}

.home-page .home-story .eyebrow,
.home-page .home-story p,
.home-page .home-story cite,
.home-page .home-story figcaption span,
.home-page .home-story .studio-stat span {
  color: rgba(243, 238, 230, 0.7);
}

.home-page .project-image-wrap,
.home-page .studio-portrait,
.home-page .production-visual {
  border-radius: clamp(18px, 2vw, 28px);
}

.home-page .project-card figcaption {
  border-bottom: 1px solid rgba(243, 238, 230, 0.16);
}

.home-page .process-section,
.home-page .owner-section,
.home-page .production-section,
.home-page .partners-section,
.home-page .trusted-section,
.home-page .reviews-section,
.home-page .faq-section {
  background: transparent;
}

.home-page .owner-section::before,
.home-page .owner-section::after {
  display: none;
}

.home-page .studio-copy,
.home-page .production-copy {
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.home-page .studio-copy {
  padding: clamp(12px, 3vw, 46px) 0 clamp(12px, 3vw, 46px) clamp(24px, 4vw, 64px);
}

.home-page .production-copy {
  padding-block: clamp(18px, 3vw, 46px);
}

.home-page .studio-copy > p:not(.eyebrow),
.home-page .production-copy > p:not(.eyebrow, .studio-stat) {
  color: rgba(243, 238, 230, 0.72);
}

.home-page .studio-stat {
  border-top-color: rgba(243, 238, 230, 0.2);
}

.home-page .partners-layout {
  gap: clamp(42px, 7vw, 96px);
  border: 1px solid rgba(243, 238, 230, 0.16);
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(34px, 5vw, 70px);
  background: rgba(12, 16, 17, 0.66);
  color: #f3eee6;
  box-shadow: 0 18px 48px rgba(5, 8, 9, 0.18);
  backdrop-filter: blur(14px);
}

.home-page .partners-layout h2 {
  color: #f3eee6;
}

.home-page .partner-logo {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.home-page .partner-logo--marmi {
  filter: invert(1);
}

.home-page .review-list {
  padding-inline: 0;
  border-top-color: rgba(243, 238, 230, 0.22);
  background: transparent;
  backdrop-filter: none;
}

.home-page .review-list blockquote,
.home-page .faq-list,
.home-page .faq-list details,
.home-page .faq-layout {
  border-color: rgba(243, 238, 230, 0.18);
}

.home-page .faq-section .faq-list p,
.home-page .faq-section summary {
  color: rgba(243, 238, 230, 0.74);
}

.home-page .trusted-section {
  padding-block: clamp(70px, 8vw, 116px);
}

@media (max-width: 900px) {
  .home-story::before,
  .home-story::after {
    height: 760px;
  }

  .home-page .studio-copy {
    padding: 12px 0 0;
  }

  .home-page .partners-layout {
    padding: clamp(28px, 7vw, 46px);
  }
}

@media (max-width: 620px) {
  .home-page .home-story > section + section {
    border-top-color: rgba(243, 238, 230, 0.1);
  }

  .home-page .partners-layout {
    border-radius: 24px;
  }
}

/* Единый фон подвала: следующий шаг и контакты находятся на одном утверждённом кадре. */
.site-footer {
  --footer-image: url("/images/footer-estimate-owner.jpg") !important;
  --footer-position: 70% 68% !important;
  background-image: var(--footer-image) !important;
  background-position: var(--footer-position) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-color: #080b0c !important;
}

.site-footer::before {
  background:
    linear-gradient(90deg, rgba(7, 10, 11, 0.84) 0%, rgba(7, 10, 11, 0.7) 52%, rgba(7, 10, 11, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 10, 11, 0.12), rgba(7, 10, 11, 0.58));
}

.site-footer .footer-grid {
  align-items: start;
  padding-block: 22px clamp(64px, 6vw, 92px);
}

.site-footer .footer-logo {
  width: clamp(178px, 17vw, 240px);
  overflow: visible;
}

.site-footer .footer-logo__image {
  object-fit: contain;
  overflow: visible;
}

.site-footer .footer-contacts {
  align-self: start;
  padding-top: 5px;
}

.home-closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 10, 11, 0.84) 0%, rgba(7, 10, 11, 0.7) 52%, rgba(7, 10, 11, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 10, 11, 0.12), rgba(7, 10, 11, 0.58)),
    #080b0c url("/images/footer-estimate-owner.jpg") 70% 68% / cover no-repeat;
}

.home-closing .estimate-section,
.home-closing .site-footer {
  background: transparent !important;
}

.home-closing .site-footer::before,
.home-closing .site-footer::after {
  display: none;
}

/* Блог: редакционная лента вместо однотипной плитки и ярких обложек. */
.blog-page {
  color: #f4f1ec;
  background: #202322;
}

.blog-hero {
  min-height: 64vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(9, 12, 12, 0.92) 0%, rgba(9, 12, 12, 0.72) 48%, rgba(9, 12, 12, 0.25) 100%),
    url("/images/blog-hero-planning-owner.jpg") center 54% / cover no-repeat;
}

.blog-hero__copy {
  padding-block: clamp(8rem, 15vw, 13rem) clamp(4rem, 8vw, 7rem);
}

.blog-hero__copy h1 {
  max-width: 960px;
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 6.2vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.blog-hero__copy > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(244, 241, 236, 0.76);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.blog-editorial {
  position: relative;
  background:
    linear-gradient(rgba(24, 27, 26, 0.9), rgba(24, 27, 26, 0.96)),
    url("/images/portfolio/agne/agne-4.jpg") center / cover fixed;
}

.blog-editorial__inner {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.blog-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(3rem, 7vw, 7rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-story:nth-child(even) .blog-story__media {
  order: 2;
}

.blog-story--lead {
  padding-top: 0;
}

.blog-story__media {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 3;
  background: #303332;
}

.blog-story--lead .blog-story__media {
  aspect-ratio: 16 / 10;
}

.blog-story__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease;
}

.blog-story__media:hover img {
  transform: scale(1.025);
}

.blog-story__copy {
  max-width: 600px;
}

.blog-story__copy h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.blog-story__copy h2 a {
  color: #f4f1ec;
  text-decoration: none;
}

.blog-story__copy > p:not(.eyebrow) {
  margin: 0 0 1.5rem;
  color: rgba(244, 241, 236, 0.7);
  font-size: 1.06rem;
  line-height: 1.68;
}

.blog-story__copy .text-link {
  color: #f4f1ec;
}

.blog-archive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(3rem, 6vw, 6rem);
}

.blog-archive h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

@media (max-width: 820px) {
  .blog-hero {
    min-height: 70svh;
    background-position: 62% center;
  }

  .blog-hero__copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.15rem);
    letter-spacing: -0.05em;
  }

  .blog-story {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .blog-story:nth-child(even) .blog-story__media {
    order: initial;
  }

  .blog-story__media,
  .blog-story--lead .blog-story__media {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .blog-archive {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Обзор фурнитуры: тот же редакционный ритм, что на остальных страницах
 * материалов — один осмысленный hero и открытые зигзагообразные главы. */
.hardware-hub-page .hardware-hub-hero {
  min-height: 720px;
  background: #111719;
}

.hardware-hub-page .hardware-hub-hero::before {
  z-index: 2;
  background: linear-gradient(90deg, rgba(13, 18, 20, 0.98) 0%, rgba(13, 18, 20, 0.9) 42%, rgba(13, 18, 20, 0.34) 76%, rgba(13, 18, 20, 0.18) 100%);
  mask-image: none;
}

.hardware-hub-page .hardware-hub-hero::after {
  display: none;
}

.hardware-hub-page .hardware-hub-hero__image {
  inset: 0;
  width: auto;
}

.hardware-hub-page .hardware-hub-hero__image img:first-child {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 68% center;
  clip-path: none;
  filter: saturate(0.72) contrast(1.02) brightness(0.78);
  box-shadow: none;
}

.hardware-hub-page .hardware-hub-hero__copy {
  padding-block: 166px 112px;
}

.hardware-hub-page .hardware-hub-hero__copy h1 {
  max-width: 800px;
}

.hardware-hub-page .hardware-hub-categories {
  padding-block: clamp(82px, 9vw, 136px);
  background: linear-gradient(180deg, #292825 0%, #222321 100%);
}

.hardware-hub-page .hardware-hub-list {
  gap: 0;
}

.hardware-hub-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  padding-bottom: clamp(64px, 8vw, 112px);
}

.hardware-hub-section-heading h2 {
  max-width: 760px;
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  line-height: 0.98;
}

.hardware-hub-section-heading > p {
  max-width: 590px;
  color: rgba(243, 238, 230, 0.76);
}

.hardware-hub-page .hardware-hub-card,
.hardware-hub-page .hardware-hub-card:nth-child(even) {
  min-height: 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(243, 238, 230, 0.15);
  border-radius: 0;
  padding-block: clamp(54px, 7vw, 96px);
  background: transparent;
  color: var(--paper);
  box-shadow: none;
}

.hardware-hub-page .hardware-hub-card:nth-child(even) {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
}

.hardware-hub-page .hardware-hub-card figure,
.hardware-hub-page .hardware-hub-card img {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.hardware-hub-page .hardware-hub-card figure {
  overflow: hidden;
  border-radius: var(--radius-panel);
}

.hardware-hub-page .hardware-hub-card > div {
  padding: 0;
  background: transparent !important;
}

.hardware-hub-page .hardware-hub-card > div::before {
  display: none;
}

.hardware-hub-page .hardware-hub-card h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.9rem);
  line-height: 1;
}

.hardware-hub-page .hardware-hub-card > div > p:not(.hardware-kicker) {
  max-width: 540px;
  color: rgba(243, 238, 230, 0.76);
}

.hardware-hub-page .hardware-source-note {
  background: #1b1d1c;
}

@media (max-width: 860px) {
  .hardware-hub-section-heading,
  .hardware-hub-page .hardware-hub-card,
  .hardware-hub-page .hardware-hub-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hardware-hub-page .hardware-hub-card:nth-child(even) figure {
    order: 0;
  }

  .hardware-hub-page .hardware-hub-hero__image {
    width: auto;
    opacity: 1;
  }

  .hardware-hub-page .hardware-hub-hero__image img:first-child {
    object-position: 64% center;
  }
}

@media (max-width: 620px) {
  .hardware-hub-page .hardware-hub-hero {
    min-height: 650px;
  }

  .hardware-hub-page .hardware-hub-hero__image {
    inset: 0;
    width: auto;
  }

  .hardware-hub-page .hardware-hub-card figure,
  .hardware-hub-page .hardware-hub-card img {
    aspect-ratio: 4 / 3;
  }
}

/* Hardware detail pages: one dark editorial system for the complete subtree.
 * Images remain the primary surfaces; text and comparisons stay open on the
 * shared canvas so rounded containers do not repeat the image radius. */
.hardware-detail-page {
  --hardware-detail-copy: rgba(243, 238, 230, 0.84);
  --hardware-detail-muted: rgba(243, 238, 230, 0.7);
  --hardware-detail-line: rgba(243, 238, 230, 0.18);
  --hardware-detail-accent: #e2bd91;
  background: #262726;
}

.hardware-storage-page {
  --material-canvas-image-a: url("/images/materials/hardware/official/storage-tandem.jpg");
  --material-canvas-image-b: url("/images/materials/hardware/official/storage-space-tower.jpg");
}

.hardware-drawers-page {
  --material-canvas-image-a: url("/images/materials/hardware/deep/drawers-legrabox.webp");
  --material-canvas-image-b: url("/images/materials/hardware/official/drawers-ambia.jpg");
}

.hardware-corners-page {
  --material-canvas-image-a: url("/images/materials/hardware/official/corners-space-corner.jpg");
  --material-canvas-image-b: url("/images/materials/hardware/official/corners-magic-motion.avif");
}

.hardware-lifts-page {
  --material-canvas-image-a: url("/images/materials/hardware/official/lifts-hs-clean.jpg");
  --material-canvas-image-b: url("/images/materials/hardware/official/lifts-hl.jpg");
}

.hardware-detail-page #content > section:not(.hardware-detail-hero) {
  padding-block: clamp(70px, 8vw, 118px);
}

.hardware-detail-page .hardware-detail-hero {
  min-height: min(780px, 88svh);
  border-bottom: 1px solid rgba(243, 238, 230, 0.12);
}

.hardware-detail-page .hardware-detail-hero::before {
  background: linear-gradient(90deg, rgba(12, 15, 16, 0.96) 0%, rgba(12, 15, 16, 0.78) 48%, rgba(12, 15, 16, 0.28) 100%);
}

.hardware-detail-page .hardware-detail-hero::after {
  background: linear-gradient(180deg, rgba(8, 10, 11, 0.08), rgba(8, 10, 11, 0.42));
  mask-image: none;
}

.hardware-detail-page .hardware-detail-hero__copy {
  padding-block: 142px 92px;
}

.hardware-detail-page .hardware-detail-hero__copy h1 {
  max-width: 900px;
  font-size: clamp(3.15rem, 6vw, 6.2rem);
  line-height: 0.97;
}

.hardware-detail-page .hardware-detail-hero__copy > p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hardware-detail-page .hardware-detail-hero :where(.catalog-back, .eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.hardware-detail-page #content > .hardware-detail-intro > .shell,
.hardware-detail-page #content > .hardware-product-sequence--dark > .shell,
.hardware-detail-page #content > .drawer-fillers-section > .shell,
.hardware-detail-page #content > .hardware-checklist > .shell {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  box-shadow: none;
  backdrop-filter: none;
}

.hardware-detail-page .hardware-detail-intro__grid {
  align-items: start;
  padding-bottom: clamp(42px, 6vw, 78px);
  border-bottom: 1px solid var(--hardware-detail-line);
}

.hardware-detail-page .hardware-detail-intro h2,
.hardware-detail-page .hardware-choice-section h2,
.hardware-detail-page .hardware-checklist h2,
.hardware-detail-page .drawer-design-copy h2,
.hardware-detail-page .drawer-fillers-title h2,
.hardware-detail-page .corner-motion-layout h2,
.hardware-detail-page .lift-motion-summary h2 {
  color: var(--paper);
  font-size: clamp(2.35rem, 4.7vw, 4.9rem);
  line-height: 1;
}

.hardware-detail-page .hardware-detail-intro__grid > p:last-child,
.hardware-detail-page .hardware-choice-section__grid > div:first-child > p:last-child,
.hardware-detail-page .drawer-design-copy > p:not(.eyebrow),
.hardware-detail-page .drawer-fillers-title > p:last-child,
.hardware-detail-page .corner-motion-layout > div > p:not(.eyebrow) {
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .hardware-product-sequence,
.hardware-detail-page .drawer-design-section,
.hardware-detail-page .drawer-fillers-section,
.hardware-detail-page .corner-motion-section,
.hardware-detail-page .lift-product-sequence,
.hardware-detail-page .lift-motion-summary,
.hardware-detail-page .hardware-choice-section,
.hardware-detail-page .hardware-checklist {
  background: transparent;
  color: var(--paper);
}

.hardware-detail-page :where(
  .hardware-product-sequence,
  .drawer-design-section,
  .drawer-fillers-section,
  .corner-motion-section,
  .lift-product-sequence,
  .lift-motion-summary,
  .hardware-choice-section,
  .hardware-checklist
)::before,
.hardware-detail-page :where(
  .hardware-product-sequence,
  .drawer-design-section,
  .drawer-fillers-section,
  .corner-motion-section,
  .lift-product-sequence,
  .lift-motion-summary,
  .hardware-choice-section,
  .hardware-checklist
)::after {
  display: none;
}

.hardware-detail-page .hardware-product-list {
  gap: clamp(28px, 4vw, 54px);
}

.hardware-detail-page .hardware-product-row,
.hardware-detail-page .hardware-product-row:nth-child(even),
.hardware-detail-page .hardware-product-sequence--dark .hardware-product-row {
  min-height: 0;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--hardware-detail-line);
  border-radius: 0;
  padding-block: clamp(48px, 6vw, 84px);
  background: transparent;
  color: var(--paper);
  box-shadow: none;
}

.hardware-detail-page .hardware-product-row:nth-child(even) {
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
}

.hardware-detail-page .hardware-product-row figure {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: #4d4e4c;
}

.hardware-detail-page .hardware-product-row figure > img {
  min-height: 0;
  object-fit: cover;
}

.hardware-detail-page .hardware-product-copy {
  padding: clamp(22px, 4vw, 58px) 0;
}

.hardware-detail-page .hardware-product-copy::before {
  display: none;
}

.hardware-detail-page .hardware-product-copy h2,
.hardware-detail-page .hardware-product-sequence--dark .hardware-product-copy h2 {
  color: var(--paper);
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
  line-height: 1;
}

.hardware-detail-page .hardware-product-copy > p:not(.hardware-kicker),
.hardware-detail-page .hardware-product-sequence--dark .hardware-product-copy > p:not(.hardware-kicker),
.hardware-detail-page .hardware-product-copy ul,
.hardware-detail-page .hardware-product-sequence--dark .hardware-product-copy ul {
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .hardware-product-copy li::marker {
  color: var(--hardware-detail-accent);
}

.hardware-detail-page .hardware-product-detail {
  border-color: var(--hardware-detail-line);
}

.hardware-detail-page :where(.hardware-kicker, .hardware-source-link) {
  color: var(--hardware-detail-accent);
}

.hardware-detail-page .hardware-product-row .hardware-kicker,
.hardware-detail-page .lift-product-row .hardware-kicker {
  color: var(--hardware-detail-accent);
}

.hardware-detail-page .hardware-product-row .hardware-product-copy li {
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .hardware-product-row figcaption,
.hardware-detail-page .drawer-design-images figcaption,
.hardware-detail-page .corner-motion-layout figcaption,
.hardware-detail-page :where(.lift-product-scene span, .lift-tech-card figcaption) {
  background: rgba(10, 13, 14, 0.82);
  color: rgba(255, 255, 255, 0.9);
}

.hardware-detail-page .hardware-choice-section__grid,
.hardware-detail-page .hardware-checklist__grid,
.hardware-detail-page .lift-motion-summary__grid {
  padding-block: clamp(34px, 5vw, 70px);
  border-top: 1px solid var(--hardware-detail-line);
  border-bottom: 1px solid var(--hardware-detail-line);
}

.hardware-detail-page .hardware-choice-cards article,
.hardware-detail-page .drawer-fillers-grid article {
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hardware-detail-page .hardware-choice-cards :where(h3, p),
.hardware-detail-page .drawer-fillers-grid :where(h3, p) {
  color: var(--paper);
}

.hardware-detail-page .hardware-choice-cards p,
.hardware-detail-page .drawer-fillers-grid p {
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .hardware-choice-cards span {
  color: var(--hardware-detail-accent);
}

.hardware-detail-page .drawer-design-images figure,
.hardware-detail-page .corner-motion-layout figure {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-panel);
  background: #4d4e4c;
  box-shadow: none;
}

.hardware-detail-page .technical-trace,
.hardware-detail-page .lift-tech-glow {
  display: none;
}

.hardware-detail-page .hardware-checklist ul {
  border-color: var(--hardware-detail-line);
}

.hardware-detail-page .hardware-checklist li {
  border-color: var(--hardware-detail-line);
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .lift-product-list {
  gap: clamp(28px, 5vw, 64px);
}

.hardware-detail-page .lift-product-row,
.hardware-detail-page .lift-product-row:nth-child(even) {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr) minmax(190px, 0.32fr);
  gap: clamp(22px, 3.5vw, 52px);
  align-items: center;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--hardware-detail-line);
  border-radius: 0;
  padding-block: clamp(48px, 6vw, 84px);
  background: transparent;
  box-shadow: none;
}

.hardware-detail-page .lift-product-row:nth-child(even) {
  grid-template-columns: minmax(190px, 0.32fr) minmax(300px, 0.62fr) minmax(0, 1fr);
}

.hardware-detail-page :where(.lift-product-scene, .lift-tech-card) {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-panel);
}

.hardware-detail-page :where(.lift-product-scene img, .lift-tech-card > img) {
  min-height: 0;
  object-fit: cover;
}

.hardware-detail-page .lift-product-copy {
  padding: clamp(20px, 3vw, 46px) 0;
}

.hardware-detail-page .lift-product-copy h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

.hardware-detail-page .lift-product-copy > p:not(.hardware-kicker) {
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .lift-motion-summary dl {
  border-color: var(--hardware-detail-line);
}

.hardware-detail-page .lift-motion-summary dl > div {
  border-color: var(--hardware-detail-line);
}

.hardware-detail-page .lift-motion-summary :where(dt, dd) {
  color: var(--hardware-detail-copy);
}

.hardware-detail-page .lift-motion-summary dt {
  color: var(--hardware-detail-accent);
}

.hardware-detail-page .hardware-next-section,
.hardware-detail-page .hardware-next-section:hover,
.hardware-detail-page .hardware-next-section:focus-visible {
  min-height: 210px;
  border-top: 1px solid var(--hardware-detail-line);
  border-bottom: 1px solid var(--hardware-detail-line);
  background: rgba(18, 20, 20, 0.72);
  color: var(--paper);
}

.hardware-detail-page .hardware-next-section > span:first-child {
  color: var(--hardware-detail-muted);
}

.hardware-detail-page .hardware-next-section strong {
  color: var(--paper);
}

@media (max-width: 1080px) {
  .hardware-detail-page .lift-product-row,
  .hardware-detail-page .lift-product-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  }

  .hardware-detail-page .lift-product-row:nth-child(even) .lift-product-scene,
  .hardware-detail-page .lift-product-row:nth-child(even) .lift-product-copy,
  .hardware-detail-page .lift-product-row:nth-child(even) .lift-tech-card {
    order: 0;
  }

  .hardware-detail-page .lift-tech-card {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 860px) {
  .hardware-detail-page .hardware-detail-intro__grid,
  .hardware-detail-page .hardware-choice-section__grid,
  .hardware-detail-page .hardware-checklist__grid,
  .hardware-detail-page .drawer-design-layout,
  .hardware-detail-page .corner-motion-layout,
  .hardware-detail-page .lift-motion-summary__grid,
  .hardware-detail-page .hardware-product-row,
  .hardware-detail-page .hardware-product-row:nth-child(even),
  .hardware-detail-page .lift-product-row,
  .hardware-detail-page .lift-product-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hardware-detail-page .hardware-product-row:nth-child(even) figure,
  .hardware-detail-page .lift-product-row:nth-child(even) .lift-product-scene {
    order: 0;
  }

  .hardware-detail-page .lift-tech-card {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .hardware-detail-page .hardware-detail-hero {
    min-height: 680px;
  }

  .hardware-detail-page .hardware-detail-hero::before {
    background: linear-gradient(90deg, rgba(12, 15, 16, 0.94), rgba(12, 15, 16, 0.62));
  }
}

@media (max-width: 620px) {
  .hardware-detail-page #content > section:not(.hardware-detail-hero) {
    padding-block: 54px;
  }

  .hardware-detail-page .hardware-detail-hero {
    min-height: 620px;
  }

  .hardware-detail-page .hardware-detail-hero__copy {
    padding-block: 110px 64px;
  }

  .hardware-detail-page .hardware-detail-hero__copy h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hardware-detail-page .hardware-product-row,
  .hardware-detail-page .hardware-product-row:nth-child(even),
  .hardware-detail-page .lift-product-row,
  .hardware-detail-page .lift-product-row:nth-child(even) {
    gap: 22px;
    padding-block: 38px;
  }

  .hardware-detail-page .hardware-product-row figure,
  .hardware-detail-page :where(.lift-product-scene, .lift-tech-card) {
    aspect-ratio: 4 / 3;
  }

  .hardware-detail-page .hardware-product-copy,
  .hardware-detail-page .lift-product-copy {
    padding: 8px 0 18px;
  }

  .hardware-detail-page .drawer-design-images {
    grid-template-columns: 1fr;
  }

  .hardware-detail-page .drawer-design-images figure:nth-child(2) {
    transform: none;
  }

  .hardware-detail-page :where(.hardware-choice-cards, .drawer-fillers-grid, .hardware-checklist ul) {
    grid-template-columns: 1fr;
  }
}

/* Footer journey: one photographic surface, one next step, one safe brand row. */
.site-footer {
  min-height: 440px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background-position: 70% 62% !important;
}

.site-footer::before {
  background:
    linear-gradient(90deg, rgba(7, 10, 11, 0.9) 0%, rgba(7, 10, 11, 0.74) 52%, rgba(7, 10, 11, 0.5) 100%),
    linear-gradient(180deg, rgba(7, 10, 11, 0.14), rgba(7, 10, 11, 0.7));
}

.site-footer__content {
  display: grid;
  min-height: inherit;
  grid-template-rows: 1fr auto;
  padding-block: clamp(54px, 5vw, 78px) clamp(34px, 3vw, 48px);
}

.site-footer__journey,
.site-footer__estimate {
  display: grid;
  min-height: 185px;
  align-items: end;
  gap: clamp(20px, 4vw, 52px);
  color: #fff;
}

.site-footer__journey {
  grid-template-columns: minmax(0, 1fr) auto;
  text-decoration: none;
}

.site-footer__journey .eyebrow,
.site-footer__estimate .eyebrow {
  grid-column: 1 / -1;
  align-self: end;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__journey strong,
.site-footer__estimate h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.15rem, 3.8vw, 4.25rem);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.site-footer__journey-copy {
  display: grid;
  gap: 16px;
}

.site-footer__journey-copy > span {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.6;
}

.site-footer__journey-arrow {
  display: grid;
  width: clamp(58px, 5.5vw, 78px);
  height: clamp(58px, 5.5vw, 78px);
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: clamp(1.5rem, 2vw, 2rem);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  place-items: center;
}

.site-footer__journey:hover .site-footer__journey-arrow,
.site-footer__journey:focus-visible .site-footer__journey-arrow {
  background: #f3eee6;
  color: #17191a;
  transform: translateX(6px);
}

.site-footer__estimate {
  grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer__estimate-copy > p:last-child {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.site-footer__estimate .button {
  min-width: 250px;
  justify-content: center;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: clamp(38px, 4vw, 56px) 0 0;
}

.site-footer .footer-logo {
  display: flex;
  width: clamp(140px, 12vw, 185px);
  min-height: 58px;
  align-items: center;
  overflow: visible;
}

.site-footer .footer-logo__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0 !important;
  clip-path: none !important;
  object-fit: contain;
  object-position: left center;
  overflow: visible;
}

.site-footer .footer-contacts {
  align-self: center;
  padding: 0;
}

@media (max-width: 760px) {
  .site-footer {
    min-height: 0;
    background-position: 67% center !important;
  }

  .site-footer__content {
    padding-block: 54px 36px;
  }

  .site-footer__journey,
  .site-footer__estimate {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .site-footer__journey .eyebrow,
  .site-footer__estimate .eyebrow {
    grid-column: auto;
  }

  .site-footer__journey-arrow {
    width: 54px;
    height: 54px;
  }

  .site-footer__estimate .button {
    min-width: 0;
    justify-self: start;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 52px;
  }

  .site-footer .footer-logo {
    width: min(170px, 54vw);
    min-height: 54px;
  }

  .site-footer .footer-contacts,
  .site-footer .footer-contacts a {
    justify-self: start;
    text-align: left;
  }
}

/* Editorial text hierarchy: a warm label, a clear title and quieter copy.
 * The short rule belongs to chapters and substantial content blocks; dense
 * catalog cards keep their compact rhythm without repeating the motif. */
main :where(.eyebrow, .hardware-kicker, .material-note) {
  color: color-mix(in srgb, var(--oak) 78%, currentColor 22%) !important;
}

main :where(section, article, li, div) > :where(h2, h3) ~ p:not(
  .eyebrow,
  .hardware-kicker,
  .material-note,
  .process-stage-result,
  .studio-stat,
  .catalog-source-links
),
main :where(.material-feature-heading, .catalog-direction-heading) > p {
  color: color-mix(in srgb, currentColor 74%, transparent) !important;
}

main section :where(h2, h3)::after,
.site-footer :where(.site-footer__journey-copy strong, .site-footer__estimate h2)::after {
  content: "";
  display: block;
  width: var(--editorial-rule-width, clamp(68px, 8vw, 116px));
  height: 1px;
  margin-top: clamp(14px, 1.6vw, 20px);
  margin-left: var(--editorial-rule-offset, 0px);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--oak) 82%, currentColor 18%) 0%,
    color-mix(in srgb, var(--oak) 54%, currentColor 46%) 44%,
    transparent 100%
  );
}

main section h3::after {
  margin-top: 13px;
}

main :where(
  .project-grid,
  .portfolio-grid,
  .countertop-grid,
  .decor-grid,
  .facade-list,
  .hardware-grid,
  .catalog-direction-grid,
  .facade-detail-grid,
  .milling-sample-grid,
  .veneer-species-grid,
  .facade-group-grid,
  .review-list,
  .drawer-fillers-grid,
  .hardware-choice-cards,
  .process-list
) :where(h2, h3)::after {
  content: none;
}

/* Home chapters use their own toned photographs instead of a long blue field. */
.home-page .home-story > .process-section {
  background:
    linear-gradient(90deg, rgba(10, 15, 17, 0.94) 0%, rgba(10, 15, 17, 0.82) 54%, rgba(10, 15, 17, 0.68) 100%),
    url("/images/home/home-process-puzzle-bg-owner.jpg") center 52% / cover no-repeat;
}

.home-page .home-story > .owner-section {
  background:
    linear-gradient(90deg, rgba(15, 17, 18, 0.9) 0%, rgba(15, 17, 18, 0.76) 48%, rgba(15, 17, 18, 0.82) 100%),
    url("/images/home/home-founder-bg-owner.jpg") center 46% / cover no-repeat;
}

.home-page .home-story > .production-section {
  background:
    linear-gradient(90deg, rgba(11, 14, 15, 0.9) 0%, rgba(11, 14, 15, 0.72) 54%, rgba(11, 14, 15, 0.84) 100%),
    url("/images/home/home-production-bg-owner.jpg") center 52% / cover no-repeat;
}

.home-relationships {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 12, 13, 0.88) 0%, rgba(8, 12, 13, 0.68) 50%, rgba(8, 12, 13, 0.8) 100%),
    url("/images/home/home-partners-puzzle-bg-owner.jpg") center 50% / cover no-repeat;
  color: #f3eee6;
}

.home-page .home-relationships > section {
  position: relative;
  background: transparent;
  color: inherit;
}

.home-page .home-relationships > section + section {
  border-top: 1px solid rgba(243, 238, 230, 0.12);
}

.home-page .home-relationships .partners-layout {
  padding-block: 0;
  padding-inline: clamp(22px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* One continuous accent replaces repeated rules under every process item. */
.home-page .process-list {
  position: relative;
  padding-left: clamp(28px, 3vw, 46px);
  border-top: 0;
}

.home-page .process-list::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--oak) 82%, #f3eee6 18%) 10%,
    color-mix(in srgb, var(--oak) 58%, #f3eee6 42%) 86%,
    transparent 100%
  );
  content: "";
}

.home-page .process-list li {
  border-bottom: 0;
}

.home-page .process-list h3::after {
  content: none;
}

/* Material purpose and removal are visible in both the shortlist and request form. */
.material-shortlist__details li small,
.estimate-materials__item > small {
  color: color-mix(in srgb, var(--oak) 82%, #f3eee6 18%);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-materials li {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(241, 238, 232, 0.12);
}

.estimate-materials__item {
  display: grid;
  gap: 3px;
}

.estimate-materials__item > span {
  color: #aaa59d;
}

.estimate-materials li > button {
  border: 0;
  border-bottom: 1px solid rgba(241, 238, 232, 0.42);
  padding: 4px 0;
  background: transparent;
  color: rgba(241, 238, 232, 0.78);
  font: inherit;
  cursor: pointer;
}

@media (max-width: 620px) {
  .home-page .home-story > .process-section,
  .home-page .home-story > .owner-section,
  .home-page .home-story > .production-section,
  .home-relationships {
    background-position: 58% center;
  }
}

/* Home after the hero: one fixed photographic canvas for every chapter,
 * the request form and the compact contact footer. */
.home-canvas {
  position: relative;
  isolation: isolate;
  background-color: #101719 !important;
  background-image:
    linear-gradient(90deg, rgba(10, 15, 17, 0.92) 0%, rgba(10, 15, 17, 0.78) 52%, rgba(10, 15, 17, 0.7) 100%),
    url("/images/home/home-process-puzzle-bg-owner.jpg");
  background-position: center, center 52%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #f3eee6;
}

.home-page .home-canvas > .hero,
.home-page .home-canvas .home-story,
.home-page .home-canvas .home-closing,
.home-page .home-canvas .home-relationships,
.home-page .home-canvas .home-story > section,
.home-page .home-canvas .home-relationships > section,
.home-page .home-canvas .estimate-section,
.home-page .home-canvas .site-footer {
  background: transparent !important;
}

.home-page .home-canvas > .hero {
  min-height: calc(100svh - 78px);
  border-bottom-color: rgba(243, 238, 230, 0.16);
}

.home-page .home-canvas > .hero .hero-copy {
  z-index: 3;
  width: min(860px, 70vw);
  background: transparent;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.92);
}

.home-page .home-canvas > .hero .hero-visual {
  position: absolute;
  z-index: 1;
  inset: clamp(12px, 1.5vw, 22px);
  width: auto;
  height: auto;
  border: 1px solid rgba(243, 238, 230, 0.16);
  border-radius: clamp(18px, 2vw, 30px);
  background: #101719;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.home-page .home-canvas > .hero .hero-visual::after {
  display: none;
}

.home-page .home-canvas > .hero .hero-visual img {
  filter: none;
  object-position: 52% center;
}

/*
 * The enquiry form is a card: a bordered panel with boxed fields, on the front
 * page and on /kontakt/ alike. It was written for the front page and scoped to
 * it, which left the same form bare-lined on the contacts page — two looks for
 * one form. The scope is the form, not the page (owner, 2026-09-03).
 */
.estimate-form {
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid rgba(243, 238, 230, 0.28);
  border-radius: clamp(16px, 1.6vw, 22px);
  background: rgba(8, 12, 14, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.estimate-form input:not([type="file"]),
.estimate-form textarea {
  border: 1px solid rgba(243, 238, 230, 0.24);
  border-radius: 10px;
  padding-inline: 14px;
  background: rgba(243, 238, 230, 0.045);
}

.estimate-form textarea {
  padding-block: 12px;
}

.estimate-form input:focus,
.estimate-form textarea:focus {
  border-color: rgba(243, 238, 230, 0.72);
}

.home-page .home-canvas .home-story::before,
.home-page .home-canvas .home-story::after,
.home-page .home-canvas .site-footer::before,
.home-page .home-canvas .site-footer::after {
  display: none;
}

.home-page .home-canvas .home-story > section + section,
.home-page .home-canvas .home-relationships,
.home-page .home-canvas .home-closing {
  border-top: 1px solid rgba(243, 238, 230, 0.12);
}

.site-footer--contacts {
  min-height: 0;
  overflow: visible;
}

.site-footer--contacts .site-footer__content {
  display: block;
  min-height: 0;
  padding-block: clamp(52px, 6vw, 84px);
}

.site-footer--contacts .footer-grid {
  grid-template-columns: minmax(150px, 0.55fr) minmax(360px, 1.5fr) minmax(190px, 0.65fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 0;
}

.site-footer--contacts .footer-logo {
  width: min(190px, 100%);
  min-height: 96px;
}

.site-footer--contacts .footer-logo__image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.footer-map {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 230, 0.22);
  border-radius: 18px;
  background: rgba(8, 12, 14, 0.48);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
  filter: grayscale(1) contrast(0.94);
}

@media (max-width: 760px) {
  .home-canvas {
    background-attachment: scroll;
    background-position: 56% center;
  }

  .home-page .home-canvas > .hero .hero-copy {
    width: 100%;
    background: transparent;
  }

  .home-page .home-canvas > .hero .hero-visual {
    inset: 10px;
    width: auto;
    height: auto;
    opacity: 1;
  }

  .site-footer--contacts .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer--contacts .footer-logo {
    width: min(180px, 56vw);
    min-height: 90px;
  }

  .site-footer--contacts .footer-contacts,
  .site-footer--contacts .footer-contacts a {
    justify-self: start;
    text-align: left;
  }

  .footer-map {
    min-height: 220px;
  }

  .footer-map iframe {
    height: 220px;
  }
}

/* The journey footer now starts directly with the destination name. */
.site-footer__journey {
  row-gap: 20px;
}

.site-footer__journey-copy {
  align-self: end;
}

@media (max-width: 760px) {
  main section :where(h2, h3)::after,
  .site-footer :where(.site-footer__journey-copy strong, .site-footer__estimate h2)::after {
    margin-top: 14px;
  }
}

/* Internal pages follow the home-page principle: the current hero photograph
 * becomes one continuous, fixed canvas from the opening image to the footer.
 * Individual chapters stay transparent; cards and media keep their own
 * surfaces where those are needed for contrast or catalogue density. */
main:where(:not(.home-page)) {
  --page-canvas-image: url("/images/detail-jana.webp");
  --page-canvas-position: center;
  position: relative;
  isolation: isolate;
  background-color: #101719;
  background-image:
    linear-gradient(90deg, rgba(9, 14, 16, 0.93) 0%, rgba(9, 14, 16, 0.82) 52%, rgba(9, 14, 16, 0.74) 100%),
    linear-gradient(180deg, rgba(9, 14, 16, 0.16), rgba(9, 14, 16, 0.42)),
    var(--page-canvas-image) !important;
  background-position: center, center, var(--page-canvas-position) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  color: #f3eee6;
}

.production-page {
  --page-canvas-image: url("/images/production/process-measurement-bg-owner-v1.webp");
  --page-canvas-position: center 57%;
}

.materials-page {
  --page-canvas-image: url("/images/detail-jana.webp");
  --page-canvas-position: center 54%;
}

.portfolio-page {
  --page-canvas-image: url("/images/hero-jana.webp");
  --page-canvas-position: center 47%;
}

.faq-page {
  --page-canvas-image: url("/images/faq-hero-questions-owner.jpg");
  --page-canvas-position: center 48%;
}

.blog-page {
  --page-canvas-image: url("/images/blog-hero-planning-owner.jpg");
  --page-canvas-position: center 54%;
}

.contacts-page {
  --page-canvas-image: url("/images/contacts-salon-interior-owner.jpg");
  --page-canvas-position: center 46%;
}

.catalog-hub-page--facades {
  --page-canvas-image: url("/images/facades/facades-hub-hero-owner.jpg");
  --page-canvas-position: center 48%;
}

.catalog-page--laminated-facades {
  --page-canvas-image: url("/images/facades/laminated-hub-hero-owner.jpg");
  --page-canvas-position: center 48%;
}

.catalog-page--egger {
  --page-canvas-image: url("/images/portfolio/natalia/natalia-3.jpg");
  --page-canvas-position: center 48%;
}

.catalog-page--fenix {
  --page-canvas-image: url("/images/facades/editorial/fenix/fenix-hero-v2.webp");
}

.catalog-page--kronospan {
  --page-canvas-image: url("/images/portfolio/irina/irina-4.jpg");
  --page-canvas-position: center 28%;
}

.catalog-page--veneer {
  --page-canvas-image: url("/images/facades/veneer-hero.webp");
}

.catalog-page--decor {
  --page-canvas-image: url("/images/materials/decor-hero.webp");
  --page-canvas-position: center 58%;
}

.catalog-page--milling {
  --page-canvas-image: url("/images/facades/milling/references/frame-slim-kitchen.jpg");
  --page-canvas-position: center 52%;
}

.catalog-hub-page--countertops {
  --page-canvas-image: url("/images/countertops-overview.webp");
  --page-canvas-position: center 52%;
}

.catalog-page--laminate {
  --page-canvas-image: url("/images/countertop-heroes/laminate.webp");
}

.catalog-page--quartz {
  --page-canvas-image: url("/images/countertop-heroes/quartz.webp");
}

.catalog-page--ceramic {
  --page-canvas-image: url("/images/countertop-heroes/ceramic.webp");
}

.catalog-page--granite {
  --page-canvas-image: url("/images/countertop-heroes/granite.webp");
}

.catalog-page--hpl {
  --page-canvas-image: url("/images/countertop-heroes/hpl.webp");
}

.wood-countertops-page {
  --page-canvas-image: url("/images/countertop-heroes/wood.webp");
}

.hardware-hub-page {
  --page-canvas-image: url("/images/materials/hardware/deep/drawers-legrabox.webp");
  --page-canvas-position: 68% center;
}

.hardware-storage-page {
  --page-canvas-image: url("/images/materials/hardware/official/storage-tandem.jpg");
  --page-canvas-position: 65% center;
}

.hardware-drawers-page {
  --page-canvas-image: url("/images/materials/hardware/official/drawers-movento.jpg");
  --page-canvas-position: 62% center;
}

.hardware-corners-page {
  --page-canvas-image: url("/images/materials/hardware/official/corners-lemans.jpg");
  --page-canvas-position: 67% center;
}

.hardware-lifts-page {
  --page-canvas-image: url("/images/materials/hardware/official/lifts-hs.jpg");
  --page-canvas-position: 60% center;
}

main:where(:not(.home-page)) > #content,
main:where(:not(.home-page)) #content > :where(.decor-page-canvas),
main:where(:not(.home-page)) #content section:not(:is(
  .catalog-hero,
  .production-hero,
  .materials-hero,
  .portfolio-hero,
  .faq-hero,
  .blog-hero,
  .contacts-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .project-detail-intro
)),
main:where(:not(.home-page)) .site-footer {
  background-color: transparent !important;
  background-image: none !important;
}

main:where(:not(.home-page)) #content > section:not(:is(
  .catalog-hero,
  .production-hero,
  .materials-hero,
  .portfolio-hero,
  .faq-hero,
  .blog-hero,
  .contacts-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .project-detail-intro
)),
main:where(:not(.home-page)) #content > .decor-page-canvas > section:not(.catalog-hero),
main:where(:not(.home-page)) .site-footer {
  border-color: rgba(243, 238, 230, 0.13) !important;
}

main:where(:not(.home-page)) #content section:not(:is(
  .catalog-hero,
  .production-hero,
  .materials-hero,
  .portfolio-hero,
  .faq-hero,
  .blog-hero,
  .contacts-hero,
  .hardware-hub-hero,
  .hardware-detail-hero,
  .project-detail-intro
)) > :where(.shell, .container) {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  main:where(:not(.home-page)) {
    background-attachment: scroll !important;
  }
}


/* ---------------------------------------------------------------------------
 * Починки контраста на едином canvas (аудит фонов, 1 сентября 2026).
 * Точечные исправления каскада; система фонов и палитра не меняются. */

/* 1. Ссылки-карточки на светлой поверхности: базовое a { color: inherit }
 * специфичнее :where()-сбросов, из-за чего карточки наследовали светлый цвет
 * тёмного canvas («Смотреть декоры» был почти невидим). */
a:is(.countertop-card-link, .catalog-direction-card, .facade-group-card),
.faq-related-grid > a {
  color: var(--ink);
}

/* 2. Тёплый kicker подчиняется поверхности: на светлых панелях общий
 * color-mix(!important) от тёмного canvas давал бледный акцент. */
:is(
  #content > section:is(.catalog-info-section, .hardware-hub-intro, .hardware-detail-intro, .portfolio-guide, .faq-catalog) > .shell,
  #content > section.catalog-section:has(.catalog-browser) > .shell,
  .countertop-card-link, .catalog-direction-card, .wood-species-grid article, .wood-use-copy,
  .hardware-product-row, .preparation-grid article, .faq-related-grid > a, .facade-group-card,
  .veneer-species-card, .milling-sample-card
) :is(.eyebrow, .material-note, .hardware-kicker) {
  color: #625b55 !important;
}

/* 3. Уведомление каталога: полупрозрачная светлая плашка над тёмным canvas
 * давала мутную середину, а текст наследовал светлый цвет canvas. */
p.catalog-notice {
  background: rgba(226, 217, 205, 0.94);
  color: #59534d;
}

/* 4. Тёмная секция образцов фрезеровок: сброс светлых карточек к ink
 * не должен действовать внутри тёмной секции. */
.milling-samples-section--alt .milling-sample-card {
  color: rgba(243, 238, 230, 0.76);
}

/* 5. Подписи к фотографиям следуют поверхности: на canvas — светлые,
 * внутри светлых панелей и карточек — тёмные. */
main:where(:not(.home-page)) #content section:not(:is([class*="-hero"], .production-page-cta)) figcaption {
  color: rgba(243, 238, 230, 0.62);
}
:is(
  #content > section:is(.catalog-info-section, .hardware-hub-intro, .hardware-detail-intro, .portfolio-guide, .faq-catalog) > .shell,
  #content > section.catalog-section:has(.catalog-browser) > .shell,
  .countertop-card-link, .catalog-direction-card, .wood-species-grid article, .wood-use-copy,
  .hardware-product-row, .preparation-grid article, .faq-related-grid > a, .facade-group-card,
  .veneer-species-card, .milling-sample-card
) figcaption {
  color: #5f5953;
}
.milling-samples-section--alt .milling-sample-card figcaption {
  color: rgba(243, 238, 230, 0.62);
}

/* 6. Legacy-цвета var(--muted) поверх тёмного canvas. */
.catalog-page--milling .milling-rule-list dd {
  color: rgba(243, 238, 230, 0.75);
}
.veneer-species-title,
.catalog-page--veneer .veneer-feature-points h3 {
  color: rgba(243, 238, 230, 0.66);
}

/* 7. Светлые контексты страницы «Декор» (собственная вложенная система). */
.catalog-page--decor .decor-intro-section .catalog-info-layout :is(.eyebrow, .material-note),
.catalog-page--decor .decor-story-section .veneer-feature-copy :is(.eyebrow, .material-note),
.catalog-page--decor .decor-catalog-section > .shell :is(.eyebrow, .material-note) {
  color: #625b55 !important;
}

/* 8. Демонтаж прежней системы фоновых полос (решение владельца от 01.09.2026:
 * один непрерывный canvas из Hero страницы). Секции и #content уже прозрачны,
 * но фотополосы #content::before/::after прежней системы продолжали
 * отрисовываться поверх canvas (на «Изготовлении» — production-live и
 * production-cnc за разделами «Замер» и «Подключение»). */
main:where(:not(.home-page)) > #content::before,
main:where(:not(.home-page)) > #content::after {
  content: none !important;
}

/* 9. Карточки направлений хаба столешниц несут Hero своих страниц
 * (решение владельца от 1 сентября 2026 года): фотография показывает материал
 * до перехода, текст переходит на светлую шкалу тёмной поверхности. */
.catalog-hub-page .catalog-direction-card--photo {
  position: relative;
  border-color: rgba(243, 238, 230, 0.22);
  color: #f3eee6;
  background:
    linear-gradient(180deg, rgba(12, 16, 18, 0.86), rgba(12, 16, 18, 0.46) 46%, rgba(12, 16, 18, 0.84)),
    var(--direction-card-image) center 48% / cover no-repeat;
}
.catalog-hub-page .catalog-direction-card--photo:hover,
.catalog-hub-page .catalog-direction-card--photo:focus-visible {
  background:
    linear-gradient(180deg, rgba(12, 16, 18, 0.7), rgba(12, 16, 18, 0.36) 46%, rgba(12, 16, 18, 0.76)),
    var(--direction-card-image) center 48% / cover no-repeat;
}
.catalog-hub-page .catalog-direction-card--photo h2 {
  color: #f3eee6;
}
.catalog-hub-page .catalog-direction-card--photo .catalog-direction-card__body > p:not(.material-note) {
  color: rgba(243, 238, 230, 0.82);
}
.catalog-hub-page .catalog-direction-card--photo .catalog-direction-card__body > span {
  color: #f3eee6;
}
.catalog-hub-page .catalog-direction-card--photo :is(.eyebrow, .material-note) {
  color: rgba(243, 238, 230, 0.8) !important;
}
