/* JEJORA · homepage add-on (v2): stretched detail links + desktop "一屏一主题" (≥1024px) + calmer mobile hero */
.col,.season,.mcard{position:relative}
.col .link::after,.season .sx::after,.mcard .sx::after{content:"";position:absolute;inset:0;z-index:1}
.season .sx,.mcard .sx{color:inherit}
.mcard .foot a{position:relative;z-index:2}
.col h3,.season h3,.mcard h3{transition:color .3s}
.col:hover h3,.season:hover h3,.mcard:hover h3{color:var(--accent)}
.atlas .link{gap:12px}
.dark .wsm:hover h3,.wbig:hover h3{color:#e3c896}
.os{position:relative}

@media (min-width:1024px){
  html{scroll-snap-type:y proximity}
  .hero,main>section.sec,.ftr{scroll-snap-align:start}
  .hero{min-height:0;max-height:none}
  .hero .in{padding-top:84px}
  main>section.sec{height:100vh;padding:0!important;overflow:hidden}
  .os{margin-top:84px;height:calc(100vh - 84px);padding:clamp(14px,4.2vh,64px) 0;display:flex;flex-direction:column;z-index:1}
  .os>.wrap{flex:1 1 auto;min-height:0;width:100%}
  .os>.wrap:not(.intro):not(.atlas):not(.bgrid){display:flex;flex-direction:column}
  body.os-measure .rv{transform:none!important;transition:none!important}
  .sec-head{margin-bottom:clamp(16px,3.4vh,56px)}

  /* intro */
  .intro{grid-template-rows:minmax(0,1fr);align-items:center}
  .intro .pic{height:100%;aspect-ratio:auto;min-height:0}
  .promise{margin-top:clamp(18px,4vh,48px)}

  /* collections */
  #collections .cols{flex:1 1 0;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:clamp(16px,1.8vw,32px)}
  #collections .col{grid-column:auto;margin-top:0!important;display:flex;flex-direction:column;min-height:0}
  #collections .col .ph{flex:1 1 0;min-height:140px;aspect-ratio:auto}
  #collections .col .ph img{position:absolute;inset:0}
  #collections .col .meta{margin-top:14px;gap:8px;letter-spacing:.12em}
  #collections .col h3{margin-top:6px;font-size:clamp(24px,2vw,32px)}
  #collections .col ul{margin-top:10px;padding-top:10px;font-size:13.5px;gap:3px}
  #collections .col .foot{margin-top:12px}
  #collections .col .price{font-size:24px}
  #collections .col .price small{display:block;margin:6px 0 0}
  #collections .trust{margin-top:clamp(14px,2.6vh,40px);padding-top:clamp(12px,1.8vh,24px)}

  /* atlas */
  .atlas{grid-template-rows:minmax(0,1fr);align-items:stretch}
  .atlas>div:first-child{display:flex;flex-direction:column;justify-content:center}
  .atlas .pic{position:relative;top:0;height:100%;aspect-ratio:auto;min-height:0}
  .atlas .lede{margin-top:16px}
  .modes{margin-top:20px}
  .regions{margin-top:22px;grid-template-columns:repeat(3,1fr);gap:0 24px}
  .regions li{padding:10px 0}
  .regions li b{font-size:18px}
  .regions li span{font-size:12.5px}
  .isles{margin-top:14px}
  .atlas .link{margin-top:24px;align-self:flex-start}

  /* seasons */
  #seasons .sgrid{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr)}
  #seasons .season{display:flex;flex-direction:column;min-height:0}
  #seasons .season .ph{flex:1 1 0;min-height:160px;aspect-ratio:auto;position:relative}
  #seasons .season .ph img{position:absolute;inset:0}
  #seasons .season .rn{margin-top:12px}
  #seasons .snote{margin-top:clamp(14px,2.6vh,40px);padding-top:clamp(12px,1.8vh,24px)}

  /* day tours */
  #daytours .os>.wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:1fr auto auto;grid-template-areas:"head list" "fmt list" "fleet list";gap:0 clamp(32px,4vw,72px)}
  #daytours .sec-head{grid-area:head;grid-template-columns:1fr;gap:clamp(10px,2vh,20px);margin:0;align-self:center}
  #daytours .sec-head .lede{justify-self:start}
  #daytours .tours-top{grid-area:fmt;grid-template-columns:1fr;gap:12px;margin:clamp(12px,2.4vh,32px) 0 0}
  #daytours .fmt{padding:clamp(12px,2vh,24px) 24px}
  #daytours .fleet{grid-area:fleet;margin-top:clamp(10px,2vh,24px)}
  #daytours .tlist{grid-area:list;display:grid;grid-template-rows:repeat(4,minmax(0,1fr));min-height:0}
  #daytours .trow{grid-template-columns:44px minmax(120px,26%) 1fr auto auto;gap:clamp(14px,1.8vw,28px);padding:clamp(8px,1.4vh,18px) 0;min-height:0}
  #daytours .trow .th{height:100%;aspect-ratio:auto;min-height:0;position:relative;align-self:stretch}
  #daytours .trow .th img{position:absolute;inset:0}

  /* outdoor */
  #outdoor .wild{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr)}
  #outdoor .wbig{min-height:0}
  #outdoor .wsmall{grid-template-rows:repeat(3,minmax(0,1fr));min-height:0;gap:clamp(12px,2vh,28px)}
  #outdoor .wsm{grid-template-columns:minmax(0,42%) 1fr;min-height:0;height:100%}
  #outdoor .wsm .th{height:100%;aspect-ratio:auto;position:relative;align-self:stretch;min-height:0}
  #outdoor .wsm .th img{position:absolute;inset:0}

  /* mice */
  #mice .os>.wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,4vw,72px);align-items:stretch}
  #mice .mice-top{display:block;align-self:center}
  #mice .mice-top .pic{display:none}
  #mice .facts{margin-top:clamp(14px,3vh,36px)}
  #mice .facts div{padding:clamp(10px,1.8vh,20px) 12px clamp(10px,1.8vh,20px) 0}
  #mice .mtags{margin-top:clamp(12px,2.4vh,28px)}
  #mice .cases{margin-top:clamp(10px,2vh,22px)}
  #mice .mgrid{margin-top:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;gap:clamp(14px,2.4vh,28px) clamp(14px,1.6vw,28px)}
  #mice .mcard{display:flex;flex-direction:column;min-height:0}
  #mice .mcard .ph{flex:1 1 0;min-height:90px;aspect-ratio:auto;position:relative}
  #mice .mcard .ph img{position:absolute;inset:0}
  #mice .mcard .g{margin-top:10px}
  #mice .mcard .foot{margin-top:8px;padding-top:8px}

  /* bespoke */
  #bespoke .bgrid{grid-template-rows:minmax(0,1fr);align-items:center}
  #bespoke .bgrid>div:first-child{min-height:0}
  #bespoke .perks{margin-top:clamp(14px,3vh,40px)}
  #bespoke .perks li{padding:clamp(8px,1.6vh,18px) 0}
  #bespoke .butler{margin-top:clamp(14px,3vh,36px)}
  #bespoke .fgrid{margin-top:clamp(12px,2.4vh,28px)}
  #bespoke .ff{padding:clamp(8px,1.4vh,16px) 0 clamp(6px,1vh,10px)}
  #bespoke .form .btn{margin-top:clamp(14px,2.8vh,32px)}
}
@media (max-width:1023px){
  .hero .bg{transform:none!important;will-change:auto!important}
  .hero .bg img{animation:none!important;transform:none!important}
}
