/* Home-only room and hero composition. */
.landing-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background-color: #ead9c2;
  background-image: url("../assets/images/homebg-half.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #30221b;
}

.landing-body .home-topbar {
  position: sticky;
  top: 0;
  z-index: 110;
  display: flex;
  width: 100%;
  min-height: 66px;
  padding: 0 clamp(20px, 5vw, 76px);
  border: 0;
  border-bottom: 1px solid rgba(219, 185, 132, 0.34);
  border-radius: 0;
  background: rgba(60, 13, 20, 0.84);
  box-shadow: 0 4px 18px rgba(34, 11, 9, 0.18);
  color: #fff8ed;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.landing-body #topbar {
  display: flex;
  height: 68px;
  min-height: 68px;
  flex: 0 0 68px;
  grid-template-columns: none;
  padding-inline: clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(219, 185, 132, 0.34);
  background: rgba(60, 13, 20, 0.84);
  box-shadow: 0 4px 18px rgba(34, 11, 9, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.landing-body .home-topbar .brand-logo {
  gap: 10px;
  color: #fff8ed;
  font-size: 1.32rem;
  font-weight: 500;
}

.home-topbar .brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(224, 188, 128, 0.8);
  border-radius: 50%;
  background: transparent;
  color: #f7e8ce;
  box-shadow: none;
}

.home-topbar .brand-mark .lucide {
  width: 17px;
  height: 17px;
}

.landing-body .home-topbar .nav {
  gap: clamp(16px, 2.6vw, 38px);
}

.landing-body .home-topbar .nav-link {
  position: relative;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 248, 237, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
}

.landing-body .home-topbar .nav-link:hover,
.landing-body .home-topbar .nav-link.active {
  background: transparent;
  color: #fffaf2;
  box-shadow: none;
}

.landing-body .home-topbar .nav-link.active {
  font-weight: 700;
}

.landing-body .home-topbar .nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #d4af72;
  content: "";
}

.home-nav-start {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #dfc28e;
  border-radius: 4px;
  background: rgba(245, 232, 206, 0.12);
  color: #fff8ed;
  font-size: 0.76rem;
  font-weight: 600;
}

.home-nav-start:hover {
  background: #f5e8ce;
  color: #3c0d14;
}

.home-nav-start .lucide {
  width: 14px;
  height: 14px;
}

