/* Coit Tower "Coming soon" page (owner, 23 Nov 2026): shown for every language except English until the
   narration is recorded. The language's flag waves on a pole; a note in that language; back to English. */
.ct-soon{position:relative;width:min(100vw,480px);min-height:100svh;min-height:100dvh;margin:0 auto;overflow:hidden;background:#0d1a33;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center}
.ct-soon[hidden]{display:none}
.ct-soon-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:52% 20%}
.ct-soon-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,26,51,.55) 0%,rgba(13,26,51,.72) 40%,rgba(13,26,51,.94) 72%,#0d1a33 100%)}
.ct-soon-in{position:relative;z-index:1;width:100%;padding:calc(48px + env(safe-area-inset-top)) 26px calc(36px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center}
/* waving flag: the emoji cut into strips that ripple one after another */
.ct-sflag{position:relative;width:170px;height:200px;margin-bottom:18px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45))}
.ct-sflag .pole{position:absolute;left:22px;bottom:0;width:5px;height:200px;border-radius:3px;background:linear-gradient(90deg,#bdbdbd,#fff 50%,#8d8d8d)}
.ct-sflag .pole::before{content:"";position:absolute;left:-4px;top:-8px;width:13px;height:13px;border-radius:50%;background:#F2C14E}
.ct-sflag .cloth{--fw:132px;--fh:88px;position:absolute;left:27px;top:4px;width:var(--fw);height:var(--fh)}
.ct-sflag .st{position:absolute;top:0;height:100%;left:calc(var(--fw) * var(--i) / var(--n));width:calc(var(--fw) / var(--n) + .6px);overflow:hidden;
  animation:ct-wave 2.6s cubic-bezier(.45,.05,.55,.95) infinite;animation-delay:calc(var(--i) * -.085s)}
.ct-sflag .st > span{position:absolute;top:50%;left:calc(var(--fw) / 2 - var(--fw) * var(--i) / var(--n));transform:translate(-50%,-50%);font-size:calc(var(--fw) * 1.2);line-height:1}
.ct-sflag.up .cloth{animation:ct-raise 1.2s cubic-bezier(.2,.8,.3,1) both}
@keyframes ct-wave{0%,100%{transform:translateY(calc(var(--i) * .3px)) skewY(0deg);filter:brightness(1.1)}25%{filter:brightness(.95)}50%{transform:translateY(calc(var(--i) * -.45px - 6px)) skewY(-4deg);filter:brightness(.72)}75%{filter:brightness(1)}}
@keyframes ct-raise{from{transform:translateY(100px);opacity:.25}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.ct-sflag .st,.ct-sflag.up .cloth{animation:none}}
.ct-soon-lang{margin:0 0 4px;font-size:14px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#F2C14E}
.ct-soon h1{margin:0;font-size:36px;line-height:1.1;font-weight:700;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.ct-soon-msg{margin:14px 0 0;max-width:330px;font-size:17px;line-height:1.45;color:rgba(255,255,255,.92)}
.ct-soon-en{margin-top:30px;width:100%;max-width:340px;height:56px;border:0;border-radius:999px;background:linear-gradient(180deg,#F2CF7A,#D9A84A);color:#13204a;font:inherit;font-size:18px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px -12px rgba(0,0,0,.8)}
.ct-soon-en span{margin-right:6px}
.ct-soon-back{margin-top:14px;padding:10px 14px;border:0;background:none;color:rgba(255,255,255,.85);font:inherit;font-size:15px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ct-soon-en:focus-visible,.ct-soon-back:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* Language page (owner, 23 Nov): the photo stays where it is; "— COIT TOWER —" goes on one line at the top,
   between the Audio Guide icon and the i button, with the subtitle under it, all in the sky above the tower. */
#welcome .wl-title.ct-one{position:absolute;left:0;right:0;top:calc(17 * var(--u) + env(safe-area-inset-top));margin:0;z-index:1;pointer-events:none}
#welcome .wl-title.ct-one .l2{margin:0;font-size:calc(36 * var(--u));letter-spacing:.03em;gap:calc(7 * var(--u));text-shadow:0 2px 12px rgba(0,0,0,.5)}
#welcome .wl-title.ct-one .l2::before,#welcome .wl-title.ct-one .l2::after{width:calc(12 * var(--u))}
#welcome .ct-one + .wl-sub{position:absolute;left:0;right:0;top:calc(64 * var(--u) + env(safe-area-inset-top));margin:0;text-align:center;font-size:calc(10.5 * var(--u));letter-spacing:.3em;z-index:1}
/* Coming soon, matched to the Golden Gate language page (owner, 23 Nov): bright photo, no pole, flag waving low just
   above the words, light pill button. */
.ct-soon{align-items:flex-end}
.ct-soon-bg{object-position:52% 0}
.ct-soon-shade{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 45%,rgba(10,16,30,.35) 62%,rgba(10,16,30,.62) 82%,rgba(10,16,30,.75) 100%)}
.ct-soon-in{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
.ct-sflag{width:132px;height:90px;margin-bottom:22px;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35))}
.ct-sflag .pole{display:none}
.ct-sflag .cloth{left:0;top:0;--fw:132px;--fh:90px}
.ct-soon-lang{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.ct-soon h1{font-weight:500;font-size:40px;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.ct-soon-msg{text-shadow:0 1px 8px rgba(0,0,0,.6)}
.ct-soon-en{background:rgba(243,239,234,.95);color:#1c1c1e;font-weight:600;box-shadow:0 8px 24px -10px rgba(0,0,0,.6)}
.ct-soon-back{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.ct-sflag .cloth{overflow:visible}
/* Wider, larger flag rectangle (about 1.7 : 1) */
.ct-sflag{width:190px;height:112px}
.ct-sflag .cloth{--fw:190px;--fh:112px}

/* "Already paid?" link on the hero, between Free Preview and Explore */
.ct-restore{position:absolute;left:0;right:0;bottom:calc(96 * var(--u));margin:0 auto;width:max-content;color:#fff;opacity:.9;font-size:calc(13 * var(--u));text-decoration:underline;text-underline-offset:3px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.7));z-index:2}

/* Price on top, "Both tours" underneath */
#buytx{display:flex;flex-direction:column;align-items:center;line-height:1.05}
#buytx .pr{font-weight:600;font-size:calc(19 * var(--u))}
#buytx .sub{font-size:calc(12.5 * var(--u));font-weight:500;opacity:.75;margin-top:calc(2 * var(--u));letter-spacing:.01em}
