/* Reference-led front page. Other pages keep their existing header layout. */
.fs-home{--masthead-height:clamp(310px,35vw,480px);background:#eef3f8}
.home-masthead{height:var(--masthead-height);position:relative;background:#000 url('../video/free-sailing-waves-poster.jpg') center/cover no-repeat}
.home-masthead video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.home-masthead::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#000b,transparent 48%)}
.home-motion{position:absolute;right:24px;bottom:16px;z-index:2;display:flex;align-items:center;gap:7px;border:1px solid #ffffff55;border-radius:30px;background:#0009;color:white;padding:7px 12px;font:12px var(--sans,Arial);cursor:pointer}
.home-motion[hidden]{display:none}
.fs-home .fs-hd,.fs-home .fs-hd.is-scrolled{position:absolute;top:0;left:0;width:100%;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;box-shadow:none}
.fs-home .fs-hd::after{display:none}
.fs-home .fs-morph{display:none}
.fs-home .fs-hd .fs-shelf{background:#fff;border:1px solid #dce5ef;box-shadow:0 16px 40px #001a3740;backdrop-filter:none;-webkit-backdrop-filter:none}
.fs-home .fs-hd-in,.fs-home .fs-hd.is-scrolled .fs-hd-in{max-width:none;min-height:160px;padding:24px 4.8vw 0;align-items:flex-start;flex-wrap:nowrap;gap:24px}
.fs-home .fs-brand .lk,.fs-home .fs-hd.is-scrolled .fs-brand .lk{width:clamp(190px,22vw,285px);height:auto}
.fs-home .fs-nav{flex:0 1 61%;order:0;margin:-14px 0 0 auto;border:0;padding:0;gap:16px;align-items:flex-start;justify-content:flex-start}
.fs-home .fs-nav .fs-lane:last-child{margin-left:auto}
.fs-home .fs-nav .fs-lane>.t{font-size:16px;font-weight:500;color:#fff;padding:12px 0}
.fs-home .fs-nav .t>.cv{display:none}
.fs-home .fs-nav .t:hover,.fs-home .fs-nav .t:focus-visible{color:#58c7ec}
.fs-home .fs-nav .fs-shelf{top:48px}
.fs-home .fs-nav .fs-lane[data-lane="hubs"]>.fs-shelf{left:50%;right:auto;translate:-50% 0}
.fs-home .home-account-bar{position:absolute;top:calc(var(--masthead-height) + 26px);right:max(12px,calc((100vw - 1280px)/2));display:flex;gap:8px;align-items:center;background:#fffffff2;border:1px solid #dce5ef;border-radius:16px;padding:8px;box-shadow:0 3px 12px #15245c06;isolation:isolate}
.fs-home .home-account-bar .fs-util{margin:0;gap:8px}
.fs-home .home-account-bar .fs-lane-orgs{margin:0}
.fs-home .home-account-bar .fs-lane-orgs>.t{min-height:44px;justify-content:center;font-size:13px;padding:0 14px;border-radius:10px}
.fs-home .home-account-bar .fs-shelf{top:100%;right:0;left:auto}
.fs-home .fs-search{top:calc(var(--masthead-height) + 92px);left:auto;right:24px}
.fs-home .fs-login,.fs-home .fs-join{display:inline-flex;align-items:center;justify-content:center;min-height:44px;width:auto;height:auto;padding:0 16px;border:1px solid #c9d7e6;border-radius:10px;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none;color:#15245c;background:#fff}
.fs-home .fs-join{background:#1c3182;border-color:#1c3182;color:#fff}
.fs-home .fs-join:hover{background:#132568;border-color:#132568}
.fs-home .fs-login:hover{background:#edf5fc;border-color:#9bb5d2}
.fs-home .fs-login .lb{display:inline}
.fs-home .fs-login .av,.fs-home .fs-join[hidden]{display:none}
.fs-home .home-account-bar .fs-srch-btn{display:inline-flex;width:44px;height:44px;min-width:44px;border:1px solid #dce5ef;border-radius:10px;background:#f0f5fa}
.fs-home .fs-hd-in>.burger{margin-left:auto}
.home-intro{background:linear-gradient(120deg,#d9e5f1,#eef3f8);padding:42px 4.8vw 38px;min-height:398px}
.home-intro-inner{max-width:1280px;margin:auto}
.home-intro h1{font-size:clamp(38px,4.45vw,60px);letter-spacing:-.035em;line-height:1.12;color:#15245c;margin:0;max-width:760px}
.home-intro p{max-width:660px;color:#3d526d;font-size:18px;line-height:1.5;margin:16px 0 20px}
.home-intro .hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.home-intro{position:relative}
.home-hub-cards{position:absolute;right:max(24px,calc((100vw - 1280px)/2));bottom:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:min(47%,580px)}
.home-hub-card{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:10px 12px 12px;background:#fff;border:1px solid #cdd5df;border-radius:16px;color:#132779;font-size:21px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;box-shadow:0 2px 5px #15245c05}
.home-hub-card img{display:block;width:100%;max-width:140px;height:100px;object-fit:cover;border-radius:3px}
.home-hub-card:hover{border-color:#58afd2;background:#f8fcff;box-shadow:0 4px 14px #15245c14}
.fs-home .fs02-source-note{max-width:1280px;margin:22px auto 24px}
.fs-home .fs02-portal{padding:42px 24px}
.fs-home .fs02-portal h2{margin:0 0 12px}
.fs-home .home-preview-note{margin-top:36px}
.fs-home a:focus-visible,.fs-home button:focus-visible{outline:3px solid #16afe2;outline-offset:4px}
@media(min-width:901px) and (max-width:1180px){
  .fs-home .fs-nav{flex-basis:66%;gap:18px}
  .fs-home .fs-nav .fs-lane{position:static}
  .fs-home .fs-nav .fs-lane[data-lane]>.fs-shelf{left:50%;right:auto;translate:-50% 0}
  .fs-home .fs-nav .fs-lane>.t{font-size:14px}
  .home-intro h1{font-size:46px;max-width:58%}
  .home-intro p{max-width:58%;font-size:16px}
  .fs-home .home-account-bar{gap:8px}
  .fs-home .fs-login,.fs-home .fs-join{font-size:13px;padding:0 12px}
  .fs-home .home-account-bar .fs-lane-orgs>.t{font-size:12px}
}
@media(max-width:900px){
  .fs-home{--masthead-height:320px}
  .fs-home .fs-hd-in,.fs-home .fs-hd.is-scrolled .fs-hd-in{height:128px;min-height:128px;padding:24px;align-items:flex-start}
  .fs-home .fs-brand .lk,.fs-home .fs-hd.is-scrolled .fs-brand .lk{width:205px}
  .fs-home .fs-nav{display:none}
  .fs-home .fs-hd-in>.burger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:white;background:#ffffff18;border-color:#ffffff55}
  .fs-home .fs-hd-in>.burger span{width:18px;height:2px;margin:0}
  .fs-home .burger span{background:white}
  .fs-home .hd-drawer{position:absolute;top:100px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 120px);overflow:auto;background:#fff;color:#15245c;border-radius:12px;box-shadow:0 12px 35px #0005}
  .fs-home .home-account-bar{top:calc(var(--masthead-height) + 18px);right:24px;left:24px;justify-content:flex-end;gap:8px}
  .fs-home .home-account-bar .fs-srch-btn{display:inline-flex}
  .fs-home .home-account-bar .fs-lane-orgs>.t .lb{display:inline}
  .home-intro{padding:100px 24px 34px;min-height:0}
  .home-intro h1{font-size:clamp(34px,5.2vw,48px);max-width:670px}
  .home-intro p{font-size:16px;max-width:660px}
  .home-hub-cards{position:static;width:min(100%,580px);margin:30px 0 0 auto}
  .fs-home .fs02-source-note{margin:18px 18px 0}
}
@media(max-width:520px){
  .fs-home{--masthead-height:260px}
  .fs-home .fs-hd-in,.fs-home .fs-hd.is-scrolled .fs-hd-in{padding:20px}
  .fs-home .fs-brand .lk,.fs-home .fs-hd.is-scrolled .fs-brand .lk{width:170px}
  .home-intro{padding:158px 20px 32px}
  .home-intro h1{font-size:34px;line-height:1.13}
  .home-intro h1 br{display:none}
  .home-hub-cards{gap:10px;margin-top:26px}
  .home-hub-card{padding:8px 6px 10px;gap:7px;border-radius:12px;font-size:16px}
  .home-hub-card img{height:78px}
  .fs-home .g2{grid-template-columns:minmax(0,1fr)}
  .fs-home .g2>.card{min-width:0}
  .fs-home #ev-a .row,.fs-home #ev-b .row{flex-wrap:wrap}
  .fs-home #ev-a .row .bd,.fs-home #ev-b .row .bd{flex:1 1 calc(100% - 70px);overflow-wrap:anywhere}
  .fs-home #ev-a .row .go,.fs-home #ev-b .row .go{margin-left:70px}
  .fs-home .home-account-bar{top:calc(var(--masthead-height) + 16px);left:12px;right:12px;display:grid;grid-template-columns:minmax(0,1fr);padding:8px;gap:8px}
  .fs-home .fs-login,.fs-home .fs-join{min-width:0;min-height:44px;padding:0 12px;font-size:14px}
  .fs-home .fs-login .lb{display:inline}
  .fs-home .home-account-bar .fs-lane-orgs{width:100%;min-width:0}
  .fs-home .home-account-bar .fs-lane-orgs>.t{width:100%;font-size:13px;padding:0 12px}
  .fs-home .home-account-bar .fs-util{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr);width:100%;gap:8px}
  .fs-home .fs-login.is-in{grid-column:span 2}
  .fs-home .fs-search{top:calc(var(--masthead-height) + 138px);left:12px;right:12px;width:auto}
  .home-motion{right:14px;bottom:12px}
}

/* Four home destinations remain comfortable on phones. */
@media(max-width:600px){.home-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.home-hub-card img{height:100px}}