.landing-body .home-topbar .nav-actions .home-nav-start {
  position: absolute;
  top: 50%;
  right: clamp(20px, 5vw, 76px);
  width: 184px;
  height: 46px;
  min-height: 46px;
  flex: 0 0 184px;
  box-sizing: border-box;
  transform: translateY(-50%);
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #a58a60;
  border-radius: 6px;
  background: #f5f0e8;
  color: #451421;
  box-shadow: 0 3px 9px rgba(24, 7, 8, 0.2);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.landing-body .home-topbar .nav-actions .home-nav-start:hover {
  border-color: #c0a77d;
  background: #fffaf2;
  color: #451421;
  box-shadow: 0 5px 12px rgba(24, 7, 8, 0.24);
}

.landing-body .home-topbar .nav-actions .home-nav-start:active {
  border-color: #8d734d;
  background: #ede3d5;
  color: #451421;
  box-shadow: 0 1px 4px rgba(24, 7, 8, 0.2);
}

.landing-body .home-topbar .nav-actions .home-nav-start:focus-visible {
  outline: 2px solid #f5f0e8;
  outline-offset: 3px;
}

.landing-body .home-topbar .nav-actions .home-nav-start .lucide {
  width: 17px;
  height: 17px;
  color: #451421;
}

.landing-body .home-topbar .nav-toggle {
  border-color: rgba(255, 248, 237, 0.42);
  background: rgba(255, 248, 237, 0.1);
  color: #fff8ed;
}

.landing-body .home-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.landing-body main {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.landing-body .hero {
  position: relative;
  min-height: calc(100svh - 66px);
  padding: clamp(14px, 2.5vh, 26px) clamp(22px, 4.5vw, 72px);
  overflow: visible;
  background: transparent;
}

.landing-body .hero::before {
  display: none;
}

.landing-body .hero-inner {
  position: relative;
  display: grid;
  width: min(100%, 1780px);
  min-height: calc(100svh - 66px - clamp(28px, 5vh, 52px));
  grid-template-columns: minmax(0, 1.04fr) minmax(170px, 0.54fr) minmax(0, 1.18fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 1.55vw, 28px);
  margin: 0 auto;
}

.landing-body .hero-inner > * {
  min-width: 0;
}

.landing-body .hero-copy {
  z-index: 2;
  grid-column: 1 / span 2;
  grid-row: 1;
  max-width: 780px;
  padding: clamp(12px, 2vh, 24px) 0 6px;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(8px, 1.4vh, 14px);
  color: #795e45;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.home-kicker-rule {
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: #b38b58;
}

.landing-body .hero-title {
  max-width: 17ch;
  margin: 0 0 clamp(8px, 1.3vh, 14px);
  color: #2e201b;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.landing-body .hero-title em {
  color: #641722;
  font-family: var(--font-display);
  font-size: 0.82em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.landing-body .hero .lead {
  max-width: 475px;
  margin: 0 0 clamp(12px, 1.8vh, 20px);
  color: #665143;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.55;
}

.landing-body .cta-row {
  gap: 10px;
}

.landing-body .hero-title em {
  color: #a58a60;
}

.landing-body .cta-row .btn-lg {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 4px;
  font-size: 0.77rem;
  font-weight: 600;
  white-space: nowrap;
}

.landing-body .hero .cta-row .home-hero-start {
  flex: 0 0 168px;
  display: inline-flex;
  width: 168px;
  height: 46px;
  min-height: 46px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid #a58a60;
  border-radius: 6px;
  background: #f5f0e8;
  color: #451421;
  box-shadow: 0 3px 9px rgba(24, 7, 8, 0.2);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.landing-body .cta-row .home-hero-start:hover {
  border-color: #c0a77d;
  background: #fffaf2;
  color: #451421;
  box-shadow: 0 5px 12px rgba(24, 7, 8, 0.24);
}

.landing-body .cta-row .home-hero-start:focus-visible {
  outline: 2px solid #f5f0e8;
  outline-offset: 3px;
}

.landing-body .cta-row .home-hero-start .lucide {
  width: 17px;
  height: 17px;
  color: #451421;
}

.landing-body .primary-btn {
  border: 1px solid #4b101b;
  background: #4b101b;
  color: #fff8ef;
  box-shadow: 0 5px 13px rgba(54, 13, 18, 0.2);
}

.landing-body .primary-btn:hover {
  border-color: #350911;
  background: #350911;
  color: #fff8ef;
  box-shadow: 0 8px 18px rgba(54, 13, 18, 0.24);
}

.landing-body .secondary-btn {
  border: 1px solid #aa8963;
  background: rgba(255, 248, 237, 0.84);
  color: #49362b;
  box-shadow: 0 3px 8px rgba(55, 31, 16, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-body .secondary-btn:hover {
  border-color: #641722;
  background: #fff9f0;
  color: #641722;
}

.landing-body .home-booth {
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
}

.landing-body .booth-area {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 590px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
  padding: 0 0 3px;
}

.landing-body .booth-scene {
  position: relative;
  width: 100%;
  height: min(62svh, 650px);
  min-height: 0;
  margin: 0 auto;
  isolation: isolate;
}

.landing-body .booth-artwork {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  aspect-ratio: 1312 / 1199;
  transform: translateX(-50%);
}

.landing-body .booth-scene::after {
  position: absolute;
  z-index: -1;
  right: 10%;
  bottom: 1%;
  left: 10%;
  height: 5%;
  border-radius: 50%;
  background: rgba(39, 17, 10, 0.24);
  content: "";
  filter: blur(13px);
}

.landing-body .booth-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 11px rgba(43, 21, 13, 0.16));
}

.landing-body .booth-print-window {
  position: absolute;
  z-index: 2;
  top: 42.7%;
  left: 62%;
  width: 18%;
  height: 53%;
  overflow: hidden;
  pointer-events: none;
}

.landing-body .booth-print-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  transform: translateY(-102%);
}

.landing-body .booth-print-photo.is-printing {
  animation: booth-strip-print 1.35s cubic-bezier(0.22, 0.9, 0.24, 1) forwards;
}

.landing-body .booth-caption {
  display: none;
}

.landing-body .home-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.landing-body .home-result-card {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: 285px;
  grid-column: 2;
  grid-row: 2;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  align-self: center;
  gap: 9px;
  margin: 0;
  padding: clamp(12px, 1.4vw, 19px);
  border: 1px solid rgba(164, 124, 73, 0.76);
  border-radius: 5px;
  background: rgba(255, 248, 235, 0.94);
  box-shadow: 0 9px 22px rgba(53, 28, 15, 0.2), inset 0 0 0 3px rgba(193, 155, 101, 0.12);
  transform: none;
  animation: none;
}

.landing-body .home-result-card::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(178, 139, 83, 0.34);
  content: "";
  pointer-events: none;
}

.landing-body .home-result-card[hidden] {
  display: none;
}

.landing-body .result-card-kicker {
  position: relative;
  z-index: 1;
  gap: 6px;
  margin: 0;
  color: #30221b;
  font-family: var(--font-display);
  font-size: clamp(0.84rem, 1.2vw, 1.05rem);
  font-weight: 500;
  text-align: center;
}

.landing-body .result-card-kicker .lucide {
  width: 14px;
  height: 14px;
  color: #a77c43;
}

.landing-body .home-result-preview {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: clamp(118px, 20vh, 188px);
  min-height: 0;
  place-items: center;
  border: 1px dashed rgba(151, 112, 66, 0.42);
  background: rgba(238, 223, 198, 0.3);
}

.landing-body .home-result-strip {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(43, 9, 16, 0.17);
}

.landing-body .home-result-strip[hidden] {
  display: none;
}

.landing-body .home-result-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #8a735b;
  font-size: 0.66rem;
  text-align: center;
}

.landing-body .home-result-empty[hidden] {
  display: none;
}

.landing-body .home-result-empty .lucide {
  width: 22px;
  height: 22px;
  color: #a68964;
  stroke-width: 1.4;
}

.landing-body .home-result-note {
  position: relative;
  z-index: 1;
  margin: -2px 0 0;
  color: #735f4b;
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: center;
}

.landing-body .home-result-note[hidden] {
  display: none;
}

.landing-body .home-add-wall {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid #4b101b;
  border-radius: 3px;
  background: #4b101b;
  color: #fff8ef;
  font-size: 0.69rem;
  font-weight: 600;
}

.landing-body .home-add-wall .lucide {
  width: 14px;
  height: 14px;
}

.landing-body .home-add-wall:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.landing-body .hero-visual {
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
}

.landing-body .memory-board {
  position: relative;
  width: min(100%, 680px);
  height: auto;
  aspect-ratio: 1360 / 1050;
  min-height: 0;
  margin: 0;
}

.landing-body .memory-board-frame {
  position: absolute;
  inset: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: url("../assets/images/memory-wall-empty.png") center / 100% 100% no-repeat;
  box-shadow: none;
}

.landing-body .memory-board-frame::before {
  display: none;
}

.landing-body .memory-board-inner {
  position: absolute;
  inset: 17% 6.5% 10%;
  display: flex;
  height: auto;
  min-height: 0;
  flex-direction: column;
  padding: clamp(7px, 1vw, 14px) clamp(6px, 0.9vw, 13px);
  background: none;
  box-shadow: none;
}

.landing-body .wall-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  margin: 0;
  color: #34241a;
  text-align: center;
}

.landing-body .wall-kicker {
  display: none;
}

