/* The Yacht Guyz · boat gallery (SGL Scroll board + photo viewer) */
.g-hero{padding-bottom:56px}
.g-hero .bgimg{opacity:.26}
.g-hero p{max-width:560px;font-size:18px;color:var(--ink-2)}

/* the board: a sea-to-sky canvas, each yacht is a stop */
#boats{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.55) 0,transparent 38%),radial-gradient(circle at 88% 90%,rgba(242,214,138,.28) 0,transparent 42%),linear-gradient(165deg,#dff1f8 0%,#bfe3ef 38%,#7cc3d9 74%,#3f9fbf 100%)}
#boats .sm-board{width:3300px;height:2200px}
#boats .sm-board::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3300 2200'%3E%3Cpath d='M510 400C1000 380 1100 660 1530 640S2300 330 2610 400 3000 1200 2710 1540 2000 1760 1650 1700 900 1560 570 1600' fill='none' stroke='%23c9a24a' stroke-width='5' stroke-dasharray='2 22' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;pointer-events:none}
.gp{position:absolute;width:820px;height:600px;padding:0;border:0;border-radius:6px;overflow:hidden;background:#fffaf2;color:var(--ink);text-align:left;cursor:pointer;font:inherit;box-shadow:0 0 0 1px rgba(201,162,74,.7),0 18px 40px rgba(16,60,90,.18)}
.gp:focus-visible{outline:4px solid var(--gold);outline-offset:6px}
.gp img{width:100%;height:440px;object-fit:cover;display:block}
.gp-cap{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:26px;align-items:end;padding:26px 36px 0}
.gp-size{grid-row:1/3;font:600 88px/.9 var(--display);background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:lining-nums}
.gp-name{font:600 46px/1.05 var(--display);color:var(--ink)}
.gp-more{font:600 19px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-lo);margin-top:6px}
.gp-no{position:absolute;top:22px;left:24px;font:600 18px/1 var(--sans);letter-spacing:.2em;color:#fff;background:rgba(15,42,71,.55);padding:10px 14px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(242,214,138,.6)}
#boats .gp:nth-child(1){left:100px;top:110px}
#boats .gp:nth-child(2){left:1120px;top:360px}
#boats .gp:nth-child(3){left:2200px;top:100px}
#boats .gp:nth-child(4){left:2300px;top:1240px}
#boats .gp:nth-child(5){left:1240px;top:1420px}
#boats .gp:nth-child(6){left:160px;top:1300px}
@media (max-width:760px){
  #boats .sm-board{width:1500px;height:4300px}
  #boats .sm-board::before{display:none}
  .gp{width:620px;height:680px}
  .gp img{height:440px}
  .gp-cap{padding:24px 30px 0;column-gap:20px}
  .gp-size{font-size:80px}.gp-name{font-size:42px}.gp-more{font-size:25px;letter-spacing:.08em}
  #boats .gp:nth-child(1){left:60px;top:60px}
  #boats .gp:nth-child(2){left:820px;top:520px}
  #boats .gp:nth-child(3){left:90px;top:1220px}
  #boats .gp:nth-child(4){left:800px;top:1800px}
  #boats .gp:nth-child(5){left:60px;top:2560px}
  #boats .gp:nth-child(6){left:820px;top:3140px}
}
html.sm-still #boats{padding:4vh 0 6vh}
html.sm-still #boats .gp{height:auto}
html.sm-still #boats .gp img{height:auto;aspect-ratio:16/10}
html.sm-still #boats .gp-cap{padding:16px 20px 20px}
html.sm-still #boats .gp-size{font-size:48px}html.sm-still #boats .gp-name{font-size:28px}html.sm-still #boats .gp-more{font-size:12px}
html.sm-still #boats .gp-no{font-size:12px;padding:7px 10px}

.g-cta{padding:13vh 0;text-align:center;background:linear-gradient(180deg,#3f9fbf 0%,#2a7fa4 100%);color:#fff}
.g-cta h2{font-size:clamp(44px,6vw,84px);margin-bottom:14px}
.g-cta h2 em{color:var(--gold-hi)}
.g-cta p{max-width:560px;margin:0 auto 28px;font-size:18px;color:rgba(255,255,255,.92)}
.g-cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.g-cta .btn-ghost{--fg:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75);background:transparent}

/* photo viewer */
.lb{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:linear-gradient(170deg,#143c64 0%,#0f2f52 100%);color:#fff;display:none;grid-template-rows:auto minmax(0,1fr) auto}
.lb[open]{display:grid}
.lb::backdrop{background:rgba(10,30,52,.6)}
.lb-top{display:flex;align-items:center;gap:18px;padding:18px 24px}
.lb-title{margin:0;flex:1;font:600 clamp(24px,3vw,36px)/1.1 var(--display)}
.lb-size{color:var(--gold-hi)}
.lb-count{font:600 13px/1 var(--sans);letter-spacing:.18em;color:rgba(255,255,255,.85)}
.lb-x{width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:30px;line-height:1;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(242,214,138,.5)}
.lb-stage{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:0 16px;min-height:0}
.lb-fig{margin:0;width:100%;height:100%;min-height:0}
.lb-img{width:100%;height:100%;object-fit:contain;touch-action:pan-y;filter:drop-shadow(0 20px 40px rgba(0,0,0,.35))}
.lb-nav{width:56px;height:56px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:38px;line-height:1;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(242,214,138,.5)}
.lb-nav:hover,.lb-x:hover{background:rgba(242,214,138,.28)}
.lb-thumbs{display:flex;gap:10px;overflow-x:auto;padding:16px 24px 22px;scrollbar-width:thin}
.lb-thumbs button{flex:0 0 auto;width:96px;height:64px;padding:0;border:0;border-radius:4px;overflow:hidden;cursor:pointer;opacity:.55;background:none;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
.lb-thumbs button[aria-current="true"]{opacity:1;box-shadow:0 0 0 2px var(--gold-hi)}
.lb-thumbs img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){
  .lb-top{padding:14px 16px}
  .lb-stage{grid-template-columns:minmax(0,1fr);padding:0 10px}
  .lb-nav{position:absolute;bottom:12px;width:48px;height:48px;font-size:32px;z-index:2}
  .lb-prev{left:16px}.lb-next{right:16px}
  .lb-thumbs button{width:72px;height:50px}
}
html.sm-still #boats,html.sm-still #boats .sm-stage{height:auto!important;min-height:0!important;position:relative!important}
@media (min-width:761px){html.sm-still #boats .sm-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
