/* Alcatraz Ticket Alert: home page layout. Loaded after site.css + home.css, scoped to body.hc-page.
   First screen: the full-screen night illustration (island, lighthouse beam, lit windows); on the left, the headline, the three
   tours with their price, the button and one reassurance line.
   On scroll: the illustration stays in place (sticky) and the sign-up card slides over the water on the left; then the image
   ends and the compact sections follow. */
.hc-page{--cardw:500px;--pad:clamp(16px,4vw,48px)}
.hc-page .hc-top{position:absolute;top:0;left:0;right:0;z-index:5;background:none;overflow:visible}

/* ---------- Hero: sticky illustration + headline, then the card ---------- */
/* no overflow on .hc: it would break position:sticky. Its colour matches the bottom of the water (only seen if the image is late). */
.hc{position:relative;background:linear-gradient(180deg,var(--night) 0%,#22406a 60%,#284770 100%);color:#f6f1e7}
/* .hc-bg covers the whole section; the image inside it sticks to the top of the screen and is released at the section's end.
   100vh (not svh): on iPhone it is the tall, fixed viewport, so the image never leaves a gap when Safari's bars hide */
.hc-bg{position:absolute;inset:0;z-index:0}
.hc-art{position:-webkit-sticky;position:sticky;top:0;height:100vh;overflow:hidden}
.hc-art picture,.hc-art img{display:block;width:100%;height:100%}
.hc-art img{object-fit:cover;object-position:28% 100%}
.hc-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,20,36,.66) 0%,rgba(8,20,36,.40) 30%,rgba(8,20,36,0) 52%),linear-gradient(180deg,rgba(8,20,36,.40) 0%,rgba(8,20,36,0) 24%)}
.hc-in{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:0 var(--pad);min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;--focus:var(--warm)}
/* the text block sits in the left half, centred a little below the middle so it meets the horizon; the island stays clear on the right */
.hc-copy{padding:clamp(110px,20vh,200px) 0 clamp(28px,5vh,56px);max-width:min(580px,44vw);--focus:var(--warm)}
.hc h1{color:#f6f1e7;font-size:clamp(2.75rem,6.3vw,5.6rem);line-height:1;letter-spacing:-.025em;text-shadow:0 1px 28px rgba(8,20,36,.45)}
.hc h1 span{display:block}
.hc .sub{margin:22px 0 0;max-width:28ch;font-size:clamp(1.08rem,1.6vw,1.35rem);line-height:1.5;color:#e6ecf2;text-wrap:balance}
/* the three tours and their price: plain information (not buttons) */
.hc-tours{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
/* the three tours and their price: a tap selects that tour in the form and scrolls to it (aria-pressed follows the form) */
.hc-tours li{display:flex}
.hc-tour{appearance:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 15px;border:1px solid rgba(246,241,231,.34);border-radius:999px;background:rgba(8,20,36,.42);color:#eef2f6;font:500 14px/1.2 'Inter',sans-serif;white-space:nowrap;cursor:pointer;touch-action:manipulation;transition:background-color .15s,border-color .15s}
.hc-tour:hover{background:rgba(8,20,36,.62);border-color:rgba(246,241,231,.6)}
.hc-tour[aria-pressed="true"]{border-color:rgba(251,230,180,.8);background:rgba(251,230,180,.14)}
.hc-tour:focus-visible{border-radius:999px}
.hc-tours b{color:var(--light);font-weight:700;font-variant-numeric:tabular-nums}
.hc .hero-cta{margin-top:26px}
.hc-reassure{margin:14px 0 0;font-size:14px;line-height:1.5;color:#d3dce6}

/* the card, left-aligned under the headline: it slides over the calm water, the island and its reflection stay visible */
.hc-cardwrap{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:0 var(--pad) clamp(72px,10vw,120px)}
.hc-card{width:var(--cardw);max-width:100%;color:var(--text);--focus:var(--brand);box-shadow:0 30px 80px rgba(4,12,24,.5);scroll-margin-top:24px}
.hc-js .hc-card{transition:opacity .38s ease-out,transform .38s ease-out}
.hc-js .hc-card:not(.in){opacity:0;transform:translateY(28px)}
@media (prefers-reduced-motion:reduce){.hc-js .hc-card{transition:none}.hc-js .hc-card:not(.in){opacity:1;transform:none}}
.hb-fhead{margin:0 0 18px}
.hb-fhead h2{font-size:clamp(1.5rem,2.2vw,1.75rem)}
.hb-fhead p{margin:6px 0 0;font-size:15px;color:var(--ink);line-height:1.5}
.hc-card .fs{margin-bottom:20px}
.hc-card .day{height:44px}
.hc-card .tile{min-height:52px;padding:10px 13px}
.hc-card .summary{margin:18px 0 12px}

/* ---------- How it works + why (one strip) ---------- */
.hb-how.sec{padding-top:64px}
.hb-how h2{font-size:clamp(1.7rem,3.2vw,2.2rem)}
.hb-how-top{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px clamp(24px,5vw,64px);align-items:center}
.hb-why{margin:12px 0 0;font-size:16px;max-width:62ch}
.hb-push .push{margin:0 0 0 auto}
.hb-push .push-cap{margin:10px 0 0 auto;max-width:390px;text-align:center}
.hb-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}
.hb-flow li{grid-template-columns:1fr;gap:10px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.hb-flow li::before{width:34px;height:34px;font-size:16px}

/* ---------- Price + guarantee (one block) ---------- */
#price.sec{padding-top:56px}
.hb-price{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);background:var(--paper);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.hb-price-main{padding:28px}
.hb-price-main h2{font-size:clamp(1.5rem,2.6vw,1.9rem)}
.hb-amount{display:flex;align-items:flex-end;gap:16px;margin-top:18px}
.hb-amount .amount{font-size:64px}
.hb-amount .per{margin:0 0 4px;font-size:15px;max-width:32ch}
.hb-prices{margin:16px 0 0;display:grid;grid-template-columns:1fr auto;gap:6px 18px;max-width:380px;font-size:15px;color:var(--ink);font-variant-numeric:tabular-nums}
.hb-prices dt{margin:0}
.hb-prices dd{margin:0;font-weight:700;text-align:right}
.hb-cap{max-width:380px;margin:8px 0 0;padding-top:8px;border-top:1px solid var(--line);font-size:14.5px;color:var(--ink)}
.hb-guar{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start;margin-top:20px;padding:14px 16px;background:var(--ok-soft);border-radius:14px;color:var(--ink)}
.hb-guar p{margin:0;font-size:14.5px;line-height:1.55}
.hb-guar-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff;color:var(--ok)}
.hb-guar-ico svg{width:22px;height:22px}
.hb-price-side{padding:28px;border-left:1px solid var(--line);background:#fdfbf7;display:flex;flex-direction:column;justify-content:center}
.hb-price-side .incl{margin:0;gap:12px 22px}
.hb-price-foot{margin:18px 0 0}

/* ---------- FAQ (tighter) ---------- */
.hb-faq.sec{padding-top:56px;padding-bottom:64px}
.hb-faq summary{padding:13px 34px 13px 0;font-size:16px}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .hc-page{--cardw:460px}
}
/* less wide screens (1024 x 768…): the image slides left so the whole island stays in view, still clear of the text */
@media (max-aspect-ratio:3/2){
  .hc-art img{object-position:50% 100%}
}
@media (max-width:900px){
  .hb-how-top{grid-template-columns:1fr}
  .hb-push .push,.hb-push .push-cap{margin-left:0}
  .hb-push .push-cap{text-align:left}
  .hb-flow{grid-template-columns:1fr;gap:10px}
  .hb-flow li{grid-template-columns:34px 1fr;gap:12px;padding:14px 16px}
  .hb-price{grid-template-columns:1fr}
  .hb-price-side{border-left:0;border-top:1px solid var(--line)}
}
/* portrait screens (phones, tablets upright): the tall illustration, headline at the top, card full width.
   No sticky here: the image is a little taller than the screen, so the card slides over the reflection
   while the island scrolls up with it (simpler and smoother in iPhone Safari). */
@media (max-aspect-ratio:1/1){
  /* the image starts a little lower on short screens so the lighthouse stays below the text block (its lantern sits at ~53% of
     the image height); the band above it has the colour of the darkened sky, and the image melts into it */
  .hc{background:linear-gradient(180deg,#0f1d31 0,#0f1d31 300px,var(--deep) 300px)}
  .hc-bg{top:max(24px,calc(470px - 53vh));top:max(24px,calc(470px - 53svh));bottom:auto;height:122vh;height:122svh}
  .hc-art{position:relative;height:100%}
  .hc-art img{object-position:50% 100%}
  /* darker sky behind the headline; the bottom of the reflection melts into the colour behind the card */
  .hc-shade{background:linear-gradient(180deg,#0f1d31 0%,rgba(8,20,36,.55) 5%,rgba(8,20,36,.22) 34%,rgba(8,20,36,0) 50%,rgba(16,35,59,0) 82%,var(--deep) 100%)}
  .hc-in{justify-content:flex-start}
  .hc-copy{padding:100px 0 32px;max-width:600px}
  .hc h1{font-size:clamp(2.75rem,8.5vw,5rem)}
  .hc .sub{max-width:34ch}
  .hc-card{width:min(600px,100%)}
}
@media (max-width:760px){
  .hb-how.sec,.hb-faq.sec,#price.sec{padding-top:48px}
}
@media (max-width:520px){
  .hc-copy{padding-top:84px}
  .hc h1{font-size:clamp(2.5rem,12.4vw,3.3rem)}
  .hc .sub{margin-top:14px;font-size:1.06rem}
  .hc-tours{margin-top:14px;gap:6px}
  .hc-tour{padding:8px 11px;font-size:13px;gap:5px}
  .hc .hero-cta{margin-top:20px;gap:8px 16px}
  .hc .hero-btn{padding:14px 24px;min-height:52px;font-size:16px}
  .hc .hero-link{font-size:14.5px}
  .hc-reassure{margin-top:10px;font-size:13px}
  .hc-cardwrap{padding-bottom:64px}
  .hb-price-main,.hb-price-side{padding:22px 18px}
  .hb-amount{flex-direction:column;align-items:flex-start;gap:6px}
  .hb-amount .amount{font-size:58px}
  .hb-guar{grid-template-columns:32px 1fr;gap:10px;padding:12px 14px}
  .hb-guar-ico{width:32px;height:32px;border-radius:10px}
  .hb-guar-ico svg{width:18px;height:18px}
  .hb-price-side .incl{gap:8px}
  .hb-price-side .incl small{display:none}
}
