/* ═══════════════════════════════════════════════════════════════════════════
   THE WALKTHROUGH: a looping phone that plays sign in → home screen → notices.
   Ported from Looper's Arrowtown page (getlooper.golf/arrowtown/home-screen,
   12 Nov 2026), dressed in the PBCC site's own look: Feijoa Display + Work Sans,
   charcoal on cream, the golf-green accent. The phone screens are PBCC's real
   app (img/walk/, captured 12 Nov 2026; see the note in help/index.html).
   Apple's and Google's own screens are drawn as plain shapes that name only
   the button to press. We name the buttons; we don't copy their screens.
   ═══════════════════════════════════════════════════════════════════════════ */
.wt { --tap: #8FD44A; --tap-edge: rgba(30,30,28,.55); --hair: rgba(50,50,48,.16); --soft: #4a4642; --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, system-ui, sans-serif; --out: cubic-bezier(.23,1,.32,1); }
.wt { padding: 56px 24px 64px; }
.wt-inner { max-width: 1040px; margin: 0 auto; }
.wt .eyebrow { margin-bottom: 12px; }
.wt-h { font-family: 'Feijoa Display', Georgia, serif; font-weight: normal; font-size: clamp(30px, 4vw, 44px); line-height: 1.06; letter-spacing: -0.015em; color: var(--charcoal); max-width: 20ch; }
.wt-h em { font-style: italic; color: var(--warm-grey); }
.wt-lead { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: var(--soft); max-width: 58ch; }
.wt-lead b { font-weight: 600; color: var(--charcoal); }
.wt-lead + .wt-lead { margin-top: 10px; }

/* tabs: plain text, underlined */
/* phone picker: two big buttons, the chosen one filled (William, 22 Nov 2026: the Android tab must be obvious) */
.wt-pick-q { margin-top: 30px; font: 600 16px 'Work Sans', sans-serif; color: var(--charcoal); }
.wt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; max-width: 520px; }
.wt-tab { font: 500 17px 'Work Sans', sans-serif; color: var(--charcoal); background: #fff; border: 1.5px solid var(--golf-dark); border-radius: 12px; min-height: 58px; padding: 10px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, color .15s ease; }
.wt-tab[aria-selected="true"] { background: var(--golf-dark); color: #fff; }
.wt-tab[aria-selected="true"]::before { content: "\2713\00a0"; }
@media (hover: hover) { .wt-tab[aria-selected="false"]:hover { background: rgba(82,83,43,.08); } }
.wt-tab:focus-visible, .chap-btn:focus-visible, .wt-pp:focus-visible, .steps li:focus-visible { outline: 2px solid var(--golf-dark) !important; outline-offset: 4px; }

.walk { display: grid; gap: 26px; padding: 26px 0 0; }
@media (min-width: 860px) { .walk { grid-template-columns: minmax(280px, 330px) 1fr; gap: 64px; align-items: start; } }
.stage { position: relative; width: min(300px, 80vw); margin: 0 auto; }
@media (min-width: 860px) { .stage { width: 100%; position: sticky; top: 92px; } }

/* chapters over the phone */
.chaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.chap-btn { font: 400 14px/1.2 'Work Sans', sans-serif; color: var(--warm-grey); background: none; border: 0; border-top: 2px solid var(--hair); padding: 8px 0 0; text-align: left; cursor: pointer; scroll-margin-top: 92px; }
.chap-btn b { display: block; font-family: 'Feijoa Display', Georgia, serif; font-weight: normal; font-size: 20px; line-height: 1.1; }
.chap-btn.now { color: var(--charcoal); border-top-color: var(--golf-dark); }

/* the phone */
.scr { position: relative; container-type: inline-size; aspect-ratio: 9 / 19.5; border-radius: 44px; overflow: hidden; background: #EDEAE4;
  box-shadow: 0 30px 60px -24px rgba(30,30,28,.45), 0 10px 24px -12px rgba(30,30,28,.3); outline: 8px solid #17170f; outline-offset: -1px; }
.L { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--out), transform .5s var(--out); pointer-events: none; }
.L.on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.dim { background: rgba(0,0,0,.3); }
.pt { position: absolute; width: 1px; height: 1px; }
.sys { font-family: var(--sys); color: #111; }

/* typed text over the app's own field */
.typed { position: absolute; left: 5.1%; right: 5.1%; display: flex; align-items: center; justify-content: center; border-radius: 2.6cqw;
  background: #BEBAB5; color: #1d1d1d; font: 400 4.7cqw/1 var(--sys); letter-spacing: .04em; }
.typed span { display: inline-block; overflow: hidden; white-space: nowrap; clip-path: inset(0 100% 0 0); }
.L.on .typed span { animation: wt-type 1.1s steps(12, end) .35s forwards; }
.typed.code { font-size: 6.4cqw; letter-spacing: .35em; padding-left: .35em; }
.L.on .typed.code span { animation: wt-type .9s steps(6, end) .9s forwards; }
@keyframes wt-type { to { clip-path: inset(0 0 0 0); } }

/* a text arrives */
.sms { position: absolute; left: 3cqw; right: 3cqw; top: 3cqw; height: auto; bottom: auto; background: rgba(250,250,250,.96); border-radius: 5cqw; padding: 3.2cqw 3.6cqw;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); display: flex; gap: 3cqw; align-items: center; transform: translateY(-130%); z-index: 8; }
.sms.on { transform: none; transition-delay: .2s; }
.sms i { width: 9cqw; height: 9cqw; border-radius: 2.2cqw; background: #34C759; flex: none; display: grid; place-items: center; }
.sms i::before { content: ""; width: 4.6cqw; height: 3.6cqw; border-radius: 50%; background: #fff; }
.sms div { flex: 1; font-size: 3.4cqw; line-height: 1.3; }
.sms b { font-weight: 600; }
.sms .bar { display: block; height: 2.2cqw; border-radius: 1.1cqw; background: #d6d6db; margin-top: 1.4cqw; }

/* iOS Safari bottom bar (compact tabs, iOS 27) */
.sbar { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; height: 13cqw; display: flex; gap: 2.5cqw; align-items: center; }
.sbar .btn { width: 13cqw; height: 13cqw; border-radius: 50%; background: rgba(250,250,250,.9); backdrop-filter: blur(8px); display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.sbar .url { flex: 1; height: 13cqw; border-radius: 7cqw; background: rgba(250,250,250,.9); display: flex; align-items: center; justify-content: center; font-size: 3.7cqw; color: #222; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.ico { width: 5.4cqw; height: 5.4cqw; stroke: #111; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* bottom sheets */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; top: auto; background: #F2F2F7; border-radius: 7cqw 7cqw 0 0; padding: 4cqw 4cqw 12cqw; transform: translateY(104%); }
.sheet.on { transform: none; }
.grab { width: 10cqw; height: 1.3cqw; border-radius: 1cqw; background: #c7c7cc; margin: 0 auto 4cqw; }
.group { background: #fff; border-radius: 3.6cqw; overflow: hidden; }
.group + .group { margin-top: 3cqw; }
.row { display: flex; align-items: center; gap: 3.4cqw; height: 11.5cqw; padding: 0 4cqw; font-size: 4.1cqw; position: relative; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 4cqw; right: 0; height: 1px; background: #e5e5ea; }
.row .bar { height: 2.4cqw; border-radius: 1.2cqw; background: #dcdce1; }
.row b { font-weight: 500; }
.row .ico { margin-left: auto; width: 5cqw; height: 5cqw; }
.row.hot { background: #E9F0FF; }
.chev { margin-left: auto; font-size: 4cqw; color: #8e8e93; }
.circles { display: flex; gap: 3.6cqw; padding: 2cqw 1cqw 4cqw; }
.circles i { width: 13cqw; height: 13cqw; border-radius: 50%; background: #dcdce1; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 3cqw; margin-bottom: 4cqw; }
.sheet-head img { width: 11cqw; height: 11cqw; border-radius: 2.6cqw; }
.sheet-head .t { font-size: 3.6cqw; line-height: 1.25; }
.sheet-head .t b { display: block; font-size: 4cqw; font-weight: 600; }

/* Add to Home Screen (iOS) */
.addpage { background: #F2F2F7; padding: 12cqw 4cqw 0; transform: translateY(100%); }
.addpage.on { transform: none; }
.navrow { display: flex; justify-content: space-between; align-items: center; font-size: 4.2cqw; margin-bottom: 6cqw; }
.navrow .x { color: #007AFF; }
.navrow .t { font-weight: 600; }
.navrow .add { font-weight: 600; color: #007AFF; }
.addcard { background: #fff; border-radius: 3.6cqw; padding: 4cqw; display: flex; gap: 4cqw; align-items: center; }
.addcard img { width: 15cqw; height: 15cqw; border-radius: 3.6cqw; }
.addcard .name { font-size: 4.2cqw; border-bottom: 1px solid #e5e5ea; padding-bottom: 2cqw; }
.addcard .host { font-size: 3.3cqw; color: #8e8e93; padding-top: 2cqw; }
.toggle { margin-top: 4cqw; background: #fff; border-radius: 3.6cqw; padding: 0 4cqw; height: 12cqw; display: flex; align-items: center; justify-content: space-between; font-size: 4.1cqw; }
.sw { width: 13cqw; height: 7.8cqw; border-radius: 4cqw; background: #34C759; position: relative; }
.sw::after { content: ""; position: absolute; right: .7cqw; top: .7cqw; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }

/* the phone's home screen */
.home { background: linear-gradient(160deg, #5d6f8a 0%, #2f3d55 55%, #1c2433 100%); }
.grid { position: absolute; top: 16cqw; left: 7cqw; right: 7cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7cqw 5.5cqw; }
.app { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.app i { display: block; width: 100%; aspect-ratio: 1; border-radius: 24%; background: rgba(255,255,255,.22); }
.app span { display: block; height: 1.6cqw; width: 70%; border-radius: 1cqw; background: rgba(255,255,255,.28); }
.app.club img { width: 100%; aspect-ratio: 1; border-radius: 24%; display: block; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.app.club em { font-style: normal; font-size: 2.9cqw; color: #fff; white-space: nowrap; line-height: 1; margin-top: .2cqw; }
.app.club { transform: scale(.3); opacity: 0; transition: transform .6s var(--out) .25s, opacity .3s ease .25s; }
.L.on .app.club { transform: none; opacity: 1; }
.dock { position: absolute; left: 4cqw; right: 4cqw; bottom: 4cqw; height: 22cqw; border-radius: 9cqw; background: rgba(255,255,255,.18); }

/* opening from the icon: the app grows out of it */
.grow img { transform: scale(.5); border-radius: 30cqw; transition: transform .6s var(--out), border-radius .6s var(--out); }
.grow.on img { transform: none; border-radius: 0; }

/* the phone asks */
.alert { position: absolute; left: 14cqw; right: 14cqw; top: 50%; bottom: auto; background: rgba(242,242,247,.97); border-radius: 4.5cqw; overflow: hidden; transform: translateY(-50%) scale(1.08); z-index: 6; text-align: center; }
.alert.on { transform: translateY(-50%); }
.alert .body { padding: 5cqw 5cqw 4cqw; }
.alert .bar { display: block; height: 2.4cqw; border-radius: 1.2cqw; background: #cfcfd5; margin: 1.6cqw auto 0; }
.alert .bar.b { background: #9a9aa1; height: 2.8cqw; }
.alert .btns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d1d1d6; font-size: 4.2cqw; }
.alert .btns span { padding: 3.4cqw 0; color: #007AFF; }
.alert .btns span + span { border-left: 1px solid #d1d1d6; font-weight: 600; }
.adlg { position: absolute; left: 7cqw; right: 7cqw; top: 50%; bottom: auto; background: #F7F2FA; border-radius: 7cqw; padding: 6cqw 6cqw 4cqw; transform: translateY(-44%) scale(.94); z-index: 6; text-align: center; }
.adlg.on { transform: translateY(-50%); }
.adlg img { width: 10cqw; height: 10cqw; border-radius: 50%; display: block; margin: 0 auto 3cqw; }
.adlg .bar { display: block; height: 2.4cqw; border-radius: 1.2cqw; background: #d9d3df; margin: 1.6cqw auto 0; }
.adlg .bar.b { background: #9c96a3; height: 2.8cqw; }
.adlg .btn { display: block; margin-top: 3cqw; padding: 3.2cqw; border-radius: 6cqw; font: 500 4cqw Roboto, system-ui, sans-serif; color: #0B57D0; background: #E8DEF8; }
.adlg .btn + .btn { background: none; margin-top: 1cqw; }

/* Android Chrome */
.cbar { position: absolute; top: 0; left: 0; right: 0; height: 22cqw; background: #fff; display: flex; align-items: flex-end; gap: 2.5cqw; padding: 0 3cqw 2.5cqw; z-index: 4; box-shadow: 0 1px 0 #e0e0e0; }
.cbar .url { flex: 1; height: 9.5cqw; border-radius: 5cqw; background: #F1F3F4; display: flex; align-items: center; padding: 0 3.5cqw; font-size: 3.5cqw; color: #333; }
.cbar .tabsq { width: 5.6cqw; height: 5.6cqw; border: 2px solid #444; border-radius: 1.4cqw; flex: none; margin-bottom: 2cqw; }
.cbar .dots { width: 7cqw; height: 9.5cqw; display: grid; place-items: center; flex: none; }
.cbar .dots::before { content: ""; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #333; box-shadow: 0 -2cqw 0 #333, 0 2cqw 0 #333; }
.inchrome { position: absolute; inset: 22cqw 0 0; overflow: hidden; }
.inchrome .pic { position: relative; }
.inchrome img { width: 100%; display: block; }
.amenu { position: absolute; top: 10cqw; right: 2cqw; left: auto; bottom: auto; width: 66cqw; background: #fff; border-radius: 3.5cqw; box-shadow: 0 8px 24px rgba(0,0,0,.28); padding: 2cqw 0; transform-origin: top right; transform: scale(.85); z-index: 6; }
.amenu.on { transform: none; }
.arow { display: flex; align-items: center; gap: 3.5cqw; height: 10cqw; padding: 0 4.5cqw; font-size: 3.9cqw; }
.arow .bar { height: 2.3cqw; border-radius: 1.2cqw; background: #e2e2e2; }
.arow i { width: 4.6cqw; height: 4.6cqw; border-radius: 1.2cqw; background: #e2e2e2; flex: none; }
.arow.hot { background: #E8F0FE; }
.arow.hot i { background: none; }
.dialog { position: absolute; left: 7cqw; right: 7cqw; top: 50%; bottom: auto; background: #F7F2FA; border-radius: 7cqw; padding: 6cqw; transform: translateY(-44%) scale(.94); z-index: 6; }
.dialog.on { transform: translateY(-50%); }
.dialog h4 { font: 500 5.2cqw/1.2 Roboto, system-ui, sans-serif; margin-bottom: 5cqw; }
.dialog .who { display: flex; gap: 3.5cqw; align-items: center; margin-bottom: 6cqw; font-size: 4cqw; }
.dialog .who img { width: 11cqw; height: 11cqw; border-radius: 50%; }
.dialog .who small { display: block; color: #666; font-size: 3.2cqw; }
.dialog .acts { display: flex; justify-content: flex-end; gap: 6cqw; font: 500 4cqw Roboto, system-ui, sans-serif; color: #0B57D0; }

/* the tap: a ring that lands on the button to press */
.tap { position: absolute; width: 13cqw; height: 13cqw; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; z-index: 20; opacity: 0; pointer-events: none;
  background: rgba(143,212,74,.32); box-shadow: 0 0 0 2px var(--tap), 0 0 0 3.5px var(--tap-edge); }
.tap.on { animation: wt-tap 1.5s var(--out) var(--d, .6s) both; }
@keyframes wt-tap { 0% { opacity: 0; transform: scale(1.8); } 35% { opacity: 1; transform: scale(1); } 50% { transform: scale(.82); } 62% { transform: scale(1); } 100% { opacity: 1; transform: scale(1); } }

.wt-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px; }
.wt-count { font-size: 14px; color: var(--warm-grey); }
.wt-pp { font: 500 14px 'Work Sans', sans-serif; color: var(--charcoal); background: none; border: 1px solid rgba(50,50,48,.28); border-radius: 6px; padding: 8px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.wt-pp:active { transform: scale(.97); }
.wt-pp svg { width: 12px; height: 12px; fill: currentColor; }
.wt-prog { height: 2px; background: var(--hair); margin-top: 12px; overflow: hidden; }
.wt-prog i { display: block; height: 100%; width: 100%; background: var(--golf-dark); transform-origin: left; transform: scaleX(0); }

/* the words: chapters, then steps under a hairline */
.words .chap { font-family: 'Feijoa Display', Georgia, serif; font-weight: normal; font-size: 26px; line-height: 1.1; color: var(--charcoal); margin: 32px 0 10px; }
.words .chap:first-child { margin-top: 0; }
.words .chap span { color: var(--golf-dark); margin-right: 4px; }
.words .chap-note { color: var(--soft); font-size: 15.5px; margin: -2px 0 12px; max-width: 56ch; }
.steps { list-style: none; border-top: 1px solid var(--hair); margin: 0; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 4px 12px; padding: 15px 0; border-bottom: 1px solid var(--hair); cursor: pointer; transition: opacity .3s ease; margin: 0; }
.steps li .n { font-family: 'Feijoa Display', Georgia, serif; font-size: 21px; line-height: 1.15; color: var(--warm-grey); }
.steps li h3 { font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 17px; line-height: 1.3; color: var(--charcoal); margin: 0; }
.steps li p { grid-column: 2; color: var(--soft); font-size: 15.5px; line-height: 1.6; max-width: 54ch; }
.steps li b { font-weight: 600; color: var(--charcoal); }
.steps li.now .n { color: var(--golf-dark); }
.steps li.now h3 { font-weight: 600; }
.words.playing .steps li:not(.now) { opacity: .7; }
.wt-aside { margin-top: 20px; font-size: 15.5px; line-height: 1.6; color: var(--soft); max-width: 56ch; }
.wt-aside b { color: var(--charcoal); font-weight: 600; }
.wt [hidden], .wt-stuck [hidden] { display: none !important; }

/* Stuck? The office, on the site's dark ground */
.wt-stuck { background: var(--charcoal-deep); padding: 64px 24px; color: #fff; }
.wt-stuck .wt-inner { max-width: 1040px; }
.wt-stuck .kicker-text { color: var(--golf-green); }
.wt-stuck h2 { font-family: 'Feijoa Display', Georgia, serif; font-weight: normal; font-size: clamp(30px, 4vw, 44px); line-height: 1.06; color: #fff; }
.wt-stuck h2 em { font-style: italic; color: rgba(255,255,255,.45); }
.wt-stuck .lead { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: rgba(235,232,225,.7); max-width: 56ch; }
.ways { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.way { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 700px) { .way { grid-template-columns: 220px 1fr; } }
.way h3 { font-family: 'Feijoa Display', Georgia, serif; font-weight: normal; font-size: 22px; color: #fff; }
.way p { font-size: 16px; line-height: 1.6; color: rgba(235,232,225,.75); }
.way a { color: var(--golf-green); font-weight: 600; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .L, .sheet, .addpage, .amenu, .dialog, .alert, .adlg, .sms, .grow img, .app.club { transition: opacity .4s ease !important; transform: none !important; }
  .alert, .adlg { transform: translateY(-50%) !important; }
  .grow img { border-radius: 0; }
  .tap.on { animation: none; opacity: 1; }
  .L.on .typed span { animation: none; clip-path: none; }
}
@media (max-width: 768px) { .wt { padding: 44px 24px 52px; } .wt-stuck { padding: 52px 24px; } }
