.landing-home-page {
  --landing-hero-pad-before-panels: 2rem;
  --landing-panel-phone-pad-x: clamp(48px, 3.5vw, 88px);
  --landing-panel-phone-pad-top: 0;
  --landing-phone-w: clamp(300px, 20vw + 120px, 560px);
  --landing-panel-radius: clamp(28px, 2.2vw, 52px);
  --landing-panel-gap-half: clamp(0.75rem, 2vw, 2rem);
  --landing-panels-row-margin-top-desktop: 72px;
  --landing-hero-strip-height: min(100svh, 2400px);
}

.landing-home-page .landing-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow: visible;
}

.landing-home-page .landing-hero-backdrop {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
}

/* Original home: rotating venue photos + Hero_black tint (replaces static architecture asset) */
.landing-home-page .landing-hero-backdrop .landing-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.landing-home-page .landing-hero-carousel-wrap,
.landing-home-page .landing-hero-carousel,
.landing-home-page .landing-hero-carousel .carousel-inner {
  height: 100%;
  min-height: 0;
}

.landing-home-page .landing-hero-carousel .carousel-item {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.landing-home-page .landing-hero-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

/* Ken Burns–style zoom per slide (duration matches carousel interval) */
@keyframes landing-hero-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-home-page .landing-hero-carousel.carousel-fade .carousel-item.active .landing-hero-slide-img {
    animation: landing-hero-kenburns 6s ease-out forwards;
  }
}

.landing-home-page .landing-hero-slide-black {
  position: absolute;
  inset: 0;
  background: url("/assets/pages/home/icons/Hero_black.png") no-repeat center;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.landing-home-page .landing-hero-signature {
  position: absolute;
  right: 20px;
  bottom: 15px;
  z-index: 3;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  max-width: 350px;
  padding: 10px;
  align-items: center;
}

.landing-home-page .landing-hero-signature .owner-image {
  border-radius: 50%;
  margin-right: 10px;
  width: 42px;
  height: 42px;
}

.landing-home-page .landing-hero-signature .hero-description {
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 16px;
  color: var(--syi-color-light);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.landing-home-page .landing-hero-backdrop .landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  z-index: 2;
  pointer-events: none;
}

.landing-home-page .landing-hero-backdrop .navbar {
  position: relative;
  z-index: 30;
  flex-shrink: 0;
}

/* Fills space under navbar; pushes phone row to bottom of fixed-height strip (desktop) */
.landing-home-page .landing-hero-strip-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: var(--landing-panels-row-margin-top-desktop);
  padding-bottom: 0;
  box-sizing: border-box;
}

.landing-home-page .landing-desktop-phones {
  display: none;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(2rem, 3.5vw, 5.5rem);
  width: 100%;
  max-width: clamp(1100px, 90vw, 2200px);
  margin: 0 auto;
  padding: var(--landing-hero-pad-before-panels) clamp(1rem, 2.5vw, 2.5rem) 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.landing-home-page .landing-desktop-copy {
  position: relative;
  z-index: 1;
  display: none;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(2rem, 3.5vw, 5.5rem);
  width: 100%;
  max-width: clamp(1100px, 90vw, 2200px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem) clamp(2rem, 3vw, 3.5rem);
  box-sizing: border-box;
  background: #fff;
}

.landing-home-page .landing-panel {
  flex: 1;
  min-width: 0;
  max-width: calc(50% - var(--landing-panel-gap-half));
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: visible;
}

.landing-home-page .landing-panel--segment-top {
  border-radius: var(--landing-panel-radius) var(--landing-panel-radius) 0 0;
}

.landing-home-page .landing-panel--segment-bottom {
  border-radius: 0 0 var(--landing-panel-radius) var(--landing-panel-radius);
}

.landing-home-page .landing-panel--curate {
  background: rgba(9, 131, 178, 0.39);
}

.landing-home-page .landing-panel--search {
  background: rgba(210, 255, 242, 0.5);
}

.landing-home-page .landing-panel-hero-slot {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--landing-panel-phone-pad-top) var(--landing-panel-phone-pad-x) 0;
  box-sizing: border-box;
}

