/* The mobile introduction is one continuous scene: the lake fades behind
   the headline, while the action remains within comfortable thumb reach. */
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-kicker { display: none; }

@media (max-width: 1000px) {
  .home-page .hero {
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    min-height: min(800px, 100svh);
    padding: calc(64px + clamp(230px, 35svh, 350px)) 0 44px;
    background: #0f0f11;
  }
  .home-page .hero::after {
    display: block;
    z-index: 1;
    background: linear-gradient(180deg, transparent 20%, #0f0f1100 40%, #0f0f1130 55%, #0f0f11 83%);
  }
  .home-page .hero-art {
    position: absolute;
    inset: 64px 0 auto;
    width: 100%;
    height: clamp(390px, 70svh, 640px);
    overflow: hidden;
    mask-image: linear-gradient(#000 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 50%, transparent 100%);
  }
  .home-page .hero-landscape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-size: cover;
    background-position: 58% top;
    background-repeat: no-repeat;
    transform: none;
    filter: none;
  }
  .home-page .hero-motion { display: none; }
  .home-page .hero-petals { display: block; }
  .home-page .hero-content {
    width: min(650px, calc(100% - 48px));
    padding: 0;
    text-align: left;
  }
  .home-page .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: #e5c5bf;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .035em;
  }
  .home-page .hero-kicker::before {
    content: '';
    width: 5px;
    height: 5px;
    flex: none;
    border-radius: 50%;
    background: #eca1a8;
    box-shadow: 0 0 14px #ff8f975c;
  }
  .home-page .hero h1 {
    font-size: clamp(46px, 7.4vw, 68px);
    line-height: 1.015;
    letter-spacing: -.025em;
    color: #f9f6f5;
    text-wrap: nowrap;
    text-shadow: 0 3px 30px #08060860;
  }
  .home-page .hero-brand-title {
    color: #f1e4e1;
  }
  .home-page .hero-description {
    max-width: 450px;
    margin: 22px 0 0;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0;
    color: #c8c1c2;
  }
  .home-page .hero-description br { display: none; }
  .home-page .hero-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 28px;
    gap: 22px;
  }
  .home-page .hero .btn {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 48px;
    padding: 13px 20px;
    font-size: 13px;
  }
  .home-page .hero .btn:not(.btn-secondary) {
    box-shadow: 0 8px 30px #df530020, inset 0 1px 0 #ffffff20;
  }
  .home-page .hero .btn-secondary {
    padding: 11px 18px;
    border: 1px solid #ffffff20;
    border-radius: 999px;
    background: #ffffff08;
    color: #d6d7db;
    box-shadow: none;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .home-page .hero .btn-secondary::before {
    content: none;
  }
  .home-page .hero .btn-secondary:hover {
    background: #ffffff12;
    border-color: #ffffff30;
    color: #fff;
  }

  .home-page .home-faq {
    grid-template-columns: minmax(0, 1fr);
    width: min(650px, calc(100% - 48px));
    gap: 32px;
    padding: 20px 0 64px;
  }
  .home-faq-copy { width: 100%; max-width: none; }
  .home-page .interface-poster {
    width: 100%;
    max-width: 560px;
    min-height: 0;
    margin-inline: auto;
    background: #100d0c;
  }
  .home-page .interface-poster > img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto 1122 / 1402;
    object-fit: contain;
    object-position: center;
  }
  .home-page .interface-poster::after { display: none; }
  .home-page .interface-poster-copy {
    position: relative;
    inset: auto;
    padding: 0 24px 26px;
  }
  .home-page .interface-poster-copy h3 { font-size: clamp(26px, 5.4vw, 34px); }
  .home-page .interface-poster-copy .btn { min-height: 46px; margin-top: 20px; }

  .home-page .scene-section.illustrated-scene {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #100d0c;
  }
  .home-page .illustrated-scene::after { display: none; }
  .home-page .illustrated-scene .scene-image {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto 1672 / 941;
    object-fit: contain;
    object-position: center;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .home-page .illustrated-scene .scene-inner,
  .home-page .illustrated-scene .scene-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    width: min(650px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding: 26px 0 54px;
    text-align: left;
  }
  .home-page .illustrated-scene .scene-copy,
  .home-page .illustrated-scene .scene-details {
    flex: none;
    width: 100%;
    max-width: none;
    text-align: left;
  }
  .home-page .illustrated-scene .scene-copy { order: 0; }
  .home-page .illustrated-scene .scene-details { order: 1; }
  .home-page .illustrated-scene .scene-eyebrow {
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ed995e;
    font-size: 12px;
  }
  .home-page .illustrated-scene .scene-title {
    width: 100%;
    margin: 16px 0 18px;
    font-size: clamp(30px, 6.4vw, 46px);
    line-height: 1.08;
    text-align: left;
  }
  .home-page .illustrated-scene .scene-description {
    max-width: 590px;
    padding: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #c7c1bf;
  }
  .home-page .illustrated-scene .scene-feature-list {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.5;
  }
  .home-page .illustrated-scene .scene-button { margin-top: 0; min-height: 48px; }
  .home-page .scene-performance.illustrated-scene .scene-center { gap: 0; }
  .home-page .scene-performance.illustrated-scene .scene-button { margin-top: 24px; }
}