.landing-body .wall-heading h2 {
  grid-column: 1;
  grid-row: 1;
  color: #34241a;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.1vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
}

.landing-body .wall-view-all {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  gap: 4px;
  color: #5b1720;
  font-size: clamp(0.55rem, 0.72vw, 0.7rem);
  font-weight: 700;
  white-space: nowrap;
}

.landing-body .wall-view-all .lucide {
  width: 13px;
  height: 13px;
}

.landing-body .wall-heading p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 2px;
  color: #71563f;
  font-family: var(--font-display);
  font-size: clamp(0.63rem, 0.95vw, 0.84rem);
  font-style: italic;
  line-height: 1.35;
}

.landing-body .memory-board-items {
  display: grid;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(5px, 0.9vw, 13px);
  padding: clamp(7px, 1vw, 14px) 0 0;
}

.landing-body .memory-board-items > .memory-photo {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-column: auto;
  grid-row: 1;
  flex-direction: column;
  align-items: center;
  justify-self: stretch;
  align-self: stretch;
  margin: 0;
  padding: 3px 3px 1px;
  overflow: visible;
  background: #fff9ed;
  box-shadow: 0 4px 8px rgba(62, 42, 22, 0.22);
  filter: drop-shadow(0 3px 4px rgba(49, 32, 19, 0.18));
  transform-origin: 50% 12%;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.landing-body .memory-board-items > .memory-photo:hover {
  z-index: 3;
  filter: drop-shadow(0 7px 8px rgba(49, 32, 19, 0.25));
  transform: rotate(0deg) translateY(-3px);
}

.landing-body .memory-board-items > .memory-photo::before {
  position: absolute;
  z-index: 3;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #805c31;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffe3a4, #bd914f 70%, #77542e);
  box-shadow: 0 2px 4px rgba(43, 29, 17, 0.38);
  content: "";
  transform: translateX(-50%);
}

.landing-body .memory-board-items > .memory-photo::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 31px;
  height: 10px;
  background: rgba(228, 211, 177, 0.8);
  content: "";
  transform: translateX(-50%) rotate(-4deg);
}

.landing-body .memory-board-items > .memory-photo:nth-child(1) {
  transform: rotate(-2deg);
}

.landing-body .memory-board-items > .memory-photo:nth-child(2) {
  transform: rotate(1.5deg);
}

.landing-body .memory-board-items > .memory-photo:nth-child(3) {
  transform: rotate(-1deg);
}

.landing-body .memory-board-items > .memory-photo:nth-child(4) {
  transform: rotate(2deg);
}

.landing-body .memory-photo-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
  background: #fff9ed;
}

.landing-body .memory-strip {
  width: 100%;
  height: 100%;
  padding: 3px 3px 1px;
  background: #fff9ed;
}

.landing-body .memory-strip .memory-photo-art {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
}