.landing-home-page .landing-panel-copy {
  padding: clamp(0.85rem, 1.6vw, 1.5rem) var(--landing-panel-copy-pad-x, var(--landing-panel-phone-pad-x)) clamp(1.1rem, 2vw, 1.75rem);
  flex: 0 0 auto;
}

.landing-home-page .landing-panel-copy .landing-headline {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: break-word;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 0.65rem;
}

.landing-home-page .landing-panel-copy .landing-body {
  font-size: 13px;
  margin-bottom: 1.15rem;
}

.landing-home-page .landing-panel-copy .landing-btn {
  font-size: 10px;
  padding: 4px 12px;
}

.landing-home-page .landing-panel-copy .landing-headline .landing-headline-line {
  display: inline;
}

.landing-home-page .landing-panel-copy .landing-headline .landing-headline-line:first-child::after {
  content: ' ';
}

@media (max-width: 1209.98px) {
  .landing-home-page .landing-panel-copy .landing-headline {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

/* Natural image height = no letterboxing gap under top of coloured panel (strip still flex-ends whole row) */
.landing-home-page .landing-phone-unit {
  position: relative;
  flex-shrink: 0;
  width: var(--landing-phone-w);
  line-height: 0;
}

.landing-home-page .landing-phone-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(16px, 1.4vw, 26px);
}

.landing-home-page .landing-panels-mobile {
  position: relative;
  z-index: 4;
  isolation: isolate;
  max-width: min(440px, 94vw);
  margin: 0 auto;
  padding: var(--landing-hero-pad-before-panels) 2.75rem 2rem;
  width: 100%;
  overflow: visible;
}

.landing-home-page .landing-panels-mobile.carousel {
  overflow: visible;
}

.landing-home-page .landing-panels-mobile .carousel-inner {
  overflow: visible;
}

.landing-home-page .landing-panels-mobile .landing-panel {
  max-width: 100%;
  border-radius: 36px;
}

.landing-home-page .landing-panels-mobile .landing-panel-hero-slot {
  --landing-panel-phone-pad-x: 52px;
}

.landing-home-page .landing-panels-mobile .landing-phone-unit {
  width: var(--landing-phone-w);
}

.landing-home-page .landing-panels-mobile .carousel-control-prev,
.landing-home-page .landing-panels-mobile .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  top: 28%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  z-index: 20;
  pointer-events: auto;
}

.landing-home-page .landing-panels-mobile .carousel-control-prev {
  left: 0.25rem;
}

.landing-home-page .landing-panels-mobile .carousel-control-next {
  right: 0.25rem;
}

.landing-home-page .landing-panels-mobile .carousel-control-prev-icon,
.landing-home-page .landing-panels-mobile .carousel-control-next-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.landing-home-page .landing-headline {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 1rem;
}

.landing-home-page .landing-headline-line {
  display: block;
}

.landing-home-page .landing-body {
  font-size: 22px;
  line-height: 1.45;
  color: #2a2a2a;
  margin-bottom: 1.75rem;
}

.landing-home-page .landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 25px 52px #0146636b;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.landing-home-page .landing-btn--curate {
  background: #0983b2;
  border-color: #0983b2;
  color: #fff;
}

.landing-home-page .landing-btn--curate .landing-btn-icon {
  flex-shrink: 0;
  width: 1.35em;
  height: auto;
  display: block;
}

.landing-home-page .landing-btn--curate:hover {
  background: #237696;
  border-color: #237696;
  color: #fff;
}

.landing-home-page .landing-btn--search {
  background: #f69165;
  border-color: #f69165;
  color: #fff;
}

.landing-home-page .landing-btn--search:hover {
  background: #e07d50;
  border-color: #e07d50;
  color: #fff;
}

