/*
 * Casa Udo hero elevation
 * A product-stage layer for the existing V8 hero. The house imagery and the
 * conversation below remain untouched; this file only composes the hero.
 */

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  line-height: 1;
  text-decoration: none;
}

.hero-brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
}

.hero-brand-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}

.hero-brand-name {
  font-family: var(--serif);
  font-size: 1.76rem;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-brand small {
  display: block;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.86;
}

.hero-elevation-copy,
.hero-elevation-nav,
.hero-elevation-tagline {
  color: var(--white, #fffdf8);
}

.hero-elevation-copy p,
.hero-elevation-nav p,
.hero-elevation-tagline {
  margin: 0;
}

.hero-elevation-title [data-hero-title-mobile],
.hero-look-mobile {
  display: none;
}

.hero-pinch-hint {
  display: none;
}

.hero-elevation-icon,
.hero-look-icon {
  display: grid;
  place-items: center;
}

.hero-elevation-icon svg,
.hero-look-icon svg {
  width: 100%;
  height: 100%;
}

.hero-elevation-entry {
  appearance: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.hero-elevation-entry-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hero-elevation-entry-copy b,
.hero-look-copy b {
  font-family: var(--sans);
  text-transform: uppercase;
}

.hero-elevation-entry-copy small,
.hero-look-copy small {
  font-family: var(--sans);
}

.moment-image[data-hero-ui="v8"] .view-option {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.js:not(.intro-ready) .hero-elevation-copy,
.js:not(.intro-ready) .hero-elevation-nav,
.js:not(.intro-ready) .hero-elevation-tagline {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.hero-elevation-copy,
.hero-elevation-nav,
.hero-elevation-tagline {
  transition:
    opacity 720ms ease 110ms,
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1) 110ms,
    visibility 0s;
}

@media (min-width: 761px) {
  body.home-page .masthead {
    padding-inline: clamp(34px, 3.25vw, 56px);
  }

  body.home-page .masthead:not(.past-hero) {
    height: 120px;
  }

  .moment-image[data-hero-ui="v8"] {
    --elevation-gutter: clamp(34px, 3.25vw, 56px);
    --elevation-bottom: clamp(28px, 3.5vh, 34px);
    --elevation-nav-height: clamp(108px, 11.75vh, 118px);
    box-sizing: border-box;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .moment-image[data-hero-ui="v8"] picture,
  .moment-image[data-hero-ui="v8"] picture img {
    height: 100%;
  }

  .moment-image[data-hero-ui="v8"][data-view="inside"] .interior-layer {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: opacity 520ms ease;
  }

  .moment-image[data-hero-ui="v8"]::after {
    background:
      linear-gradient(180deg, rgba(7, 17, 13, 0.17) 0%, transparent 25%),
      linear-gradient(90deg, rgba(8, 20, 15, 0.34) 0%, transparent 37%),
      linear-gradient(180deg, transparent 48%, rgba(7, 18, 14, 0.2) 61%, rgba(7, 18, 14, 0.91) 100%);
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-copy {
    position: absolute;
    z-index: 4;
    bottom: calc(var(--elevation-bottom) + var(--elevation-nav-height) + clamp(18px, 2.4vh, 26px));
    left: var(--elevation-gutter);
    width: min(600px, 42vw);
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-eyebrow {
    margin-bottom: clamp(12px, 1.5vh, 16px);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.25em;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.88;
  }

  .moment-image[data-hero-ui="v8"] .hero-price-badge {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fffdf8;
    background: transparent;
    box-shadow: none;
    font-size: clamp(3.7rem, 4.55vw, 4.9rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    filter: none;
    text-shadow: 0 2px 24px rgba(7, 18, 14, 0.22);
    transform: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-title {
    max-width: 600px;
    margin-top: clamp(22px, 2.7vh, 28px);
    font-family: var(--serif);
    font-size: clamp(1.9rem, 2.08vw, 2.2rem);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-description {
    max-width: 32em;
    margin-top: clamp(12px, 1.8vh, 18px);
    color: rgba(255, 253, 248, 0.78);
    font-family: var(--sans);
    font-size: clamp(0.92rem, 1.05vw, 1.08rem);
    line-height: 1.45;
    text-wrap: pretty;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-price-label,
  .moment-image[data-hero-ui="v8"] .hero-elevation-tagline {
    display: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-nav {
    position: absolute;
    z-index: 4;
    bottom: var(--elevation-bottom);
    left: var(--elevation-gutter);
    display: grid;
    width: min(900px, 55vw);
    min-height: var(--elevation-nav-height);
    overflow: hidden;
    border: 1px solid rgba(255, 253, 248, 0.24);
    border-radius: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(12, 30, 24, 0.52);
    box-shadow: 0 18px 58px rgba(5, 15, 11, 0.18);
    backdrop-filter: blur(14px) saturate(112%);
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry {
    position: relative;
    display: grid;
    min-width: 0;
    padding: 20px 18px 18px;
    border: 0;
    border-left: 1px solid rgba(255, 253, 248, 0.17);
    align-items: start;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px 12px;
    background: transparent;
    text-align: left;
    transition: background 180ms ease;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry:first-child {
    border-left: 0;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry:hover,
  .moment-image[data-hero-ui="v8"] .hero-elevation-entry:focus-visible {
    background: rgba(255, 253, 248, 0.075);
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-icon {
    width: 28px;
    height: 28px;
    grid-row: 1 / span 2;
    opacity: 0.94;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy {
    gap: 6px;
    padding-right: 10px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy b {
    font-size: clamp(0.58rem, 0.68vw, 0.7rem);
    font-weight: 760;
    letter-spacing: 0.1em;
    line-height: 1.22;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy small {
    color: rgba(255, 253, 248, 0.7);
    font-size: clamp(0.66rem, 0.76vw, 0.78rem);
    line-height: 1.28;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-arrow {
    position: absolute;
    right: 15px;
    bottom: 14px;
    font-size: 1.12rem;
    opacity: 0.78;
  }

  .moment-image[data-hero-ui="v8"] .image-note,
  .moment-image[data-hero-ui="v8"] .hero-control-stack {
    position: static;
    display: contents;
  }

  .moment-image[data-hero-ui="v8"] .image-caption {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .moment-image[data-hero-ui="v8"] .hero-control-stack {
    position: absolute;
    z-index: 4;
    right: clamp(56px, 6.7vw, 116px);
    bottom: var(--elevation-bottom);
    display: flex;
    width: clamp(400px, 27vw, 468px);
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
  }

  .moment-image[data-hero-ui="v8"] .tone-controls {
    width: min(425px, 92%);
    min-height: 62px;
    padding: 5px 12px 5px 25px;
    justify-content: space-between;
    border-color: rgba(255, 253, 248, 0.3);
    background: rgba(12, 30, 24, 0.67);
    box-shadow: 0 16px 42px rgba(5, 15, 11, 0.2);
    backdrop-filter: blur(14px);
  }

  .moment-image[data-hero-ui="v8"] .tone-label {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  .moment-image[data-hero-ui="v8"] .tone-option {
    width: 46px;
    height: 46px;
  }

  .moment-image[data-hero-ui="v8"] .tone-option::before {
    width: 23px;
    height: 23px;
  }

  .moment-image[data-hero-ui="v8"] .hero-interactions,
  .moment-image[data-hero-ui="v8"] .view-actions {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
  }

  .moment-image[data-hero-ui="v8"] .mobile-lens-launcher,
  .moment-image[data-hero-ui="v8"] .view-switcher .desktop-lens-launcher {
    display: none !important;
  }

  .moment-image[data-hero-ui="v8"] .view-switcher {
    position: static;
    display: flex !important;
    order: 1;
    width: 100%;
    min-height: 62px;
    padding: 6px;
    border: 1px solid rgba(255, 253, 248, 0.3);
    gap: 2px;
    background: rgba(12, 30, 24, 0.67);
    box-shadow: 0 16px 42px rgba(5, 15, 11, 0.2);
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    animation: none !important;
  }

  .moment-image[data-hero-ui="v8"] .view-option {
    min-height: 48px;
    padding-inline: 17px;
    flex: 1;
    font-size: clamp(0.58rem, 0.65vw, 0.67rem);
    letter-spacing: 0.085em;
  }

  .moment-image[data-hero-ui="v8"] .mobile-inside-option {
    display: flex;
  }

  .moment-image[data-hero-ui="v8"] .xray-toggle,
  .moment-image[data-hero-ui="v8"] .xray-toggle[hidden],
  .moment-image[data-hero-ui="v8"].explore-active .xray-toggle {
    position: static;
    display: grid !important;
    order: 2;
    width: 100%;
    min-height: 90px;
    padding: 7px 24px 7px 7px;
    border: 1px solid rgba(255, 253, 248, 0.46);
    border-radius: 999px;
    align-items: center;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 13px;
    color: var(--white);
    background: rgba(12, 30, 24, 0.6);
    box-shadow: 0 18px 48px rgba(5, 15, 11, 0.22);
    backdrop-filter: blur(14px);
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .moment-image[data-hero-ui="v8"] .xray-toggle:hover,
  .moment-image[data-hero-ui="v8"] .xray-toggle:focus-visible {
    color: var(--white);
    background: rgba(19, 48, 39, 0.78);
    transform: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-icon {
    width: 74px;
    height: 74px;
    border: 1px solid rgba(34, 31, 26, 0.08);
    border-radius: 50%;
    color: #173128;
    background: #fffdf8;
    box-shadow: 0 0 0 5px rgba(232, 182, 79, 0.13);
  }

  .moment-image[data-hero-ui="v8"] .hero-look-icon svg {
    width: 28px;
    height: 28px;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-copy b {
    font-size: 0.83rem;
    font-weight: 760;
    letter-spacing: 0.14em;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-copy small {
    color: rgba(255, 253, 248, 0.62);
    font-size: 0.8rem;
    line-height: 1;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-arrow {
    font-size: 1.55rem;
    font-weight: 300;
  }

  .moment-image[data-hero-ui="v8"] .view-note {
    top: clamp(100px, 13.2vh, 130px);
    right: var(--elevation-gutter);
    padding: 9px 17px;
    font-size: 0.62rem;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  body.home-page .masthead,
  body.home-page .masthead.past-hero {
    height: 80px;
    padding: 0 20px;
  }

  .hero-brand {
    gap: 9px;
  }

  .hero-brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .hero-brand-copy {
    gap: 4px;
  }

  .hero-brand-name {
    font-size: 0.9rem;
  }

  .hero-brand small {
    display: block !important;
    font-size: 0.47rem;
    letter-spacing: 0.12em;
  }

  body.home-page .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    place-items: center;
  }

  body.home-page .menu-icon {
    width: 18px;
    height: 14px;
    border: 0;
    border-radius: 0;
  }

  body.home-page .menu-icon::before,
  body.home-page .menu-icon::after {
    left: 0;
    width: 18px;
    height: 1px;
  }

  body.home-page .menu-icon::before {
    top: 2px;
    box-shadow: 0 5px 0 currentColor;
  }

  body.home-page .menu-icon::after {
    top: 12px;
  }

  body.menu-open.home-page .menu-icon::before,
  body.menu-open.home-page .menu-icon::after {
    top: 6px;
    box-shadow: none;
  }

  .moment-image[data-hero-ui="v8"] {
    display: grid;
    box-sizing: border-box;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding: 0 20px calc(8px + env(safe-area-inset-bottom));
    align-content: end;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    grid-template-areas:
      "copy nav"
      "tone nav"
      "look look"
      "tagline tagline";
    gap: 0;
    background: #071712;
    isolation: auto;
  }

  .moment-image[data-hero-ui="v8"] picture {
    height: 100dvh;
  }

  .moment-image[data-hero-ui="v8"]::after {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(7, 17, 13, 0.16) 0%, transparent 25%),
      linear-gradient(180deg, transparent 35%, rgba(7, 20, 15, 0.22) 47%, rgba(7, 20, 15, 0.9) 66%, #071712 84%);
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-copy {
    position: relative;
    z-index: 4;
    grid-area: copy;
    min-width: 0;
    padding-right: 13px;
    align-self: end;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-eyebrow {
    margin: 0 0 7px;
    font-family: var(--sans);
    font-size: 0.67rem;
    font-weight: 680;
    letter-spacing: 0.23em;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.86;
  }

  .moment-image[data-hero-ui="v8"] .hero-price-badge {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fffdf8;
    background: transparent;
    box-shadow: none;
    font-size: clamp(2.42rem, 11.2vw, 3.05rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    filter: none;
    transform: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-title {
    margin-top: 8px;
    font-family: var(--serif);
    font-size: clamp(1.08rem, 4.8vw, 1.26rem);
    line-height: 1.13;
    letter-spacing: -0.025em;
  }

  .hero-elevation-title [data-hero-title-desktop],
  .hero-look-desktop {
    display: none;
  }

  .hero-elevation-title [data-hero-title-mobile],
  .hero-look-mobile {
    display: inline;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-description {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    color: rgba(255, 253, 248, 0.72);
    font-family: var(--sans);
    font-size: clamp(0.71rem, 3.15vw, 0.82rem);
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-price-label {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 253, 248, 0.2);
    color: rgba(255, 253, 248, 0.66);
    font-family: var(--sans);
    font-size: 0.59rem;
    font-weight: 650;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-nav {
    position: relative;
    z-index: 4;
    display: flex;
    grid-area: nav;
    min-width: 0;
    padding-left: 13px;
    border-left: 1px solid rgba(255, 253, 248, 0.2);
    align-self: stretch;
    flex-direction: column;
    justify-content: space-between;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry {
    position: relative;
    display: grid;
    min-height: 0;
    padding: 7px 0;
    border: 0;
    border-top: 1px solid rgba(255, 253, 248, 0.17);
    align-items: center;
    grid-template-columns: 22px minmax(0, 1fr) 12px;
    gap: 8px;
    background: transparent;
    text-align: left;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry:first-child {
    padding-top: 1px;
    border-top: 0;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry:last-child {
    padding-bottom: 1px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-icon {
    width: 21px;
    height: 21px;
    opacity: 0.92;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy {
    gap: 3px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy b {
    font-size: clamp(0.56rem, 2.55vw, 0.66rem);
    font-weight: 760;
    letter-spacing: 0.065em;
    line-height: 1.15;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 253, 248, 0.62);
    font-size: clamp(0.56rem, 2.45vw, 0.65rem);
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-arrow {
    font-size: 0.92rem;
    opacity: 0.76;
  }

  .moment-image[data-hero-ui="v8"] .image-note,
  .moment-image[data-hero-ui="v8"] .hero-control-stack {
    position: static;
    display: contents !important;
  }

  .moment-image[data-hero-ui="v8"] .image-caption {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .moment-image[data-hero-ui="v8"] .tone-controls {
    position: relative;
    z-index: 4;
    display: flex;
    width: auto;
    min-height: 0;
    margin: 9px 13px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    align-items: flex-start;
    align-self: start;
    flex-direction: column;
    grid-area: tone;
    gap: 7px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .moment-image[data-hero-ui="v8"] .tone-label {
    color: rgba(255, 253, 248, 0.72);
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.18em;
  }

  .moment-image[data-hero-ui="v8"] .tone-label strong {
    color: inherit;
  }

  .moment-image[data-hero-ui="v8"] .tone-picker {
    gap: clamp(8px, 3.7vw, 15px);
  }

  .moment-image[data-hero-ui="v8"] .tone-option {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .moment-image[data-hero-ui="v8"] .tone-option::before {
    width: 25px;
    height: 25px;
  }

  .moment-image[data-hero-ui="v8"] .hero-interactions {
    position: relative;
    z-index: 4;
    display: flex;
    width: 100%;
    height: auto;
    margin-top: 14px;
    padding: 0;
    border: 1px solid rgba(255, 253, 248, 0.36);
    border-radius: 999px;
    align-items: stretch;
    grid-area: look;
    gap: 0;
    background: rgba(12, 30, 24, 0.58);
    box-shadow: 0 16px 42px rgba(5, 15, 11, 0.2);
    backdrop-filter: blur(12px);
  }

  .moment-image[data-hero-ui="v8"] .hero-interactions > .mobile-lens-launcher,
  .moment-image[data-hero-ui="v8"] .view-switcher .desktop-lens-launcher {
    display: none !important;
  }

  .moment-image[data-hero-ui="v8"] .view-actions {
    display: grid;
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .moment-image[data-hero-ui="v8"] .xray-toggle,
  .moment-image[data-hero-ui="v8"] .xray-toggle[hidden] {
    position: static;
    display: grid !important;
    width: 100%;
    min-height: 60px;
    padding: 5px 20px 5px 5px;
    border: 0;
    border-radius: 999px;
    align-items: center;
    grid-area: 1 / 1;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 11px;
    color: var(--white);
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .moment-image[data-hero-ui="v8"].explore-active .xray-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(34, 31, 26, 0.08);
    border-radius: 50%;
    color: #173128;
    background: #fffdf8;
    box-shadow: 0 0 0 4px rgba(232, 182, 79, 0.15);
  }

  .moment-image[data-hero-ui="v8"] .hero-look-icon svg {
    width: 23px;
    height: 23px;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-copy b {
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.19em;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-copy small {
    color: rgba(255, 253, 248, 0.62);
    font-size: 0.68rem;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-arrow {
    font-size: 1.3rem;
  }

  .moment-image[data-hero-ui="v8"] .view-switcher {
    display: none;
    width: 100%;
    min-height: 60px;
    padding: 5px;
    border: 0;
    grid-area: 1 / 1;
    gap: 1px;
    background: transparent;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .moment-image[data-hero-ui="v8"].explore-active .view-switcher {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .moment-image[data-hero-ui="v8"] .view-option {
    min-width: 0;
    min-height: 48px;
    padding-inline: 4px;
    flex: 1;
    color: rgba(255, 253, 248, 0.72);
    font-size: clamp(0.49rem, 2.1vw, 0.58rem);
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-tagline {
    position: relative;
    z-index: 4;
    display: block;
    margin: 10px 0 0;
    grid-area: tagline;
    color: rgba(232, 182, 79, 0.9);
    font-family: var(--serif);
    font-size: 0.88rem;
    font-style: italic;
    letter-spacing: 0.01em;
  }

  .moment-image[data-hero-ui="v8"] .view-note {
    display: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-pinch-hint {
    position: absolute;
    z-index: 4;
    top: 92px;
    right: 20px;
    display: flex;
    min-height: 34px;
    padding: 6px 10px 6px 8px;
    border: 1px solid rgba(255, 253, 248, 0.35);
    border-radius: 999px;
    align-items: center;
    gap: 6px;
    color: rgba(255, 253, 248, 0.92);
    background: rgba(10, 28, 22, 0.44);
    box-shadow: 0 10px 28px rgba(5, 15, 11, 0.14);
    backdrop-filter: blur(10px);
    font-family: var(--sans);
    font-size: 0.52rem;
    font-weight: 680;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    animation: hero-pinch-reminder 12s ease-in-out 2.8s infinite;
  }

  .moment-image[data-hero-ui="v8"] .hero-pinch-hint svg {
    width: 31px;
    height: 22px;
  }

  .moment-image[data-hero-ui="v8"].pinch-hint-seen .hero-pinch-hint {
    display: none;
    animation: none;
  }

  .moment-image[data-hero-ui="v8"].mobile-pinching picture {
    transition: opacity 260ms ease, transform 0ms !important;
    will-change: transform;
  }
}

@keyframes hero-pinch-reminder {
  0%, 7%, 31%, 100% {
    opacity: 0;
    transform: translateY(-5px);
  }
  12%, 24% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@media (max-width: 370px) and (max-height: 700px) and (orientation: portrait) {
  .moment-image[data-hero-ui="v8"] {
    padding-inline: 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 57%) minmax(0, 43%);
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-copy {
    padding-right: 9px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-description {
    margin-top: 8px;
    font-size: 0.67rem;
    -webkit-line-clamp: 2;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-price-label {
    margin-top: 8px;
    padding-top: 8px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-nav {
    padding-left: 9px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry {
    padding-block: 6px;
    grid-template-columns: 19px minmax(0, 1fr) 10px;
    gap: 6px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-icon {
    width: 18px;
    height: 18px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-entry-copy small {
    font-size: 0.54rem;
  }

  .moment-image[data-hero-ui="v8"] .tone-controls {
    margin-top: 9px;
    gap: 6px;
  }

  .moment-image[data-hero-ui="v8"] .tone-option {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .moment-image[data-hero-ui="v8"] .hero-interactions {
    margin-top: 9px;
  }

  .moment-image[data-hero-ui="v8"] .xray-toggle,
  .moment-image[data-hero-ui="v8"] .xray-toggle[hidden],
  .moment-image[data-hero-ui="v8"] .view-switcher {
    min-height: 54px;
  }

  .moment-image[data-hero-ui="v8"] .hero-look-icon {
    width: 44px;
    height: 44px;
  }

  .moment-image[data-hero-ui="v8"] .hero-elevation-tagline {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-elevation-copy,
  .hero-elevation-nav,
  .hero-elevation-tagline {
    transition: none;
  }

  .moment-image[data-hero-ui="v8"] .hero-pinch-hint {
    animation: none;
  }
}
