@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Separate selector for meaningful glazing choices within one door model. */
body.single-product .product-glazing-variants {
  display: grid;
  width: 100%;
  gap: 8px;
  margin: 5px 0 12px;
}

body.single-product .product-glazing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.single-product .product-glazing-option {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(32, 32, 32, 0.2);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.single-product .product-glazing-option:hover,
body.single-product .product-glazing-option:focus-visible {
  border-color: var(--ink);
}

body.single-product .product-glazing-option.is-current {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

@media (max-width: 620px) {
  body.single-product .product-glazing-variants {
    margin-bottom: 14px;
  }

  body.single-product .product-glazing-option {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 13px;
  }
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/manrope-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
:root {
  --ink: #202020;
  --paper: #ffffff;
  --cream: #efefef;
  --surface: #ffffff;
  --muted-surface: #efefef;
  --deep-surface: #292929;
  --line: rgba(32, 32, 32, 0.2);
  --font-sans: "Manrope", sans-serif;
  --font-meta-size: 11px;
  --font-meta-weight: 500;
  --font-meta-tracking: 0.09em;
  --page-gutter: clamp(72px, 6.5vw, 112px);
}
* {
  box-sizing: border-box;
}
html {
  background: #fff;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}
html.is-at-page-end {
  background: #22211e;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
body.home {
  background: #fff;
}
body.home #content {
  position: relative;
  isolation: isolate;
}
body.is-page-entering {
  animation: bastion-page-enter 0.34s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}
body.is-page-leaving {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.23s ease;
}

.page-loader {
  display: none;
  position: fixed;
  z-index: 1000000;
  inset: 0;
  pointer-events: none;
}

.page-loader:not([hidden]) {
  display: block;
}

.page-loader-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(32, 32, 32, 0.06);
}

.page-loader-progress > i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 0.22s ease-out;
}

.page-loader-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  color: var(--ink);
  background: transparent;
  animation: bastion-page-loader-spin 1.05s linear infinite;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-loader-spinner svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.page-loader-spinner circle {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.page-loader-spinner-track {
  stroke: currentColor;
  stroke-width: 2.5;
  opacity: 0.12;
}

.page-loader-spinner-arc {
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 28 70;
  transform-origin: 20px 20px;
  animation: bastion-page-loader-dash 1.45s ease-in-out infinite;
}

.page-loader.is-complete .page-loader-progress > i {
  transition-duration: 0.16s;
}

.page-loader.is-complete .page-loader-spinner {
  opacity: 0;
  transform: scale(0.78);
}

@keyframes bastion-page-loader-spin {
  to {
    rotate: 1turn;
  }
}

@keyframes bastion-page-loader-dash {
  0% {
    stroke-dasharray: 10 88;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 46 52;
    stroke-dashoffset: -18;
  }
  100% {
    stroke-dasharray: 10 88;
    stroke-dashoffset: -96;
  }
}

@media (max-width: 620px) {
  .page-loader-spinner {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader-spinner {
    animation-duration: 1.8s;
  }

  .page-loader-spinner-arc {
    animation: none;
    stroke-dasharray: 28 70;
  }

  .page-loader-progress > i {
    transition-duration: 0.01ms;
  }
}

/* 0.28.90 — framed desktop catalog with a compact editorial data panel. */
@media (min-width: 901px) {
  body.bastion-catalog-page .shop .product-grid,
  body.bastion-catalog-page .shop .product-grid.is-single-column {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.bastion-catalog-page .shop .product-grid:not(.is-single-column) {
    column-gap: clamp(5px, 0.5vw, 8px);
    row-gap: clamp(14px, 1.15vw, 18px);
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-footer {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 10px 8px 9px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-details {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-title {
    width: 100%;
    text-align: center;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-title h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.11em;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-type {
    display: none;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-aside {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-price,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card.is-on-sale .product-price {
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
    gap: 7px;
    padding-top: 5px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatches {
    min-height: 12px;
    justify-content: center;
    margin-top: 8px;
    gap: 10px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatches.has-many-swatches {
    width: min(100%, 172px);
    row-gap: 9px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatch,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatch.is-current,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card:hover .product-color-swatch.is-current {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    transform: none;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatch.is-current,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card:hover .product-color-swatch.is-current {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
  }
}

@keyframes bastion-page-enter {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

body.home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

body.admin-bar.home .site-header {
  top: 32px;
}
body.admin-bar .header-filled {
  top: 32px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
img {
  display: block;
  width: 100%;
}
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #f7f4eb;
  background: var(--deep-surface);
}
.home-scroll-layer {
  position: relative;
  z-index: 1;
  background: #fff;
}
.page-stacking-intro {
  position: sticky;
  z-index: 0;
  top: var(--page-stacking-intro-top, 0px);
}
.page-scroll-layer {
  position: relative;
  z-index: 1;
  background: #fff;
}
.hero-background {
  position: absolute;
  z-index: 0;
  inset: -8px;
  overflow: hidden;
}
.hero-background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-background img.hero-background-slide.is-centered {
  object-position: center;
}
.hero-background-slide {
  z-index: 0;
  opacity: 0;
  transform: scale(1.045) translateX(1.5%);
  will-change: opacity, transform, clip-path;
}
.hero-background-slide.is-previous {
  z-index: 1;
  opacity: 1;
  transform: scale(0.988) translateX(-0.7%);
  transition: transform 1.6s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.hero-background-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1) translateX(0);
}
.hero-background-slide.is-entering-next {
  animation: hero-slide-in-next 1.35s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}
.hero-background-slide.is-entering-previous {
  animation: hero-slide-in-previous 1.35s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}
.hero-background.is-image-loaded > img.hero-background-slide:not(.is-active):not(.is-previous) {
  opacity: 0 !important;
}
.hero-background > .film-grain {
  z-index: 3;
}
@keyframes hero-slide-in-next {
  from { opacity: 0.2; clip-path: inset(1.5% 0 1.5% 8%); transform: scale(1.04) translateX(2.5%); }
  to { opacity: 1; clip-path: inset(0); transform: scale(1) translateX(0); }
}
@keyframes hero-slide-in-previous {
  from { opacity: 0.2; clip-path: inset(1.5% 8% 1.5% 0); transform: scale(1.04) translateX(-2.5%); }
  to { opacity: 1; clip-path: inset(0); transform: scale(1) translateX(0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.28) 0%, rgba(10, 10, 10, 0.12) 9%, rgba(10, 10, 10, 0.035) 16%, transparent 23%);
  pointer-events: none;
}
.site-header {
  position: relative;
  z-index: 50;
  height: 84px;
  padding: 12px 4.5vw;
  display: grid;
  grid-template-columns: 250px 1fr 330px;
  align-items: center;
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  opacity: 1;
  transform: translateY(0);
  box-shadow: none !important;
  transition: height 0.58s cubic-bezier(0.22, 0.8, 0.2, 1), padding 0.58s cubic-bezier(0.22, 0.8, 0.2, 1), background-color 0.48s ease, border-color 0.48s ease, color 0.42s ease, backdrop-filter 0.55s ease, transform 0.68s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.48s ease;
  will-change: transform, opacity;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.24) 0%, rgba(12, 12, 12, 0.08) 72%, rgba(12, 12, 12, 0.02) 100%);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.42);
  transition: opacity 0.4s ease;
}
.site-header.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(calc(-100% - 12px));
}
.brand {
  position: relative;
  grid-column: 1;
  width: 225px;
  height: 60px;
  overflow: hidden;
}
footer img {
  filter: grayscale(1) brightness(0) invert(1);
}
.brand img {
  position: absolute;
  top: 50%;
  left: 0;
  width: auto;
  max-width: 215px;
  max-height: 60px;
  filter: brightness(0) invert(1);
  transform: translateY(-50%);
  transition: filter 0.72s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.nav {
  position: absolute;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 52px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
  white-space: nowrap;
}
.nav a {
  position: relative;
}
.nav .icon {
  display: none;
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right 0.25s;
}
.nav a:hover:after,
.nav a[aria-current="page"]:after {
  right: 0;
}
.nav-mobile-phone,
.nav-mobile-search,
.nav-mobile-favorites {
  display: none;
}
.header-actions {
  display: flex;
  grid-column: 3;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.header-overlay {
  color: #fff;
}
body.home:not(.menu-open) .header-overlay:not(.is-scrolled) {
  background: transparent;
}
body.home:not(.menu-open) .header-overlay:not(.is-scrolled)::before {
  opacity: 1;
}
.phone {
  font-size: 13px;
  letter-spacing: 0.05em;
}
.menu-button {
  display: none;
  position: relative;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
}
.menu-button span {
  position: absolute;
  top: 50%;
  right: auto;
  left: 50%;
  display: block;
  width: 24px;
  height: 1px;
  background: white;
  transform-origin: center;
  transition: background-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.menu-button span:first-child {
  transform: translate(-50%, -4px);
}
.menu-button span:last-child {
  transform: translate(-50%, 4px);
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: translateX(-50%) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:last-child {
  transform: translateX(-50%) rotate(-45deg);
}
.menu-button:focus-visible {
  border-radius: 50%;
  outline-width: 1px;
  outline-offset: 0;
}
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header {
    grid-template-columns: 190px 1fr auto;
  }
  .header-actions {
    grid-column: 3;
  }
  .nav {
    gap: 18px;
    font-size: 11px;
  }
  .header-actions .phone {
    display: none;
  }
  .brand {
    width: 170px;
    height: 52px;
  }
  .brand img {
    max-width: 160px;
    max-height: 46px;
  }
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(920px, 72vw);
  min-height: 100svh;
  padding: clamp(170px, 21vh, 230px) 0 72px 7vw;
  flex-direction: column;
  justify-content: flex-end;
}
.eyebrow {
  margin: 0 0 32px;
  font-family: var(--font-sans);
  font-size: var(--font-meta-size);
  font-weight: var(--font-meta-weight);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: var(--font-meta-tracking);
}
.hero h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(72px, 8.2vw, 136px);
  line-height: 0.78;
  letter-spacing: -0.065em;
}
.hero h1 span,
.hero h1 em {
  display: block;
}
.hero h1 em {
  margin-left: 0.42em;
  font-weight: 400;
}
.hero-bottom {
  width: min(430px, 100%);
  margin-top: clamp(50px, 7vh, 82px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}
.hero-bottom p {
  max-width: 430px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
.to-top {
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.hero-aside {
  position: absolute;
  z-index: 2;
  right: 4.5vw;
  bottom: 48px;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-sans);
  font-size: var(--font-meta-size);
  font-weight: var(--font-meta-weight);
  text-transform: uppercase;
  letter-spacing: var(--font-meta-tracking);
}
.hero-location {
  position: absolute;
  z-index: 2;
  bottom: 48px;
  left: var(--page-gutter, 7vw);
  display: flex;
  gap: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-sans);
  font-size: var(--font-meta-size);
  font-weight: var(--font-meta-weight);
  text-transform: uppercase;
  letter-spacing: var(--font-meta-tracking);
}
.hero-location span::before {
  content: "/";
  margin-right: 24px;
  color: rgba(255, 255, 255, 0.42);
}
.hero-aside span + span::before {
  content: "/";
  margin-right: 24px;
  color: rgba(255, 255, 255, 0.42);
}
.hero-carousel-dots {
  position: absolute;
  z-index: 4;
  bottom: 38px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 1px;
  transform: translateX(-50%);
}
.hero-carousel-dots button {
  display: grid;
  width: 17px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.hero-carousel-dots i {
  width: 7px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.32;
  transition: width 0.5s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.5s ease;
}
.hero-carousel-dots button[aria-current="true"] i {
  width: 14px;
  opacity: 0.76;
}
.header-filled {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.bastion-pinned-header .site-header {
  position: sticky;
  top: 0;
}
body.bastion-pinned-header .site-header.is-hidden {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}
body.admin-bar.bastion-pinned-header .site-header {
  top: 32px;
}
body.bastion-static-header .site-header,
body.admin-bar.bastion-static-header .site-header {
  position: relative;
  top: auto;
}
body.bastion-static-header .site-header.is-hidden {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}
body.single-product .header-filled {
  position: relative;
  top: auto;
}
body.single-product .site-header.is-hidden {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}
.header-filled .brand-logo,
.header-overlay.is-scrolled .brand-logo,
body.menu-open .header-overlay .brand-logo {
  filter: brightness(1) invert(0);
}
.header-filled .menu-button span,
.header-overlay.is-scrolled .menu-button span {
  background: var(--ink);
}
.header-overlay.is-scrolled {
  color: var(--ink);
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.menu-open .header-overlay {
  color: var(--ink);
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.home .header-overlay.is-scrolled,
body.home.menu-open .header-overlay {
  background: #fff;
}
body.menu-open .site-header {
  pointer-events: auto;
  transform: translateY(0);
}
body.menu-open .header-overlay .menu-button span {
  background: var(--ink);
}
.header-search {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.favorites-header-back,
.product-header-back {
  display: none;
}
.product-header-search {
  display: none;
}
.header-search svg,
.header-favorites svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog {
  padding: 130px 4.5vw 80px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 75px;
}
.section-heading .eyebrow {
  align-self: start;
}
.section-heading h2,
.story h2,
.details h2,
.request h2 {
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.98;
}
.section-intro {
  max-width: 370px;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 6px;
  color: #605b53;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
}
.collection-carousel-hint {
  display: none;
}
.collection-card {
  position: relative;
  height: 610px;
  overflow: hidden;
  color: white;
}
.collection-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.collection-card:hover img:not(.image-drift-image) {
  transform: scale(1.035);
}
.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 21, 19, 0.56), transparent 57%);
}
.card-number {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.card-copy {
  position: absolute;
  left: 28px;
  bottom: 26px;
}
.card-copy p {
  margin: 0 0 7px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.card-copy h3 {
  margin: 0;
  font: 400 clamp(28px, 3vw, 43px) / 1 Georgia, serif;
}
.card-arrow {
  position: absolute;
  right: 28px;
  bottom: 31px;
  font-size: 22px;
}
.card-3 img {
  object-position: 75% center;
}
.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  background: #ececea;
}
.story-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.story-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-image-label {
  position: absolute;
  top: 28px;
  left: 28px;
  padding: 12px 15px;
  background: rgba(36, 35, 32, 0.82);
  color: #f5f1e9;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.story-copy {
  padding: 62px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-copy h2 {
  font-size: clamp(60px, 6vw, 94px);
  line-height: 0.9;
}
.story-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 36px 0 28px;
  color: #5d574f;
  line-height: 1.85;
  font-size: 14px;
}
.text-link {
  align-self: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.text-link span {
  margin-left: 24px;
}
.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.story-principles {
  margin-top: auto;
  padding-top: 50px;
}
.story-principles div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.story-principles div:last-child {
  border-bottom: 1px solid var(--line);
}
.story-principles span,
.story-principles small {
  color: #777168;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.story-principles strong {
  font: 400 24px/1 Georgia, serif;
}
.story-principles small {
  text-align: right;
}
.details {
  padding: 145px 8vw 72px;
}
.details-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 90px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.detail-grid article {
  min-height: 270px;
  padding: 27px 40px 10px 0;
  border-right: 1px solid var(--line);
}
.detail-grid article + article {
  padding-left: 40px;
}
.detail-grid article:last-child {
  border-right: 0;
}
.detail-grid article > span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.detail-grid h3 {
  margin: 60px 0 18px;
  font: 400 28px/1.1 Georgia, serif;
}
.detail-grid p {
  max-width: 300px;
  margin: 0;
  color: #686159;
  line-height: 1.7;
  font-size: 13px;
}
.home-catalog-feature {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: flex-end;
  padding: 105px 8vw;
  overflow: hidden;
  background: var(--deep-surface);
  color: #fff;
}
.home-catalog-feature-media {
  position: absolute;
  z-index: 0;
  inset: -8px;
  overflow: hidden;
}
.home-catalog-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.home-catalog-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 23, 21, 0.72), rgba(24, 23, 21, 0.18) 68%, rgba(24, 23, 21, 0.08));
}
.home-catalog-feature > div:not(.home-catalog-feature-media) {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.home-catalog-feature h2 {
  margin: 0;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 0.91;
}
.home-catalog-feature > div > p:not(.eyebrow) {
  max-width: 470px;
  margin: 36px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.75;
}
.home-catalog-feature a {
  display: inline-flex;
  align-items: center;
  gap: 58px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.request {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 730px;
  background: #efefef;
  color: var(--ink);
}
.request-visual {
  overflow: hidden;
}
.request-visual img {
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.request-copy {
  padding: 105px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #efefef;
}
.request-copy > p:not(.eyebrow) {
  max-width: 465px;
  margin: 35px 0 48px;
  color: #655f57;
  line-height: 1.8;
}
.request label > span,
.request .contact-preference legend,
.request .contact-preference small {
  color: #777168;
}
.request input {
  border-bottom-color: rgba(33, 30, 26, 0.34);
  color: var(--ink);
}
.request input::placeholder {
  color: rgba(33, 30, 26, 0.42);
}
.request form > button {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.request form > button:hover {
  background: transparent;
  color: var(--ink);
}
.request .contact-preference label span {
  border-color: rgba(33, 30, 26, 0.28);
  color: #5f5a53;
}
.request .contact-preference input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.request .contact-preference input:focus-visible + span {
  outline-color: var(--ink);
}
form {
  display: grid;
  gap: 24px;
}
label span {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.55);
}
input {
  width: 100%;
  padding: 11px 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  outline: none;
  background: transparent;
  color: white;
}
input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
form button {
  margin-top: 14px;
  padding: 18px 22px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
}
form button:hover {
  background: transparent;
  color: white;
}
.success {
  font-size: 18px !important;
}
footer {
  position: relative;
  padding: 0 4.5vw 30px;
  scroll-margin-top: 84px;
  background: #222;
  color: #fff;
  overflow: hidden;
}
body.single-product footer {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 8vw;
  padding: 88px 0 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-label {
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.footer-lead h2 {
  margin: 0;
  font: 400 clamp(52px, 6.4vw, 96px)/0.9 Georgia, serif;
  letter-spacing: -0.045em;
}
.footer-lead-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.24s ease, padding 0.24s ease;
}
.footer-lead-link .icon {
  width: 18px;
  height: 18px;
}
.footer-lead-link:hover {
  padding-left: 10px;
  color: #fff;
}
.footer-lead-link:hover .icon {
  transform: translateX(5px);
}
.footer-lead-action {
  display: contents;
}
.footer-lead-logo,
.footer-desktop-links {
  display: none;
}
.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(56px, 7vw, 112px);
  padding: 72px 0 90px;
}
.footer-nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.24s ease, padding 0.24s ease;
}
.footer-nav a:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-nav a > span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 8px;
  letter-spacing: 0.1em;
}
.footer-nav a strong {
  font: 400 clamp(24px, 2.4vw, 36px)/1 Georgia, serif;
}
.footer-nav a .icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-nav a:hover {
  padding-left: 9px;
  color: #d6bd97;
}
.footer-nav a:hover .icon {
  transform: translate(3px, -3px);
}
.footer-contact {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}
.footer-phone-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-phone {
  font: 400 clamp(24px, 2.2vw, 34px)/1 Georgia, serif;
  white-space: nowrap;
}
.footer-messengers {
  display: flex;
  gap: 6px;
}
.footer-messengers a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.62);
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.footer-messengers .social-icon {
  width: 13px;
  height: 13px;
}
.footer-messengers a:hover {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
  transform: translateY(-2px);
}
.footer-phone:hover {
  color: #d6bd97;
}
.footer-meta {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-utility {
  width: 100%;
}
.footer-utility-link {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1.3fr) 16px;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-utility-link > span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.footer-utility-link strong {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}
.footer-utility-link .icon {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.42);
}
.footer-utility-link:hover,
.footer-utility-link:focus-visible {
  padding-left: 6px;
  color: #fff;
}
.footer-address span,
.footer-hours span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.footer-address address,
.footer-hours p {
  margin: 0;
  font-size: 11px;
  font-style: normal;
  line-height: 1.65;
}
.footer-hours p {
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .footer-messengers a {
    animation: none;
    opacity: 0.78;
  }
  .contacts-heading,
  .contact-connect,
  .contacts-data,
  .product-viewed,
  .messenger-button {
    animation: none;
  }
}

/* 0.28.88 — mobile catalogue search title matches the editorial section header. */
.catalog-tools-title-mobile {
  display: none;
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-title-desktop {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-title-mobile {
    display: inline;
  }

  body.bastion-catalog-page .catalog-tools-head h2 {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: none;
  }
}
.to-top {
  position: absolute;
  top: 72px;
  right: 0;
  width: 52px;
  height: 52px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
}
.to-top:hover {
  background: #fff;
  color: var(--ink);
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.footer-minimal .footer-lead {
  padding-bottom: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-company {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1fr) minmax(320px, 1.08fr);
  align-items: start;
  gap: clamp(42px, 6vw, 104px);
  padding: 34px 0 58px;
  font-family: var(--font-sans);
}
.footer-company-logo {
  display: block;
  width: min(100%, 310px);
}
.footer-company-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-company-details,
.footer-company-bank {
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(10px, 0.7vw, 12px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.footer-company-details p,
.footer-company-bank p,
.footer-company-details address {
  margin: 0;
}
.footer-company-details strong {
  color: inherit;
  font-weight: inherit;
}
.footer-company-details p:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin-bottom: 8px;
}
.footer-company-details p:first-child span,
.footer-company-bank span {
  color: inherit;
  font-size: inherit;
  text-transform: none;
  letter-spacing: inherit;
}
.footer-company-details address {
  max-width: 340px;
  font-style: normal;
}
.footer-company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin-top: 13px !important;
}
.footer-company-links a {
  color: inherit;
  transition: color 0.25s ease;
}
.footer-company-links a:hover,
.footer-company-links a:focus-visible {
  color: #fff;
}
.footer-company-bank {
  display: grid;
  gap: 6px;
}
.footer-minimal > .to-top {
  top: auto;
  right: var(--page-gutter);
  bottom: 18px;
}
.footer-bottom-minimal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 54px;
}
.footer-bottom-minimal .footer-copyright {
  grid-column: 2;
}
.footer-minimal-privacy {
  grid-column: 3;
  justify-self: end;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
}
.footer-minimal-privacy:hover,
.footer-minimal-privacy:focus-visible {
  color: #fff;
}
.footer-copyright {
  justify-content: center;
  text-align: center;
}
.footer-unp {
  justify-self: end;
  text-align: right;
}

/* Privacy policy */
.privacy-page {
  background: #f4f3ef;
  color: var(--ink);
}
.privacy-hero {
  display: grid;
  min-height: 380px;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.5fr);
  grid-template-areas:
    "label note"
    "title note";
  align-items: end;
  gap: 18px 5vw;
  padding: 38px 5.5vw 48px;
  border-bottom: 1px solid rgba(31, 29, 26, 0.18);
}
.privacy-hero > .eyebrow {
  grid-area: label;
  align-self: end;
  margin-bottom: 0;
}
.privacy-hero h1 {
  grid-area: title;
  min-width: 0;
  margin: 0;
  font: 400 clamp(62px, 7vw, 108px)/0.88 Georgia, serif;
  letter-spacing: -0.065em;
}
.privacy-hero h1 em {
  display: block;
  font-size: 0.83em;
  font-weight: 400;
  white-space: nowrap;
}
.privacy-hero-note {
  grid-area: note;
  align-self: end;
  max-width: 380px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 29, 26, 0.24);
}
.privacy-hero-note span,
.privacy-index > p {
  color: #777168;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.privacy-hero-note p {
  margin: 24px 0 0;
  color: #655f57;
  font-size: 13px;
  line-height: 1.75;
}
.privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 8vw;
  padding: 90px 5.5vw 130px;
}
.privacy-index {
  position: sticky;
  top: 110px;
  align-self: start;
  border-top: 1px solid rgba(31, 29, 26, 0.2);
}
.privacy-index > p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(31, 29, 26, 0.2);
}
.privacy-index a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(31, 29, 26, 0.12);
  color: #5f5a53;
  font-size: 13px;
  line-height: 1.35;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.privacy-index a span {
  color: #9a948a;
  font-size: 9px;
}
.privacy-index a:hover {
  padding-left: 6px;
  color: var(--ink);
}
.privacy-content article {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 64px;
  scroll-margin-top: 110px;
}
.privacy-content article + article {
  padding-top: 64px;
  border-top: 1px solid rgba(31, 29, 26, 0.18);
}
.privacy-content article > span {
  color: #918b82;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.privacy-content h2 {
  margin: -7px 0 26px;
  font: 400 clamp(34px, 4vw, 56px)/1 Georgia, serif;
  letter-spacing: -0.04em;
}
.privacy-content p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #5f5a53;
  font-size: 13px;
  line-height: 1.8;
}
.privacy-content p a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}
.privacy-table {
  border-top: 1px solid rgba(31, 29, 26, 0.18);
}
.privacy-table > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(31, 29, 26, 0.18);
}
.privacy-table strong {
  font-size: 11px;
  font-weight: 600;
}
.privacy-table p {
  margin: 0;
  font-size: 12px;
}
@media (max-width: 780px) {
  .privacy-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "label" "title" "note";
    gap: 22px;
    padding: 28px 22px 42px;
  }
  .privacy-hero h1 {
    font-size: clamp(48px, 12vw, 72px);
    line-height: 0.92;
  }
  .privacy-hero h1 em {
    font-size: 0.72em;
  }
  .privacy-hero-note {
    max-width: 520px;
    margin-top: 8px;
  }
  .privacy-layout {
    grid-template-columns: 1fr;
    padding: 60px 22px 90px;
  }
  .privacy-index {
    position: static;
  }
  .privacy-content article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
  }
  .privacy-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.to-top.is-floating {
  position: fixed;
  z-index: 40;
  top: clamp(136px, 18vh, 192px);
  right: var(--page-gutter);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(31, 29, 26, 0.2);
  background: #fff;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1), background-color 0.25s ease, color 0.25s ease;
}
.footer-minimal > .to-top.is-floating {
  bottom: auto;
}
.to-top.is-floating.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.to-top.is-floating.is-over-footer {
  background: #fff;
  color: var(--ink);
}
.to-top.is-floating:hover {
  border-color: rgba(31, 29, 26, 0.42);
  background: #fff;
  color: var(--ink);
}
@media (max-width: 780px) {
  .to-top.is-floating {
    top: 120px;
    right: var(--page-gutter);
    width: 44px;
    height: 44px;
  }
}

/* Catalog */
.shop {
  position: relative;
  overflow: hidden;
  padding: 0 5.5vw 80px;
  background: #fff;
}
.shop > * {
  position: relative;
  z-index: 1;
}
.shop-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  grid-template-areas: "title quote";
  align-items: flex-end;
  gap: 5vw;
}
.catalog-intro-scene {
  position: relative;
  display: flex;
  min-height: clamp(560px, 72svh, 780px);
  align-items: flex-end;
  margin: 0 -5.5vw;
  padding: 72px 5.5vw 44px;
  overflow: hidden;
  isolation: isolate;
  background: #383733;
  color: #fff;
}
.catalog-intro-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 14, 0.72) 0%, rgba(15, 15, 14, 0.4) 38%, rgba(15, 15, 14, 0.05) 70%),
    linear-gradient(0deg, rgba(13, 13, 12, 0.72) 0%, transparent 58%);
  pointer-events: none;
}
.catalog-intro-scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' seed='19' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.68'/%3E%3C/svg%3E") repeat;
  background-size: 128px 128px;
  mix-blend-mode: soft-light;
  opacity: 0.11;
  pointer-events: none;
}
.catalog-intro-scene > picture {
  position: absolute;
  z-index: 0;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
}
.catalog-intro-scene > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.catalog-intro-scene .shop-title {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
}
.catalog-intro-scene .shop-title h1 {
  width: 100%;
  margin: 0 0 -0.08em;
  color: #fff;
  font: 400 clamp(118px, 17.6vw, 278px)/0.72 Georgia, serif;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}
.catalog-title-accent {
  display: inline-block;
  font-style: italic;
  transform: translateX(-0.015em);
}
.catalog-hero-meta {
  position: absolute;
  z-index: 3;
  top: 46px;
  right: 5.5vw;
  left: 5.5vw;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.shop-title h1 {
  grid-area: title;
  margin: 0;
  font: 400 clamp(58px, 7vw, 104px)/0.92 Georgia, serif;
  letter-spacing: -0.055em;
}
.shop-title h2 {
  font-size: clamp(45px, 5vw, 76px);
}
.catalog-quote {
  grid-area: quote;
  max-width: 430px;
  margin: 0 0 7px;
  padding-left: 18px;
  border-left: 1px solid rgba(33, 30, 26, 0.42);
  color: #5e574e;
}
.catalog-quote p {
  margin: 0;
  font: 400 17px/1.4 Georgia, serif;
}
.catalog-quote cite {
  display: block;
  margin-top: 11px;
  color: #81796e;
  font: 500 8px/1 var(--font-sans);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 40px 0 42px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.catalog-results-summary {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin: -20px 0 30px;
  color: #777168;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.catalog-results-summary strong {
  color: var(--ink);
  font: 500 12px/1 var(--font-sans);
  letter-spacing: 0.08em;
}
.catalog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-filter-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}
.catalog-price-sort {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.catalog-price-sort button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid #cec8bd;
  border-radius: 50%;
  background: transparent;
  color: #625c54;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.catalog-more-dots {
  display: flex;
  align-items: center;
  gap: 3px;
}
.catalog-more-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.catalog-advanced-toggle b {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font: 600 8px/17px var(--font-sans);
  text-align: center;
}
.catalog-advanced-toggle.is-open,
.catalog-advanced-toggle.has-filters {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.catalog-advanced-toggle.has-filters b {
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.catalog-price-sort .icon {
  width: 15px;
  height: 15px;
}
.catalog-price-sort .sort-icon {
  display: none;
  line-height: 0;
}
.catalog-price-sort button[data-sort-state=""] .sort-icon-default,
.catalog-price-sort button[data-sort-state="asc"] .sort-icon-asc,
.catalog-price-sort button[data-sort-state="desc"] .sort-icon-desc {
  display: block;
}
.catalog-price-sort button:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}
.catalog-price-sort button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.filter-row .catalog-category-button {
  min-height: 40px;
  padding: 10px 17px;
  border: 1px solid #cec8bd;
  border-radius: 999px;
  background: transparent;
  color: #625c54;
  font: 500 10px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.catalog-category-button:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}
.catalog-category-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.catalog-search {
  position: relative;
  display: flex;
  flex: 0 0 310px;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 0 2px 7px;
  border-bottom: 1px solid #9e978d;
  color: var(--ink);
}
.catalog-search-field {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
}
.catalog-search-back,
.catalog-search-submit {
  display: none;
}
.catalog-search .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.catalog-search input {
  min-width: 0;
  padding: 7px 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 13px/1.3 var(--font-sans);
}
.catalog-search input::placeholder {
  color: #817a70;
}
.catalog-search input:focus-visible {
  outline: 0;
}
.catalog-search:focus-within {
  border-color: var(--ink);
}
@media (min-width: 1000px) {
  .filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .catalog-filter-main {
    min-width: max-content;
  }
  .catalog-search {
    width: 310px;
    max-width: 100%;
    justify-self: end;
  }
}
.catalog-advanced-panel {
  overflow: hidden;
  height: auto;
  margin: -20px 0 34px;
  padding: 0 0 22px;
  background: transparent;
  opacity: 1;
}
.catalog-advanced-panel[hidden] {
  display: none;
}
.catalog-advanced-panel > button {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin: 18px 0 0 auto;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #777168;
  cursor: pointer;
  font: 500 10px/1.2 var(--font-sans);
  transition: color 0.2s ease;
}
.catalog-advanced-panel > button[hidden] {
  display: none;
}
.catalog-advanced-panel > button:hover {
  color: var(--ink);
}
.catalog-advanced-panel > button .icon {
  width: 11px;
  height: 11px;
}
.catalog-advanced-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}
.catalog-advanced-groups > section {
  min-width: 0;
}
.catalog-advanced-panel h2 {
  margin: 0 0 12px;
  color: #625c54;
  font: 500 12px/1.3 var(--font-sans);
}
.catalog-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.catalog-filter-options button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #d4cfc6;
  border-radius: 999px;
  background: transparent;
  color: #565149;
  cursor: pointer;
  font: 500 11px/1.2 var(--font-sans);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.catalog-filter-options button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.catalog-filter-options button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
@media (max-width: 780px) {
  .catalog-advanced-panel {
    margin-top: -20px;
    padding: 0 0 20px;
  }
  .catalog-advanced-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.product-grid,
.related-grid {
  overflow-anchor: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(22px, 2.1vw, 34px);
  row-gap: 64px;
}
.shop .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.related-grid {
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  display: block;
  min-width: 0;
}
.product-card[hidden] {
  display: none !important;
}

/* Keep long catalog feeds light: off-screen cards retain their place but skip
   descendant layout and paint until they approach the viewport. */
@supports (content-visibility: auto) {
  body.bastion-catalog-page [data-catalog-grid] > .product-card:not([hidden]) {
    content-visibility: auto;
    contain-intrinsic-size: auto 610px;
  }

  @media (min-width: 901px) {
    body.bastion-catalog-page [data-catalog-grid].is-single-column > .product-card:not([hidden]) {
      contain-intrinsic-size: auto 780px;
    }
  }

  @media (min-width: 621px) and (max-width: 900px) {
    body.bastion-catalog-page [data-catalog-grid] > .product-card:not([hidden]) {
      contain-intrinsic-size: auto 470px;
    }
  }

  @media (max-width: 620px) {
    body.bastion-catalog-page [data-catalog-grid] > .product-card:not([hidden]) {
      contain-intrinsic-size: auto 380px;
    }

    body.bastion-catalog-page [data-catalog-grid].is-single-column > .product-card:not([hidden]) {
      contain-intrinsic-size: auto 700px;
    }
  }
}

/* Mobile batches are already limited in JavaScript; painting their placeholders
   normally avoids a blank frame when the next row enters the viewport. */
@media (max-width: 620px) {
  body.bastion-catalog-page [data-catalog-grid] > .product-card:not([hidden]) {
    content-visibility: visible;
  }
}
.catalog-empty {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  min-height: 430px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalog-empty[hidden] {
  display: none;
}
.catalog-empty figure {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  background: #161714;
}
.catalog-empty figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}
.catalog-empty figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
  transition: transform 1.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.catalog-empty:hover figure img:not(.image-drift-image) {
  transform: scale(1.035);
}
.catalog-empty figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 18px;
  left: 22px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.catalog-empty-copy {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(50px, 7vw, 105px);
  background: #e9ede7;
}
.catalog-empty-copy .eyebrow {
  margin-bottom: 24px;
  color: #7a817a;
}
.catalog-empty-copy h2 {
  margin: 0;
  font: 400 clamp(50px, 5.4vw, 84px)/0.9 Georgia, serif;
  letter-spacing: -0.05em;
}
.catalog-empty-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin: 28px 0 32px;
  color: #626961;
  font-size: 12px;
  line-height: 1.75;
}
.catalog-empty button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: 220px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.24s ease, padding 0.24s ease;
}
.catalog-empty button .icon {
  width: 15px;
  height: 15px;
}
.catalog-empty button:hover {
  padding-left: 22px;
  color: #5d6b60;
}
.catalog-empty button:hover .icon {
  transform: translateX(4px);
}
.catalog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}
.catalog-load-more[hidden] {
  display: none;
}
.catalog-load-more button {
  display: grid;
  min-width: 270px;
  grid-template-columns: 1fr auto 18px;
  align-items: center;
  gap: 18px;
  padding: 15px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 9px/1 var(--font-sans);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}
.catalog-load-more button small {
  color: #777168;
  font: 500 8px/1 var(--font-sans);
  letter-spacing: 0.08em;
}
.catalog-load-more button .icon {
  width: 16px;
  height: 16px;
}
.catalog-load-more button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.catalog-load-more button:hover small {
  color: rgba(255, 255, 255, 0.62);
}
.catalog-load-more button:hover .icon {
  transform: translateY(3px);
}
.product-image {
  position: relative;
  aspect-ratio: 2/3;
  background: #ede8df;
  overflow: hidden;
}
.product-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' seed='29' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.64'/%3E%3C/svg%3E") repeat;
  background-size: 116px 116px;
  mix-blend-mode: soft-light;
  opacity: 0.09;
  pointer-events: none;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.25s cubic-bezier(0.45, 0, 0.55, 1), filter 0.7s ease-in-out, opacity 0.65s ease;
}
.product-card:hover .product-image img {
  filter: contrast(1.03) saturate(1.03);
  transform: none;
}
.product-image > .product-image-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-image > img:not(.product-image-alt) {
    opacity: 0;
    transform: none;
  }
  .product-card:hover .product-image > .product-image-alt {
    opacity: 1;
    transform: none;
  }
}
.product-badge {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  padding: 8px 11px;
  border-radius: 20px;
  background: #171614;
  color: white;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-viewed {
  position: absolute;
  z-index: 4;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  height: 30px;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  filter: drop-shadow(0 1px 4px rgba(15, 15, 14, 0.58));
  font: 500 8px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.product-viewed[hidden] {
  display: none;
}
.product-viewed .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes product-viewed-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 620px) {
  body.home .home-work-media-link {
    display: block;
    width: 100%;
    height: 100%;
  }

  .product-viewed {
    bottom: 9px;
    left: 9px;
  }
}

.product-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  padding-top: 3px;
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}
.product-price del {
  color: #9a958d;
}
.product-card h3 {
  margin: 0 0 7px;
  font: 600 19px/1.18 var(--font-sans);
}
.product-type {
  margin: 0;
  color: #777167;
  font-size: 12px;
  line-height: 1.35;
}
.product-card-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(76px, 44%);
  align-items: start;
  gap: 14px;
  margin-top: 16px;
}
.product-card-title {
  min-width: 0;
}
.product-card-aside {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  flex-direction: column;
}
.product-color-swatches {
  display: flex;
  min-height: 10px;
  margin-top: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.product-color-swatch {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: var(--swatch-color);
  transition: width 0.35s ease, height 0.35s ease, flex-basis 0.35s ease, transform 0.35s ease;
}
.product-color-swatch.is-current {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
}
.product-color-swatch[role="link"] {
  cursor: pointer;
}
.product-color-swatch[role="link"]:hover,
.product-color-swatch[role="link"]:focus-visible {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.product-card:hover .product-color-swatch:not(.is-current) {
  transform: translateY(-1px);
}
.catalog-cta {
  padding: 130px 5.5vw;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(135deg, #eee9df 0%, #d7ccbd 100%);
  color: var(--ink);
  text-align: center;
}
.catalog-cta h2 {
  font-size: clamp(55px, 7vw, 105px);
}
.catalog-cta-title-mobile-break {
  display: none;
}
.catalog-cta > a {
  display: inline-flex;
  gap: 70px;
  margin-top: 45px;
  padding: 17px 3px;
  border-bottom: 1px solid rgba(33, 30, 26, 0.72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Product detail */
.product-page {
  background: var(--surface);
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  padding: 24px 5.5vw;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777168;
}
.product-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.9fr);
  align-items: stretch;
  gap: clamp(42px, 5vw, 72px);
  height: auto;
  min-height: 620px;
  padding: clamp(28px, 3vw, 42px) clamp(72px, 6.5vw, 112px) clamp(26px, 2.5vw, 36px);
  background: var(--surface);
}
.product-gallery {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: var(--surface);
}
.gallery-viewport {
  --gallery-cursor-x: 50%;
  --gallery-cursor-y: 50%;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
}
.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}
.gallery-slide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  height: 100%;
  min-width: 100%;
  margin: 0;
  overflow: hidden;
}
.gallery-slide.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  background: #fff;
}
.gallery-slide img {
  --gallery-focus-x: 50%;
  --gallery-focus-y: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--gallery-focus-x) var(--gallery-focus-y);
  transform: scale(1);
  transition: transform 1.05s cubic-bezier(0.22, 0.8, 0.2, 1), object-position 0.8s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform, object-position;
}
.gallery-open {
  position: absolute;
  z-index: 3;
  top: var(--gallery-cursor-y);
  left: var(--gallery-cursor-x);
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(33, 30, 26, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(28, 25, 21, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.78);
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.gallery-open::before,
.gallery-open::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.gallery-open::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.gallery-viewport:hover .gallery-open,
.gallery-open:focus-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-viewport {
    cursor: none;
  }
}
.gallery-thumbnails {
  display: flex;
  gap: 9px;
  min-width: 0;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #aaa69f transparent;
}
.gallery-thumbnails button {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: 54px;
  height: 66px;
  flex: 0 0 54px;
  padding: 3px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  opacity: 0.58;
  transition: border-color 0.3s ease, opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.gallery-thumbnails button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.gallery-thumbnails button[aria-current="true"] {
  border-color: var(--ink);
  opacity: 1;
}
.gallery-thumbnails img {
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery.is-single .gallery-thumbnails {
  display: none;
}
.gallery-lightbox[hidden] {
  display: none;
}
.gallery-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: clamp(86px, 7.5vw, 116px) minmax(0, 1fr);
  padding: 0;
  background: #ecebe7;
  animation: gallery-lightbox-in 0.35s ease both;
}
.gallery-lightbox-thumbnails {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 8px;
  max-height: calc(100svh - 48px);
  padding: 0 clamp(10px, 1.1vw, 18px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.gallery-lightbox-thumbnails::-webkit-scrollbar {
  display: none;
}
.gallery-lightbox-thumbnails button {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 3px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  opacity: 0.48;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}
.gallery-lightbox-thumbnails button:hover,
.gallery-lightbox-thumbnails button:focus-visible {
  opacity: 0.82;
}
.gallery-lightbox-thumbnails button[aria-current="true"] {
  border-color: var(--ink);
  opacity: 1;
}
.gallery-lightbox-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-lightbox-figure {
  position: relative;
  display: grid;
  grid-column: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  place-items: center;
}
.gallery-lightbox-figure img {
  width: 100%;
  height: 100svh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  cursor: zoom-in;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.22, 0.8, 0.2, 1);
  animation: gallery-lightbox-image-in 0.65s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}
.gallery-lightbox-figure.is-zoomed img {
  cursor: zoom-out;
  transform: scale(1.65);
}
.gallery-lightbox-controls {
  position: absolute;
  z-index: 2;
  bottom: 36px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  transform: translateX(-50%);
}
.gallery-lightbox-controls button {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(29, 27, 23, 0.12);
  cursor: pointer;
  pointer-events: auto;
  place-items: center;
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}
.gallery-lightbox-controls button:hover {
  background: #fff;
  box-shadow: 0 6px 18px rgba(29, 27, 23, 0.16);
  transform: translateY(-2px);
}
.gallery-lightbox-controls .icon {
  width: 15px;
  height: 15px;
}
.gallery-lightbox-prev .icon {
  transform: rotate(180deg);
}
.gallery-lightbox-close {
  width: 56px !important;
  height: 56px !important;
}
body.gallery-lightbox-open {
  overflow: hidden;
}
@keyframes gallery-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes gallery-lightbox-image-in {
  from { opacity: 0; transform: scale(1.018); }
  to { opacity: 1; transform: scale(1); }
}
.product-info {
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: 100%;
  overflow: visible;
  padding: 0;
  background: var(--surface);
  font-family: var(--font-sans);
}
body.admin-bar.single-product .product-main {
  height: auto;
}
.product-info > * {
  position: relative;
  z-index: 1;
}
.product-info-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
}
.product-kicker {
  margin: 0;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b857d;
}
.product-specs-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid #aaa399;
  background: transparent;
  color: #625c54;
  font: 500 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  cursor: pointer;
  transition: border-color 0.28s ease, color 0.28s ease;
}
.product-specs-toggle i {
  position: relative;
  width: 11px;
  height: 11px;
}
.product-specs-toggle i::before,
.product-specs-toggle i::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 11px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.product-specs-toggle i::after {
  transform: rotate(90deg);
}
.product-specs-toggle[aria-expanded="true"] i::after {
  transform: rotate(0deg);
}
.product-specs-toggle:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.product-info h1 {
  margin: 0;
  font: 400 clamp(34px, 3vw, 42px)/1 Georgia, serif;
  letter-spacing: -0.035em;
}
.product-info-price {
  margin: 17px 0 24px;
}
.product-info-price strong {
  font: 500 21px/1.2 var(--font-sans);
  letter-spacing: -0.025em;
}
.product-info-price del {
  font-size: 12px;
  color: #938d84;
}
.product-lead {
  max-width: 490px;
  margin: 0 0 42px;
  font-size: 13px;
  line-height: 1.8;
  color: #655f57;
}
.option {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.option-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.option-head strong {
  font-weight: 400;
  color: #777168;
}
.swatches {
  display: flex;
  gap: 11px;
  margin-top: 18px;
}
.swatches button {
  width: 31px;
  height: 31px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  outline: 1px solid transparent;
  cursor: pointer;
}
.swatches button.selected {
  outline-color: var(--ink);
}
.size-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.size-option select {
  padding: 9px 23px 9px 10px;
  border: 0;
  background: transparent;
  color: #6b655d;
  outline: none;
  text-align: right;
}
.calculate {
  width: 100%;
  margin-top: 28px;
  padding: 19px 21px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.calculate:hover {
  background: transparent;
  color: var(--ink);
}
.price-note {
  margin: 13px 0 35px;
  font-size: 9px;
  line-height: 1.5;
  color: #89837b;
}
.product-services {
  border-top: 1px solid var(--line);
}
.product-services div {
  display: grid;
  grid-template-columns: 45px 1fr;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.product-services p {
  margin: 0;
}
.product-services span {
  color: #8c867d;
}
.product-variants {
  margin-bottom: 22px;
  padding: 0;
}
.product-variants-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #777168;
  font-size: 12px;
  line-height: 1.45;
}
.product-variants-head span::after {
  content: "/";
  margin-left: 8px;
  color: #aaa399;
}
.product-variants-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: inherit;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-variant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.product-variant {
  display: inline-flex;
  align-items: center;
  color: #6f6961;
}
.product-variant i {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  outline: 1px solid #c2bcb3;
  background: var(--variant-color);
  transition: outline-color 0.25s ease, transform 0.3s ease;
}
.product-variant:hover i {
  outline-color: var(--ink);
  transform: scale(1.08);
}
.product-variant.is-current i {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.product-info .product-lead {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
}
.product-compact-specs {
  margin: 0;
  border-top: 1px solid var(--line);
}
.product-compact-specs div {
  display: grid;
  grid-template-columns: minmax(76px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}
.product-compact-specs dt {
  color: #817a71;
}
.product-compact-specs dd {
  margin: 0;
  text-align: right;
}
.product-info .calculate {
  margin-top: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 11px;
}
.product-info .price-note {
  margin: 12px 0 0;
  font-size: 10px;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "label label"
    "title list";
  column-gap: 8vw;
  row-gap: 20px;
  align-items: start;
  padding: 82px 7vw 88px;
  background: var(--cream);
}
.specs[hidden] {
  display: none;
}
.specs:not([hidden]) {
  animation: product-specs-open 0.55s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}
@keyframes product-specs-open {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.specs > .eyebrow {
  grid-area: label;
  margin: 0;
}
.specs h2 {
  grid-area: title;
  font-size: clamp(54px, 5.2vw, 84px);
}
.specs dl {
  grid-area: list;
  margin: 0;
}
.specs dl div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.specs dt {
  color: #7a746b;
}
.specs dd {
  margin: 0;
}
.related {
  overflow: hidden;
  padding: 90px 5.5vw 150px;
}
.related-head {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: end;
  margin-bottom: 60px;
}
.related-head h2 {
  font-size: clamp(50px, 5vw, 76px);
}
.related-title-mobile {
  display: none;
}
.related-actions {
  display: flex;
  align-items: flex-end;
}
.related-actions-mobile {
  display: none;
}
.related-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.related-actions > a span {
  margin: 0;
}
.related-actions > a .icon {
  width: 16px;
  height: 16px;
}
.related-actions > a:hover .icon {
  transform: translateX(4px);
}
.related-controls {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 10px;
  left: 10px;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) scale(0.98);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.related-carousel-shell {
  position: relative;
}
.related-carousel-shell:hover .related-controls,
.related-carousel-shell:focus-within .related-controls {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.related-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 9px 25px rgba(31, 28, 24, 0.13);
  cursor: pointer;
  pointer-events: auto;
  place-items: center;
  transition: background 0.35s ease, color 0.35s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.35s ease;
}
.related-controls button:first-child .icon {
  transform: rotate(180deg);
}
.related-controls button:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  transform: scale(1.06);
}
.related-controls button:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.78);
  cursor: default;
}
.related-controls .icon {
  width: 15px;
  height: 15px;
}
.related-grid {
  display: grid;
  overflow-x: auto;
  overflow-y: hidden;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - clamp(66px, 6.3vw, 102px)) / 4);
  gap: clamp(22px, 2.1vw, 34px);
  padding-bottom: 18px;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.related-grid::-webkit-scrollbar {
  display: none;
}
.recently-viewed-empty {
  margin: 0 0 18px;
  color: var(--muted);
  font: 400 16px/1.5 var(--font-sans);
}
.recently-viewed [hidden] {
  display: none !important;
}
@media (hover: none), (pointer: coarse) {
  .related-controls {
    display: none;
  }
}
.nav-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .home-catalog-feature {
    min-height: 620px;
    padding: 82px 22px;
  }
  .home-catalog-feature-media img {
    object-position: 58% center;
  }
  .home-catalog-feature h2 {
    font-size: clamp(55px, 11vw, 82px);
  }
  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }
  .shop {
    padding-top: 0;
  }
  .catalog-intro-scene {
    min-height: 470px;
    margin-right: -22px;
    margin-left: -22px;
    padding: 72px 22px 42px;
  }
  .catalog-intro-scene > picture > img {
    object-position: 62% center;
  }
  .catalog-filter-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .catalog-search {
    flex-basis: auto;
    width: min(100%, 420px);
  }
  .shop-title {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "quote";
    gap: 30px;
  }
  .catalog-quote {
    max-width: 520px;
    margin-bottom: 0;
  }
  .site-header {
    height: 72px;
    margin-top: 0;
    padding: 8px 22px;
    grid-template-columns: 1fr auto;
  }
  .header-actions {
    grid-column: 2;
  }
  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar) .site-header {
      height: calc(72px + env(safe-area-inset-top));
      padding-top: calc(8px + env(safe-area-inset-top));
    }
    body:not(.admin-bar).home .site-header,
    body:not(.admin-bar) .header-filled {
      top: 0;
    }
    body:not(.admin-bar) .nav {
      max-height: calc(100dvh - 72px - env(safe-area-inset-top));
    }
  }
  .brand {
    width: 180px;
    height: 52px;
  }
  .brand img {
    max-width: 176px;
    max-height: 52px;
  }
  .phone {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .nav {
    counter-reset: mobile-nav;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: min(92vw, 420px);
    max-height: calc(100dvh - 72px);
    display: flex;
    padding: 28px 24px 24px;
    background: #22211e;
    color: #f5f0e7;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    box-shadow: -18px 24px 50px rgba(18, 18, 16, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
  }
  .nav::before {
    content: "Навигация";
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.42);
    font: 600 9px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.18em;
  }
  .nav > a:not(.nav-mobile-phone) {
    counter-increment: mobile-nav;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 15px;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font: 400 clamp(27px, 8vw, 34px)/1 Georgia, serif;
    text-transform: none;
    letter-spacing: -0.04em;
    transition: color 0.22s ease, padding 0.22s ease;
  }
  .nav > a:not(.nav-mobile-phone):first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav > a:not(.nav-mobile-phone)::before {
    content: "0" counter(mobile-nav);
    color: rgba(255, 255, 255, 0.34);
    font: 500 9px/1 var(--font-sans);
    letter-spacing: 0.08em;
  }
  .nav > a:not(.nav-mobile-phone):hover,
  .nav > a:not(.nav-mobile-phone)[aria-current="page"] {
    padding-left: 6px;
    color: #d6bd97;
  }
  .nav > a:not(.nav-mobile-phone) .icon {
    display: block;
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.48);
  }
  .nav > a:not(.nav-mobile-phone):hover .icon {
    transform: translate(2px, -2px);
  }
  .nav > a::after {
    display: none;
  }
  .nav-mobile-phone {
    display: block;
    margin-top: 22px;
    padding-top: 0;
    color: rgba(255, 255, 255, 0.72);
    font: 500 14px/1.2 var(--font-sans);
    text-transform: none;
    letter-spacing: 0.04em;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .hero {
    min-height: 100svh;
  }
  .hero-background img {
    object-position: 61% center;
  }
  .hero-carousel-dots {
    bottom: 24px;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.06) 12%, transparent 22%);
  }
  .hero-copy {
    width: auto;
    min-width: 0;
    min-height: 100svh;
    padding: 172px 24px 62px;
  }
  .hero h1 {
    font-size: clamp(58px, 14vw, 88px);
  }
  .hero h1 em {
    margin-left: 0.22em;
  }
  .hero-aside {
    display: none;
  }
  .catalog {
    padding: 95px 20px 58px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-heading .eyebrow {
    margin-bottom: 10px;
  }
  .section-intro {
    margin-top: 18px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .collection-card {
    height: 520px;
  }
  .request {
    grid-template-columns: 1fr;
  }
  .request-visual {
    height: 620px;
  }
  .story-copy,
  .request-copy {
    padding: 80px 24px;
  }
  .story-principles {
    margin-top: 55px;
    padding-top: 0;
  }
  .details {
    padding: 100px 24px 60px;
  }
  .details-head {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid article,
  .detail-grid article + article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px 0 45px;
  }
  .detail-grid h3 {
    margin-top: 35px;
  }
  .footer-lead {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-company {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
    gap: 26px 48px;
  }
  .footer-company-bank {
    grid-column: 2;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop {
    padding: 0 22px 60px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-main {
    grid-template-columns: 1fr;
    gap: 48px;
    height: auto;
    min-height: 0;
    padding: 32px 7vw 72px;
  }
  body.admin-bar.single-product .product-main {
    height: auto;
  }
  .product-gallery {
    height: auto;
    padding: 0;
  }
  .product-info {
    position: relative;
    top: auto;
    padding: 0;
  }
  .specs {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "list";
    gap: 0;
    padding: 90px 7vw 95px;
  }
  .specs h2 {
    margin-top: 22px;
  }
  .specs dl {
    margin-top: 45px;
  }
  .related {
    padding: 72px 22px 95px;
  }
  .related-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .related-actions {
    align-items: flex-start;
  }
  .related-grid {
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .home-catalog-feature {
    min-height: 590px;
    padding: 72px 22px;
  }
  .home-catalog-feature h2 {
    font-size: 52px;
  }
  .catalog-category-button {
    flex: 1 1 calc(50% - 4px);
    padding-right: 10px;
    padding-left: 10px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-bottom p {
    font-size: 13px;
  }
  .section-heading h2,
  .story h2,
  .details h2,
  .request h2 {
    font-size: 44px;
  }
  .collection-card {
    height: 440px;
  }
  .request-visual {
    height: 470px;
  }
  .story-principles div {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px 0;
  }
  .story-principles span,
  .story-principles small {
    font-size: 9px;
  }
  .story-principles strong {
    font-size: 21px;
  }
  .footer-lead {
    grid-template-columns: 1fr;
    padding: 70px 0 58px;
  }
  .footer-lead h2 {
    font-size: clamp(48px, 15vw, 68px);
  }
  .footer-company {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0 52px;
  }
  .footer-company-bank {
    grid-column: auto;
  }
  .footer-company-logo {
    width: min(78vw, 290px);
  }
  .footer-company-details,
  .footer-company-bank {
    font-size: 11px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 58px 0 70px;
  }
  .footer-main .to-top {
    top: 58px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-bottom-minimal .footer-copyright,
  .footer-minimal-privacy {
    grid-column: 1;
    justify-self: center;
  }
  .footer-copyright {
    justify-self: center;
  }
  .footer-unp {
    justify-self: end;
  }
  .shop-title {
    align-items: start;
    gap: 24px 14px;
  }
  .catalog-intro-scene {
    min-height: clamp(250px, 36svh, 320px);
    padding: 52px 22px 22px;
  }
  .catalog-intro-scene::after {
    background:
      linear-gradient(90deg, rgba(15, 15, 14, 0.64), rgba(15, 15, 14, 0.12)),
      linear-gradient(0deg, rgba(13, 13, 12, 0.78), transparent 74%);
  }
  .catalog-intro-scene > picture > img {
    object-position: center 52%;
  }
  .catalog-intro-scene .shop-title {
    gap: 18px;
  }
  .catalog-intro-scene .shop-title h1 {
    font-size: clamp(84px, 24vw, 128px);
    line-height: 0.76;
  }
  .catalog-hero-meta {
    top: 16px;
    right: 22px;
    left: 22px;
    font-size: 7px;
  }
  .filter-row {
    margin-top: 28px;
  }
  .catalog-results-summary {
    justify-content: flex-start;
    margin-top: -22px;
    margin-bottom: 26px;
  }
  .catalog-load-more {
    margin-top: 52px;
  }
  .catalog-load-more button {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 42px;
  }
  .related-grid {
    grid-auto-columns: minmax(158px, 76vw);
    gap: 22px;
  }
  .shop .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-image {
    aspect-ratio: 2/3;
  }
  .product-card h3 {
    font-size: 17px;
  }
  .product-price {
    font-size: 12px;
  }
  .product-type {
    font-size: 11px;
  }
  .product-gallery {
    height: auto;
    gap: 12px;
    padding: 0;
  }
  .gallery-open {
    width: 46px;
    height: 46px;
  }
  .gallery-thumbnails button {
    width: 46px;
    height: 58px;
    flex-basis: 46px;
  }
  .gallery-lightbox {
    padding: 0;
  }
  .gallery-lightbox-controls {
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 50%;
    gap: 10px;
  }
  .gallery-lightbox-controls button {
    width: 42px;
    height: 42px;
  }
  .gallery-lightbox-close {
    width: 50px !important;
    height: 50px !important;
  }
  .product-info {
    padding: 0;
  }
  .product-info-head {
    align-items: flex-start;
  }
  .product-specs-toggle span {
    display: none;
  }
  .product-specs-toggle {
    width: 28px;
    height: 28px;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .product-info h1 {
    font-size: 34px;
  }
  .specs {
    padding: 75px 22px 80px;
  }
  .specs h2 {
    font-size: 50px;
  }
  .specs dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .catalog-cta {
    padding: 95px 22px;
  }
  .catalog-cta h2 {
    font-size: 51px;
  }
  .related {
    padding: 60px 22px 80px;
  }
  .related-head h2 {
    font-size: 48px;
  }
}

.gallery-lightbox-status {
  display: none;
}


@media (max-width: 900px) {
  .hero-aside {
    display: none;
  }
  .hero-location {
    bottom: 58px;
    gap: 12px;
  }
  .hero-location span::before {
    margin-right: 12px;
  }
}
/* Compact mobile composition and a quiet, full-height navigation panel. */
@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: auto;
    width: min(92vw, 380px);
    height: calc(100dvh - 72px);
    max-height: none;
    padding: 18px 20px 28px;
    background: #fff;
    color: #171717;
    box-shadow: none;
    transform: translateX(14px);
    transform-origin: right center;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.42s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  .nav::before {
    content: "Меню";
    margin-bottom: 12px;
    color: #777;
    font: 500 10px/1 var(--font-sans);
    letter-spacing: 0.15em;
  }

  .nav > a:not(.nav-mobile-phone) {
    display: block;
    padding: 18px 0;
    border-color: #dedede;
    color: #171717;
    font: 500 12px/1.1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .nav > a:not(.nav-mobile-phone):first-of-type {
    border-top-color: #dedede;
  }

  .nav > a:not(.nav-mobile-phone)::before,
  .nav > a:not(.nav-mobile-phone) .icon {
    display: none;
  }

  .nav > a:not(.nav-mobile-phone):hover,
  .nav > a:not(.nav-mobile-phone)[aria-current="page"] {
    padding-left: 0;
    color: #171717;
  }

  .nav > a:not(.nav-mobile-phone)[aria-current="page"] {
    font-weight: 700;
  }

  .nav-mobile-phone {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #dedede;
    color: #333;
    font: 500 13px/1.2 var(--font-sans);
    letter-spacing: 0.04em;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .collection-card {
    height: 440px;
  }
}

@media (max-width: 620px) {
  body.home .section-intro {
    display: none;
  }

  .collection-grid {
    grid-template-columns: none;
    grid-auto-columns: 86%;
    grid-auto-flow: column;
    gap: 10px;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .collection-grid::-webkit-scrollbar {
    display: none;
  }

  .collection-card {
    width: 100%;
    height: auto;
    aspect-ratio: 0.92;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .collection-card .card-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .collection-card .card-copy p {
    margin-bottom: 9px;
    font-size: clamp(11px, 3vw, 12px);
    line-height: 1.3;
    letter-spacing: 0.12em;
  }

  .collection-card .card-copy h3 {
    max-width: 100%;
    font-size: clamp(26px, 7.6vw, 34px);
    line-height: 0.96;
  }

  .collection-card.card-1 .card-copy h3 {
    font-size: clamp(24px, 7.6vw, 34px);
    letter-spacing: -0.04em;
  }


  .collection-card .card-arrow {
    top: 18px;
    right: 18px;
    bottom: auto;
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    background: rgba(24, 23, 21, 0.16);
    place-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .collection-carousel-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
    color: #777168;
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .collection-carousel-hint .icon {
    width: 14px;
    height: 14px;
    animation: collection-hint-slide 1.8s cubic-bezier(0.22, 0.8, 0.2, 1) infinite;
  }

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

  .story-image {
    width: 100%;
    aspect-ratio: 1;
  }
}

@keyframes collection-hint-slide {
  0%, 100% { transform: translateX(0); opacity: 0.45; }
  50% { transform: translateX(5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .collection-carousel-hint .icon {
    animation: none;
  }
}

/* WordPress and WooCommerce integration */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
}
.product-grid .product-card,
.related-grid .product-card {
  width: auto;
  margin: 0;
  list-style: none;
}
.product-card .product-image img {
  margin: 0;
}
.product-price .woocommerce-Price-amount {
  font-weight: 500;
}
.woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--cream);
  list-style: none;
}
.calculate {
  text-decoration: none;
}
.product-lead p {
  margin: 0;
}
.bastion-demo-form .primary-cta {
  position: relative;
  overflow: hidden;
}
.bastion-demo-form .primary-cta.is-submitting {
  animation: none;
  cursor: default;
}
.bastion-demo-form .primary-cta.is-submitting::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.72) 48%, transparent 78%);
  transform: translateX(-120%);
  animation: bastion-form-loading 1.05s ease-in-out infinite;
}
.bastion-demo-form .primary-cta > span {
  position: relative;
}
.bastion-demo-form .primary-cta.is-submitting .bastion-submit-icon,
.bastion-demo-form .primary-cta.is-success .bastion-submit-icon {
  display: none;
}
.bastion-demo-form .primary-cta.is-success {
  animation: none;
  cursor: default;
}
/* Keep the spam trap out of the visual and keyboard layout. */
.bastion-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bastion-form-feedback {
  margin: 0;
  font: 400 13px/1.5 var(--font-sans);
  text-align: center;
}
.bastion-form-feedback.is-error { color: #963f3f; }
.bastion-form-feedback.is-success { color: #406653; }
.bastion-form-consent {
  margin: -12px 0 0;
  color: rgba(33, 30, 26, 0.42);
  font: 400 10px/1.55 var(--font-sans);
  letter-spacing: 0.01em;
  text-align: center;
}
.bastion-form-consent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(33, 30, 26, 0.28);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.bastion-form-consent a:hover,
.bastion-form-consent a:focus-visible {
  color: rgba(33, 30, 26, 0.72);
  text-decoration-color: currentColor;
}
@keyframes bastion-form-loading {
  to { transform: translateX(120%); }
}
.bastion-content {
  min-height: 55vh;
  background: var(--surface);
}
@media (max-width: 782px) {
  body.admin-bar.home .site-header {
    top: 46px;
  }
  body.admin-bar.bastion-pinned-header .site-header {
    top: 46px;
  }
  body.admin-bar .header-filled {
    top: 46px;
  }
  body.admin-bar .nav {
    top: 100%;
    height: calc(100dvh - 118px);
  }
}

/* Favorites */
.header-favorites {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font: 25px/1 Georgia, serif;
}
.header-favorites b {
  position: absolute;
  top: -2px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 700 9px/16px var(--font-sans);
  text-align: center;
}
.header-overlay .header-favorites b {
  background: #f7f4eb;
  color: #40352d;
}
.header-overlay.is-scrolled .header-favorites b {
  background: var(--ink);
  color: #fff;
}
.product-card {
  position: relative;
}
.product-card-link {
  display: block;
}
.product-badge {
  right: auto;
  left: 15px;
}
.favorite-button {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  padding: 3px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(18, 14, 11, 0.65));
  transition: transform 0.2s ease;
}
.favorite-button.is-saved {
  background: transparent;
}
.favorite-button:hover {
  transform: scale(1.08);
}
.favorite-button svg,
.product-save svg {
  width: 100%;
  height: 100%;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.favorite-button.is-saved svg,
.product-save.is-saved svg {
  fill: currentColor;
}
.product-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}
.product-save,
.product-share {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border: 1px solid #bbb5aa;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-share {
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.product-save svg {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  vertical-align: -4px;
}
.product-share .icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  vertical-align: -4px;
}
.product-share:hover,
.product-share:focus-visible,
.product-share.is-copied {
  border-color: var(--ink);
  background: #e8e4da;
}
.product-share:hover .icon {
  transform: translateX(2px);
}
.product-save.is-saved {
  background: #e8e4da;
}
@media (max-width: 420px) {
  .product-secondary-actions {
    grid-template-columns: 1fr;
  }
}
.favorites-page {
  background: var(--surface);
}
.favorites-intro {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 50px;
  align-items: end;
  padding: 105px 5.5vw 80px;
  background: var(--cream);
}
.favorites-intro .eyebrow {
  align-self: start;
}
.favorites-intro h1 {
  margin: 0;
  font: 400 clamp(62px, 7vw, 108px)/0.9 Georgia, serif;
  letter-spacing: -0.055em;
}
.favorites-intro-aside p {
  max-width: 360px;
  margin: 0 0 8px;
  color: #655f57;
  font-size: 13px;
  line-height: 1.75;
}
.favorites-clear {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(31, 29, 26, 0.38);
  background: transparent;
  color: #655f57;
  cursor: pointer;
  font: 600 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.favorites-clear[hidden] {
  display: none;
}
.favorites-clear .icon {
  width: 14px;
  height: 14px;
}
.favorites-clear:hover {
  gap: 38px;
  border-color: var(--ink);
  color: var(--ink);
}
.favorites-content {
  min-height: 520px;
  padding: 85px 5.5vw 140px;
}
.favorites-page .product-card[hidden],
.favorites-content .product-grid[hidden],
.favorites-empty[hidden] {
  display: none;
}
.favorites-empty {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: center;
}
.favorites-empty-heart {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8f887e;
  cursor: pointer;
  place-items: center;
  transition: color 0.38s ease, transform 0.48s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.favorites-empty-heart svg {
  width: 100%;
  height: 100%;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.38s ease, stroke 0.38s ease;
}
.favorites-empty-heart.is-launching {
  color: var(--ink);
  animation: favorite-origin-pop 0.9s cubic-bezier(0.34, 0.08, 0.24, 1);
}
.favorite-button.is-launching {
  animation: favorite-origin-pop 0.9s cubic-bezier(0.34, 0.08, 0.24, 1);
}
.favorites-empty-heart.is-launching svg {
  fill: currentColor;
}
.favorite-flight-heart {
  position: fixed;
  z-index: 10020;
  display: block;
  width: var(--flight-size, 14px);
  height: var(--flight-size, 14px);
  color: #c46f6d;
  filter: drop-shadow(0 2px 4px rgba(52, 31, 30, 0.16));
  pointer-events: none;
  will-change: transform, opacity;
}
.favorite-flight-heart:nth-of-type(even) {
  color: #d59a91;
}
.favorite-flight-heart svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.4;
}
.site-header.is-favorite-guiding {
  transform: translateY(0);
}
.header-favorites.is-receiving svg {
  animation: favorite-target-receive 0.9s cubic-bezier(0.34, 0.08, 0.24, 1);
}
@keyframes favorite-origin-pop {
  0%, 100% { transform: scale(1); }
  44% { transform: scale(1.09) rotate(-2deg); }
  72% { transform: scale(0.99) rotate(1deg); }
}
@keyframes favorite-target-receive {
  0%, 100% { fill: transparent; transform: scale(1); }
  44% { fill: currentColor; transform: scale(1.16) rotate(-3deg); }
  72% { fill: currentColor; transform: scale(0.98) rotate(1deg); }
}
@media (hover: hover) and (pointer: fine) {
  .favorites-empty-heart:hover {
    color: var(--ink);
    transform: scale(1.1);
  }
  .favorites-empty-heart:hover svg {
    fill: currentColor;
  }
}
.favorites-empty h2 {
  margin: 20px 0 15px;
  font-size: 45px;
}
.favorites-empty p {
  margin: 0 auto 35px;
  color: #716b62;
  font-size: 13px;
  line-height: 1.7;
}
.favorites-empty a {
  display: inline-flex;
  gap: 55px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@media (max-width: 900px) {
  .favorites-intro {
    grid-template-columns: 1fr;
    padding: 80px 22px 60px;
  }
  .favorites-intro .eyebrow {
    margin-bottom: 0;
  }
  .favorites-intro-aside p {
    margin-top: 10px;
  }
  .favorites-content {
    padding: 70px 22px 105px;
  }
}
@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .header-actions {
    gap: 15px;
  }
  .header-favorites {
    display: grid;
  }
  .favorites-intro h1 {
    font-size: 58px;
  }
  .favorites-content {
    min-height: 430px;
  }
  .favorites-empty h2 {
    font-size: 39px;
  }
}

@media (max-width: 620px) {
  .favorites-intro {
    gap: 12px;
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .favorites-intro h1 {
    font-size: clamp(48px, 15vw, 58px);
  }

  .favorites-intro-aside p {
    margin-top: 2px;
    line-height: 1.55;
  }

  .favorites-clear {
    margin-top: 12px;
  }

  .favorites-content {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .favorites-content .product-grid {
    row-gap: 22px;
  }

  .favorites-empty {
    margin-top: 4px;
  }

  .favorites-empty-heart {
    width: 56px;
    height: 56px;
  }

  .favorites-empty h2 {
    margin: 12px 0 8px;
    font-size: clamp(34px, 10vw, 39px);
  }

  .favorites-empty p {
    margin-bottom: 20px;
    line-height: 1.55;
  }

  .favorites-empty a {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* Lean store pages */
.details-link {
  display: inline-flex;
  gap: 55px;
  margin-top: 45px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Softer architectural surfaces */
:root {
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
}
.collection-card,
.home-work-media,
.works-card-media {
  border-radius: var(--radius-md);
}
.story-image-label,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-sm);
}
.calculate,
.product-save,
form button,
.filter-row button,
.filter-row select,
input,
select,
textarea {
  border-radius: var(--radius-sm);
}
.filter-row .catalog-price-sort button {
  border-radius: 50%;
}
.request-copy input {
  padding-right: 12px;
  padding-left: 12px;
}
.favorite-button {
  border-radius: 50%;
}

.details .home-service-list {
  padding: 0;
}
@media (min-width: 901px) {
  .details .home-service-list article {
    grid-template-columns: 0.28fr 1.75fr 1.15fr 0.62fr;
    gap: clamp(22px, 3vw, 45px);
  }
  .details .home-service-list h2 {
    white-space: nowrap;
  }
}
.details .details-link {
  align-items: center;
}
.details .details-link span {
  display: inline-flex;
}
.simple-cta a span,
.details-link span {
  display: inline-flex;
  align-items: center;
}
.home-works {
  padding: 130px 4.5vw 75px;
  background: #fff;
}
.home-works-head {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  margin-bottom: 62px;
}
.home-works-head h2 {
  font-size: clamp(50px, 5vw, 80px);
  line-height: 0.96;
}
.home-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 18px;
  align-items: start;
}
.home-work-card {
  min-width: 0;
}
.home-work-card:nth-child(3n + 2) {
  margin-top: 72px;
}
.home-work-card:nth-child(3n) {
  margin-top: 18px;
}
.home-work-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eeeae2;
}
.home-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.6s cubic-bezier(0.45, 0, 0.55, 1), filter 1.1s ease-in-out;
}
.home-work-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: #8e8982;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.72;
}
.home-work-meta span:last-child {
  text-align: right;
}
.home-works-grid h3 {
  margin: 14px 0 10px;
  font: 400 clamp(30px, 2.8vw, 44px)/0.98 Georgia, serif;
}
.home-works-grid h3 a {
  transition: color 0.3s ease;
}
.home-works-grid h3 a:hover {
  color: #746d63;
}
.home-works-grid p {
  margin: 0;
  color: #99948d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.home-works-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 72px;
}
.home-works-footer a {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@media (min-width: 901px) {
  .home-works {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
  }
  .home-works-head,
  .home-works-grid {
    grid-column: 1 / -1;
  }
  .home-works-head,
  .home-works-footer {
    grid-row: 1;
  }
  .home-works-footer {
    position: relative;
    z-index: 1;
    grid-column: 3;
    align-self: end;
    justify-content: flex-start;
    margin: 0 0 62px;
  }
}
.inner-page {
  background: var(--surface);
}
.inner-intro {
  display: grid;
  grid-template-columns: 0.8fr 2.1fr 1fr;
  gap: 60px;
  align-items: end;
  padding: 110px 5.5vw 95px;
  background: var(--cream);
}
.inner-intro .eyebrow {
  align-self: start;
}
.inner-intro h1 {
  margin: 0;
  font: 400 clamp(64px, 7.5vw, 120px)/0.88 Georgia, serif;
  letter-spacing: -0.06em;
}
.inner-intro > p:last-child {
  max-width: 380px;
  margin: 0 0 8px;
  color: #655f57;
  font-size: 13px;
  line-height: 1.8;
}
.service-list {
  padding: 30px 5.5vw 125px;
}
.service-list article {
  position: relative;
  display: grid;
  grid-template-columns: 0.4fr 1.5fr 1.3fr 0.7fr;
  gap: 45px;
  align-items: start;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.service-list article > span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.service-list h2 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}
.service-list p {
  max-width: 490px;
  margin: 0;
  color: #655f57;
  font-size: 13px;
  line-height: 1.8;
}
.service-list small {
  text-align: left;
  color: #655f57;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  text-transform: none;
  letter-spacing: normal;
}
.service-step-link {
  position: absolute;
  z-index: 2;
  inset: 0;
}
.service-step-link:focus-visible {
  outline: 1px solid rgba(33, 30, 26, 0.55);
  outline-offset: -2px;
}
.services-page {
  background: #fff;
}
.services-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: calc(100svh - 84px);
}
.services-hero-copy {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(70px, 7vw, 118px) clamp(42px, 6vw, 98px) 65px;
  background: #efefef;
}
.services-hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 11%;
  width: 1px;
  height: 28%;
  background: linear-gradient(transparent, rgba(33, 30, 26, 0.2));
}
.services-hero-copy .eyebrow {
  margin-bottom: 30px;
  color: #666;
}
.services-hero-copy h1 {
  margin: 0;
  font: 400 clamp(64px, 6vw, 104px)/0.86 Georgia, serif;
  letter-spacing: -0.06em;
}
.services-hero-copy h1 span,
.services-hero-copy h1 em {
  display: block;
  white-space: nowrap;
}
.services-hero-copy h1 em {
  color: inherit;
  font-weight: 400;
}
.services-hero-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 34px 0 36px;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}
.services-hero-copy > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  min-width: 245px;
  padding: 14px 0;
  border-bottom: 1px solid #202020;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.24s ease, padding-left 0.24s ease;
}
.services-hero-copy > a .icon {
  width: 16px;
  height: 16px;
}
.services-hero-copy > a:hover {
  padding-left: 8px;
  color: #555;
}
.services-hero-copy > a:hover .icon {
  transform: translateY(4px);
}
.services-hero-meta {
  position: absolute;
  right: clamp(42px, 6vw, 98px);
  bottom: 30px;
  left: clamp(42px, 6vw, 98px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(33, 30, 26, 0.2);
  color: #666;
  font-size: 8px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.services-hero-meta span:last-child {
  text-align: right;
}
.services-hero-media {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #efefef;
}
.services-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 21, 19, 0.52));
  pointer-events: none;
}
.services-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.services-hero-media:hover img:not(.image-drift-image) {
  transform: scale(1.035);
}
.services-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 26px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  color: #fff;
  font-size: 8px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.services-hero-media figcaption span:first-child {
  font: italic 400 19px/1.1 Georgia, serif;
  text-transform: none;
  letter-spacing: -0.02em;
}
@keyframes services-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes services-image-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}
.services-values {
  padding: 115px 5.5vw 105px;
  background: #292929;
  color: #fff;
}
.services-values > header {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  margin-bottom: 68px;
}
.services-values .eyebrow {
  align-self: start;
  color: rgba(255, 255, 255, 0.46);
}
.services-values h2,
.services-process-head h2,
.services-prep-copy h2 {
  margin: 0;
  font: 400 clamp(54px, 6vw, 92px)/0.9 Georgia, serif;
  letter-spacing: -0.05em;
}
.services-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.services-values-grid article {
  min-height: 260px;
  padding: 26px 34px 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.services-values-grid article + article {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.services-values-grid span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  letter-spacing: 0.15em;
}
.services-values-grid h3 {
  max-width: 260px;
  margin: 62px 0 20px;
  font: 400 clamp(25px, 2.4vw, 36px)/1 Georgia, serif;
}
.services-values-grid p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.75;
}
.services-process {
  position: relative;
  overflow: hidden;
  padding: 120px 5.5vw 95px;
  background: #fff;
}
.services-process > * {
  position: relative;
  z-index: 1;
}
.services-process-head {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 0.7fr;
  gap: 45px;
  align-items: end;
  margin-bottom: 64px;
}
.services-process-head .eyebrow {
  align-self: start;
}
.services-process-head > p:last-child {
  margin: 0 0 5px;
  color: #6e6a64;
  font-size: 12px;
  line-height: 1.75;
}
@media (max-width: 620px) {
  .services-process-head > p:last-child {
    display: none;
  }
}
.services-process-list {
  padding: 0;
  border-top: 1px solid var(--line);
}
.services-process-list article {
  transition: padding-left 0.3s ease, background-color 0.3s ease;
}
.services-process-list article > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: flex-start;
  color: #777168;
}
.services-process-list article > span .icon {
  width: 18px;
  height: 18px;
}
.services-process-list article:hover {
  padding-left: 12px;
  background: rgba(33, 30, 26, 0.035);
}
@media (min-width: 901px) {
  .services-process-list h2 {
    white-space: nowrap;
  }
}
.services-delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 620px;
  background: #efefef;
  color: #202020;
}
.services-delivery-copy {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(55px, 5vw, 78px) clamp(42px, 6vw, 95px);
  border-left: 1px solid rgba(41, 39, 36, 0.14);
}
.services-delivery-copy .eyebrow {
  margin-bottom: 24px;
  color: #666;
}
.services-delivery-copy h2 {
  margin: 0;
  font: 400 clamp(52px, 5vw, 76px)/0.9 Georgia, serif;
  letter-spacing: -0.055em;
}
.services-delivery-copy h2 em {
  display: block;
  color: inherit;
  font-weight: 400;
}
.services-delivery-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin: 24px 0 0;
  color: #625c54;
  font-size: 14px;
  line-height: 1.65;
}
.services-delivery-search {
  width: min(100%, 520px);
  margin: 28px 0 0;
}
.services-delivery-search > div {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.services-delivery-search-field {
  display: flex;
  height: 40px;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  padding: 0 78px 0 2px;
  border-bottom: 1px solid #9e978d;
  color: #292724;
  transition: border-color 0.25s ease;
}
.services-delivery-search-field:focus-within {
  border-color: #292724;
}
.services-delivery-search-field .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.services-delivery-search input {
  appearance: none;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #292724;
  font: 500 13px/1.3 var(--font-sans);
}
.services-delivery-search input:focus,
.services-delivery-search input:focus-visible {
  outline: 0;
  box-shadow: none;
}
.services-delivery-search input::-webkit-search-cancel-button {
  display: none;
}
.services-delivery-search input::placeholder {
  color: rgba(82, 77, 71, 0.5);
}
.services-delivery-search button {
  height: 40px;
  flex: 0 0 auto;
  padding: 10px 17px;
  border: 1px solid #cec8bd;
  border-radius: 999px;
  background: transparent;
  color: #625c54;
  cursor: pointer;
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.services-delivery-search button:hover {
  border-color: #292724;
  color: #292724;
}
.services-delivery-search button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.55;
}
.services-delivery-search .services-delivery-search-reset {
  display: inline-flex;
  width: 40px;
  min-width: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  line-height: 0;
}
.services-delivery-search .services-delivery-search-submit,
.services-delivery-search .services-delivery-search-reset {
  position: absolute;
  right: 38px;
  bottom: 4px;
  display: inline-flex;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  border-radius: 50%;
  line-height: 0;
}
.services-delivery-search .services-delivery-search-reset {
  right: 2px;
}
.services-delivery-search-submit .icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.24s ease;
}
.services-delivery-search-submit:hover .icon,
.services-delivery-search-submit:focus-visible .icon {
  transform: translateX(2px);
}
.services-delivery-search-reset .icon {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transform: none;
}
.services-delivery-search-reset:hover:not(:disabled) {
  background: #292724;
  color: #fff;
}
.services-delivery-search-reset:disabled {
  cursor: default;
  opacity: 0.28;
}
.services-delivery-search > .services-delivery-search-result {
  display: grid;
  min-height: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.services-delivery-search-result > p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #817b73;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.services-delivery-search-result > p:empty {
  display: block;
  visibility: hidden;
}
.services-delivery-search-result > a {
  display: flex;
  width: clamp(126px, 13vw, 170px);
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(41, 39, 36, 0.62);
  border-radius: 0;
  background: transparent;
  color: #292724;
  font: 500 8px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: color 0.22s ease, padding-left 0.22s ease, opacity 0.22s ease;
}
.services-delivery-search-result > a .icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  transition: transform 0.24s ease;
}
.services-delivery-search.has-success .services-delivery-search-result > a {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.services-delivery-search-result > a:hover,
.services-delivery-search-result > a:focus-visible {
  padding-left: 7px;
  color: #292724;
}
.services-delivery-search-result > a:hover .icon,
.services-delivery-search-result > a:focus-visible .icon {
  transform: translateX(3px);
}
.services-delivery-search.is-searching button[type="submit"] {
  border-color: #292724;
  background: #292724;
  color: #fff;
  animation: services-search-pulse 1.1s ease-in-out infinite;
}
.services-delivery-search.has-error .services-delivery-search-result > p {
  color: #985148;
}
.services-delivery-search.has-error .services-delivery-search-field {
  border-color: rgba(152, 81, 72, 0.5);
}
.services-delivery-map {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #efefef;
}
.services-delivery-map::after {
  content: none;
}
.services-delivery-map-backdrop {
  display: none;
}
.services-delivery-map svg {
  position: relative;
  z-index: 2;
  width: min(112%, 820px);
  height: min(108%, 660px);
  overflow: visible;
}
.services-delivery-map-ascii {
  fill: #292724;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  shape-rendering: geometricPrecision;
}
.services-delivery-routes path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 1.25;
  stroke-dasharray: 5 8;
  animation: services-route-flow 12s linear infinite;
}
.services-delivery-routes,
.services-delivery-city,
.services-delivery-courier-default {
  transition: opacity 0.5s ease;
}
.services-delivery-custom-route {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.45;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.services-delivery-courier-custom,
.services-delivery-city-custom {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.services-delivery-map.has-custom-route .services-delivery-routes,
.services-delivery-map.has-custom-route .services-delivery-city:not(.services-delivery-city-main):not(.services-delivery-city-custom),
.services-delivery-map.has-custom-route .services-delivery-courier-default {
  opacity: 0.16;
}
.services-delivery-map.has-custom-route .services-delivery-custom-route,
.services-delivery-map.has-custom-route .services-delivery-courier-custom,
.services-delivery-map.has-custom-route .services-delivery-city-custom {
  opacity: 1;
}
.services-delivery-courier {
  fill: #fff;
  stroke: #292724;
  stroke-width: 1.5;
}
.services-delivery-city circle {
  fill: #fff;
  stroke: #292724;
  stroke-width: 1.5;
}
.services-delivery-city-label {
  pointer-events: none;
}
.services-delivery-city-label rect {
  fill: #202020;
}
.services-delivery-city text {
  fill: #fff;
  stroke: none;
  font: 600 8px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-anchor: middle;
  dominant-baseline: middle;
}
@keyframes services-route-flow {
  to { stroke-dashoffset: -130; }
}
@keyframes services-search-pulse {
  50% { transform: scale(0.94); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .services-delivery-courier {
    display: none;
  }
}
.services-prep {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 720px;
}
.services-prep figure {
  position: relative;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #efefef;
}
.services-prep figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(22, 21, 19, 0.48));
  pointer-events: none;
}
.services-prep figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.services-prep figure:hover img:not(.image-drift-image) {
  transform: scale(1.03);
}
.services-prep figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 25px;
  left: 28px;
  color: rgba(255, 255, 255, 0.76);
  font: italic 400 18px/1.2 Georgia, serif;
}
.services-prep-copy {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  padding: clamp(62px, 5.2vw, 88px);
  background: #efefef;
}
.services-prep-copy .eyebrow {
  margin-bottom: 28px;
  color: #777168;
}
.services-prep-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 34px 0 38px;
  color: #655f57;
  font-size: 12px;
  line-height: 1.8;
}
.services-prep-copy ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.services-prep-copy li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.services-prep-copy li span {
  color: #817b72;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.services-prep-copy li p {
  margin: 0;
  color: #403c36;
  font-size: 11px;
  line-height: 1.65;
}
.simple-cta {
  padding: 125px 5.5vw;
  background: var(--deep-surface);
  color: #fff;
  text-align: center;
}
.simple-cta h2 {
  font-size: clamp(58px, 7vw, 108px);
  line-height: 0.92;
}
.simple-cta > p:not(.eyebrow) {
  max-width: 450px;
  margin: 35px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.75;
}
.simple-cta a {
  display: inline-flex;
  gap: 70px;
  margin-top: 38px;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.works-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(620px, calc(100svh - 84px), 760px);
  background: #efefef;
}
.works-intro-copy {
  display: flex;
  min-width: 0;
  padding: 92px 5vw 58px 5.5vw;
  flex-direction: column;
}
.works-intro-copy .eyebrow {
  margin-top: auto;
  margin-bottom: 30px;
}
.works-intro-copy h1 {
  max-width: 680px;
  margin: 0;
  font: 400 clamp(82px, 9.3vw, 152px)/0.77 Georgia, serif;
  letter-spacing: -0.065em;
}
.works-intro-copy h1 em {
  display: block;
  margin-left: 0.25em;
  font-weight: 400;
}
.works-intro-quote {
  max-width: 455px;
  margin: 48px 0 0;
  padding-left: 20px;
  border-left: 1px solid rgba(33, 30, 26, 0.45);
  color: #5e574e;
}
.works-intro-quote p {
  margin: 0;
  font: 400 18px/1.42 Georgia, serif;
}
.works-intro-quote cite {
  display: block;
  margin-top: 14px;
  color: #81796e;
  font: 500 9px/1 var(--font-sans);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.works-intro-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}
.works-intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24, 23, 21, 0.48), transparent 42%);
}
.works-intro-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center;
}
.works-intro-media figcaption {
  position: absolute;
  z-index: 1;
  right: 5vw;
  bottom: 48px;
  left: 5vw;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 25px;
  color: #fff;
}
.works-intro-media figcaption span {
  font-size: 9px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.works-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 62px 24px;
  padding: 110px 5.5vw 155px;
  scroll-margin-top: 84px;
}
.works-page .works-list > article[hidden] {
  display: none;
}

.works-page .works-load-more {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.works-list-head {
  grid-column: 1 / -1;
  margin-bottom: 30px;
}
.works-list .works-list-head h2 {
  margin: 0;
  font: 400 clamp(52px, 5.5vw, 84px)/0.92 Georgia, serif;
  letter-spacing: -0.05em;
}
.works-list article {
  grid-column: span 4;
  min-width: 0;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.works-list article:nth-of-type(2) {
  margin-top: 72px;
}
.works-list article:nth-of-type(3) {
  margin-top: 18px;
}
.works-list article:nth-of-type(4) {
  margin-top: 48px;
}
.works-list article:nth-of-type(6) {
  margin-top: 82px;
}
.works-card-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eeeae2;
}
.works-card-media.has-review::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 19, 17, 0.78) 0%, rgba(20, 19, 17, 0.24) 48%, transparent 72%);
  pointer-events: none;
}
.works-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 2.6s cubic-bezier(0.45, 0, 0.55, 1);
}
.works-card-review {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 24px;
  left: 26px;
  width: calc(100% - 52px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.works-card-review-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.52);
  font: 600 7px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.works-card-review-preview,
.works-card-review-full {
  display: block;
  overflow: hidden;
  font: italic 400 clamp(22px, 2vw, 31px)/1.1 Georgia, serif;
  letter-spacing: -0.025em;
}
.works-card-review-preview {
  max-height: 130px;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.2s ease;
}
.works-card-review-full {
  max-height: 0;
  opacity: 0;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.2;
  transition: max-height 0.5s ease, opacity 0.28s ease;
}
.works-card-review-person {
  display: block;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.works-card-review-person strong,
.works-card-review-person small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
}
.works-card-review-person strong {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.works-card-review-person small {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transition: max-height 0.4s ease, margin 0.4s ease, opacity 0.25s ease;
}
.works-card-review-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font: 600 8px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: max-height 0.4s ease, margin 0.4s ease, opacity 0.25s ease;
}
.works-card-review-action i {
  position: relative;
  width: 14px;
  height: 14px;
}
.works-card-review-action i::before,
.works-card-review-action i::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 12px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease;
}
.works-card-review-action i::after {
  transform: rotate(90deg);
}
.works-card-review.is-open .works-card-review-preview {
  max-height: 0;
  opacity: 0;
}
.works-card-review.is-open .works-card-review-full {
  max-height: 300px;
  opacity: 1;
}
.home-works-grid .works-card-review-person small {
  display: none;
}
.works-card-review.is-open .works-card-review-person small,
.works-card-review.is-open .works-card-review-action {
  max-height: 42px;
  margin-top: 9px;
  opacity: 1;
}
.works-card-review.is-open .works-card-review-action i::after {
  transform: rotate(0);
}
.works-list article:hover {
  transform: translateY(-6px);
}
.works-list article:hover .works-card-media img:not(.image-drift-image) {
  transform: scale(1.12);
}
.works-list article:hover .works-card-review {
  transform: translateY(-5px);
}
.works-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: #777168;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.works-card-meta span:last-child {
  text-align: right;
}
.works-list h2 {
  margin: 14px 0 9px;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1;
}
.works-list article > p {
  margin: 0;
  color: #716b62;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.works-cta {
  background: var(--cream);
  color: var(--ink);
}
.works-cta a {
  border-color: var(--ink);
}
.contacts-layout {
  --contact-body-size: 16px;
  --contact-label-size: 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "intro map";
  grid-template-rows: 430px;
  min-height: 0;
}
.contacts-copy {
  position: relative;
  z-index: 2;
  grid-area: intro;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 72px clamp(38px, 5.5vw, 92px) 48px;
  background: #fff;
  color: var(--ink);
}
.contacts-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 9%;
  width: 1px;
  height: 23%;
  background: linear-gradient(rgba(31, 29, 26, 0), rgba(31, 29, 26, 0.2));
  pointer-events: none;
}
.contacts-heading,
.contact-connect,
.contacts-socials,
.contacts-data,
.contact-directory {
  position: relative;
  z-index: 1;
}
@keyframes contacts-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contacts-copy .eyebrow {
  color: #777168;
}
.contacts-copy h1 {
  margin: 0;
  font: 400 clamp(58px, 5.4vw, 88px)/0.88 Georgia, serif;
  letter-spacing: -0.055em;
}
.contacts-copy h1 em {
  display: block;
  color: inherit;
  font-weight: 400;
}
.contacts-note {
  max-width: 420px;
  margin: 30px 0 44px;
  color: #68635c;
  font-size: var(--contact-body-size);
  line-height: 1.65;
}
.contact-directory {
  grid-area: directory;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 6vw, 96px);
  padding-top: 38px;
  padding-bottom: 52px;
  border-top: 1px solid #d0d0d0;
  background: #fff;
  font-style: normal;
  font: 400 var(--contact-body-size)/1.5 var(--font-sans);
}
.contact-directory-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  min-height: 82px;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 0;
  border-bottom: 1px solid #d0d0d0;
  transition: border-color 0.24s ease, color 0.24s ease;
}
.contact-directory-row:nth-child(even) {
  padding-right: 0;
  padding-left: 0;
  border-left: 0;
}
.contact-directory-legal {
  grid-column: 1 / -1;
  padding-right: 0;
}
.contact-directory-author {
  grid-column: 1 / -1;
}
.contact-directory-author .contact-directory-link {
  grid-column: 2 / -1;
}

.contact-directory-author small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 13px;
  font-weight: 400;
}
.contact-directory-row:hover {
  border-color: #808080;
}
.contact-directory-label {
  color: #666;
  font-size: var(--contact-label-size);
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.contact-directory-value {
  min-width: 0;
  color: #444;
  font: 400 var(--contact-body-size)/1.5 var(--font-sans);
  letter-spacing: 0;
}
.contact-directory-value small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 13px;
}
.contact-directory-emphasis {
  color: var(--ink);
  font-weight: 600;
}
.contact-directory-link,
.contact-directory-action,
.contact-directory-inline,
.contact-directory-socials a {
  display: inline-flex;
  align-items: center;
}
.contact-directory-link {
  grid-column: 2 / -1;
  justify-content: space-between;
  gap: 18px;
}
.contact-directory-link .icon,
.contact-directory-action .icon,
.contact-directory-socials .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  transition: transform 0.28s ease;
}
.contact-directory-action {
  gap: 8px;
  color: #555;
  font-size: 14px;
  white-space: nowrap;
}
.contact-directory-inline {
  grid-column: 2 / -1;
  gap: 10px;
}
.contact-directory-socials {
  grid-column: 2 / -1;
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.contact-directory-socials a {
  gap: 8px;
  color: #444;
  font-size: 15px;
}
.contact-directory-socials .social-icon {
  width: 18px;
  height: 18px;
  color: #303030;
  flex: 0 0 auto;
}
.contact-directory-link:hover,
.contact-directory-action:hover,
.contact-directory-socials a:hover {
  color: var(--ink);
}
.contact-directory-link:hover .icon,
.contact-directory-socials a:hover .icon {
  transform: translate(2px, -2px);
}
.contact-directory-legal .contact-directory-value {
  grid-column: 2 / -1;
  color: #555;
  font-size: 15px;
}
.contacts-page .contact-directory .messenger-button {
  --messenger-color: #303030;
  --messenger-rgb: 48, 48, 48;
  border-color: #d0d0d0;
  background: transparent;
  box-shadow: none;
}
.contacts-page .contact-directory .messenger-button:hover {
  border-color: #303030;
  background: #303030;
  color: #fff;
  box-shadow: none;
}
.contacts-page .contact-directory .metro-logo {
  filter: grayscale(1) brightness(0.24) contrast(1.2);
  opacity: 0.9;
}
.contact-disclosure-demo {
  padding: 0 var(--page-gutter) 66px;
  background: #fff;
  color: var(--ink);
}
.contact-disclosure-static {
  padding: 38px var(--page-gutter) 66px;
  background: #fff;
  color: var(--ink);
}
.contact-disclosure-toggle {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid #cec8bd;
  border-bottom: 1px solid #cec8bd;
  background: transparent;
  color: #565149;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.contact-disclosure-toggle > span:first-child {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 3vw, 48px);
}
.contact-disclosure-toggle small {
  color: #817a70;
  font: 500 8px/1.3 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.contact-disclosure-toggle strong {
  font: 500 13px/1.3 var(--font-sans);
  letter-spacing: 0.02em;
}
.contact-disclosure-toggle-mark {
  display: flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #cec8bd;
  border-radius: 50%;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.contact-disclosure-toggle-mark > .icon {
  display: none;
  width: 13px;
  height: 13px;
}
.contact-disclosure-toggle:hover,
.contact-disclosure-toggle.is-open {
  border-color: var(--ink);
  color: var(--ink);
}
.contact-disclosure-toggle:hover .contact-disclosure-toggle-mark,
.contact-disclosure-toggle.is-open .contact-disclosure-toggle-mark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.contact-disclosure-toggle.is-open .catalog-more-dots {
  display: none;
}
.contact-disclosure-toggle.is-open .contact-disclosure-toggle-mark > .icon {
  display: block;
  transform: rotate(180deg);
}
.contact-disclosure-demo .contact-disclosure-toggle,
.contact-disclosure-demo .contact-disclosure-toggle:hover {
  border-top: 0;
  border-bottom-color: transparent;
}
.contact-disclosure-demo .contact-disclosure-toggle.is-open {
  border-bottom-color: #cec8bd;
}
.contact-disclosure-panel {
  height: auto;
  margin: 0;
  padding: 32px 0 4px;
  overflow: hidden;
  background: transparent;
  opacity: 1;
}
.contact-disclosure-panel[hidden] {
  display: none;
}
.contact-disclosure-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 76px);
}
.contact-disclosure-groups > section {
  min-width: 0;
  scroll-margin-top: 90px;
}
.contact-disclosure-groups h2 {
  margin: 0 0 12px;
  color: #625c54;
  font: 500 12px/1.3 var(--font-sans);
}
.contact-disclosure-groups dl {
  margin: 0;
}
.contact-disclosure-groups dl > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid #dedad2;
}
.contact-disclosure-groups dl > .contact-disclosure-messenger-row {
  align-items: center;
}
.contact-disclosure-groups dt,
.contact-disclosure-groups dd {
  margin: 0;
}
.contact-disclosure-groups dt {
  color: #817a70;
  font: 500 8px/1.5 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.contact-disclosure-groups dd {
  min-width: 0;
  color: #565149;
  font: 500 11px/1.5 var(--font-sans);
  overflow-wrap: anywhere;
}
.contact-disclosure-groups dd strong {
  color: var(--ink);
  font-weight: 600;
}
.contact-disclosure-groups dd small {
  display: block;
  margin-top: 2px;
  color: #817a70;
  font-size: 9px;
}
.contact-disclosure-groups dd .icon {
  width: 11px;
  height: 11px;
  margin-left: 4px;
}
.contact-disclosure-groups .metro-logo {
  width: 18px;
  height: 18px;
  filter: none;
  opacity: 1;
}
.contact-disclosure-groups .contact-messengers {
  margin-top: -5px;
}
.contact-disclosure-groups .messenger-button {
  width: 29px;
  height: 29px;
}
.contact-disclosure-pill,
.contact-disclosure-socials a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #d4cfc6;
  border-radius: 999px;
  color: #565149;
  font: 500 10px/1.2 var(--font-sans);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.contact-disclosure-pill:hover,
.contact-disclosure-socials a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.contact-disclosure-pill .icon {
  width: 11px;
  height: 11px;
}
.contact-disclosure-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.contact-disclosure-socials .social-icon {
  width: 14px;
  height: 14px;
}
.contact-disclosure-static .contact-disclosure-groups h2 {
  font-size: 15px;
}
.contact-disclosure-static .contact-disclosure-groups dl > div {
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.contact-disclosure-static .contact-disclosure-groups dt {
  font-size: 10px;
}
.contact-disclosure-static .contact-disclosure-groups dd {
  font-size: 14px;
}
.contact-disclosure-static .contact-disclosure-groups dd small {
  font-size: 11px;
}
.contact-disclosure-static .contact-disclosure-pill,
.contact-disclosure-static .contact-disclosure-socials a {
  font-size: 12px;
}
@media (max-width: 900px) {
  .contact-disclosure-groups {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 520px) {
  .contact-disclosure-demo,
  .contact-disclosure-static {
    padding-right: 20px;
    padding-bottom: 48px;
    padding-left: 20px;
  }
  .contact-disclosure-static {
    padding-top: 28px;
  }
  .contact-disclosure-toggle > span:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .contact-disclosure-panel {
    padding-top: 26px;
  }
  .contact-disclosure-groups dl > div {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .contact-disclosure-static .contact-disclosure-groups dl > div {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
.contact-disclosure-mobile-slot {
  display: block;
  width: 100%;
}
.contact-disclosure-mobile-note[hidden] {
  display: none;
}
@media (max-width: 620px) {
  .request .contact-disclosure-demo {
    width: 100%;
    padding: 8px 0 0;
    background: transparent;
  }
  .request .contact-disclosure-toggle {
    min-height: 48px;
    padding: 7px 0;
    border: 0;
  }
  .request .contact-disclosure-toggle > span:first-child {
    gap: 4px;
  }
  .request .contact-disclosure-toggle-mark {
    width: 36px;
    height: 36px;
  }
  .request .contact-disclosure-panel {
    padding-top: 24px;
  }
}
.contact-mail-tag {
  --tag-ink: #222;
  --tag-blue: #555;
  position: relative;
  width: calc(100% + 62px);
  max-width: 650px;
  margin: 74px -62px 10px 0;
  padding: 24px 28px 0;
  overflow: visible;
  border: 1px solid rgba(34, 42, 58, 0.2);
  background:
    linear-gradient(rgba(47, 70, 117, 0.035) 1px, transparent 1px) 0 0 / 100% 34px,
    #faf7ee;
  color: var(--tag-ink);
  font: 400 14px/1.45 var(--font-sans);
  font-style: normal;
  filter: drop-shadow(0 20px 28px rgba(40, 37, 31, 0.12));
  transform-origin: 50% 26px;
  animation: contact-tag-sway 6.4s ease-in-out infinite;
  transition: filter 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.contact-mail-tag:hover {
  filter: drop-shadow(0 24px 34px rgba(40, 37, 31, 0.16));
  transform: translateY(-3px);
  animation-play-state: paused;
}
.contact-mail-tag:hover .contact-tag-cord {
  animation-play-state: paused;
}
@keyframes contact-tag-sway {
  0%,
  100% {
    rotate: -2.15deg;
  }
  48% {
    rotate: 2.35deg;
  }
  72% {
    rotate: -1.15deg;
  }
  86% {
    rotate: 0.75deg;
  }
}
.contact-tag-cord {
  position: absolute;
  z-index: 2;
  left: calc(50% - 1px);
  bottom: calc(100% - 30px);
  width: 2px;
  height: 92px;
  background: #a99a7d;
  box-shadow: 3px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
  transform-origin: bottom;
  animation: contact-cord-counter-sway 6.4s ease-in-out infinite;
}
@keyframes contact-cord-counter-sway {
  0%,
  100% {
    rotate: 11.15deg;
  }
  48% {
    rotate: 6.65deg;
  }
  72% {
    rotate: 10.15deg;
  }
  86% {
    rotate: 8.25deg;
  }
}
.contact-tag-hole {
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 50%;
  width: 25px;
  height: 25px;
  border: 5px solid #d8cfbd;
  border-radius: 50%;
  background: #55534e;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.38), 0 2px 5px rgba(33, 30, 25, 0.2);
  pointer-events: none;
  transform: translateX(-50%);
}
.contact-tag-head {
  display: flex;
  min-height: 35px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-right: 0;
  border-bottom: 2px solid var(--tag-ink);
  color: var(--tag-blue);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.contact-tag-head b {
  color: var(--tag-ink);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.contact-tag-stamp {
  position: absolute;
  z-index: 1;
  top: 74px;
  right: 27px;
  display: grid;
  width: 74px;
  height: 74px;
  border: 2px solid rgba(158, 66, 50, 0.75);
  border-radius: 50%;
  color: rgba(158, 66, 50, 0.82);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  place-content: center;
  transform: rotate(9deg);
}
.contact-tag-stamp::before,
.contact-tag-stamp::after {
  content: "";
  position: absolute;
  right: 5px;
  left: 5px;
  height: 1px;
  background: currentColor;
}
.contact-tag-stamp::before { top: 18px; }
.contact-tag-stamp::after { bottom: 18px; }
.contact-tag-stamp span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.contact-tag-stamp strong {
  margin-top: 3px;
  font: 700 11px/1 var(--font-sans);
  letter-spacing: 0.04em;
}
.contact-tag-destination {
  position: relative;
  min-height: 172px;
  padding: 24px 112px 22px 0;
  border-bottom: 1px solid rgba(34, 42, 58, 0.28);
}
.contact-tag-destination > span,
.contact-tag-label,
.contact-tag-email > span {
  display: block;
  margin-bottom: 7px;
  color: #777b81;
  font-size: 8px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}
.contact-tag-destination strong {
  display: block;
  font: 400 clamp(34px, 3.2vw, 46px)/0.91 Georgia, serif;
  letter-spacing: -0.045em;
}
.contact-tag-destination small {
  display: block;
  margin-top: 7px;
  color: #5f6470;
  font-size: 11px;
}
.contact-tag-destination a {
  position: absolute;
  right: 0;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tag-blue);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-tag-destination a .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}
.contact-tag-destination a:hover .icon {
  transform: translateY(3px);
}
.contact-tag-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(34, 42, 58, 0.28);
}
.contact-tag-contact .contact-tag-label {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}
.contact-tag-phone {
  color: var(--tag-ink);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 650;
  letter-spacing: -0.025em;
}
.contact-tag-contact .messenger-button {
  background: rgba(255, 255, 255, 0.62);
}
.contact-tag-route {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-bottom: 1px dashed rgba(34, 42, 58, 0.42);
}
.contact-tag-route > div {
  min-width: 0;
  padding: 17px 16px 18px 0;
}
.contact-tag-route > div + div {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(34, 42, 58, 0.22);
}
.contact-tag-route p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--tag-ink);
  font-size: 13px;
  font-weight: 650;
}
.contact-tag-route p small {
  color: #666b73;
  font-size: 10px;
  font-weight: 400;
}
.contact-tag-route .metro-logo {
  width: 19px;
  height: 19px;
}
.contact-tag-tearoff {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 22px;
  margin: 0 -28px;
  padding: 19px 28px 18px;
  background: rgba(47, 70, 117, 0.05);
}
.contact-tag-tearoff::before,
.contact-tag-tearoff::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(34, 42, 58, 0.2);
  border-radius: 50%;
  background: #f4f3ef;
}
.contact-tag-tearoff::before { left: -8px; }
.contact-tag-tearoff::after { right: -8px; }
.contact-tag-email {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 0 10px;
  min-width: 0;
  color: var(--tag-ink);
}
.contact-tag-email > span {
  grid-column: 1 / -1;
  margin-bottom: 3px;
}
.contact-tag-email strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-tag-email .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}
.contact-tag-email:hover .icon {
  transform: translate(2px, -2px);
}
.contact-tag-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-tag-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5e636d;
  font-size: 9px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.contact-tag-socials a:hover {
  color: var(--tag-blue);
  transform: translateY(-2px);
}
.contact-tag-socials .social-icon {
  width: 16px;
  height: 16px;
}
.contact-tag-code {
  width: 132px;
  height: 25px;
  background: repeating-linear-gradient(90deg, var(--tag-ink) 0 2px, transparent 2px 4px, var(--tag-ink) 4px 5px, transparent 5px 9px);
  opacity: 0.82;
}
.contact-tag-legal {
  align-self: end;
  color: #737780;
  font-size: 8px;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.contact-connect {
  padding: 25px 0 28px;
  border-top: 1px solid rgba(31, 29, 26, 0.18);
  border-bottom: 1px solid rgba(31, 29, 26, 0.18);
}
.contact-section-label {
  margin: 0 0 17px;
  color: #817b72;
  font-size: var(--contact-label-size);
  text-transform: uppercase;
  letter-spacing: 0.17em;
}
.contacts-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}
.contacts-socials {
  display: grid;
  grid-template-columns: 90px repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid rgba(31, 29, 26, 0.18);
}
.contacts-socials > span {
  align-self: center;
  color: #817b72;
  font-size: var(--contact-label-size);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.contacts-socials > a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 13px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 14px;
  border-left: 1px solid rgba(31, 29, 26, 0.18);
  color: #5f5a53;
  transition: background-color 0.28s ease, color 0.28s ease, padding-left 0.28s ease;
}
.contacts-socials .social-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}
.contacts-socials > a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.contacts-socials strong {
  font-size: var(--contact-body-size);
  font-weight: 600;
}
.contacts-socials small {
  overflow: hidden;
  color: #8a847b;
  font-size: var(--contact-body-size);
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contacts-socials .icon {
  width: 12px;
  height: 12px;
  color: #8a847b;
}
.contacts-socials > a:hover {
  padding-left: 19px;
  background: rgba(31, 29, 26, 0.035);
  color: var(--ink);
}
.contacts-socials > a:hover .icon {
  transform: translate(2px, -2px);
}
.contacts-data > div {
  min-height: 104px;
  padding: 18px 18px 17px 0;
  border-bottom: 1px solid rgba(31, 29, 26, 0.18);
  font-size: var(--contact-body-size);
  line-height: 1.55;
  transition: background-color 0.24s ease, padding-left 0.24s ease;
}
.contacts-data > div:nth-child(3) {
  padding-left: 22px;
  border-left: 1px solid rgba(31, 29, 26, 0.18);
}
.contacts-data > div:hover {
  padding-left: 8px;
  background: rgba(31, 29, 26, 0.025);
}
.contacts-data > div:nth-child(3):hover {
  padding-left: 30px;
}
.contacts-data .contact-detail-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  min-height: 72px;
  align-items: center;
  gap: 18px;
}
.contacts-data > div > span {
  display: block;
  margin-bottom: 8px;
  color: #817b72;
  font-size: var(--contact-label-size);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.contacts-data .contact-detail-wide span {
  margin: 0;
}
.contacts-data p {
  margin: 0;
}
.contacts-data .contact-detail-wide > p {
  max-width: 330px;
  font: 600 var(--contact-body-size)/1.55 var(--font-sans);
  letter-spacing: 0;
}
.contacts-legal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 15px;
  color: #8a847b;
  font-size: var(--contact-label-size);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contacts-legal > span {
  color: #9b958d;
  font-size: var(--contact-label-size);
  letter-spacing: 0.14em;
}
.contacts-legal p {
  display: flex;
  gap: 18px;
  margin: 0;
  text-align: right;
}
.contacts-legal strong {
  color: #777168;
  font-weight: 500;
}
.contacts-data .contact-detail-wide > a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--contact-label-size);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contacts-data .contact-detail-wide > a .icon {
  width: 13px;
  height: 13px;
}
.contacts-data .contact-detail-wide > a:hover {
  color: #5f5a53;
}
.station-walk,
.map-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.station-name {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.station-name small {
  color: #817b72;
  font-size: var(--contact-body-size);
}
.metro-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}
.social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-icon-viber {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}
.social-icon-instagram {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.contact-phone-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.contact-phone-number {
  font: 600 var(--contact-body-size)/1.5 var(--font-sans);
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: color 0.24s ease;
}
.contact-phone-number:hover {
  color: #5f5a53;
}
.contact-message-choice {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: 15px;
  color: #68635c;
  font-size: var(--contact-body-size);
  letter-spacing: 0;
  transition: color 0.24s ease, padding-left 0.24s ease;
}
.contact-email .icon {
  width: 13px;
  height: 13px;
}
.contact-email:hover {
  padding-left: 6px;
  color: var(--ink);
}
.contact-email:hover .icon {
  transform: translate(2px, -2px);
}
.contact-messengers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.messenger-button {
  --messenger-color: #5d5953;
  --messenger-rgb: 93, 89, 83;
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(31, 29, 26, 0.18);
  border-radius: 50%;
  background: rgba(31, 29, 26, 0.035);
  color: var(--messenger-color);
  place-items: center;
  animation: messenger-sequence 4.8s ease-in-out infinite both;
  transition: border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}
.messenger-button:nth-child(2) {
  animation-delay: 1.6s;
}
.messenger-button:nth-child(3) {
  animation-delay: 3.2s;
}
.messenger-button:hover {
  border-color: var(--messenger-color);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(var(--messenger-rgb), 0.2);
  transform: translateY(-3px);
}
.contact-messengers:hover .messenger-button {
  animation-play-state: paused;
}
.messenger-telegram {
  --messenger-color: #229ed9;
  --messenger-rgb: 34, 158, 217;
}
.messenger-viber {
  --messenger-color: #7360f2;
  --messenger-rgb: 115, 96, 242;
}
.messenger-whatsapp {
  --messenger-color: #20b95a;
  --messenger-rgb: 32, 185, 90;
}
@keyframes messenger-sequence {
  0%,
  24%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--messenger-rgb), 0);
    transform: scale(1);
  }
  8% {
    box-shadow: 0 0 0 7px rgba(var(--messenger-rgb), 0.13);
    transform: scale(1.08);
  }
  16% {
    box-shadow: 0 0 0 3px rgba(var(--messenger-rgb), 0.05);
    transform: scale(1.03);
  }
}
.map-wrap {
  position: relative;
  grid-area: map;
  min-height: 430px;
  overflow: hidden;
  background: #efefef;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.map-wrap.is-map-loaded iframe {
  opacity: 1;
}
.map-wrap.is-interactive iframe {
  pointer-events: auto;
}
.map-deferred-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #efefef;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  pointer-events: none;
}
.map-deferred-preview picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.map-deferred-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.map-static-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 32px;
  color: #625c54;
  text-align: center;
}
.map-static-fallback small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.map-static-fallback strong {
  color: var(--ink);
  font: 400 clamp(18px, 2vw, 26px)/1.2 Georgia, serif;
}
.map-loading-state {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  min-width: 210px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid rgba(31, 29, 26, 0.1);
  background: #f8f7f4;
  color: var(--ink);
  opacity: 0;
  translate: -50% -50%;
  pointer-events: none;
}
.map-loading-state > i {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(31, 29, 26, 0.16);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: bastion-page-loader-spin 0.95s linear infinite;
}
.map-loading-state > span {
  font: 500 10px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.map-wrap.is-map-loaded .map-deferred-preview {
  opacity: 0;
  visibility: hidden;
}
.map-activation {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.map-activation > span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font: 600 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.map-activation > .icon {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 17px;
  height: 17px;
}
.map-wrap.is-interactive .map-activation {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.map-wrap.is-map-loading .map-loading-state {
  opacity: 1;
  animation: map-loading-state-pulse 1.35s ease-in-out infinite alternate;
}
@keyframes map-loading-state-pulse {
  from {
    border-color: rgba(31, 29, 26, 0.08);
    background: #f3f2ef;
    scale: 0.985;
  }
  to {
    border-color: rgba(31, 29, 26, 0.17);
    background: #fff;
    scale: 1;
  }
}
.map-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 11px 14px;
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(14px);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.map-badge a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.map-badge .icon {
  width: 15px;
  height: 15px;
}
.map-badge a:hover .icon {
  transform: translate(3px, -3px);
}
.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  padding: 0;
  background: #efefef;
  color: var(--ink);
}
.simple-cta:not(.works-cta) {
  position: relative;
  overflow: hidden;
  background-color: #2d2c29;
}
html {
  --closing-materials-image: url("../images/responsive/1440/closing-materials-v1.webp");
}
html[data-image-quality="constrained"] {
  --closing-materials-image: url("../images/responsive/900/closing-materials-v1.webp");
}
html[data-image-quality="high"] {
  --closing-materials-image: url("../images/closing-materials-v1.jpg");
}
.simple-cta:not(.works-cta)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12px;
  background-image:
    linear-gradient(105deg, rgba(25, 24, 22, 0.82), rgba(30, 29, 27, 0.68)),
    var(--closing-materials-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1);
  transition: transform 1.45s cubic-bezier(0.45, 0, 0.55, 1);
  pointer-events: none;
}
.simple-cta:not(.works-cta):hover::before {
  transform: scale(1.03);
}
.simple-cta:not(.works-cta) > * {
  position: relative;
  z-index: 1;
}
.contact-form-visual {
  min-width: 0;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #efefef;
}
.contact-form-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform 1.8s cubic-bezier(0.45, 0, 0.55, 1);
}
.contact-form-section:hover .contact-form-visual img {
  transform: scale(1.025);
}
.contact-form-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 52px;
  padding: clamp(74px, 8vw, 128px) var(--page-gutter);
  background: #efefef;
}
.contact-form-heading {
  max-width: 570px;
}
@media (max-width: 520px) {
  .simple-cta:not(.works-cta)::before {
    background-position: 28% center;
  }
}
.contact-form-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: 0.92;
}
.contact-form-heading > p:last-child {
  max-width: 430px;
  margin: 28px 0 0;
  color: #625c54;
  font-size: 15px;
  line-height: 1.7;
}
.contact-form-panel .bastion-demo-form {
  width: 100%;
  max-width: 570px;
}
.contact-form-section {
  scroll-margin-top: 72px;
}
.contact-selected-product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(32, 32, 32, 0.18);
  border-bottom: 1px solid rgba(32, 32, 32, 0.18);
  cursor: pointer;
  transition: background-color 0.24s ease, border-color 0.24s ease;
}
.contact-selected-product > img {
  width: 48px;
  height: 58px;
  object-fit: cover;
}
.contact-selected-product > .contact-selected-product-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.contact-selected-product small {
  color: #777168;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-selected-product strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-selected-product-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #68635c;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-selected-product:hover,
.contact-selected-product:focus-visible {
  border-color: rgba(32, 32, 32, 0.38);
  background: rgba(32, 32, 32, 0.035);
}
.contact-selected-product:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.contact-selected-product-action .icon {
  transition: transform 0.24s ease;
}
.contact-selected-product:hover .contact-selected-product-action .icon,
.contact-selected-product:focus-visible .contact-selected-product-action .icon {
  transform: translate(3px, -3px);
}
.contact-selected-product .icon {
  width: 14px;
  height: 14px;
}
.contact-form-panel label > span,
.contact-form-panel .contact-preference legend,
.contact-form-panel .contact-preference small {
  color: #777168;
}
.contact-form-panel input {
  border-bottom-color: #aaa49b;
  color: var(--ink);
  font-size: 16px;
}
.contact-form-panel input::placeholder {
  color: #8a847b;
}
.contact-form-panel .contact-preference label span {
  border-color: #c9c4bc;
  color: #565149;
}
.contact-form-panel .contact-preference input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.contact-form-panel .contact-preference input:focus-visible + span {
  outline-color: var(--ink);
}
.contact-form-panel form > button {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.contact-form-panel form > button:hover {
  background: transparent;
  color: var(--ink);
}
.installation-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.installation-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ink);
}
.installation-option span,
.installation-option strong {
  margin: 0;
  color: var(--ink);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.installation-option strong {
  font-weight: 400;
  color: #777168;
}
@media (max-width: 900px) {
  .home-works {
    padding: 95px 22px 58px;
  }
  .home-works-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }
  .home-work-card:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
  .home-work-card:nth-child(even) {
    margin-top: 40px;
  }
  .home-works-footer {
    justify-content: flex-start;
    margin-top: 60px;
  }
  .inner-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 85px 22px 70px;
  }
  .inner-intro .eyebrow {
    margin-bottom: 5px;
  }
  .service-list {
    padding: 20px 22px 90px;
  }
  .service-list article {
    grid-template-columns: 50px 1fr;
    gap: 18px 20px;
  }
  .service-list p,
  .service-list small {
    grid-column: 2;
    text-align: left;
  }
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 18px;
    padding: 75px 22px 110px;
  }
  .works-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 620px;
  }
  .works-intro-copy {
    padding: 70px 28px 42px 22px;
  }
  .works-intro-copy h1 {
    font-size: clamp(72px, 11vw, 105px);
  }
  .works-intro-quote {
    margin-top: 38px;
  }
  .works-list-head {
    grid-column: 1 / -1;
  }
  .works-list article {
    grid-column: auto;
  }
  .contacts-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "map";
    grid-template-rows: auto 420px;
  }
  .contacts-copy {
    z-index: auto;
    overflow: hidden;
    padding: 76px 36px 64px;
  }
  .contact-mail-tag {
    width: auto;
    max-width: none;
    margin-right: 0;
  }
  .map-wrap,
  .map-wrap iframe {
    min-height: 420px;
  }
  .contact-form-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }
  .contact-form-visual {
    min-height: clamp(380px, 58vw, 560px);
  }
  .contact-form-panel {
    padding: 90px var(--page-gutter);
  }
}
@media (max-width: 700px) {
  .works-intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .works-intro-copy {
    min-height: 470px;
    padding: 62px 22px 38px;
  }
  .works-intro-copy .eyebrow {
    margin-bottom: 30px;
  }
  .works-intro-copy h1 {
    margin-top: 0;
    font-size: clamp(72px, 23vw, 110px);
  }
  .works-intro-quote {
    margin-top: 38px;
  }
  .works-intro-quote p {
    font-size: 16px;
  }
  .works-intro-media {
    height: min(620px, 123vw);
  }
  .works-intro-media figcaption {
    right: 22px;
    bottom: 24px;
    left: 22px;
  }
}

@media (max-width: 520px) {
  .home-works-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .home-work-card:nth-child(n) {
    margin-top: 0;
  }
  .home-work-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
    font-size: 7px;
    line-height: 1.45;
  }
  .home-work-meta span:last-child {
    text-align: left;
  }
  .home-works-grid h3 {
    font-size: 28px;
    line-height: 1;
  }
  .home-works-grid p {
    font-size: 8px;
    line-height: 1.5;
    opacity: 0.72;
  }
  .home-works-footer {
    margin-top: 48px;
  }
  .service-list article {
    grid-template-columns: 36px 1fr;
  }
  .simple-cta {
    padding: 90px 22px;
  }
  .simple-cta h2 {
    font-size: 52px;
  }
  .works-list {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-right: 14px;
    padding-left: 14px;
  }
  .works-intro-copy h1 {
    font-size: clamp(72px, 23vw, 94px);
  }
  .works-list-head {
    margin-bottom: 10px;
  }
  .works-list .works-list-head h2 {
    font-size: 44px;
  }
  .works-list article:nth-of-type(n) {
    margin-top: 0;
  }
  .works-card-review {
    right: 12px;
    bottom: 13px;
    left: 12px;
    width: calc(100% - 24px);
  }
  .works-card-review-label {
    margin-bottom: 6px;
    font-size: 7px;
  }
  .works-list .works-card-review-preview,
  .home-works-grid .works-card-review-preview {
    font-size: 20px;
    line-height: 1.12;
  }
  .works-list .works-card-review-full,
  .home-works-grid .works-card-review-full {
    max-height: 290px;
    font-size: 17px;
    line-height: 1.24;
  }
  .works-card-review-person {
    margin-top: 9px;
  }
  .works-card-review-person strong,
  .works-card-review-action {
    font-size: 7px;
  }
  .works-card-review-person small {
    font-size: 6px;
  }
  .works-card-review.is-open .works-card-review-full {
    max-height: 150px;
  }
  .works-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 7px;
  }
  .works-card-meta span:last-child {
    text-align: left;
  }
  .works-list h2 {
    font-size: 22px;
  }
  .works-list p {
    font-size: 8px;
    line-height: 1.5;
  }
  .contacts-copy h1 {
    font-size: 56px;
  }
  .contacts-data > div {
    min-height: 96px;
  }
  .contacts-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .contacts-legal p {
    flex-wrap: wrap;
    gap: 7px 14px;
    text-align: left;
  }
  .contacts-data .contact-detail-wide {
    grid-template-columns: 1fr auto;
  }
  .contacts-data .contact-detail-wide span {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .contact-phone-main {
    gap: 8px;
  }
  .contact-messengers {
    gap: 4px;
  }
  .messenger-button {
    width: 30px;
    height: 30px;
  }
  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
  }
  .contacts-layout {
    grid-template-rows: auto 360px;
  }
  .contact-form-section {
    padding: 0;
  }
  .contact-form-visual {
    min-height: 310px;
  }
  .contact-form-panel {
    gap: 42px;
    padding: 68px var(--page-gutter) 76px;
  }
}

@media (max-width: 620px) {
  body.home .home-works-grid {
    grid-template-columns: none;
    grid-auto-columns: 86%;
    grid-auto-flow: column;
    gap: 12px;
    margin-right: -22px;
    padding-right: 22px;
    padding-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.home .home-works-grid::-webkit-scrollbar {
    display: none;
  }

  body.home .home-work-card,
  body.home .home-work-card:nth-child(n) {
    width: 100%;
    margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 520px) {
  .contacts-copy {
    padding: 66px 22px 54px;
  }
  .contacts-copy h1 {
    font-size: clamp(52px, 15vw, 68px);
  }
  .contacts-note {
    margin: 26px 0 36px;
  }
  .contact-directory-row {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    padding: 20px 0;
  }
  .contact-directory {
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 44px;
  }
  .contact-directory-row,
  .contact-directory-row:nth-child(even) {
    grid-column: 1;
    padding: 20px 0;
    border-left: 0;
  }
  .contact-directory-row:hover {
    padding-right: 0;
    padding-left: 0;
  }
  .contact-directory-value,
  .contact-directory-link,
  .contact-directory-inline,
  .contact-directory-socials,
  .contact-directory-legal .contact-directory-value {
    grid-column: 1;
  }
  .contact-directory-row > .contact-messengers {
    margin-top: 3px;
  }
  .contact-directory-action {
    justify-self: start;
  }
  .contact-mail-tag {
    margin: 58px 0 4px;
    padding: 20px 20px 0;
    transform: none;
  }
  .contact-mail-tag:hover {
    transform: translateY(-2px);
  }
  .contact-tag-hole {
    top: 15px;
    width: 23px;
    height: 23px;
    border-width: 4px;
  }
  .contact-tag-cord {
    bottom: calc(100% - 27px);
    height: 72px;
  }
  .contact-tag-head {
    padding-right: 0;
  }
  .contact-tag-stamp {
    top: 70px;
    right: 18px;
    width: 62px;
    height: 62px;
  }
  .contact-tag-stamp::before { top: 14px; }
  .contact-tag-stamp::after { bottom: 14px; }
  .contact-tag-destination {
    min-height: 156px;
    padding-right: 78px;
  }
  .contact-tag-destination strong {
    font-size: 34px;
  }
  .contact-tag-destination a {
    right: auto;
    bottom: 15px;
    left: 0;
  }
  .contact-tag-contact {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .contact-tag-contact .contact-tag-label {
    margin-bottom: -4px;
  }
  .contact-tag-phone {
    font-size: 20px;
  }
  .contact-tag-route {
    grid-template-columns: 1fr;
  }
  .contact-tag-route > div,
  .contact-tag-route > div + div {
    padding: 15px 0;
    border-left: 0;
  }
  .contact-tag-route > div + div {
    border-top: 1px solid rgba(34, 42, 58, 0.2);
  }
  .contact-tag-tearoff {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }
  .contact-tag-socials {
    justify-content: space-between;
  }
  .contact-tag-code {
    width: 100%;
  }
  .contact-tag-legal {
    text-align: left;
  }
  .contact-phone-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .contact-message-choice {
    margin-left: 0;
  }
  .contact-phone-number {
    font-size: var(--contact-body-size);
  }
  .contacts-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contacts-socials > span {
    grid-column: 1 / -1;
    padding: 15px 0 10px;
  }
  .contacts-socials > a:first-of-type {
    border-left: 0;
  }
  .contacts-socials > a {
    padding-right: 10px;
    padding-left: 10px;
  }
  .contacts-socials > a:hover {
    padding-left: 14px;
  }
  .contacts-data {
    grid-template-columns: 1fr;
  }
  .contacts-data .contact-detail-wide,
  .contacts-data > div {
    grid-column: 1;
  }
  .contacts-data > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .contacts-data > div:nth-child(3):hover {
    padding-left: 8px;
  }
}

.contact-preference {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}
.contact-preference legend {
  margin-bottom: 12px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.55);
}
.contact-preference > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-preference label {
  position: relative;
  cursor: pointer;
}
.contact-preference input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-preference label span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: 0.2s;
}
.contact-preference input:checked + span {
  border-color: #f4efe6;
  background: #f4efe6;
  color: var(--ink);
}
.contact-preference input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.contact-preference small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 1.4;
}
@media (max-width: 520px) {
  .contact-preference > div {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
    padding-bottom: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .contact-preference > div::-webkit-scrollbar {
    display: none;
  }
  .contact-preference label {
    flex: 0 0 auto;
  }
  .contact-preference label span {
    min-height: 34px;
    padding: 9px 11px;
    font-size: 9px;
  }

  .contact-method-other-direct > span {
    font-size: 0;
  }

  .contact-method-other-direct > span::after {
    content: attr(data-mobile-label);
    font-size: 9px;
  }
}

/* Device-independent icons and interaction cues */
.icon {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.24s ease;
}
.to-top .icon {
  width: 19px;
  height: 19px;
}
.card-arrow .icon {
  width: 24px;
  height: 24px;
}
.text-link span,
.home-works-footer a span,
.home-catalog-feature a span,
.catalog-cta > a span,
.calculate span,
.favorites-empty a b,
form button > span {
  display: inline-flex;
  align-items: center;
}
.text-link,
.home-works-footer a,
.home-catalog-feature a,
.catalog-cta > a,
.simple-cta a,
.details-link,
.calculate,
.favorites-empty a,
.to-top,
.product-save,
form button,
.header-search,
.header-favorites,
.favorite-button {
  transition:
    color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}
.calculate:hover,
.product-save:hover,
form button:hover {
  transform: translateY(-2px);
}
.header-search:hover,
.header-favorites:hover,
.favorite-button:hover {
  transform: scale(1.1);
}
.collection-card:hover .icon-up-right,
.product-card:hover .icon-up-right,
.calculate:hover .icon-up-right {
  transform: translate(3px, -3px);
}
.text-link:hover .icon-right,
.home-works-footer a:hover .icon-right,
.home-catalog-feature a:hover .icon-right,
.catalog-cta > a:hover .icon-right,
.simple-cta a:hover .icon-right,
.details-link:hover .icon-right,
.favorites-empty a:hover .icon-right,
form button:hover .icon-right {
  transform: translateX(5px);
}
.to-top:hover .icon-up {
  transform: translateY(-4px);
}
.home-work-card {
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.home-work-card:hover {
  transform: translateY(-5px);
}
.home-work-card:hover img:not(.image-drift-image) {
  filter: brightness(1.04);
  transform: scale(1.12);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-list article,
  .story-principles div,
  .services-prep-copy li,
  .product-services div {
    transition: padding-left 0.38s cubic-bezier(0.22, 0.8, 0.2, 1), background-color 0.32s ease;
  }
  .service-list article > span,
  .story-principles div > span,
  .services-prep-copy li > span,
  .product-services div > span {
    display: inline-block;
    transition: color 0.3s ease, transform 0.38s cubic-bezier(0.22, 0.8, 0.2, 1);
  }
  .service-list article:hover,
  .story-principles div:hover,
  .services-prep-copy li:hover,
  .product-services div:hover {
    padding-left: 12px;
    background-color: rgba(33, 30, 26, 0.035);
  }
  .services-prep-copy li:hover {
    background-color: rgba(57, 65, 59, 0.045);
  }
  .service-list article:hover > span,
  .story-principles div:hover > span,
  .services-prep-copy li:hover > span,
  .product-services div:hover > span {
    color: var(--ink);
    transform: translateX(4px);
  }
}
.primary-cta {
  --pulse-color: rgba(33, 30, 26, 0.3);
  animation: bastion-cta-breathe 2.8s ease-in-out infinite;
}
.request .primary-cta {
  --pulse-color: rgba(33, 30, 26, 0.28);
}
.primary-cta:hover,
.primary-cta:focus-visible {
  animation-play-state: paused;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@keyframes bastion-cta-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--pulse-color);
  }
  50% {
    box-shadow: 0 0 0 7px transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 520px) {
  .map-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

/* Missing states */
.error-page {
  background: #f4f3ef;
  color: var(--ink);
}
.error-scene {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(0, 1.12fr);
  min-height: calc(100svh - 84px);
}
.error-copy {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(56px, 5vw, 88px) clamp(38px, 5.5vw, 84px);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #f8f7f3 0%, #ecebe6 100%);
}
.error-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 1px;
  height: 27%;
  background: linear-gradient(transparent, rgba(33, 30, 26, 0.22));
}
.error-copy .eyebrow {
  margin-bottom: 24px;
  color: #777168;
}
.error-copy h1 {
  margin: 0;
  font: 400 clamp(56px, 5vw, 88px)/0.88 Georgia, serif;
  letter-spacing: -0.06em;
}
.error-copy h1 span,
.error-copy h1 em {
  display: block;
  white-space: nowrap;
}
.error-copy h1 em {
  color: #777d77;
  font-weight: 400;
}
.error-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 28px 0 32px;
  color: #68635c;
  font-size: 13px;
  line-height: 1.8;
}
.error-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}
.error-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 185px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(33, 30, 26, 0.68);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.24s ease, padding-left 0.24s ease;
}
.error-actions .icon {
  width: 16px;
  height: 16px;
}
.error-actions a:hover {
  padding-left: 8px;
  color: #777d77;
}
.error-actions a:hover .icon-right {
  transform: translateX(4px);
}
.error-actions a:hover .icon-up-right {
  transform: translate(3px, -3px);
}
.error-secondary {
  color: #68635c;
}
.error-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #090a08;
}
.error-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.54));
  pointer-events: none;
}
.error-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06);
  transition: transform 1.4s cubic-bezier(0.45, 0, 0.55, 1);
}
.error-visual:hover img:not(.image-drift-image) {
  transform: scale(1.035);
}
.error-visual strong {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, 0.22);
  font: 300 clamp(160px, 24vw, 410px)/0.7 var(--font-sans);
  letter-spacing: -0.09em;
  transform: translate(-52%, -48%);
  mix-blend-mode: screen;
}
.error-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@keyframes error-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes error-image-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}
@media (max-width: 900px) {
  .catalog-empty {
    grid-template-columns: 1fr;
  }
  .catalog-empty figure {
    height: 320px;
    min-height: 320px;
  }
  .catalog-empty-copy {
    padding: 65px 8vw 75px;
  }
  .error-scene {
    grid-template-columns: 1fr;
  }
  .error-copy {
    min-height: 650px;
  }
  .error-visual {
    min-height: 620px;
  }
}
@media (max-width: 520px) {
  .catalog-empty {
    min-height: 0;
    margin-top: 30px;
  }
  .catalog-empty figure {
    height: 235px;
    min-height: 235px;
  }
  .catalog-empty-copy {
    padding: 42px 22px 50px;
  }
  .catalog-empty-copy h2 {
    font-size: 48px;
  }
  .catalog-empty-copy > p:not(.eyebrow) {
    margin: 22px 0 28px;
  }
  .error-copy {
    min-height: 0;
    padding: 30px 20px 26px;
  }
  .error-copy::after {
    right: 22px;
  }
  .error-copy .eyebrow {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.08em;
  }
  .error-copy h1 {
    font-size: clamp(48px, 14vw, 58px);
    line-height: 0.92;
  }
  .error-copy h1 span,
  .error-copy h1 em {
    white-space: normal;
  }
  .error-copy > p:not(.eyebrow) {
    margin: 30px 0 36px;
  }
  .error-actions {
    width: 100%;
    gap: 8px;
    margin-top: 24px;
  }
  .error-actions a {
    width: 100%;
    padding: 11px 0;
  }
  .error-visual {
    min-height: 310px;
  }
  .error-visual strong {
    font-size: 46vw;
  }
  .error-visual figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 900px) {
  .services-page .services-hero {
    display: none;
  }

  body.bastion-mobile-pinned-header .site-header,
  body.admin-bar.bastion-mobile-pinned-header .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  body.bastion-mobile-pinned-header main {
    padding-top: 72px;
  }

  body.admin-bar.bastion-mobile-pinned-header .site-header {
    top: 46px;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).bastion-mobile-pinned-header main {
      padding-top: calc(72px + env(safe-area-inset-top));
    }
  }
}

@media (max-width: 520px) {
  .error-scene {
    min-height: calc(100svh - 72px);
    grid-template-rows: auto minmax(310px, 1fr);
  }
}

@media (max-width: 900px) {
  .services-hero {
    grid-template-columns: 1fr;
  }
  .services-hero-copy {
    min-height: 670px;
    padding: 82px 36px 84px;
  }
  .services-hero-meta {
    right: 36px;
    left: 36px;
  }
  .services-hero-media {
    height: 650px;
    min-height: 0;
  }
  .services-values {
    padding: 90px 36px 80px;
  }
  .services-values > header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 52px;
  }
  .services-values-grid {
    grid-template-columns: 1fr;
  }
  .services-values-grid article,
  .services-values-grid article + article {
    min-height: 0;
    padding: 24px 0 34px;
    border-left: 0;
  }
  .services-values-grid h3 {
    margin-top: 35px;
  }
  .services-process {
    padding: 90px 36px 75px;
  }
  .services-process-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .services-process-head > p:last-child {
    max-width: 520px;
    margin-top: 12px;
  }
  .services-delivery {
    grid-template-columns: 1fr;
  }
  .services-delivery-copy {
    order: -1;
    padding: 72px 36px 68px;
    border-left: 0;
    border-bottom: 1px solid rgba(36, 39, 36, 0.14);
  }
  .services-delivery-map {
    min-height: 580px;
  }
  .services-prep {
    grid-template-columns: 1fr;
  }
  .services-prep figure {
    height: 580px;
    min-height: 0;
  }
  .services-prep-copy {
    padding: 85px 36px 90px;
  }
}
@media (max-width: 520px) {
  .services-hero-copy {
    min-height: 680px;
    padding: 72px 22px 82px;
  }
  .services-hero-copy::after {
    right: 22px;
  }
  .services-hero-copy .eyebrow {
    margin-bottom: 26px;
  }
  .services-hero-copy h1 {
    font-size: clamp(54px, 15vw, 68px);
  }
  .services-hero-copy h1 span,
  .services-hero-copy h1 em {
    white-space: normal;
  }
  .services-hero-copy > p:not(.eyebrow) {
    margin: 28px 0 30px;
  }
  .services-hero-meta {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }
  .services-hero-media {
    height: 500px;
  }
  .services-hero-media figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .services-values {
    padding: 76px 22px 66px;
  }
  .services-values h2,
  .services-process-head h2,
  .services-prep-copy h2 {
    font-size: 52px;
  }
  .services-process {
    padding: 78px 22px 62px;
  }
  .services-process-list article:hover {
    padding-left: 0;
    background: transparent;
  }
  .services-delivery-copy {
    padding: 52px 22px 44px;
  }
  .services-delivery-copy h2 {
    font-size: 52px;
  }
  .services-delivery-copy > p:not(.eyebrow) {
    margin: 20px 0 0;
  }
  .services-delivery-search {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .services-delivery-search > div {
    position: relative;
    display: block;
    width: 100%;
  }

  .services-delivery-search-field {
    width: 100%;
  }

  .services-delivery-search > .services-delivery-search-result {
    min-height: 32px;
    gap: 8px;
    margin-top: 8px;
  }

  .services-delivery-search-result > p {
    font-size: 10px;
  }

  .services-delivery-search-result > a {
    width: 122px;
    min-height: 30px;
    gap: 10px;
    padding: 6px 0 7px;
    font-size: 8px;
    letter-spacing: 0.05em;
  }
  .services-delivery-map {
    min-height: 460px;
  }
  .services-delivery-map svg {
    width: 118%;
    transform: translateY(-12px);
  }
  .services-delivery-city text {
    font-size: 9px;
  }
  .services-prep figure {
    height: 430px;
  }
  .services-prep-copy {
    padding: 72px 22px 78px;
  }
  .services-prep-copy > p:not(.eyebrow) {
    margin: 28px 0 32px;
  }
}

/* Browser-rendered film treatment; source image files remain untouched. */
img.film-toned-image {
  filter: saturate(1.07) contrast(1.12) brightness(1.005) sepia(0.018) !important;
}
.product-image img.film-toned-image {
  filter: contrast(1.12) brightness(1.005) sepia(0.016) !important;
}
.product-card:hover .product-image img.film-toned-image {
  filter: contrast(1.13) brightness(1.008) sepia(0.016) !important;
}
.home-work-card:hover img.film-toned-image,
.works-list article:hover img.film-toned-image {
  filter: saturate(1.08) contrast(1.13) brightness(1.008) sepia(0.018) !important;
}
.image-placeholder-frame:not(.hero-background):not(.home-catalog-feature-media) {
  position: relative;
}
.image-placeholder {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(110deg, #dfdcd5 8%, #f1eee8 20%, #dfdcd5 34%);
  background-size: 100% 100%, 240% 100%;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  pointer-events: none;
  animation: image-placeholder-shimmer 2.4s ease-in-out infinite;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.image-placeholder::before {
  content: "";
  width: 112%;
  flex: 0 0 auto;
  aspect-ratio: 107.88 / 134.69;
  background: url("../images/bastion-shield-placeholder.svg") center / 100% auto no-repeat;
  opacity: 0.055;
}
.hero-background > .image-placeholder,
.home-catalog-feature-media > .image-placeholder,
.request-visual > .image-placeholder,
.error-visual > .image-placeholder {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.09), transparent 35%),
    linear-gradient(110deg, #242320 8%, #383632 20%, #242320 34%);
  background-size: 100% 100%, 240% 100%;
}
.image-placeholder-frame > img.progressive-image {
  opacity: 0;
}
.image-placeholder-frame.is-image-loaded > img.progressive-image {
  animation: progressive-image-in 0.8s ease both;
}
.image-placeholder-frame.is-image-loaded > .image-placeholder {
  opacity: 0;
  visibility: hidden;
}
.image-placeholder-frame.has-image-error > img {
  opacity: 0;
}

/* Catalog tiles load independently with a quiet, image-free shimmer. */
body.bastion-catalog-page .product-image.image-placeholder-frame > .image-placeholder {
  background: var(--image-placeholder-color, #d8d3ca);
  animation: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.bastion-catalog-page .product-card {
  contain: layout paint style;
}

body.bastion-catalog-page .product-image.image-placeholder-frame > .image-placeholder::before {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  aspect-ratio: auto;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  opacity: 1;
  transform: translateX(-100%);
  animation: catalog-image-shimmer 1.9s ease-in-out infinite;
}

body.bastion-catalog-page.is-slow-catalog-connection .product-image.image-placeholder-frame > .image-placeholder::before {
  animation-duration: 2.8s;
}

body.bastion-catalog-page .product-image.image-placeholder-frame:is(.is-image-loaded, .has-image-error) > .image-placeholder::before {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body.bastion-catalog-page .product-image.image-placeholder-frame > .image-placeholder::before {
    animation: none;
    transform: none;
  }
}

body.bastion-catalog-page .product-image.image-placeholder-frame.is-image-loaded > img.progressive-image:not(.product-image-alt) {
  animation-duration: 0.62s;
}

body.bastion-catalog-page .product-image.image-placeholder-frame.is-image-loaded > img.progressive-image.product-image-alt {
  animation: none;
}

@keyframes catalog-image-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-image:has(> .product-image-alt:is([data-src], .is-deferred-image-loading, .is-deferred-image-error)) > img:not(.product-image-alt) {
    opacity: 1;
  }

  .product-card:hover .product-image > .product-image-alt:is([data-src], .is-deferred-image-loading, .is-deferred-image-error) {
    opacity: 0;
  }
}

.image-placeholder-frame:not(.is-image-loaded) > .film-grain {
  opacity: 0;
}
@keyframes image-placeholder-shimmer {
  0%, 100% { background-position: 0 0, 100% 0; }
  50% { background-position: 0 0, 0 0; }
}
@keyframes progressive-image-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.film-grain {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.72'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: var(--grain-x, 0) var(--grain-y, 0);
  background-size: 86px 86px;
  mix-blend-mode: soft-light;
  opacity: 0.19;
  pointer-events: none;
}
.film-grain::before,
.film-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.film-grain::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cfilter id='fine'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.98' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23fine)' opacity='.58'/%3E%3C/svg%3E") repeat;
  background-position: var(--grain-fine-x, 0) var(--grain-fine-y, 0);
  background-size: 52px 52px;
  mix-blend-mode: overlay;
  opacity: 0.25;
}
.film-grain::after {
  background: radial-gradient(circle at 50% 45%, transparent 52%, rgba(20, 17, 14, 0.14) 128%);
  mix-blend-mode: multiply;
  opacity: 0.18;
}
.product-image > .film-grain,
.gallery-slide > .film-grain,
.gallery-lightbox-figure > .film-grain {
  mix-blend-mode: overlay;
  opacity: 0.23;
}

/* Slow cursor drift for large photographic surfaces. */
.reveal-motion .reveal-block,
.reveal-motion .reveal-media {
  animation-delay: var(--reveal-delay, 0ms);
  animation-fill-mode: both;
  animation-play-state: paused;
}
.reveal-motion .reveal-block:not(.is-revealed) {
  opacity: 0;
  translate: 0 18px;
  scale: 0.965;
}
.reveal-motion .reveal-media:not(.is-revealed) {
  opacity: 0;
  scale: 0.975;
}
.reveal-motion .reveal-block.is-revealed {
  animation-name: bastion-block-reveal;
  animation-duration: 0.86s;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.2, 1);
  animation-play-state: running;
}
.reveal-motion .reveal-media.is-revealed {
  animation-name: bastion-media-reveal;
  animation-duration: 1.15s;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.2, 1);
  animation-play-state: running;
}
@keyframes bastion-block-reveal {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.965;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@keyframes bastion-media-reveal {
  from {
    opacity: 0;
    scale: 0.975;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

/* Direction cards use a quiet fade so lazy-loaded photos never snap into view. */
.reveal-motion .collection-card.reveal-media:not(.is-revealed) {
  clip-path: none;
}
.reveal-motion .collection-card.reveal-media.is-revealed {
  animation-name: bastion-collection-card-reveal;
  animation-duration: 1.05s;
}
@keyframes bastion-collection-card-reveal {
  from { opacity: 0; scale: 0.975; }
  to { opacity: 1; scale: 1; }
}

.collection-card.image-placeholder-frame > img.progressive-image,
.collection-card.image-placeholder-frame.is-image-loaded > img.progressive-image {
  animation: none;
  transition:
    opacity 1.35s cubic-bezier(0.22, 0.8, 0.2, 1),
    scale 1.45s cubic-bezier(0.45, 0, 0.55, 1),
    filter 0.8s ease-in-out;
}
.collection-card.image-placeholder-frame > img.progressive-image {
  opacity: 0;
}
.collection-card.image-placeholder-frame.is-image-loaded > img.progressive-image {
  opacity: 1;
}
.collection-card.image-placeholder-frame > .image-placeholder {
  transition: opacity 1.05s ease, visibility 1.05s ease;
}

.image-drift-image {
  --image-drift-x: 0px;
  --image-drift-y: 0px;
  --image-drift-scale: 1;
  translate: var(--image-drift-x) var(--image-drift-y);
  scale: var(--image-drift-scale);
  transition: scale 1.45s cubic-bezier(0.45, 0, 0.55, 1), filter 0.8s ease-in-out;
  will-change: translate, scale;
}
.image-drift-trigger:hover .image-drift-image {
  --image-drift-scale: 1.028;
}

/* Occasional cursor-following brand tag for clickable cards. */
.cursor-shield-tracker {
  --shield-angle: 0deg;
  --shield-fall-spin: 120deg;
  --shield-hue: 0deg;
  --shield-size: 76px;
  position: fixed;
  z-index: 180;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  will-change: transform;
}
.cursor-shield-tag {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--shield-size);
  aspect-ratio: 107.88 / 134.69;
  opacity: 0;
  translate: -50% 15px;
  rotate: var(--shield-angle);
  scale: 0.46;
  transform-origin: 50% -14px;
  transition: opacity 0.2s ease, scale 0.34s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: opacity, translate, rotate, scale;
}
.cursor-shield-tag::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 2px);
  left: 50%;
  width: 1px;
  height: 18px;
  background: rgba(33, 30, 26, 0.55);
}
.cursor-shield-art {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/bastion-hover-shield.svg") center / contain no-repeat;
  filter: hue-rotate(var(--shield-hue)) saturate(1.12) drop-shadow(0 10px 14px rgba(24, 21, 18, 0.18));
}
.cursor-shield-tracker.is-visible .cursor-shield-tag {
  opacity: 1;
  scale: 1;
  animation: cursor-shield-sway 1.55s ease-in-out 0.22s infinite alternate;
}
.cursor-shield-tracker.is-falling .cursor-shield-tag {
  animation: cursor-shield-fall 0.8s cubic-bezier(0.3, 0, 0.7, 1) both;
}
@keyframes cursor-shield-sway {
  from { rotate: calc(var(--shield-angle) - 5deg); }
  to { rotate: calc(var(--shield-angle) + 5deg); }
}
@keyframes cursor-shield-fall {
  0% {
    opacity: 1;
    translate: -50% 15px;
    rotate: var(--shield-angle);
    scale: 1;
  }
  100% {
    opacity: 0;
    translate: -50% 230px;
    rotate: calc(var(--shield-angle) + var(--shield-fall-spin));
    scale: 0.88;
  }
}
.hero:hover .image-drift-image {
  --image-drift-scale: 1.025;
}
.home-catalog-feature:hover .image-drift-image {
  --image-drift-scale: 1.035;
}
.works-intro-media .image-drift-image {
  --image-drift-scale: 1;
}
.works-intro-media:hover .image-drift-image {
  --image-drift-scale: 1.045;
}
.collection-card:hover .image-drift-image,
.catalog-empty:hover .image-drift-image,
.services-hero-media:hover .image-drift-image,
.error-visual:hover .image-drift-image {
  --image-drift-scale: 1.035;
}
.services-prep figure:hover .image-drift-image {
  --image-drift-scale: 1.03;
}
.home-work-card:hover .image-drift-image,
.works-list article:hover .image-drift-image {
  --image-drift-scale: 1.12;
}
.home-work-media .image-drift-image,
.works-card-media .image-drift-image {
  transition: scale 2.6s cubic-bezier(0.45, 0, 0.55, 1), filter 1.1s ease-in-out;
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .cursor-shield-tracker {
    display: none !important;
  }
  .contact-mail-tag,
  .contact-mail-tag:hover {
    rotate: 0deg;
    animation: none;
    transform: none;
    transition: none;
  }
  .contact-tag-cord {
    rotate: 9deg;
    animation: none;
  }
  .image-drift-image {
    translate: none;
    scale: 1;
    will-change: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-block,
  .reveal-media {
    opacity: 1 !important;
    clip-path: none !important;
    translate: none !important;
    scale: 1 !important;
    animation: none !important;
  }
}
@media (max-width: 520px) {
  .film-grain {
    opacity: 0.17;
  }
  .product-image > .film-grain,
  .gallery-slide > .film-grain,
  .gallery-lightbox-figure > .film-grain {
    opacity: 0.21;
  }
}

/* Monochrome palette: pure white, neutral gray and graphite only. */
body,
.inner-page,
.shop,
.catalog,
.details,
.home-works,
.services-page,
.services-process,
.works-page,
.contacts-page,
.contacts-copy,
.contact-directory,
.privacy-page,
.privacy-layout,
.product-main,
.specs,
.related,
.favorites-content {
  background-color: #fff;
}

.story,
.request,
.request-copy,
.inner-intro,
.works-intro,
.works-cta,
.services-hero-copy,
.services-delivery,
.services-prep-copy,
.contact-form-section,
.contact-form-panel,
.favorites-intro,
.error-copy {
  background: #efefef;
}

body.home .story {
  background: #ececea;
}

.product-image,
.gallery-slide,
.home-work-media,
.works-card-media,
.services-hero-media,
.services-prep figure,
.contact-form-visual,
.map-wrap,
.catalog-empty-visual,
.image-placeholder {
  background-color: #efefef;
}

.services-values,
.simple-cta:not(.works-cta),
footer {
  background: #222;
  color: #fff;
}

html.is-at-page-end {
  background: #222;
}

.site-header,
.site-header.header-filled,
.site-header.header-overlay.is-scrolled,
body.menu-open .site-header.header-overlay {
  box-shadow: none !important;
}

.story-copy > p:not(.eyebrow),
.detail-grid p,
.request-copy > p:not(.eyebrow),
.inner-intro > p:last-child,
.service-list p,
.service-list small,
.home-work-meta,
.privacy-hero p,
.privacy-layout p,
.privacy-layout li,
.favorites-intro p,
.services-hero-body,
.services-delivery-copy > p,
.services-prep-copy > p,
.contacts-copy > p,
.contact-directory dd,
.contact-directory p,
.contact-form-panel > p,
.works-intro-copy > p,
.product-summary p,
.product-meta,
.specs p,
.related p {
  color: #555;
}

.eyebrow,
.section-kicker,
.meta,
.product-category,
.product-code,
.contact-directory dt,
.privacy-nav a,
.services-hero-meta,
.services-delivery-eyebrow {
  color: #666;
}

.services-hero-copy h1 em,
.services-delivery-copy h2 em,
.works-intro h1 em,
.inner-intro h1 em,
.contact-form-panel h2 em {
  color: inherit;
}

.messenger-button,
.messenger-telegram,
.messenger-viber,
.messenger-whatsapp {
  --messenger-color: #555;
  --messenger-rgb: 85, 85, 85;
}

.services-delivery-search.has-error .services-delivery-search-result > p,
.form-error,
.error-message,
.success,
.form-success {
  color: #555;
}

.map-badge,
.catalog-toolbar,
.catalog-advanced,
.contact-directory-card {
  background-color: #fff;
}

.footer-lead-link:hover,
.footer-link:hover,
.footer-doc-link:hover {
  color: #fff;
}

.hero,
.story-image-label,
.footer-nav a:hover,
.footer-phone:hover {
  color: #fff;
}

@media (min-width: 901px) {
  .nav {
    background: transparent;
    color: inherit;
  }
}

.catalog-empty-copy,
.catalog-cta,
.product-share:hover,
.product-share:focus-visible,
.product-share.is-copied,
.product-save.is-saved,
.contact-mail-tag,
.contact-tag-tearoff,
.error-page,
.error-copy,
.gallery-lightbox {
  background: #efefef;
}

.catalog-empty-copy .eyebrow,
.catalog-empty-copy > p:not(.eyebrow),
.catalog-empty button:hover,
.catalog-load-more button small,
.error-copy .eyebrow {
  color: #666;
}

.product-image {
  background: #efefef;
}

.header-overlay .header-favorites b {
  background: #fff;
  color: #222;
}

.favorite-flight-heart,
.favorite-flight-heart:nth-of-type(even) {
  color: #555;
}

.services-delivery-search.has-error .services-delivery-search-field {
  border-color: rgba(32, 32, 32, 0.35);
}

/* Shared page grid: full-bleed backgrounds, consistently inset content. */
.site-header,
.catalog,
.details,
.home-catalog-feature,
.home-works,
footer,
.privacy-hero,
.privacy-layout,
.shop,
.catalog-cta,
.breadcrumbs,
.product-main,
.specs,
.related,
.favorites-intro,
.favorites-content,
.inner-intro,
.service-list,
.services-values,
.services-process,
.simple-cta,
.works-list,
.contact-directory {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}
.hero-copy {
  padding-left: var(--page-gutter);
}
.hero-aside {
  right: var(--page-gutter);
}
.catalog-intro-scene {
  margin-right: calc(-1 * var(--page-gutter));
  margin-left: calc(-1 * var(--page-gutter));
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}
.services-hero-copy,
.works-intro-copy,
.contacts-copy {
  padding-left: var(--page-gutter);
}
.services-prep-copy,
.request-copy {
  padding-right: var(--page-gutter);
}

@media (max-width: 1100px) {
  :root {
    --page-gutter: clamp(36px, 5vw, 56px);
  }
}
@media (max-width: 900px) {
  .hero-copy,
  .story-copy,
  .request-copy {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

/* Final contacts and services overrides. */
.contacts-copy::after,
.services-hero-copy::after,
.services-hero-media::after {
  content: none;
}

.contacts-layout {
  grid-template-rows: minmax(430px, 52svh);
}

@media (min-width: 901px) {
  .contacts-layout {
    grid-template-rows: auto;
  }

  .contacts-copy,
  .map-wrap {
    min-height: 0;
    aspect-ratio: 1;
  }

  .map-wrap iframe {
    min-height: 0;
  }
}

.contacts-copy {
  background: #efefef;
}

.contacts-note {
  margin-bottom: 0;
  color: #555;
}

.map-wrap iframe {
  filter: grayscale(1) saturate(0) contrast(0.9) brightness(1.04);
}

.contact-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 80px);
  padding-top: 30px;
  padding-bottom: 46px;
  border-top: 0;
}

.contact-directory-row,
.contact-directory-row:nth-child(even) {
  grid-column: auto;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  min-height: 88px;
  padding: 20px 0;
  border-bottom-color: #d8d8d8;
}

.contact-directory-address,
.contact-directory-legal,
.contact-directory-author {
  grid-column: auto;
}

.contact-directory-author .contact-directory-link,
.contact-directory-legal .contact-directory-value {
  grid-column: 2 / -1;
}

.contact-directory-row:hover {
  border-color: #909090;
}

.contact-directory-label {
  color: #666;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.contact-directory-value,
.contact-directory-link,
.contact-directory-action,
.contact-directory-socials a,
.contact-directory-legal .contact-directory-value {
  color: #2a2a2a;
  font-size: 16px;
}

.contact-directory-legal-details {
  display: grid;
  gap: 5px;
  line-height: 1.35;
}

.contact-directory-legal-details small {
  color: #666;
  font-size: 13px;
  font-style: normal;
}

.contact-directory-socials .social-icon {
  filter: grayscale(1) saturate(0) brightness(0.2) contrast(1.1);
  color: #2a2a2a;
  opacity: 0.88;
}

.contacts-page .contact-directory .metro-logo {
  filter: none;
  opacity: 1;
}

.contacts-page .contact-directory .messenger-button {
  color: #2a2a2a;
  border-color: #cfcfcf;
}

.services-hero-copy {
  padding-bottom: clamp(64px, 7vw, 110px);
}

@media (max-width: 700px) {
  .contacts-layout {
    grid-template-rows: auto 360px;
  }

  .contact-directory {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .contact-directory-row,
  .contact-directory-row:nth-child(even),
  .contact-directory-address,
  .contact-directory-legal,
  .contact-directory-author {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .contact-directory-row,
  .contact-directory-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .contact-directory-author .contact-directory-link,
  .contact-directory-legal .contact-directory-value {
    grid-column: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  [data-catalog-grid] .product-card .favorite-button {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  [data-catalog-grid] .product-card:hover .favorite-button,
  [data-catalog-grid] .product-card:focus-within .favorite-button,
  [data-catalog-grid] .product-card .favorite-button:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  [data-catalog-grid] .product-card .favorite-button:hover {
    transform: translateY(0) scale(1.1);
  }
}
@media (max-width: 620px) {
  :root {
    --page-gutter: 20px;
  }

  .site-header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .site-header .brand {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: calc(50% - 10px);
    width: min(50vw, 194px);
    height: 52px;
    transform: translate(-50%, -50%);
  }

  .site-header .brand img {
    left: 50%;
    width: auto;
    height: 42px;
    max-width: 100%;
    max-height: 42px;
    transform: translate(-50%, -50%);
  }

  .header-actions {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: 40px minmax(0, 1fr) 30px 30px;
    align-items: center;
    gap: 10px;
  }

  .menu-button {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  body.bastion-favorites-page .favorites-header-back {
    display: grid;
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    justify-self: start;
  }

  body.bastion-favorites-page .favorites-header-back .icon {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
  }

  body.bastion-favorites-page .menu-button {
    display: none;
  }

  .menu-button span {
    right: auto;
    left: 50%;
  }

  .header-search {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-favorites {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
  }

  .nav,
  .nav.is-open {
    right: auto;
    left: 0;
    transform-origin: left center;
  }

  .nav {
    transform: translateX(-14px);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .site-header,
  .catalog,
  .details,
  .home-catalog-feature,
  .home-works,
  footer,
  .privacy-hero,
  .privacy-layout,
  .shop,
  .catalog-cta,
  .breadcrumbs,
  .product-main,
  .specs,
  .related,
  .favorites-intro,
  .favorites-content,
  .inner-intro,
  .service-list,
  .services-values,
  .services-process,
  .simple-cta,
  .works-list,
  .contact-directory,
  .hero-copy,
  .story-copy,
  .request-copy {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

/* Mobile first screens stay compact and keep the home header legible. */
@media (max-width: 700px) {
  body.home .hero {
    min-height: 67svh;
  }

  body.home .hero-location {
    bottom: 10px;
  }

  body.home .hero-carousel-dots {
    top: 82px;
    bottom: auto;
    opacity: 0.68;
  }

  body.home .hero-carousel-dots i {
    opacity: 0.2;
  }

  body.home .hero-carousel-dots button[aria-current="true"] i {
    opacity: 0.58;
  }

  body.home .catalog {
    padding-top: 48px;
  }

  body.home .header-overlay,
  body.home:not(.menu-open) .header-overlay:not(.is-scrolled) {
    color: var(--ink);
    background: #fff;
  }

  body.home .header-overlay::before,
  body.home:not(.menu-open) .header-overlay:not(.is-scrolled)::before {
    opacity: 0;
  }

  body.home .header-overlay .brand-logo {
    filter: brightness(1) invert(0);
  }

  body.home .header-overlay .menu-button span {
    background: var(--ink);
  }

  body.home .header-overlay .header-favorites b {
    background: var(--ink);
    color: #fff;
  }

  .services-hero-copy {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .services-page .services-hero-copy > a {
    width: 100%;
    min-width: 0;
  }

  .services-hero-media {
    height: min(420px, 92vw);
  }

  .works-intro-copy {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .works-intro-media {
    height: min(420px, 85vw);
  }
}

/* Footer details use the same label-value rhythm on every screen size. */
.footer-company {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 42px;
}

.footer-company > * {
  min-width: 0;
  padding-inline: clamp(20px, 2.6vw, 42px);
}

.footer-company > :first-child {
  padding-left: 0;
}

.footer-company > :last-child {
  padding-right: 0;
}

.footer-company-logo {
  width: 100%;
  max-width: none;
}

.footer-company-logo img {
  width: min(100%, 310px);
}

.footer-company-panel {
  min-width: 0;
}

.footer-company-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 13px 0 15px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.footer-company-toggle-icon {
  display: none;
  flex: 0 0 auto;
}

.footer-company-toggle-icon .icon {
  width: 14px;
  height: 14px;
}

.footer-company-list {
  margin: 0;
}

.footer-company-list > div {
  display: grid;
  grid-template-columns: minmax(86px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company-list dt,
.footer-company-list dd {
  margin: 0;
}

.footer-company-list dt {
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.footer-company-list dd,
.footer-company-list address {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-style: normal;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-company-contact dd {
  display: grid;
  gap: 3px;
}

.footer-company-contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-company-contact-line > a {
  white-space: nowrap;
}

.footer-company-contact-line .footer-messengers {
  flex: 0 0 auto;
}

.footer-company-contact-line .footer-messengers:hover a {
  animation-play-state: paused;
}

.footer-company-list a {
  transition: color 0.25s ease;
}

.footer-company-list a:hover,
.footer-company-list a:focus-visible {
  color: #fff;
}

.footer-company-list .footer-minimal-privacy {
  grid-column: auto;
  justify-self: start;
  color: rgba(255, 255, 255, 0.62);
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  letter-spacing: inherit;
}

.footer-bottom-minimal {
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: 8px 0 18px;
  border-top: 0;
}

.footer-bottom-minimal .footer-copyright {
  grid-column: auto;
}

.footer-bottom-line {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-bottom-separator {
  color: rgba(255, 255, 255, 0.34);
}

.footer-site-author {
  display: flex;
  min-height: 36px;
  align-items: center;
}

.footer-bottom-minimal .footer-site-author .site-author-toggle {
  min-height: 28px;
  color: rgba(255, 255, 255, 0.5);
  font: 500 9px/1.3 var(--font-sans);
  text-transform: none;
  letter-spacing: 0.11em;
  transition: color 0.22s ease;
}

.footer-bottom-minimal .footer-site-author .site-author-toggle:hover,
.footer-bottom-minimal .footer-site-author .site-author-toggle:focus-visible {
  color: #fff;
}

.footer-site-author .site-author-links {
  min-height: 36px;
}

.footer-site-author .site-author-links > a,
.footer-site-author .site-author-links > button {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
}

.footer-site-author .site-author-links > a:hover,
.footer-site-author .site-author-links > a:focus-visible,
.footer-site-author .site-author-links > button:hover,
.footer-site-author .site-author-links > button:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

@media (max-width: 1050px) {
  .footer-company {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .footer-company > * {
    padding-inline: 0;
  }

  .footer-company-logo {
    grid-column: 1 / -1;
  }

  .footer-company-bank {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .footer-minimal .footer-lead {
    border-bottom: 0;
  }

  .footer-company {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .footer-company-logo,
  .footer-company-details,
  .footer-company-bank {
    grid-column: 1;
  }

  .footer-company-logo {
    margin-bottom: 24px;
  }

  .footer-company-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-company-panel:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-company-toggle {
    min-height: 58px;
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    pointer-events: auto;
  }

  .footer-company-toggle:focus-visible {
    outline: 0;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
  }

  .footer-company-toggle-icon {
    display: inline-flex;
  }

  .footer-company-toggle-icon .icon {
    transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  .footer-company-toggle[aria-expanded="true"] .footer-company-toggle-icon .icon {
    transform: rotate(180deg);
  }

  .footer-company-content {
    display: none;
  }

  .footer-company-toggle[aria-expanded="true"] + .footer-company-content {
    display: block;
    padding-bottom: 12px;
    animation: footer-company-content-in 0.32s cubic-bezier(0.22, 0.8, 0.2, 1) both;
  }

  .footer-company-content > .footer-company-list {
    overflow: visible;
  }

  .footer-company-list > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-bottom-minimal {
    gap: 0;
    padding-bottom: 14px;
  }

  .footer-bottom-line {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .footer-bottom-minimal .footer-site-author .site-author-toggle {
    font-size: 11px;
  }
}

@keyframes footer-company-content-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product photography flows as one continuous wall; the lightbox handles close inspection. */
.product-gallery.is-photo-wall {
  display: block;
}

.is-photo-wall .gallery-viewport {
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  cursor: default;
}

.is-photo-wall .gallery-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  height: auto;
  overflow: hidden;
  transform: none !important;
  transition: none;
  will-change: auto;
}

.is-photo-wall .gallery-slide {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 3 / 2;
  cursor: zoom-in;
}

.is-photo-wall .gallery-slide + .gallery-slide {
  margin-top: -2px;
}

.is-photo-wall .gallery-slide.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  aspect-ratio: 1;
}

.is-photo-wall .gallery-slide.is-pair > img:nth-of-type(2) {
  width: calc(100% + 2px);
  margin-left: -2px;
}

.is-photo-wall .gallery-slide.is-square {
  aspect-ratio: 1;
}

.is-photo-wall .gallery-slide.is-portrait:not(.is-pair) {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
}

.is-photo-wall .gallery-slide.is-portrait:not(.is-pair) > img {
  width: 50%;
  margin-right: auto;
  justify-self: start;
}

.is-photo-wall .gallery-slide img {
  min-width: 0;
  height: 100%;
  cursor: zoom-in;
}

.is-photo-wall .gallery-slide img:focus-visible {
  outline: 2px solid #222;
  outline-offset: -4px;
}

@media (max-width: 620px) {
  .gallery-lightbox {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .gallery-lightbox-thumbnails {
    gap: 6px;
    max-height: calc(100svh - 32px);
    padding: 0 8px;
  }

  .gallery-lightbox-thumbnails button {
    padding: 2px;
  }

  .is-photo-wall .gallery-track,
  .is-photo-wall .gallery-slide.is-pair {
    gap: 0;
  }

  .is-photo-wall .gallery-slide.is-portrait:not(.is-pair) > img {
    width: 50%;
  }
}

/* Keep the desktop recommendations connected to the footer CTA. */
@media (min-width: 901px) {
  body:is(.single-product, .home) .related {
    padding-bottom: clamp(56px, 5vw, 72px);
  }
}

/* Keep the editorial spacing compact on phone-sized screens. */
@media (max-width: 520px) {
  .catalog-load-more button {
    width: auto;
    min-width: 270px;
  }

  .catalog-cta {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .catalog-cta h2 {
    font-size: clamp(34px, 10.6vw, 44px);
  }

  .catalog-cta-title-first {
    white-space: nowrap;
  }

  .catalog-cta-title-mobile-break {
    display: inline;
  }

  .catalog-cta > a {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
  }

  body.home .catalog {
    padding-bottom: 46px;
  }

  body.home .section-heading {
    margin-bottom: 40px;
  }

  .details {
    padding-top: 58px;
    padding-bottom: 44px;
  }

  .details-head {
    margin-bottom: 34px;
  }

  .details-head .eyebrow,
  .home-works-head .eyebrow,
  .home-catalog-feature .eyebrow,
  .request-copy .eyebrow,
  .services-process-head .eyebrow,
  .services-delivery-copy .eyebrow,
  .services-prep-copy .eyebrow {
    margin-bottom: 16px;
  }

  .details .home-service-list article {
    gap: 14px 16px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .services-process-list article {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .details .details-link {
    margin-top: 28px;
  }

  .home-catalog-feature {
    min-height: 520px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-catalog-feature > div > p:not(.eyebrow) {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .home-works {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .home-works-head {
    gap: 14px;
    margin-bottom: 36px;
  }

  .request-copy {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .request-copy > p:not(.eyebrow) {
    margin-top: 24px;
    margin-bottom: 34px;
  }

  .services-process {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .services-process-head {
    margin-bottom: 34px;
  }

  .services-delivery-copy {
    padding-top: 52px;
    padding-bottom: 48px;
  }

  .services-delivery-copy > p:not(.eyebrow) {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .services-prep-copy {
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .services-prep-copy > p:not(.eyebrow) {
    margin-top: 22px;
    margin-bottom: 26px;
  }

  .works-list {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .contact-form-panel {
    gap: 36px;
    padding-top: 60px;
    padding-bottom: 62px;
  }

  .contact-form-heading > p:last-child {
    margin-top: 22px;
  }

  .simple-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer-lead {
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 44px;
  }

  .footer-company {
    padding-top: 24px;
    padding-bottom: 40px;
  }
}

/* Mobile product card: swipeable photography with an overlapping purchase sheet. */
@media (max-width: 620px) {
  body.single-product .product-main {
    display: block;
    padding: 0;
    background: #fff;
  }

  body.single-product .product-gallery.is-photo-wall {
    --mobile-gallery-height: 66svh;
    --mobile-gallery-portrait-width: 44svh;
    --mobile-gallery-square-width: 66svh;
    --mobile-gallery-landscape-width: 88svh;
    position: sticky;
    z-index: 0;
    top: 0;
    height: var(--mobile-gallery-height);
    overflow: hidden;
    background: transparent;
  }

  body.single-product .is-photo-wall .gallery-viewport {
    height: var(--mobile-gallery-height);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  body.single-product .is-photo-wall .gallery-viewport::-webkit-scrollbar {
    display: none;
  }

  body.single-product .is-photo-wall .gallery-track {
    display: flex;
    width: max-content;
    height: 100%;
    overflow: visible;
  }

  body.single-product .is-photo-wall .gallery-slide,
  body.single-product .is-photo-wall .gallery-slide.is-pair,
  body.single-product .is-photo-wall .gallery-slide.is-square,
  body.single-product .is-photo-wall .gallery-slide.is-portrait:not(.is-pair) {
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: transparent;
  }

  body.single-product .is-photo-wall .gallery-slide.is-landscape,
  body.single-product .is-photo-wall .gallery-slide.is-pair {
    width: var(--mobile-gallery-landscape-width);
    min-width: var(--mobile-gallery-landscape-width);
    flex: 0 0 var(--mobile-gallery-landscape-width);
  }

  body.single-product .is-photo-wall .gallery-slide.is-square {
    width: var(--mobile-gallery-square-width);
    min-width: var(--mobile-gallery-square-width);
    flex: 0 0 var(--mobile-gallery-square-width);
  }

  body.single-product .is-photo-wall .gallery-slide.is-portrait:not(.is-pair) {
    width: var(--mobile-gallery-portrait-width);
    min-width: var(--mobile-gallery-portrait-width);
    flex: 0 0 var(--mobile-gallery-portrait-width);
  }

  body.single-product .is-photo-wall .gallery-slide.is-portrait:not(.is-pair) > img {
    width: 100%;
    margin: 0;
    justify-self: start;
  }

  body.single-product .is-photo-wall .gallery-slide.is-pair > img:nth-of-type(2) {
    width: calc(100% + 2px);
  }

  body.single-product .is-photo-wall .gallery-slide img {
    height: 100%;
    object-fit: cover;
  }

  body.single-product .is-photo-wall .gallery-slide.is-landscape > img[data-mobile-flip="true"],
  body.single-product .gallery-lightbox-thumbnails img[data-mobile-flip="true"] {
    transform: scaleX(-1);
  }

  body.single-product .product-info {
    position: relative;
    z-index: 1;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 34svh;
    align-items: start;
    gap: 0 14px;
    margin-top: -12px;
    padding: 22px 20px 54px;
    border-radius: 12px 12px 0 0;
    background: #fff;
    box-shadow: 0 -1px 0 rgba(31, 29, 26, 0.12);
  }

  body.single-product .product-info-head {
    display: block;
    grid-column: 1 / -1;
    order: 1;
    margin-bottom: 9px;
    padding-right: 76px;
  }

  body.single-product .product-info h1 {
    grid-column: 1;
    order: 2;
    align-self: end;
    font-size: clamp(31px, 9vw, 38px);
  }

  body.single-product .product-info-price {
    grid-column: 2;
    order: 3;
    align-self: end;
    margin: 0 0 3px;
    white-space: nowrap;
  }

  body.single-product .product-info-price strong {
    font-size: 17px;
  }

  body.single-product .product-variants {
    grid-column: 1 / -1;
    order: 4;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  body.single-product .product-variants-head {
    min-width: 0;
    font-size: 10px;
  }

  body.single-product .product-variant-links {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 0;
  }

  body.single-product .product-variant i {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  body.single-product .product-info .calculate {
    grid-column: 1;
    order: 5;
    min-height: 48px;
    align-items: center;
    margin-top: 14px;
    padding: 14px 15px;
    font-size: 9px;
  }

  body.single-product .product-secondary-actions {
    position: absolute;
    top: 14px;
    right: 18px;
    display: flex;
    gap: 4px;
    margin: 0;
  }

  body.single-product .product-save,
  body.single-product .product-share {
    width: 32px;
    min-height: 32px;
    padding: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.single-product .product-save:hover,
  body.single-product .product-save:focus-visible,
  body.single-product .product-save.is-saved,
  body.single-product .product-share:hover,
  body.single-product .product-share:focus-visible,
  body.single-product .product-share.is-copied {
    background: transparent;
  }

  body.single-product .product-save svg,
  body.single-product .product-share .icon {
    width: 17px;
    height: 17px;
    margin: 0;
  }

  body.single-product .product-save-label,
  body.single-product .product-share-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  body.single-product .product-info .product-lead {
    grid-column: 1 / -1;
    order: 7;
    max-width: none;
    margin: 46px 0 0;
    padding-top: 38px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.7;
  }

  body.single-product .product-compact-specs {
    grid-column: 1 / -1;
    order: 8;
    margin-top: 28px;
  }

  body.single-product .price-note {
    grid-column: 1 / -1;
    order: 9;
    margin-top: 18px;
  }

  body:is(.single-product, .home) .related {
    position: relative;
    z-index: 1;
    background: #fff;
  }
}

/* Mobile editorial links use the same full-width rhythm as the footer CTA. */
@media (max-width: 520px) {
  .related-actions,
  .home-works-footer {
    width: 100%;
  }

  .related-actions > a,
  .details-link,
  .home-works-footer a,
  .home-catalog-feature a,
  .catalog-cta > a,
  .simple-cta a,
  .text-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
  }
}

/* Mobile product viewer cascade lock. */
@media (max-width: 620px) {
  html {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .nav,
  .nav.is-open {
    max-width: 100%;
    transform: none;
  }

  .gallery-lightbox {
    display: block;
    grid-template-columns: none;
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    background: rgba(248, 248, 245, 0.82);
    -webkit-backdrop-filter: blur(9px) saturate(0.72);
    backdrop-filter: blur(9px) saturate(0.72);
  }

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

  .gallery-lightbox-figure {
    position: absolute;
    inset: 0;
    grid-column: auto;
    width: 100%;
    height: 100%;
    touch-action: none;
  }

  .gallery-lightbox-figure img,
  .gallery-lightbox-figure.is-zoomed img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: none;
    transform: translate3d(var(--lightbox-pan-x, 0), var(--lightbox-pan-y, 0), 0) scale(var(--lightbox-scale, 1));
  }

  .gallery-lightbox-figure img.is-mobile-mirrored,
  .gallery-lightbox-figure.is-zoomed img.is-mobile-mirrored {
    transform: translate3d(var(--lightbox-pan-x, 0), var(--lightbox-pan-y, 0), 0) scaleX(-1) scale(var(--lightbox-scale, 1));
  }

  .gallery-lightbox-figure.is-gesturing img {
    transition: none;
  }

  .gallery-lightbox-thumbnails {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-height: none;
    min-height: 82px;
    align-items: center;
    align-self: auto;
    flex-direction: row;
    gap: 8px;
    padding: 10px max(14px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    overflow-x: auto;
    overflow-y: hidden;
    background: linear-gradient(180deg, transparent, rgba(248, 248, 245, 0.94) 32%);
  }

  .gallery-lightbox-thumbnails button {
    width: 42px;
    height: 54px;
    flex: 0 0 42px;
    aspect-ratio: auto;
    padding: 2px;
    border-color: rgba(32, 32, 32, 0.18);
  }

  .gallery-lightbox-thumbnails button[aria-current="true"] {
    border-color: var(--ink);
  }

  .gallery-lightbox-status {
    display: none;
  }

  .gallery-lightbox-controls {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    bottom: auto;
    left: auto;
    transform: none;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    display: none !important;
  }

  .gallery-lightbox-close {
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(32, 32, 32, 0.14);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(32, 32, 32, 0.12);
  }

  body.single-product .product-info {
    padding-bottom: 22px;
  }

  body.single-product .product-info .product-lead {
    margin-top: 32px;
    padding-top: 28px;
  }

  body:is(.single-product, .home) .related {
    padding: 0 20px 48px;
  }

  body:is(.single-product, .home) .related-head {
    gap: 16px;
    margin-bottom: 24px;
  }

  body:is(.single-product, .home) .related-head > .eyebrow {
    display: none;
  }

  body:is(.single-product, .home) .related-head h2 {
    font-size: clamp(36px, 10.5vw, 42px);
  }

  body:is(.single-product, .home) .related-title-desktop {
    display: none;
  }

  body:is(.single-product, .home) .related-title-mobile {
    display: inline;
  }

  body:is(.single-product, .home) .related-grid {
    grid-auto-columns: calc((100% - 12px) / 2.18);
    gap: 12px;
  }

  body.single-product footer {
    display: none;
  }

  .footer-company-logo,
  .footer-company-logo img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}

/* Mobile navigation is a compact full-height drawer above the entire header. */
@media (max-width: 900px) {
  body.menu-open .site-header,
  body.menu-closing .site-header {
    z-index: 1200;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-backdrop {
    position: fixed;
    z-index: 5;
    inset: 0;
    display: block;
    width: 100dvw;
    height: 100dvh;
    padding: 0;
    border: 0;
    background: rgba(20, 20, 18, 0.46);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
    transition:
      opacity 0.38s ease,
      visibility 0s linear 0.48s;
  }

  body.menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header .nav,
  .site-header .nav.is-open {
    position: fixed;
    z-index: 6;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: clamp(230px, 58vw, 320px);
    max-width: calc(100vw - 72px);
    height: 100dvh;
    max-height: none;
    padding: max(92px, calc(76px + env(safe-area-inset-top))) 20px max(24px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    color: #171717;
    box-shadow: 18px 0 44px rgba(18, 18, 16, 0.18);
    opacity: 0.72;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-100%, 0, 0);
    transform-origin: left center;
    will-change: transform, opacity;
    transition:
      transform 0.48s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.34s ease,
      visibility 0s linear 0.48s;
  }

  .site-header .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }

  body.menu-open .site-header .nav,
  body.menu-closing .site-header .nav {
    top: 0;
    bottom: 0;
    height: 100dvh;
    max-height: none;
  }

  body.menu-open .header-actions,
  body.menu-closing .header-actions {
    z-index: 7;
  }

  body.menu-open .header-search,
  body.menu-open .header-favorites,
  body.menu-closing .header-search,
  body.menu-closing .header-favorites {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  body.menu-open .menu-button span {
    background: var(--ink);
  }

  .site-header .nav > a:not(.nav-mobile-phone) {
    display: flex;
    min-height: 58px;
    align-items: center;
    padding: 19px 0;
    border: 0;
    color: #171717;
    font: 500 13px/1.2 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .site-header .nav > .nav-mobile-search,
  .site-header .nav > .nav-mobile-favorites {
    display: flex;
  }

  .site-header .nav > a:not(.nav-mobile-phone):first-of-type {
    border-top: 0;
  }

  .site-header .nav > a:not(.nav-mobile-phone)[aria-current="page"] {
    padding-left: 0;
    font-weight: 500;
  }

  .site-header .nav > a:not(.nav-mobile-phone) > span:first-child {
    position: relative;
    display: inline-block;
  }

  .site-header .nav > a:not(.nav-mobile-phone) > span:first-child::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -7px;
    left: 0;
    height: 1px;
    background: currentColor;
    transition: right 0.34s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  .site-header .nav > a:not(.nav-mobile-phone):hover > span:first-child::after,
  .site-header .nav > a:not(.nav-mobile-phone)[aria-current="page"] > span:first-child::after {
    right: 0;
  }

  .site-header .nav-mobile-phone {
    padding-top: 18px;
    border-top: 0;
  }
}

/* Photography zoom follows page position on pointer and touch devices alike. */
.footer-company-logo img {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 621px) {
  .footer-minimal .footer-lead {
    border-bottom: 0;
  }

  .footer-lead-action {
    display: grid;
    width: min(100%, 310px);
    justify-self: end;
    gap: 24px;
  }

  .footer-lead-logo {
    display: block;
    width: 100%;
  }

  .footer-lead-logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .footer-lead-action .footer-lead-link {
    width: 100%;
  }

  .footer-desktop-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3.4vw, 64px);
    padding: 20px 0 42px;
    white-space: nowrap;
  }

  .footer-desktop-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.54);
    font: 500 clamp(8px, 0.72vw, 10px)/1.3 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.22s ease;
  }

  .footer-desktop-links a::after {
    position: absolute;
    right: 100%;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transition: right 0.28s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  .footer-desktop-links a:hover,
  .footer-desktop-links a:focus-visible {
    color: #fff;
  }

  .footer-desktop-links a:hover::after,
  .footer-desktop-links a:focus-visible::after {
    right: 0;
  }

  .footer-minimal > .footer-company {
    display: none;
  }
}

@media (min-width: 1051px) {
  .footer-company > .footer-company-logo {
    padding-left: clamp(20px, 2.6vw, 42px);
  }
}

.image-drift-image.scroll-zoom-image {
  --image-drift-x: 0px;
  --image-drift-y: 0px;
  translate: 0 0;
  scale: var(--scroll-zoom-scale, 1);
  transform: none;
  transition: scale 200ms cubic-bezier(0.22, 0.8, 0.2, 1), filter 0.8s ease-in-out;
  will-change: scale;
}

.image-placeholder-frame > img.progressive-image.scroll-zoom-image,
.image-placeholder-frame.is-image-loaded > img.progressive-image.scroll-zoom-image {
  transition:
    opacity 1.35s cubic-bezier(0.22, 0.8, 0.2, 1),
    scale 200ms cubic-bezier(0.22, 0.8, 0.2, 1),
    filter 0.8s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .image-drift-image.scroll-zoom-image {
    scale: 1;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 620px) {
  body.home .story {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.home .story .story-image:nth-child(n + 2) {
    display: none;
  }

  .footer-company-panel,
  .footer-company-list dd {
    min-width: 0;
  }

  .footer-company-contact-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-company-contact-line > a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Phone typography stays readable and section transitions stay compact. */
@media (max-width: 620px) {
  .footer-mobile-hidden {
    display: none;
  }

  .services-page .eyebrow,
  .contacts-page .eyebrow {
    font-size: 11px;
    line-height: 1.45;
  }

  .services-delivery-city text {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .services-delivery-city circle {
    r: 5.5px;
  }

  .services-delivery-search input {
    font-size: 15px;
  }

  .services-delivery-search button,
  .services-delivery-search-result > p {
    font-size: 11px;
  }

  .services-page .services-process-list article > span,
  .services-prep-copy li > span {
    font-size: 11px;
  }

  .services-page .services-process-list article > p,
  .services-page .services-process-list article > small,
  .services-prep-copy > p:not(.eyebrow),
  .services-prep-copy li p {
    font-size: 14px;
    line-height: 1.65;
  }

  .services-process {
    padding-bottom: 16px;
  }

  .services-page .services-process-list {
    padding: 0;
  }

  .services-process-list article:last-child {
    padding-bottom: 20px;
  }

  .services-prep figure {
    height: min(390px, 100vw);
  }

  .services-prep-copy {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .services-prep-copy > p:not(.eyebrow) {
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .contacts-page .contact-disclosure-static .contact-disclosure-groups dt,
  .contacts-page .contact-form-panel label > span,
  .contacts-page .contact-preference legend,
  .contacts-page .contact-preference small {
    font-size: 11px;
    line-height: 1.45;
  }

  .contact-selected-product {
    grid-template-columns: auto minmax(0, 1fr) 24px;
    gap: 12px;
    margin-bottom: 20px;
  }

  .contact-selected-product-action > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  footer .footer-label,
  footer .footer-lead-link,
  footer .footer-company-title,
  footer .footer-company-list dt,
  footer .footer-copyright {
    font-size: 11px;
    line-height: 1.45;
  }

  footer .footer-company-list dd,
  footer .footer-company-list address,
  footer .footer-minimal-privacy {
    font-size: 13px;
    line-height: 1.55;
  }

  body.map-fullscreen-open {
    overflow: hidden;
  }

  .contacts-page .map-wrap.is-fullscreen {
    position: fixed;
    z-index: 2100;
    inset: 0;
    width: 100dvw;
    height: 100dvh;
    min-height: 100dvh;
    background: #efefef;
  }

  .contacts-page .map-wrap.is-fullscreen iframe {
    position: absolute;
    top: calc(58px + env(safe-area-inset-top));
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - 58px - env(safe-area-inset-top));
    min-height: 0;
    filter: none;
  }

  .map-fullscreen-header {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: calc(58px + env(safe-area-inset-top));
    align-items: flex-end;
    justify-content: center;
    padding: env(safe-area-inset-top) 16px 0;
    border-bottom: 1px solid rgba(31, 29, 26, 0.14);
    background: #fff;
    color: var(--ink);
  }

  .map-fullscreen-header > strong {
    display: grid;
    height: 58px;
    place-items: center;
    font: 500 14px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .map-fullscreen-close {
    position: absolute;
    right: max(8px, env(safe-area-inset-right));
    bottom: 9px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    place-items: center;
  }

  .map-fullscreen-header[hidden] {
    display: none;
  }

  .map-fullscreen-close .icon {
    width: 17px;
    height: 17px;
    transform: none;
  }
}

.catalog-header-title,
.mobile-section-title,
.catalog-price-sort .catalog-grid-toggle {
  display: none;
}

/* The mobile catalog keeps navigation visible while its tools follow scroll direction. */
@media (max-width: 620px) {
  body.bastion-catalog-page .site-header,
  body.admin-bar.bastion-catalog-page .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 58px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    opacity: 1;
    transform: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body.admin-bar.bastion-catalog-page .site-header {
    top: 46px;
  }

  body.bastion-catalog-page main {
    padding-top: 58px;
  }

  body.bastion-catalog-page .site-header .brand,
  body.bastion-catalog-page .header-favorites {
    display: none;
  }

  body.bastion-catalog-page .catalog-header-title {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    color: var(--ink);
    font: 500 14px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  body.bastion-catalog-page .header-actions {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
  }

  body.bastion-catalog-page .header-search {
    grid-column: 3;
  }

  body.bastion-catalog-page .shop {
    overflow: clip;
  }

  body.bastion-catalog-page .catalog-filter-shell {
    z-index: 43;
    min-height: 70px;
  }

  body.bastion-catalog-page .filter-row {
    position: relative;
    z-index: 42;
    width: auto;
    align-items: stretch;
    gap: 10px;
    margin: 0 -20px 26px;
    padding: 11px 20px 12px;
    border-top: 1px solid rgba(31, 29, 26, 0.08);
    border-bottom: 1px solid rgba(31, 29, 26, 0.14);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 24px rgba(31, 29, 26, 0.06);
    opacity: 1;
    transform: translateY(0);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition:
      transform 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.28s ease;
    will-change: transform, opacity;
  }

  body.bastion-catalog-page.catalog-tools-ready .filter-row {
    position: fixed;
    top: 58px;
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
  }

  body.admin-bar.bastion-catalog-page.catalog-tools-ready .filter-row {
    top: 104px;
  }

  body.bastion-catalog-page.catalog-tools-collapsed .filter-row {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 2px));
  }

  body.bastion-catalog-page .catalog-filter-main {
    display: grid;
    width: 100%;
    max-height: 40px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transform: translateX(0);
    transition:
      max-height 0.38s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.24s ease,
      transform 0.38s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page.catalog-search-active .catalog-filter-main {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-24px);
  }

  body.bastion-catalog-page .catalog-category-nav {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.bastion-catalog-page .catalog-category-nav::-webkit-scrollbar {
    display: none;
  }

  body.bastion-catalog-page .filter-row .catalog-category-button {
    min-height: 34px;
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 9px;
    white-space: nowrap;
  }

  body.bastion-catalog-page .catalog-price-sort {
    gap: 5px;
    padding-left: 0;
    border-left: 0;
  }

  body.bastion-catalog-page .catalog-price-sort button {
    width: 34px;
    height: 34px;
  }

  body.bastion-catalog-page .catalog-grid-toggle {
    display: grid;
  }

  .catalog-grid-icon {
    display: none;
    width: 14px;
    height: 14px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
  }

  .catalog-grid-icon i {
    display: block;
    border: 1px solid currentColor;
  }

  .catalog-grid-icon-one {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .catalog-grid-toggle:not([aria-pressed="true"]) .catalog-grid-icon-two,
  .catalog-grid-toggle[aria-pressed="true"] .catalog-grid-icon-one {
    display: grid;
  }

  body.bastion-catalog-page .catalog-search {
    display: grid;
    width: 100%;
    max-width: none;
    max-height: 0;
    min-height: 0;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border-color: transparent;
    opacity: 0;
    transform: translateX(28px);
    transition:
      max-height 0.36s cubic-bezier(0.22, 0.8, 0.2, 1),
      padding 0.36s ease,
      border-color 0.25s ease,
      opacity 0.25s ease,
      transform 0.36s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page .catalog-search-back,
  body.bastion-catalog-page .catalog-search-submit {
    display: grid;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  body.bastion-catalog-page .catalog-search-back {
    width: 34px;
    height: 34px;
    place-items: center;
  }

  body.bastion-catalog-page .catalog-search-back .icon {
    width: 18px;
    height: 18px;
    transform: rotate(180deg);
  }

  body.bastion-catalog-page .catalog-search-submit {
    min-height: 34px;
    align-items: center;
    padding-left: 4px;
    font: 600 10px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  body.bastion-catalog-page .catalog-search-field {
    min-width: 0;
    border-bottom: 1px solid #9e978d;
  }

  body.bastion-catalog-page .catalog-search-field > .icon {
    display: none;
  }

  body.bastion-catalog-page .catalog-search-field input {
    width: 100%;
    padding: 8px 0 7px;
    font-size: 14px;
  }

  body.bastion-catalog-page.catalog-search-active .catalog-search,
  body.bastion-catalog-page .catalog-search:focus-within {
    max-height: 44px;
    padding: 0;
    border-color: transparent;
    opacity: 1;
    transform: translateX(0);
  }

  body.bastion-catalog-page.catalog-tools-ready {
    --catalog-tools-height: 70px;
  }

  body.bastion-catalog-page.catalog-tools-ready.catalog-search-active {
    --catalog-tools-height: 76px;
  }

  body.bastion-catalog-page.catalog-tools-ready .catalog-advanced-panel:not([hidden]) {
    position: fixed;
    z-index: 41;
    top: calc(58px + var(--catalog-tools-height));
    right: 0;
    left: 0;
    max-height: calc(100dvh - 58px - var(--catalog-tools-height));
    margin: 0;
    padding: 22px 20px max(24px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 35px rgba(31, 29, 26, 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body.admin-bar.bastion-catalog-page.catalog-tools-ready .catalog-advanced-panel:not([hidden]) {
    top: calc(104px + var(--catalog-tools-height));
    max-height: calc(100dvh - 104px - var(--catalog-tools-height));
  }

  body.bastion-catalog-page .catalog-results-summary {
    margin-top: 0;
  }

  body.bastion-catalog-page .shop .product-grid.is-single-column {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 38px;
  }

  body.bastion-catalog-page .product-grid.is-single-column .product-card h3 {
    font-size: 22px;
  }

  body.bastion-catalog-page .product-grid.is-single-column .product-price,
  body.bastion-catalog-page .product-grid.is-single-column .product-type {
    font-size: 13px;
  }
}

/* Dense product tiles keep imagery dominant and move actions into the data row. */
.product-grid {
  column-gap: 8px;
  row-gap: 44px;
}

.product-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: start;
  gap: 7px;
  margin-top: 11px;
  padding: 0 3px;
}

.product-card .product-card-details {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  margin-top: 0;
  color: inherit;
}

.product-card h3 {
  display: -webkit-box;
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-type {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  gap: 2px;
  padding-top: 1px;
  font-size: 11px;
  line-height: 1.2;
}

.product-color-swatches {
  min-height: 8px;
  margin-top: 6px;
  gap: 4px;
}

.product-color-swatch,
.product-color-swatch.is-current {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
}

.product-card-footer .favorite-button,
[data-catalog-grid] .product-card .product-card-footer .favorite-button {
  position: relative;
  top: auto;
  right: auto;
  display: grid;
  width: 30px;
  height: 30px;
  align-self: start;
  justify-self: end;
  padding: 6px;
  background: transparent;
  color: var(--ink);
  filter: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  place-items: center;
}

.product-card-footer .favorite-button svg {
  width: 18px;
  height: 18px;
}

[data-catalog-grid] .product-card:hover .product-card-footer .favorite-button,
[data-catalog-grid] .product-card:focus-within .product-card-footer .favorite-button,
[data-catalog-grid] .product-card .product-card-footer .favorite-button:hover,
[data-catalog-grid] .product-card .product-card-footer .favorite-button:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 620px) {
  .product-grid {
    column-gap: 3px;
    row-gap: 28px;
  }

  body.bastion-catalog-page .shop .product-grid,
  .favorites-content .product-grid {
    margin-right: -18px;
    margin-left: -18px;
  }

  body.bastion-catalog-page .shop .product-grid.is-single-column {
    row-gap: 28px;
  }

  .related-grid {
    gap: 8px;
  }

  .product-card-footer {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 4px;
    margin-top: 8px;
    padding: 0 8px;
  }

  .product-card .product-card-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .product-card h3,
  body.bastion-catalog-page .product-grid.is-single-column .product-card h3 {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.14;
  }

  .product-type,
  body.bastion-catalog-page .product-grid.is-single-column .product-type {
    font-size: 10px;
    line-height: 1.2;
  }

  .product-card-aside {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 7px;
  }

  .product-price,
  body.bastion-catalog-page .product-grid.is-single-column .product-price {
    align-items: flex-start;
    flex-direction: row;
    gap: 5px;
    padding: 0;
    font-size: 12px;
    text-align: left;
  }

  .product-color-swatches {
    min-height: 7px;
    justify-content: flex-end;
    margin-top: 0;
  }

  .product-badge {
    top: 8px;
    left: 8px;
    padding: 6px 8px;
    font-size: 8px;
  }
}

/* Product facts collapse into a narrow editorial rail beside the photo wall. */
.product-accordions {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

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

.product-accordion h2 {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
}

.product-accordion h2 button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 600 11px/1.25 var(--font-sans);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.product-accordion h2 button i {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.product-accordion h2 button i::before,
.product-accordion h2 button i::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 1px;
  background: currentColor;
  transition: transform 0.36s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.product-accordion h2 button i::after {
  transform: rotate(90deg);
}

.product-accordion.is-open h2 button i::after {
  transform: rotate(0deg);
}

.product-accordion-panel {
  contain: paint;
  overflow: hidden;
  overflow-anchor: none;
}

.product-accordion-panel[hidden] {
  display: none;
}

.product-accordion-content {
  padding: 1px 0 18px;
  color: #5e5952;
  font-size: 13px;
  line-height: 1.65;
}

.product-info .product-accordion .product-lead {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.product-accordion .product-lead p,
.product-care-copy p {
  margin: 0;
}

.product-care-copy p + p {
  margin-top: 10px;
}

.product-accordion .product-compact-specs {
  margin: 0;
  border-top: 0;
}

.product-accordion .product-compact-specs div {
  grid-template-columns: minmax(78px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
}

.product-accordion .product-compact-specs div:last-child {
  border-bottom: 0;
}

@media (min-width: 901px) {
  body.single-product .product-main {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 25vw, 380px);
    gap: clamp(28px, 3vw, 46px);
    padding: 18px 24px 34px;
  }

  body.single-product .product-info {
    top: 20px;
    width: 100%;
    max-width: 380px;
    justify-self: end;
    padding: 8px 4px 0 0;
  }

  body.single-product .product-info h1 {
    font-size: clamp(40px, 3.25vw, 50px);
    line-height: 0.96;
  }

  body.single-product .product-info-price {
    margin-top: 18px;
    margin-bottom: 22px;
  }

  body.single-product .product-variants {
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  body.single-product .product-accordions {
    grid-column: 1 / -1;
    order: 7;
    margin-top: 0;
  }

  body.single-product .product-accordion h2 button {
    min-height: 52px;
    padding: 15px 0;
    font-size: 12px;
  }

  body.single-product .product-accordion-content {
    padding-bottom: 19px;
    font-size: 14px;
    line-height: 1.65;
  }

  body.single-product .product-info .product-accordion .product-lead,
  body.single-product .product-accordion .product-compact-specs {
    margin: 0;
    padding: 0;
    border-top: 0;
  }
}

/* Catalog search lives in a dedicated top sheet instead of the product flow. */
.catalog-tools-overlay {
  position: fixed !important;
  z-index: 1600 !important;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.52s;
}

.catalog-tools-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(22, 22, 20, 0.28);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.42s ease;
}

.catalog-tools-dialog {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: auto;
  max-height: 60dvh;
  padding: 28px var(--page-gutter) 34px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f4f3ef;
  box-shadow: 0 24px 60px rgba(20, 20, 18, 0.18);
  transform: translateY(calc(-100% - 12px));
  transition: transform 0.52s cubic-bezier(0.22, 0.8, 0.2, 1);
}

body.catalog-search-active {
  overflow: hidden;
}

body.catalog-search-active .catalog-tools-overlay {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.catalog-search-active .catalog-tools-backdrop {
  opacity: 1;
}

body.catalog-search-active .catalog-tools-dialog {
  transform: translateY(0);
}

.catalog-tools-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
}

.catalog-tools-head > div {
  grid-column: 1;
  grid-row: 1;
}

.catalog-tools-head .eyebrow {
  margin: 0 0 9px;
  color: #777168;
}

.catalog-tools-head h2 {
  margin: 0;
  font: 400 clamp(40px, 4.4vw, 66px)/0.94 Georgia, serif;
  letter-spacing: -0.045em;
}

.catalog-tools-close {
  display: grid;
  width: 42px;
  height: 42px;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0;
  border: 1px solid rgba(32, 32, 32, 0.45);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.catalog-tools-close-desktop {
  display: grid;
  place-items: center;
}

.catalog-tools-close-mobile {
  display: none;
}

.catalog-tools-close .icon {
  width: 16px;
  height: 16px;
}

.catalog-tools-close:hover,
.catalog-tools-close:focus-visible {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.catalog-tools-overlay .catalog-filter-shell {
  margin-top: clamp(30px, 5vh, 52px);
}

body.bastion-catalog-page .catalog-tools-overlay .filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search {
  display: grid;
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0;
  overflow: visible;
  border-bottom: 1px solid rgba(32, 32, 32, 0.55);
  opacity: 1;
  transform: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field {
  min-width: 0;
  border: 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field > .icon {
  display: block;
  width: 20px;
  height: 20px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field input {
  width: 100%;
  padding: 12px 0;
  font-size: 17px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-submit,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button {
  display: inline-flex;
  width: 98px;
  min-width: 98px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font: 600 10px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-submit {
  background: var(--ink);
  color: #fff;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  background: #fff;
  color: var(--ink);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button .icon {
  width: 15px;
  height: 15px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-submit:hover,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search-submit:focus-visible {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button:hover,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button:focus-visible {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-submit:focus-visible,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button:focus-visible {
  outline: 2px solid rgba(32, 32, 32, 0.28);
  outline-offset: 3px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-filter-main {
  display: grid;
  width: 100%;
  max-height: none;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.catalog-price-label {
  flex: 0 0 auto;
  color: #777168;
  font: 600 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.catalog-price-range {
  --price-start: 0%;
  --price-end: 100%;
  width: clamp(220px, 24vw, 320px);
  min-width: 0;
  margin: 0 6px;
  padding: 0;
  border: 0;
}

.catalog-price-values {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #777168;
  font: 500 8px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.catalog-price-values label {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-items: center;
  gap: 5px;
}

.catalog-price-values > span {
  flex: 0 0 auto;
}

.catalog-price-values input {
  width: 100%;
  min-width: 0;
  padding: 2px 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 11px/1 var(--font-sans);
  text-align: center;
  appearance: textfield;
}

.catalog-price-values input::-webkit-inner-spin-button,
.catalog-price-values input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.catalog-price-values input:focus {
  border-color: var(--ink);
}

.catalog-price-slider {
  position: relative;
  height: 18px;
  margin-top: 3px;
}

.catalog-price-slider-track,
.catalog-price-slider-selection {
  position: absolute;
  top: 8px;
  height: 1px;
}

.catalog-price-slider-track {
  right: 0;
  left: 0;
  background: #c7c2ba;
}

.catalog-price-slider-selection {
  right: calc(100% - var(--price-end));
  left: var(--price-start);
  background: var(--ink);
}

.catalog-price-slider input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  pointer-events: none;
}

.catalog-price-slider input[type="range"]:last-child {
  z-index: 3;
}

.catalog-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: transparent;
}

.catalog-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -7px;
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #f4f3ef;
  box-shadow: 0 1px 4px rgba(32, 32, 32, 0.16);
  cursor: grab;
  pointer-events: auto;
}

.catalog-price-slider input[type="range"]::-moz-range-track {
  height: 1px;
  background: transparent;
}

.catalog-price-slider input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #f4f3ef;
  box-shadow: 0 1px 4px rgba(32, 32, 32, 0.16);
  cursor: grab;
  pointer-events: auto;
}

.catalog-price-slider input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid rgba(32, 32, 32, 0.24);
  outline-offset: 2px;
}

.catalog-tools-overlay .catalog-advanced-panel {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(32, 32, 32, 0.14);
}

.catalog-tools-overlay + .product-grid {
  margin-top: clamp(14px, 2vw, 28px);
}

@media (max-width: 620px) {
  .catalog-tools-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: none;
    padding: max(17px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .catalog-tools-head {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
  }

  .catalog-tools-head > div {
    grid-column: 2;
    text-align: center;
  }

  .catalog-tools-head .eyebrow {
    display: none;
  }

  .catalog-tools-head h2 {
    font: 500 13px/1.2 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .catalog-tools-close {
    display: inline-flex;
    width: 34px;
    height: 34px;
    grid-column: 1;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    transform: none;
  }

  .catalog-tools-close-desktop {
    display: none;
  }

  .catalog-tools-close-mobile {
    display: grid;
    place-items: center;
  }

  .catalog-tools-close-mobile .icon {
    width: 19px;
    height: 19px;
    transform: rotate(180deg);
  }

  .catalog-tools-overlay .catalog-filter-shell {
    margin-top: 24px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .filter-row {
    gap: 22px;
    margin: 0;
    padding: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search {
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field input {
    padding: 10px 0;
    font-size: 16px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search-submit {
    width: 78px;
    min-width: 78px;
    min-height: 40px;
    padding: 0 16px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search-close-button {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-filter-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-category-nav {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay .filter-row .catalog-category-button {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 9px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
    display: grid;
    width: 100%;
    grid-template-columns: auto 36px minmax(0, 1fr) 36px 36px;
    gap: 6px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort button {
    width: 36px;
    height: 36px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-range {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding-top: 2px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-grid-toggle {
    display: grid;
  }

  .catalog-tools-overlay .catalog-advanced-panel {
    margin-top: 20px;
    padding-top: 18px;
  }

  .catalog-tools-overlay + .product-grid {
    margin-top: 8px;
  }
}

/* Compact catalog navigation follows the product grid without covering it. */
.catalog-scroll-tools {
  position: fixed;
  z-index: 49;
  top: 60px;
  right: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 8px var(--page-gutter) 9px;
  border-top: 1px solid rgba(32, 32, 32, 0.08);
  border-bottom: 1px solid rgba(32, 32, 32, 0.14);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(31, 29, 26, 0.07);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(-100% - 4px));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 0.18s ease,
    visibility 0s linear 0.28s;
}

body.bastion-catalog-page.catalog-tools-ready:not(.catalog-tools-collapsed) .catalog-scroll-tools {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

body.bastion-catalog-page.catalog-tools-ready.catalog-tools-hovered .catalog-scroll-tools {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

body.bastion-catalog-page.catalog-tools-ready .catalog-tools-overlay .filter-row {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
}

body.bastion-catalog-page.catalog-tools-ready .catalog-tools-overlay .catalog-advanced-panel:not([hidden]) {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  max-height: none;
  overflow: visible;
}

.catalog-scroll-tools-primary,
.catalog-scroll-categories,
.catalog-scroll-advanced {
  display: flex;
  min-width: 0;
  align-items: center;
}

.catalog-scroll-tools-primary {
  justify-content: space-between;
  gap: 18px;
}

.catalog-scroll-categories,
.catalog-scroll-advanced {
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.catalog-scroll-categories::-webkit-scrollbar,
.catalog-scroll-advanced::-webkit-scrollbar {
  display: none;
}

.catalog-scroll-tools button {
  min-height: 27px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(32, 32, 32, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #68635c;
  cursor: pointer;
  font: 500 8px/1.1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.catalog-scroll-tools button.is-active,
.catalog-scroll-tools button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-scroll-advanced > span {
  flex: 0 0 auto;
  margin: 0 4px 0 9px;
  color: #8a857d;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.catalog-scroll-advanced > span:first-child {
  margin-left: 0;
}

.catalog-scroll-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-scroll-sort .icon {
  width: 13px;
  height: 13px;
}

@media (min-width: 901px) {
  body.bastion-catalog-page .site-header,
  body.admin-bar.bastion-catalog-page .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  body.admin-bar.bastion-catalog-page .site-header {
    top: 32px;
  }

  body.bastion-catalog-page main {
    padding-top: 84px;
  }

  body.bastion-catalog-page.catalog-header-compact .site-header {
    height: 54px;
    padding-top: 3px;
    padding-bottom: 3px;
    background: #fff;
    color: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.bastion-catalog-page .site-header .brand {
    grid-row: 1;
    opacity: 1;
    transform: translateX(0) scale(1);
    transform-origin: left center;
    transition: height 0.52s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.38s ease, transform 0.52s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page.catalog-header-compact .site-header .brand {
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-14px) scale(0.9);
  }

  body.bastion-catalog-page .site-header .nav {
    opacity: 1;
    transition: gap 0.52s cubic-bezier(0.22, 0.8, 0.2, 1), font-size 0.52s ease, opacity 0.38s ease;
  }

  body.bastion-catalog-page.catalog-header-compact .site-header .nav {
    display: flex;
    gap: clamp(18px, 2.4vw, 40px);
    font-size: 11px;
  }

  body.bastion-catalog-page.catalog-header-compact .header-favorites {
    display: grid;
  }

  body.bastion-catalog-page .catalog-header-title {
    position: relative;
    z-index: 1;
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    opacity: 0;
    pointer-events: none;
    font: 500 14px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transform: translateX(12px);
    transition: opacity 0.35s ease 0s, transform 0.48s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page.catalog-header-compact .catalog-header-title {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.14s;
  }

  body.bastion-catalog-page.catalog-header-compact .header-actions {
    position: static;
    display: flex;
    width: auto;
    grid-column: 3;
    gap: 18px;
    transform: none;
  }

  body.bastion-catalog-page .catalog-scroll-tools {
    top: 54px;
  }

  body.admin-bar.bastion-catalog-page .catalog-scroll-tools {
    top: 86px;
  }
}

@media (max-width: 620px) {
  .catalog-scroll-tools {
    top: 58px;
    display: block;
    padding: 7px 12px 8px;
  }

  body.admin-bar.bastion-catalog-page .catalog-scroll-tools {
    top: 104px;
  }

  .catalog-scroll-tools-primary {
    gap: 7px;
  }

  .catalog-scroll-categories {
    gap: 4px;
  }

  .catalog-scroll-tools button {
    min-height: 32px;
    padding: 7px 11px;
    font-size: 8px;
  }

  .catalog-scroll-advanced {
    display: none;
  }

  .catalog-scroll-sort span {
    display: none;
  }
}

body.bastion-catalog-page .shop .product-grid {
  column-gap: 2px;
  row-gap: 8px;
  margin-right: calc(3px - var(--page-gutter));
  margin-left: calc(3px - var(--page-gutter));
}

@media (max-width: 620px) {
  body.bastion-catalog-page .shop .product-grid,
  body.bastion-catalog-page .shop .product-grid.is-single-column {
    column-gap: 1px;
    row-gap: 8px;
    margin-right: calc(1px - var(--page-gutter));
    margin-left: calc(1px - var(--page-gutter));
  }
}

/* Floating return control stays within thumb reach and reads as frosted glass. */
.to-top.is-floating,
.footer-minimal > .to-top.is-floating {
  top: auto;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  border: 1px solid rgba(32, 32, 32, 0.2);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  box-shadow:
    0 10px 30px rgba(24, 24, 22, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  transform: translateY(10px);
}

.to-top.is-floating.is-visible,
.footer-minimal > .to-top.is-floating.is-visible {
  transform: translateY(0);
}

.to-top.is-floating.is-over-footer,
.to-top.is-floating:hover,
.footer-minimal > .to-top.is-floating.is-over-footer,
.footer-minimal > .to-top.is-floating:hover {
  border-color: rgba(32, 32, 32, 0.28);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

@media (max-width: 780px) {
  .to-top.is-floating,
  .footer-minimal > .to-top.is-floating {
    top: auto;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .to-top.is-floating .icon,
  .footer-minimal > .to-top.is-floating .icon {
    width: 21px;
    height: 21px;
  }
}

.catalog-scroll-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.catalog-scroll-more,
.catalog-scroll-grid {
  display: none;
}

/* Mobile catalog toolbar mirrors the complete controls from the search sheet. */
@media (max-width: 620px) {
  .catalog-scroll-tools {
    gap: 0;
    padding: 7px 10px 8px;
    border-color: rgba(32, 32, 32, 0.12);
    background: rgba(235, 235, 232, 0.97);
    box-shadow: 0 12px 26px rgba(31, 29, 26, 0.09);
  }

  .catalog-scroll-tools-primary {
    gap: 6px;
  }

  .catalog-scroll-categories {
    gap: 5px;
  }

  .catalog-scroll-actions {
    gap: 4px;
  }

  .catalog-scroll-tools .catalog-scroll-sort,
  .catalog-scroll-tools .catalog-scroll-more,
  .catalog-scroll-tools .catalog-scroll-grid {
    position: relative;
    display: grid;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 50%;
    place-items: center;
  }

  .catalog-scroll-tools .catalog-scroll-sort span {
    display: none;
  }

  .catalog-scroll-tools .catalog-scroll-more b {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font: 600 8px/17px var(--font-sans);
    text-align: center;
  }

  .catalog-scroll-tools .catalog-scroll-more.has-filters b {
    border: 1px solid var(--ink);
    background: #efefec;
    color: var(--ink);
  }

  .catalog-scroll-tools .catalog-scroll-more.has-filters,
  body.catalog-scroll-advanced-open .catalog-scroll-tools .catalog-scroll-more {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
  }

  .catalog-scroll-tools .catalog-scroll-advanced {
    display: flex;
    max-height: 0;
    gap: 5px;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition:
      max-height 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
      margin-top 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
      padding-top 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.24s ease,
      transform 0.38s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.catalog-scroll-advanced-open .catalog-scroll-tools .catalog-scroll-advanced {
    max-height: 42px;
    margin-top: 6px;
    padding-top: 1px;
    opacity: 1;
    transform: translateY(0);
  }

  .catalog-scroll-tools .catalog-scroll-advanced > span {
    font-size: 7px;
  }
}

/* Keep the mobile catalog progress compact and center its count precisely. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-load-more {
    margin-top: 24px;
  }

  body.bastion-catalog-page .catalog-load-more button {
    grid-template-columns: 1fr auto 1fr;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  body.bastion-catalog-page .catalog-load-more button small {
    justify-self: center;
    text-align: center;
  }

  body.bastion-catalog-page .catalog-load-more button .icon {
    justify-self: end;
  }
}

/* Mobile home: compact carousel rhythm and restore the hero stacking layer. */
@media (max-width: 620px) {
  body.home {
    overflow-x: clip;
  }

  body.home #content {
    overflow: visible;
  }

  body.home .hero {
    position: sticky;
    top: 0;
    z-index: 0;
  }

  body.home .home-scroll-layer {
    position: relative;
    z-index: 2;
  }

  body.home .catalog {
    padding-top: 30px;
    padding-bottom: 16px;
  }

  body.home .section-heading {
    margin-bottom: 18px;
  }

  body.home .section-heading .eyebrow {
    margin-bottom: 4px;
  }

  body.home .collection-carousel-hint {
    justify-content: flex-end;
    margin: 0 0 10px;
  }

  body.home .collection-grid {
    padding-bottom: 2px;
  }

  body.home .collection-card .card-number {
    top: 20px;
    left: 20px;
  }

  body.home .collection-card .card-arrow {
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.home .collection-card .card-arrow .icon {
    width: 18px;
    height: 18px;
  }

  body.home .story {
    min-height: 0;
  }
}

/* Tighten the mobile path from services to projects and compact project captions. */
@media (max-width: 620px) {
  body.home .story {
    min-height: 0;
  }

  body.home .details {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  body.home .details .details-link {
    margin-top: 22px;
  }

  body.home .home-works {
    padding-top: 30px;
  }

  body.home .home-works-head {
    gap: 5px;
    margin-bottom: 6px;
  }

  body.home .home-works-head .eyebrow {
    margin-bottom: 0;
  }

  body.home .home-works-grid {
    gap: 8px;
  }

  body.home .works-card-review {
    top: auto;
    bottom: 14px;
  }

  body.home .home-work-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    line-height: 1.2;
  }

  body.home .home-work-meta span:last-child {
    text-align: right;
  }

  body.home .home-works-grid h3 {
    margin: 8px 0 6px;
  }
}

/* The contact directory opens from a quiet ellipsis beside contact methods. */
.contact-preference .contact-disclosure-dots {
  position: relative;
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  flex: 0 0 34px;
  align-self: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(33, 30, 26, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #5f5a53;
  line-height: 1;
  letter-spacing: 0;
  place-items: center;
}

.contact-preference .contact-disclosure-dots > span:first-child {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: max-content;
  height: auto;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 3px;
  writing-mode: horizontal-tb;
  transform: translate(-50%, -50%);
}

.contact-preference .contact-disclosure-dots .catalog-more-dots i {
  display: block;
  width: 3px;
  min-width: 3px;
  height: 3px;
  flex: 0 0 3px;
}

.contact-preference .contact-disclosure-dots:hover,
.contact-preference .contact-disclosure-dots.is-open {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.contact-preference .contact-disclosure-dots.is-open .catalog-more-dots {
  display: flex;
}

.contact-preference .contact-disclosure-text-toggle {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  padding: 0 14px;
  font: 500 10px/1.2 var(--font-sans);
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-preference .contact-disclosure-text-toggle > span:first-child {
  position: static;
  width: auto;
  transform: none;
}

.contact-preference .contact-disclosure-panel {
  width: 100%;
  padding: 20px 0 2px;
}

.contact-preference .contact-other-method-row {
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(33, 30, 26, 0.16);
}

.contact-preference .contact-other-method-option {
  display: inline-flex;
}

.contact-preference .contact-other-method-option > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 10px 16px;
  border-color: rgba(33, 30, 26, 0.32);
  background: transparent;
  color: #5f5a53;
}

.contact-preference .contact-other-method-option > span::after {
  width: 5px;
  height: 5px;
  margin-left: 11px;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  content: "";
  transform: rotate(45deg);
}

.contact-preference .contact-other-method-option > input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.contact-preference .contact-disclosure-panel-other-only {
  padding-bottom: 0;
}

.contact-preference .contact-disclosure-panel-other-only .contact-other-method-row {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-preference .contact-disclosure-groups {
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (max-width: 520px) {
  .contact-preference .contact-disclosure-dots {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    flex-basis: 32px;
  }

  .contact-preference .contact-disclosure-text-toggle {
    width: auto;
    min-width: 0;
    flex-basis: auto;
    padding: 0 11px;
    font-size: 9px;
  }

  .contact-preference .contact-disclosure-panel {
    padding-top: 16px;
  }

  .contact-preference .contact-other-method-row {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .contact-preference .contact-disclosure-panel-other-only .contact-other-method-row {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

/* Desktop service and project sections share a right-aligned header action. */
@media (min-width: 901px) {
  body.home .details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
    padding-bottom: 50px;
  }

  body.home .details-head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 1;
    column-gap: 18px;
  }

  body.home .details-head h2 {
    grid-column: 2;
  }

  body.home .details .home-service-list {
    grid-column: 1 / -1;
  }

  body.home .details .details-link {
    position: relative;
    z-index: 1;
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    margin: 0 0 90px;
  }

  body.home .home-works {
    padding-top: 82px;
  }

  body.home .home-works-footer {
    justify-self: stretch;
    justify-content: flex-end;
  }
}

/* Mobile recommendations use the same dense, image-led tile rhythm as the catalog. */
@media (max-width: 620px) {
  body.single-product .product-info .calculate {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    margin-top: 30px;
    padding: 15px 17px;
    font-size: 11px;
  }

  body:is(.single-product, .home) .related {
    padding-right: 0;
    padding-left: 0;
  }

  body:is(.single-product, .home) .related-head {
    margin-right: var(--page-gutter);
    margin-left: var(--page-gutter);
  }

  body:is(.single-product, .home) .related-grid {
    grid-auto-columns: calc((100% - 1px) / 2.18);
    gap: 1px;
    padding-bottom: 12px;
  }

  body:is(.single-product, .home) .related-grid .product-card-footer {
    margin-top: 8px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* Compact titled headers for mobile internal pages. */
@media (max-width: 620px) {
  body.bastion-mobile-section-header .site-header,
  body.admin-bar.bastion-mobile-section-header .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 58px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    opacity: 1;
    transform: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body.admin-bar.bastion-mobile-section-header .site-header {
    top: 46px;
  }

  body.bastion-mobile-section-header main {
    padding-top: 58px;
  }

  body.bastion-mobile-section-header .site-header .brand {
    display: none;
  }

  body.bastion-mobile-section-header .mobile-section-title {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    max-width: calc(100% - 190px);
    overflow: hidden;
    color: var(--ink);
    font: 500 14px/1 var(--font-sans);
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.bastion-privacy-policy .mobile-section-title {
    max-width: calc(100% - 174px);
    font-size: 10px;
    letter-spacing: 0.09em;
  }

  body.bastion-mobile-section-header .header-actions {
    grid-template-columns: 40px minmax(0, 1fr) 30px 30px;
  }

  body.bastion-mobile-section-header.menu-open .mobile-section-title,
  body.bastion-mobile-section-header.menu-closing .mobile-section-title {
    opacity: 0;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).bastion-mobile-section-header .site-header {
      height: calc(58px + env(safe-area-inset-top));
      padding-top: calc(5px + env(safe-area-inset-top));
    }

    body:not(.admin-bar).bastion-mobile-section-header main {
      padding-top: calc(58px + env(safe-area-inset-top));
    }
  }
}

/* Readable, bottom-aligned review cards on the mobile works page. */
@media (max-width: 620px) {
  .works-page .works-list {
    gap: 34px;
  }

  .works-page .works-card-review {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: block;
    width: calc(100% - 36px);
    opacity: 1;
    cursor: default;
    transform: none !important;
  }

  .works-page .works-card-review-label {
    margin-bottom: 7px;
    font-size: 8px;
    line-height: 1;
  }

  .works-page .works-card-review-preview,
  .works-page .works-card-review.is-open .works-card-review-preview {
    display: -webkit-box;
    max-height: none;
    overflow: hidden;
    opacity: 1;
    font-size: clamp(23px, 6.5vw, 28px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .works-page .works-card-review-full,
  .works-page .works-card-review-action,
  .works-page .works-card-review-person small {
    display: none;
  }

  .works-page .works-card-review-person {
    margin-top: 10px;
  }

  .works-page .works-card-review-person strong {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.09em;
  }

  .works-page .works-card-meta {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    font-size: 8px;
    line-height: 1.2;
  }

  .works-page .works-card-meta span:last-child {
    text-align: right;
  }

  .works-page .works-list article > h2 {
    margin: 8px 0 6px;
    font-size: 28px;
    line-height: 0.98;
  }

  .works-page .works-list article > p {
    font-size: 9px;
    line-height: 1.35;
  }
}

/* Compact mobile contact forms with straight, architectural input rules. */
@media (max-width: 620px) {
  body.home .request-visual {
    height: min(300px, 76vw);
    min-height: 240px;
  }

  body.home .request-copy {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  body.home .request-copy .eyebrow,
  .contacts-page .contact-form-heading .eyebrow {
    margin-bottom: 10px;
  }

  body.home .request-copy > p:not(.eyebrow) {
    margin-top: 16px;
    margin-bottom: 22px;
  }

  body.home .request-copy .bastion-demo-form,
  .contacts-page .contact-form-panel .bastion-demo-form {
    gap: 16px;
  }

  body.home .request-copy input,
  .contacts-page .contact-form-panel input {
    padding: 9px 0 11px;
    border: 0;
    border-bottom: 1px solid #aaa49b;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.home .request-copy form > button,
  .contacts-page .contact-form-panel form > button {
    margin-top: 5px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  body.home .request-copy .bastion-demo-form > .primary-cta {
    min-height: 60px;
  }

  .contacts-page .contact-form-visual {
    min-height: 260px;
  }

  .contacts-page .contact-form-panel {
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .contacts-page .contact-form-heading > p:last-child {
    margin-top: 14px;
    line-height: 1.55;
  }

  .contacts-page .contact-preference small {
    margin-top: 7px;
  }
}

/* Mobile home project cards keep review context inside the image and titles close below it. */
@media (max-width: 620px) {
  body.home .home-work-meta {
    display: none;
  }

  body.home .home-work-card .works-card-review {
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: calc(100% - 36px);
    opacity: 1;
  }

  body.home .home-work-card .works-card-review-label {
    margin-bottom: 7px;
    font-size: 8px;
  }

  body.home .home-work-card .works-card-review-preview {
    font-size: clamp(23px, 6.4vw, 27px);
    line-height: 1.08;
  }

  body.home .home-work-card .works-card-review-person {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 10px;
  }

  body.home .home-work-card .works-card-review-person strong {
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  body.home .home-works-grid .works-card-review-person small {
    display: inline;
    max-height: none;
    margin: 0;
    overflow: visible;
    opacity: 1;
    font-size: 9px;
    line-height: 1.2;
  }

  body.home .home-works-grid .works-card-review-person small::before {
    content: "·";
    margin-right: 7px;
  }

body.home .home-works-grid h3 {
    margin-top: 6px;
    font-size: clamp(31px, 8.5vw, 35px);
    line-height: 0.96;
  }
}

/* The resting catalog header reuses the full-size controls from the search sheet. */
.catalog-scroll-tools {
  gap: 10px;
  padding: 12px var(--page-gutter) 13px;
  border-color: rgba(32, 32, 32, 0.13);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(31, 29, 26, 0.09);
}

.catalog-scroll-tools-primary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.catalog-scroll-categories {
  gap: 8px;
}

.catalog-scroll-categories .catalog-category-button {
  min-height: 40px;
  padding: 10px 17px;
  border-color: #c4bfb7;
  color: #625c54;
  font-size: 10px;
}

.catalog-scroll-price-sort {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(32, 32, 32, 0.22);
}

.catalog-scroll-tools .catalog-scroll-price-sort > button {
  position: relative;
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid #c4bfb7;
  border-radius: 50%;
  place-items: center;
}

.catalog-scroll-tools .catalog-scroll-price-sort > button:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.catalog-scroll-tools .catalog-scroll-price-sort > button.is-active,
.catalog-scroll-tools .catalog-scroll-price-sort > button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-scroll-tools .catalog-scroll-price-sort > button.catalog-scroll-grid[aria-pressed="true"] {
  border-color: #c4bfb7;
  background: transparent;
  color: #625c54;
}

.catalog-scroll-tools .catalog-scroll-more.has-filters,
body.catalog-scroll-advanced-open .catalog-scroll-tools .catalog-scroll-more {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-scroll-tools .catalog-scroll-price-range {
  flex: 1 1 260px;
  width: clamp(220px, 24vw, 320px);
  max-width: 320px;
  margin: 0 6px;
}

.catalog-scroll-tools .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
  background: #fff;
}

.catalog-scroll-tools .catalog-price-slider input[type="range"]::-moz-range-thumb {
  background: #fff;
}

.catalog-scroll-tools .catalog-scroll-grid {
  display: grid;
}

.catalog-scroll-tools .catalog-scroll-advanced {
  display: flex;
  max-height: 0;
  gap: 6px;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition:
    max-height 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
    margin-top 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
    padding-top 0.42s cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 0.24s ease,
    transform 0.38s cubic-bezier(0.22, 0.8, 0.2, 1);
}

body.catalog-scroll-advanced-open .catalog-scroll-tools .catalog-scroll-advanced {
  max-height: 44px;
  margin-top: 2px;
  padding-top: 2px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .catalog-scroll-tools-primary {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .catalog-scroll-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .catalog-scroll-price-sort {
    width: 100%;
  }

  .catalog-scroll-tools .catalog-scroll-price-range {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .catalog-scroll-tools {
    padding: 10px 12px 11px;
    background: rgba(255, 255, 255, 0.98);
  }

  .catalog-scroll-tools-primary {
    gap: 10px;
  }

  .catalog-scroll-categories {
    gap: 6px;
  }

  .catalog-scroll-categories .catalog-category-button {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 9px;
  }

  .catalog-scroll-price-sort {
    display: grid;
    grid-template-columns: auto 36px minmax(0, 1fr) 36px 36px;
    gap: 6px;
    padding-left: 10px;
  }

  .catalog-scroll-tools .catalog-scroll-price-sort > button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .catalog-scroll-tools .catalog-scroll-price-range {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding-top: 2px;
  }

  .catalog-scroll-tools .catalog-scroll-advanced {
    overflow-x: auto;
  }
}

/* The full filter panel gives price the same clear, tactile hierarchy as the reference. */
.catalog-price-currency {
  flex: 0 0 auto;
  color: #777168;
  font: inherit;
  font-weight: 500;
}

.catalog-price-separator {
  flex: 0 0 auto;
  color: #777168;
  text-transform: lowercase;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
  display: grid;
  width: min(100%, 520px);
  grid-template-columns: minmax(0, 1fr) repeat(2, 42px);
  align-items: center;
  gap: 0 12px;
  padding: 18px 0 4px;
  border-left: 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-label {
  grid-column: 1;
  grid-row: 1;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort] {
  grid-column: 2;
  grid-row: 1;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort]:hover,
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort].is-active {
  background: #ececea;
  color: var(--ink);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-range {
  display: flex;
  width: 100%;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > .catalog-advanced-toggle {
  grid-column: 3;
  grid-row: 1;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > .catalog-grid-toggle {
  grid-column: 3;
  grid-row: 1;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider {
  order: 1;
  height: 34px;
  margin: 14px 12px 12px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-track,
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-selection {
  top: 16px;
  height: 3px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-track {
  background: #b9b9b5;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"] {
  height: 34px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -13px;
  border: 0;
  background: var(--ink);
  box-shadow: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-moz-range-track {
  height: 3px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  background: var(--ink);
  box-shadow: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values {
  display: grid;
  order: 2;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label {
  display: grid;
  min-height: 62px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #d1d1ce;
  background: #fff;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values input {
  padding: 0;
  border: 0;
  font-size: 17px;
  text-align: right;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label:focus-within {
  border-color: var(--ink);
}

.catalog-scroll-tools .catalog-price-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.catalog-scroll-tools .catalog-price-values label {
  gap: 4px;
}

.catalog-scroll-tools .catalog-price-currency {
  font-size: 7px;
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
    grid-template-columns: minmax(0, 1fr) repeat(2, 38px);
    padding-top: 10px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort] {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values {
    gap: 8px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label {
    min-height: 54px;
    gap: 7px;
    padding: 0 11px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values input {
    font-size: 15px;
  }
}

/* Exact door colors supplement the broad light, dark, and warm filters. */
.catalog-color-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
}

.catalog-color-filter,
.catalog-scroll-tools button.catalog-color-filter {
  position: relative;
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.catalog-color-filter > span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: 50%;
  background: var(--filter-color);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28);
}

.catalog-color-filter:hover,
.catalog-color-filter:focus-visible,
.catalog-scroll-tools button.catalog-color-filter:hover,
.catalog-scroll-tools button.catalog-color-filter:focus-visible {
  border-color: rgba(32, 32, 32, 0.52);
  outline: 0;
  transform: translateY(-1px);
}

.catalog-color-filter.is-active,
.catalog-color-filter[aria-pressed="true"],
.catalog-scroll-tools button.catalog-color-filter.is-active,
.catalog-scroll-tools button.catalog-color-filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(231, 231, 227, 0.98), 0 0 0 3px rgba(32, 32, 32, 0.38);
}

.catalog-scroll-tools button.catalog-scroll-color-filter {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 4px;
}

@media (max-width: 620px) {
  .catalog-color-swatches {
    gap: 9px;
    margin-top: 13px;
  }

  .catalog-color-filter,
  .catalog-scroll-tools button.catalog-color-filter {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .catalog-scroll-tools button.catalog-scroll-color-filter {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
  }
}

/* The catalog repeats the complete, synchronized filter set directly below its hero. */
.catalog-inline-tools {
  scroll-margin-top: 88px;
  padding: 28px var(--page-gutter) 30px;
  border-top: 1px solid rgba(32, 32, 32, 0.1);
  border-bottom: 1px solid rgba(32, 32, 32, 0.14);
  background: #e7e7e3;
}

@media (min-width: 621px) {
  .catalog-inline-tools {
    margin-right: calc(var(--page-gutter) * -1);
    margin-left: calc(var(--page-gutter) * -1);
  }
}

/* Home motion: staged service cards and a continuous, scroll-assisted review stream. */
html.reveal-motion body.home .home-service-list article.reveal-block:not(.is-revealed) {
  opacity: 0;
  translate: 0 24px;
  scale: 0.84;
}

html.reveal-motion body.home .home-service-list article.reveal-block.is-revealed {
  animation-name: bastion-service-card-reveal;
  animation-duration: 0.92s;
  animation-timing-function: cubic-bezier(0.18, 0.82, 0.2, 1);
}

@keyframes bastion-service-card-reveal {
  from {
    opacity: 0;
    translate: 0 24px;
    scale: 0.84;
  }

  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

body.home .home-works-grid[data-home-review-stream] {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.home .home-works-grid[data-home-review-stream]::-webkit-scrollbar {
  display: none;
}

body.home .home-works-grid[data-home-review-stream].is-interacting {
  cursor: grabbing;
}

body.home .home-works-grid[data-home-review-stream] .home-work-card,
body.home .home-works-grid[data-home-review-stream] .home-work-card:nth-child(n) {
  width: auto;
  min-width: 0;
  flex: 0 0 calc((100% - 20px) / 3);
  margin-top: 0;
  scroll-snap-align: none;
}

html.reveal-motion body.home .home-works-grid[data-home-review-stream] .home-work-card,
html.reveal-motion body.home .home-works-grid[data-home-review-stream] .home-work-media {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  animation: none;
}

@media (max-width: 620px) {
  html.reveal-motion body.home .home-service-list article.reveal-block:not(.is-revealed) {
    translate: 0 18px;
    scale: 0.88;
  }

  body.home .home-works-grid[data-home-review-stream] {
    gap: 8px;
    margin-right: calc(var(--page-gutter) * -1);
    padding-right: var(--page-gutter);
  }

  body.home .home-works-grid[data-home-review-stream] .home-work-card,
  body.home .home-works-grid[data-home-review-stream] .home-work-card:nth-child(n) {
    flex-basis: min(82vw, 350px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .home-works-grid[data-home-review-stream] {
    cursor: auto;
  }
}

/* Let the expanded catalog deck visibly travel into its compact state. */
body.bastion-catalog-page .catalog-inline-tools {
  transition:
    transform 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.38s ease,
    box-shadow 0.38s ease;
}

.catalog-scroll-tools {
  transition:
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    visibility 0s linear 0.48s;
}

body.bastion-catalog-page.catalog-tools-ready:not(.catalog-tools-collapsed) .catalog-scroll-tools,
body.bastion-catalog-page.catalog-tools-ready.catalog-tools-hovered .catalog-scroll-tools {
  transition-delay: 0s;
}

.catalog-inline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.catalog-inline-head .eyebrow {
  margin: 0 0 6px;
}

.catalog-inline-head h2 {
  margin: 0;
  font: 400 clamp(28px, 3vw, 44px)/1 Georgia, serif;
  letter-spacing: -0.035em;
}

.catalog-inline-head > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #68625a;
  cursor: pointer;
  font: 500 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.catalog-inline-head > button[hidden] {
  display: none;
}

.catalog-inline-head > button .icon {
  width: 12px;
  height: 12px;
}

.catalog-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(32, 32, 32, 0.42);
}

.catalog-inline-search label {
  display: grid;
  min-width: 0;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.catalog-inline-search label .icon {
  width: 18px;
  height: 18px;
}

.catalog-inline-search input {
  width: 100%;
  padding: 11px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1.2 var(--font-sans);
}

.catalog-inline-search > button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: 600 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.catalog-inline-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: start;
  gap: 28px;
  margin-top: 20px;
}

.catalog-inline-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-inline-categories .catalog-category-button {
  min-height: 38px;
  padding: 9px 15px;
}

.catalog-inline-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, 38px);
  align-items: center;
  gap: 0 8px;
}

.catalog-inline-price > .catalog-price-label {
  grid-column: 1;
  grid-row: 1;
  color: var(--ink);
  font-size: 11px;
}

.catalog-inline-sort,
.catalog-inline-price > .catalog-grid-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(32, 32, 32, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.catalog-inline-sort {
  grid-column: 2;
  grid-row: 1;
}

.catalog-inline-price > .catalog-grid-toggle {
  grid-column: 3;
  grid-row: 1;
}

.catalog-inline-sort .sort-icon {
  display: none;
}

.catalog-inline-sort[data-sort-state=""] .sort-icon-default,
.catalog-inline-sort[data-sort-state="asc"] .sort-icon-asc,
.catalog-inline-sort[data-sort-state="desc"] .sort-icon-desc {
  display: grid;
}

.catalog-inline-sort.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-inline-price .catalog-price-range {
  display: flex;
  width: 100%;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-direction: column;
  margin: 5px 0 0;
}

.catalog-inline-price .catalog-price-slider {
  order: 1;
  height: 28px;
  margin: 5px 11px 7px;
}

.catalog-inline-price .catalog-price-slider-track,
.catalog-inline-price .catalog-price-slider-selection {
  top: 13px;
  height: 2px;
}

.catalog-inline-price .catalog-price-slider input[type="range"] {
  height: 28px;
}

.catalog-inline-price .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 0;
  background: var(--ink);
  box-shadow: none;
}

.catalog-inline-price .catalog-price-slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  background: var(--ink);
  box-shadow: none;
}

.catalog-inline-price .catalog-price-values {
  display: grid;
  order: 2;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-inline-price .catalog-price-values label {
  display: grid;
  min-height: 42px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(32, 32, 32, 0.17);
  background: rgba(255, 255, 255, 0.55);
}

.catalog-inline-price .catalog-price-values input {
  padding: 0;
  border: 0;
  font-size: 13px;
  text-align: right;
}

.catalog-inline-advanced {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 58px);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(32, 32, 32, 0.14);
}

.catalog-inline-advanced h3 {
  margin: 0 0 11px;
  color: #625c54;
  font: 500 11px/1.3 var(--font-sans);
}

.catalog-inline-tools + .catalog-scroll-tools + .product-grid {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .catalog-inline-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .catalog-inline-price {
    width: min(100%, 560px);
  }
}

@media (max-width: 620px) {
  .catalog-inline-tools {
    scroll-margin-top: 58px;
    margin-right: calc(var(--page-gutter) * -1);
    margin-left: calc(var(--page-gutter) * -1);
    padding: 20px 12px 22px;
  }

  .catalog-inline-head {
    align-items: center;
    margin-bottom: 16px;
  }

  .catalog-inline-head .eyebrow {
    display: none;
  }

  .catalog-inline-head h2 {
    font: 500 15px/1.2 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .catalog-inline-head > button span {
    display: none;
  }

  .catalog-inline-search {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .catalog-inline-search input {
    font-size: 15px;
  }

  .catalog-inline-search > button {
    padding: 0 12px;
  }

  .catalog-inline-main {
    margin-top: 16px;
  }

  .catalog-inline-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-inline-categories .catalog-category-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 9px;
  }

  .catalog-inline-price {
    grid-template-columns: minmax(0, 1fr) repeat(2, 36px);
  }

  .catalog-inline-sort,
  .catalog-inline-price > .catalog-grid-toggle {
    width: 36px;
    height: 36px;
  }

  .catalog-inline-advanced {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
  }
}

/* Product hearts live on the image so price and finish options keep the data row. */
.product-card-media {
  position: relative;
}

.product-card-footer {
  grid-template-columns: minmax(0, 1fr);
}

.product-card-media .favorite-button,
[data-catalog-grid] .product-card .product-card-media .favorite-button {
  position: absolute;
  z-index: 4;
  top: auto;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  filter: drop-shadow(0 1px 4px rgba(15, 15, 14, 0.58));
  opacity: 0.68;
  pointer-events: auto;
  transform: none;
  place-items: center;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.product-card-media .favorite-button svg {
  width: 18px;
  height: 18px;
}

[data-catalog-grid] .product-card:hover .product-card-media .favorite-button,
[data-catalog-grid] .product-card:focus-within .product-card-media .favorite-button,
.product-card-media .favorite-button:hover,
.product-card-media .favorite-button:focus-visible {
  color: #fff;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}

.product-card-media .favorite-button.is-saved {
  color: #fff;
  opacity: 0.92;
}

@media (max-width: 620px) {
  .product-card .product-card-details {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 7px;
  }

  .product-card-aside {
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .product-price,
  body.bastion-catalog-page .product-grid.is-single-column .product-price {
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 2px;
    text-align: right;
  }

  .product-card-media .favorite-button,
  [data-catalog-grid] .product-card .product-card-media .favorite-button {
    right: 9px;
    bottom: 9px;
    width: 30px;
    height: 30px;
    opacity: 0.72;
  }

  .product-color-swatches {
    justify-content: flex-end;
  }
}

/* Color choices stay clean at rest and gain a spaced outer ring when selected. */
.catalog-color-filter,
.catalog-scroll-tools button.catalog-color-filter {
  overflow: visible;
  border-color: transparent;
  box-shadow: none;
  transition: border-color 0.22s ease, transform 0.24s ease;
}

.catalog-color-filter::after,
.catalog-scroll-tools button.catalog-color-filter::after {
  content: none;
}

.catalog-color-filter:hover,
.catalog-color-filter:focus-visible,
.catalog-scroll-tools button.catalog-color-filter:hover,
.catalog-scroll-tools button.catalog-color-filter:focus-visible {
  border-color: transparent;
  box-shadow: none;
  outline: 0;
  transform: scale(1.08);
}

.catalog-color-filter.is-active,
.catalog-color-filter[aria-pressed="true"],
.catalog-scroll-tools button.catalog-color-filter.is-active,
.catalog-scroll-tools button.catalog-color-filter[aria-pressed="true"] {
  border-color: rgba(32, 32, 32, 0.68);
  box-shadow: none;
  transform: none;
}

.catalog-color-filter > span {
  border: 0;
}

.product-variant i,
.product-color-swatch {
  position: relative;
  overflow: visible;
  border: 0;
  outline: 1px solid transparent;
  outline-offset: 3px;
}

.product-variant i::after,
.product-color-swatch::after {
  content: none;
}

.product-variant:hover i,
.product-variant:focus-visible i,
.product-color-swatch:hover {
  outline-color: transparent;
  transform: scale(1.08);
}

.product-variant.is-current i,
.product-color-swatch.is-current,
.product-card:hover .product-color-swatch.is-current {
  outline-color: rgba(32, 32, 32, 0.68);
  outline-offset: 3px;
  transform: none;
}

.product-color-swatch.is-current {
  width: 8px;
  height: 8px;
  flex-basis: 8px;
}

.swatches button {
  border: 0;
  outline: 1px solid transparent;
  outline-offset: 3px;
}

.swatches button.selected {
  outline-color: rgba(32, 32, 32, 0.68);
}

@media (max-width: 520px) {
  .services-page .services-hero-copy h1 {
    font-size: clamp(60px, 17vw, 72px);
    line-height: 0.84;
  }

  .services-page .services-hero-copy h1 span,
  .services-page .services-hero-copy h1 em {
    white-space: nowrap;
  }

  .services-page .services-hero-copy > a {
    min-height: 48px;
    font-size: clamp(11px, 3.1vw, 12px);
    letter-spacing: 0.1em;
  }
}

/* Price controls follow the same restrained underline language as other inputs. */
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
  width: min(100%, 460px);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values,
.catalog-inline-price .catalog-price-values,
.catalog-scroll-tools .catalog-price-values {
  gap: 10px;
  font-size: 9px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label,
.catalog-inline-price .catalog-price-values label,
.catalog-scroll-tools .catalog-price-values label {
  min-height: 36px;
  gap: 6px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.34);
  background: transparent;
  transition: border-color 0.22s ease;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label:focus-within,
.catalog-inline-price .catalog-price-values label:focus-within,
.catalog-scroll-tools .catalog-price-values label:focus-within {
  border-color: var(--ink);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values input,
.catalog-inline-price .catalog-price-values input,
.catalog-scroll-tools .catalog-price-values input {
  padding: 0 1px 1px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-currency,
.catalog-inline-price .catalog-price-currency,
.catalog-scroll-tools .catalog-price-currency {
  color: #777168;
  font-size: 8px;
  letter-spacing: 0.06em;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider,
.catalog-inline-price .catalog-price-slider,
.catalog-scroll-tools .catalog-price-slider {
  height: 24px;
  margin: 7px 5px 5px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-track,
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-selection,
.catalog-inline-price .catalog-price-slider-track,
.catalog-inline-price .catalog-price-slider-selection,
.catalog-scroll-tools .catalog-price-slider-track,
.catalog-scroll-tools .catalog-price-slider-selection {
  top: 11px;
  height: 1px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"],
.catalog-inline-price .catalog-price-slider input[type="range"],
.catalog-scroll-tools .catalog-price-slider input[type="range"] {
  height: 24px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-webkit-slider-runnable-track,
.catalog-inline-price .catalog-price-slider input[type="range"]::-webkit-slider-runnable-track,
.catalog-scroll-tools .catalog-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-webkit-slider-thumb,
.catalog-inline-price .catalog-price-slider input[type="range"]::-webkit-slider-thumb,
.catalog-scroll-tools .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -6px;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-moz-range-track,
.catalog-inline-price .catalog-price-slider input[type="range"]::-moz-range-track,
.catalog-scroll-tools .catalog-price-slider input[type="range"]::-moz-range-track {
  height: 1px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"]::-moz-range-thumb,
.catalog-inline-price .catalog-price-slider input[type="range"]::-moz-range-thumb,
.catalog-scroll-tools .catalog-price-slider input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort],
.catalog-inline-sort,
.catalog-scroll-tools .catalog-scroll-sort {
  border: 1px solid rgba(32, 32, 32, 0.48);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort]:hover,
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort]:focus-visible,
.catalog-inline-sort:hover,
.catalog-inline-sort:focus-visible,
.catalog-scroll-tools .catalog-scroll-sort:hover,
.catalog-scroll-tools .catalog-scroll-sort:focus-visible {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort].is-active,
.catalog-inline-sort.is-active,
.catalog-scroll-tools .catalog-scroll-sort.is-active,
.catalog-scroll-tools .catalog-scroll-sort[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort] .icon,
.catalog-inline-sort .icon,
.catalog-scroll-sort .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
    width: 100%;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label,
  .catalog-inline-price .catalog-price-values label,
  .catalog-scroll-tools .catalog-price-values label {
    min-height: 38px;
  }
}

/* Product pages use a compact, action-only mobile header. */
@media (max-width: 620px) {
  body.single-product .site-header,
  body.admin-bar.single-product .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 58px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    opacity: 1;
    transform: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body.admin-bar.single-product .site-header {
    top: 46px;
  }

  body.single-product main {
    padding-top: 58px;
  }

  body.single-product .site-header .brand,
  body.single-product .site-header .menu-button,
  body.single-product .site-header .mobile-section-title {
    display: none;
  }

  body.single-product .header-actions {
    grid-template-columns: 40px minmax(0, 1fr) 30px;
  }

  body.single-product .product-header-back {
    display: grid;
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    place-items: center;
  }

  body.single-product .product-header-back .icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(180deg);
  }

  body.single-product .header-search {
    display: none;
  }

  body.single-product .header-favorites {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).single-product .site-header {
      height: calc(58px + env(safe-area-inset-top));
      padding-top: calc(5px + env(safe-area-inset-top));
    }

    body:not(.admin-bar).single-product main {
      padding-top: calc(58px + env(safe-area-inset-top));
    }
  }
}

/* Keep internal mobile pages responsive while large imagery moves beneath fixed UI. */
@media (max-width: 620px) {
  body:not(.home).bastion-mobile-section-header .site-header,
  body:not(.home).bastion-catalog-page .site-header,
  body:not(.home).single-product .site-header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body:not(.home) .image-drift-image.scroll-zoom-image {
    will-change: auto;
  }
}

/* Contact forms use one straight input rule and a quiet, contextual clear action. */
.bastion-demo-form .bastion-form-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.bastion-demo-form .bastion-form-field > label {
  width: fit-content;
}

.bastion-demo-form .bastion-form-field > label > span {
  margin: 0;
}

.bastion-demo-form .bastion-form-input {
  display: flex;
  min-width: 0;
  align-items: center;
  border-bottom: 1px solid rgba(33, 30, 26, 0.34);
  transition: border-color 0.22s ease;
}

.bastion-demo-form .bastion-form-input:focus-within {
  border-color: rgba(33, 30, 26, 0.82);
}

body .bastion-demo-form .bastion-form-input > input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 11px 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .bastion-demo-form .bastion-form-input > input:focus,
body .bastion-demo-form .bastion-form-input > input:focus-visible {
  outline: 0;
  outline-offset: 0;
  box-shadow: none;
}

.bastion-demo-form .bastion-form-input > button {
  display: grid;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(33, 30, 26, 0.5);
  cursor: pointer;
  place-items: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.bastion-demo-form .bastion-form-input > button[hidden] {
  display: none;
}

.bastion-demo-form .bastion-form-input > button:hover,
.bastion-demo-form .bastion-form-input > button:focus-visible {
  background: rgba(33, 30, 26, 0.07);
  color: var(--ink);
}

.bastion-demo-form .bastion-form-input > button .icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 620px) {
  body .bastion-demo-form .bastion-form-input > input {
    padding: 9px 0 11px;
  }
}

/* On desktop one filter deck moves from the hero edge into a sticky expanded header. */
.catalog-grid-icon {
  display: none;
  width: 15px;
  height: 15px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
}

.catalog-grid-icon i {
  display: block;
  border: 1px solid currentColor;
}

.catalog-grid-icon-one {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
}

.catalog-grid-toggle:not([aria-pressed="true"]) .catalog-grid-icon-two,
.catalog-grid-toggle[aria-pressed="true"] .catalog-grid-icon-one {
  display: grid;
}

@media (min-width: 901px) {
  body.bastion-catalog-page .shop {
    overflow: visible;
  }

  body.bastion-catalog-page .catalog-scroll-tools {
    display: none !important;
  }

  body.bastion-catalog-page .catalog-inline-tools {
    position: sticky;
    z-index: 48;
    top: 54px;
    margin-right: calc(var(--page-gutter) * -1);
    margin-left: calc(var(--page-gutter) * -1);
    padding: 20px var(--page-gutter) 22px;
    border-color: rgba(32, 32, 32, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 32px rgba(31, 29, 26, 0.08);
    opacity: 1;
    transform: translateY(0);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: transform 0.58s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease, box-shadow 0.38s ease;
    will-change: transform, opacity;
  }

  body.admin-bar.bastion-catalog-page .catalog-inline-tools {
    top: 86px;
  }

  body.bastion-catalog-page.catalog-tools-ready.catalog-tools-collapsed .catalog-inline-tools {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 58px));
  }

  body.bastion-catalog-page .catalog-inline-head {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: var(--page-gutter);
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-head > div {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-head > button {
    min-height: 40px;
    padding: 0 10px;
  }

  body.bastion-catalog-page .catalog-inline-search {
    grid-template-columns: minmax(0, 1fr) 86px;
    width: calc(100% - 106px);
    min-height: 42px;
    padding-bottom: 6px;
    border-bottom-color: rgba(32, 32, 32, 0.38);
  }

  body.bastion-catalog-page .catalog-inline-search input {
    padding: 8px 0;
    font-size: 15px;
  }

  body.bastion-catalog-page .catalog-inline-search > button {
    min-height: 38px;
  }

  body.bastion-catalog-page .catalog-inline-main {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
    gap: 24px;
    margin-top: 16px;
  }

  body.bastion-catalog-page .catalog-inline-advanced {
    gap: clamp(18px, 3vw, 42px);
    margin-top: 17px;
    padding-top: 16px;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-grid-toggle {
    display: grid;
  }

  body.bastion-catalog-page .shop .product-grid.is-single-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2px;
  }
}

@media (max-width: 620px) {
  .catalog-grid-icon-one {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .catalog-grid-icon-one i + i {
    display: none;
  }
}

/* Keep mobile home reviews pinned to the image foot instead of drifting mid-card. */
@media (max-width: 620px) {
  body.home .home-work-media {
    position: relative;
  }

  body.home .home-work-card .works-card-review {
    position: absolute;
    z-index: 4;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 72px 18px 18px;
    overflow: visible;
    background: linear-gradient(0deg, rgba(20, 19, 17, 0.82) 0%, rgba(20, 19, 17, 0.38) 62%, transparent 100%);
    opacity: 1;
    transform: none;
  }

  body.home .home-work-card .works-card-review-label {
    display: block;
    min-height: 11px;
    margin: 0 0 7px;
    overflow: visible;
    font-size: 8px;
    line-height: 1.35;
    white-space: nowrap;
  }

  body.home .home-work-card .works-card-review-preview {
    display: -webkit-box;
    max-height: none;
    overflow: hidden;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.home .home-work-card .works-card-review-person {
    margin-top: 10px;
  }

  body.home .home-works-grid h3 {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    touch-action: pan-x;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.home .home-works-grid h3::-webkit-scrollbar {
    display: none;
  }

  body.home .home-works-grid h3 a {
    display: inline-block;
    min-width: max-content;
  }

  .works-page .works-list > article {
    scroll-margin-top: 76px;
  }

  .works-page .works-card-review-preview,
  .works-page .works-card-review.is-open .works-card-review-preview {
    display: none;
  }

  .works-page .works-card-review-full,
  .works-page .works-card-review.is-open .works-card-review-full {
    display: block;
    max-height: none;
    overflow: visible;
    opacity: 1;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.24;
    letter-spacing: -0.02em;
  }
}

/* Every catalog filter surface exposes the same compact reset action. */
.catalog-scroll-tools .catalog-scroll-price-sort > .catalog-scroll-reset {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #68625a;
  font: 500 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-scroll-tools .catalog-scroll-price-sort > .catalog-scroll-reset[hidden] {
  display: none;
}

.catalog-scroll-tools .catalog-scroll-price-sort > .catalog-scroll-reset:hover {
  border: 0;
  background: transparent;
  color: var(--ink);
  transform: none;
}

.catalog-scroll-reset .icon {
  width: 11px;
  height: 11px;
}

@media (max-width: 620px) {
  .catalog-scroll-price-sort {
    grid-template-columns: auto 36px minmax(0, 1fr) 36px auto;
  }
}

/* Current finish is indicated by size, not a heavy ring. */
.product-color-swatch.is-current,
.product-card:hover .product-color-swatch.is-current {
  width: 9px;
  height: 9px;
  flex-basis: 9px;
  outline-color: transparent;
  outline-width: 0;
  transform: none;
}

/* Recommendations reuse the catalog's dense, image-led card rhythm. */
body:is(.single-product, .home) .related {
  padding-right: 0;
  padding-left: 0;
}

body:is(.single-product, .home) .related-head {
  margin-right: var(--page-gutter);
  margin-left: var(--page-gutter);
}

body:is(.single-product, .home) .related-grid {
  grid-auto-columns: calc((100% - 6px) / 4);
  gap: 2px;
  padding-bottom: 12px;
}

body:is(.single-product, .home) .related-grid .product-card-footer {
  margin-top: 8px;
  padding-right: 8px;
  padding-left: 8px;
}

@media (max-width: 900px) {
  body:is(.single-product, .home) .related-grid {
    grid-auto-columns: calc((100% - 4px) / 3);
  }
}

@media (max-width: 620px) {
  body:is(.single-product, .home) .related-grid {
    grid-auto-columns: calc((100% - 1px) / 2.18);
    gap: 1px;
  }
}

/* Desktop services hero matches the editorial scale of the works intro. */
@media (min-width: 901px) {
  .services-page .services-hero-copy h1 {
    font-size: clamp(76px, 7.4vw, 122px);
    line-height: 0.82;
  }

  .services-page .services-hero-copy > p:not(.eyebrow) {
    max-width: 520px;
    font-size: 14px;
    line-height: 1.72;
  }
}

/* Keep the overlay price controls compact, with actions beside the slider. */
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
  width: min(100%, 620px);
  grid-template-columns: auto minmax(180px, 1fr) 38px 38px;
  grid-template-rows: auto;
  align-items: start;
  gap: 0 10px;
  padding: 5px 0 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-label {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 8px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-range {
  display: flex;
  width: 100%;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  margin: 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider {
  order: 1;
  height: 26px;
  margin: 0 5px 1px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-track,
body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider-selection {
  top: 12px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-slider input[type="range"] {
  height: 26px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values {
  order: 2;
  gap: 8px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label {
  min-height: 30px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort] {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  grid-column: 3;
  grid-row: 1;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > .catalog-grid-toggle {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  grid-column: 4;
  grid-row: 1;
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort {
    grid-template-columns: auto minmax(0, 1fr) 36px 36px;
    gap: 0 7px;
    padding: 2px 0 0;
    border-left: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-label {
    margin-top: 9px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > button[data-catalog-sort],
  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-sort > .catalog-grid-toggle {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values {
    gap: 5px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-price-values label {
    min-height: 28px;
  }
}

/* Overlay and in-catalog filters share one white, compact visual system. */
.catalog-tools-dialog,
.catalog-inline-tools {
  background: #fff;
}

.catalog-inline-tools {
  max-height: 60dvh;
  padding: 28px var(--page-gutter) 34px;
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(32, 32, 32, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.catalog-inline-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  margin: 0;
}

.catalog-inline-head > div {
  display: block;
  grid-column: 1;
  grid-row: 1;
}

.catalog-inline-head .eyebrow {
  display: block;
  margin: 0 0 9px;
  color: #777168;
}

.catalog-inline-head h2 {
  margin: 0;
  font: 400 clamp(40px, 4.4vw, 66px)/0.94 Georgia, serif;
  text-transform: none;
  letter-spacing: -0.045em;
}

.catalog-inline-head > button {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-height: 42px;
  margin: 0;
}

.catalog-inline-search {
  width: 100%;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 10px;
  margin-top: clamp(30px, 5vh, 52px);
  padding: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.55);
}

.catalog-inline-search label {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
}

.catalog-inline-search label .icon {
  width: 20px;
  height: 20px;
}

.catalog-inline-search input {
  padding: 12px 0;
  font-size: 17px;
}

.catalog-inline-search > button {
  width: 98px;
  min-width: 98px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.catalog-inline-main {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.catalog-inline-categories {
  gap: 8px;
}

.catalog-inline-categories .catalog-category-button {
  min-height: 40px;
  padding: 10px 17px;
  font-size: 10px;
}

.catalog-inline-price {
  width: min(100%, 620px);
  grid-template-columns: auto minmax(180px, 1fr) 38px 38px;
  grid-template-rows: auto;
  align-items: start;
  justify-self: end;
  gap: 0 10px;
  padding: 5px 0 0;
}

.catalog-inline-price > .catalog-price-label {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 8px;
  font-size: 12px;
}

.catalog-inline-price .catalog-price-range {
  display: flex;
  width: 100%;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  margin: 0;
}

.catalog-inline-price .catalog-price-slider {
  order: 1;
  height: 26px;
  margin: 0 5px 1px;
}

.catalog-inline-price .catalog-price-slider-track,
.catalog-inline-price .catalog-price-slider-selection {
  top: 12px;
}

.catalog-inline-price .catalog-price-slider input[type="range"] {
  height: 26px;
}

.catalog-inline-price .catalog-price-values {
  order: 2;
  gap: 8px;
}

.catalog-inline-price .catalog-price-values label {
  min-height: 30px;
}

.catalog-inline-sort,
.catalog-inline-price > .catalog-grid-toggle {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  grid-row: 1;
}

.catalog-inline-sort {
  grid-column: 3;
}

.catalog-inline-price > .catalog-grid-toggle {
  grid-column: 4;
}

.catalog-inline-advanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: 24px;
  padding-top: 22px;
}

.catalog-inline-advanced h3 {
  margin: 0 0 12px;
  font: 500 12px/1.3 var(--font-sans);
}

@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-tools {
    padding: 28px var(--page-gutter) 34px;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.bastion-catalog-page .catalog-inline-head {
    position: static;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-head > div {
    display: block;
  }

  body.bastion-catalog-page .catalog-inline-search {
    width: 100%;
    min-height: 54px;
    padding: 0;
  }

  body.bastion-catalog-page .catalog-inline-search input {
    padding: 12px 0;
    font-size: 17px;
  }

  body.bastion-catalog-page .catalog-inline-search > button {
    min-height: 42px;
  }

  body.bastion-catalog-page .catalog-inline-main {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
  }

  body.bastion-catalog-page .catalog-inline-advanced {
    gap: clamp(24px, 4vw, 64px);
    margin-top: 24px;
    padding-top: 22px;
  }
}

@media (max-width: 620px) {
  .catalog-inline-tools {
    max-height: none;
    padding: max(17px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    overflow: visible;
    background: #fff;
  }

  .catalog-inline-head {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
  }

  .catalog-inline-head > div {
    grid-column: 2;
    text-align: center;
  }

  .catalog-inline-head .eyebrow {
    display: none;
  }

  .catalog-inline-head h2 {
    font: 500 13px/1.2 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .catalog-inline-head > button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    grid-column: 3;
    padding: 0;
  }

  .catalog-inline-search {
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) 78px;
    margin-top: 24px;
    gap: 12px;
  }

  .catalog-inline-search input {
    padding: 10px 0;
    font-size: 16px;
  }

  .catalog-inline-search > button {
    width: 78px;
    min-width: 78px;
    min-height: 40px;
    padding: 0 16px;
  }

  .catalog-inline-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 22px;
  }

  .catalog-inline-categories {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
  }

  .catalog-inline-categories .catalog-category-button {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 9px;
  }

  .catalog-inline-price {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) 36px 36px;
    justify-self: stretch;
    gap: 0 7px;
    padding: 2px 0 0;
  }

  .catalog-inline-price > .catalog-price-label {
    margin-top: 9px;
  }

  .catalog-inline-sort,
  .catalog-inline-price > .catalog-grid-toggle {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .catalog-inline-price .catalog-price-values {
    gap: 5px;
  }

  .catalog-inline-price .catalog-price-values label {
    min-height: 28px;
  }

  .catalog-inline-advanced {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 20px;
    padding-top: 18px;
  }
}

/* Inline catalog filters open from the compact three-dot control. */
.catalog-inline-price {
  grid-template-columns: auto minmax(180px, 1fr) repeat(3, 38px);
}

.catalog-inline-more {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  grid-column: 5;
  grid-row: 1;
  padding: 0;
  border: 1px solid rgba(32, 32, 32, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.catalog-inline-more:hover,
.catalog-inline-more:focus-visible {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.catalog-inline-more.is-open,
.catalog-inline-more.has-filters {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-inline-more .catalog-more-dots {
  gap: 3px;
}

.catalog-inline-more .catalog-more-dots i {
  width: 3px;
  height: 3px;
}

.catalog-inline-advanced[hidden] {
  display: none;
}

@media (max-width: 620px) {
  .catalog-inline-price {
    grid-template-columns: auto minmax(0, 1fr) repeat(3, 36px);
  }

  .catalog-inline-more {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

/* Mobile home reviews stay at the image foot and expand in place. */
@media (max-width: 620px) {
  body.home .home-work-card .works-card-review {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 72px 18px 18px;
  }

  body.home .home-work-card .works-card-review-preview {
    display: block;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    opacity: 1;
    white-space: normal;
    touch-action: manipulation;
    -webkit-line-clamp: unset;
  }

  body.home .home-work-card .works-card-review.is-open .works-card-review-preview {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }

  body.home .home-work-card .works-card-review-full {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: clamp(17px, 4.8vw, 20px);
    line-height: 1.2;
  }

  body.home .home-work-card .works-card-review.is-open .works-card-review-full {
    max-height: 280px;
    overflow: visible;
    opacity: 1;
  }
}

/* Catalog search uses the same inline arrow-and-clear pattern as Services. */
body.bastion-catalog-page .catalog-tools-overlay .catalog-search,
.catalog-inline-search {
  position: relative;
  display: block;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field,
.catalog-inline-search > label {
  width: 100%;
  padding-right: 78px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear,
.catalog-inline-search > .catalog-inline-search-submit,
.catalog-inline-search > .catalog-inline-search-clear {
  position: absolute;
  right: 38px;
  bottom: 5px;
  display: inline-flex;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  line-height: 0;
  transform: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear,
.catalog-inline-search > .catalog-inline-search-clear {
  right: 2px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit .icon,
.catalog-inline-search > .catalog-inline-search-submit .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.24s ease;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear .icon,
.catalog-inline-search > .catalog-inline-search-clear .icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit:hover,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit:focus-visible,
.catalog-inline-search > .catalog-inline-search-submit:hover,
.catalog-inline-search > .catalog-inline-search-submit:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  transform: none;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit:hover .icon,
body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit:focus-visible .icon,
.catalog-inline-search > .catalog-inline-search-submit:hover .icon,
.catalog-inline-search > .catalog-inline-search-submit:focus-visible .icon {
  transform: translateX(2px);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear:hover:not(:disabled),
body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear:focus-visible:not(:disabled),
.catalog-inline-search > .catalog-inline-search-clear:hover:not(:disabled),
.catalog-inline-search > .catalog-inline-search-clear:focus-visible:not(:disabled) {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear:disabled,
.catalog-inline-search > .catalog-inline-search-clear:disabled {
  cursor: default;
  opacity: 0.28;
}

/* Image-free editorial review cards keep the home page light. */
body.home .home-work-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--review-card-bg, #4a4a48);
  color: var(--review-card-ink, #202020);
  box-shadow: none;
}

body.home .home-work-card:nth-child(5n + 1) {
  --review-card-bg: #4a4a48;
  --review-card-ink: #f7f4ef;
}

body.home .home-work-card:nth-child(5n + 2) {
  --review-card-bg: #66727b;
  --review-card-ink: #f8f6f1;
}

body.home .home-work-card:nth-child(5n + 3) {
  --review-card-bg: #72383d;
  --review-card-ink: #fff7f3;
}

body.home .home-work-card:nth-child(5n + 4) {
  --review-card-bg: #d9d9d9;
  --review-card-ink: #292724;
}

body.home .home-work-card:nth-child(5n) {
  --review-card-bg: #efe9e1;
  --review-card-ink: #292724;
}

/* Category controls share the same rounded language in every catalog surface. */
:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button {
  border: 1px solid #cec8bd;
  border-radius: 999px;
  background: transparent;
  color: #625c54;
  white-space: nowrap;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button.is-active,
:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* The search sheet closes with a bare cross inside an invisible circular hit area. */
.catalog-tools-overlay .catalog-tools-close {
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.catalog-tools-overlay .catalog-tools-close:hover,
.catalog-tools-overlay .catalog-tools-close:focus-visible {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #000;
  transform: rotate(8deg);
}

/* The in-catalog filter deck starts directly with search; reset appears only when needed. */
.catalog-inline-head-actions {
  display: flex;
  min-height: 0;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.catalog-inline-head-actions:has(> button[hidden]) {
  display: none;
}

.catalog-inline-head-actions + .catalog-inline-search {
  margin-top: 0;
}

.catalog-inline-tools > .catalog-inline-search {
  margin-top: 0;
}

/* Filters meet the product grid without a shadow, grey seam, or spacer. */
body.bastion-catalog-page .catalog-inline-tools {
  border-bottom: 0;
  background: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.bastion-catalog-page .catalog-inline-tools + .catalog-scroll-tools + .product-grid {
  margin-top: 0;
}

@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-header-title,
  body.bastion-catalog-page.catalog-header-compact .catalog-header-title {
    display: none;
  }

  body.bastion-catalog-page .catalog-intro-scene {
    min-height: calc(100svh - 84px);
  }

  body.admin-bar.bastion-catalog-page .catalog-intro-scene {
    min-height: calc(100svh - 116px);
  }

  body.bastion-catalog-page .catalog-inline-tools {
    position: relative;
    top: auto;
  }

  body.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools {
    position: sticky;
    top: 53px;
    border-top: 1px solid rgba(32, 32, 32, 0.12);
  }

  body.admin-bar.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools {
    top: 85px;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  body.bastion-catalog-page .catalog-intro-scene {
    min-height: calc(100svh - 72px);
  }

  body.admin-bar.bastion-catalog-page .catalog-intro-scene {
    min-height: calc(100svh - 118px);
  }
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-scroll-tools {
    display: none !important;
  }

  body.bastion-catalog-page .catalog-inline-tools {
    position: relative;
    z-index: 48;
    top: auto;
    max-height: calc(100dvh - 58px);
    margin-right: calc(var(--page-gutter) * -1);
    margin-left: calc(var(--page-gutter) * -1);
    padding: 14px 12px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    border-color: transparent;
    background: #fff;
    box-shadow: none;
    opacity: 1;
    transform: translateY(0);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: transform 0.58s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease, box-shadow 0.38s ease;
    will-change: transform, opacity;
  }

  body.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools {
    position: sticky;
    top: 58px;
  }

  body.admin-bar.bastion-catalog-page .catalog-inline-tools {
    max-height: calc(100dvh - 104px);
  }

  body.admin-bar.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools {
    top: 104px;
  }

  body.bastion-catalog-page.catalog-tools-ready.catalog-tools-collapsed .catalog-inline-tools {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 58px));
  }

  body.bastion-catalog-page.catalog-tools-ready:not(.catalog-tools-collapsed) .catalog-inline-tools {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-panel,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-groups,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-groups > section {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-groups > section {
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-filter-options button:not(.is-active) {
    background: transparent;
    box-shadow: none;
  }
}

/* Search exits through one familiar back action instead of close crosses. */
.catalog-tools-overlay .catalog-tools-close {
  display: inline-flex;
  width: auto;
  min-width: 0;
  gap: 8px;
  padding: 0 4px;
  border-radius: 0;
  align-items: center;
  justify-content: center;
}

.catalog-tools-overlay .catalog-tools-close-arrow {
  display: grid;
  place-items: center;
}

.catalog-tools-overlay .catalog-tools-close-arrow .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
  transition: transform 0.22s ease;
}

.catalog-tools-overlay .catalog-tools-close-label {
  font: 500 10px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.catalog-tools-overlay .catalog-tools-close:hover,
.catalog-tools-overlay .catalog-tools-close:focus-visible {
  transform: none;
}

.catalog-tools-overlay .catalog-tools-close:hover .catalog-tools-close-arrow .icon,
.catalog-tools-overlay .catalog-tools-close:focus-visible .catalog-tools-close-arrow .icon {
  transform: translateX(-2px) rotate(180deg);
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-head {
    grid-template-columns: 74px minmax(0, 1fr) 74px;
  }

  body.bastion-catalog-page .catalog-tools-close {
    width: auto;
    justify-self: start;
    gap: 6px;
  }

  body.bastion-catalog-page .catalog-tools-close-label {
    font-size: 9px;
  }
}

/* The legal page stays readable without desktop-sized empty zones on phones. */
@media (max-width: 620px) {
  body.bastion-privacy-policy .privacy-hero {
    gap: 14px;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  body.bastion-privacy-policy .privacy-hero-note {
    margin-top: 2px;
    padding-top: 14px;
  }

  body.bastion-privacy-policy .privacy-hero-note p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
  }

  body.bastion-privacy-policy .privacy-layout {
    gap: 36px;
    padding-top: 32px;
    padding-bottom: 56px;
  }

  body.bastion-privacy-policy .privacy-index > p {
    padding: 13px 0;
  }

  body.bastion-privacy-policy .privacy-index a {
    padding: 12px 0;
    font-size: 14px;
  }

  body.bastion-privacy-policy .privacy-content article {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 34px;
  }

  body.bastion-privacy-policy .privacy-content article + article {
    padding-top: 34px;
  }

  body.bastion-privacy-policy .privacy-content h2 {
    margin: -4px 0 16px;
    font-size: clamp(32px, 10vw, 40px);
  }

  body.bastion-privacy-policy .privacy-content p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.62;
  }

  body.bastion-privacy-policy .privacy-table > div {
    gap: 6px;
    padding: 14px 0;
  }

  body.bastion-privacy-policy .privacy-table p {
    font-size: 14px;
    line-height: 1.58;
  }
}

/* Mobile product gallery: centered progress dots with a stronger active state. */
.gallery-pagination {
  display: none;
}

@media (max-width: 620px) {
  body.single-product .gallery-pagination {
    position: absolute;
    z-index: 5;
    bottom: 22px;
    left: 50%;
    display: flex;
    max-width: calc(100% - 40px);
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 2px 12px rgba(32, 32, 32, 0.12);
    transform: translateX(-50%);
  }

  body.single-product .gallery-pagination button {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-items: center;
  }

  body.single-product .gallery-pagination button > span {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(32, 32, 32, 0.34);
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  }

  body.single-product .gallery-pagination button[aria-current="true"] > span {
    width: 8px;
    height: 8px;
    background: #222;
    transform: scale(1.08);
  }

  body.single-product .gallery-pagination button:focus-visible {
    outline: 2px solid #222;
    outline-offset: -2px;
    border-radius: 50%;
  }
}

/* Desktop catalog search uses the available window height without clipping its filters. */
@media (min-width: 621px) {
  body.bastion-catalog-page .catalog-tools-dialog {
    max-height: 100dvh;
    overflow-y: hidden;
  }
}

@media (min-width: 621px) and (max-height: 560px) {
  body.bastion-catalog-page .catalog-tools-dialog {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  body.bastion-catalog-page .catalog-tools-head h2 {
    font-size: clamp(36px, 4vw, 48px);
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-filter-shell {
    margin-top: 18px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .filter-row {
    gap: 16px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search {
    min-height: 44px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-panel {
    margin-top: 14px;
    padding-top: 14px;
  }
}

/* Animated examples remain deliberately quieter than entered search text. */
body.bastion-catalog-page input[data-placeholder-cycle]::placeholder,
.services-delivery-search input[data-placeholder-cycle]::placeholder {
  color: rgba(74, 70, 65, 0.46);
  opacity: 1;
}

/* Product carousel dots stay subtle and sit directly on the photograph. */
@media (max-width: 620px) {
  body.single-product .gallery-pagination {
    gap: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  body.single-product .gallery-pagination button {
    width: 12px;
    height: 18px;
    flex-basis: 12px;
  }

  body.single-product .gallery-pagination button > span {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 1px 3px rgba(20, 20, 20, 0.12);
  }

  body.single-product .gallery-pagination button[aria-current="true"] > span {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.96);
    transform: none;
  }
}

/* Product names stay readable without moving the price or growing the purchase sheet. */
.product-title-shell {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.product-title-shell h1 {
  display: -webkit-box;
  max-height: 3.42em;
  overflow: hidden;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.product-title-copy-status {
  position: fixed;
  z-index: 520;
  right: auto;
  bottom: auto;
  left: 0;
  top: 0;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 26px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 8px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 6px));
  transition: opacity 0.2s ease, transform 0.26s ease;
}

.product-title-copy-status:empty {
  display: none;
}

.product-title-copy-status.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Catalog feedback stays attached to the control while the filter bar settles. */
.catalog-inline-sort,
[data-catalog-sort],
[data-catalog-quick-sort] {
  position: relative;
}

.catalog-sort-status {
  position: absolute;
  z-index: 12;
  right: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  top: auto;
  max-width: min(260px, calc(100vw - 16px));
  transform: translate(calc(-50% + var(--catalog-status-shift-x, 0px)), 6px);
  white-space: nowrap;
}

.catalog-sort-status.is-visible {
  transform: translate(calc(-50% + var(--catalog-status-shift-x, 0px)), 0);
}

.product-title-shell h1:focus-visible {
  border-radius: 2px;
  outline: 1px solid rgba(32, 32, 32, 0.5);
  outline-offset: 3px;
}

@media (min-width: 901px) {
  body.single-product .product-main {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 24.5vw, 380px);
    gap: clamp(26px, 2.8vw, 42px);
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  body.single-product .product-info {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  body.single-product .product-title-shell {
    grid-column: 1;
    order: 2;
    align-self: start;
  }

  body.single-product .product-title-shell h1 {
    max-height: 2.28em;
    font-size: clamp(31px, 9vw, 38px);
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.single-product .product-info-price {
    position: absolute;
    top: 51px;
    right: 20px;
    grid-column: auto;
    margin: 0;
    text-align: right;
  }
}

/* The mobile photo viewer is fully opaque and keeps short thumbnail rows centered. */
@media (max-width: 620px) {
  .gallery-lightbox {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .gallery-lightbox-thumbnails {
    justify-content: safe center;
    background: #fff;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .gallery-lightbox-thumbnails.is-overflowing:not(.is-at-end) {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 46px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 46px), transparent 100%);
  }

  .gallery-lightbox-close {
    background: #fff;
  }
}

/* Desktop catalog reset sits below search without changing the filter deck height. */
@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-tools-close {
    height: clamp(38px, 4.14vw, 62px);
    align-self: end;
    gap: 3px;
  }

  body.bastion-catalog-page .catalog-inline-head-actions {
    top: 60px;
    right: var(--page-gutter);
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-head-actions > button {
    min-height: 34px;
    padding: 0 8px;
  }

  body.bastion-catalog-page .catalog-inline-search {
    width: 100%;
  }

}

/* Desktop search reset aligns with the advanced-filter headings. */
@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-panel {
    position: relative;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-advanced-panel > [data-catalog-advanced-reset] {
    position: absolute;
    top: 16px;
    right: 0;
    bottom: auto;
    z-index: 2;
    height: auto;
    min-height: 24px;
    align-items: center;
    margin: 0;
    padding: 4px 0;
    line-height: 1;
  }
}

body.home .home-work-media.has-review::after {
  display: none;
}

body.home .home-work-card .works-card-review {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 42px);
  overflow: hidden;
  background: transparent;
  color: var(--review-card-ink);
  text-decoration: none;
  transform: none;
}

body.home .home-work-card .works-card-review-label {
  color: var(--review-card-ink);
  opacity: 0.58;
}

body.home .home-work-card .works-card-review-preview {
  display: block;
  max-width: 100%;
  max-height: none;
  overflow: visible;
  color: inherit;
  opacity: 1;
  white-space: normal;
  touch-action: manipulation;
  -webkit-line-clamp: unset;
}

body.home .home-work-card .works-card-review-person {
  color: var(--review-card-ink);
  opacity: 0.72;
}

@media (max-width: 620px) {
  body.home .home-work-card .works-card-review {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 22px 18px 18px;
    background: transparent;
  }
}

/* Works use the same image-free editorial review cards as the home page. */
.works-page .works-list > article:nth-of-type(n) {
  margin-top: 0;
}

.works-page .works-list > article:nth-of-type(2) {
  margin-top: 72px;
}

.works-page .works-list > article:nth-of-type(3) {
  margin-top: 18px;
}

.works-page .works-list > article:nth-of-type(4) {
  margin-top: 48px;
}

.works-page .works-list > article:nth-of-type(6) {
  margin-top: 82px;
}

.works-page .works-card-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--works-review-bg, #4a4a48);
  color: var(--works-review-ink, #f7f4ef);
  box-shadow: none;
}

body.home .home-work-media[data-review-initial],
.works-page .works-card-media[data-review-initial] {
  isolation: isolate;
}

body.home .home-work-media[data-review-initial]::before,
.works-page .works-card-media[data-review-initial]::before {
  content: attr(data-review-initial);
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  display: block;
  width: max-content;
  padding: 0.1em 0.12em 0.14em;
  color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
  background-clip: text;
  font: italic 400 clamp(230px, 27vw, 470px)/1 Georgia, serif;
  letter-spacing: -0.06em;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.review-letter-motion body.home .home-work-media[data-review-initial]::before,
html.review-letter-motion .works-page .works-card-media[data-review-initial]::before {
  opacity: 0;
  filter: blur(3px);
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 1.05s ease,
    filter 1s ease,
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html.review-letter-motion body.home .home-work-media[data-review-initial].is-review-letter-visible::before,
html.review-letter-motion .works-page .works-card-media[data-review-initial].is-review-letter-visible::before {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) scale(1);
}

.works-page .works-list > article:nth-of-type(6n + 1) {
  --works-review-bg: #4a4a48;
  --works-review-ink: #f7f4ef;
}

.works-page .works-list > article:nth-of-type(6n + 2) {
  --works-review-bg: #895b57;
  --works-review-ink: #fff8f3;
}

.works-page .works-list > article:nth-of-type(6n + 3) {
  --works-review-bg: #6d7882;
  --works-review-ink: #f7f5f0;
}

.works-page .works-list > article:nth-of-type(6n + 4) {
  --works-review-bg: #594940;
  --works-review-ink: #fbf7f2;
}

.works-page .works-list > article:nth-of-type(6n + 5) {
  --works-review-bg: #d5cec3;
  --works-review-ink: #292724;
}

.works-page .works-list > article:nth-of-type(6n) {
  --works-review-bg: #887c6e;
  --works-review-ink: #fbf8f3;
}

.works-page .works-card-media.has-review::after,
.works-page .works-card-media > img {
  display: none;
}

.works-page .works-card-review {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 2.8vw, 40px);
  overflow: hidden;
  background: transparent;
  color: var(--works-review-ink, #f7f4ef);
  opacity: 1;
  cursor: default;
  transform: none;
}

.works-page .works-list article:hover .works-card-review {
  transform: none;
}

.works-page .works-card-review-label {
  margin-bottom: 10px;
  color: inherit;
  opacity: 0.52;
}

.works-page .works-card-review-preview {
  color: inherit;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.1;
  display: block;
  max-height: none;
  opacity: 1;
}

.works-page .works-card-review-person {
  margin-top: 15px;
  color: inherit;
  opacity: 0.7;
}

.works-page .works-card-review-person small {
  display: block;
  max-height: none;
  margin-top: 5px;
  overflow: visible;
  color: inherit;
  opacity: 0.62;
}

@media (max-width: 620px) {
  .works-page .works-list {
    gap: 34px;
  }

  .works-page .works-list > article:nth-of-type(n) {
    margin-top: 0;
  }

  .works-page .works-card-review {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 22px 20px 20px;
    cursor: default;
  }

  body.home .home-work-media[data-review-initial]::before,
  .works-page .works-card-media[data-review-initial]::before {
    top: 50%;
    left: 50%;
    font-size: min(82vw, 390px);
  }

  .works-page .works-card-review-preview {
    display: block;
    max-height: none;
    overflow: visible;
    opacity: 1;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.1;
  }

  .works-page .works-card-review-person {
    margin-top: 12px;
  }

  .works-page .works-card-review-person strong {
    font-size: 11px;
  }

  .works-page .works-card-review-person small {
    display: block;
    max-height: 34px;
    margin-top: 5px;
    overflow: hidden;
    opacity: 0.62;
    font-size: 8px;
    line-height: 1.35;
  }

}

/* Review copy leads the hierarchy; project names remain quiet context. */
body.home .home-work-card .works-card-review-preview,
.works-page .works-card-review-preview {
  font-size: clamp(28px, 2.55vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

body.home .home-works-grid h3,
.works-page .works-list article > h2 {
  margin-top: 10px;
  margin-bottom: 7px;
  color: rgba(32, 32, 32, 0.68);
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

body.home .home-works-grid h3 a:hover {
  color: rgba(32, 32, 32, 0.88);
}

@media (max-width: 620px) {
  body.home .home-work-card .works-card-review-preview,
  .works-page .works-card-review-preview {
    font-size: clamp(26px, 7.25vw, 31px);
    line-height: 1.05;
  }

  body.home .home-works-grid h3,
  .works-page .works-list article > h2 {
    margin: 7px 0 5px;
    font-size: clamp(21px, 5.9vw, 24px);
    line-height: 1.05;
  }
}

/* Review cards carry all project context; only a quiet title remains below. */
body.home .home-work-card .works-card-review-person,
.works-page .works-card-review-person {
  display: block;
  margin-top: clamp(20px, 2vw, 30px);
  color: inherit;
  opacity: 0.68;
}

body.home .home-work-card .works-card-review-person strong,
.works-page .works-card-review-person strong {
  display: block;
  font: 600 clamp(11px, 0.9vw, 14px)/1.25 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

body.home .home-work-card .works-card-review-person small,
.works-page .works-card-review-person small {
  display: block;
  max-height: none;
  margin-top: 14px;
  overflow: visible;
  color: inherit;
  opacity: 1;
  font: 400 clamp(11px, 0.9vw, 14px)/1.45 var(--font-sans);
  letter-spacing: 0.01em;
}

body.home .home-work-card .works-card-review-person small::before {
  content: none;
}

body.home .home-work-meta,
.works-page .works-card-meta,
body.home .home-work-card > p,
.works-page .works-list article > p {
  display: none;
}

body.home .home-works-grid h3,
.works-page .works-list article > h2 {
  margin: 13px 0 0;
  color: rgba(32, 32, 32, 0.58);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.005em;
}

@media (max-width: 620px) {
  body.home .home-work-card .works-card-review-person,
  .works-page .works-card-review-person {
    margin-top: 18px;
  }

  body.home .home-work-card .works-card-review-person strong,
  .works-page .works-card-review-person strong {
    font-size: 11px;
  }

  body.home .home-work-card .works-card-review-person small,
  .works-page .works-card-review-person small {
    max-height: none;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  body.home .home-works-grid h3,
  .works-page .works-list article > h2 {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.3;
  }
}

@media (min-width: 621px) {
  body.home .home-work-card .works-card-review-preview,
  .works-page .works-card-review-preview {
    min-height: 0;
    max-height: none;
    padding-right: 0;
    overflow: visible;
    font-size: clamp(24px, 2.05vw, 34px);
    line-height: 1.06;
  }
}

/* Tablet review cards keep the quote legible without squeezing in secondary copy. */
@media (min-width: 621px) and (max-width: 900px) {
  body.home .home-work-card .works-card-review-label,
  body.home .home-work-card .works-card-review-person,
  .works-page .works-card-review-label,
  .works-page .works-card-review-person {
    display: none;
  }

  body.home .home-work-card .works-card-review-preview,
  .works-page .works-card-review-preview {
    font-size: clamp(21px, 3.25vw, 28px);
    line-height: 1.08;
  }
}

/* Keep the desktop catalog filter header useful without covering the products. */
@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-tools {
    max-height: 48dvh;
    padding: 12px var(--page-gutter) 14px;
  }

  body.bastion-catalog-page .catalog-inline-head-actions {
    margin-bottom: 6px;
  }

  body.bastion-catalog-page .catalog-inline-search {
    min-height: 38px;
  }

  body.bastion-catalog-page .catalog-inline-search input {
    padding: 6px 0;
    font-size: 15px;
  }

  body.bastion-catalog-page .catalog-inline-search > button {
    min-height: 34px;
  }

  body.bastion-catalog-page .catalog-inline-main {
    gap: 16px;
    margin-top: 10px;
  }

  body.bastion-catalog-page .catalog-inline-categories {
    gap: 6px;
  }

  body.bastion-catalog-page .catalog-inline-categories .catalog-category-button {
    min-height: 34px;
    padding: 7px 14px;
  }

  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: auto minmax(180px, 1fr) repeat(3, 34px);
    gap: 0 7px;
    padding-top: 0;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-price-label {
    margin-top: 5px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider {
    height: 19px;
    margin-bottom: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-track,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-selection {
    top: 8px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"] {
    height: 19px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label {
    min-height: 25px;
  }

  body.bastion-catalog-page .catalog-inline-sort,
  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle,
  body.bastion-catalog-page .catalog-inline-more {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  body.bastion-catalog-page .catalog-inline-advanced {
    gap: clamp(20px, 3vw, 44px);
    margin-top: 12px;
    padding-top: 12px;
  }

  body.bastion-catalog-page .catalog-inline-advanced h3 {
    margin-bottom: 8px;
  }
}

/* Mobile uses the synchronized fixed filter deck once the product grid is reached. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-scroll-tools {
    display: grid !important;
    top: 58px;
    max-height: calc(100dvh - 58px);
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    overscroll-behavior: contain;
  }

  body.admin-bar.bastion-catalog-page .catalog-scroll-tools {
    top: 104px;
    max-height: calc(100dvh - 104px);
  }

  body.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools,
  body.admin-bar.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools {
    position: relative;
    top: auto;
  }
}

/* Product titles stay on one compact line, with the door type directly below. */
.product-card .product-card-title h3 {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  white-space: nowrap;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.product-card .product-card-title .product-type {
  margin-top: 0;
}

/* Product previews stay quiet; save and viewed actions live beyond the thumbnail. */
.product-card .product-card-footer {
  grid-template-columns: minmax(0, 1fr);
}

/* Chromium adds its own desktop-only clear control; the catalog already has one. */
body.bastion-catalog-page .catalog-search input[type="search"]::-webkit-search-cancel-button,
body.bastion-catalog-page .catalog-inline-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .filter-row .catalog-category-button,
  body.bastion-catalog-page .catalog-inline-categories .catalog-category-button {
    font-size: 11px;
    line-height: 1.15;
  }

  body.bastion-catalog-page .catalog-inline-search input {
    font-size: 16px;
  }

  body.bastion-catalog-page .catalog-inline-search input::placeholder {
    color: #817a70;
    opacity: 1;
  }
}

/* The resting mobile catalog header shows categories first and expands on demand. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-scroll-tools {
    gap: 0;
    padding: 8px 10px 9px;
  }

  body.bastion-catalog-page .catalog-scroll-tools-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    gap: 0 8px;
  }

  body.bastion-catalog-page .catalog-scroll-categories {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    gap: 5px;
  }

  body.bastion-catalog-page .catalog-scroll-categories .catalog-category-button {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 10px;
  }

  body.bastion-catalog-page .catalog-scroll-tools .catalog-scroll-more {
    display: grid;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    border-radius: 50%;
    place-items: center;
  }

  body.bastion-catalog-page .catalog-scroll-price-sort {
    width: 100%;
    max-height: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 0.46s cubic-bezier(0.22, 0.8, 0.2, 1),
      margin-top 0.46s cubic-bezier(0.22, 0.8, 0.2, 1),
      padding-top 0.46s cubic-bezier(0.22, 0.8, 0.2, 1),
      padding-bottom 0.46s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.28s ease,
      transform 0.42s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.catalog-scroll-advanced-open.bastion-catalog-page .catalog-scroll-price-sort {
    max-height: 156px;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.catalog-scroll-advanced-open.bastion-catalog-page .catalog-scroll-tools .catalog-scroll-advanced {
    max-height: 50px;
    margin-top: 16px;
    padding-top: 2px;
  }
}

/* Scrolled mobile search keeps advanced filters on the same flat surface. */
@media (max-width: 620px) {
  body.bastion-catalog-page.catalog-tools-ready .catalog-tools-overlay .catalog-advanced-panel:not([hidden]),
  body.admin-bar.bastion-catalog-page.catalog-tools-ready .catalog-tools-overlay .catalog-advanced-panel:not([hidden]) {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    max-height: none;
    margin: 20px 0 0;
    padding: 18px 0 0;
    overflow: visible;
    border-top: 1px solid rgba(32, 32, 32, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 620px) {
  body.bastion-catalog-page [data-catalog-advanced-reset],
  body.bastion-catalog-page [data-catalog-inline-reset],
  body.bastion-catalog-page [data-catalog-quick-reset] {
    display: none !important;
  }
}

/* Mobile catalog filters stay in the page flow instead of becoming a second header. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-scroll-tools {
    display: none !important;
  }

  body.bastion-catalog-page .catalog-inline-tools,
  body.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools,
  body.admin-bar.bastion-catalog-page.catalog-tools-ready .catalog-inline-tools {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

/* Desktop in-catalog controls reserve the lower-right slot for reset. */
@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-main {
    grid-template-columns: minmax(0, 1fr) minmax(590px, 700px);
  }

  body.bastion-catalog-page .catalog-inline-price {
    grid-column: 2;
    width: min(100%, 700px);
    grid-template-columns: auto minmax(180px, 1fr) repeat(3, 38px) 82px;
    transform: none;
  }

  body.bastion-catalog-page .catalog-inline-reset {
    display: inline-flex;
    min-height: 38px;
    grid-column: 6;
    grid-row: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #68625a;
    cursor: pointer;
    font: 500 9px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  body.bastion-catalog-page .catalog-inline-reset[hidden] {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-reset:hover,
  body.bastion-catalog-page .catalog-inline-reset:focus-visible {
    color: var(--ink);
  }

  body.bastion-catalog-page .catalog-inline-reset .icon {
    width: 11px;
    height: 11px;
  }
}

/* Keep mobile category pills in one horizontally scrollable row. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-categories {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.bastion-catalog-page .catalog-inline-categories::-webkit-scrollbar {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-categories .catalog-category-button {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
  }
}

/* A short, low-contrast pulse hints that the price handles can be dragged. */
@keyframes catalog-price-handle-hint {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(32, 32, 32, 0);
  }

  45% {
    box-shadow: 0 0 0 5px rgba(32, 32, 32, 0.12);
  }
}

.catalog-price-range.is-price-hinting .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
  animation: catalog-price-handle-hint 1.5s ease-in-out 3;
}

.catalog-price-range.is-price-hinting .catalog-price-slider input[type="range"]::-moz-range-thumb {
  animation: catalog-price-handle-hint 1.5s ease-in-out 3;
}

.catalog-price-range.is-price-hinting .catalog-price-slider input[type="range"]:last-child::-webkit-slider-thumb {
  animation-delay: 0.18s;
}

.catalog-price-range.is-price-hinting .catalog-price-slider input[type="range"]:last-child::-moz-range-thumb {
  animation-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-price-range.is-price-hinting .catalog-price-slider input[type="range"]::-webkit-slider-thumb,
  .catalog-price-range.is-price-hinting .catalog-price-slider input[type="range"]::-moz-range-thumb {
    animation: none;
  }
}

/* Mobile search uses a larger, icon-only back action. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-head {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-tools-close {
    width: 42px;
    height: 42px;
    gap: 0;
    padding: 0;
  }

  body.bastion-catalog-page .catalog-tools-close-label {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-close-arrow .icon {
    width: 21px;
    height: 21px;
  }
}

/* Keep the mobile contacts intro compact around its small section label. */
@media (max-width: 620px) {
  body .contacts-page .contacts-copy {
    padding-top: 34px;
  }

  body .contacts-page .contacts-copy .eyebrow {
    margin-bottom: 14px;
  }
}

/* Exact color filters use a flat fill with no gloss or depth effects. */
.catalog-color-filter > span,
.catalog-scroll-tools button.catalog-color-filter > span {
  background-color: var(--filter-color);
  background-image: none;
  box-shadow: none;
}

/* Align both mobile catalog search rows on one quiet optical baseline. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-search,
  body.bastion-catalog-page .catalog-inline-search {
    min-height: 48px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field,
  body.bastion-catalog-page .catalog-inline-search > label {
    height: 48px;
    min-height: 48px;
    align-items: center;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field > .icon,
  body.bastion-catalog-page .catalog-inline-search > label > .icon,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-search > button .icon,
  body.bastion-catalog-page .catalog-inline-search > button .icon {
    width: 16px;
    height: 16px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear .icon {
    width: 16px;
    height: 16px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search-field input,
  body.bastion-catalog-page .catalog-inline-search input {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 15px;
    line-height: 1.25;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-submit,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-search > .catalog-search-clear,
  body.bastion-catalog-page .catalog-inline-search > .catalog-inline-search-submit,
  body.bastion-catalog-page .catalog-inline-search > .catalog-inline-search-clear {
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
  }
}

/* On phones the catalog link follows the recommendation cards. */
@media (max-width: 620px) {
  body:is(.single-product, .home) .related-actions-desktop {
    display: none;
  }

  body:is(.single-product, .home) .related-actions-mobile {
    display: flex;
    width: auto;
    margin: 16px var(--page-gutter) 0;
  }

  body:is(.single-product, .home) .related-actions-mobile > a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }
}

/* Favorites share the catalog's dense, edge-to-edge product grid. */
.favorites-content .product-grid {
  column-gap: 2px;
  row-gap: 18px;
  margin-right: calc(3px - var(--page-gutter));
  margin-left: calc(3px - var(--page-gutter));
}

@media (min-width: 901px) {
  .favorites-content .product-grid.is-single-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .favorites-content .product-grid {
    column-gap: 1px;
    row-gap: 14px;
    margin-right: calc(1px - var(--page-gutter));
    margin-left: calc(1px - var(--page-gutter));
  }

  .favorites-content .product-grid.is-single-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The catalog return control is solid and its arrow stays optically centered. */
body.bastion-catalog-page .to-top.is-floating,
body.bastion-catalog-page .footer-minimal > .to-top.is-floating,
body.bastion-catalog-page .to-top.is-floating.is-over-footer,
body.bastion-catalog-page .to-top.is-floating:hover,
body.bastion-catalog-page .footer-minimal > .to-top.is-floating.is-over-footer,
body.bastion-catalog-page .footer-minimal > .to-top.is-floating:hover {
  display: grid;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 24, 22, 0.12);
  line-height: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  place-items: center;
}

body.bastion-catalog-page .to-top.is-floating .icon-up,
body.bastion-catalog-page .to-top.is-floating:hover .icon-up {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  margin: 0;
  transform: none;
}

/* Georgia needs a taller line box so product names are not clipped vertically. */
body.single-product .product-info .product-title-shell h1 {
  line-height: 1.14;
}

/* Desktop product pages use the regular site header and begin flush beneath it. */
@media (min-width: 901px) {
  body.single-product .site-header,
  body.admin-bar.single-product .site-header {
    height: 84px;
    padding: 12px 4.5vw;
  }

  body.single-product .site-header .brand {
    height: 60px;
  }

  body.single-product .site-header .brand img {
    max-height: 60px;
  }

  body.single-product .site-header .nav {
    gap: clamp(22px, 3vw, 52px);
    font-size: 12px;
  }

  body.single-product .header-actions {
    gap: 20px;
  }

  body.single-product .product-main {
    padding-top: 0;
  }
}

/* Mobile privacy keeps only the dividers that separate meaningful content rows. */
@media (max-width: 620px) {
  body.bastion-privacy-policy .privacy-hero,
  body.bastion-privacy-policy .privacy-index,
  body.bastion-privacy-policy .privacy-table {
    border-top: 0;
    border-bottom: 0;
  }

  body.bastion-privacy-policy .privacy-table > div:last-child {
    border-bottom: 0;
  }
}

/* Desktop privacy page: remove decorative dividers around the intro and data table. */
@media (min-width: 621px) {
  body.bastion-privacy-policy .privacy-hero-note,
  body.bastion-privacy-policy .privacy-index {
    border-top: 0;
  }

  body.bastion-privacy-policy .privacy-table > div:last-child {
    border-bottom: 0;
  }
}

/* The dedicated search menu reuses the catalog filter deck's visual language. */
body.bastion-catalog-page .catalog-tools-overlay .filter-row {
  display: block;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 38px;
  margin-top: clamp(30px, 5vh, 52px);
  padding: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.55);
  justify-self: stretch;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search .catalog-search-field {
  display: grid;
  height: auto;
  min-height: 38px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-right: 78px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search .catalog-search-field > .icon {
  width: 20px;
  height: 20px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search input {
  width: 100%;
  padding: 6px 0;
  font: 400 15px/1.2 var(--font-sans);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-inline-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-inline-categories .catalog-category-button {
  min-height: 34px;
  padding: 7px 14px;
  font-size: 10px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
  display: grid;
  width: min(100%, 620px);
  grid-template-columns: auto minmax(180px, 1fr) repeat(2, 34px);
  grid-template-rows: auto;
  align-items: start;
  justify-self: end;
  gap: 0 7px;
  padding: 0;
  border-left: 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-price-label {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 5px;
  font-size: 12px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-range {
  display: flex;
  width: 100%;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  margin: 0;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider {
  order: 1;
  height: 19px;
  margin: 0 5px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider-track,
body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider-selection {
  top: 8px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider input[type="range"] {
  height: 19px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values {
  order: 2;
  gap: 8px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values label {
  min-height: 25px;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort,
body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  grid-row: 1;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort {
  grid-column: 3;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle {
  grid-column: 4;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-advanced {
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(32, 32, 32, 0.14);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-advanced .catalog-advanced-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-advanced h3 {
  margin: 0 0 8px;
  color: #625c54;
  font: 500 12px/1.3 var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
}

body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-advanced .catalog-filter-options button {
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 900px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search {
    min-height: 48px;
    margin-top: 24px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search .catalog-search-field {
    height: 48px;
    min-height: 48px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-inline-categories {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-inline-categories .catalog-category-button {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 11px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    grid-template-columns: auto minmax(0, 1fr) repeat(2, 36px);
    gap: 0 7px;
    padding-top: 2px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-price-label {
    margin-top: 9px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values {
    gap: 5px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values label {
    min-height: 28px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-advanced {
    margin-top: 20px;
    padding-top: 18px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-advanced .catalog-advanced-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* Telegram phone discoverability confirmation. */
body.telegram-phone-confirm-active {
  overflow: hidden;
}

.telegram-phone-confirm[hidden] {
  display: none;
}

.telegram-phone-confirm {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: max(20px, env(safe-area-inset-top)) var(--page-gutter) max(20px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0s linear 0.26s;
}

.telegram-phone-confirm.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.telegram-phone-confirm-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(24, 24, 22, 0.58);
  cursor: pointer;
}

.telegram-phone-confirm-dialog {
  position: relative;
  width: min(100%, 650px);
  max-height: calc(100dvh - 40px);
  padding: clamp(28px, 4vw, 52px);
  overflow-y: auto;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(24, 24, 22, 0.2);
  opacity: 0;
  outline: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.telegram-phone-confirm.is-open .telegram-phone-confirm-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.telegram-phone-confirm-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.telegram-phone-confirm-dialog .eyebrow {
  margin: 0;
  color: #777168;
}

.telegram-phone-confirm-dialog > header > button {
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.telegram-phone-confirm-dialog > header > button:hover,
.telegram-phone-confirm-dialog > header > button:focus-visible {
  background: transparent;
  color: var(--ink);
  opacity: 0.55;
  transform: rotate(7deg);
}

.telegram-phone-confirm-dialog > header > button .icon {
  width: 13px;
  height: 13px;
}

.telegram-phone-confirm-dialog h2 {
  max-width: 560px;
  margin: 0;
  font: 400 clamp(38px, 4.2vw, 58px)/0.96 Georgia, serif;
  letter-spacing: -0.04em;
}

.telegram-phone-confirm-dialog h2 + p {
  max-width: 520px;
  margin: 20px 0 28px;
  color: #625c54;
  font: 400 14px/1.55 var(--font-sans);
}

.telegram-phone-confirm-route-label {
  margin: 0 0 9px;
  color: #8a847b;
  font: 600 8px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.telegram-phone-confirm-steps {
  margin: 0;
  padding: 5px 0;
  border-top: 1px solid rgba(32, 32, 32, 0.16);
  border-bottom: 1px solid rgba(32, 32, 32, 0.16);
  list-style: none;
}

.telegram-phone-confirm-steps li {
  display: grid;
  min-height: 52px;
  grid-template-columns: 28px minmax(130px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 14px;
  padding: 11px 10px 11px 0;
  color: #4f4a43;
  transition: background-color 0.24s ease, padding-left 0.24s ease;
}

.telegram-phone-confirm-steps li:hover {
  padding-left: 6px;
  background: rgba(33, 30, 26, 0.035);
}

.telegram-phone-confirm-steps li > span {
  color: #918b82;
  font: 500 9px/1 var(--font-sans);
  letter-spacing: 0.12em;
}

.telegram-phone-confirm-steps li > strong {
  color: var(--ink);
  font: 400 18px/1.05 Georgia, serif;
}

.telegram-phone-confirm-steps li > p {
  margin: 0;
  color: #655f57;
  font: 400 10px/1.45 var(--font-sans);
}

.telegram-phone-confirm-steps li > p b {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: 3px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.telegram-phone-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-top: 30px;
}

.telegram-phone-confirm-actions > button {
  width: 100%;
  min-height: 56px;
  cursor: pointer;
}

.telegram-phone-confirm-actions > .primary-cta {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 600 10px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.telegram-phone-confirm-actions > .primary-cta:hover,
.telegram-phone-confirm-actions > .primary-cta:focus-visible {
  background: transparent;
  color: var(--ink);
}

.telegram-phone-confirm-actions > .primary-cta .icon {
  width: 16px;
  height: 16px;
}

.telegram-phone-confirm-actions > [data-telegram-phone-use-username] {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(32, 32, 32, 0.34);
  background: #fff;
  color: var(--ink);
  font: 600 10px/1.25 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.telegram-phone-confirm-actions > [data-telegram-phone-use-username]:hover,
.telegram-phone-confirm-actions > [data-telegram-phone-use-username]:focus-visible {
  border-color: var(--ink);
  background: #f3f2ef;
}

@media (max-width: 620px) {
  .telegram-phone-confirm {
    align-items: end;
    padding: 0;
  }

  .telegram-phone-confirm-dialog {
    width: 100%;
    max-height: calc(100dvh - max(14px, env(safe-area-inset-top)));
    padding: 24px 20px max(22px, env(safe-area-inset-bottom));
    transform: translateY(24px);
  }

  .telegram-phone-confirm-dialog > header {
    margin-bottom: 15px;
  }

  .telegram-phone-confirm-dialog h2 {
    font-size: clamp(34px, 10.5vw, 43px);
  }

  .telegram-phone-confirm-dialog h2 + p {
    margin: 15px 0 20px;
    font-size: 13px;
    line-height: 1.45;
  }

  .telegram-phone-confirm-steps {
    padding: 4px 0;
  }

  .telegram-phone-confirm-steps li {
    min-height: 58px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 3px 9px;
    padding: 9px 4px 9px 0;
  }

  .telegram-phone-confirm-steps li:hover {
    padding-left: 0;
    background: transparent;
  }

  .telegram-phone-confirm-steps li > span {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 4px;
  }

  .telegram-phone-confirm-steps li > strong {
    font-size: 17px;
  }

  .telegram-phone-confirm-steps li > p {
    font-size: 10px;
  }

  .telegram-phone-confirm-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .telegram-phone-confirm-actions > .primary-cta {
    width: 100%;
    min-height: 56px;
    gap: 8px;
    padding: 12px 13px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .telegram-phone-confirm-actions > [data-telegram-phone-use-username] {
    padding: 12px 10px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-phone-confirm,
  .telegram-phone-confirm-dialog {
    transition-duration: 0.01ms;
  }
}

/* A dark grid control means the catalog is using the enlarged-card layout. */
body.bastion-catalog-page .catalog-grid-toggle[aria-pressed="false"] {
  border-color: rgba(32, 32, 32, 0.22);
  background: transparent;
  color: var(--ink);
}

body.bastion-catalog-page .catalog-grid-toggle[aria-pressed="true"],
body.bastion-catalog-page .catalog-grid-toggle[aria-pressed="true"]:hover,
body.bastion-catalog-page .catalog-scroll-tools .catalog-scroll-price-sort > button.catalog-scroll-grid[aria-pressed="true"],
body.bastion-catalog-page .catalog-scroll-tools .catalog-scroll-price-sort > button.catalog-scroll-grid[aria-pressed="true"]:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Mobile product header keeps the home-page logo rhythm and gallery guidance. */
.product-gallery-swipe-hint {
  display: none;
}

@media (max-width: 620px) {
  body.single-product .site-header,
  body.admin-bar.single-product .site-header {
    position: fixed;
    height: 72px;
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }

  body.single-product main {
    padding-top: 72px;
  }

  body.single-product .site-header .brand {
    display: block;
    left: calc(50% - 10px);
    width: 180px;
    height: 52px;
  }

  body.single-product .site-header .brand img {
    max-width: 176px;
    max-height: 52px;
  }

  body.single-product .header-actions {
    position: absolute;
    top: 50%;
    right: 20px;
    left: 20px;
    display: grid;
    width: auto;
    grid-column: auto;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 0;
    pointer-events: none;
    transform: translateY(-50%);
  }

  body.single-product .product-header-back {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    pointer-events: auto;
  }

  body.single-product .header-favorites {
    width: 36px;
    height: 36px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    pointer-events: auto;
  }

  body.single-product .product-gallery-swipe-hint {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    color: #fff;
    font: 600 9px/1 var(--font-sans);
    text-shadow: 0 1px 7px rgba(20, 20, 18, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s ease;
  }

  body.single-product .product-gallery-swipe-hint[hidden] {
    display: none;
  }

  body.single-product .product-gallery-swipe-hint.is-dismissed {
    opacity: 0;
    transform: translateX(8px);
  }

  body.single-product .product-gallery-swipe-hint .icon {
    width: 15px;
    height: 15px;
    filter: drop-shadow(0 1px 5px rgba(20, 20, 18, 0.65));
    animation: collection-hint-slide 1.8s cubic-bezier(0.22, 0.8, 0.2, 1) infinite;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).single-product .site-header {
      height: calc(72px + env(safe-area-inset-top));
      padding-top: calc(8px + env(safe-area-inset-top));
    }

    body:not(.admin-bar).single-product main {
      padding-top: calc(72px + env(safe-area-inset-top));
    }
  }
}

@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  body.single-product .product-gallery-swipe-hint .icon {
    animation: none;
  }
}

/* Match the space above saved products to the gap between product rows. */
.favorites-page.has-favorites .favorites-content {
  padding-top: 18px;
}

@media (max-width: 620px) {
  .favorites-page.has-favorites .favorites-content {
    padding-top: 14px;
  }
}

/* Mobile privacy: a quieter hero transition and a clearer contents index. */
@media (max-width: 620px) {
  body.bastion-privacy-policy .privacy-hero-note {
    border-top: 0;
  }

  body.bastion-privacy-policy .privacy-index > p {
    font-size: 11px;
  }

  body.bastion-privacy-policy .privacy-index a {
    font-size: 15px;
  }
}

/* Footer company information uses bounded disclosures on every screen size. */
.footer-company-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-company-toggle {
  min-height: 58px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  pointer-events: auto;
}

.footer-company-toggle:hover,
.footer-company-toggle:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.footer-company-toggle-icon {
  display: inline-flex;
}

.footer-company-toggle-icon .icon {
  transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.footer-company-toggle[aria-expanded="true"] .footer-company-toggle-icon .icon {
  transform: rotate(180deg);
}

.footer-company-content {
  display: none;
}

.footer-company-toggle[aria-expanded="true"] + .footer-company-content {
  display: block;
  padding-bottom: 12px;
  animation: footer-company-content-in 0.32s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

.footer-company-content > .footer-company-list {
  max-height: min(42dvh, 360px);
  padding-right: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  scrollbar-width: thin;
}

.footer-company-content > .footer-company-list::-webkit-scrollbar {
  width: 3px;
}

.footer-company-content > .footer-company-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
}

@media (min-width: 621px) {
  body.page-template-page-contacts .contact-disclosure-static .contact-disclosure-pill,
  body.bastion-contacts-page .contact-disclosure-static .contact-disclosure-pill,
  body .contacts-page .contact-disclosure-static .contact-disclosure-pill {
    display: none;
  }
}

@media (max-width: 620px) {
  .footer-company-content > .footer-company-list {
    max-height: min(48dvh, 390px);
    overflow-y: auto;
  }
}

/* Desktop footer keeps the original, fully visible company-information layout. */
@media (min-width: 621px) {
  .footer-minimal .footer-lead {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-minimal .footer-lead-action {
    display: contents;
    width: auto;
  }

  .footer-minimal .footer-lead-logo,
  .footer-minimal .footer-desktop-links {
    display: none;
  }

  .footer-minimal > .footer-company {
    display: grid;
  }

  .footer-minimal .footer-company-panel {
    border: 0;
  }

  .footer-minimal .footer-company-toggle {
    min-height: 0;
    padding: 13px 0 15px;
    color: rgba(255, 255, 255, 0.42);
    cursor: default;
    pointer-events: none;
  }

  .footer-minimal .footer-company-toggle:hover,
  .footer-minimal .footer-company-toggle:focus-visible {
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
  }

  .footer-minimal .footer-company-toggle-icon {
    display: none;
  }

  .footer-minimal .footer-company-content,
  .footer-minimal .footer-company-toggle[aria-expanded="true"] + .footer-company-content {
    display: block;
    padding-bottom: 0;
    animation: none;
  }

  .footer-minimal .footer-company-content > .footer-company-list {
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }
}

/* The site author credit unfolds into the studio's profile links. */
.site-author dd {
  min-height: 36px;
  align-content: center;
}

.site-author .site-author-toggle {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: inherit;
}

.site-author .site-author-toggle:hover,
.site-author .site-author-toggle:focus-visible {
  background: transparent;
  color: var(--ink);
}

.site-author .site-author-toggle .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  transition: transform 0.24s ease;
}

.site-author .site-author-toggle:hover .icon,
.site-author .site-author-toggle:focus-visible .icon {
  transform: translateX(3px);
}

.site-author-name-short {
  display: none;
}

.site-author.is-open .site-author-toggle {
  display: none;
}

.site-author-links[hidden] {
  display: none;
}

.site-author-links {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  animation: site-author-links-in 0.28s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

.site-author-links > a,
.site-author-links > button {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(32, 32, 32, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #565149;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  place-items: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-author-links > a:hover,
.site-author-links > a:focus-visible,
.site-author-links > button:hover,
.site-author-links > button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.site-author-links .social-icon {
  width: 16px;
  height: 16px;
}

.site-author-links > button .icon {
  width: 12px;
  height: 12px;
  margin: 0;
  justify-self: center;
}

@keyframes site-author-links-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .site-author-name-full {
    display: none;
  }

  .site-author-name-short {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-author-links {
    animation: none;
  }
}

/* Desktop search actions share one aligned row, with reset in the final slot. */
@media (min-width: 621px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    width: min(100%, 700px);
    grid-template-columns: auto minmax(180px, 1fr) 38px 38px 82px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle {
    display: grid;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 50%;
    box-sizing: border-box;
    place-items: center;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort {
    grid-column: 3;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle {
    grid-column: 4;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-reset {
    display: inline-flex;
    width: 82px;
    min-width: 82px;
    height: 38px;
    min-height: 38px;
    grid-column: 5;
    grid-row: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #68625a;
    cursor: pointer;
    font: 500 9px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-reset[hidden] {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-reset:hover,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-reset:focus-visible {
    color: var(--ink);
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-reset .icon {
    width: 11px;
    height: 11px;
  }
}

/* Mobile search keeps one full-reset action in the header. */
.catalog-tools-mobile-reset {
  display: none;
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-head {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
  }

  body.bastion-catalog-page .catalog-tools-head > div {
    grid-column: 2;
  }

  body.bastion-catalog-page .catalog-tools-mobile-reset {
    display: grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    place-items: center;
  }

  body.bastion-catalog-page .catalog-tools-mobile-reset[hidden] {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-mobile-reset .icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search .catalog-search-field {
    padding-right: 40px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search > .catalog-search-clear {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-search > .catalog-search-submit {
    right: 2px;
  }
}

/* The free-form contact method stays compact on phones. */
@media (max-width: 520px) {
  body .contact-preference .contact-method-other-direct > span {
    font-size: 0;
  }

  body .contact-preference .contact-method-other-direct > span::after {
    content: attr(data-mobile-label);
    font-size: 9px;
    line-height: 1.2;
  }
}

/* Delivery confirmation follows the full-width editorial CTA rhythm. */
.services-delivery-search > .services-delivery-search-result {
  min-height: 82px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
  margin-top: 12px;
}

.services-delivery-search-result > p {
  align-self: end;
  color: #625c54;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: normal;
  text-overflow: clip;
  white-space: normal;
}

.services-delivery-search-result > a {
  width: 100%;
  min-height: 42px;
  align-self: end;
  gap: 24px;
  padding: 13px 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

@media (max-width: 620px) {
  .services-delivery-search > .services-delivery-search-result {
    min-height: 88px;
    gap: 8px;
    margin-top: 12px;
  }

  .services-delivery-search-result > p {
    font-size: 14px;
    line-height: 1.55;
  }

  .services-delivery-search-result > a {
    width: 100%;
    min-height: 46px;
    gap: 24px;
    padding: 14px 2px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}

/* Footer contact details stay direct and compact without messenger shortcuts. */
.footer-company-contact dd {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px clamp(8px, 1.4vw, 22px);
}

.footer-company-contact dd > a {
  white-space: nowrap;
}

@media (min-width: 621px) {
  .footer-company-contact dd {
    flex-wrap: nowrap;
  }
}

@media (max-width: 620px) {
  .footer-company-contact dd {
    column-gap: 8px;
    font-size: clamp(10px, 2.8vw, 13px);
  }
}

/* First-use gallery guidance extends the mobile product header by one quiet row. */
@media (max-width: 620px) {
  body.single-product main {
    transition: padding-top 0.32s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.single-product.product-gallery-hint-visible main {
    padding-top: 114px;
  }

  body.single-product .product-gallery-swipe-hint {
    position: fixed;
    z-index: 1090;
    top: 72px;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-top: 1px solid rgba(32, 32, 32, 0.12);
    border-right: 0;
    border-bottom: 1px solid rgba(32, 32, 32, 0.1);
    border-left: 0;
    appearance: none;
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    font: 600 10px/1 var(--font-sans);
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.22, 0.8, 0.2, 1);
    -webkit-backdrop-filter: blur(16px) saturate(0.72);
    backdrop-filter: blur(16px) saturate(0.72);
  }

  body.single-product .product-gallery-swipe-hint.is-dismissed {
    opacity: 0;
    transform: translateY(-100%);
  }

  body.single-product .product-gallery-swipe-hint .icon {
    width: 17px;
    height: 17px;
    filter: none;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).single-product.product-gallery-hint-visible main {
      padding-top: calc(114px + env(safe-area-inset-top));
    }

    body:not(.admin-bar).single-product .product-gallery-swipe-hint {
      top: calc(72px + env(safe-area-inset-top));
    }
  }
}

/* Fullscreen product photos use the same quiet mobile header as the map. */
.gallery-lightbox-header {
  display: none;
}

@media (max-width: 620px) {
  body.gallery-lightbox-open .product-gallery-swipe-hint {
    display: none !important;
  }

  .gallery-lightbox-header {
    position: absolute;
    z-index: 7;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: calc(58px + env(safe-area-inset-top));
    align-items: flex-end;
    justify-content: center;
    padding: env(safe-area-inset-top) 16px 0;
    border-bottom: 1px solid rgba(31, 29, 26, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    -webkit-backdrop-filter: blur(16px) saturate(0.78);
    backdrop-filter: blur(16px) saturate(0.78);
  }

  .gallery-lightbox-header > strong {
    display: grid;
    height: 58px;
    place-items: center;
    font: 500 14px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .gallery-lightbox-header-close {
    position: absolute;
    right: max(8px, env(safe-area-inset-right));
    bottom: 9px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    place-items: center;
  }

  .gallery-lightbox-header-close .icon {
    width: 17px;
    height: 17px;
    transform: none;
  }

  .gallery-lightbox-figure {
    top: calc(58px + env(safe-area-inset-top));
    height: calc(100% - 58px - env(safe-area-inset-top));
  }

  .gallery-lightbox-controls {
    display: none;
  }
}

/* Desktop footer information reads as one aligned four-row table. */
@media (min-width: 621px) {
  .footer-minimal .footer-company-panel,
  .footer-minimal .footer-company-bank {
    display: block;
  }

  .footer-minimal .footer-company-toggle {
    height: 40px;
    box-sizing: border-box;
  }

  .footer-minimal .footer-company-content {
    margin: 0;
  }

  .footer-minimal .footer-company-list {
    display: grid;
    grid-template-rows: repeat(4, 54px);
  }

  .footer-minimal .footer-company-list > div {
    height: 54px;
    align-items: center;
    box-sizing: border-box;
  }
}

@media (min-width: 621px) and (max-width: 1050px) {
  .footer-minimal .footer-company-list {
    grid-template-rows: repeat(4, 66px);
  }

  .footer-minimal .footer-company-list > div {
    height: 66px;
  }
}

/* Delivery feedback replaces the intro above the search without shifting the layout. */
.services-delivery-search {
  gap: 0;
  margin-top: 24px;
}

.services-delivery-search > .services-delivery-feedback {
  position: relative;
  display: block;
  width: 100%;
  height: 84px;
  margin: 0 0 12px;
}

.services-delivery-feedback > .services-delivery-intro,
.services-delivery-feedback > .services-delivery-search-result {
  position: absolute;
  inset: 0;
  width: 100%;
}

.services-delivery-feedback > .services-delivery-intro {
  margin: 0;
  color: #625c54;
  font-size: 14px;
  line-height: 1.65;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.services-delivery-search:is(.is-searching, .has-error, .has-success) .services-delivery-intro {
  opacity: 0;
  visibility: hidden;
}

.services-delivery-feedback > .services-delivery-search-result {
  display: grid;
  min-height: 84px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
  margin: 0;
}

.services-delivery-search > .services-delivery-search-controls {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 14px;
}

@media (max-width: 520px) {
  .services-delivery-copy {
    padding-bottom: 14px;
  }

  .services-delivery-search {
    margin-top: 20px;
  }

  .services-delivery-search > .services-delivery-feedback,
  .services-delivery-feedback > .services-delivery-search-result {
    height: 88px;
    min-height: 88px;
  }

  .services-delivery-feedback > .services-delivery-intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .services-delivery-search > .services-delivery-search-controls {
    display: block;
  }
}

/* Delivery discussion is the primary action after a city is confirmed. */
.services-delivery-search-result > a.services-delivery-cta {
  min-height: 50px;
  padding: 15px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  animation: bastion-cta-breathe 2.8s ease-in-out infinite;
  transition: background-color 0.24s ease, color 0.24s ease, padding 0.24s ease;
}

.services-delivery-search-result > a.services-delivery-cta:hover,
.services-delivery-search-result > a.services-delivery-cta:focus-visible {
  padding: 15px 18px;
  background: transparent;
  color: var(--ink);
  animation-play-state: paused;
}

.services-delivery-search-result > a.services-delivery-cta .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 620px) {
  .services-delivery-search-result > a.services-delivery-cta,
  .services-delivery-search-result > a.services-delivery-cta:hover,
  .services-delivery-search-result > a.services-delivery-cta:focus-visible {
    min-height: 52px;
    padding: 16px 18px;
    font-size: 11px;
  }
}

/* Keep the footer signature as one typographic line, without forced uppercase. */
.footer-bottom-minimal .footer-bottom-line > .footer-copyright,
.footer-bottom-minimal .footer-site-author .site-author-toggle {
  color: rgba(255, 255, 255, 0.5);
  font: 500 9px/1.3 var(--font-sans);
  text-transform: none;
  letter-spacing: 0.11em;
}

@media (max-width: 620px) {
  .footer-bottom-minimal .footer-bottom-line > .footer-copyright,
  .footer-bottom-minimal .footer-site-author .site-author-toggle {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Delivery result, city search and its action form a compact vertical sequence. */
.services-delivery-search {
  margin-top: 18px;
}

.services-delivery-search > .services-delivery-feedback {
  height: 34px;
  margin-bottom: 4px;
}

.services-delivery-feedback > .services-delivery-intro,
.services-delivery-feedback > .services-delivery-search-result {
  min-height: 34px;
  height: 34px;
}

.services-delivery-feedback > .services-delivery-intro,
.services-delivery-search-result > p {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.services-delivery-search > .services-delivery-action {
  display: block;
  width: 100%;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, margin-top 0.24s ease;
}

.services-delivery-search.has-success > .services-delivery-action {
  max-height: 50px;
  margin-top: 12px;
}

.services-delivery-action > .services-delivery-cta {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font: 500 10px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: bastion-cta-breathe 2.8s ease-in-out infinite;
  transition: background-color 0.24s ease, color 0.24s ease, opacity 0.22s ease;
}

.services-delivery-search.has-success .services-delivery-action > .services-delivery-cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.services-delivery-action > .services-delivery-cta:hover,
.services-delivery-action > .services-delivery-cta:focus-visible {
  padding: 15px 18px;
  background: transparent;
  color: var(--ink);
  animation-play-state: paused;
}

.services-delivery-action > .services-delivery-cta .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 620px) {
  .services-delivery-search {
    margin-top: 16px;
  }

  .services-delivery-search > .services-delivery-feedback,
  .services-delivery-feedback > .services-delivery-intro,
  .services-delivery-feedback > .services-delivery-search-result {
    height: 38px;
    min-height: 38px;
  }

  .services-delivery-search.has-success > .services-delivery-action {
    max-height: 52px;
    margin-top: 10px;
  }

  .services-delivery-action > .services-delivery-cta,
  .services-delivery-action > .services-delivery-cta:hover,
  .services-delivery-action > .services-delivery-cta:focus-visible {
    min-height: 52px;
    padding: 16px 18px;
    font-size: 11px;
  }

  .services-delivery-copy {
    padding-bottom: 18px;
  }
}

/* The live showroom map keeps a quiet shimmer visible only while its frame loads. */
.map-wrap.is-map-loading .map-deferred-preview {
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.map-wrap.is-map-loading .map-deferred-preview::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(108deg, transparent 24%, rgba(255, 255, 255, 0.62) 48%, transparent 72%);
  transform: translateX(-105%);
  animation: map-loading-shimmer 1.8s ease-in-out infinite;
}

.map-wrap.is-map-loading .map-loading-state {
  min-width: 0;
  min-height: 0;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1;
  animation: none;
}

.map-wrap.is-map-loading .map-loading-state > i {
  width: 14px;
  height: 14px;
  border-width: 1px;
}

.map-wrap.is-map-loading .map-loading-state > span {
  color: #625c54;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.map-wrap.is-map-loading .map-activation {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes map-loading-shimmer {
  0% {
    transform: translateX(-105%);
  }
  58%,
  100% {
    transform: translateX(105%);
  }
}

@media (max-width: 620px) {
  .map-wrap.is-map-loading .map-loading-state > span {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-wrap.is-map-loading .map-deferred-preview::before {
    animation: none;
    transform: none;
  }
}

/* Keep the mobile catalog controls compact without shrinking tap targets. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-tools {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-search {
    min-height: 44px;
    margin-top: 0;
  }

  body.bastion-catalog-page .catalog-inline-search > label {
    height: 44px;
    min-height: 44px;
  }

  body.bastion-catalog-page .catalog-inline-main {
    gap: 8px;
    margin-top: 10px;
  }

  body.bastion-catalog-page .catalog-inline-categories .catalog-category-button {
    min-height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  body.bastion-catalog-page .catalog-inline-price {
    padding-top: 0;
  }

  body.bastion-catalog-page .catalog-inline-sort,
  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle,
  body.bastion-catalog-page .catalog-inline-more {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"] {
    height: 22px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-track,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-selection {
    top: 10px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label {
    min-height: 24px;
  }
}

/* Keep the mobile price control on the same compact baseline as its tool buttons. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(0, 1fr) repeat(3, 34px);
    align-items: center;
    gap: 0 7px;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-price-label {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-range {
    position: relative;
    display: block;
    height: 34px;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"] {
    height: 18px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider {
    position: absolute;
    top: auto;
    right: 6px;
    bottom: 0;
    left: 6px;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-track,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-selection {
    top: 8px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    height: 17px;
    grid-template-columns: minmax(48px, 1fr) auto auto minmax(48px, 1fr);
    align-items: end;
    gap: 0 6px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label {
    display: contents;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label::before {
    content: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values input {
    width: 100%;
    min-width: 0;
    padding: 0 2px 3px;
    border-bottom: 1px solid rgba(32, 32, 32, 0.42);
    font-size: 11px;
    line-height: 1;
    text-align: center;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type input {
    grid-column: 1;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    grid-column: 4;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"]::-moz-range-thumb {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type .catalog-price-currency {
    display: block;
    grid-column: 2;
    padding-bottom: 4px;
    color: #777168;
    font: 600 8px/1 var(--font-sans);
    letter-spacing: 0.06em;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type .catalog-price-currency {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-separator {
    display: block;
    grid-column: 3;
    padding-bottom: 3px;
    color: #777168;
    font: 600 10px/1 var(--font-sans);
    text-transform: lowercase;
    letter-spacing: 0;
  }

  body.bastion-catalog-page .catalog-inline-sort {
    grid-column: 2;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle {
    grid-column: 3;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-more {
    grid-column: 4;
  }
}

/* Keep the compact mobile filters on the same clean white surface as the search row. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-main {
    margin: 0 -12px -10px;
    padding: 10px 12px 12px;
    background: #fff;
  }

  body.bastion-catalog-page .catalog-inline-advanced:not([hidden]) {
    margin: 10px -12px -12px;
    padding: 12px;
    border-top-color: rgba(32, 32, 32, 0.12);
    background: #fff;
  }
}

/* Match desktop category labels to the advanced-filter chips. */
@media (min-width: 621px) {
  body.bastion-catalog-page .catalog-inline-categories .catalog-category-button,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-inline-categories .catalog-category-button {
    font-size: 11px;
  }
}

/* iOS WebKit needs an explicit clipping layer for animated carousel images. */
@media (max-width: 620px) {
  body.home .collection-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    isolation: isolate;
    -webkit-clip-path: inset(0 round var(--radius-md));
    clip-path: inset(0 round var(--radius-md));
    contain: paint;
  }

  body.home .collection-card > :is(img, .card-shade) {
    border-radius: inherit;
  }
}

/* Turn the works opening screen into one calm, frosted composition. */
.works-page .works-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(620px, calc(100svh - 74px), 820px);
  grid-template-columns: 1fr;
  place-items: stretch;
  overflow: hidden;
  background: #e8e8e5;
}

.works-page .works-intro-media {
  position: absolute;
  z-index: -2;
  inset: -42px;
  height: auto;
  margin: 0;
  pointer-events: none;
}

.works-page .works-intro-media::after {
  z-index: 1;
  background: linear-gradient(135deg, rgba(250, 250, 247, 0.46), rgba(239, 239, 235, 0.3));
}

.works-page .works-intro-media > img {
  filter: blur(16px) saturate(0.68) contrast(0.88);
  scale: 1.12;
}

.works-page .works-intro-media figcaption {
  display: none;
}

.works-page .works-intro-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 9vw, 128px) var(--page-gutter);
  background: rgba(248, 248, 245, 0.22);
  -webkit-backdrop-filter: blur(14px) saturate(0.72);
  backdrop-filter: blur(14px) saturate(0.72);
  text-align: center;
}

.works-page .works-intro-copy .eyebrow {
  margin: 0 0 clamp(28px, 3vw, 42px);
  color: #625f59;
}

.works-page .works-intro-copy h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(84px, 11.5vw, 176px);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.works-page .works-intro-quote {
  max-width: 820px;
  margin: clamp(38px, 4.5vw, 62px) auto 0;
  padding: 0;
  border: 0;
  color: #45423d;
  text-align: center;
}

.works-page .works-intro-quote p {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
}

.works-page .works-intro-quote cite {
  margin-top: 18px;
  color: #77736c;
}

@media (max-width: 700px) {
  .works-page .works-intro {
    min-height: min(640px, calc(100svh - 68px));
  }

  .works-page .works-intro-media {
    inset: -28px;
    height: auto;
  }

  .works-page .works-intro-media > img {
    scale: 1.18;
  }

  .works-page .works-intro-copy {
    min-height: inherit;
    padding: 56px 22px 52px;
  }

  .works-page .works-intro-copy .eyebrow {
    margin-bottom: 26px;
  }

  .works-page .works-intro-copy h1 {
    font-size: clamp(66px, 21vw, 98px);
    line-height: 0.86;
  }

  .works-page .works-intro-quote {
    margin-top: 34px;
  }

  .works-page .works-intro-quote p {
    font-size: 19px;
    line-height: 1.38;
  }
}

/* Similar products are swipe-first on phones; arrow controls only add noise. */
@media (max-width: 620px) {
  body:is(.single-product, .home) .related-controls {
    display: none !important;
  }
}

/* The mobile direction cards form a continuous, freely draggable stream. */
@media (max-width: 620px) {
  body.home .collection-grid.is-looping {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  body.home .collection-grid.is-looping .collection-card {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

/* Contact methods need a comfortable, consistent mobile tap target. */
@media (max-width: 520px) {
  body .contact-preference > div {
    gap: 7px;
  }

  body .contact-preference label span {
    min-height: 40px;
    padding: 11px 15px;
    font-size: 10px;
  }

  body .contact-preference .contact-method-other-direct > span::after {
    font-size: 10px;
  }
}

/* Site headers use a solid white surface without backdrop blur. */
.site-header,
.site-header.header-filled,
.site-header.header-overlay,
.site-header.header-overlay.is-scrolled,
body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled),
body.home .site-header.header-overlay.is-scrolled,
body.menu-open .site-header.header-overlay {
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
  background: #fff !important;
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(32, 32, 32, 0.045) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Desktop catalog: restore the full header only while the visitor scrolls back up. */
@media (min-width: 901px) {
  body.bastion-catalog-page .site-header,
  body.admin-bar.bastion-catalog-page .site-header {
    transition:
      height 0.3s cubic-bezier(0.22, 0.8, 0.2, 1),
      padding 0.3s cubic-bezier(0.22, 0.8, 0.2, 1),
      background 0.22s ease,
      border-color 0.22s ease,
      color 0.22s ease,
      -webkit-backdrop-filter 0.22s ease,
      backdrop-filter 0.22s ease,
      transform 0.3s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.2s ease;
  }

  body.bastion-catalog-page .site-header .brand {
    transition:
      height 0.3s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.2s ease,
      transform 0.3s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page .site-header .nav {
    transition:
      gap 0.3s cubic-bezier(0.22, 0.8, 0.2, 1),
      font-size 0.3s ease,
      opacity 0.2s ease;
  }

  body.bastion-catalog-page .catalog-header-title {
    transition:
      opacity 0.18s ease,
      transform 0.26s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page.catalog-header-scroll-expanded .site-header {
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(32, 32, 32, 0.04) !important;
    -webkit-backdrop-filter: blur(0) saturate(1) !important;
    backdrop-filter: blur(0) saturate(1) !important;
  }

  body.bastion-catalog-page .catalog-scroll-tools {
    transition:
      top 0.3s cubic-bezier(0.22, 0.8, 0.2, 1),
      transform 0.28s cubic-bezier(0.22, 0.8, 0.2, 1),
      opacity 0.18s ease,
      visibility 0s linear 0.28s;
  }

  body.bastion-catalog-page.catalog-header-scroll-expanded .catalog-scroll-tools {
    top: 84px;
  }

  body.admin-bar.bastion-catalog-page.catalog-header-scroll-expanded .catalog-scroll-tools {
    top: 116px;
  }
}

.site-header::before,
body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled)::before {
  opacity: 0;
}

.site-header .brand-logo {
  filter: brightness(1) invert(0);
}

.site-header .menu-button span {
  background: var(--ink);
}

/* Grainy frosted glass: the project image stays behind one translucent pane. */
.works-page .works-intro {
  position: relative;
  isolation: isolate;
  min-height: clamp(640px, calc(100svh - 84px), 860px);
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
  background: #dddeda;
}

.works-page .works-intro-media {
  position: absolute !important;
  z-index: 0;
  inset: -48px !important;
  width: auto;
  height: auto !important;
  min-height: 0;
  margin: 0;
}

.works-page .works-intro-media::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(244, 243, 238, 0.4));
}

.works-page .works-intro-media > img {
  filter: saturate(0.58) contrast(0.86) brightness(1.1);
  scale: 1.08;
}

.works-page .works-intro-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit !important;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  background: rgba(253, 253, 250, 0.68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  -webkit-backdrop-filter: blur(24px) saturate(0.58) brightness(1.12);
  backdrop-filter: blur(24px) saturate(0.58) brightness(1.12);
}

.works-page .works-intro-copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.72'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  opacity: 0.16;
  pointer-events: none;
}

.works-page .works-intro-copy > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .works-page .works-intro {
    min-height: clamp(660px, calc(100svh - 72px), 860px);
  }

  .works-page .works-intro-media {
    inset: -36px !important;
  }

  .works-page .works-intro-media > img {
    scale: 1.12;
  }

  .works-page .works-intro-copy {
    min-height: inherit !important;
    padding: 60px 22px 54px;
    background: rgba(253, 253, 250, 0.72);
    -webkit-backdrop-filter: blur(20px) saturate(0.56) brightness(1.13);
    backdrop-filter: blur(20px) saturate(0.56) brightness(1.13);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .works-page .works-intro-media > img {
    filter: blur(14px) saturate(0.68) contrast(0.9);
  }

  .works-page .works-intro-copy {
    background: rgba(250, 250, 247, 0.92);
  }
}

/* Product pages use the same complete header in a tighter, pinned shell. */
@media (min-width: 901px) {
  body.single-product .site-header,
  body.admin-bar.single-product .site-header {
    position: sticky;
    top: 0;
    height: 64px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  body.admin-bar.single-product .site-header {
    top: 32px;
  }

  body.single-product .site-header .brand {
    height: 48px;
  }

  body.single-product .site-header .brand img {
    max-height: 46px;
  }

  body.single-product .product-main {
    padding-left: 4.5vw;
    padding-right: clamp(24px, 2.5vw, 38px);
  }
}

@media (max-width: 620px) {
  body.single-product .site-header,
  body.admin-bar.single-product .site-header {
    height: 52px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  body.single-product main {
    padding-top: 52px;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).single-product .site-header {
      height: calc(52px + env(safe-area-inset-top));
      padding-top: calc(3px + env(safe-area-inset-top));
    }

    body:not(.admin-bar).single-product main {
      padding-top: calc(52px + env(safe-area-inset-top));
    }
  }
}

/* Keep the works CTA editorial line breaks intentional at every width. */
.works-cta h2 .works-cta-word-3 {
  display: block;
}

@media (max-width: 520px) {
  .works-cta h2 .works-cta-word-1,
  .works-cta h2 .works-cta-word-4 {
    display: block;
  }

  .works-cta h2 .works-cta-word-3 {
    display: inline;
  }
}

/* A mobile search overlay only scrolls when its content truly exceeds the viewport. */
@media (max-width: 620px) {
  html.catalog-search-active,
  html.catalog-search-active body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay {
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.bastion-catalog-page .catalog-tools-dialog {
    overflow-y: hidden;
    overscroll-behavior: none;
    touch-action: manipulation;
  }

  body.bastion-catalog-page .catalog-tools-dialog.is-scrollable {
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}

/* The projects surface overlaps the opening screen like a softly rounded sheet. */
.works-page .works-list {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -14px 32px rgba(32, 32, 32, 0.045);
}

@media (max-width: 700px) {
  .works-page .works-intro {
    min-height: clamp(500px, 62svh, 580px);
  }

  .works-page .works-intro-copy {
    min-height: inherit !important;
    padding: 38px 22px 34px;
  }

  .works-page .works-intro-copy .eyebrow {
    margin-bottom: 20px;
  }

  .works-page .works-intro-copy h1 {
    font-size: clamp(62px, 19vw, 86px);
  }

  .works-page .works-intro-quote {
    margin-top: 26px;
  }

  .works-page .works-intro-quote p {
    font-size: 17px;
    line-height: 1.32;
  }

  .works-page .works-intro-quote cite {
    margin-top: 12px;
  }

  .works-page .works-list {
    margin-top: -24px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 24px rgba(32, 32, 32, 0.04);
  }
}

/* The works opening screen uses the site's clean light-gray surface. */
.works-page .works-intro,
.works-page .works-intro-copy {
  background: #efefef;
}

.works-page .works-intro-copy {
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.works-page .works-intro-copy::before {
  content: none;
}

/* With names removed, review copy and project metadata form one compact block. */
.works-page .works-card-review-person {
  margin-top: 12px;
}

.works-page .works-card-review-person small {
  margin-top: 0;
}

@media (min-width: 901px) {
  .works-page .works-card-review-preview {
    font-size: clamp(27px, 2.2vw, 36px);
    line-height: 1.04;
  }
}

@media (max-width: 620px) {
  .works-page .works-card-review-preview {
    font-size: clamp(29px, 7.8vw, 34px);
    line-height: 1.035;
  }

  .works-page .works-card-review-person {
    margin-top: 12px;
  }

  .works-page .works-card-review-person small {
    margin-top: 0;
  }
}

/* Keep unusually long reviews inside the card and signal omitted copy. */
.works-page .works-card-review-preview {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  hyphens: auto;
}

@media (min-width: 621px) and (max-width: 900px) {
  .works-page .works-card-review-preview {
    -webkit-line-clamp: 7;
  }
}

@media (max-width: 620px) {
  .works-page .works-card-review-preview {
    -webkit-line-clamp: 7;
  }
}

/* Keep the interactive showroom map in its native, recognizable colors. */
.contacts-page .map-wrap iframe,
.contacts-page .map-wrap.is-fullscreen iframe {
  filter: none;
}

/* The home header starts as an overlay and gains its white surface on scroll. */
body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) {
  border-bottom-color: transparent;
  background: transparent !important;
  color: #fff;
  box-shadow: none !important;
}

body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled)::before {
  opacity: 1;
}

body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) .menu-button span {
  background: #fff;
}

/* In the product grid, scrolling up reveals only the filters; the nav stays compact. */
@media (min-width: 901px) {
  body.bastion-catalog-page.catalog-header-compact .site-header,
  body.bastion-catalog-page.catalog-header-scroll-expanded .site-header {
    height: 54px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  body.bastion-catalog-page.catalog-header-scroll-expanded .catalog-scroll-tools {
    top: 54px;
  }

  body.admin-bar.bastion-catalog-page.catalog-header-scroll-expanded .catalog-scroll-tools {
    top: 86px;
  }
}

/* Keep the sticky product summary below the pinned desktop header. */
@media (min-width: 901px) {
  body.single-product .product-info {
    top: 84px;
  }

  body.admin-bar.single-product .product-info {
    top: 116px;
  }
}

/* Mobile price values share one baseline and stay inside the filter deck. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price .catalog-price-range {
    height: 36px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values {
    height: 18px;
    align-items: center;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values input,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-values .catalog-price-currency,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-values .catalog-price-separator {
    grid-row: 1;
    align-self: center;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values input {
    box-sizing: border-box;
    height: 18px;
    padding: 0 2px 2px;
    line-height: 16px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type .catalog-price-currency,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-separator {
    padding-bottom: 0;
    line-height: 18px;
  }
}

/* Mobile price range: two clear editable values beneath a shorter scale. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price .catalog-price-range {
    height: 38px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider {
    right: 40px;
    left: 40px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values {
    height: 20px;
    grid-template-columns: 80px 80px;
    justify-content: space-between;
    gap: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-currency,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-separator {
    display: none !important;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type input,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    grid-row: 1;
    width: 80px;
    height: 20px;
    padding: 0 3px 3px;
    border-bottom: 1px solid rgba(32, 32, 32, 0.5);
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type input {
    grid-column: 1;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    grid-column: 2;
  }
}

/* The mobile range uses its full column and names the scale between both values. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider {
    right: 7px;
    left: 7px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values {
    grid-template-columns: 80px minmax(44px, 1fr) 80px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-currency {
    display: none !important;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-separator {
    display: block !important;
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    padding: 0 6px 2px;
    color: #777168;
    font: 500 9px/18px var(--font-sans);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    grid-column: 3;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type input,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    field-sizing: content;
    width: auto;
    min-width: 0;
    max-width: 8ch;
    padding-right: 0;
    padding-left: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type input {
    justify-self: start;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    justify-self: end;
  }
}

/* Keep the three-part mobile price caption compact and optically centered. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price .catalog-price-values {
    grid-template-columns: 80px 54px 80px;
    justify-content: center;
  }
}

/* Desktop repeats the same compact price composition used on mobile. */
@media (min-width: 621px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(240px, 1fr) repeat(3, 34px);
    align-items: center;
    gap: 0 7px;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-price-label {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-range {
    position: relative;
    display: block;
    height: 38px;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    height: 20px;
    grid-template-columns: 80px 54px 80px;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label {
    display: contents;
    min-height: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-currency {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values input {
    field-sizing: content;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    max-width: 8ch;
    height: 20px;
    padding: 0 0 3px;
    border-bottom: 1px solid rgba(32, 32, 32, 0.5);
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:first-of-type input {
    grid-column: 1;
    justify-self: start;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-values label:last-of-type input {
    grid-column: 3;
    justify-self: end;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-separator {
    display: block;
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    padding: 0 6px 2px;
    color: #777168;
    font: 500 9px/18px var(--font-sans);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider {
    position: absolute;
    right: 7px;
    bottom: 0;
    left: 7px;
    height: 18px;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"] {
    height: 18px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-track,
  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider-selection {
    top: 8px;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"]::-webkit-slider-thumb {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
  }

  body.bastion-catalog-page .catalog-inline-price .catalog-price-slider input[type="range"]::-moz-range-thumb {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
  }

  body.bastion-catalog-page .catalog-inline-sort {
    grid-column: 2;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle {
    grid-column: 3;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-more {
    grid-column: 4;
  }
}

/* Desktop keeps a permanent reset slot so active filters never shift the controls. */
@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(240px, 1fr) repeat(3, 34px) 82px;
  }

  body.bastion-catalog-page .catalog-inline-reset {
    grid-column: 5;
  }

  body.bastion-catalog-page .catalog-inline-reset[hidden] {
    display: inline-flex !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

/* Product pages use the complete standard mobile header. */
@media (max-width: 620px) {
  body.single-product .site-header,
  body.admin-bar.single-product .site-header {
    height: 72px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 8px 20px;
  }

  body.single-product main {
    padding-top: 72px;
  }

  body.single-product .site-header .brand {
    display: block;
    left: calc(50% - 10px);
    width: min(50vw, 194px);
    height: 52px;
  }

  body.single-product .site-header .brand img {
    width: auto;
    height: 42px;
    max-width: 100%;
    max-height: 42px;
  }

  body.single-product .header-actions {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: 40px minmax(0, 1fr) 30px 30px;
    gap: 10px;
    pointer-events: auto;
    transform: none;
  }

  body.single-product .product-header-back {
    display: none;
  }

  body.single-product .site-header .menu-button {
    display: grid;
    grid-column: 1;
    grid-row: 1;
  }

  body.single-product .header-search {
    display: grid;
    grid-column: 3;
    grid-row: 1;
  }

  body.single-product .header-favorites {
    width: 30px;
    height: 30px;
    grid-column: 4;
    grid-row: 1;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    body:not(.admin-bar).single-product .site-header {
      height: calc(72px + env(safe-area-inset-top));
      padding-top: calc(8px + env(safe-area-inset-top));
    }

    body:not(.admin-bar).single-product main {
      padding-top: calc(72px + env(safe-area-inset-top));
    }
  }
}

/* Delivery uses the same soft gray surface as the service introduction. */
.services-delivery {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: #efefef;
  color: #202020;
}

.services-delivery-map {
  background: #efefef;
}

.services-delivery-copy {
  border-left: 0;
  background: #efefef;
}

.services-delivery-copy .eyebrow,
.services-delivery-copy > p,
.services-delivery-feedback > .services-delivery-intro,
.services-delivery-search-result > p {
  color: rgba(32, 32, 32, 0.68);
}

.services-delivery-copy h2,
.services-delivery-copy h2 em {
  color: #202020;
}

.services-delivery-map svg {
  width: min(128%, 940px);
  height: min(118%, 730px);
}

.services-delivery-map-ascii {
  fill: rgba(242, 240, 235, 0.82);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, "DejaVu Sans Mono", Consolas, monospace;
  font-size: 15px;
  font-variant-ligatures: none;
  text-rendering: geometricPrecision;
}

.services-delivery-routes path {
  stroke: rgba(211, 197, 180, 0.9);
  stroke-width: 2;
  stroke-dasharray: 5 7;
}

.services-delivery-custom-route {
  stroke: #f2f0eb;
  stroke-width: 2;
}

.services-delivery-courier,
.services-delivery-city circle {
  fill: #f2f0eb;
  stroke: #202020;
  stroke-width: 1.25;
}

.services-delivery-city-label rect {
  fill: #f2f0eb;
}

.services-delivery-city text {
  fill: #202020;
}

.services-delivery-search-field {
  border-color: rgba(32, 32, 32, 0.42);
  color: #202020;
}

.services-delivery-search-field:focus-within {
  border-color: #202020;
}

.services-delivery-search input {
  background-color: transparent !important;
  color: #202020;
  caret-color: #202020;
  color-scheme: light;
}

.services-delivery-search input::placeholder {
  color: rgba(32, 32, 32, 0.48);
}

.services-delivery-search input::selection {
  background: rgba(32, 32, 32, 0.2);
  color: #202020;
}

.services-delivery-search input:-webkit-autofill,
.services-delivery-search input:-webkit-autofill:hover,
.services-delivery-search input:-webkit-autofill:focus,
.services-delivery-search input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #efefef inset !important;
  box-shadow: 0 0 0 1000px #efefef inset !important;
  -webkit-text-fill-color: #202020 !important;
  caret-color: #202020;
}

.services-delivery-search button {
  border-color: rgba(32, 32, 32, 0.28);
  color: rgba(32, 32, 32, 0.76);
}

.services-delivery-search button:hover,
.services-delivery-search .services-delivery-search-reset:hover:not(:disabled) {
  border-color: #202020;
  background: #202020;
  color: #fff;
}

.services-delivery-search.is-searching button[type="submit"] {
  border-color: #202020;
  background: #202020;
  color: #fff;
}

.services-delivery-search.has-error .services-delivery-search-result > p {
  color: #9b3f35;
}

.services-delivery-search.has-error .services-delivery-search-field {
  border-color: rgba(224, 164, 156, 0.72);
}

.services-delivery-action > .services-delivery-cta {
  border-color: #202020;
  background: #202020;
  color: #fff;
}

.services-delivery-action > .services-delivery-cta:hover,
.services-delivery-action > .services-delivery-cta:focus-visible {
  background: transparent;
  color: #202020;
}

@media (max-width: 900px) {
  .services-delivery-copy {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .services-delivery-map svg {
    width: 118%;
    height: 114%;
    transform: translateY(-6px);
  }
}

/* The works photograph follows the quote as a centered editorial image. */
.works-page .works-intro {
  min-height: calc(100svh - 84px);
}

.works-page .works-intro-copy {
  min-height: calc(100svh - 84px) !important;
  padding-bottom: clamp(74px, 7vw, 112px);
}

.works-page .works-intro-inline-image {
  width: min(66vw, 880px);
  margin: clamp(34px, 3.4vw, 52px) auto 0;
}

.works-page .works-intro-inline-image > img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 700px) {
  .works-page .works-intro {
    min-height: 0;
  }

  .works-page .works-intro-copy {
    min-height: 0 !important;
    padding: 28px 22px 36px;
  }

  .works-page .works-intro-inline-image {
    width: 100%;
    margin-top: 24px;
  }
}

/* The home header is an overlay only on larger screens; phones start on white. */
@media (max-width: 700px) {
  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) {
    border-bottom-color: rgba(32, 32, 32, 0.1);
    background: #fff !important;
    color: var(--ink);
    box-shadow: 0 8px 28px rgba(32, 32, 32, 0.045) !important;
  }

  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled)::before {
    opacity: 0;
  }

  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) .brand-logo {
    filter: brightness(1) invert(0);
  }

  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) .menu-button span {
    background: var(--ink);
  }

  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) .header-favorites b {
    background: var(--ink);
    color: #fff;
  }
}

/* Review cards flip on the compositor: the quote stays on the front, its project photo is behind it. */
.review-flip-card {
  perspective: 1400px;
}

.review-flip-nudge,
.review-flip-inner,
.review-flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.review-flip-nudge {
  z-index: 2;
}

.review-flip-inner {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 0.68s cubic-bezier(0.22, 0.72, 0.16, 1);
}

.review-flip-card.is-flipped .review-flip-inner {
  transform: rotateY(180deg);
}

.review-flip-face {
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.review-flip-front {
  z-index: 1;
  transform: rotateY(0deg);
}

.review-flip-back {
  background: var(--review-card-bg, var(--works-review-bg, #4a4a48));
  transform: rotateY(180deg);
}

.review-flip-back > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1 !important;
  transform: none !important;
}

.review-flip-toggle {
  position: absolute;
  z-index: 6;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  cursor: pointer;
  opacity: 0.86;
  place-items: center;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.review-flip-toggle:hover,
.review-flip-toggle:focus-visible {
  background: currentColor;
  opacity: 1;
  transform: translateY(-2px);
}

.review-flip-toggle:hover .icon,
.review-flip-toggle:focus-visible .icon {
  color: var(--review-card-bg, var(--works-review-bg, #202020));
}

.review-flip-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.review-flip-toggle .icon {
  width: 22px;
  height: 22px;
  transition: color 0.22s ease, transform 0.52s cubic-bezier(0.22, 0.72, 0.16, 1);
}

.review-flip-card.is-flipped .review-flip-toggle {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(22, 21, 19, 0.28);
  color: #fff;
}

.review-flip-card.is-flipped .review-flip-toggle:hover,
.review-flip-card.is-flipped .review-flip-toggle:focus-visible {
  background: #fff;
  color: #202020;
}

.review-flip-card.is-flipped .review-flip-toggle .icon {
  color: inherit;
  transform: rotate(180deg);
}

body.home .review-flip-card.is-flipped[data-review-initial]::before,
.works-page .review-flip-card.is-flipped[data-review-initial]::before {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.94) !important;
}

@media (prefers-reduced-motion: no-preference) {
  .review-flip-card.is-review-letter-visible .review-flip-nudge {
    animation: review-flip-hint 0.72s cubic-bezier(0.22, 0.72, 0.16, 1) 0.72s both;
  }

  .review-flip-card:nth-of-type(3n + 2).is-review-letter-visible .review-flip-nudge {
    animation-delay: 0.88s;
  }

  .review-flip-card:nth-of-type(3n).is-review-letter-visible .review-flip-nudge {
    animation-delay: 1.04s;
  }
}

@keyframes review-flip-hint {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
  72% { transform: translateY(1px); }
}

@media (max-width: 620px) {
  .review-flip-toggle {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .review-flip-toggle .icon {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-flip-inner {
    transition-duration: 0.01ms;
  }

  .review-flip-nudge {
    animation: none !important;
  }
}

/* Works uses the shared page-stacking intro behavior. */
.works-page .works-intro {
  position: sticky;
  z-index: 0;
  top: var(--page-stacking-intro-top, 0px);
}

.works-page .works-scroll-layer {
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Desktop home reviews: let the quote fill the card and keep its project line close. */
@media (min-width: 901px) {
  body.home .home-work-card .works-card-review-preview {
    font-size: clamp(27px, 2.2vw, 36px);
    line-height: 1.035;
  }

  body.home .home-work-card .works-card-review-person {
    margin-top: 14px;
  }

  body.home .home-work-card .works-card-review-person small {
    margin-top: 0;
  }
}

/* City chips echo the compact copy-confirmation label on the dark delivery atlas. */
.services-delivery .services-delivery-city-label rect {
  fill: #0b0b0b;
  stroke: none;
}

.services-delivery .services-delivery-city text {
  fill: #fff;
}

.services-delivery .services-delivery-routes path,
.services-delivery .services-delivery-custom-route {
  vector-effect: non-scaling-stroke;
}

/* A search result keeps only Minsk and the requested destination on the atlas. */
.services-delivery-map.has-search-result .services-delivery-routes,
.services-delivery-map.has-search-result .services-delivery-city:not(.services-delivery-city-main):not(.services-delivery-city-custom),
.services-delivery-map.has-search-result .services-delivery-courier-default {
  opacity: 0;
  pointer-events: none;
}

/* Use neutral white throughout the atlas; dots are fill-only, without outlines. */
.services-delivery .services-delivery-map-ascii {
  fill: #fff;
}

.services-delivery .services-delivery-routes path,
.services-delivery .services-delivery-custom-route {
  stroke: #fff;
}

.services-delivery .services-delivery-courier,
.services-delivery .services-delivery-city circle {
  fill: #fff;
  stroke: none;
}

/* Routes, fixed points and the moving courier share the city-chip black. */
.services-delivery .services-delivery-routes path,
.services-delivery .services-delivery-custom-route {
  stroke: #0b0b0b;
}

.services-delivery .services-delivery-route-outlines path {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-dasharray: 5 7;
  animation: services-route-flow 12s linear infinite;
  vector-effect: non-scaling-stroke;
}

.services-delivery .services-delivery-route-outlines {
  transition: opacity 0.5s ease;
}

.services-delivery-map.has-custom-route .services-delivery-route-outlines,
.services-delivery-map.has-search-result .services-delivery-route-outlines {
  opacity: 0;
  pointer-events: none;
}

.services-delivery .services-delivery-custom-route {
  filter: url("#services-delivery-white-outline");
}

.services-delivery .services-delivery-courier,
.services-delivery .services-delivery-city circle {
  fill: #0b0b0b;
  stroke: #fff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* Keep the complete atlas inside narrow screens with a calm edge gutter. */
@media (max-width: 620px) {
  .services-delivery .services-delivery-map {
    box-sizing: border-box;
    min-height: min(360px, 100vw);
    padding-right: 16px;
    padding-left: 16px;
  }

  .services-delivery .services-delivery-map svg {
    width: 100%;
    max-width: 460px;
    height: auto;
    max-height: calc(100% - 28px);
    transform: none;
  }

  .services-delivery .services-delivery-city text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
}

/* On phones the delivery title leads into the map; search and action follow it. */
@media (max-width: 900px) {
  .services-page .services-delivery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .services-page .services-delivery-copy {
    display: contents;
  }

  .services-page .services-delivery-heading {
    order: 1;
    padding: 72px 36px 28px;
    background: #202020;
  }

  .services-page .services-delivery-map {
    order: 2;
  }

.services-page .services-delivery-search {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    order: 3;
    margin: 0;
    padding: 28px 36px 68px;
    background: #202020;
  }
}

.services-delivery-heading {
  width: 100%;
}

@media (max-width: 520px) {
  .services-page .services-delivery-heading {
    padding: 52px 22px 24px;
  }

  .services-page .services-delivery-search {
    margin: 0;
    padding: 24px 22px 44px;
  }
}

/* Review flip controls stay visually light: only the directional arrow is shown. */
.review-flip-toggle,
.review-flip-card.is-flipped .review-flip-toggle,
.review-flip-toggle:hover,
.review-flip-toggle:focus-visible,
.review-flip-card.is-flipped .review-flip-toggle:hover,
.review-flip-card.is-flipped .review-flip-toggle:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.review-flip-toggle:hover,
.review-flip-toggle:focus-visible {
  color: inherit;
  transform: translate(2px, -2px);
}

.review-flip-toggle:hover .icon,
.review-flip-toggle:focus-visible .icon {
  color: inherit;
}

.review-flip-card.is-flipped .review-flip-toggle,
.review-flip-card.is-flipped .review-flip-toggle:hover,
.review-flip-card.is-flipped .review-flip-toggle:focus-visible {
  color: #fff;
}

/* Works cards signal interaction through the whole surface, never by underlining editorial copy. */
.works-page .review-flip-card {
  cursor: pointer;
}

.works-page .review-flip-card .works-card-review-preview {
  text-decoration: none;
}

.works-page .review-flip-card .review-flip-front {
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.34s ease, filter 0.34s ease;
}

@media (hover: hover) and (pointer: fine) {
  .works-page .review-flip-card:hover .review-flip-front {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent);
    filter: brightness(1.055);
  }

  .works-page .review-flip-card:hover .review-flip-toggle {
    opacity: 1;
    transform: translate(3px, -3px) scale(1.08);
  }
}

.works-page .review-flip-card:focus-within .review-flip-front {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 38%, transparent);
  filter: brightness(1.055);
}

.works-page .review-flip-card:focus-within .review-flip-toggle {
  opacity: 1;
  transform: translate(3px, -3px) scale(1.08);
}

/* The colored face belongs to the rotating card, so no stationary layer shows through. */
body.home .review-flip-card,
.works-page .review-flip-card {
  background: transparent;
}

body.home .review-flip-card[data-review-initial]::before,
.works-page .review-flip-card[data-review-initial]::before {
  content: none;
}

.review-flip-nudge,
.review-flip-inner,
.review-flip-face {
  border-radius: inherit;
}

.review-flip-front {
  isolation: isolate;
  background: var(--review-card-bg, var(--works-review-bg, #4a4a48));
  color: var(--review-card-ink, var(--works-review-ink, #f7f4ef));
}

.review-flip-front[data-review-initial]::before {
  content: attr(data-review-initial);
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  display: block;
  width: max-content;
  padding: 0.1em 0.12em 0.14em;
  color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
  background-clip: text;
  font: italic 400 clamp(230px, 27vw, 470px)/1 Georgia, serif;
  letter-spacing: -0.06em;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.review-letter-motion .review-flip-front[data-review-initial]::before {
  opacity: 0;
  filter: blur(3px);
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 1.05s ease,
    filter 1s ease,
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html.review-letter-motion .review-flip-card.is-review-letter-visible .review-flip-front[data-review-initial]::before {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) scale(1);
}

/* Services opens with the same centered editorial composition as Works. */
.services-page .services-hero {
  display: block;
  min-height: calc(100svh - 84px);
  overflow: hidden;
  background: #efefef;
}

.services-page .services-hero-copy {
  display: flex;
  width: 100%;
  min-height: calc(100svh - 84px);
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 9vw, 128px) var(--page-gutter) clamp(74px, 7vw, 112px);
  overflow: visible;
  background: #efefef;
  text-align: center;
}

.services-page .services-hero-copy::after {
  content: none;
}

.services-page .services-hero-copy .eyebrow {
  margin: 0 0 clamp(28px, 3vw, 42px);
  color: #625f59;
}

.services-page .services-hero-copy h1 {
  max-width: none;
  margin: 0;
  font: 400 clamp(84px, 11.5vw, 176px)/0.82 Georgia, serif;
  letter-spacing: -0.065em;
}

.services-page .services-hero-copy > p.services-hero-lead {
  max-width: 820px;
  margin: clamp(38px, 4.5vw, 62px) auto 0;
  color: #45423d;
  font: 400 clamp(20px, 2vw, 30px)/1.3 Georgia, serif;
}

.services-page .services-hero-media {
  position: relative;
  width: min(66vw, 880px);
  height: auto;
  min-height: 0;
  margin: clamp(34px, 3.4vw, 52px) auto 0;
  overflow: hidden;
  background: transparent;
}

.services-page .services-hero-media::after {
  content: none;
}

.services-page .services-hero-media picture {
  display: block;
}

.services-page .services-hero-media img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(0.45, 0, 0.55, 1);
}

@media (max-width: 900px) {
  .services-page .services-hero {
    display: block;
    min-height: calc(100svh - 72px);
  }

  .services-page .services-hero-copy {
    min-height: calc(100svh - 72px);
    padding: 38px 22px 62px;
  }

  .services-page .services-hero-copy .eyebrow {
    margin-bottom: 20px;
  }

  .services-page .services-hero-copy h1 {
    font-size: clamp(62px, 18vw, 88px);
    line-height: 0.86;
    white-space: normal;
  }

  .services-page .services-hero-copy > p.services-hero-lead {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.32;
  }

  .services-page .services-hero-media {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 28px;
  }

}

@media (max-width: 700px) {
  .services-page .services-hero {
    min-height: 0;
  }

  .services-page .services-hero-copy {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .services-page .services-hero-copy .eyebrow {
    margin-bottom: 16px;
  }

  .services-page .services-hero-copy > p.services-hero-lead {
    margin-top: 20px;
  }

  .services-page .services-hero-media {
    margin-top: 22px;
  }
}

/* The projects sheet reaches the hero only after all opening content was viewed. */
.works-page .works-list {
  margin-top: 0;
}

@media (max-width: 700px) {
  .works-page .works-list {
    margin-top: 0;
  }
}

body.home .section-heading .catalog-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

body.home .section-heading .catalog-heading-link-arrow {
  display: inline-flex;
}

body.home .section-heading .catalog-heading-link-arrow .icon {
  width: 16px;
  height: 16px;
}

body.home .section-heading .catalog-heading-link:hover .icon {
  transform: translateX(4px);
}

@media (max-width: 620px) {
  body.home .section-heading .catalog-heading-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    justify-self: stretch;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    text-align: left;
    text-decoration: none;
  }
}

/* A separate catalogue order control complements price sorting. */
.catalog-inline-order {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.catalog-inline-order:hover,
.catalog-inline-order:focus-visible {
  border-color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}

.catalog-inline-order.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body.bastion-catalog-page .catalog-inline-price > .catalog-inline-order:not(.is-active):not(:hover):not(:focus-visible) {
  border-color: transparent;
}

.catalog-order-icon {
  position: relative;
  display: grid;
  width: 15px;
  height: 13px;
  align-content: space-between;
  justify-items: start;
}

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

.catalog-order-icon i:nth-child(1) { width: 15px; }
.catalog-order-icon i:nth-child(2) { width: 11px; }
.catalog-order-icon i:nth-child(3) { width: 7px; }

.catalog-inline-order[data-order-state]:not([data-order-state=""]) .catalog-order-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.catalog-inline-order[data-order-state]:not([data-order-state=""]) .catalog-order-icon i {
  display: none;
}

.catalog-inline-order[data-order-state]:not([data-order-state=""]) .catalog-order-icon::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 10px/1 var(--font-sans);
  letter-spacing: 0;
  text-align: center;
}

.catalog-inline-order[data-order-state="newest"] .catalog-order-icon::after { content: "Н"; }
.catalog-inline-order[data-order-state="popular"] .catalog-order-icon::after { content: "П"; }
.catalog-inline-order[data-order-state="alpha"] .catalog-order-icon::after { content: "А"; }

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(0, 1fr) repeat(3, 34px);
  }

  body.bastion-catalog-page .catalog-inline-order {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    grid-column: 2;
    grid-row: 1;
  }

  body.bastion-catalog-page .catalog-inline-sort { grid-column: 3; }
  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle { display: none; }
  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-more { grid-column: 4; }
}

@media (min-width: 621px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(240px, 1fr) repeat(4, 34px);
  }

  body.bastion-catalog-page .catalog-inline-order {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    grid-column: 2;
    grid-row: 1;
  }

  body.bastion-catalog-page .catalog-inline-sort { grid-column: 3; }
  body.bastion-catalog-page .catalog-inline-price > .catalog-grid-toggle { grid-column: 4; }
  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-more { grid-column: 5; }
}

@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(240px, 1fr) repeat(4, 34px) 82px;
  }

  body.bastion-catalog-page .catalog-inline-reset { grid-column: 6; }
}

/* Search overlay exposes the same ordering control as the inline catalogue bar. */
body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-overlay-order {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  grid-column: 3;
  grid-row: 1;
  padding: 0;
  border-radius: 50%;
  place-items: center;
}

@media (min-width: 621px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    width: min(100%, 746px);
    grid-template-columns: auto minmax(180px, 1fr) repeat(3, 38px) 82px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > button[data-catalog-sort] { grid-area: 1 / 4; }
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle { grid-column: 5; }
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-reset { grid-column: 6; }
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    grid-template-columns: minmax(0, 1fr) repeat(2, 36px);
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-price-range {
    grid-column: 1;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-overlay-order {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    grid-column: 2;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort { grid-column: 3; }
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-grid-toggle { display: none; }

  body.home .collection-grid.is-looping {
    cursor: grab;
  }

  body.home .collection-grid.is-looping.is-interacting {
    cursor: grabbing;
    user-select: none;
  }

  body.home .collection-grid.is-looping .collection-card,
  body.home .collection-grid.is-looping .collection-card img {
    -webkit-user-drag: none;
  }

  /* Bring the resting catalogue search controls closer to their underline. */
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-search > label > .icon,
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-search input,
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-search > .catalog-inline-search-submit,
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-search > .catalog-inline-search-clear {
    transform: translateY(3px);
  }
}

/* Services information architecture: measurement, delivery, installation and aftercare. */
.services-page > :not(.services-hero) {
  position: relative;
  z-index: 1;
}

.services-directory {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 5.5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.services-directory a {
  display: flex;
  min-width: 0;
  min-height: 108px;
  justify-content: space-between;
  flex-direction: column;
  gap: 22px;
  padding: 22px 20px 20px;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.services-directory a:first-child {
  border-left: 1px solid var(--line);
}

.services-directory a:hover,
.services-directory a:focus-visible {
  background: #202020;
  color: #fff;
}

.services-directory span {
  color: #8b867f;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.services-directory strong {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#service-process,
#service-measurement,
#service-delivery,
#service-installation,
#service-warranty {
  scroll-margin-top: 96px;
}

.services-measurement {
  padding: 115px 5.5vw 105px;
  background: #efefef;
}

.services-information-head {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 78px;
}

.services-information-head .eyebrow {
  color: #777168;
}

.services-information-head h2,
.services-installation-head h2,
.services-aftercare h2 {
  margin: 0;
  font: 400 clamp(50px, 5.7vw, 88px)/0.91 Georgia, serif;
  letter-spacing: -0.055em;
}

.services-measurement-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
}

.services-measurement-intro > p {
  max-width: 390px;
  margin: 0 0 42px;
  color: #59544d;
  font-size: 14px;
  line-height: 1.75;
}

.services-measurement-intro dl {
  margin: 0;
  border-top: 1px solid rgba(33, 30, 26, 0.2);
}

.services-measurement-intro dl > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(33, 30, 26, 0.2);
}

.services-measurement-intro dt {
  color: #7b756d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.services-measurement-intro dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.services-measurement-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(33, 30, 26, 0.22);
  list-style: none;
}

.services-measurement-points li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  min-height: 180px;
  padding: 24px 28px 27px 0;
  border-bottom: 1px solid rgba(33, 30, 26, 0.22);
}

.services-measurement-points li:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(33, 30, 26, 0.22);
}

.services-measurement-points li > span {
  color: #8b867f;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.services-measurement-points h3 {
  margin: 0 0 16px;
  font: 400 clamp(23px, 2.1vw, 31px)/1.02 Georgia, serif;
  letter-spacing: -0.035em;
}

.services-measurement-points p {
  margin: 0;
  color: #645f58;
  font-size: 11px;
  line-height: 1.7;
}

.services-delivery-terms {
  display: grid;
  width: min(100%, 560px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: 1px solid rgba(33, 30, 26, 0.2);
  border-bottom: 1px solid rgba(33, 30, 26, 0.2);
}

.services-delivery-terms > div {
  padding: 15px 16px 16px 0;
}

.services-delivery-terms > div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(33, 30, 26, 0.2);
}

.services-delivery-terms dt {
  margin-bottom: 9px;
  color: #7b756d;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.services-delivery-terms dd {
  margin: 0;
  font: 400 16px/1.18 Georgia, serif;
}

.services-delivery-copy > .services-delivery-policy {
  max-width: 560px;
  margin: 22px 0 0;
  color: #625c54;
  font-size: 11px;
  line-height: 1.72;
}

.services-delivery-copy .services-delivery-search {
  margin-top: 22px;
}

.services-installation {
  padding: 115px 7vw 100px;
  background: #fff;
  color: #202020;
}

.services-installation-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: end;
  margin-bottom: 72px;
}

.services-installation-head .eyebrow {
  margin-bottom: 30px;
  color: rgba(32, 32, 32, 0.55);
}

.services-installation-head > div:last-child p {
  margin: 0;
  color: rgba(32, 32, 32, 0.68);
  font-size: 12px;
  line-height: 1.75;
}

.services-installation-head > div:last-child p + p {
  margin-top: 18px;
  color: #202020;
}

.services-installation-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(32, 32, 32, 0.28);
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.services-installation-table-hint {
  display: none;
}

.services-installation-table-wrap:focus-visible {
  outline: 1px solid rgba(32, 32, 32, 0.75);
  outline-offset: 5px;
}

.services-installation-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.services-installation-table th,
.services-installation-table td {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.18);
  vertical-align: top;
  text-align: left;
}

.services-installation-table thead th {
  color: rgba(32, 32, 32, 0.55);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.services-installation-table thead th:first-child,
.services-installation-table tbody th {
  width: 35%;
}

.services-installation-table thead th:last-child,
.services-installation-table tbody td:last-child {
  width: 15%;
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
}

.services-installation-table tbody th {
  font: 400 clamp(20px, 1.7vw, 25px)/1.18 Georgia, serif;
}

.services-installation-table tbody td {
  color: rgba(32, 32, 32, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.services-installation-table tbody td:last-child {
  color: #202020;
  font: 400 20px/1.2 Georgia, serif;
}

.services-installation-note {
  max-width: 820px;
  margin: 30px 0 0 auto;
  color: rgba(32, 32, 32, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.services-installation-note strong,
.services-installation-note a {
  color: #202020;
  font-weight: 500;
}

.services-installation-note a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.services-installation-note a:hover,
.services-installation-note a:focus-visible {
  text-decoration-thickness: 2px;
}

.services-aftercare {
  padding: 100px 5.5vw 105px;
  background: #efefef;
}

.services-aftercare article {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(56px, 8vw, 150px);
  align-items: start;
}

.services-aftercare .eyebrow {
  margin-bottom: 32px;
  color: #777168;
}

.services-aftercare h2 {
  font-size: clamp(45px, 4.6vw, 72px);
}

.services-aftercare-copy > p {
  max-width: 680px;
  margin: 0 0 36px;
  color: #625c54;
  font-size: 16px;
  line-height: 1.65;
}

.services-aftercare ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: aftercare-card;
  list-style: none;
}

.services-aftercare li {
  position: relative;
  min-height: 210px;
  padding: 28px 26px 32px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--aftercare-card-bg);
  color: var(--aftercare-card-ink);
  counter-increment: aftercare-card;
  font-size: 14px;
  line-height: 1.65;
}

.services-aftercare li:nth-child(1) {
  --aftercare-card-bg: #4a4a48;
  --aftercare-card-ink: #f7f4ef;
}

.services-aftercare li:nth-child(2) {
  --aftercare-card-bg: #895b57;
  --aftercare-card-ink: #fff8f3;
}

.services-aftercare li:nth-child(3) {
  --aftercare-card-bg: #6d7882;
  --aftercare-card-ink: #f7f5f0;
}

.services-aftercare li:nth-child(4) {
  --aftercare-card-bg: #d5cec3;
  --aftercare-card-ink: #292724;
}

.services-aftercare li::before {
  content: "0" counter(aftercare-card);
  position: absolute;
  top: 22px;
  right: 22px;
  color: currentColor;
  font: 500 9px/1 var(--font-sans);
  letter-spacing: 0.14em;
  opacity: 0.58;
}

.services-aftercare li strong {
  display: block;
  max-width: calc(100% - 34px);
  margin: 40px 0 15px;
  color: inherit;
  font: 400 clamp(24px, 2vw, 31px)/1.04 Georgia, serif;
  letter-spacing: -0.035em;
}

@media (max-width: 1100px) {
  .services-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-directory a:nth-child(3n + 1) {
    border-left: 1px solid var(--line);
  }

  .services-directory a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .services-measurement-layout {
    grid-template-columns: minmax(230px, 0.48fr) minmax(0, 1.52fr);
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .services-information-head,
  .services-measurement-layout,
  .services-installation-head {
    grid-template-columns: 1fr;
  }

  .services-information-head,
  .services-installation-head {
    gap: 24px;
    margin-bottom: 52px;
  }

  .services-measurement {
    padding: 88px 36px 80px;
  }

  .services-measurement-layout {
    gap: 54px;
  }

  .services-measurement-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 44px;
  }

  .services-measurement-intro > p {
    margin: 0;
  }

  .services-installation {
    padding: 88px 36px 80px;
  }

  .services-installation-head {
    align-items: start;
  }

  .services-installation-head > div:last-child {
    max-width: 620px;
  }

  .services-aftercare article {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .services-aftercare {
    padding: 82px 36px 86px;
  }
}

@media (max-width: 620px) {
  .services-directory {
    display: flex;
    overflow-x: auto;
    padding: 0 22px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .services-directory::-webkit-scrollbar {
    display: none;
  }

  .services-directory a,
  .services-directory a:first-child,
  .services-directory a:nth-child(3n + 1),
  .services-directory a:nth-child(n + 4) {
    width: 152px;
    min-width: 152px;
    min-height: 96px;
    padding: 18px 16px;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-left: 0;
    scroll-snap-align: start;
  }

  .services-directory a:first-child {
    border-left: 1px solid var(--line);
  }

  .services-directory strong,
  .services-directory span {
    font-size: 10px;
  }

  .services-measurement,
  .services-installation {
    padding: 64px 22px 62px;
  }

  .services-information-head h2,
  .services-installation-head h2,
  .services-aftercare h2 {
    font-size: 47px;
  }

  .services-information-head,
  .services-installation-head {
    margin-bottom: 42px;
  }

  .services-measurement-layout {
    gap: 42px;
  }

  .services-measurement-intro {
    display: block;
  }

  .services-measurement-intro > p {
    margin-bottom: 30px;
    font-size: 14px;
  }

  .services-measurement-intro dl > div {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .services-measurement-intro dt,
  .services-measurement-intro dd {
    font-size: 11px;
  }

  .services-measurement-points {
    grid-template-columns: 1fr;
  }

  .services-measurement-points li,
  .services-measurement-points li:nth-child(even) {
    min-height: 0;
    padding: 22px 0 24px;
    border-left: 0;
  }

  .services-measurement-points h3 {
    margin-bottom: 11px;
    font-size: 27px;
  }

  .services-measurement-points p {
    font-size: 14px;
    line-height: 1.62;
  }

  .services-delivery-terms {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .services-delivery-terms > div,
  .services-delivery-terms > div + div {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(33, 30, 26, 0.2);
    border-left: 0;
  }

  .services-delivery-terms > div:first-child {
    border-top: 0;
  }

  .services-delivery-terms dt {
    margin: 0;
    font-size: 10px;
  }

  .services-delivery-terms dd {
    font-size: 17px;
  }

  .services-delivery-copy > .services-delivery-policy {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.65;
  }

  .services-installation-head > div:last-child p,
  .services-installation-note {
    font-size: 13px;
    line-height: 1.65;
  }

  .services-installation-table-wrap {
    width: calc(100% + 22px);
    padding-right: 22px;
  }

  .services-installation-table-hint {
    display: block;
    margin: -14px 0 18px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 10px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .services-installation-table {
    min-width: 680px;
  }

  .services-installation-table th,
  .services-installation-table td {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .services-installation-table thead th:first-child,
  .services-installation-table tbody th {
    width: 38%;
  }

  .services-installation-table tbody td,
  .services-installation-table thead th {
    font-size: 11px;
  }

  .services-installation-note {
    margin-top: 24px;
  }

  .services-aftercare {
    padding: 28px 22px 32px;
  }

  .services-aftercare .eyebrow {
    margin-bottom: 24px;
  }

  .services-aftercare-copy > p {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.65;
  }

  .services-aftercare ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-aftercare li {
    min-height: 0;
    padding: 24px 22px 28px;
    font-size: 14px;
    line-height: 1.62;
  }

  .services-aftercare li::before {
    top: 21px;
    right: 20px;
  }

  .services-aftercare li strong {
    margin-top: 36px;
    font-size: 27px;
  }
}

/* Keep compact mobile price captions inside the range and remove the inline scale only when no usable width remains. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main .catalog-inline-price .catalog-price-values {
    right: 7px;
    left: 7px;
    width: auto;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-content: stretch;
  }
}

@media (max-width: 300px) {
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main .catalog-inline-price {
    grid-template-columns: repeat(3, 34px);
    justify-content: end;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main .catalog-inline-price .catalog-price-range {
    display: none;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main .catalog-inline-order {
    grid-column: 1;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main .catalog-inline-sort {
    grid-column: 2;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main .catalog-inline-more {
    grid-column: 3;
  }
}

/* Mid-size desktop: keep all catalogue categories on one row and give the price scale only the space it needs. */
@media (min-width: 901px) and (max-width: 1049px) {
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main > .catalog-inline-categories {
    flex-wrap: nowrap;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main > .catalog-inline-price {
    width: min(100%, 620px);
    grid-column: 1;
    justify-self: end;
  }
}

@media (min-width: 1050px) and (max-width: 1320px) {
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 14px;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main > .catalog-inline-categories {
    flex-wrap: nowrap;
  }

  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main > .catalog-inline-price {
    width: min(100%, 600px);
    min-width: 0;
    grid-template-columns: minmax(180px, 1fr) repeat(4, 34px) 72px;
    gap: 0 6px;
  }
}

/* Delivery is a centered text sequence: heading, city search, then the terms. */
.services-page .services-delivery {
  display: block;
  min-height: 0;
  padding: clamp(96px, 9vw, 142px) 5.5vw;
}

.services-page .services-delivery-copy {
  display: flex;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0;
  align-items: center;
  border: 0;
  text-align: center;
}

.services-page .services-delivery-heading {
  width: 100%;
  order: initial;
  padding: 0;
  background: transparent;
}

.services-page .services-delivery-copy .eyebrow {
  margin-bottom: 28px;
}

.services-page .services-delivery-copy h2 {
  font-size: clamp(58px, 7.2vw, 108px);
  line-height: 0.88;
}

.services-page .services-delivery-search {
  display: block;
  box-sizing: border-box;
  width: min(100%, 720px);
  max-width: 720px;
  order: initial;
  margin: 48px auto 0;
  padding: 0;
  background: transparent;
}

.services-page .services-delivery-search > .services-delivery-search-controls {
  width: 100%;
}

.services-page .services-delivery-search input {
  font-size: 15px;
}

.services-page .services-delivery-search > .services-delivery-feedback {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 36px;
  margin: 10px 0 0;
}

.services-page .services-delivery-feedback > .services-delivery-search-result {
  position: static;
  inset: auto;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.services-page .services-delivery-search-result > p {
  justify-content: center;
  color: rgba(32, 32, 32, 0.68);
  font-size: 14px;
  text-align: center;
  white-space: normal;
}

.services-page .services-delivery-action > .services-delivery-cta {
  width: min(100%, 420px);
  margin-right: auto;
  margin-left: auto;
}

.services-page .services-delivery-copy > .services-delivery-policy {
  max-width: 780px;
  margin: 38px auto 0;
  color: rgba(32, 32, 32, 0.68);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.services-page .services-delivery-copy > .services-legal-link {
  margin: 16px auto 0;
  color: rgba(32, 32, 32, 0.68);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.services-legal-link a {
  color: #202020;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .services-page .services-delivery {
    padding: 72px 22px 76px;
  }

  .services-page .services-delivery-copy {
    padding: 0;
  }

  .services-page .services-delivery-copy .eyebrow {
    margin-bottom: 24px;
  }

  .services-page .services-delivery-copy h2 {
    font-size: 52px;
    line-height: 0.94;
  }

  .services-page .services-delivery-search {
    margin-top: 34px;
    padding: 0;
  }

  .services-page .services-delivery-search > .services-delivery-feedback,
  .services-page .services-delivery-feedback > .services-delivery-search-result {
    height: auto;
    min-height: 38px;
  }

  .services-page .services-delivery-copy > .services-delivery-policy {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.65;
  }
}

/* Desktop keeps the original 84px primary header; services remains a compact second row. */
@media (min-width: 901px) {
  .site-header,
  .site-header.header-filled,
  .site-header.header-overlay,
  body.home .site-header {
    height: 84px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header .brand {
    height: 60px;
  }

  .site-header .brand img {
    max-height: 60px;
  }

  .site-header.site-header-services {
    height: 84px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header.site-header-services .brand {
    width: 225px;
    height: 60px;
  }

  .site-header.site-header-services .brand img {
    max-width: 215px;
    max-height: 60px;
  }

  .services-header-menu {
    position: absolute;
    z-index: 3;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    box-sizing: border-box;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 52px);
    padding: 0 4.5vw;
    border-top: 1px solid rgba(32, 32, 32, 0.18);
    border-bottom: 1px solid rgba(32, 32, 32, 0.12);
    background: inherit;
    color: inherit;
    box-shadow: 0 10px 24px rgba(32, 32, 32, 0.055);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.22s ease,
      transform 0.28s cubic-bezier(0.22, 0.8, 0.2, 1),
      visibility 0s linear 0.16s;
  }

  .services-header-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 24px;
  }

  .site-header:has(.nav-services-trigger:hover) .services-header-menu,
  .site-header:has(.nav-services-trigger:focus-visible) .services-header-menu,
  .site-header:has(.services-header-menu:hover) .services-header-menu,
  .site-header:has(.services-header-menu:focus-within) .services-header-menu,
  .site-header.services-menu-open .services-header-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-header:has(.nav-services-trigger:hover),
  .site-header:has(.nav-services-trigger:focus-visible),
  .site-header:has(.services-header-menu:hover),
  .site-header:has(.services-header-menu:focus-within),
  .site-header.services-menu-open {
    border-bottom-color: rgba(32, 32, 32, 0.18);
  }

  .services-header-menu a {
    position: relative;
    display: flex;
    width: max-content;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    font: inherit;
    text-align: center;
  }

  .services-header-menu a::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 10px;
    left: 0;
    height: 1px;
    background: currentColor;
    transition: right 0.25s ease;
  }

  .services-header-menu a:hover,
  .services-header-menu a:focus-visible {
    outline: none;
  }

  .services-header-menu a:hover::after,
  .services-header-menu a:focus-visible::after {
    right: 0;
  }

  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled) .services-header-menu {
    border-top-color: rgba(255, 255, 255, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    background: inherit;
    color: #fff;
    box-shadow: none;
  }

  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled):has(.nav-services-trigger:hover),
  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled):has(.nav-services-trigger:focus-visible),
  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled):has(.services-header-menu:hover),
  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled):has(.services-header-menu:focus-within),
  body.home:not(.menu-open) .site-header.header-overlay:not(.is-scrolled).services-menu-open {
    border-bottom-color: rgba(255, 255, 255, 0.42);
  }

  body.bastion-catalog-page main {
    padding-top: 84px;
  }

  body.bastion-catalog-page .catalog-scroll-tools {
    top: 84px;
  }

  body.admin-bar.bastion-catalog-page .catalog-scroll-tools {
    top: 116px;
  }

  body.bastion-catalog-page.catalog-header-compact .site-header,
  body.bastion-catalog-page.catalog-header-scroll-expanded .site-header {
    height: 54px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  body.bastion-catalog-page.catalog-header-compact .catalog-scroll-tools,
  body.bastion-catalog-page.catalog-header-scroll-expanded .catalog-scroll-tools {
    top: 54px;
  }

  body.admin-bar.bastion-catalog-page.catalog-header-compact .catalog-scroll-tools,
  body.admin-bar.bastion-catalog-page.catalog-header-scroll-expanded .catalog-scroll-tools {
    top: 86px;
  }

  body.single-product .product-info {
    top: 64px;
  }

  body.admin-bar.single-product .product-info {
    top: 96px;
  }

  .works-page .works-intro,
  .works-page .works-intro-copy,
  .services-page .services-hero,
  .services-page .services-hero-copy {
    min-height: calc(100svh - 84px) !important;
  }
}

@media (max-width: 900px) {
  .services-header-menu {
    display: none;
  }
}

/* Product finish selector: a tactile, horizontally scrollable family carousel. */
body.single-product .product-variants {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: center;
  gap: 0;
  margin: 10px 0 4px;
  padding: 0 0 8px;
}

/* Keep the finish visible even when the model is available in one colour only. */
body.single-product .product-variants:has(.product-variant:only-child) {
  display: grid;
}

body.single-product .product-variant-pagination {
  display: none;
}

body.single-product .product-variant-dot {
  position: relative;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
}

body.single-product .product-variant-dot::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8c6c2;
  content: "";
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
}

body.single-product .product-variant-dot.is-near::after {
  width: 7px;
  height: 7px;
  background: #aaa7a2;
}

body.single-product .product-variant-dot.is-current::after {
  width: 10px;
  height: 10px;
  background: var(--ink);
}

body.single-product a.product-variant-dot:hover::after,
body.single-product a.product-variant-dot:focus-visible::after {
  background: var(--ink);
}

body.single-product a.product-variant-dot:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

body.single-product .product-variants-head {
  display: block;
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

body.single-product .product-variants-head span::after {
  content: none;
}

body.single-product .product-variant-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

body.single-product .product-variant-scroll::-webkit-scrollbar {
  display: none;
}

body.single-product .product-variant-links {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-sizing: border-box;
  margin: 0;
  padding: 2px 8px;
}

body.single-product .product-variant {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--ink);
  scroll-snap-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

body.single-product .product-variant i,
body.single-product .product-variant.is-current i {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: var(--variant-color);
  box-shadow: inset 0 0 0 1px rgba(32, 32, 32, 0.06);
  transition: width 0.25s ease, height 0.25s ease, transform 0.25s ease;
}

body.single-product .product-variant:hover i,
body.single-product .product-variant:focus-visible i {
  outline: 0;
  transform: scale(1.12);
}

body.single-product .product-variant.is-current {
  border-color: var(--ink);
}

body.single-product .product-variant.is-current i {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  transform: none;
}

body.single-product a.product-variant:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

body.single-product .product-variant-current {
  display: none;
}

@media (max-width: 620px) {
  body.single-product .product-variants {
    grid-column: 1 / -1;
    order: 4;
    justify-content: initial;
    margin: 12px 0 0;
    padding: 0 0 8px;
  }

  body.single-product .product-variant-pagination {
    display: none;
  }

  body.single-product .product-variants-head {
    margin-bottom: 7px;
  }

  body.single-product .product-variant-links {
    gap: 2px;
    padding: 0 4px;
  }

  body.single-product .product-variant {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  body.single-product .product-variant i,
  body.single-product .product-variant.is-current i {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  body.single-product .product-variant.is-current i {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  body.single-product .product-variant-current {
    display: none;
  }
}

body.single-product .product-service-links {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 34px);
  margin: 18px 0 0;
  color: #706a62;
  font: 400 10px/1.4 var(--font-sans);
  letter-spacing: 0.02em;
  text-transform: none;
}

body.single-product .product-service-links a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(32, 32, 32, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.single-product .product-service-links a:hover,
body.single-product .product-service-links a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

@media (max-width: 620px) {
  body.single-product .product-info-head {
    display: none;
  }

  body.single-product .product-service-links {
    grid-column: 1 / -1;
    order: 6;
    justify-content: center;
    gap: clamp(20px, 8vw, 32px);
    margin-top: 0;
    text-align: center;
    font-size: 11px;
  }
}

/* Center the footer signature above the compact link directory. */
@media (min-width: 621px) {
  .footer-minimal > .footer-company-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 0 12px;
  }

  .footer-company-compact > .footer-company-logo {
    width: min(280px, 28vw);
    margin: 0 auto;
    padding: 0;
  }

  .footer-quick-links.footer-desktop-links {
    padding-top: 18px;
  }
}

/* The complete review surface triggers the same flip as its corner control. */
[data-review-flip],
[data-review-flip] .review-flip-face,
[data-review-flip] .works-card-review {
  cursor: pointer;
}

/* Keep field context available to assistive technology without adding visual labels. */
.bastion-demo-form .bastion-form-label-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* The consultation areas stay concise on desktop after their visible captions are removed. */
@media (min-width: 901px) {
  body.home .request {
    min-height: 640px;
  }

  body.home .request-copy {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  body.home .request-copy > p:not(.eyebrow) {
    margin-top: 26px;
    margin-bottom: 32px;
  }

  body.home .request-copy .bastion-demo-form,
  .contacts-page .contact-form-panel .bastion-demo-form {
    gap: 18px;
  }

  .contacts-page .contact-form-section,
  .contacts-page .contact-form-visual {
    min-height: 640px;
  }

  .contacts-page .contact-form-panel {
    gap: 36px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Search overlay mirrors the compact mobile price layout from the catalogue bar. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    grid-template-columns: minmax(0, 1fr) repeat(2, 36px);
    align-items: center;
    gap: 0 7px;
    padding-top: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-price-label {
    display: none;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-price-range {
    position: relative;
    display: block;
    width: 100%;
    height: 38px;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider {
    position: absolute;
    top: auto;
    right: 7px;
    bottom: 0;
    left: 7px;
    width: auto;
    height: 18px;
    margin: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider-track,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider-selection {
    top: 8px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-slider input[type="range"] {
    height: 18px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values {
    position: absolute;
    top: 0;
    right: 7px;
    left: 7px;
    display: grid;
    width: auto;
    height: 20px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values label {
    display: contents;
    min-height: 0;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-currency {
    display: none !important;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values input {
    field-sizing: content;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    max-width: 8ch;
    height: 20px;
    padding: 0 0 3px;
    border-bottom: 1px solid rgba(32, 32, 32, 0.5);
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values label:first-of-type input {
    grid-column: 1;
    justify-self: start;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-values label:last-of-type input {
    grid-column: 3;
    justify-self: end;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price .catalog-price-separator {
    display: block !important;
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    padding: 0 6px 2px;
    color: #777168;
    font: 500 9px/18px var(--font-sans);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-overlay-order {
    grid-column: 2;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-inline-sort {
    grid-column: 3;
  }
}

/* 0.28.70 — finish the remaining responsive catalogue, service and form refinements. */
.bastion-form-select {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid rgba(32, 32, 32, 0.42);
}

.bastion-form-select select {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1.3 var(--font-sans);
  cursor: pointer;
}

.bastion-form-select .icon {
  position: absolute;
  right: 2px;
  width: 18px;
  height: 18px;
  color: var(--ink);
  pointer-events: none;
}

.bastion-form-select:focus-within {
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

/* Restore the measured, two-column preparation composition; advice stays on the text side. */
.services-page .services-prep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
  overflow: visible;
  background: #efefef;
}

.services-page #service-measurement > figure {
  position: relative;
  inset: auto;
  width: auto;
  height: 100%;
  min-height: 720px;
}

.services-page .services-prep figure::after {
  content: none;
}

.services-page .services-prep-copy {
  width: auto;
  margin: 0;
  padding: clamp(54px, 6vw, 92px) clamp(34px, 5.8vw, 88px);
  background: #efefef;
}

.services-prep-intro,
.services-page .services-prep-copy li {
  border: 0;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}

.services-page .services-prep-copy ol {
  grid-template-columns: 1fr;
  gap: 10px;
}

.services-page .services-prep-copy li,
.services-page .services-prep-copy li:last-child {
  grid-column: auto;
  min-height: 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 18px;
  padding: 19px 22px;
}

.services-page .services-prep-copy li h3 {
  margin-bottom: 5px;
  font-size: clamp(20px, 1.8vw, 25px);
}

/* Five warranty cards keep the review-card rhythm without numbered badges. */
.services-aftercare li::before {
  content: none !important;
}

.services-aftercare li:nth-child(4) {
  --aftercare-card-bg: #d5cec3;
  --aftercare-card-ink: #292724;
  grid-column: span 4;
  margin-top: 54px;
}

.services-aftercare li:nth-child(5) {
  --aftercare-card-bg: #ece5dc;
  --aftercare-card-ink: #292724;
  grid-column: 5 / span 4;
  margin-top: -4px;
}

/* A few finishes are centred; long ranges become a quiet horizontal rail. */
body.single-product .product-variants {
  justify-items: center;
  margin-bottom: 0;
  padding-bottom: 2px;
}

body.single-product .product-variants-head {
  width: 100%;
  text-align: center;
}

body.single-product .product-variant-links {
  justify-content: center;
}

body.single-product .product-variant-scroll.is-overflowing .product-variant-links {
  justify-content: flex-start;
}

.product-badge-showroom {
  background: #53636d;
  color: #fff;
}

@media (min-width: 621px) {
  .product-card.is-on-sale .product-price {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .services-page .services-prep {
    display: block;
    min-height: 0;
  }

  .services-page #service-measurement > figure {
    height: min(62vh, 460px);
    min-height: 360px;
  }

  .services-page .services-prep-copy {
    margin: 0;
    padding: 16px;
  }

  .services-prep-intro {
    padding: 24px 22px 26px;
  }

  .services-page .services-prep-copy li,
  .services-page .services-prep-copy li:last-child {
    min-height: 0;
    padding: 17px 19px;
  }

  .services-aftercare li:nth-child(n) {
    margin-top: 0;
  }

  body.single-product .product-info {
    row-gap: 0;
    padding-bottom: 34px;
  }

  body.single-product .product-variants {
    margin-top: 7px;
    padding-bottom: 0;
  }

  body.single-product .product-info .calculate {
    grid-column: 1 / -1;
    margin-top: 18px;
  }

  body.single-product .product-service-links {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .product-card.is-on-sale.has-color-variants .product-price del {
    display: none;
  }
}

/* Final aftercare sizing override: readable cards and a one-card mobile rail. */
@media (min-width: 621px) {
  .services-aftercare h2 {
    font-size: clamp(50px, 5vw, 78px);
  }

  .services-aftercare-copy > p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.65;
  }

  .services-aftercare-card-label {
    font-size: 9px;
  }

  .services-aftercare li strong {
    font-size: clamp(32px, 2.8vw, 44px);
  }

  .services-aftercare li p {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .services-aftercare li:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .services-aftercare {
    overflow: hidden;
  }

  .services-aftercare h2 {
    font-size: clamp(50px, 14.5vw, 58px);
    line-height: 0.96;
  }

  .services-aftercare-copy > p {
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.62;
  }

  .services-aftercare ul {
    display: flex;
    width: calc(100% + 22px);
    max-width: none;
    grid-template-columns: none;
    gap: 12px;
    margin-right: -22px;
    padding: 0 22px 8px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-aftercare ul::-webkit-scrollbar {
    display: none;
  }

  .services-aftercare li,
  .services-aftercare li:nth-child(n) {
    width: min(82vw, 330px);
    min-width: min(82vw, 330px);
    height: min(82vw, 330px);
    min-height: 0;
    flex: 0 0 min(82vw, 330px);
    aspect-ratio: 1;
    grid-column: auto;
    margin-top: 0;
    padding: 28px 25px 30px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .services-aftercare-card-label {
    font-size: 9px;
  }

  .services-aftercare li strong {
    max-width: 92%;
    margin-bottom: 17px;
    font-size: clamp(33px, 9.5vw, 38px);
    line-height: 1.02;
  }

  .services-aftercare li p {
    font-size: 15px;
    line-height: 1.58;
  }

  .services-aftercare li:hover {
    transform: none;
  }
}

/* Keep the aftercare cards readable at every breakpoint and mirror the works carousel on phones. */
@media (min-width: 621px) {
  .services-aftercare h2 {
    font-size: clamp(50px, 5vw, 78px);
  }

  .services-aftercare-copy > p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.65;
  }

  .services-aftercare-card-label {
    font-size: 9px;
  }

  .services-aftercare li strong {
    font-size: clamp(32px, 2.8vw, 44px);
  }

  .services-aftercare li p {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .services-aftercare li:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .services-aftercare {
    overflow: hidden;
  }

  .services-aftercare h2 {
    font-size: clamp(50px, 14.5vw, 58px);
    line-height: 0.96;
  }

  .services-aftercare-copy > p {
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.62;
  }

  .services-aftercare ul {
    display: flex;
    width: calc(100% + 22px);
    max-width: none;
    gap: 12px;
    margin-right: -22px;
    padding: 0 22px 8px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-aftercare ul::-webkit-scrollbar {
    display: none;
  }

  .services-aftercare li,
  .services-aftercare li:nth-child(n) {
    width: min(82vw, 330px);
    min-width: min(82vw, 330px);
    height: min(82vw, 330px);
    min-height: 0;
    flex: 0 0 min(82vw, 330px);
    aspect-ratio: 1;
    grid-column: auto;
    margin-top: 0;
    padding: 28px 25px 30px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .services-aftercare-card-label {
    font-size: 9px;
  }

  .services-aftercare li strong {
    max-width: 92%;
    margin-bottom: 17px;
    font-size: clamp(33px, 9.5vw, 38px);
    line-height: 1.02;
  }

  .services-aftercare li p {
    font-size: 15px;
    line-height: 1.58;
  }

  .services-aftercare li:hover {
    transform: none;
  }
}

/* Quiet advanced catalogue filters; category controls keep their compact chips. */
body.bastion-catalog-page :is(
  .catalog-advanced-groups,
  .catalog-inline-advanced
) .catalog-filter-options > button,
body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter) {
  position: relative;
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 0 5px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #77736d;
  box-shadow: none;
  font: 400 13px/1.35 var(--font-sans);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  transform: none;
  transition: color 0.2s ease;
}

body.bastion-catalog-page :is(
  .catalog-advanced-groups,
  .catalog-inline-advanced
) .catalog-filter-options > button::before,
body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translateY(-50%) scale(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.bastion-catalog-page :is(
  .catalog-advanced-groups,
  .catalog-inline-advanced
) .catalog-filter-options > button:hover,
body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter):hover {
  border: 0;
  background: transparent;
  color: #343330;
  box-shadow: none;
  transform: none;
}

body.bastion-catalog-page :is(
  .catalog-advanced-groups,
  .catalog-inline-advanced
) .catalog-filter-options > button:is(.is-active, [aria-pressed="true"]),
body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter):is(.is-active, [aria-pressed="true"]) {
  border: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-weight: 500;
}

body.bastion-catalog-page :is(
  .catalog-advanced-groups,
  .catalog-inline-advanced
) .catalog-filter-options > button:is(.is-active, [aria-pressed="true"])::before,
body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter):is(.is-active, [aria-pressed="true"])::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) .catalog-filter-options {
  display: grid;
  justify-items: start;
  gap: 2px;
}

body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) h3 {
  margin-bottom: 9px;
  color: #4e4b46;
  font: 500 11px/1.25 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) .catalog-color-swatches::before {
  content: "Оттенки";
  width: 100%;
  flex: 0 0 100%;
  margin: 5px 0 4px;
  color: #77736d;
  font: 500 10px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.bastion-catalog-page .catalog-scroll-advanced {
  column-gap: 14px;
}

@media (max-width: 620px) {
  body.bastion-catalog-page :is(
    .catalog-advanced-groups,
    .catalog-inline-advanced
  ) .catalog-filter-options > button {
    width: 100%;
    min-height: 34px;
    padding: 7px 2px 7px 18px;
    font-size: 15px;
  }

  body.bastion-catalog-page :is(
    .catalog-advanced-groups,
    .catalog-inline-advanced
  ) > section + section {
    padding-top: 20px;
    border-top: 1px solid rgba(32, 32, 32, 0.13);
  }

  body.bastion-catalog-page :is(
    .catalog-advanced-groups,
    .catalog-inline-advanced
  ) h3 {
    margin-bottom: 7px;
    font-size: 11px;
  }
}

/* 0.28.71 — Monologue-style circular hero autoplay indicators. */
body.home .hero-carousel-dots {
  right: 48px;
  bottom: 48px;
  left: auto;
  gap: 16px;
  transform: none;
}

body.home .hero-carousel-dots button {
  position: relative;
  display: grid;
  width: 6px;
  height: 6px;
  padding: 0;
  place-items: center;
  overflow: visible;
}

body.home .hero-carousel-dots button::before {
  position: absolute;
  inset: -10px;
  content: "";
}

body.home .hero-circular-progress {
  display: block;
  width: 8px;
  height: 8px;
  overflow: visible;
  transform: rotate(-90deg);
}

body.home .hero-circular-progress circle:last-child {
  stroke-dasharray: var(--hero-progress-length);
  stroke-dashoffset: var(--hero-progress-length);
}

body.home .hero-carousel-dots.is-autoplay-running button[aria-current="true"] .hero-circular-progress circle:last-child {
  animation: hero-circular-progress 4s linear both;
}

body.home .hero-carousel-dots button[aria-current="false"] .hero-circular-progress circle:last-child {
  opacity: 0;
  animation: none;
}

@keyframes hero-circular-progress {
  from { stroke-dashoffset: var(--hero-progress-length); }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 700px) {
  body.home .hero-carousel-dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-carousel-dots.is-autoplay-running button[aria-current="true"] .hero-circular-progress circle:last-child {
    animation: none;
  }
}

/* Minimal category row: bare labels, an active dot and native horizontal scrolling. */
:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories)::-webkit-scrollbar {
  display: none;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button {
  position: relative;
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0 6px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #77736d;
  box-shadow: none;
  font: 400 12px/1.3 var(--font-sans);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transform: none;
  transition: color 0.2s ease;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button::before {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: translateY(-50%) scale(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button:hover {
  border: 0;
  background: transparent;
  color: #343330;
  box-shadow: none;
  transform: none;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button.is-active,
:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button[aria-pressed="true"] {
  border: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-weight: 500;
}

:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button.is-active::before,
:is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button[aria-pressed="true"]::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 620px) {
  :is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) {
    gap: 16px;
  }

  :is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button {
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 14px;
  }
}

/* Installation prices use one expandable card system on every viewport. */
.services-installation-mobile {
  display: block;
  width: 100%;
  border-top: 1px solid rgba(32, 32, 32, 0.3);
}

.services-installation-table-wrap,
.services-installation-table-hint {
  display: none;
}

.services-installation-mobile summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(32, 32, 32, 0.3);
  color: #202020;
  cursor: pointer;
  font: 500 12px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  list-style: none;
}

.services-installation-mobile summary::-webkit-details-marker {
  display: none;
}

.services-installation-mobile summary:focus-visible {
  outline: 1px solid #202020;
  outline-offset: 4px;
}

.services-installation-mobile summary i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.services-installation-mobile summary i::before,
.services-installation-mobile summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease;
}

.services-installation-mobile summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.services-installation-mobile[open] summary i::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.services-installation-less,
.services-installation-mobile[open] .services-installation-more {
  display: none;
}

.services-installation-mobile[open] .services-installation-less {
  display: inline;
}

.services-installation-mobile-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
}

.services-installation-mobile-list article {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  box-sizing: border-box;
  padding: 28px 0 26px;
  border-bottom: 1px solid rgba(32, 32, 32, 0.18);
}

.services-installation-mobile-list h3 {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font: 400 clamp(20px, 1.7vw, 25px)/1.18 Georgia, serif;
}

.services-installation-mobile-list p {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  color: rgba(32, 32, 32, 0.68);
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}

.services-installation-mobile-list strong {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  color: #202020;
  font: 500 15px/1.2 var(--font-sans);
  white-space: nowrap;
}

.services-installation-mobile-list strong small {
  display: block;
  margin-top: 4px;
  color: rgba(32, 32, 32, 0.55);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-installation-mobile:not([open]) + .services-installation-note {
  display: none;
}

.services-installation-mobile[open] + .services-installation-note {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .services-installation-mobile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-installation .services-installation-head {
    margin-bottom: 28px;
  }

  .services-installation-mobile summary {
    min-height: 58px;
  }

  .services-installation-mobile-list {
    grid-template-columns: 1fr;
  }

  .services-installation-mobile-list article {
    gap: 9px 18px;
    padding: 22px 0 20px;
  }

  .services-installation-mobile-list h3 {
    font-size: 20px;
  }

  .services-installation-mobile-list p {
    font-size: 14px;
    line-height: 1.55;
  }

  .services-installation-mobile[open] + .services-installation-note {
    margin-top: 24px;
  }
}


/* Mobile section names use the same editorial serif as page headings. */
@media (max-width: 620px) {
  body.bastion-mobile-section-header .mobile-section-title,
  body.bastion-catalog-page .catalog-header-title,
  body.bastion-catalog-page.catalog-header-compact .catalog-header-title,
  body.bastion-catalog-page.catalog-header-scroll-expanded .catalog-header-title {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: none;
  }

  body.bastion-privacy-policy .mobile-section-title {
    font-size: 15px;
    letter-spacing: -0.015em;
  }
}

/* Full-bleed measurement preparation with compact editorial advice cards. */
.services-page .services-prep {
  position: relative;
  display: block;
  min-height: max(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #bcb4aa;
}

.services-page #service-measurement > figure {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
}

.services-page .services-prep figure::after {
  background: linear-gradient(90deg, rgba(24, 21, 18, 0.04) 0%, rgba(24, 21, 18, 0.08) 44%, rgba(24, 21, 18, 0.28) 100%);
}

.services-page .services-prep figure img {
  width: 100%;
  height: 100%;
  object-position: center center;
}

.services-page .services-prep-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 58vw);
  margin: 0 4.5vw 0 auto;
  padding: clamp(34px, 5vw, 70px) 0;
  background: transparent;
}

.services-prep-intro,
.services-page .services-prep-copy li {
  border: 1px solid rgba(33, 30, 26, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(28, 24, 20, 0.1);
}

.services-prep-intro {
  padding: clamp(28px, 3.1vw, 46px);
}

.services-page .services-prep-copy .services-prep-intro .eyebrow {
  margin: 0 0 18px;
  color: #777168;
}

.services-page .services-prep-copy .services-prep-intro h2 {
  font-size: clamp(50px, 5vw, 76px);
}

.services-prep-intro > p:not(.eyebrow) {
  max-width: 500px;
  margin: 22px 0 0;
  color: #514c45;
  font-size: 15px;
  line-height: 1.55;
}

.services-page .services-prep-copy ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.services-page .services-prep-copy li {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 0;
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.services-page .services-prep-copy li > span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  color: #777168;
}

.services-page .services-prep-copy li > span .icon {
  width: 17px;
  height: 17px;
}

.services-page .services-prep-copy li h3 {
  margin: 0 0 12px;
  font: 400 clamp(23px, 2vw, 30px)/0.98 Georgia, serif;
  letter-spacing: -0.035em;
}

.services-page .services-prep-copy li p {
  margin: 0;
  color: #59534c;
  font-size: 13px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .services-page .services-prep-copy li:hover {
    padding-left: 24px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(28, 24, 20, 0.16);
    transform: translateY(-5px);
  }

  .services-page .services-prep-copy li:hover > span {
    transform: translateX(4px);
  }
}

@media (max-width: 900px) {
  .services-page .services-prep {
    min-height: 0;
  }

  .services-page .services-prep figure {
    height: 100%;
    min-height: 100%;
  }

  .services-page .services-prep-copy {
    width: auto;
    margin: min(42vh, 360px) 24px 24px;
    padding: 0;
  }

  .services-page .services-prep-copy ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page .services-prep-copy li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .services-page .services-prep figure {
    height: 100%;
  }

  .services-page .services-prep-copy {
    margin: min(46vh, 340px) 16px 16px;
  }

  .services-prep-intro {
    padding: 24px 22px 26px;
  }

  .services-page .services-prep-copy .services-prep-intro h2 {
    font-size: clamp(43px, 13vw, 54px);
  }

  .services-prep-intro > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 14px;
  }

  .services-page .services-prep-copy ol {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
  }

  .services-page .services-prep-copy li,
  .services-page .services-prep-copy li:last-child {
    grid-column: auto;
    min-height: 0;
    gap: 14px;
    padding: 20px 22px;
  }

  .services-page .services-prep-copy li h3 {
    margin-bottom: 8px;
    font-size: 25px;
  }

  .services-page .services-prep-copy li p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Footer information is a direct, title-case link index instead of disclosures. */
.footer-quick-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font: 500 clamp(12px, 1vw, 15px)/1.35 var(--font-sans);
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color 0.22s ease;
}

.footer-quick-links a:hover,
.footer-quick-links a:focus-visible {
  color: #fff;
}

.footer-mobile-links {
  display: none;
}

@media (min-width: 621px) {
  .footer-quick-links.footer-desktop-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px clamp(24px, 3.2vw, 52px);
    white-space: normal;
  }

  .footer-quick-links.footer-desktop-links a {
    font-size: clamp(12px, 1vw, 15px);
    letter-spacing: 0.01em;
    text-transform: none;
  }
}

@media (max-width: 620px) {
  .footer-minimal > .footer-company-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-company-compact > .footer-company-logo {
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
  }

  .footer-company-compact .footer-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    padding: 0;
    border: 0;
  }

  .footer-company-compact .footer-mobile-links a {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 0;
    border: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.04em;
  }

  .footer-company-compact .footer-mobile-links a:last-child {
    grid-column: 1 / -1;
  }
}

/* The restored information-rich footer remains available on product pages too. */
@media (max-width: 620px) {
  body.single-product footer.footer-minimal {
    display: block;
  }
}

/* Warranty cards repeat the staggered editorial language of the review cards. */
.services-aftercare article {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 24px;
}

.services-aftercare article > header {
  grid-column: 1 / span 5;
}

.services-aftercare-copy {
  display: contents;
}

.services-aftercare-copy > p {
  grid-column: 7 / -1;
  align-self: end;
  margin: 0 0 4px;
}

.services-aftercare ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.services-aftercare li {
  isolation: isolate;
  display: flex;
  min-height: 0;
  aspect-ratio: 1;
  grid-column: span 4;
  justify-content: flex-end;
  flex-direction: column;
  padding: clamp(26px, 2.8vw, 40px);
  overflow: hidden;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.6;
  transition: transform 0.38s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.services-aftercare li:nth-child(1) {
  --aftercare-card-bg: #4a4a48;
  --aftercare-card-ink: #f7f4ef;
}

.services-aftercare li:nth-child(2) {
  --aftercare-card-bg: #895b57;
  --aftercare-card-ink: #fff8f3;
  margin-top: 72px;
}

.services-aftercare li:nth-child(3) {
  --aftercare-card-bg: #6d7882;
  --aftercare-card-ink: #f7f5f0;
  margin-top: 18px;
}

.services-aftercare li:nth-child(4) {
  --aftercare-card-bg: #d5cec3;
  --aftercare-card-ink: #292724;
  grid-column: 5 / span 4;
  margin-top: 48px;
}

.services-aftercare li:hover {
  transform: translateY(-5px);
}

.services-aftercare li::before {
  z-index: 2;
  top: clamp(24px, 2.4vw, 34px);
  right: clamp(24px, 2.4vw, 34px);
  font-size: 9px;
}

.services-aftercare li::after {
  content: attr(data-initial);
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: max-content;
  color: currentColor;
  background: color-mix(in srgb, currentColor 10%, transparent);
  background-clip: text;
  font: italic 400 clamp(190px, 22vw, 360px)/1 Georgia, serif;
  letter-spacing: -0.06em;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-aftercare li > * {
  position: relative;
  z-index: 1;
}

.services-aftercare-card-label {
  position: absolute;
  top: 0;
  left: 0;
  color: inherit;
  font: 500 8px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.54;
}

.services-aftercare li strong {
  max-width: 90%;
  margin: 0 0 16px;
  font: 400 clamp(28px, 2.55vw, 40px)/1.04 Georgia, serif;
  letter-spacing: -0.035em;
}

.services-aftercare li p {
  max-width: 34em;
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.74;
}

@media (min-width: 621px) and (max-width: 900px) {
  .services-aftercare article > header {
    grid-column: 1 / span 6;
  }

  .services-aftercare-copy > p {
    grid-column: 7 / -1;
  }

  .services-aftercare ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-aftercare li,
  .services-aftercare li:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .services-aftercare article {
    display: block;
  }

  .services-aftercare-copy {
    display: block;
  }

  .services-aftercare-copy > p {
    margin: 0 0 30px;
  }

  .services-aftercare ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }

  .services-aftercare li,
  .services-aftercare li:nth-child(n) {
    min-height: 300px;
    aspect-ratio: auto;
    grid-column: auto;
    margin-top: 0;
    padding: 26px 24px;
  }

  .services-aftercare li::before {
    top: 24px;
    right: 24px;
  }

  .services-aftercare li::after {
    font-size: min(72vw, 290px);
  }

  .services-aftercare-card-label {
    top: 0;
  }

  .services-aftercare li strong {
    max-width: 88%;
    margin-bottom: 14px;
    font-size: clamp(28px, 8vw, 34px);
  }

  .services-aftercare li p {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* Compact product status and finish swatches that stay usable with long variant lists. */
body.single-product .product-info-head {
  margin-bottom: 8px;
}

body.single-product .product-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #817b73;
  font-size: 9px;
  letter-spacing: 0.1em;
}

body.single-product .product-availability {
  color: #4f5e51;
}

body.single-product .product-sku-copy {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  cursor: pointer;
}

body.single-product .product-sku-copy:hover,
body.single-product .product-sku-copy:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-product .product-sku-copy-status {
  color: #4f5e51;
  letter-spacing: 0;
  text-transform: none;
}

body.single-product .product-photo-note {
  max-width: min(520px, 84%);
  margin: 0;
  padding: 0;
  background: transparent;
  color: #4b4945;
  font: 400 13px/1.5 var(--font-sans);
  text-align: center;
}

body.single-product .product-photo-note p {
  margin: 0;
}

body.single-product .product-photo-note p + p {
  margin-top: 7px;
}

body.single-product .product-photo-note a {
  color: #262522;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-product .product-variants {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: stretch;
  gap: 5px;
  margin: 8px 0 4px;
  padding: 3px 0 7px;
}

body.single-product .product-variants-head {
  margin: 0;
  overflow: hidden;
  color: #746e66;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-align: left;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.single-product .product-variant-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(32, 32, 32, 0.25) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

body.single-product .product-variant-scroll::-webkit-scrollbar {
  height: 3px;
}

body.single-product .product-variant-scroll::-webkit-scrollbar-track {
  background: transparent;
}

body.single-product .product-variant-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(32, 32, 32, 0.22);
}

body.single-product .product-variant-scroll:focus-visible {
  outline: 1px solid rgba(32, 32, 32, 0.35);
  outline-offset: 3px;
}

body.single-product .product-variant-links {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  box-sizing: border-box;
  margin: 0;
  padding: 3px 4px 7px;
}

body.single-product .product-variant {
  display: inline-flex;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  scroll-snap-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

body.single-product .product-variant i,
body.single-product .product-variant.is-current i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: var(--variant-color);
  box-shadow: inset 0 0 0 1px rgba(32, 32, 32, 0.09);
  transform: none;
}

body.single-product .product-variant.is-current {
  border-color: var(--ink);
}

body.single-product .product-variant:hover,
body.single-product .product-variant:focus-visible {
  transform: scale(1.06);
}

body.single-product .product-variant:hover i,
body.single-product .product-variant:focus-visible i {
  transform: none;
}

@media (max-width: 620px) {
  body.single-product .product-info-head {
    display: block;
    grid-column: 1 / -1;
    order: 1;
    min-width: 0;
    margin: 0 0 7px;
    padding-right: 72px;
  }

  body.single-product .product-kicker {
    gap: 4px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  body.single-product .product-variants {
    grid-column: 1 / -1;
    order: 4;
    margin: 10px 0 0;
    padding: 0 0 5px;
  }

  body.single-product .product-variant-links {
    gap: 4px;
    padding: 2px 3px 6px;
  }

  body.single-product .product-variant {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  body.single-product .product-variant i,
  body.single-product .product-variant.is-current i {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

/* Final cascade: keep the approved 0.28.70 layouts above legacy theme layers. */
.services-page .services-prep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
  overflow: visible;
  background: #efefef;
}

.services-page #service-measurement > figure {
  position: relative;
  inset: auto;
  grid-column: 1;
  width: auto;
  height: 100%;
  min-height: 720px;
}

.services-page .services-prep figure::after {
  content: none;
}

.services-page .services-prep-copy {
  position: relative;
  grid-column: 2;
  width: auto;
  margin: 0;
  padding: clamp(54px, 6vw, 92px) clamp(34px, 5.8vw, 88px);
  background: #efefef;
}

.services-page .services-prep-intro,
.services-page .services-prep-copy li {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.services-page .services-prep-intro {
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(32, 32, 32, 0.18);
}

.services-page .services-prep-copy ol {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
}

.services-page .services-prep-copy li,
.services-page .services-prep-copy li:last-child {
  grid-column: auto;
  min-height: 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.18);
}

.services-page .services-prep-copy li:hover {
  padding-left: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.services-aftercare li::before {
  content: none !important;
}

.services-aftercare li:nth-child(4) {
  --aftercare-card-bg: #d5cec3;
  --aftercare-card-ink: #292724;
  grid-column: span 4;
  margin-top: 54px;
}

.services-aftercare li:nth-child(5) {
  --aftercare-card-bg: #ece5dc;
  --aftercare-card-ink: #292724;
  grid-column: 5 / span 4;
  margin-top: -4px;
}

.services-aftercare li:nth-child(7) {
  grid-column: 5 / span 4;
}

#service-payment {
  scroll-margin-top: 96px;
}

body.single-product .product-variants {
  justify-items: center;
  margin-bottom: 0;
  padding-bottom: 2px;
}

body.single-product .product-variants-head {
  width: 100%;
  text-align: center;
}

body.single-product .product-variant-links {
  justify-content: center;
}

body.single-product .product-variant-scroll.is-overflowing .product-variant-links {
  justify-content: flex-start;
}

@media (min-width: 621px) {
  .product-card.is-on-sale .product-price {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .services-page .services-prep {
    display: block;
    min-height: 0;
  }

  .services-page #service-measurement > figure {
    width: 100%;
    height: min(62vh, 460px);
    min-height: 360px;
  }

  .services-page .services-prep-copy {
    width: 100%;
    margin: 0;
    padding: 16px;
  }

  .services-page .services-prep-copy li,
  .services-page .services-prep-copy li:last-child {
    min-height: 0;
    padding: 18px 0;
  }

  .services-aftercare li:nth-child(n) {
    margin-top: 0;
  }

  body.single-product .product-info {
    row-gap: 0;
    padding-bottom: 34px;
  }

  body.single-product .product-variants {
    margin-top: 7px;
    padding-bottom: 0;
  }

  body.single-product .product-info .calculate {
    grid-column: 1 / -1;
    margin-top: 18px;
  }

  body.single-product .product-service-links {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .product-card.is-on-sale.has-color-variants .product-price del {
    display: none;
  }
}

/* Canonical aftercare layout overrides all earlier editorial variants. */
@media (min-width: 621px) {
  .services-aftercare h2 { font-size: clamp(50px, 5vw, 78px); }
  .services-aftercare-copy > p { max-width: 720px; font-size: 18px; line-height: 1.65; }
  .services-aftercare-card-label { font-size: 9px; }
  .services-aftercare li strong { font-size: clamp(32px, 2.8vw, 44px); }
  .services-aftercare li p { font-size: 15px; line-height: 1.6; }
}

@media (min-width: 621px) and (max-width: 900px) {
  .services-aftercare li:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .services-aftercare { overflow: visible; }
  .services-aftercare h2 { font-size: clamp(50px, 14.5vw, 58px); line-height: 0.96; }
  .services-aftercare-copy > p { margin-bottom: 12px; font-size: 16px; line-height: 1.62; }
  .services-aftercare-hint {
    display: none;
  }
  .services-aftercare ul {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .services-aftercare li,
  .services-aftercare li:nth-child(n) {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    flex: none;
    aspect-ratio: 1;
    grid-column: auto;
    margin-top: 0;
    padding: 0;
  }
  .services-aftercare li::after {
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
  }
  .services-aftercare-card-label { font-size: 9px; }
  .services-aftercare li strong {
    max-width: 92%;
    margin-bottom: 17px;
    font-size: clamp(33px, 9.5vw, 38px);
    line-height: 1.02;
  }
  .services-aftercare li p { font-size: 15px; line-height: 1.58; }
  .services-aftercare li:hover { transform: none; }
}

/* Mobile form actions share one baseline and one comfortable touch target. */
@media (max-width: 620px) {
  .bastion-demo-form .bastion-form-input,
  .bastion-demo-form .bastion-form-select {
    min-height: 56px;
    align-items: center;
  }

  body .bastion-demo-form .bastion-form-input > input,
  body.home .request-copy .bastion-form-input > input,
  .contacts-page .contact-form-panel .bastion-form-input > input {
    min-height: 55px;
    padding: 0 8px 0 0;
    border: 0 !important;
    background: transparent;
    box-shadow: none;
  }

  .bastion-demo-form .bastion-form-input > button {
    display: grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    align-self: center;
    margin: 0 -4px 0 0;
    place-items: center;
  }

  .bastion-demo-form .bastion-form-input > button[hidden] {
    display: none;
  }

  .bastion-demo-form .bastion-form-input > button .icon {
    display: block;
    width: 14px;
    height: 14px;
  }

  .bastion-form-select select {
    min-height: 55px;
    padding: 0 52px 0 0;
  }

  .bastion-form-select .icon {
    top: 50%;
    right: 11px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
  }
}

/* 0.28.84 — one filter hierarchy in catalogue, search overlay and mobile. */
body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: clamp(24px, 3.4vw, 56px);
  row-gap: 24px;
}

body.bastion-catalog-page .catalog-inline-advanced[hidden] {
  display: none !important;
}

body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) > section {
  min-width: 0;
}

body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) .catalog-color-swatches {
  margin-top: 0;
  align-content: start;
}

body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) .catalog-color-swatches::before {
  display: none !important;
  content: none !important;
}

body.bastion-catalog-page :is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories)::before {
  display: none !important;
  content: none !important;
}

body.bastion-catalog-page :is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button {
  min-height: 38px !important;
  padding: 7px 0 7px 16px !important;
  font-size: 13px !important;
}

@media (max-width: 620px) {
  body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px;
    row-gap: 24px;
  }

  body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) > section,
  body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) > section + section {
    padding-top: 0;
    border-top: 0;
  }

  body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) > section:nth-child(n + 3) {
    padding-top: 22px;
    border-top: 1px solid rgba(32, 32, 32, 0.13);
  }

  body.bastion-catalog-page :is(.catalog-category-nav, .catalog-inline-categories, .catalog-scroll-categories) .catalog-category-button {
    min-height: 40px !important;
    padding: 8px 0 8px 16px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 330px) {
  body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.bastion-catalog-page :is(.catalog-advanced-groups, .catalog-inline-advanced) > section:nth-child(n + 2) {
    padding-top: 22px;
    border-top: 1px solid rgba(32, 32, 32, 0.13);
  }
}

/* 0.28.85 — reuse the navigation underline for pointer-based filter discovery. */
@media (hover: hover) and (pointer: fine) {
  body.bastion-catalog-page :is(
    .catalog-advanced-groups,
    .catalog-inline-advanced
  ) .catalog-filter-options > button:not(.catalog-color-filter)::after,
  body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter)::after,
  body.bastion-catalog-page :is(
    .catalog-category-nav,
    .catalog-inline-categories,
    .catalog-scroll-categories
  ) .catalog-category-button::after {
    position: absolute;
    right: calc(100% - 15px);
    bottom: 2px;
    left: 15px;
    height: 1px;
    background: currentColor;
    content: "";
    pointer-events: none;
    transition: right 0.34s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  body.bastion-catalog-page :is(
    .catalog-advanced-groups,
    .catalog-inline-advanced
  ) .catalog-filter-options > button:not(.catalog-color-filter):is(:hover, :focus-visible)::after,
  body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter):is(:hover, :focus-visible)::after,
  body.bastion-catalog-page :is(
    .catalog-category-nav,
    .catalog-inline-categories,
    .catalog-scroll-categories
  ) .catalog-category-button:is(:hover, :focus-visible)::after {
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bastion-catalog-page :is(
    .catalog-advanced-groups,
    .catalog-inline-advanced
  ) .catalog-filter-options > button:not(.catalog-color-filter)::after,
  body.bastion-catalog-page .catalog-scroll-advanced > button:not(.catalog-color-filter)::after,
  body.bastion-catalog-page :is(
    .catalog-category-nav,
    .catalog-inline-categories,
    .catalog-scroll-categories
  ) .catalog-category-button::after {
    transition-duration: 0s;
  }
}

/* 0.28.94 — carry the compact editorial catalogue cards onto phones. */
@media (max-width: 620px) {
  body.bastion-catalog-page .shop .product-grid:not(.is-single-column) {
    column-gap: 4px;
    row-gap: 14px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-footer {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 9px 6px 8px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-details {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-title,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-title h3 {
    width: 100%;
    text-align: center;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-title h3 {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.09em;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-type {
    display: none;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card-aside {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-price,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card.is-on-sale .product-price {
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    padding-top: 5px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatches {
    min-height: 10px;
    justify-content: center;
    margin-top: 7px;
    gap: 8px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatches.has-many-swatches {
    width: min(100%, 142px);
    row-gap: 8px;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatch,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatch.is-current,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card:hover .product-color-swatch.is-current {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
    transform: none;
  }

  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-color-swatch.is-current,
  body.bastion-catalog-page .product-grid:not(.is-single-column) .product-card:hover .product-color-swatch.is-current {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
  }
}

/* 0.28.94 — keep favourites and product recommendations in the same card system. */
@media (min-width: 901px) {
  .favorites-content .product-grid,
  .favorites-content .product-grid.is-single-column {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .favorites-content .product-grid:not(.is-single-column) {
    column-gap: clamp(5px, 0.5vw, 8px);
    row-gap: clamp(14px, 1.15vw, 18px);
  }

  body:is(.single-product, .home) .related-grid {
    gap: clamp(5px, 0.5vw, 8px);
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-footer {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 10px 8px 9px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-details {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title h3 {
    width: 100%;
    text-align: center;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.11em;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-type {
    display: none;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-aside {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-price,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card.is-on-sale .product-price {
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
    gap: 7px;
    padding-top: 5px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatches {
    min-height: 12px;
    justify-content: center;
    margin-top: 8px;
    gap: 10px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatches.has-many-swatches {
    width: min(100%, 172px);
    row-gap: 9px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch.is-current,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card:hover .product-color-swatch.is-current {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    transform: none;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch.is-current,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card:hover .product-color-swatch.is-current {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
  }
}

/* Product-card door previews: show the full leaf at 90% of the media height. */
.product-card .product-image {
  display: block;
}

.product-card .product-image > img:not(.image-drift-image) {
  position: absolute;
  inset: 5% 0 auto;
  width: 100%;
  height: 90%;
  object-fit: contain;
  object-position: center center;
}

/* Both states use the same 2:3 frame and 90%-height door geometry. */
.product-card .product-image.has-curated-mockup > .product-image-mockup {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transform: none;
}
.product-card .product-image.has-curated-mockup.is-image-loaded > .product-image-mockup {
  animation: none;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-image.has-curated-mockup > .product-image-mockup,
  .product-card:focus-within .product-image.has-curated-mockup > .product-image-mockup {
    opacity: 1;
    transform: none;
  }
  .product-card:hover .product-image.has-curated-mockup > .product-image-alt {
    opacity: 0;
  }
}

/* A focus point is optional; without one the photo fills the frame from centre. */
body.single-product .gallery-slide img {
  object-fit: cover;
  object-position: var(--gallery-focus-x, 50%) var(--gallery-focus-y, 50%);
}

/* The original door photo follows the interior and supplier photos. */
body.single-product .is-photo-wall .gallery-slide.is-product-door {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 8 / 5;
}

body.single-product .is-photo-wall .gallery-slide.is-portrait-mockup > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-product .is-photo-wall .gallery-slide.is-product-door {
  background: #efefef;
}

body.single-product .is-photo-wall .gallery-slide.is-product-door > img.product-door-image {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 620px) {
  body.single-product [data-mobile-gallery-hidden] {
    display: none !important;
  }

  body.single-product .is-photo-wall .gallery-slide.is-portrait-mockup,
  body.single-product .is-photo-wall .gallery-slide.is-product-door {
    width: 100vw;
    min-width: 100vw;
    flex: 0 0 100vw;
    aspect-ratio: auto;
  }

  body.single-product .is-photo-wall .gallery-slide.is-portrait-mockup {
    background: #efefef;
  }

  body.single-product .is-photo-wall .gallery-slide.is-portrait-mockup > img {
    width: 100%;
    height: var(--mobile-gallery-height);
    object-fit: contain;
  }
}

/* Home process arrows use the same restrained treatment as the Services steps. */
body.single-product .is-photo-wall .gallery-slide.is-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #efefef;
  cursor: default;
}

body.single-product .is-photo-wall .gallery-slide.is-photo-placeholder > img {
  width: 25%;
  max-width: 25%;
  height: auto;
  max-height: 60%;
  object-fit: contain;
  object-position: center;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 620px) {
  body.single-product .is-photo-wall .gallery-slide.is-photo-placeholder {
    width: 100vw;
    min-width: 100vw;
    flex: 0 0 100vw;
    aspect-ratio: auto;
    gap: 17px;
  }

  body.single-product .is-photo-wall .gallery-slide.is-photo-placeholder > img {
    width: 50%;
    max-width: 50%;
  }

  body.single-product .is-photo-wall .gallery-slide.is-photo-placeholder .product-photo-note {
    max-width: 86%;
    font-size: 12px;
  }
}

.details .home-service-list article > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: flex-start;
  color: #777168;
}

.details .home-service-list article > span .icon {
  width: 18px;
  height: 18px;
}

/* Solutions reviews inherit the complete visual language of the Home review cards. */
.works-page .works-list > article:nth-of-type(5n + 1),
.services-aftercare li:nth-child(5n + 1) {
  --review-card-bg: #4a4a48;
  --review-card-ink: #f7f4ef;
}

.works-page .works-list > article:nth-of-type(5n + 2),
.services-aftercare li:nth-child(5n + 2) {
  --review-card-bg: #66727b;
  --review-card-ink: #f8f6f1;
}

.works-page .works-list > article:nth-of-type(5n + 3),
.services-aftercare li:nth-child(5n + 3) {
  --review-card-bg: #72383d;
  --review-card-ink: #fff7f3;
}

.works-page .works-list > article:nth-of-type(5n + 4),
.services-aftercare li:nth-child(5n + 4) {
  --review-card-bg: #d9d9d9;
  --review-card-ink: #292724;
}

.works-page .works-list > article:nth-of-type(5n),
.services-aftercare li:nth-child(5n) {
  --review-card-bg: #efe9e1;
  --review-card-ink: #292724;
}

.works-page .works-list > article {
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.works-page .works-list > article:hover {
  transform: translateY(-5px);
}

.works-page .works-card-media {
  background: var(--review-card-bg, #4a4a48);
  color: var(--review-card-ink, #f7f4ef);
}

.works-page .works-card-review {
  padding: clamp(24px, 3vw, 42px);
  color: var(--review-card-ink, #f7f4ef);
}

.works-page .works-card-review-label {
  color: var(--review-card-ink, #f7f4ef);
  opacity: 0.58;
}

.works-page .works-card-review-person {
  color: var(--review-card-ink, #f7f4ef);
  opacity: 0.72;
}

@media (min-width: 901px) {
  .works-page .works-card-review-person {
    margin-top: 14px;
  }
}

@media (max-width: 620px) {
  .works-page .works-card-review {
    padding: 22px 18px 18px;
  }

  .works-page .works-card-review-label {
    margin-bottom: 7px;
    line-height: 1.35;
  }

  .works-page .works-card-review-preview {
    display: block;
    max-height: none;
    overflow: visible;
    font-size: clamp(26px, 7.25vw, 31px);
    line-height: 1.05;
    -webkit-line-clamp: unset;
  }

  .works-page .works-card-review-person {
    margin-top: 18px;
    opacity: 0.68;
  }

  .works-page .works-card-review-person small {
    margin-top: 10px;
  }
}

/* A copied product name expands in place only when its default lines are clipped. */
body.single-product .product-info .product-title-shell.is-expanded h1 {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

/* The footer reuses the contacts directory instead of a separate miniature table. */
.footer-minimal > .footer-contact-directory {
  margin-inline: calc(-1 * var(--page-gutter));
  padding: 42px var(--page-gutter) 58px;
  background: transparent;
  color: #fff;
}

.footer-contact-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.7vw, 42px);
}

.footer-contact-main {
  grid-column: span 2;
}

.footer-contact-panel,
.footer-contact-content {
  min-width: 0;
}

.footer-contact-toggle {
  display: none;
}

.footer-contact-main .contact-disclosure-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.7vw, 42px);
}

.footer-contact-company .contact-disclosure-groups {
  grid-template-columns: minmax(0, 1fr);
}

.footer-contact-directory .contact-disclosure-groups h2 {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.footer-contact-directory .contact-disclosure-groups dl > div {
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 16px;
  padding-block: 14px;
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-contact-directory .contact-disclosure-groups dt,
.footer-contact-directory .contact-disclosure-groups dd,
.footer-contact-directory .contact-disclosure-secondary {
  color: rgba(255, 255, 255, 0.66);
  font: 400 14px/1.5 var(--font-sans);
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.footer-contact-directory .contact-disclosure-secondary {
  display: block;
  margin-top: 2px;
}

.footer-contact-directory .contact-disclosure-groups dd > a,
.footer-contact-directory .contact-disclosure-groups dd .contact-disclosure-secondary > a,
.footer-contact-directory .site-author-toggle {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.footer-contact-directory .contact-disclosure-groups dd > a:hover,
.footer-contact-directory .contact-disclosure-groups dd > a:focus-visible,
.footer-contact-directory .contact-disclosure-groups dd .contact-disclosure-secondary > a:hover,
.footer-contact-directory .contact-disclosure-groups dd .contact-disclosure-secondary > a:focus-visible,
.footer-contact-directory .site-author-toggle:hover,
.footer-contact-directory .site-author-toggle:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact-directory .contact-disclosure-groups dl > .contact-disclosure-messenger-row {
  display: grid;
  align-items: start;
}

.footer-contact-directory .contact-disclosure-messenger-row dt {
  margin: 0;
  padding-top: 4px;
}

.footer-contact-directory .contact-disclosure-socials {
  display: flex;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 10px;
  margin-top: 0;
}

.footer-contact-directory .contact-disclosure-socials a {
  min-height: 28px;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 400 13px/1.4 var(--font-sans);
  white-space: nowrap;
  text-decoration: none;
}

.footer-contact-directory .contact-disclosure-socials a:hover,
.footer-contact-directory .contact-disclosure-socials a:focus-visible {
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-showroom-logo {
  display: block;
  width: 100%;
  margin-top: 30px;
}

.contact-showroom-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-contact-directory .contact-showroom-logo {
  width: 100%;
  margin-top: 26px;
}

:is(.footer-contact-directory, .footer-site-author) .site-author-links > :is(a, button) {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

:is(.footer-contact-directory, .footer-site-author) .site-author-links > :is(a, button):is(:hover, :focus-visible) {
  border-color: #fff;
  background: #fff;
  color: #202020;
}

@media (min-width: 621px) and (max-width: 1119px) {
  .footer-contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact-main {
    grid-column: auto;
  }

  .footer-contact-main .contact-disclosure-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .footer-minimal > .footer-contact-directory {
    margin-inline: 0;
    padding: 20px 0 32px;
    background: transparent;
    color: #fff;
  }

  .footer-contact-layout {
    display: block;
  }

  .footer-contact-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-contact-panel:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-contact-toggle {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font: 500 11px/1.3 var(--font-sans);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
  }

  .footer-contact-toggle .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.2, 1);
  }

  .footer-contact-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
  }

  .footer-contact-content {
    display: none;
  }

  .footer-contact-toggle[aria-expanded="true"] + .footer-contact-content {
    display: block;
    padding-bottom: 24px;
    animation: footer-company-content-in 0.32s cubic-bezier(0.22, 0.8, 0.2, 1) both;
  }

  .footer-contact-content .contact-disclosure-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-contact-directory .contact-disclosure-groups h2 {
    color: rgba(255, 255, 255, 0.85);
  }

  .footer-contact-company .contact-disclosure-groups h2 {
    display: none;
  }

  .footer-contact-directory .contact-disclosure-groups dl > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    border-color: rgba(255, 255, 255, 0.18);
  }

  .footer-contact-directory .contact-disclosure-groups dt,
  .footer-contact-directory .contact-disclosure-groups dd,
  .footer-contact-directory .contact-disclosure-secondary {
    color: rgba(255, 255, 255, 0.68);
  }

  .footer-contact-directory .contact-disclosure-groups dd > a,
  .footer-contact-directory .contact-disclosure-groups dd .contact-disclosure-secondary > a,
  .footer-contact-directory .site-author-toggle,
  .footer-contact-directory .contact-disclosure-socials a {
    color: #fff;
  }

  .footer-contact-directory .contact-disclosure-socials a:hover,
  .footer-contact-directory .contact-disclosure-socials a:focus-visible {
    color: #fff;
  }
}

/* Contacts: one quiet type scale and text-only, clearly interactive links. */
.contacts-page .contact-disclosure-static .contact-disclosure-groups dt,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd .contact-disclosure-secondary {
  font: 400 14px/1.5 var(--font-sans);
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.contacts-page .contact-disclosure-static .contact-disclosure-groups dt,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd {
  color: #68645e;
}

.contacts-page .contact-disclosure-static .contact-disclosure-groups dd .contact-disclosure-secondary {
  display: block;
  margin-top: 2px;
  color: inherit;
}

.contacts-page .contact-disclosure-static .contact-disclosure-groups dd > a,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd .contact-disclosure-secondary > a,
.contacts-page .contact-disclosure-static .site-author-toggle {
  color: #242424;
  font-weight: 400;
  text-decoration: none;
}

.contacts-page .contact-disclosure-static .contact-disclosure-groups dd > a:hover,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd > a:focus-visible,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd .contact-disclosure-secondary > a:hover,
.contacts-page .contact-disclosure-static .contact-disclosure-groups dd .contact-disclosure-secondary > a:focus-visible,
.contacts-page .contact-disclosure-static .site-author-toggle:hover,
.contacts-page .contact-disclosure-static .site-author-toggle:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contacts-page .contact-disclosure-static .contact-disclosure-groups dl > .contact-disclosure-messenger-row {
  display: grid;
  align-items: start;
}

.contacts-page .contact-disclosure-static .contact-disclosure-messenger-row dt {
  margin: 0;
  padding-top: 4px;
}

.contacts-page .contact-disclosure-static .contact-disclosure-socials {
  margin-top: 0;
  column-gap: 14px;
  row-gap: 10px;
}

.contacts-page .contact-disclosure-static .contact-disclosure-socials a {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #242424;
  font: 400 13px/1.4 var(--font-sans);
  gap: 5px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacts-page .contact-disclosure-static .contact-disclosure-socials a:hover,
.contacts-page .contact-disclosure-static .contact-disclosure-socials a:focus-visible {
  border: 0;
  background: transparent;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contacts-page .contact-disclosure-static .contact-disclosure-socials a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.contacts-page .contact-disclosure-static .contact-disclosure-socials .social-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

@media (min-width: 1120px) {
  .contacts-page .contact-disclosure-static .contact-disclosure-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 2.7vw, 42px);
  }

  .contacts-page .contact-disclosure-static .contact-disclosure-messengers {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .contacts-page .contact-disclosure-static .contact-disclosure-groups dl > .contact-disclosure-messenger-row {
    display: grid;
  }

  .contacts-page .contact-disclosure-static .contact-disclosure-messengers {
    flex-wrap: wrap;
    column-gap: 14px;
  }

  .contacts-page .contact-disclosure-static .contact-disclosure-messengers a {
    font-size: 13px;
  }

  .contacts-page .contact-disclosure-static .contact-disclosure-messengers .social-icon {
    display: none;
  }
}

/* Three explicit catalogue densities; only the image size changes between labelled modes. */
body.bastion-catalog-page .catalog-grid-switch {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  white-space: nowrap;
}

body.bastion-catalog-page .catalog-grid-switch > button {
  display: grid;
  width: 27px;
  height: 32px;
  min-width: 27px;
  min-height: 32px;
  padding: 5px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #85817a;
  cursor: pointer;
  place-items: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.bastion-catalog-page .catalog-grid-switch > button:hover,
body.bastion-catalog-page .catalog-grid-switch > button:focus-visible,
body.bastion-catalog-page .catalog-grid-switch > button[aria-pressed="true"] {
  border-bottom-color: #202020;
  background: transparent;
  color: #202020;
}

body.bastion-catalog-page .catalog-grid-switch > button:focus-visible {
  outline: 1px solid #202020;
  outline-offset: 2px;
}

body.bastion-catalog-page .catalog-grid-switch svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body.bastion-catalog-page .catalog-inline-grid-switch { grid-column: 4; grid-row: 1; }
body.bastion-catalog-page .catalog-overlay-grid-switch { grid-column: 5; grid-row: 1; }

@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(190px, 1fr) repeat(2, 34px) 88px 34px 82px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    grid-template-columns: auto minmax(180px, 1fr) repeat(2, 38px) 88px 82px;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-more { grid-column: 5; }
  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-reset { grid-column: 6; }
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-overlay-reset { grid-column: 6; }
}

@media (min-width: 621px) and (max-width: 900px) {
  body.bastion-catalog-page .catalog-inline-price {
    grid-template-columns: minmax(160px, 1fr) repeat(2, 34px) 88px 34px 82px;
  }

  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-more { grid-column: 5; }
  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-reset { grid-column: 6; }
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-inline-price > .catalog-inline-grid-switch,
  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price > .catalog-overlay-grid-switch {
    display: inline-flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    margin-top: 8px;
  }

  body.bastion-catalog-page .catalog-scroll-grid-switch > button {
    width: 24px;
    min-width: 24px;
    padding: 4px;
  }
}

@media (min-width: 901px) {
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="large"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="medium"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="compact"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (min-width: 621px) and (max-width: 900px) {
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="large"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="medium"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="compact"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 620px) {
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="large"] { grid-template-columns: minmax(0, 1fr) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="medium"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="compact"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="compact"] .product-card-footer {
  display: none !important;
}

@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main > .catalog-inline-price {
    grid-template-columns: minmax(180px, 1fr) 34px 34px 88px 34px 72px;
  }
}

/* The phone keeps its familiar two-column catalogue without layout controls. */
@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-grid-switch {
    display: none !important;
  }

  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode] .product-card-footer {
    display: flex !important;
  }
}

/* One circular control cycles through 4 / 5 / 7 desktop columns. */
body.bastion-catalog-page .catalog-grid-cycle {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

body.bastion-catalog-page .catalog-grid-cycle:hover,
body.bastion-catalog-page .catalog-grid-cycle:focus-visible {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

body.bastion-catalog-page .catalog-grid-cycle > svg {
  display: none;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body.bastion-catalog-page .catalog-grid-cycle[data-grid-mode="large"] > svg[data-grid-icon="large"],
body.bastion-catalog-page .catalog-grid-cycle[data-grid-mode="medium"] > svg[data-grid-icon="medium"],
body.bastion-catalog-page .catalog-grid-cycle[data-grid-mode="compact"] > svg[data-grid-icon="compact"] {
  display: block;
}

body.bastion-catalog-page .catalog-inline-order > .catalog-order-icon,
body.bastion-catalog-page .catalog-inline-order[data-order-state]:not([data-order-state=""]) > .catalog-order-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bastion-catalog-page .catalog-inline-order > .catalog-order-icon::after {
  content: none !important;
}

@media (min-width: 901px) {
  body.bastion-catalog-page .catalog-inline-tools > .catalog-inline-main > .catalog-inline-price {
    grid-template-columns: minmax(180px, 1fr) repeat(4, 34px) 72px;
  }

  body.bastion-catalog-page .catalog-tools-overlay .catalog-overlay-price {
    grid-template-columns: auto minmax(180px, 1fr) repeat(3, 38px) 82px;
  }

  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="large"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="medium"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="compact"] { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
}

@media (min-width: 621px) and (max-width: 900px) {
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="large"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="medium"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  body.bastion-catalog-page .shop [data-catalog-grid][data-grid-mode="compact"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

@media (max-width: 620px) {
  body.bastion-catalog-page .catalog-grid-cycle {
    display: none !important;
  }
}

/* Restored product identity: original serif heading with a left-aligned price and finish. */
body.single-product .product-info-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 10px;
  padding: 0;
}

body.single-product .product-kicker {
  min-width: 0;
  flex: 1 1 auto;
  gap: 5px;
  color: #77736d;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.11em;
}

body.single-product .product-secondary-actions {
  display: flex;
  width: auto;
  flex: 0 0 auto;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  margin: 0;
}

body.single-product .product-save,
body.single-product .product-share {
  position: relative;
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  place-items: center;
}

body.single-product .product-save:hover,
body.single-product .product-save:focus-visible,
body.single-product .product-save.is-saved,
body.single-product .product-share:hover,
body.single-product .product-share:focus-visible,
body.single-product .product-share.is-copied {
  background: transparent;
}

body.single-product .product-save svg,
body.single-product .product-share .icon {
  width: 20px;
  height: 20px;
  margin: 0;
}

body.single-product :is(.product-save-label, .product-share-label) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.single-product .product-title-shell {
  width: 100%;
}

body.single-product .product-info .product-title-shell h1 {
  max-height: 2.28em;
  font-family: Georgia, serif;
  font-size: clamp(40px, 3.25vw, 50px);
  font-weight: 400;
  line-height: 1.14;
  text-transform: none;
  letter-spacing: -0.035em;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

body.single-product .product-info-price {
  margin: 11px 0 21px;
  text-align: left;
}

body.single-product .product-info-price strong {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

body.single-product .product-variants {
  justify-items: start;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0 0 8px;
}

body.single-product .product-variants-head {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.01em;
}

body.single-product .product-variant-links,
body.single-product .product-variant-scroll.is-overflowing .product-variant-links {
  justify-content: flex-start;
  gap: 4px;
  padding: 2px 4px 4px;
}

body.single-product .product-variant {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

body.single-product .product-variant i,
body.single-product .product-variant.is-current i {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

@media (max-width: 620px) {
  body.single-product .product-info-head {
    position: relative;
    grid-column: 1 / -1;
    order: 1;
    margin-bottom: 10px;
    padding: 0;
  }

  body.single-product .product-kicker {
    gap: 4px;
    padding-right: 8px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  body.single-product .product-secondary-actions {
    top: -6px;
    right: 0;
    gap: 2px;
  }

  body.single-product .product-save,
  body.single-product .product-share {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 6px;
  }

  body.single-product .product-save svg,
  body.single-product .product-share .icon {
    width: 16px;
    height: 16px;
  }

  body.single-product .product-title-shell {
    grid-column: 1 / -1;
    order: 2;
  }

  body.single-product .product-info .product-title-shell h1 {
    max-height: 2.28em;
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.14;
  }

  body.single-product .product-info-price {
    position: static;
    grid-column: 1 / -1;
    order: 3;
    margin: 10px 0 19px;
    text-align: left;
  }

  body.single-product .product-info-price strong {
    font-size: 18px;
  }

  body.single-product .product-variants {
    grid-column: 1 / -1;
    order: 4;
    justify-items: start;
    gap: 11px;
    margin: 0;
    padding-bottom: 3px;
  }

  body.single-product .product-variants-head {
    margin: 0;
    font-size: 12px;
    text-align: left;
  }

  body.single-product .product-variant-links,
  body.single-product .product-variant-scroll.is-overflowing .product-variant-links {
    justify-content: flex-start;
    gap: 3px;
    padding: 2px 3px 4px;
  }

  body.single-product .product-variant {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  body.single-product .product-variant i,
  body.single-product .product-variant.is-current i {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
}

/* 0.28.97 — icon controls stay borderless until they are hovered, focused, or active. */
body.bastion-catalog-page :is(
  .catalog-inline-order,
  .catalog-inline-sort,
  .catalog-grid-toggle,
  .catalog-inline-more,
  .catalog-scroll-sort,
  .catalog-scroll-grid,
  .catalog-scroll-more
):not(.is-active):not(.is-open):not(.has-filters):not([aria-pressed="true"]):not(:hover):not(:focus-visible) {
  border-color: transparent !important;
}

@media (max-width: 620px) {
  .favorites-content .product-grid:not(.is-single-column) {
    column-gap: 4px;
    row-gap: 14px;
  }

  body:is(.single-product, .home) .related-grid {
    gap: 4px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-footer {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 9px 6px 8px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-details {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title h3 {
    width: 100%;
    text-align: center;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title h3 {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.09em;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-type {
    display: none;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-aside {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-price,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card.is-on-sale .product-price {
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    padding-top: 5px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatches {
    min-height: 10px;
    justify-content: center;
    margin-top: 7px;
    gap: 8px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatches.has-many-swatches {
    width: min(100%, 142px);
    row-gap: 8px;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch.is-current,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card:hover .product-color-swatch.is-current {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
    transform: none;
  }

  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch.is-current,
  :is(.favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card:hover .product-color-swatch.is-current {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
  }
}

/* The service cards use the same square face and copy structure as the review cards. */
.services-aftercare li.works-card-media {
  display: block;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  background: var(--review-card-bg);
  color: var(--review-card-ink);
}

.services-aftercare li.works-card-media::before,
.services-aftercare li.works-card-media::after {
  content: none !important;
}

.services-aftercare li .review-flip-front {
  background: var(--review-card-bg);
  color: var(--review-card-ink);
}

.services-aftercare li .works-card-review {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.2vw, 32px);
  overflow: hidden;
  color: inherit;
  cursor: default;
}

.services-aftercare li .works-card-review-preview {
  display: block;
  max-height: none;
  overflow: visible;
  color: inherit;
  font: italic 400 clamp(34px, 2.9vw, 44px)/1.04 Georgia, serif;
  letter-spacing: -0.035em;
}

.services-aftercare li .works-card-review-person {
  display: block;
  margin-top: 14px;
  color: inherit;
  opacity: 0.74;
}

.services-aftercare li .works-card-review-person small {
  display: block;
  max-height: none;
  margin: 0;
  overflow: visible;
  color: inherit;
  opacity: 1;
  font: 400 clamp(15px, 1.15vw, 17px)/1.42 var(--font-sans);
}

@media (max-width: 620px) {
  .works-page .works-card-media,
  body.home .home-work-media,
  .services-aftercare li.works-card-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 1;
  }

  .works-page .works-list > article:hover,
  .services-aftercare li.works-card-media:hover {
    transform: none;
  }

  .works-page .works-card-review,
  body.home .home-work-card .works-card-review,
  .services-aftercare li .works-card-review {
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(18px, 5vw, 24px);
    overflow: hidden;
    background: transparent;
  }

  .works-page .works-card-review-preview {
    display: -webkit-box;
    max-height: none;
    overflow: hidden;
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.035;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  body.home .home-work-card .works-card-review-preview {
    display: -webkit-box;
    max-height: none;
    overflow: hidden;
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.035;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  .works-page .works-card-review-person,
  body.home .home-work-card .works-card-review-person {
    margin-top: 12px;
  }

  .works-page .works-card-review-person small,
  body.home .home-work-card .works-card-review-person small {
    display: -webkit-box;
    max-height: none;
    margin-top: 0;
    overflow: hidden;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .works-page .works-card-review-person small {
    font-size: 12px;
  }

  body.home .home-work-card .works-card-review-person small {
    font-size: 12px;
  }

  body.home .home-work-media .review-flip-front[data-review-initial]::before,
  .works-page .review-flip-front[data-review-initial]::before {
    font-size: clamp(340px, 110vw, 460px);
  }

  .services-aftercare li .review-flip-front[data-review-initial]::before {
    font-size: min(72vw, 290px);
  }

  .services-aftercare li.works-card-media {
    width: 100%;
    min-width: 0;
    height: auto;
    flex: none;
    padding: 0;
    margin-top: 0;
  }

  .services-aftercare li .works-card-review-preview {
    font-size: clamp(36px, 10vw, 44px);
  }

  .services-aftercare li .works-card-review-person {
    margin-top: 14px;
    opacity: 0.74;
  }

  .services-aftercare li .works-card-review-person small {
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.4;
  }
}

/* Tablet catalogue cards use the same editorial caption as desktop and phone. */
@media (min-width: 621px) and (max-width: 900px) {
  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-footer {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 9px 6px 8px;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-details {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title {
    width: 100%;
    text-align: center;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-title h3 {
    width: 100%;
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.09em;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-type {
    display: none;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card-aside {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-price,
  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-card.is-on-sale .product-price {
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    padding-top: 5px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatches {
    min-height: 10px;
    justify-content: center;
    margin-top: 7px;
    gap: 8px;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch,
  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch.is-current {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
    transform: none;
  }

  :is(body.bastion-catalog-page .product-grid:not(.is-single-column), .favorites-content .product-grid, body:is(.single-product, .home) .related-grid) .product-color-swatch.is-current {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
  }
}

/* Reset controls share the catalogue's restrained type and transparent surface. */
@media (min-width: 621px) and (max-width: 900px) {
  body.bastion-catalog-page :is(.catalog-inline-reset, .catalog-tools-overlay .catalog-overlay-reset) {
    display: inline-flex;
    width: 82px;
    min-width: 82px;
    height: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #68625a;
    cursor: pointer;
    font: 500 9px/1 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  body.bastion-catalog-page :is(.catalog-inline-reset, .catalog-tools-overlay .catalog-overlay-reset)[hidden] {
    display: none;
  }

  body.bastion-catalog-page :is(.catalog-inline-reset, .catalog-tools-overlay .catalog-overlay-reset):is(:hover, :focus-visible) {
    color: var(--ink);
  }

  body.bastion-catalog-page :is(.catalog-inline-reset, .catalog-tools-overlay .catalog-overlay-reset) .icon {
    width: 11px;
    height: 11px;
  }
}

/* A quiet, readable legal line closes the dark footer. */
footer.footer-minimal .footer-bottom-disclaimer {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  align-items: start;
  justify-content: stretch;
  gap: clamp(28px, 5vw, 76px);
  min-height: 0;
  margin: 0;
  padding: 29px 0 0;
  border-top: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: 400 13px/1.5 var(--font-sans);
  text-transform: none;
  letter-spacing: 0;
}

footer.footer-minimal .footer-bottom-brand {
  white-space: nowrap;
}

footer.footer-minimal .footer-bottom-note {
  min-width: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

footer.footer-minimal .footer-bottom-note a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer.footer-minimal .footer-bottom-note a:hover,
footer.footer-minimal .footer-bottom-note a:focus-visible {
  color: #fff;
}

@media (max-width: 700px) {
  footer.footer-minimal .footer-bottom-disclaimer {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 24px 0 0;
    font-size: clamp(11px, 3.25vw, 12px);
    line-height: 1.52;
  }

  footer.footer-minimal .footer-bottom-brand {
    display: none;
  }
}

/* Selected door mockups replace the old pair of home interior photos. */
body.home .story-showcase {
  display: block;
  min-height: 0;
  background: #f3f2ef;
}

.story-showcase-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfdedb;
  touch-action: pan-y;
}

.story-showcase-slide {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(2%);
  transition: opacity 800ms ease, transform 1100ms cubic-bezier(0.22, 0.8, 0.2, 1), visibility 800ms;
}

.story-showcase-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.story-showcase-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-showcase-stage::after {
  position: absolute;
  z-index: 2;
  inset: 52% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.57));
  content: "";
  pointer-events: none;
}

.story-showcase-dots button:focus-visible,
.story-showcase-caption:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.story-showcase-captions {
  position: absolute;
  z-index: 3;
  right: clamp(205px, 22vw, 320px);
  bottom: 30px;
  left: var(--page-gutter);
  min-width: 0;
  height: 80px;
}

.story-showcase-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms;
}

.story-showcase-caption.is-active {
  opacity: 1;
  visibility: visible;
}

.story-showcase-name {
  font: 400 clamp(22px, 2.15vw, 31px)/1.05 Georgia, serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.story-showcase-meta {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 18px;
}

.story-showcase-finish {
  color: rgba(255, 255, 255, 0.88);
  font: 400 12px/1.25 var(--font-sans);
}

.story-showcase-price {
  white-space: nowrap;
  font: 500 15px/1.2 var(--font-sans);
}

.story-showcase-arrow {
  display: inline-flex;
  flex: 0 0 auto;
}

.story-showcase-arrow .icon {
  width: 19px;
  height: 19px;
}

.story-showcase-dots {
  position: absolute;
  z-index: 3;
  right: var(--page-gutter);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.story-showcase-dots button {
  display: grid;
  width: 19px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.story-showcase-dots svg {
  transform: rotate(-90deg);
}

.story-showcase-dots circle:last-child {
  stroke-dasharray: 28.274;
  stroke-dashoffset: 28.274;
}

.story-showcase-dots.is-autoplay-running button[aria-current="true"] circle:last-child {
  animation: story-showcase-progress 5s linear both;
}

@keyframes story-showcase-progress {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 620px) {
  .story-showcase-stage {
    aspect-ratio: 4 / 3;
  }

  .story-showcase-captions {
    right: 20px;
    bottom: 20px;
    left: 20px;
    height: 96px;
  }

  .story-showcase-caption {
    gap: 5px;
  }

  .story-showcase-name {
    font-size: clamp(19px, 5.2vw, 24px);
  }

  .story-showcase-finish {
    font-size: 11px;
  }

  .story-showcase-meta {
    gap: 10px;
  }

  .story-showcase-price {
    font-size: 12px;
  }

  .story-showcase-dots {
    top: 16px;
    right: 20px;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-showcase-slide,
  .story-showcase-caption {
    transition: none;
  }

  .story-showcase-dots.is-autoplay-running button[aria-current="true"] circle:last-child {
    animation: none;
  }
}

/* Desktop footer trial: keep the directory content without separators or display headings. */
@media (min-width: 901px) {
  body.single-product footer.footer-minimal,
  footer.footer-minimal .footer-contact-directory .contact-disclosure-groups dl > div {
    border-top: 0;
    border-bottom: 0;
  }

  footer.footer-minimal .footer-lead {
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  footer.footer-minimal > .footer-contact-directory {
    padding-top: 0;
  }

  footer.footer-minimal .footer-contact-directory .contact-disclosure-groups h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  footer.footer-minimal .footer-contact-directory .contact-showroom-logo {
    display: none;
  }
}

/* The mockup carousel uses the original full-screen stacking behavior. */
body.home #content > .story-showcase {
  position: sticky;
  z-index: 0;
  top: 0;
}

body.home #content > .story-showcase .story-showcase-stage {
  height: 100svh;
  aspect-ratio: auto;
}

@media (min-width: 701px) {
  body.home #content > .story-showcase .story-showcase-slide {
    background: #dfdedb;
  }

  body.home #content > .story-showcase .story-showcase-slide img {
    object-fit: cover;
  }
}

@media (min-width: 701px) {
  body.home #content > .story-showcase .story-showcase-stage::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: clamp(150px, 23svh, 270px);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.48), rgba(10, 10, 10, 0.18) 48%, transparent);
    content: "";
    pointer-events: none;
  }
}

@media (max-width: 620px) {
  body.home #content > .story-showcase {
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
  }

  body.admin-bar.home #content > .story-showcase {
    padding-top: calc(118px + env(safe-area-inset-top, 0px));
  }

  body.home #content > .story-showcase .story-showcase-stage {
    height: 60svh;
  }

  body.home #content > .story-showcase .story-showcase-slide img {
    /* Keep the full image height; crop the sides around the door's focus point. */
    object-fit: cover;
    object-position: var(--showcase-focus-x, 50%) center;
  }
}

body.home .home-scroll-layer .hero {
  position: relative;
}

/* Contacts opens with the same editorial composition as the Solutions page. */
.contacts-page .contacts-intro {
  position: sticky;
  z-index: 0;
  top: var(--page-stacking-intro-top, 0px);
  display: grid;
  min-height: calc(100svh - 84px);
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #efefef;
}

.contacts-page .contacts-intro-copy {
  display: flex;
  width: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 9vw, 128px) var(--page-gutter) clamp(74px, 7vw, 112px);
  text-align: center;
}

.contacts-page .contacts-intro-copy .eyebrow {
  margin: 0 0 clamp(28px, 3vw, 42px);
  color: #625f59;
}

.contacts-page .contacts-intro-copy h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(84px, 11.5vw, 176px);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.contacts-page .contacts-intro-note {
  max-width: 820px;
  margin: clamp(38px, 4.5vw, 62px) auto 0;
  color: #45423d;
  font: 400 clamp(20px, 2vw, 30px)/1.3 Georgia, serif;
  text-wrap: balance;
}

.contacts-page .contacts-intro-map {
  width: min(66vw, 880px);
  margin: clamp(34px, 3.4vw, 52px) auto 0;
}

.contacts-page .contacts-intro-map .map-wrap:not(.is-fullscreen) {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 844 / 597;
}

.contacts-page .contacts-intro-map .map-wrap:not(.is-fullscreen) iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.contacts-page .contacts-scroll-layer {
  position: relative;
  z-index: 2;
  background: #fff;
}

body.map-fullscreen-open .contacts-page .contacts-intro {
  z-index: 2100;
  overflow: visible;
}

@media (max-width: 700px) {
  .contacts-page .contacts-intro {
    min-height: 0;
  }

  .contacts-page .contacts-intro-copy {
    min-height: 0;
    padding: 28px 22px 36px;
  }

  .contacts-page .contacts-intro-copy .eyebrow {
    margin-bottom: 20px;
  }

  .contacts-page .contacts-intro-copy h1 {
    font-size: clamp(62px, 19vw, 86px);
  }

  .contacts-page .contacts-intro-note {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.32;
  }

  .contacts-page .contacts-intro-map {
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 300px) {
  .collection-card .card-copy h3 {
    font-size: 24px;
    line-height: 27px;
  }
}