.landing-home-page .landing-bottom-cta {
  background: #fff;
  text-align: left;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.landing-home-page .landing-bottom-cta-inner {
  max-width: 1100px;
  margin: 0;
  padding-top: 0.5rem;
}

.landing-home-page .landing-bottom-cta-accent {
  width: 48px;
  height: 4px;
  background: #0983b2;
  border-radius: 2px;
  margin: 0 0 1.25rem 0;
}

.landing-home-page .landing-bottom-cta .landing-headline {
  margin-bottom: 0.75rem;
}

.landing-home-page .landing-bottom-sub {
  font-size: 22px;
  line-height: 1.45;
  color: #5c5c5c;
  margin: 0;
}

@media (min-width: 768px) {
  .landing-home-page {
    --landing-phone-w: clamp(220px, 11vw + 80px, 340px);
    --landing-panel-phone-pad-x: clamp(26px, 2vw, 48px);
    --landing-panel-radius: clamp(18px, 1.45vw, 34px);
    --landing-panel-gap-half: clamp(0.45rem, 1.1vw, 1rem);
    --landing-panels-row-margin-top-desktop: 4px;
    --landing-hero-pad-before-panels: 1.125rem;
    --landing-hero-strip-height: min(
      calc(100svh - clamp(200px, 26vh, 310px)),
      min(85svh, 880px)
    );
  }

  .landing-home-page .landing-hero-backdrop {
    height: var(--landing-hero-strip-height);
  }

  .landing-home-page .landing-hero-strip-body {
    display: flex;
  }

  .landing-home-page .landing-desktop-phones,
  .landing-home-page .landing-desktop-copy {
    width: 98%;
    max-width: min(1200px, 98vw);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    gap: clamp(0.875rem, 1.35vw, 1.75rem);
  }

  .landing-home-page .landing-desktop-phones {
    display: flex;
    padding: var(--landing-hero-pad-before-panels) 0 0;
  }

  .landing-home-page .landing-desktop-copy {
    display: flex;
    padding: 0 0 clamp(1rem, 2vw, 2.25rem);
  }

  .landing-home-page .landing-panels-mobile {
    display: none !important;
  }

  .landing-home-page .landing-phone-img {
    border-radius: clamp(12px, 1vw, 20px);
  }

  .landing-home-page .landing-hero-signature {
    max-width: clamp(240px, 18vw, 360px);
    padding: clamp(5px, 0.5vw, 10px);
  }

  .landing-home-page .landing-hero-signature .owner-image {
    width: clamp(32px, 2vw, 44px);
    height: clamp(32px, 2vw, 44px);
  }

  .landing-home-page .landing-hero-signature .hero-description {
    font-size: clamp(12px, 0.55vw + 10px, 16px);
  }
}

@media (min-width: 768px) and (max-width: 900.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 55px;
  }
}

@media (min-width: 860px) and (max-width: 900.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 90px;
  }
}

@media (min-width: 901px) and (max-width: 950.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 70px;
  }
}

@media (min-width: 922px) and (max-width: 950.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 100px;
  }
}

@media (min-width: 951px) and (max-width: 1080.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 100px;
  }
}

@media (min-width: 1048px) and (max-width: 1080.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 120px;
  }
}

@media (min-width: 1081px) and (max-width: 1110.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 130px;
  }
}

@media (min-width: 1111px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 169px;
  }
}

@media (min-width: 1117px) and (max-width: 1129.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 165px;
  }
}

@media (min-width: 1161px) and (max-width: 1181.98px) {
  .landing-home-page {
    --landing-panel-copy-pad-x: 160px;
  }
}

