.discover-track{display:contents}
@media (max-width:700px) and (orientation:portrait), (max-width:1000px) and (orientation:landscape){
  html.discover-snap,body.discover-page{height:100%;overflow:hidden;overscroll-behavior:none;scroll-snap-type:none}
  .discover-page .discover-shell{position:fixed;inset:0;height:100%;padding:0;overflow:hidden;touch-action:pan-x}
  .discover-page .discover-track{display:block;height:100%;will-change:transform}
  .discover-snap .d-scene,.discover-snap .d-scene-hero{height:100%;min-height:100%;margin:0;padding:96px 24px 32px;align-items:flex-end;scroll-snap-align:none}
  .discover-page .d-text{width:100%;max-width:520px;padding:24px;flex-shrink:0}
  .discover-page .d-text h2{font-size:40px;margin-bottom:12px}
  .discover-page .d-text p{font-size:14px;line-height:1.65}
  .discover-page .d-hero-copy{min-height:0;gap:18px;padding-right:0}
  .discover-page .d-hero-title{font-size:clamp(44px,13vw,76px)}
  .discover-page .d-text-closure{padding:20px}
  .discover-page .progress{transition:width 1.5s cubic-bezier(.65,0,.35,1)}
}
@media (max-width:1000px) and (orientation:landscape){
  .discover-snap .d-scene,.discover-snap .d-scene-hero{padding:78px 28px 20px;align-items:center}
  .discover-page .d-text{width:min(56%,460px);padding:18px 24px}
  .discover-page .d-text h2{font-size:34px;margin-bottom:10px}
  .discover-page .d-text p{font-size:13px;line-height:1.5}
  .discover-page .d-hero-title{font-size:52px;max-width:9ch}
  .discover-page .d-hero-copy{gap:12px}
  .discover-page .d-text-closure{width:min(75%,580px);padding:14px 20px}
  .discover-page .d-closing-copy{margin:12px auto}
  .discover-page .d-text-closure br{display:none}
  .discover-page .d-text-closure .btn{padding:10px 22px;margin-top:12px}
}
@media (max-width:700px) and (orientation:portrait){
  .discover-snap .d-scene:not(.d-scene-hero){padding-bottom:84px}
}

/* Show the complete welcome sign at a quieter scale on portrait phones. */
@media (max-width:700px) and (orientation:portrait){
  .discover-page .d-bg-hero{inset:92px 20px auto;height:min(36vh,280px);transform:none;border-radius:12px;box-shadow:none}
  .discover-page .d-bg-hero img{height:100%;object-fit:contain;transform:none;opacity:1}
  .discover-page .d-bg-hero:before,.discover-page .d-bg-hero:after{display:none}
}


.scene-controls[hidden]{display:none}
.scene-controls{position:fixed;z-index:115;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:6px 10px;border:1px solid #8c735a;border-radius:8px;background:#fffcf8;color:#2b2b28;font-size:12px;line-height:1.3}
.scene-controls button{padding:8px 10px;background:#2f3d34;color:#fff;border:0;border-radius:4px;cursor:pointer;font:inherit;min-height:36px}
.scene-controls button:disabled{background:#e8e2d9;color:#5c5c53;cursor:default}
@media (max-width:700px) and (orientation:portrait), (max-width:1000px) and (orientation:landscape){
 .discover-page .d-text{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}
 .discover-page .d-hero-copy{margin-bottom:46px}
 .discover-page .d-hero-title{font-size:clamp(36px,11vw,52px);max-width:10ch}
 .discover-page .retreat-back-top{bottom:74px}
}
@media(max-width:1000px) and (orientation:landscape) and (max-height:360px){
 .discover-snap .d-scene:not(.d-scene-hero){padding-top:72px;padding-bottom:60px;align-items:flex-start}
 .discover-page .d-text{max-height:calc(100dvh - 136px);padding:14px 20px}
 .discover-page .d-text-closure{max-height:calc(100dvh - 136px)}
 .discover-page .d-hero-copy{margin-bottom:32px}
 .discover-page .d-hero-title{font-size:36px;max-width:12ch}
 .discover-page .d-hero-eyebrow{margin-bottom:0}
}