@media (max-width: 440px) {
  .home-page .hero-content,
  .home-page .home-faq,
  .home-page .illustrated-scene .scene-inner,
  .home-page .illustrated-scene .scene-center { width: calc(100% - 36px); }
  .home-page .hero-content { width: calc(100% - 40px); }
  .home-page .hero {
    min-height: min(760px, 100svh);
    padding-top: calc(64px + clamp(210px, 35svh, 300px));
    padding-bottom: max(36px, env(safe-area-inset-bottom));
  }
  .home-page .hero-art { height: clamp(370px, 67svh, 530px); }
  .home-page .hero h1 { font-size: clamp(38px, 11.5vw, 50px); }
  .home-page .hero-description { max-width: 350px; margin-top: 20px; font-size: 14px; line-height: 1.65; }
  .home-page .hero-buttons { gap: 20px; margin-top: 25px; }
  .home-page .hero .btn { min-height: 48px; padding: 13px 18px; font-size: 12px; }
  .home-page .hero .btn-secondary { flex: 1; max-width: 115px; padding: 10px 0; font-size: 12px; }
  .home-page .illustrated-scene .scene-button { width: 100%; }
  .home-page .interface-poster-copy { padding-inline: 20px; }
}

@media (max-width: 360px) {
  .home-page .hero-content { width: calc(100% - 36px); }
  .home-page .hero h1 { font-size: 37px; }
  .home-page .hero-kicker { margin-bottom: 15px; font-size: 10px; }
  .home-page .hero-description { margin-top: 18px; font-size: 13px; }
  .home-page .hero-buttons { gap: 16px; }
  .home-page .hero .btn { padding-inline: 15px; font-size: 11px; }
  .home-page .hero .btn-secondary { max-width: 94px; padding-inline: 0; font-size: 11px; }
}

/* In portrait, keep the illuminated pavilion and overhanging blossom in frame. */
@media (max-width: 600px) and (orientation: portrait) {
  .home-page .hero {
    justify-content: flex-start;
    /* Keep the following section still as mobile browser toolbars open/close. */
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(265px, 35svh, 300px) 0 max(28px, env(safe-area-inset-bottom));
  }
  .home-page .hero-art {
    height: clamp(325px, 46svh, 375px);
    mask-image: linear-gradient(#000 42%, #000c 66%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 42%, #000c 66%, transparent 100%);
  }
  .home-page .hero::after {
    background: linear-gradient(180deg, transparent 22%, #0f0f1100 33%, #0f0f1130 45%, #0f0f11 69%);
  }
  .home-page .hero-landscape {
    background-image: image-set(url('/assets/hero-scene-960.jpg') 1x, url('/assets/hero-scene.jpg') 2x) !important;
    top: -70px;
    height: calc(100% + 70px);
    background-position: 85% bottom;
  }
  .home-page .hero-content { width: calc(100% - 40px); }
  .home-page .hero-kicker { margin-bottom: 16px; font-size: 11px; }
  .home-page .hero h1 { font-size: clamp(38px, 11.5vw, 46px); }
  .home-page .hero-description {
    max-width: 380px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
  }
  .home-page .hero-description-intro { display: none; }
  .home-page .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 25px;
  }
  .home-page .hero .btn:not(.btn-secondary) {
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 14px 21px;
    font-size: 14px;
  }
  .home-page .hero .btn-secondary {
    flex: none;
    align-self: center;
    justify-content: center;
    width: auto;
    max-width: none;
    min-height: 44px;
    padding: 11px 18px;
    font-size: 13px;
    white-space: nowrap;
    text-align: center;
  }
}

@media (max-width: 360px) and (orientation: portrait) {
  .home-page .hero { padding-top: 250px; }
  .home-page .hero-art { height: 325px; }
  .home-page .hero-content { width: calc(100% - 36px); }
  .home-page .hero h1 { font-size: 37px; }
  .home-page .hero-kicker { margin-bottom: 14px; font-size: 10px; }
  .home-page .hero-description { margin-top: 18px; font-size: 13px; }
  .home-page .hero-buttons { margin-top: 22px; }
}

/* A phone turned sideways should not acquire desktop-sized, cropped backdrops. */
@media (max-width: 1100px) and (max-height: 560px) and (orientation: landscape) {
  .home-page .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    height: auto;
    min-height: 0;
    padding: 84px 24px 30px;
    background: #0f0f11;
  }
  .home-page .hero::after { display: none; }
  .home-page .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    border-radius: 16px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .home-page .hero-landscape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center;
    transform: none;
  }
  .home-page .hero-motion { display: none; }
  .home-page .hero-petals { display: block; }
  .home-page .hero-content { width: 100%; padding: 0; text-align: left; }
  .home-page .hero-kicker { margin-bottom: 12px; font-size: 10px; }
  .home-page .hero h1 { font-size: clamp(32px, 4.7vw, 46px); line-height: 1.06; }
  .home-page .hero-description { margin-top: 14px; font-size: 14px; }
  .home-page .hero-buttons { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: 18px; gap: 8px; }
  .home-page .hero .btn { min-width: 0; width: auto; padding: 12px; font-size: 12px; }
  .home-page .hero .btn-secondary { max-width: none; padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-petals { display: none; }
}