@media (min-width: 1600px) {
  .landing-home-page {
    --landing-hero-strip-height: min(
      calc(100svh - clamp(200px, 26vh, 310px)),
      min(85svh, 880px)
    );
    --landing-phone-w: clamp(260px, 12vw + 88px, 380px);
    --landing-panel-phone-pad-x: clamp(40px, 3vw, 76px);
    --landing-panel-radius: clamp(24px, 1.9vw, 46px);
    --landing-panel-gap-half: clamp(0.65rem, 1.6vw, 1.75rem);
    --landing-panels-row-margin-top-desktop: 16px;
    --landing-hero-pad-before-panels: 1.75rem;
  }

  .landing-home-page .landing-desktop-copy {
    padding: 0 0 clamp(2rem, 3vw, 3.5rem);
  }

  .landing-home-page .landing-panel-copy {
    padding: clamp(1.1rem, 2.2vw, 2.35rem) var(--landing-panel-copy-pad-x) clamp(1.5rem, 2.8vw, 3rem);
  }

  .landing-home-page .landing-panel-copy .landing-headline {
    margin-bottom: 1rem;
  }

  .landing-home-page .landing-panel-copy .landing-body {
    margin-bottom: 1.75rem;
  }

  .landing-home-page .landing-phone-img {
    border-radius: clamp(16px, 1.4vw, 26px);
  }

  .landing-home-page .landing-hero-signature {
    max-width: clamp(280px, 22vw, 440px);
    padding: clamp(6px, 0.65vw, 14px);
  }

  .landing-home-page .landing-hero-signature .owner-image {
    width: clamp(36px, 2.5vw, 52px);
    height: clamp(36px, 2.5vw, 52px);
  }

  .landing-home-page .landing-hero-signature .hero-description {
    font-size: clamp(13px, 0.75vw + 10px, 19px);
  }
}

@media (min-width: 1921px) {
  .landing-home-page .landing-desktop-phones,
  .landing-home-page .landing-desktop-copy {
    max-width: min(1400px, 98vw);
  }
}

@media (min-width: 768px) and (max-width: 1049.98px) {
  .landing-home-page {
    --landing-phone-w: 300px;
  }

  .landing-home-page .landing-desktop-phones .landing-phone-img {
    width: 300px;
    max-width: 300px;
    height: auto;
    object-fit: contain;
  }
}

/*
 * Laptop band (1050–1439.98): fluid mockup width; fixed copy inset + type until 1440 design spec.
 * Overrides narrower --landing-panel-copy-pad-x steps (1081, 1111, …) in this range.
 */
@media (min-width: 1050px) and (max-width: 1439.98px) {
  .landing-home-page {
    --landing-phone-w: clamp(320px, calc(320px + (100vw - 1050px) * 105 / 349), 425px);
    --landing-panel-copy-pad-x: 101px;
  }

  .landing-home-page .landing-desktop-phones .landing-phone-img {
    width: clamp(320px, calc(320px + (100vw - 1050px) * 105 / 349), 425px);
    max-width: clamp(320px, calc(320px + (100vw - 1050px) * 105 / 349), 425px);
    height: auto;
    object-fit: contain;
  }

  .landing-home-page .landing-panel-copy .landing-headline {
    font-size: 25px;
  }

  .landing-home-page .landing-panel-copy .landing-body {
    font-size: 17px;
  }

  .landing-home-page .landing-panel-copy .landing-btn {
    font-size: 13px;
  }
}

/*
 * 1100–1439.98px: mockup width ramps with vw (same formula as 1050–1439 band) but strip height was
 * only svh-based, so nav→panel gap shrank as phones grew. Add strip height = extra mockup height
 * (intrinsic 425×522): Δh = Δw × 522/425, with Δw capped where width hits 425px (~1399px).
 */
@media (min-width: 1100px) and (max-width: 1439.98px) {
  .landing-home-page {
    --landing-phone-extra-w: min(
      max(0px, (100vw - 1100px) * 105 / 349),
      calc(425px - 320px - (50px * 105 / 349))
    );
    --landing-hero-strip-height: calc(
      min(
        calc(100svh - clamp(200px, 26vh, 310px)),
        min(85svh, 880px)
      ) + (var(--landing-phone-extra-w) * 522 / 425)
    );
  }
}

/*
 * Tablet / in-between (768–1439.98): strip height was svh-based while the phone row is flex-end'd,
 * so any leftover height became dead space under the navbar. Size the backdrop to its content
 * instead and set the nav→panel gap explicitly, matching the ≥1440 treatment.
 */