.landing-body .memory-photo figcaption {
  position: relative;
  z-index: 2;
  max-width: 100%;
  flex: 0 0 auto;
  padding-top: 3px;
  overflow: hidden;
  color: #614633;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(0.52rem, 0.72vw, 0.78rem);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-body .memory-strip--personal {
  animation: pin-landing 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.landing-body .how-it-works,
.landing-body .section,
.landing-body .closing,
.landing-body .footer {
  position: relative;
  z-index: 1;
  color: #30221b;
}

.landing-body .how-it-works,
.landing-body .section,
.landing-body .closing,
.landing-body .footer {
  background: rgba(255, 248, 237, 0.94);
}

.landing-body .section-head h2,
.landing-body .how-it-works h2,
.landing-body .feature h3,
.landing-body .closing h2 {
  color: #30221b;
  font-family: var(--font-display);
}

.landing-body .eyebrow {
  border-color: #d8c4a8;
  background: #fff8ed;
  color: #71563f;
}

.landing-body a:focus-visible,
.landing-body button:focus-visible {
  outline-color: #641722;
  outline-offset: 3px;
}

@media (max-width: 899px) {
  .landing-body {
    background-position: center top;
  }

  .landing-body .hero {
    min-height: 0;
    padding: 28px clamp(18px, 5vw, 48px) 42px;
  }

  .landing-body .hero-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 24px;
  }

  .landing-body .hero-copy {
    grid-column: 1;
    grid-row: auto;
    max-width: 650px;
    margin: 0 auto;
    padding: 4px 0 0;
    text-align: center;
  }

  .home-kicker {
    justify-content: center;
  }

  .landing-body .hero-title {
    max-width: none;
    font-size: clamp(2.8rem, 8vw, 4rem);
  }

  .landing-body .hero .lead {
    margin-inline: auto;
  }

  .landing-body .cta-row {
    justify-content: center;
  }

  .landing-body .home-booth {
    grid-column: 1;
    grid-row: auto;
  }

  .landing-body .booth-area {
    height: auto;
  }

  .landing-body .booth-scene {
    width: min(100%, 510px);
    height: auto;
    aspect-ratio: 1 / 1.08;
  }

  .landing-body .booth-image {
    width: 100%;
    height: 100%;
  }

  .landing-body .booth-caption {
    display: block;
    margin-top: 4px;
    color: #725840;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .landing-body .home-result-card {
    width: min(100%, 260px);
    grid-column: 1;
    grid-row: auto;
  }

  .landing-body .hero-visual {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .landing-body .memory-board {
    width: min(100%, 680px);
  }
}

@media (min-width: 900px) {
  .landing-body .hero {
    height: calc(100svh - 68px);
    min-height: 0;
    box-sizing: border-box;
  }

  .landing-body .hero-inner {
    height: 100%;
    min-height: 0;
  }

  .landing-body .booth-scene {
    max-height: 100%;
  }
}

@media (max-width: 640px) {
  .landing-body .home-topbar {
    min-height: 58px;
    padding-inline: 14px;
  }

  body.landing-body #topbar {
    height: 58px;
    min-height: 58px;
    flex-basis: 58px;
    padding-inline: 14px;
  }
  .landing-body .home-topbar .brand-logo {
    gap: 7px;
    font-size: 1.08rem;
  }

  .home-topbar .brand-mark {
    width: 29px;
    height: 29px;
  }

  .landing-body .home-topbar .nav {
    z-index: 10;
    padding: 8px;
    border: 1px solid rgba(240, 217, 180, 0.25);
    border-radius: 5px;
    background: rgba(54, 12, 19, 0.98);
    box-shadow: 0 14px 30px rgba(34, 11, 9, 0.26);
  }

  .landing-body .home-topbar .nav-link {
    padding: 10px 12px;
  }

  .landing-body .home-topbar .nav-link.active::after {
    right: auto;
    width: 32px;
  }

  .landing-body .home-shell {
    padding-inline: 0;
  }

  .landing-body .hero {
    padding: 26px 16px 36px;
  }

  .landing-body .hero-inner {
    gap: 20px;
  }

  .home-kicker {
    margin-bottom: 10px;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }

  .landing-body .hero-title {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
  }

  .landing-body .hero .lead {
    max-width: 360px;
    font-size: 0.9rem;
  }

  .landing-body .cta-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .landing-body .cta-row .btn-lg {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.7rem;
  }

  .landing-body .booth-scene {
    width: min(100%, 390px);
  }

  .landing-body .memory-board {
    width: 100%;
  }

  .landing-body .memory-board-inner {
    inset: 17% 6.5% 10%;
    padding: 5px 4px;
  }

  .landing-body .wall-heading h2 {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  .landing-body .wall-heading p {
    font-size: clamp(0.54rem, 2.7vw, 0.75rem);
  }

  .landing-body .wall-view-all {
    font-size: 0.54rem;
  }

  .landing-body .memory-board-items {
    gap: 4px;
    padding-top: 6px;
  }

  .landing-body .memory-board-items > .memory-photo {
    padding: 2px 2px 1px;
  }

  .landing-body .memory-photo figcaption {
    padding-top: 2px;
    font-size: clamp(0.43rem, 1.8vw, 0.58rem);
  }

  .landing-body .memory-board-items > .memory-photo::after {
    width: 22px;
    height: 8px;
  }
}

.landing-body .how-it-works::before {
  display: none;
}

.landing-body .home-result-preview {
  height: clamp(54px, 7.5svh, 68px);
  min-height: 0;
  border: 0;
  background: transparent;
}

.landing-body .home-result-card.has-result .home-result-preview {
  height: clamp(104px, 15svh, 146px);
}

.landing-body .home-result-empty {
  gap: 4px;
}

.landing-body .home-result-empty .lucide {
  width: 17px;
  height: 17px;
}

.landing-body .memory-board-items {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.landing-body .memory-board-items > .memory-photo {
  width: fit-content;
  height: min(100%, 28svh, 280px);
  max-width: calc((100% - 18px) / 4);
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.landing-body .memory-board-items > .memory-photo::after,
.landing-body .memory-photo figcaption {
  display: none;
}

.landing-body .memory-photo-art,
.landing-body .memory-strip .memory-photo-art {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  flex: none;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 4px 9px rgba(42, 28, 17, 0.24);
}

@media (min-width: 900px) {
  .landing-body .hero {
    padding-inline: clamp(24px, 3vw, 76px) clamp(88px, 8.2vw, 160px);
  }

  .landing-body .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.47fr) minmax(0, 1.14fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(12px, 1.55vw, 28px);
  }

  .landing-body .hero-copy {
    padding: clamp(8px, 1.2vh, 14px) 0 6px clamp(44px, 4vw, 72px);
  }

  .home-kicker {
    margin-bottom: clamp(6px, 0.9vh, 10px);
    font-size: 0.64rem;
  }

  .landing-body .hero-title {
    max-width: none;
    margin-bottom: clamp(6px, 0.9vh, 10px);
    font-size: clamp(2.15rem, 3.2vw, 3.55rem);
    line-height: 0.99;
  }

  .landing-body .hero-title em {
    display: block;
  }

  .landing-body .hero .lead {
    max-width: 620px;
    margin: 0 auto clamp(10px, 1.4vh, 16px);
    font-size: clamp(0.84rem, 1vw, 0.96rem);
    line-height: 1.4;
  }

  .landing-body .booth-scene {
    height: min(66svh, 720px);
  }

  .landing-body .booth-artwork {
    width: 115%;
  }

  .landing-body .home-result-card {
    width: min(100%, 240px);
    max-width: 240px;
    gap: 7px;
    padding: 10px;
  }

  .landing-body .result-card-kicker {
    font-size: clamp(0.82rem, 1vw, 0.96rem);
  }

  .landing-body .home-result-note {
    font-size: 0.66rem;
  }

  .landing-body .home-add-wall {
    min-height: 34px;
    font-size: 0.66rem;
  }

  .landing-body .memory-board {
    width: min(100%, 720px);
  }

  .landing-body .memory-board-inner {
    inset: 15% 6.5% 9%;
    padding: clamp(8px, 0.9vw, 14px);
  }

  .landing-body .wall-heading {
    display: block;
    text-align: center;
  }

  .landing-body .wall-heading h2 {
    font-size: clamp(1.25rem, 1.75vw, 1.75rem);
  }

  .landing-body .wall-heading p {
    margin-top: 3px;
    font-size: clamp(0.64rem, 0.86vw, 0.82rem);
  }

  .landing-body .wall-view-all {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .landing-body .memory-board-items {
    gap: clamp(6px, 0.8vw, 12px);
    padding: clamp(8px, 1vh, 12px) 0 0;
  }
}

@media (min-width: 900px) and (max-height: 700px) {
  .landing-body .hero {
    height: auto;
    min-height: calc(100svh - 68px);
  }

  .landing-body .hero-inner {
    height: auto;
    min-height: calc(100svh - 68px - clamp(28px, 5vh, 52px));
    grid-template-rows: auto minmax(280px, 1fr);
  }

  .landing-body .booth-scene {
    max-height: none;
  }
}

@media (min-width: 1350px) {
  .landing-body .hero {
    height: calc(100svh - 68px);
    min-height: 0;
    padding: clamp(8px, 1.4vh, 15px) clamp(24px, 2vw, 38px) clamp(8px, 1.4vh, 15px)
      clamp(24px, 2vw, 36px);
  }

  .landing-body .hero-inner {
    width: min(100%, 1780px);
    height: 100%;
    min-height: 0;
    grid-template-columns:
      clamp(100px, 7.4vw, 136px)
      minmax(443px, 1fr)
      minmax(200px, 0.45fr)
      minmax(505px, 1.14fr);
    grid-template-rows: auto minmax(465px, 1fr);
    gap: clamp(10px, 1vw, 16px);
  }

  .landing-body .hero-copy {
    grid-column: 1 / 4;
    grid-row: 1;
    align-self: end;
    max-width: none;
    margin-top: clamp(0px, calc(16svh - 122.88px), 48px);
    padding: 0 0 clamp(6px, 0.8vh, 9px) clamp(100px, 7.4vw, 136px);
  }

  .landing-body .hero-title {
    max-width: 16ch;
    margin-bottom: clamp(5px, 0.8vh, 8px);
    font-size: clamp(2rem, 2.9vw, 3.1rem);
    line-height: 0.99;
  }

  .landing-body .hero .lead {
    max-width: 460px;
    margin: 0 0 clamp(8px, 1.1vh, 12px);
    font-size: clamp(0.84rem, 0.95vw, 0.94rem);
    line-height: 1.4;
  }

  .landing-body .cta-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .landing-body .cta-row .btn-lg {
    min-height: 38px;
    padding: 8px 13px;
  }

  .landing-body .home-booth {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  .landing-body .booth-scene {
    width: min(100%, clamp(443px, 26.3vw, 500px));
    height: min(62svh, 650px);
  }

  .landing-body .home-result-card {
    grid-column: 3;
    grid-row: 2;
    width: min(100%, 240px);
    min-width: 190px;
    min-height: clamp(226px, 30svh, 252px);
    justify-content: space-between;
    gap: 9px;
    padding: 13px 11px 12px;
  }

  .landing-body .home-result-preview {
    height: 88px;
  }

  .landing-body .home-result-card.has-result .home-result-preview {
    height: clamp(104px, 13.5svh, 126px);
  }

  .landing-body .hero-visual {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .landing-body .memory-board {
    width: min(100%, clamp(505px, 31.25vw, 600px));
  }
}

@media (min-width: 900px) and (max-width: 1349px) {
  .landing-body .hero {
    height: auto;
    min-height: calc(100svh - 68px);
  }

  .landing-body .hero-inner {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.48fr);
    grid-template-rows: auto minmax(465px, auto) auto;
    gap: 16px;
  }

  .landing-body .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 700px;
    padding: 0 0 0 clamp(20px, 4vw, 48px);
  }

  .landing-body .hero-title {
    font-size: clamp(2.25rem, 4vw, 3.1rem);
  }

  .landing-body .hero .lead {
    max-width: 460px;
    margin: 0 0 12px;
  }

  .landing-body .home-booth {
    grid-column: 1;
    grid-row: 2;
  }

  .landing-body .booth-scene {
    width: min(100%, 443px);
    height: min(62svh, 650px);
  }

  .landing-body .booth-artwork {
    width: 115%;
  }

  .landing-body .home-result-card {
    grid-column: 2;
    grid-row: 2;
    width: min(100%, 240px);
    min-height: 226px;
  }

  .landing-body .hero-visual {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    width: min(100%, 600px);
  }
}

@media (min-width: 1350px) and (max-height: 700px) {
  .landing-body .hero {
    height: auto;
    min-height: calc(100svh - 68px);
  }

  .landing-body .hero-inner {
    height: auto;
    min-height: calc(100svh - 68px - 16px);
    grid-template-rows: auto minmax(465px, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-body *,
  .landing-body *::before,
  .landing-body *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 1120px) {
  .landing-body .hero {
    height: calc(100svh - 68px);
    min-height: 0;
    padding: 8px clamp(24px, 2vw, 38px);
    box-sizing: border-box;
  }

  .landing-body .hero-inner {
    width: min(100%, 1780px);
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(443px, 0.95fr) minmax(190px, 0.4fr) minmax(555px, 1.1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  .landing-body .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    max-width: 560px;
    min-height: clamp(220px, calc(3.8vw + 168px), 241px);
    box-sizing: border-box;
    margin: 0;
    padding: 12px 0 12px clamp(50px, 7vw, 120px);
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transform: translateY(clamp(8px, calc(75svh - 568px), 242px));
  }

  .landing-body .home-kicker {
    display: flex;
    margin: 0 0 8px;
    color: rgba(255, 245, 230, 0.9);
    font-size: 0.64rem;
  }

  .landing-body .home-kicker-rule {
    background: #c9a56e;
  }

  .landing-body .hero-title {
    max-width: 13ch;
    margin: 0 0 12px;
    color: #fff5e6;
    font-size: clamp(2.1rem, 2.9vw, 3rem);
    line-height: 0.98;
  }

  .landing-body .hero-title em {
    display: block;
    margin-top: 2px;
    color: #a58a60;
  }

  .landing-body .cta-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .landing-body .primary-btn {
    border-color: #fff4e3;
    background: #fff4e3;
    color: #4b101b;
    box-shadow: 0 4px 12px rgba(24, 7, 8, 0.2);
  }

  .landing-body .primary-btn:hover {
    border-color: #f3dfc2;
    background: #f3dfc2;
    color: #4b101b;
  }

  .landing-body .secondary-btn {
    border-color: rgba(255, 244, 227, 0.8);
    background: rgba(70, 15, 24, 0.22);
    color: #fff4e3;
    box-shadow: none;
  }

  .landing-body .secondary-btn:hover {
    border-color: #fff4e3;
    background: rgba(70, 15, 24, 0.48);
    color: #fffaf1;
  }

  .landing-body .home-booth {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
  }

  .landing-body .booth-area {
    max-width: 590px;
    justify-content: flex-end;
    overflow: visible;
  }

  .landing-body .booth-scene {
    width: min(100%, clamp(443px, 26.3vw, 500px));
    height: min(100%, 66svh, 720px);
  }

  .landing-body .booth-artwork {
    left: calc(50% + clamp(68px, calc(146px - 4vw), 92px));
    width: 115%;
  }

  .landing-body .home-result-card {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: clamp(180px, calc(18vw - 66px), 280px);
    max-width: 280px;
    min-width: 0;
    min-height: clamp(320px, 42svh, 380px);
    align-self: center;
    justify-self: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 12px 13px;
    transform: translateX(calc(38px - 2vw)) translateY(clamp(24px, 5vh, 48px));
  }

  .landing-body .home-result-card::before {
    inset: 5px;
    border-color: rgba(178, 139, 83, 0.38);
  }

  .landing-body .home-result-preview {
    display: flex;
    min-height: 0;
    height: clamp(180px, 27svh, 220px);
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 4px;
    border: 1px solid rgba(164, 124, 73, 0.24);
    background: rgba(238, 223, 198, 0.22);
  }

  .landing-body .home-result-card.has-result .home-result-preview {
    height: clamp(180px, 27svh, 220px);
    flex: 0 0 auto;
  }

  .landing-body .home-result-note {
    position: relative;
    z-index: 1;
    max-width: 190px;
    margin: 0;
    font-size: 0.69rem;
    line-height: 1.4;
    text-align: center;
  }

  .landing-body .home-result-empty {
    gap: 7px;
    color: #715d49;
    font-size: 0.69rem;
    line-height: 1.35;
  }

  .landing-body .home-result-empty .lucide {
    display: grid;
    width: 32px;
    height: 38px;
    place-items: center;
    padding: 7px;
    border: 1px solid rgba(164, 124, 73, 0.52);
    border-radius: 2px;
    color: #a77c43;
    stroke-width: 1.4;
  }

  .landing-body .home-add-wall {
    min-height: 36px;
    font-size: 0.69rem;
  }

  .landing-body .hero-visual {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .landing-body .hero-inner .hero-visual .memory-board {
    width: min(100%, clamp(555px, 34.4vw, 660px));
    max-width: 660px;
    transform: translateX(clamp(0px, calc(11.2vw - 153px), 62px))
      translateY(clamp(-54px, -5vh, -32px));
  }

  .landing-body .memory-board-items > .memory-photo {
    height: min(100%, 31svh, 310px);
  }

  .landing-body .memory-board-items > .memory-photo {
    max-width: calc((100% - 18px) / 4);
  }
}

@media (max-width: 1119px) {
  .landing-body .home-topbar .nav-actions .home-nav-start {
    width: 146px;
    height: 42px;
    min-height: 42px;
    flex-basis: 146px;
    gap: 7px;
    font-size: 0.74rem;
  }

  .landing-body {
    background-color: #4b101b;
    background-attachment: fixed;
    background-position: left top;
    background-size: auto 100svh;
  }

  .landing-body .hero {
    height: auto;
    min-height: 0;
    padding: 26px clamp(18px, 5vw, 48px) 38px;
  }

  .landing-body .hero-inner {
    width: min(100%, 760px);
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: clamp(18px, 4vh, 28px);
  }

  .landing-body .hero-copy {
    grid-column: 1;
    grid-row: auto;
    max-width: 560px;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .landing-body .home-kicker {
    display: flex;
    margin: 0 0 8px;
    color: rgba(255, 245, 230, 0.9);
    font-size: 0.64rem;
  }

  .landing-body .home-kicker-rule {
    background: #c9a56e;
  }

  .landing-body .hero-title {
    max-width: 14ch;
    margin-bottom: 10px;
    color: #fff5e6;
    font-size: clamp(2.35rem, 7vw, 3.6rem);
  }

  .landing-body .hero-title em {
    display: block;
    margin-top: 4px;
    color: #e6c49a;
  }

  .landing-body .hero .lead {
    display: block;
    max-width: 440px;
    margin: 0 0 14px;
    color: rgba(255, 248, 237, 0.92);
    line-height: 1.5;
  }

  .landing-body .cta-row {
    justify-content: flex-start;
  }

  .landing-body .primary-btn {
    border-color: #fff4e3;
    background: #fff4e3;
    color: #4b101b;
  }

  .landing-body .secondary-btn {
    border-color: rgba(255, 244, 227, 0.85);
    background: rgba(70, 15, 24, 0.22);
    color: #fff4e3;
    box-shadow: none;
  }

  .landing-body .home-booth {
    width: min(100%, 510px);
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .landing-body .booth-area {
    height: auto;
  }

  .landing-body .booth-scene {
    width: min(100%, 470px);
    height: auto;
    aspect-ratio: 1 / 1.08;
  }

  .landing-body .booth-artwork {
    width: 115%;
  }

  .landing-body .home-result-card {
    width: min(100%, 260px);
    min-height: 0;
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    gap: 10px;
    padding: 15px;
  }

  .landing-body .home-result-preview,
  .landing-body .home-result-card.has-result .home-result-preview {
    height: clamp(165px, 25vh, 210px);
  }

  .landing-body .hero-visual {
    width: min(100%, 680px);
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .landing-body .memory-board {
    width: min(100%, 640px);
  }

  .landing-body .memory-board-items > .memory-photo {
    max-width: calc((100% - 18px) / 4);
  }

  .landing-body .home-result-note {
    margin: 0;
  }
}

@media (max-width: 360px) {
  .landing-body .home-topbar .nav-actions .home-nav-start {
    width: 116px;
    flex-basis: 116px;
    gap: 5px;
    padding-inline: 7px;
    font-size: 0.68rem;
  }
}

@media (max-width: 760px) {
  .landing-body .home-topbar .nav-actions .home-nav-start {
    position: static;
    transform: none;
  }
}

.landing-body .memory-strip--personal.is-unavailable {
  display: grid;
  width: clamp(38px, 5vw, 72px);
  min-width: 38px;
  height: min(100%, 28svh, 280px);
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(164, 124, 73, 0.58);
  background: #f7eddb;
  box-shadow: 0 4px 9px rgba(42, 28, 17, 0.24);
}

.landing-body .memory-strip-fallback {
  color: #71563f;
  font-size: 0.62rem;
  line-height: 1.3;
  text-align: center;
}

/* Home's desktop booth-to-wall composition and result-card states. */
@media (min-width: 1200px) {
  .landing-body .hero {
    height: calc(100svh - 68px);
    min-height: 0;
    padding: 8px clamp(24px, 2.2vw, 42px);
    box-sizing: border-box;
  }

  .landing-body .hero-inner {
    width: min(100%, 1780px);
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(390px, 0.96fr) minmax(190px, 0.42fr) minmax(500px, 1.12fr);
    grid-template-rows: minmax(172px, auto) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(10px, 1vw, 16px);
  }

  .landing-body .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    max-width: 520px;
    min-height: 0;
    margin: 0;
    padding: 0 0 10px clamp(24px, 4vw, 68px);
    transform: none;
  }

  .landing-body .home-kicker {
    margin-bottom: 8px;
    color: rgba(255, 245, 230, 0.9);
    font-size: 0.62rem;
  }

  .landing-body .home-kicker-rule {
    background: #c9a56e;
  }

  .landing-body .hero-title {
    max-width: 14ch;
    margin: 0 0 12px;
    color: #fff5e6;
    font-size: clamp(1.9rem, 2.45vw, 2.75rem);
    line-height: 1;
  }

  .landing-body .hero-title em {
    display: block;
    margin-top: 3px;
    color: #b49769;
  }

  .landing-body .cta-row {
    justify-content: flex-start;
  }

  .landing-body .home-booth {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    align-self: stretch;
    justify-content: center;
  }

  .landing-body .booth-area {
    width: 100%;
    max-width: none;
    height: 100%;
    justify-content: flex-end;
    padding: 0;
  }

  .landing-body .booth-scene {
    width: min(100%, 470px);
    height: min(100%, 440px);
    aspect-ratio: 1312 / 1199;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .landing-body .booth-artwork {
    bottom: 0;
    left: 50%;
    width: 100%;
  }

  .landing-body .booth-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: bottom center;
  }

  .landing-body .booth-print-window {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
  }

  .landing-body .booth-print-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: fill;
    object-position: center;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }

  .landing-body .booth-print-photo.is-printing {
    animation: booth-strip-print 1.35s cubic-bezier(0.22, 0.9, 0.24, 1) forwards;
  }

  .landing-body .home-result-card {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: min(100%, 240px);
    max-width: 240px;
    min-height: 0;
    max-height: calc(100svh - 100px);
    align-self: center;
    justify-self: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 13px 11px;
    border: 1px solid rgba(174, 137, 85, 0.48);
    border-radius: 3px;
    background: rgba(250, 246, 238, 0.97);
    box-shadow: 0 8px 20px rgba(43, 9, 16, 0.16);
    transform: none;
    animation: none;
  }

  .landing-body .home-result-card::before {
    inset: 4px;
    border-color: rgba(178, 139, 83, 0.34);
  }

  .landing-body .result-card-eyebrow {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #94774f;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
  }

  .landing-body .result-card-kicker {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #3c211c;
    font-family: var(--font-display);
    font-size: clamp(0.96rem, 1.14vw, 1.14rem);
    font-weight: 500;
    line-height: 1.18;
    text-align: center;
  }

  .landing-body .home-result-preview,
  .landing-body .home-result-card.has-result .home-result-preview {
    width: 100%;
    height: clamp(190px, 28vh, 230px);
    min-height: 0;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .landing-body .home-result-strip {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(43, 9, 16, 0.18);
  }

  .landing-body .home-result-empty {
    gap: 6px;
    color: #715d49;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .landing-body .home-result-empty .lucide {
    width: 29px;
    height: 34px;
    padding: 6px;
  }

  .landing-body .home-result-note {
    position: relative;
    z-index: 1;
    max-width: 190px;
    margin: 0;
    color: #746357;
    font-size: 0.65rem;
    line-height: 1.4;
    text-align: center;
  }

  .landing-body .home-result-card.is-printing .home-result-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .landing-body .home-result-card.is-printing .home-result-note::before {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border: 1px solid rgba(75, 16, 27, 0.24);
    border-top-color: #4b101b;
    border-radius: 50%;
    content: "";
    animation: home-print-spin 0.9s linear infinite;
  }

  .landing-body .booth-print-photo {
    transform: none;
    clip-path: inset(0 0 100% 0);
  }

  .landing-body .booth-print-photo.is-printing {
    animation: booth-strip-print 1.35s cubic-bezier(0.22, 0.9, 0.24, 1) forwards;
  }

  @keyframes booth-strip-print {
    from {
      opacity: 1;
      clip-path: inset(0 0 100% 0);
    }
    to {
      opacity: 1;
      clip-path: inset(0);
    }
  }

  @keyframes home-print-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .landing-body .home-add-wall {
    width: 100%;
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.65rem;
  }

  .landing-body .hero-visual {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
    padding: 0;
  }

  .landing-body .memory-board {
    width: min(100%, 700px);
    height: auto;
    aspect-ratio: 1360 / 1050;
    min-height: 0;
    margin: 0;
    transform: none;
  }

  .landing-body .memory-board-frame {
    position: absolute;
    inset: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: url("../assets/images/memory-wall-empty.png") center / 100% 100% no-repeat;
    box-shadow: none;
  }

  .landing-body .memory-board-frame::before {
    display: none;
  }

  .landing-body .memory-board-inner {
    position: absolute;
    inset: 17% 6.5% 10%;
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
    padding: clamp(5px, 0.7vw, 10px);
    background: none;
    box-shadow: none;
  }

  .landing-body .memory-board-items {
    min-height: 0;
    flex: 1 1 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(5px, 0.8vw, 12px);
    padding: clamp(8px, 1vh, 12px) 0 0;
  }

  .landing-body .memory-board-items > .memory-photo {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    grid-column: auto;
    grid-row: 1;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 3px 5px rgba(49, 32, 19, 0.23));
  }

  .landing-body .memory-board-items > .memory-photo:nth-child(1) {
    transform: rotate(-2deg);
  }

  .landing-body .memory-board-items > .memory-photo:nth-child(2) {
    transform: rotate(1.5deg);
  }

  .landing-body .memory-board-items > .memory-photo:nth-child(3) {
    transform: rotate(-1deg);
  }

  .landing-body .memory-board-items > .memory-photo:nth-child(4) {
    transform: rotate(2deg);
  }

  .landing-body .memory-strip {
    background: transparent;
  }

  .landing-body .memory-strip .memory-photo-art {
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: contain;
    background: transparent;
    box-shadow: 0 3px 7px rgba(43, 28, 17, 0.2);
  }

  .landing-body .memory-photo figcaption {
    display: none;
  }
}

@media (max-width: 1199px) {
  .landing-body .hero {
    height: auto;
    min-height: 0;
    padding: 26px clamp(18px, 5vw, 48px) 38px;
  }

  .landing-body .hero-inner {
    width: min(100%, 760px);
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: clamp(18px, 4vh, 28px);
  }

  .landing-body .hero-copy {
    grid-column: 1;
    grid-row: auto;
    max-width: 560px;
    min-height: 0;
    margin: 0;
    padding: 0;
    transform: none;
    text-align: left;
  }

  .landing-body .home-booth {
    width: min(100%, 470px);
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .landing-body .booth-area {
    height: auto;
    padding: 0;
  }

  .landing-body .booth-scene {
    width: min(100%, 440px);
    height: auto;
    aspect-ratio: 1312 / 1199;
    flex: 0 0 auto;
  }

  .landing-body .booth-artwork {
    width: 100%;
  }

  .landing-body .booth-print-window {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
  }

  .landing-body .home-result-card {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 240px);
    max-width: 240px;
    min-height: 0;
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    gap: 8px;
    padding: 13px 11px;
    transform: none;
    animation: none;
  }

  .landing-body .home-result-preview,
  .landing-body .home-result-card.has-result .home-result-preview {
    height: 190px;
    min-height: 0;
  }

  .landing-body .hero-visual {
    width: 100%;
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    padding: 0;
  }

  .landing-body .memory-board {
    width: min(100%, 680px);
    height: auto;
    aspect-ratio: 1360 / 1050;
    min-height: 0;
    margin: 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-body .home-result-card.is-printing .home-result-note::before {
    animation: none;
  }
}

.landing-body .home-result-card.is-printing .home-result-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.landing-body .home-result-card.is-printing .home-result-note::before {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 1px solid rgba(75, 16, 27, 0.24);
  border-top-color: #4b101b;
  border-radius: 50%;
  content: "";
  animation: home-print-spin 0.9s linear infinite;
}

@keyframes home-print-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Approved Home refinement: clear hero, larger booth, wall browse action. */
.landing-body .hero-title,.landing-body .hero-title em{color:#fff5e6;text-shadow:0 2px 9px rgba(25,4,8,.25)}
.landing-body .home-wall-browse{display:flex;justify-content:center;width:100%;margin-top:20px}
.landing-body .home-wall-browse #browseTemplatesBtn{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:9px 20px;border:1px solid #541f2b;border-radius:4px;background:transparent;color:#541f2b;box-shadow:none;font-size:13px}
@media(min-width:1200px){
 .landing-body .hero-inner{grid-template-columns:minmax(0,1fr) minmax(190px,.42fr) minmax(0,1.12fr);grid-template-rows:132px minmax(0,1fr)}
 .landing-body .hero-copy{align-self:center;padding:0 0 0 clamp(24px,4vw,68px);transform:none;z-index:3}
 .landing-body .hero-title{font-size:clamp(30px,2.45vw,46px);line-height:1.03;margin:0}
 .landing-body .hero-title em{color:#fff5e6}
 .landing-body .booth-scene{width:min(100%,560px);height:100%;max-height:none}
 .landing-body .booth-artwork{width:min(100%,calc((100svh - 234px)*1312/1199));bottom:0;left:50%;transform:translateX(-50%)}
 .landing-body .hero-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
 .landing-body .home-result-card{align-self:center}
 .landing-body .home-add-wall{background:#541f2b;color:#fff5e6;border-color:#541f2b}
}
@media(max-width:1199px){.landing-body .hero-visual{display:flex;flex-direction:column;align-items:center}.landing-body .home-wall-browse{margin-top:16px}}

/* Final scoped alignment correction. Move the complete booth, including its slot. */
@media(min-width:1200px){
 body.landing-body #top .hero-copy{padding-left:clamp(92px,7.5vw,144px);padding-top:12px;align-self:center;transform:none}
 body.landing-body #top .home-booth{position:relative;left:clamp(28px,3.2vw,62px)}
 body.landing-body #top .hero-title em{color:#fff5e6}
 body.landing-body #top .hero-visual{display:flex;flex-direction:column;justify-content:center;align-items:center}
 body.landing-body #top .home-wall-browse{display:flex;position:static;margin:20px 0 0;justify-content:center;transform:none}
}
