/* 2026-11-05 Willis: "each section … shown in one landscape, like laptop, tablet." On landscape screens every main section
   is one screen tall (the window minus the sticky header) and its contents are sized with vh so they fit inside it.
   Portrait phones keep the normal flowing page. Scroll snapping is "proximity" so it helps without trapping the reader. */
@media (orientation:landscape) and (min-width:900px) and (min-height:560px){
  :root{--head:96px;--screen:calc(100svh - var(--head))}
  html{scroll-snap-type:y proximity;scroll-padding-top:var(--head)}
  main>section:not(.club){min-height:var(--screen);scroll-snap-align:start;box-sizing:border-box}
  #collection,main>section.help-section{display:flex;flex-direction:column;justify-content:center;padding-top:3vh;padding-bottom:3vh}
  .section-heading{margin-bottom:2.2vh}

  /* 1 · hero */
  .hero{min-height:var(--screen);grid-template-rows:auto 1fr;padding-top:2vh;padding-bottom:2vh}
  .hero-photo{min-height:0;height:calc(var(--screen) - 13vh)}
  .hero h1{font-size:min(5vw,7.4vh);margin:1.2vh 0}
  .hero p{margin:1vh 0}

  /* 2 · how it works bento: the four tiles fill the screen */
  .how-bento{grid-template-rows:auto 1fr 1fr;padding-top:3vh;padding-bottom:3vh}

  /* 3 · frames: picture wells take a share of the screen instead of a fixed ratio */
  #collection h2{font-size:min(3.6vw,6vh)}
  #collection .product-visual{aspect-ratio:auto;height:20vh}
  #collection .product-line{margin-top:1.2vh}
  #collection .product-cost{margin:.6vh 0}
  #collection .filters,#collection .toolbar{margin-bottom:1.6vh}

  /* 4 · lenses */
  .lens-section{display:flex;flex-direction:column;justify-content:center;padding:3vh 0}
  .lens-section h2{font-size:min(3.6vw,6vh)}
  .lens-tabs{margin-top:1.2vh}
  .tier{padding:2.2vh 22px}
  .lens-art{width:5vh;height:5vh;margin-top:0}
  .tier h3{font-size:min(2.2vw,3.6vh);margin:1.2vh 0 .8vh}
  .tier p,.tier small,.tier ul{min-height:0}
  .tier ul{line-height:1.6;margin:.8vh 0}
  .tier-price{padding-top:1.2vh;margin-top:1.2vh}

  /* 5 · try-on + share stories */
  .try-story,.share-story{min-height:calc(var(--screen) - 8vh);padding:4vh 36px}

  /* 6 · exam, 7 · visit, 8 · help */
  .exam-section{display:flex;align-items:center;padding:3vh 0}
  .exam-section h2{font-size:min(4.4vw,7vh)}
  .visit-bento{grid-template-rows:auto 1fr 1fr}
  .vb-intro h2{font-size:min(3.6vw,6vh)}
  .help-section{padding:3vh 0}

  /* second pass: trims measured in Chrome at 1366×768 and 1024×768 */
  #collection h2,.lens-section h2{font-size:min(3vw,5.2vh);line-height:1}
  #collection .section-heading p,.lens-section .section-heading p{margin:0}
  #collection .product-visual{height:15vh}
  #collection .product-meta{margin:.4vh 0}
  #collection .product-cost{line-height:1.45}
  #collection .card-actions{margin-top:.8vh}
  #collection .collection-foot,#collection .grid-foot{margin-top:1.4vh}
  .lens-tabs button{min-height:40px;padding:8px 18px}
  .tier{position:relative}
  .lens-art{position:absolute;right:20px;top:2.2vh;width:4.4vh;height:4.4vh}
  .tier h3{font-size:min(1.9vw,3.2vh);margin:1vh 0 .6vh}
  .tier p{margin:0}
  .tier ul{line-height:1.45;margin:.6vh 0}
  .tier small{margin:.4vh 0}
  .try-story h2,.share-story h2{font-size:min(3vw,5.4vh)}
  .try-story p,.share-story p{margin:1vh 0}
  .dual-story .try-story>img{height:27vh;padding-top:2vh}
  .share-art{font-size:9vh;line-height:1}
  .vb-intro h2{font-size:min(3vw,5.4vh)}
  .vb-intro{padding:3.5vh 36px}
  main>section.section{padding-top:3vh;padding-bottom:3vh}
  .try-story,.share-story{min-height:calc(var(--screen) - 6vh)}
  /* third pass */
  #collection h2,.lens-section h2{font-size:min(2.6vw,4.6vh);line-height:.98}
  #collection .eyebrow,.lens-section .eyebrow{margin-bottom:1vh}
  .section-heading{margin-bottom:1.4vh}
  .section-heading p{line-height:1.5}
  #collection .product-visual{height:17vh}
  #collection .product-open{height:100%;width:100%;display:grid;place-items:center}
  #collection .product-visual svg{height:88%;width:auto;max-width:88%}
  #collection .product-cost{line-height:1.35}
  .lens-tabs{margin-top:.6vh}
  .lens-tabs button{min-height:40px;padding:6px 16px}
  .lens-section .lens-explanation{margin:.6vh 0 1.2vh}
  .tier{padding:1.8vh 20px}
  .tier p{line-height:1.45}
  .tier-price{padding-top:.9vh;margin-top:.9vh}
  /* fourth pass */
  .hero h1{font-size:min(4.6vw,7vh)}
  .tier h3{font-size:min(1.6vw,3vh)}
  .tier ul{line-height:1.35}
  .tier small{line-height:1.4}
  #collection .product-cost{margin:.3vh 0}
}
@media (orientation:landscape) and (min-width:900px) and (max-width:1300px) and (min-height:560px){
  #collection .product-visual{height:14vh}
}
@media (orientation:landscape) and (min-width:900px) and (min-height:560px) and (max-height:820px){
  :root{--head:78px}
  header{padding-top:10px;padding-bottom:10px}
  .lens-section .section-heading p,#collection .section-heading p{font-size:16px}
}
@media (orientation:landscape) and (min-width:900px) and (min-height:560px){
  .tier.featured{padding-top:1.8vh}
  .lens-footnote{margin-top:1.6vh;padding-top:1.2vh}
  #collection .shape-label{top:8px;bottom:auto}
}
@media (orientation:landscape) and (min-width:900px) and (min-height:560px){
  /* divider bars take the first row of each grid section */
  .eyebrow.divider{margin-bottom:1.6vh}
  .dual-story{grid-template-rows:auto 1fr;row-gap:1.6vh}
  .dual-story .try-story,.dual-story .share-story{min-height:0}
  .exam-layout{row-gap:2vh}
  .faq-layout{row-gap:1.6vh}
  .hero{row-gap:1.4vh}
  #collection .section-heading{margin-bottom:1vh}
}
@media (orientation:landscape) and (min-width:900px) and (max-width:1100px) and (min-height:560px){
  #collection .product-visual{height:12vh}
  #collection .card-actions .text-link{white-space:nowrap}
}
@media (orientation:landscape) and (min-width:900px) and (min-height:560px) and (max-height:800px){
  .eyebrow.divider{padding-top:6px;padding-bottom:5px;margin-bottom:1.2vh}
  main>section.section,#collection,.lens-section,.exam-section,.help-section{padding-top:2vh;padding-bottom:2vh}
  .dual-story .try-story>img{height:25vh}
}
