.header-icon-link i,
.site-menu-toggle i {
  font-size: 22px;
}

/* Keep eyebrow typography consistent with the contact-page treatment. */
[class*="eyebrow"] {
  font-family: var(--font-heading) !important;
  font-weight: 650 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

/* Homepage journal heading */
.home-journal__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 5vw, 64px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.home-journal__eyebrow {
  margin: 0 0 12px;
  color: rgba(17, 17, 17, 0.56);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-journal__head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.55vw, 2.5rem);
  font-weight: 650;
  line-height: 1.08;
}

.home-journal__all {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.home-journal__all i {
  font-size: 1.2rem;
}

.home-journal__all:hover,
.home-journal__all:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

.home-journal .b-news__title {
  font-size: clamp(1.1rem, 1.45vw, 1.26rem);
  font-weight: 650;
  line-height: 1.15;
}

.home-journal .b-news__annot {
  color: #3f3a34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.94rem, 1.05vw, 1rem);
  line-height: 1.36;
}

.home-journal .b-news__link,
.home-journal__eyebrow,
.home-journal__all {
  font-size: 1rem;
}

.home-media-hero__button {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}

@media (max-width: 700px) {
  .home-journal__head {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }

  .home-journal__eyebrow,
  .home-journal__all {
    font-size: 1.3rem;
  }

  .home-journal__head h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .home-journal__all { align-self: flex-start; }
}

.site-menu-panel__title,
.site-menu-panel__group--links a {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.home-architect-panel {
  margin-block: 0;
}

[data-category-carousel-viewport],
[data-product-carousel-viewport],
[data-gallery-track],
.swiper,
.embla__viewport,
.home-media-hero {
  touch-action: pan-y pinch-zoom;
}

[data-category-carousel-viewport],
[data-product-carousel-viewport],
[data-gallery-track] {
  cursor: grab;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

[data-category-carousel-viewport].is-swipe-dragging,
[data-product-carousel-viewport].is-swipe-dragging,
[data-gallery-track].is-swipe-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  user-select: none;
}

[data-category-carousel] img,
[data-product-carousel] img,
[data-project-gallery] img,
.swiper img,
.embla img,
.home-media-hero img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 1231px) {
  .header .m-main__logo-guard {
    flex: 0 0 clamp(128px, 11vw, 176px);
    align-self: stretch;
    pointer-events: none;
  }

  .header--scrolled .m-main > .m-main__list {
    grid-template-columns:
      max-content max-content max-content max-content
      minmax(clamp(128px, 12vw, 180px), 1fr)
      max-content max-content max-content max-content;
  }

  .header--scrolled .m-main > .m-main__list > .m-main__logo-guard {
    grid-column: 5;
  }

  .header--scrolled .m-main > .m-main__list > .m-main__item:nth-child(6) {
    grid-column: 6;
  }
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.site-lightbox[hidden],
.site-lightbox__nav[hidden],
.site-lightbox__pagination[hidden],
.site-lightbox__caption[hidden] {
  display: none;
}

.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-lightbox__backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.34);
  cursor: zoom-out;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  box-sizing: border-box;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 14px;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 24px 72px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease;
}

.site-lightbox.is-open .site-lightbox__dialog {
  opacity: 1;
}

