/* fixes from the full site audit, 5 November 2026 */
.skipTo{position:fixed;left:16px;top:-90px;z-index:60;padding:13px 20px;border-radius:999px;background:var(--gold);color:#000;font:600 15px var(--sans);text-decoration:none}
.skipTo:focus{top:12px;outline:2px solid var(--bone);outline-offset:3px}
html.locked .skipTo{display:none}
main:focus{outline:0}

/* nothing behind the opening takes keyboard focus */
html.locked header>*{visibility:hidden}

/* reduced motion: only the current section's words show, so they don't sit on the 3D scenes */
@media (prefers-reduced-motion:reduce){.js .s>.t:not(.in){visibility:hidden}}

/* "Also from" cards: titles line up, arrows sit at the bottom */
.others .pcard{align-items:start;grid-template-rows:auto 1fr}
.others .pcard .pgo{align-self:end}
@media (min-width:1100px){body[data-page=founders] .others{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-page=founders] .others .pcard{padding:clamp(20px,1.8vw,28px)}}

/* phone and tablet menu */
.mBtn{display:none}
.mPanel{display:none}
@media (max-width:900px),(max-aspect-ratio:1/1){
  .mBtn{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:var(--bone);cursor:pointer;transition:background .16s ease,transform .16s var(--ease)}
  .mBtn:active{transform:scale(.97)}
  .mBtn:focus-visible{outline:2px solid var(--bone);outline-offset:2px}
  .mBtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
  .mBtn .x{display:none}
  .mBtn[aria-expanded=true]{background:rgba(255,255,255,.18)}
  .mBtn[aria-expanded=true] .x{display:block}
  .mBtn[aria-expanded=true] .b{display:none}
  .mPanel{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;padding:8px;border-radius:22px;background:#0c0c0e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 24px 70px rgba(0,0,0,.8);transform-origin:top right;transition:opacity .16s ease,transform .18s var(--ease)}
  .mPanel.open{display:grid}
  .mPanel a{display:flex;align-items:center;min-height:50px;padding:0 16px;border-radius:14px;color:var(--bone);font:500 17px var(--sans);text-decoration:none}
  .mPanel a:active,.mPanel a:focus-visible{background:rgba(255,255,255,.1);outline:0}
  .mPanel a[aria-current=page]{background:rgba(255,255,255,.1)}

  /* bigger tap targets, same look */
  .tools .key{min-height:40px;display:inline-flex;align-items:center}
  .snd{width:40px;height:40px}
  .go{display:inline-flex;align-items:center;min-height:44px}
  .avGo{display:grid;place-items:center;min-width:44px;min-height:44px}
  .cur button{min-height:42px}
  input[type=range]{height:40px}
  .ftTop a{padding-block:8px}

  /* product screens sit flat and inside the screen */
  .shot,.shot.on,.shot.past{transform:none}
  .tcard p{font-size:13.5px}
}
@media (max-width:360px){.snd{display:none}}

/* the gold line stays clear of the headline on phones */
@media (max-aspect-ratio:1/1){.first .t{top:46svh;margin-top:46svh}}

/* very short phones: the scroll hint would sit on the buttons */
@media (max-aspect-ratio:1/1) and (max-height:720px){#scrollcue{display:none}}

/* product screens open full size */
.zoomable:not(.shot){position:relative}
.zoomable img{cursor:zoom-in}
.zoomGo{position:absolute;right:10px;top:10px;z-index:2;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.72);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:var(--bone);cursor:pointer;transition:background .16s ease,transform .16s var(--ease)}
.zoomGo:hover{background:var(--gold);color:#000}
.zoomGo:active{transform:scale(.96)}
.zoomGo:focus-visible{outline:2px solid var(--bone);outline-offset:2px}
.zoomGo svg,.zoomX svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shot:not(.on){pointer-events:none}
.shot.on{pointer-events:auto}
.shot:not(.on) .zoomGo{visibility:hidden}
html.zoomOn,html.zoomOn body{overflow:hidden}
.zoomBox{position:fixed;inset:0;z-index:80;display:grid;grid-template-rows:minmax(0,1fr) auto;background:rgba(0,0,0,.94);padding:max(64px,env(safe-area-inset-top,0px)) 16px 16px}
.zoomBox[hidden]{display:none}
.zoomScroll{overflow:auto;display:grid;place-items:center;overscroll-behavior:contain}
.zoomScroll img{display:block;max-width:min(100%,1600px);max-height:100%;width:auto;height:auto;border-radius:10px;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.zoomCap{margin:12px auto 0;max-width:60em;text-align:center;font-size:14px;color:var(--soft)}
.zoomX{position:fixed;top:max(14px,env(safe-area-inset-top,0px));right:16px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:var(--bone);cursor:pointer}
.zoomX:hover{background:rgba(255,255,255,.22)}
.zoomX:focus-visible{outline:2px solid var(--bone);outline-offset:2px}
/* on phones the screen opens wider than the display, so it can be read by dragging */
@media (max-width:759px){.zoomScroll{place-items:start}.zoomScroll img{max-width:none;max-height:none;width:960px}}

/* booking form: plan picker */
#fPlanWrap[hidden],#fmPlan{display:none!important}
#fPlanWrap .ddList{max-height:min(60svh,420px);overflow:auto}
.fm .ddList{background:#0e0e10}

/* founders: photo cards straight after the headline, the film below */
.fhero.cards{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center}
@media (min-width:901px) and (min-aspect-ratio:1/1){.fhero.cards h1{font-size:clamp(40px,4.4vw,68px)}}
.fhero.cards .fnote{margin:22px 0 0;font-size:15px;color:var(--soft);max-width:30em}
@media (max-width:900px),(max-aspect-ratio:1/1){.fhero.cards{grid-template-columns:minmax(0,1fr)}}
.ffilm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:clamp(28px,5vw,80px);align-items:center}
.ffilm .reel{justify-self:end}
@media (max-width:900px),(max-aspect-ratio:1/1){.ffilm{grid-template-columns:minmax(0,1fr)}.ffilm .reel{justify-self:start;max-width:300px}}
.face.back .links{display:flex;flex-wrap:wrap;gap:6px 22px}

/* product pages, approved 8 November 2026: informational, not decorative */
/* 1 each step takes about half the scrolling it did */
.walk{height:calc(var(--n)*40svh + 100svh)}
.crop{display:contents}
.cropNote{display:none}
/* 2 features in a compact two-column list on desktop, every feature kept */
@media (min-width:901px) and (min-aspect-ratio:1/1){
  .feat{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,4vw,72px);margin-top:40px;border-bottom:1px solid var(--line)}
  .feat div{grid-template-columns:minmax(0,1fr);gap:8px;padding:22px 4px}
  .feat div:last-child{border-bottom:0}
}
@media (max-width:900px),(max-aspect-ratio:1/1){
  .walk{height:calc(var(--n)*36svh + 100svh)}
  .feat{margin-top:30px}
  .feat div{gap:6px;padding:16px 2px}
  /* 3 each step shows the part of the screen it is about; the whole screen is one tap away */
  .walk .shot .crop{position:relative;display:block;justify-self:center;width:min(100%,calc((42svh - 40px)*var(--ar)));aspect-ratio:var(--ar);overflow:hidden;border-radius:12px;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 30px 80px rgba(0,0,0,.7)}
  .walk .shot .crop img{position:absolute;left:calc(var(--x)*-100%/var(--w));top:calc(var(--y)*-100%/var(--h));width:calc(100%/var(--w));max-width:none;max-height:none;height:auto;border-radius:0;box-shadow:none}
  .walk .cropNote{display:inline}
  /* 4 one hero screen you can read, instead of three small ones */
  .stack{aspect-ratio:auto;perspective:none}
  .stack figure{display:none}
  .stack figure.m{display:block;position:relative;inset:auto;width:100%;transform:none!important}
  body[data-page=keyfront] .stack figure.m .zoomGo{top:auto!important;bottom:10px}
  body[data-page=costharbor] .stack figure.m img{aspect-ratio:720/560;object-fit:cover;object-position:top}
}

/* small card text on the landing page stays readable on phones */
@media (max-aspect-ratio:1/1){.trio .tcard span,.trio .tcard p,.trio .tcard small{font-size:13.5px}}
