@media (max-width: 859px) {
  .uff-hero {
    --uff-hero-photo: min(92svh, 46rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--uff-hero-photo);
    aspect-ratio: auto;
    min-height: 0;
    color: #fff;
    background: #8a5a3f;
  }

  .uff-hero::before { content: none; }

  .uff-hero__media {
    position: relative;
    inset: auto;
    grid-row: 1;
    grid-column: 1;
    height: 100%;
    min-height: 0;
    overflow: clip;
  }

  .uff-hero__media img { object-position: 50% 48%; }

  .uff-hero__media::after {
    background: linear-gradient(180deg, transparent 56%, rgb(58 42 38 / 0.22) 78%, rgb(58 42 38 / 0.4) 100%);
  }

  .uff-hero__copy { display: contents; }

  .uff-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "copy"
      "script"
      "actions";
    grid-row: 1;
    grid-column: 1;
    align-items: end;
    row-gap: 0.55rem;
    min-height: 0;
    margin-inline: auto;
    padding-block: calc(var(--uff-header-h) + 0.7rem) max(1.1rem, env(safe-area-inset-bottom, 0px));
  }

  .uff-hero__on-photo {
    display: grid;
    grid-area: copy;
    justify-self: start;
    align-self: start;
    z-index: 2;
    gap: 0.42rem;
    max-width: min(16.5rem, calc(100% - 0.5rem));
    padding-inline-start: 0.2rem;
  }

  .uff-hero__title {
    margin: 0;
    max-width: 8.8ch;
    font-size: clamp(2.05rem, 9.2vw, 2.6rem);
    line-height: 0.94;
    color: #fff;
    text-align: start;
    text-shadow: 0 10px 24px rgb(58 42 38 / 0.4);
  }

  .uff-hero__kicker {
    z-index: 2;
    width: max-content;
    max-width: 100%;
    margin: 0;
    color: rgb(255 255 255 / 0.94);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-align: start;
    text-shadow: 0 8px 18px rgb(58 42 38 / 0.45);
  }

  .uff-hero__kicker::after { content: none; }

  .uff-hero__grid > .uff-hero__script {
    position: relative;
    inset: auto;
    z-index: 3;
    grid-area: script;
    justify-self: end;
    align-self: end;
    width: max-content;
    max-width: 8.2ch;
    margin: 0 0 0.1rem;
    font-size: clamp(1.28rem, 5.8vw, 1.7rem);
    line-height: 1.04;
    color: #f7efe8;
    text-align: end;
    text-shadow: 0 8px 20px rgb(58 42 38 / 0.4);
    transform: rotate(-8deg);
    transform-origin: bottom right;
  }

  .uff-hero__actions {
    grid-area: actions;
    z-index: 2;
    justify-content: center;
    gap: 0.5rem;
  }

  .uff-hero .uff-btn--ghost-light {
    border-color: rgb(255 252 250 / 0.62);
    background: rgb(255 252 250 / 0.18);
    color: #fff;
  }
}

.uff-btn,
.uff-burger,
.uff-gallery__item,
.uff-filter__card {
  touch-action: manipulation;
}

.uff-header {
  padding-block-start: env(safe-area-inset-top, 0);
}

.uff-footer {
  padding-block-end: max(1.4rem, env(safe-area-inset-bottom, 0px));
}

.uff-jewelry,
.uff-extras,
.uff-visit,
.uff-reviews,
.uff-cta,
.uff-page,
.uff-footer {
  scroll-margin-block-start: 5rem;
}

body.uff-nav-lock {
  overflow: hidden;
}

@media (max-width: 880px) {
  .uff-header__aside {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    padding-block-end: 1rem;
  }

  .uff-header.is-open .uff-header__aside {
    display: flex;
  }

  .uff-header.is-open .uff-header__aside .uff-btn {
    display: inline-flex;
  }

  .uff-header__aside .uff-social {
    display: none;
  }

  .uff-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .uff-nav__link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .uff-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 0.32rem;
  }

  .uff-site :is(input, select, textarea) {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .uff-gallery__grid {
    columns: 2 9.5rem;
  }

  .uff-reviews__head {
    flex-direction: column;
    align-items: start;
  }

  .uff-reviews__more--head {
    display: none;
  }

  .uff-reviews__foot {
    display: block;
    text-align: center;
  }

  .uff-features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 0.7rem;
    padding-block: 2.1rem 1.85rem;
  }

  .uff-feature {
    padding: 0.15rem 0.2rem;
  }

  .uff-filter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --uff-wrap: calc(100% - 1.35rem);
  }

  .uff-hero__actions .uff-btn {
    flex: 1 1 8.6rem;
    min-height: 2.75rem;
    padding-inline: 0.85rem;
    font-size: 0.66rem;
  }

  .uff-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1rem;
  }

  .uff-footer__hours dt {
    text-wrap: pretty;
  }

  .uff-visit__copy { padding-inline-end: 0; padding-block-end: 3.6rem; }
  .uff-visit__script { inset-inline-end: 0; inset-block-end: -0.95rem; font-size: clamp(1.7rem, 8vw, 2.35rem); }
  .uff-visit__photos { padding: 1.45rem 0.85rem 0 0; }
  .uff-visit__photo--2 { width: min(62%, 14.5rem); border-width: 4px; }

  .uff-jewelry__copy {
    padding: 1.7rem 0.15rem 2.2rem;
  }

  .uff-jewelry__media,
  .uff-jewelry__media img {
    min-height: 16.5rem;
  }

  .uff-extra__body {
    padding: 1.15rem 0.15rem 1.4rem;
  }

  .uff-lightbox {
    width: calc(100% - 0.9rem);
    padding: 0.2rem;
  }

  .uff-lightbox__close { min-height: 2.75rem; align-items: center; padding-inline: 0.4rem; }
  .uff-lightbox__media :is(img, video) { max-height: 72dvh; }
  .uff-page { padding-block: 1.6rem 3rem; }
}

@media (max-width: 420px) {
  .uff-footer__cols,
  .uff-filter {
    grid-template-columns: 1fr;
  }

  .uff-gallery__grid {
    columns: 2 8.2rem;
  }

  .uff-logo__mark {
    font-size: 1.4rem;
  }
}