.site-lightbox__media {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.site-lightbox__media > img,
.site-lightbox__media > video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-lightbox__caption {
  min-height: 0;
  max-width: min(760px, 100%);
  margin: 4px auto 0;
  color: rgba(17, 17, 17, 0.72);
  line-height: 1.45;
  text-align: center;
}

.site-lightbox__close,
.site-lightbox__nav {
  z-index: 3;
  display: grid;
  width: 56px;
  height: 56px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.site-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translateY(-50%);
}

.site-lightbox__nav--prev { left: 16px; }
.site-lightbox__nav--next { right: 16px; }

.site-lightbox__pagination {
  display: flex;
  flex: 0 0 auto;
  min-height: 3px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-lightbox__pagination button {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(17, 17, 17, 0.32);
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.site-lightbox__pagination button.is-active {
  width: 54px;
  background: #111;
}

.site-lightbox-open {
  overflow: hidden;
}

body:has(.site-lightbox.is-open) {
  overflow: hidden;
}

.project-map-selection {
  grid-template-columns: minmax(0, 1fr) clamp(180px, 34%, 240px);
}

.project-map-selection > img {
  min-height: 190px;
}

@media (max-width: 700px) {
  .site-lightbox__dialog {
    padding: 64px 14px 18px;
  }

  .site-lightbox__nav {
    width: 52px;
    height: 52px;
  }

  .site-lightbox__nav--prev { left: 8px; }
  .site-lightbox__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-lightbox,
  .site-lightbox__dialog {
    transition: none;
  }
}

/* Tablet and mobile layout contract. Desktop composition remains unchanged. */
@media (max-width: 1024px) {
  :root {
    --site-section-space: clamp(52px, 8vw, 76px);
    --section-title-size: clamp(2rem, 5vw, 3rem);
  }

  /* Keep the established mobile type floor and ceiling through tablet sizes. */
  body {
    font-size: 1.3rem;
  }

  body :where(p, li, dt, dd, label, small, a, strong, th, td, summary, figcaption, button, input, textarea, select),
  body :where([class*="__meta"], [class*="__caption"], [class*="__eyebrow"], [class*="__location"], [class*="__label"]) {
    font-size: 1.3rem !important;
  }

  body :where(h1, .h0) {
    font-size: clamp(2.4rem, 7vw, 3rem) !important;
    line-height: 1.2;
  }

  body h2 {
    font-size: clamp(2rem, 6vw, 3rem) !important;
  }

  body h3 {
    font-size: clamp(1.7rem, 4.5vw, 2.4rem) !important;
  }

  body h4 {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
  }

  body :where(h5, h6) {
    font-size: clamp(1.3rem, 3vw, 1.6rem) !important;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  main > *,
  section,
  article,
  .row-main,
  .grid,
  .grid__cell {
    min-width: 0;
  }

  img,
  video,
  iframe,
  canvas,
  table {
    max-width: 100%;
  }

  .home-lookbook__intro,
  .home-spaces__intro,
  .about-intro,
  .about-section__head,
  .contact-main__head,
  .product-detail-section__head--row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-main-categories__grid,
  .home-spaces__grid,
  .about-principles,
  .about-projects__grid,
  .product-used-projects__grid,
  .product-related__grid,
  .detail-related-grid,
  .fair-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-main-category-card {
    min-height: clamp(230px, 34vw, 320px);
  }

  .c-products-carousel__viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: auto;
    scroll-snap-type: none;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }

  .c-products-carousel__track {
    scroll-snap-type: none;
  }

  .c-products-carousel__cell {
    scroll-snap-align: none;
  }

  .home-architect-panel {
    min-height: clamp(540px, 72svh, 680px);
    place-items: end start;
    background-position: 58% center;
  }

  .home-architect-panel__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 12%, rgba(0, 0, 0, 0.68) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 78%);
  }

  .home-architect-panel__content {
    width: min(700px, calc(100% - (2 * var(--gutter))));
    margin: 0 0 var(--gutter) var(--gutter);
    padding: clamp(24px, 4vw, 38px);
    justify-items: start;
    background: rgba(17, 17, 17, 0.46);
    text-align: left;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .home-architect-panel__title,
  .home-architect-panel__text {
    max-width: 620px;
    text-wrap: balance;
  }

  .home-architect-panel__actions {
    display: grid;
    width: min(100%, 560px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-architect-panel__btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border-radius: 0;
    white-space: nowrap;
  }

  .home-spaces__card,
  .about-project-card a,
  .product-project-card,
  .product-related-card__media {
    min-height: 0;
  }

  .home-lookbook__stage {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .about-workshop__grid,
  .contact-hero__inner,
  .product-detail-hero,
  .project-detail-intro {
    grid-template-columns: 1fr;
  }

  .about-workshop__media,
  .about-workshop__media video {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .about-workshop__media {
    position: relative;
    top: auto;
  }

  .about-workshop__media video {
    height: 100%;
    transform: none;
  }

  .contact-info-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info-column + .contact-info-column {
    border-top: 0;
    border-left: 1px solid rgba(17, 17, 17, 0.2);
  }

  .contact-info-column:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(17, 17, 17, 0.2);
    border-left: 0;
  }

  .product-detail-hero-band .product-detail-hero {
    min-height: 0;
    gap: clamp(28px, 6vw, 58px);
  }

  .prod-swiper-main,
  .prod-swiper-main .b-product__img-wrap {
    min-height: clamp(360px, 58vw, 560px);
  }

  .product-detail-section__link {
    justify-self: start;
  }

  .product-measurements__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .project-map-page {
    display: flex;
    height: auto;
    min-height: 100svh;
    padding-top: var(--project-map-top, 77px);
    flex-direction: column;
    overflow: visible;
  }

  .project-map-panel {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .project-map-list-shell {
    max-height: min(38svh, 390px);
  }

  .project-map-stage {
    order: 2;
    width: 100%;
    height: clamp(520px, 66svh, 720px);
    min-height: 520px;
  }

  .project-map-page__canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
  }

  .project-map-selection-stack {
    bottom: 18px;
    width: min(560px, calc(100% - 36px));
  }

  .project-map-selection {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .project-map-selection > img {
    display: block;
    min-height: 180px;
  }

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

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__meta-links {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .c-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .c-news__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --site-section-space: 52px;
  }

  .home-media-hero__content,
  .about-hero__inner,
  .contact-hero__inner {
    padding-bottom: 30px;
  }

  .home-media-hero__copy,
  .about-hero__copy,
  .contact-hero__copy {
    width: 100%;
  }

  .home-media-hero__actions,
  .about-hero__actions,
  .contact-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .home-media-hero__button,
  .about-button,
  .contact-button {
    width: 100%;
  }

  .home-media-hero__nav {
    top: auto;
    bottom: 88px;
  }

  .home-category-carousel__item,
  .c-products-carousel__cell {
    flex-basis: min(82vw, 340px);
  }

  .home-spaces__grid,
  .about-principles,
  .about-projects__grid,
  .product-used-projects__grid,
  .product-related__grid,
  .detail-related-grid,
  .fair-page__grid,
  .contact-info-band {
    grid-template-columns: 1fr;
  }

  .home-main-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-main-category-card {
    min-height: clamp(210px, 60vw, 280px);
    padding: 14px;
  }

  .home-main-category-card__content {
    display: block;
    text-align: center;
  }

  .home-main-category-card__label {
    display: block;
  }

  .home-main-category-card__link {
    display: flex;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    white-space: normal;
  }

  .c-products-carousel__cell {
    flex-basis: min(82vw, 340px);
  }

  .home-architect-panel {
    min-height: 600px;
    margin-block: 0;
    background-position: 62% center;
  }

  .home-architect-panel__content {
    width: 100%;
    margin: 0;
    padding: 26px 16px max(26px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .home-architect-panel__actions {
    grid-template-columns: 1fr;
  }

  .home-architect-panel__btn {
    min-height: 50px;
  }

  .home-lookbook__stage {
    aspect-ratio: 4 / 5;
  }

  .home-lookbook__card {
    width: min(240px, calc(100vw - 40px));
  }

  .contact-info-column,
  .contact-info-column:nth-child(3) {
    grid-column: auto;
    padding-inline: 0;
    border-left: 0;
  }

  .contact-info-column + .contact-info-column {
    border-top: 1px solid rgba(17, 17, 17, 0.2);
    border-left: 0;
  }

  .contact-email-form,
  .about-workshop__form-wrap .contact-email-form {
    width: 100%;
    padding: 18px;
  }

  .contact-email-form form,
  .contact-email-form__row {
    grid-template-columns: 1fr;
  }

  .catalog-products__grid,
  .detail-product-grid,
  .project-detail-page .detail-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-toolbar__search,
  .catalog-toolbar__filters-shell {
    grid-column: 1 / -1;
  }

  .catalog-filter-panel__drawer {
    width: 100%;
  }

  .catalog-filter-panel header,
  .catalog-filter-panel footer {
    padding: 18px;
  }

  .catalog-filter-panel__content {
    padding: 0 18px 18px;
  }

  .project-detail-page .project-detail-hero {
    min-height: min(620px, calc(100svh - var(--header-height, 72px)));
  }

  .project-detail-page .project-detail-hero__facts {
    grid-template-columns: 1fr 1fr;
  }

  .project-detail-gallery__item,
  .project-detail-gallery__item:nth-child(n) {
    flex-basis: 88%;
  }

  .project-map-panel__header,
  .project-map-panel__tools {
    padding-right: 16px;
    padding-left: 16px;
  }

  .project-map-list-shell {
    max-height: 300px;
  }

  .project-map-list__item {
    padding-inline: 16px;
  }

  .project-map-stage {
    height: max(560px, 72svh);
    min-height: 560px;
  }

  .project-map-selection-stack {
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .project-map-selection {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .project-map-selection > img {
    display: block;
    min-height: 156px;
  }

  .project-map-selection p,
  .project-map-selection__approximate {
    display: none;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-lightbox__dialog {
    gap: 10px;
    padding: 58px 10px 14px;
  }

  .site-lightbox__close,
  .site-lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .site-lightbox__close {
    top: 8px;
    right: 8px;
  }

  .site-lightbox__nav--prev { left: 6px; }
  .site-lightbox__nav--next { right: 6px; }

  .site-lightbox__caption {
    max-height: 2.9em;
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .header__inner,
  .header--scrolled .header__inner {
    grid-template-columns: 82px minmax(86px, 1fr) auto;
  }

  .site-menu-toggle {
    gap: 6px;
  }

  .site-menu-toggle .site-menu-toggle__label {
    font-size: 0.78rem;
  }

  .header__link img {
    width: 102px;
  }

  .header-lang-link {
    padding-inline: 4px;
  }

  .catalog-products__grid,
  .detail-product-grid,
  .project-detail-page .detail-product-grid {
    gap: 18px 8px;
  }

  .project-map-selection {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .project-map-selection > img {
    min-height: 148px;
  }
}

.error-page {
  display: grid;
  min-height: 100svh;
  padding-top: var(--header-height, 77px);
  color: #111;
  background: #fff;
}

.error-page__inner {
  display: grid;
  width: 100%;
  min-height: calc(100svh - var(--header-height, 77px));
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: clamp(40px, 8vw, 136px);
  padding-block: clamp(52px, 8vw, 112px);
}

.error-page__copy {
  width: min(620px, 100%);
  padding-left: clamp(28px, 4vw, 64px);
  border-left: 1px solid rgba(17, 17, 17, 0.18);
}

.error-page__eyebrow,
.error-page__code,
.error-page h1,
.error-page__body {
  margin: 0;
}

.error-page__eyebrow {
  margin-bottom: 20px;
  color: rgba(17, 17, 17, 0.56);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.error-page__code {
  color: #111;
  font: 500 clamp(3rem, 7vw, 4rem)/1 var(--font-heading, "Helvetica Neue", Arial, sans-serif);
  text-align: right;
}

.error-page h1 {
  max-width: 620px;
  font: 600 clamp(2.7rem, 6vw, 4rem)/1.06 var(--font-heading, "Helvetica Neue", Arial, sans-serif);
  letter-spacing: 0;
}

.error-page__body {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(17, 17, 17, 0.68);
  font-size: 1.05rem;
  line-height: 1.65;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-page__actions {
  margin-top: 34px;
}

.error-page__button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #111;
  border-radius: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease;
}

.error-page__button--primary {
  background: #111;
  color: #fff;
}

.error-page__button--secondary {
  background: #fff;
  color: #111;
}

.error-page__button:hover,
.error-page__button:focus-visible {
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .error-page__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  .error-page__code {
    text-align: left;
  }

  .error-page__copy {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.18);
    border-left: 0;
  }

  .error-page__actions {
    display: grid;
  }
}

@media (max-width: 700px) {
  /* Mobile composition and legibility baseline. */
  body {
    font-size: 1.3rem;
  }

  body :where(p, li, dt, dd, label, small, a, strong, th, td, summary, figcaption, button, input, textarea, select),
  body :where([class*="__meta"], [class*="__caption"], [class*="__eyebrow"], [class*="__location"], [class*="__label"]) {
    font-size: 1.3rem !important;
  }

  body h2 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  body h3 {
    font-size: clamp(1.7rem, 6vw, 2.4rem) !important;
  }

  body h4 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }

  body :where(h5, h6) {
    font-size: clamp(1.3rem, 4vw, 1.6rem) !important;
  }

  .error-page__code {
    font-size: 3rem !important;
  }

  body :where(h1, .h0),
  .hero-landing__title,
  .home-media-hero__title,
  .about-hero h1,
  .contact-hero h1,
  .page-catalog .catalog-hero h1,
  .catalog-hero h1,
  .project-detail-hero h1,
  .fair-detail-hero h1,
  .fair-page__hero h1,
  .projects-page__hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem) !important;
    line-height: 1.2;
  }

  :root {
    --section-title-size: clamp(2rem, 8vw, 3rem);
  }

  .home-project-stack__intro h2,
  .home-project-stack__title,
  .site-footer__mast h2,
  .sticky-stack-demo .card-body__title,
  .detail-section-heading > p {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .page-catalog .catalog-page {
    padding-top: 76px;
  }

  .page-catalog .catalog-hero {
    min-height: unset;
  }

  .home-media-hero__content {
    align-items: center;
    padding: calc(var(--header-height, 76px) + 34px) 16px 104px;
  }

  .home-media-hero__copy {
    display: grid;
    width: min(100%, 560px);
    justify-items: center;
    text-align: center;
  }

  .home-media-hero__location {
    justify-content: center;
  }

  .home-media-hero__actions {
    display: grid;
    width: min(100%, 430px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-media-hero__button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    gap: 6px;
    font-size: 1rem !important;
    line-height: 1;
    white-space: nowrap;
  }

  .home-media-hero__button i {
    flex: 0 0 auto;
    font-size: 1rem;
  }

  .home-media-hero__nav {
    top: auto;
    bottom: 22px;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .home-media-hero__nav:hover,
  .home-media-hero__nav:focus-visible {
    transform: translateY(-2px);
  }

  .home-media-hero__nav--prev {
    left: 14px;
  }

  .home-media-hero__nav--next {
    right: 14px;
  }

  .home-media-hero__pagination {
    right: auto;
    bottom: 43px;
    left: 50%;
    max-width: calc(100% - 132px);
    justify-content: center;
    transform: translate(-50%, 50%);
  }

  .search-is-open .f-suggest__holder,
  .f-suggest.is-open .f-suggest__holder {
    inset: auto 0 auto;
    top: var(--spotlight-viewport-top, 0px);
    display: block;
    width: 100%;
    height: var(--spotlight-viewport-height, 100dvh);
    padding: 12px 12px max(0px, env(safe-area-inset-bottom));
    overflow: hidden;
    overscroll-behavior: none;
  }

  .search-is-open .f-suggest__holder .row-main,
  .f-suggest.is-open .f-suggest__holder .row-main {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .f-suggest__holder .f-suggest__inp-wrap {
    flex: 0 0 auto;
    min-height: 58px;
  }

  .f-suggest__holder .f-suggest__content {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