@media (min-width: 768px) and (max-width: 1439.98px) {
  .landing-home-page {
    --landing-hero-strip-pad-top: clamp(12px, 1.4vw, 20px);

    /*
     * Height cap on the mockup: same 425:522 mockup ratio and same 425/856 share of the
     * navbar→buttons stack as ≥1440, so the copy panel and its buttons still land inside the
     * viewport on short laptop screens. Floored at 260px; the width-driven sizing from the
     * bands above still wins whenever it is the smaller of the two.
     */
    --landing-phone-fit-w: max(
      260px,
      (100svh - 5.5rem - var(--landing-hero-strip-pad-top) - 16px) * 425 / 856
    );
  }

  .landing-home-page .landing-hero-backdrop {
    height: auto;
  }

  .landing-home-page .landing-hero-strip-body {
    justify-content: flex-start;
    padding-top: var(--landing-hero-strip-pad-top);
  }

  .landing-home-page .landing-desktop-phones {
    padding-top: 0;
  }

  .landing-home-page .landing-desktop-phones .landing-phone-unit,
  .landing-home-page .landing-desktop-phones .landing-phone-img {
    width: min(var(--landing-phone-w), var(--landing-phone-fit-w));
    max-width: min(var(--landing-phone-w), var(--landing-phone-fit-w));
    height: auto;
  }
}

/*
 * Desktop design spec (not tablet / in-between widths): fixed panel grid, hero strip, type.
 * ≥1440px: two 675px columns + gap; total column height 910px = 522px phone row + 388px copy row.
 */
