/* Getting started page (27 Oct 2026). Loaded on /getting-started only. Colours are the site's tokens (site.css :root).
   Every graphic shows its finished state in CSS; js/getting-started.js sets the starting states and plays them,
   so without JavaScript, or with reduced motion, the page reads in full. */

.gs-head .display{max-width:16ch}
.gs-stage{max-width:440px;justify-self:end;width:100%;margin:0}
.gs-stage img{opacity:1}
@media (max-width:900px){.gs-stage{justify-self:start}}

/* the path: one line runs down through every step */
.gs-wrap{padding-top:clamp(24px,3vw,48px);padding-bottom:clamp(24px,3vw,40px)}
.gs-path{list-style:none;margin:0;padding:0;position:relative;--rail:20px}
.gs-line{position:absolute;left:var(--rail);top:8px;bottom:40px;width:2px;margin-left:-1px;background:var(--line);pointer-events:none}
.gs-line i{display:block;width:100%;height:100%;background:var(--ink);transform-origin:50% 0}
.gs-node{position:absolute;left:calc(var(--rail) - 20px);top:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.02em;color:#fff;background:var(--ink);border:2px solid var(--ink);z-index:1;transition:background .35s,color .35s}
.gs-node.off{background:#fff;color:var(--ink)}
.gs-mark{position:absolute;left:calc(var(--rail) - 7px);top:6px;width:14px;height:14px;border-radius:3px;background:var(--accent);z-index:1}

.gs-part,.gs-stop{position:relative;padding-left:calc(var(--rail) + 52px)}
.gs-part{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);gap:28px clamp(32px,5vw,72px);align-items:center;padding-bottom:clamp(40px,5vw,64px)}
.gs-part + .gs-stop{padding-top:8px}
#my-part{padding-top:clamp(48px,7vw,96px);grid-template-columns:minmax(0,1fr)}
.gs-still{margin:0;max-width:250px;justify-self:end;width:100%}
.gs-still img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}
.gs-still figcaption,.g-cap{font-family:var(--mono);font-size:11.5px;letter-spacing:.03em;color:var(--muted);margin-top:10px}