@media (min-width: 1440px) {
  .landing-home-page {
    /* Gap under navbar before the phone panels: 20px at 1440, easing to 50px on very wide screens. */
    --landing-hero-strip-pad-top: clamp(20px, 2.68vw - 18.6px, 50px);

    /*
     * Single knob for the whole desktop grid. Spec column is 675px; this shrinks it (never below
     * ~74%) when the viewport is too narrow, or too short to seat the 856px stack under the
     * 5.5rem navbar — 37 row gap + 522 phone row + 297 of copy row, i.e. down to the bottom of
     * the Curate / Search-your-own buttons, which is what has to stay on screen on laptops.
     * Everything below is a ratio of this value, so hero-slot ↔ mockup proportions are identical
     * at every size.
     */
    --landing-panel-w: max(
      500px,
      min(
        675px,
        (100vw - 2 * clamp(1rem, 2.5vw, 2.5rem) - 48px) / 2,
        (100svh - 5.5rem - var(--landing-hero-strip-pad-top) - 16px) * 675 / 856
      )
    );
    --landing-panel-col-gap: calc(var(--landing-panel-w) * 48 / 675);
    --landing-phone-row-gap-top: calc(var(--landing-panel-w) * 37 / 675);
    --landing-phone-h: calc(var(--landing-panel-w) * 522 / 675);
    --landing-copy-h: calc(var(--landing-panel-w) * 388 / 675);

    --landing-hero-strip-height: calc(
      5.5rem + var(--landing-hero-strip-pad-top) + var(--landing-phone-row-gap-top) +
        var(--landing-phone-h)
    );
    --landing-panels-row-margin-top-desktop: var(--landing-hero-strip-pad-top);
    --landing-panel-copy-pad-x: calc(var(--landing-panel-w) * 137.5 / 675);
    --landing-panel-radius: calc(var(--landing-panel-w) * 28 / 675);
    --landing-panel-gap-half: calc(var(--landing-panel-w) * 24 / 675);
  }

  .landing-home-page .landing-hero-backdrop {
    height: var(--landing-hero-strip-height);
  }

  /* Strip uses rem+px calc above (not vh), so hero box height stays predictable when zooming out. */
  .landing-home-page .landing-hero-slide-img {
    min-height: 100%;
  }

  .landing-home-page .landing-hero-strip-body {
    justify-content: flex-start;
  }

  /*
   * Full-bleed rows: #fff and panel tints span 100% width so horizontal seams stay straight
   * (narrow max-width + auto margins only painted the center ~1398px).
   */
  .landing-home-page .landing-desktop-phones,
  .landing-home-page .landing-desktop-copy {
    width: 100%;
    max-width: none;
    gap: var(--landing-panel-col-gap);
    box-sizing: border-box;
    justify-content: center;
    padding-left: clamp(1rem, 2.5vw, 2.5rem);
    padding-right: clamp(1rem, 2.5vw, 2.5rem);
  }

  .landing-home-page .landing-desktop-copy {
    position: relative;
    z-index: 3;
  }

  .landing-home-page .landing-desktop-phones {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: var(--landing-phone-row-gap-top);
  }

  .landing-home-page .landing-desktop-phones .landing-panel,
  .landing-home-page .landing-desktop-copy .landing-panel {
    flex: 0 0 var(--landing-panel-w);
    width: var(--landing-panel-w);
    max-width: var(--landing-panel-w);
    min-width: var(--landing-panel-w);
  }

  .landing-home-page .landing-desktop-phones .landing-panel--segment-top {
    height: var(--landing-phone-h);
    min-height: var(--landing-phone-h);
    max-height: var(--landing-phone-h);
    box-sizing: border-box;
  }

  .landing-home-page .landing-desktop-copy .landing-panel--segment-bottom {
    height: var(--landing-copy-h);
    min-height: var(--landing-copy-h);
    max-height: var(--landing-copy-h);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .landing-home-page .landing-desktop-phones .landing-panel--segment-top .landing-panel-hero-slot {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 calc(var(--landing-panel-w) * 125 / 675);
    box-sizing: border-box;
    align-items: flex-end;
  }

  .landing-home-page .landing-desktop-phones .landing-phone-unit {
    width: calc(var(--landing-panel-w) * 425 / 675);
  }

  .landing-home-page .landing-desktop-phones .landing-phone-img {
    width: calc(var(--landing-panel-w) * 425 / 675);
    height: var(--landing-phone-h);
    max-width: calc(var(--landing-panel-w) * 425 / 675);
    object-fit: contain;
  }

  .landing-home-page .landing-desktop-copy .landing-panel-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;
    padding: calc(var(--landing-panel-w) * 20 / 675) var(--landing-panel-copy-pad-x);
  }

  .landing-home-page .landing-desktop-copy .landing-panel-copy .landing-headline {
    width: calc(var(--landing-panel-w) * 400 / 675);
    max-width: 100%;
    height: calc(var(--landing-panel-w) * 90 / 675);
    min-height: calc(var(--landing-panel-w) * 90 / 675);
    max-height: calc(var(--landing-panel-w) * 90 / 675);
    margin-bottom: calc(var(--landing-panel-w) * 12 / 675);
    font-size: calc(var(--landing-panel-w) * 34 / 675);
    font-family: "Mont-SemiBold", sans-serif;
    font-weight: 400;
    line-height: 1.15;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .landing-home-page .landing-desktop-copy .landing-panel-copy .landing-body {
    width: calc(var(--landing-panel-w) * 400 / 675);
    max-width: 100%;
    min-height: calc(var(--landing-panel-w) * 100 / 675);
    margin-bottom: calc(var(--landing-panel-w) * 40 / 675);
    font-size: calc(var(--landing-panel-w) * 22 / 675);
    font-family: "Mont-Book", sans-serif;
    font-weight: 400;
    line-height: 1.45;
  }

  .landing-home-page .landing-desktop-copy .landing-panel-copy .landing-btn {
    font-size: calc(var(--landing-panel-w) * 15 / 675);
    padding: calc(var(--landing-panel-w) * 7 / 675) calc(var(--landing-panel-w) * 20 / 675);
    font-family: "Mont-SemiBold", sans-serif;
    font-weight: 400;
    align-self: flex-start;
  }

  .landing-home-page .landing-desktop-copy .landing-panel-copy .landing-btn--curate .landing-btn-icon {
    width: calc(var(--landing-panel-w) * 28 / 675);
    height: calc(var(--landing-panel-w) * 24 / 675);
  }

  /*
   * Greek headlines are ~40% longer than the English source, so they wrap to a
   * third line that the 90px (design spec) headline box clipped mid-glyph.
   * Let the box grow to three lines and take the extra height back off the body
   * min-height, so the copy panel's fixed --landing-copy-h still fits.
   */
  html[lang="el"] .landing-home-page .landing-desktop-copy .landing-panel-copy .landing-headline {
    height: auto;
    min-height: calc(var(--landing-panel-w) * 90 / 675);
    max-height: calc(var(--landing-panel-w) * 136 / 675);
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  html[lang="el"] .landing-home-page .landing-desktop-copy .landing-panel-copy .landing-body {
    min-height: calc(var(--landing-panel-w) * 54 / 675);
  }
}

@media (min-width: 1440px) and (max-width: 1450px) {
  .landing-home-page .landing-desktop-phones .landing-panel--segment-top {
    transform: translateY(18px);
  }
}

@media (max-width: 767.98px) {
  .landing-home-page .landing-btn {
    box-shadow: 0 1px 5px #01466340;
  }

  .landing-home-page .landing-panels-mobile .landing-panel-copy .landing-btn {
    font-size: 11px;
  }

  .landing-home-page {
    --landing-phone-w: min(240px, 88vw);
    --landing-hero-pad-before-panels: 0.85rem;
    --landing-panel-phone-pad-top: 0;
    --landing-mobile-card-overlap: 300px;
  }

  .landing-home-page .landing-hero {
    background-color: #fff;
    overflow: visible;
  }

  .landing-home-page .landing-hero-backdrop {
    height: auto;
    min-height: min(50svh, 440px);
    flex-shrink: 0;
  }

  .landing-home-page .landing-hero-backdrop .landing-hero-media {
    inset: 0;
    height: auto;
    min-height: 0;
  }

  .landing-home-page .landing-hero-strip-body {
    display: none !important;
  }

  .landing-home-page .landing-desktop-phones,
  .landing-home-page .landing-desktop-copy {
    display: none !important;
  }

  .landing-home-page .landing-panels-mobile {
    display: block;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    align-self: center;
    width: 100%;
    margin-top: calc(-1 * var(--landing-mobile-card-overlap) - 2px);
    margin-bottom: 0;
    padding: 0.5rem 2.75rem 1.25rem;
  }

  .landing-home-page .landing-panels-mobile .landing-panel-hero-slot {
    --landing-panel-phone-pad-x: clamp(1.2rem, 5.25vw, 44px);
  }

  .landing-home-page .landing-panels-mobile .landing-panel-copy {
    padding-left: clamp(1.2rem, 5.25vw, 44px);
    padding-right: clamp(1.2rem, 5.25vw, 44px);
  }

  .landing-home-page .landing-panels-mobile .carousel-control-prev,
  .landing-home-page .landing-panels-mobile .carousel-control-next {
    background: rgba(248, 248, 248, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .landing-home-page .landing-panels-mobile .carousel-control-prev:hover,
  .landing-home-page .landing-panels-mobile .carousel-control-next:hover {
    background: #eee;
    border-color: rgba(0, 0, 0, 0.12);
  }

  .landing-home-page .landing-panels-mobile .carousel-control-prev-icon,
  .landing-home-page .landing-panels-mobile .carousel-control-next-icon {
    background-size: 1.25rem 1.25rem;
    background-repeat: no-repeat;
    background-position: center;
    filter: none;
  }

  .landing-home-page .landing-panels-mobile .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f69165'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
  }

  .landing-home-page .landing-panels-mobile .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f69165'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  }

  .landing-home-page .landing-hero-signature {
    right: 10px;
    bottom: 10px;
    padding: 4px;
    max-width: min(300px, 70vw);
  }

  .landing-home-page .landing-hero-signature .owner-image {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }

  .landing-home-page .landing-hero-signature .hero-description {
    display: none;
  }

  .landing-home-page .landing-bottom-sub {
    font-size: 18px;
  }

  .landing-home-page .home-page-container .activity-explorer .center-container {
    margin-top: 0;
    padding-top: 1.25rem;
  }
}

/* Big mobile / small tablet (400px–768px): extra horizontal inset for copy + mockup vs. narrow phones */
@media (min-width: 400px) and (max-width: 767.98px) {
  .landing-home-page .landing-panels-mobile .landing-panel-hero-slot {
    --landing-panel-phone-pad-x: clamp(1.35rem, 6.25vw, 52px);
  }

  .landing-home-page .landing-panels-mobile .landing-panel-copy {
    padding-left: clamp(1.35rem, 6.25vw, 52px);
    padding-right: clamp(1.35rem, 6.25vw, 52px);
  }
}