.gs-stop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px clamp(32px,5vw,72px);align-items:start;padding-block:0 clamp(56px,7vw,96px)}
.gs-h{font-size:clamp(1.45rem,2.2vw,1.85rem);line-height:1.15;letter-spacing:-.03em;margin:6px 0 14px}
.gs-text p{max-width:56ch}
.gs-text p+p{margin-top:.85em}
.gs-sub{margin-top:26px!important;font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.gs-brief{margin-top:10px}
.gs-brief li{padding:10px 0}
.gs-send-list{margin:16px 0 18px}
.gs-text .fit{margin-top:20px}
.gs-sub-stop{position:relative}
.gs-sub-stop + .gs-sub-stop{margin-top:clamp(48px,6vw,80px)}
.gs-duo .gs-sub-stop .gs-node{left:calc(-1 * (var(--rail) + 52px) + var(--rail) - 20px)}
.gs-wide{grid-template-columns:minmax(0,1fr)}
#film{padding-bottom:0}
.gs-wide .gs-text{max-width:62ch}
.gs-art{min-width:0}
@media (min-width:1021px){.gs-duo .gs-art{position:sticky;top:24px}}
@media (max-width:900px){
  .gs-path{--rail:15px}
  .gs-node{width:30px;height:30px;left:0;font-size:11px}
  .gs-mark{left:8px}
  .gs-part,.gs-stop{padding-left:46px}
  .gs-duo .gs-sub-stop .gs-node{left:-46px}
  .gs-part,.gs-stop{grid-template-columns:minmax(0,1fr)}
  .gs-still{justify-self:start;max-width:200px}
}

/* graphics share a card */
.g-seats,.g-sheet,.g-folder,.g-send,.g-call,.g-edit{background:var(--paper);border-radius:var(--r-card);padding:clamp(18px,2.6vw,28px)}

/* 01 their seat: a screen, rows of seats, the viewer's questions */
.g-seats{display:grid;gap:14px;justify-items:center}
.g-screen{width:72%;aspect-ratio:16/8;border-radius:10px;background:var(--ink);display:grid;place-items:center}
.g-screen svg{width:28px;height:28px;fill:var(--teal-bright)}
.g-asks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;min-height:36px}
.g-asks .ask{background:#fff;border:1px solid var(--line-strong);border-radius:12px 12px 12px 3px;padding:7px 11px;font-size:14px;color:var(--ink)}
.g-rows{display:grid;grid-template-columns:repeat(6,1fr);gap:10px 12px;width:84%}
.g-rows i{display:block;aspect-ratio:1/1.05;border-radius:10px 10px 4px 4px;background:#fff;border:1.5px solid var(--line-strong)}
.g-rows i.you{background:var(--teal);border-color:var(--teal)}
.g-seats .g-cap{margin-top:2px}

/* 02 and 03 the big sheet: the idea, its parts, a line for each, and how long it runs */
.g-sheet{position:relative;background:#fff;border:1px solid var(--line);box-shadow:0 24px 48px -32px rgba(15,42,56,.35)}
.g-idea{font-size:clamp(1.05rem,1.5vw,1.2rem);line-height:1.3;letter-spacing:-.02em;color:var(--ink);font-weight:500;padding-bottom:14px;border-bottom:1px solid var(--line)}
.g-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.g-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:9px 11px;min-height:74px;transition:border-color .3s,background .3s}
.g-card b{display:block;font-family:var(--mono);font-size:11.5px;font-weight:500;letter-spacing:.03em;color:var(--teal)}
.g-card .g-line{display:block;margin-top:3px;font-size:13.5px;line-height:1.35;color:var(--ink)}
.g-card.on{border-color:var(--teal);background:var(--tint)}
.g-time{margin-top:16px}
.g-bar{display:flex;height:12px;border-radius:6px;background:var(--paper);overflow:hidden;gap:2px}
.g-bar i{display:block;height:100%;background:var(--ink);transform-origin:0 50%}
.g-bar i:nth-child(even){background:var(--teal)}
.g-ticks{display:flex;justify-content:space-between;padding-left:22%;margin-top:6px;font-family:var(--mono);font-size:11px;color:var(--faint)}
@media (max-width:560px){.g-cards{grid-template-columns:1fr}.g-card{min-height:0}}

/* 04 the folder fills up */
.g-folder{position:relative;height:330px;overflow:hidden}
.g-back{position:absolute;left:12%;right:12%;bottom:22px;height:70%;background:#C9D3D8;border-radius:8px 8px 10px 10px}
.g-back::before{content:"";position:absolute;left:0;top:-14px;width:38%;height:18px;background:#C9D3D8;border-radius:8px 8px 0 0}
.g-items{position:absolute;left:12%;right:12%;top:16px;bottom:84px;display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:8px 10px}
.g-items .it{width:100px;height:96px;background:#fff;border-radius:10px;border:1px solid var(--line-strong);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 10px 20px -14px rgba(15,42,56,.5)}
.g-items .it svg{width:44px;height:34px;fill:none;stroke:var(--teal-bright);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.g-items .logo svg{fill:var(--ink);stroke:none}
.g-items .colours{flex-direction:row;flex-wrap:wrap;align-content:center;gap:5px}
.g-items .colours i{width:20px;height:20px;border-radius:50%}
.g-items .colours i:nth-child(1){background:var(--ink)}.g-items .colours i:nth-child(2){background:var(--teal)}.g-items .colours i:nth-child(3){background:var(--teal-bright)}
.g-items .colours em{flex-basis:100%;text-align:center}
.g-items em{font-style:normal;font-family:var(--mono);font-size:11px;color:var(--muted);text-align:center;line-height:1.2}
.g-front{position:absolute;left:10%;right:10%;bottom:14px;height:24%;background:var(--faint);border-radius:10px;transform-origin:50% 100%}
@media (max-width:420px){.g-items{left:6%;right:6%}.g-items .it{width:80px;height:84px}}

/* 05 send it: the folder runs along the line to me */
.g-send{position:relative;height:150px}
.g-track{position:absolute;left:10%;right:22%;top:50%;height:2px;background-image:linear-gradient(90deg,var(--line-strong) 50%,transparent 0);background-size:10px 2px}
.g-track i{display:block;height:100%;background:var(--ink);transform-origin:0 50%}
.g-mini{position:absolute;right:calc(22% + 6px);top:calc(50% - 22px);width:52px;height:40px;background:var(--ink);border-radius:5px 5px 7px 7px}
.g-mini::before{content:"";position:absolute;left:0;top:-7px;width:44%;height:9px;background:var(--ink);border-radius:5px 5px 0 0}
.g-to{position:absolute;right:8%;top:calc(50% - 28px);width:56px;height:56px;background:#fff;border-radius:14px;display:grid;place-items:center;box-shadow:0 10px 24px -14px rgba(15,42,56,.5)}
.g-to svg{width:38px;height:38px}

/* 06 I read it all, then we talk */
.g-call{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}
.g-page{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px 16px;display:grid;gap:10px;aspect-ratio:4/5}
.g-page i{display:block;height:8px;border-radius:4px;background:var(--line)}
.g-page i:nth-child(3n){width:70%}
.g-page i.hl{overflow:hidden}
.g-page i.hl b{display:block;height:100%;background:var(--hl);transform-origin:0 50%}
.g-meet{background:var(--ink);border-radius:12px;padding:18px 14px 14px;display:grid;grid-template-columns:1fr 1fr;gap:10px;justify-items:center}
.g-meet .who{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ink);font-weight:600;font-size:14px}
.g-meet .who.ken{background:var(--teal-bright);color:var(--ink)}
.g-meet .g-cap{grid-column:1/-1;color:var(--on-night-muted);text-align:center;margin-top:4px}
@media (max-width:420px){.g-call{grid-template-columns:1fr}.g-page{aspect-ratio:auto}}

/* 07 the script made ready */
.g-edit{background:#fff;border:1px solid var(--line)}
.g-edit .g-cap{margin:0 0 12px}
.g-edit ol{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.g-edit li{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.g-edit .was{position:relative;justify-self:start;font-size:14px;color:var(--muted)}
.g-edit .was i{position:absolute;left:0;right:0;top:54%;height:1.5px;background:var(--ink);transform-origin:0 50%}
.g-edit li .now{font-size:15.5px;line-height:1.35;color:var(--ink);font-weight:500}
.g-ok{display:flex;align-items:center;gap:8px;margin-top:14px;font-weight:600;color:var(--teal)}
.g-ok svg{width:22px;height:22px;fill:none;stroke:var(--teal);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.g-ok path{stroke-dasharray:1;stroke-dashoffset:0}

/* 08 story cards: every picture, with the words spoken under it */
.g-stories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:8px}
.g-story{margin:0}
.g-story img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:10px;border:3px solid #fff;box-shadow:0 12px 26px -16px rgba(15,42,56,.55)}
.g-story figcaption{margin-top:8px;font-size:13.5px;line-height:1.35;color:var(--ink)}
.g-stories-cap{margin-top:16px}
@media (max-width:1020px){.g-stories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.g-stories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* 09 the finished film: the line becomes the playhead */
.g-film{max-width:380px}
.g-frame{border-radius:14px;overflow:hidden;aspect-ratio:4/5;background:var(--night)}
.g-frame img{width:100%;height:100%;object-fit:cover}
.g-play{height:4px;border-radius:2px;background:var(--line);margin-top:12px;overflow:hidden}
.g-play i{display:block;height:100%;background:var(--ink);transform-origin:0 50%}
.g-watch{margin-top:16px;font:inherit;font-weight:500;background:none;border:0;border-bottom:1px solid var(--line-strong);padding:0 0 2px;cursor:pointer}
