/* Website 2.0 "Walk In" (walkin.js; SPEC-019 §Version one, Layout; S-1818), on native scrolling (SPEC-019 §Built
   once; MAISIG S-1841): the painting's screen stays put by the browser's own sticky positioning while the dive plays,
   then the terminal follows in the page's flow. The plain page stays underneath. */
html.wk, .wk body { background: #050905; }
.wk .page-home::before { content: none; }   /* the plain page's fixed meadow would show below the terminal */
.wk .scene-header, .wk [data-walkin], .wk .manifesto, .wk .boot-screen, .wk .skip-link { display: none; }
.wk {
  color-scheme: dark;
  --wk-term-bg: #050905; --wk-term: #73f293; --wk-white: #ffffff; --wk-mono: "Courier New", Courier, monospace;
  --wk-pad-y: clamp(26px, 5vw, 55px);
  --wk-pad-x: max(clamp(18px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --wk-pad-xr: max(clamp(18px, 4vw, 56px), env(safe-area-inset-right, 0px));
}
.wk-skiplink { position: absolute; left: -9999px; top: 0; }
.wk-skiplink:focus { left: 16px; top: 60px; z-index: 30; padding: 8px 12px; background: #050905; color: #73f293; font-family: var(--wk-mono); }

/* The painting. svh: the small viewport, which does not change when a phone's bars come and go. */
.wk-dive { position: relative; height: 170svh; }
.wk-screen { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.wk-screen canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.wk-corner { position: absolute; z-index: 3; }
#wk-c1, #wk-c2 { top: calc(15px + env(safe-area-inset-top, 0px)); }
#wk-c4 { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.wk-cue { top: calc(20px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); white-space: nowrap; }
.wk-sig { position: absolute; left: 0; top: 0; z-index: 2; transform-origin: 0 100%; white-space: nowrap; will-change: transform; }   /* painted on the grass; moves and grows with the picture */
.wk-pulse { display: inline-block; animation: wk-pulse 2s ease-in-out infinite; }   /* 1 s out, 1 s back in */
@keyframes wk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.wk-hero { position: absolute; z-index: 2; right: 16px; top: clamp(44px, 11vh, 120px); max-width: 780px; }   /* the subline stays on the sky down to a 500 x 300 window */
.wk-hero h1 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-weight: 700;
  font-size: clamp(34px, min(8.2vw, 12vh), 108px); line-height: .92; letter-spacing: -.03em; color: var(--wk-white); text-shadow: 0 2px 30px rgba(0, 40, 70, .3); text-wrap: balance; }
.wk-hero p { margin: .5em 0 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-size: clamp(15px, calc(min(100vw, 190.86vh) * .0139), 24px); color: #fff; text-shadow: 0 1px 3px rgba(0, 30, 50, .75), 0 1px 14px rgba(0, 40, 70, .5); }

/* The terminal: fixed-width lines in the page's flow; untyped letters keep their place, hidden. */
.wk-term { position: relative; z-index: 1; min-height: 100svh; margin: 0; padding: var(--wk-pad-y) var(--wk-pad-xr) 40svh var(--wk-pad-x);
  background: var(--wk-term-bg); color: var(--wk-term); font: 400 clamp(.72rem, 1.4vw, 1.12rem)/1.55 var(--wk-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.wk-term > p { margin: 0 0 1.55em; }
.wk-rest { visibility: hidden; }
.wk-banner { white-space: pre; overflow: hidden; }
.wk-boot-cursor { animation: wk-blink 1s steps(1, end) infinite; }
@keyframes wk-blink { 50% { visibility: hidden; } }
.wk-measure { position: absolute; visibility: hidden; white-space: pre; }
/* The five conversations share one place, as tall as the longest, so "Get early access!" never moves. */
.wk-talk { display: grid; margin: 0 0 1.55em; }
.wk-talk > p { grid-area: 1 / 1; margin: 0; visibility: hidden; }
.wk-talk > .wk-shown { visibility: visible; }
.wk-talk > .wk-fading { opacity: 0; transition: opacity 2s linear; }
/* The page's own form as plain terminal text (operator 2026-11-15 17:23): a prompt line around the native field, text
   buttons, no boxes; 16 px or more, so a phone does not zoom on focus. The caret shows where the person types. */
.wk #early-access { width: auto; max-width: 36em; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; white-space: normal; }
.wk #early-access > p { margin: 0 0 1.55em; white-space: pre-wrap; }   /* the answer, printed where the form was */
.wk #early-access form { display: grid; gap: 4px; margin: 0; font: 400 max(16px, 1em) var(--wk-mono); }
.wk-prompt { position: relative; display: flex; align-items: center; color: var(--wk-term); white-space: pre; }
.wk #early-access .wk-prompt input { flex: 1; min-width: 0; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0;
  background: transparent; color: var(--wk-term); font: inherit; caret-color: var(--wk-term); }
.wk-prompt .wk-boot-cursor { position: absolute; pointer-events: none; }
.wk-prompt input:focus + .wk-boot-cursor, .wk-prompt input:not(:placeholder-shown) + .wk-boot-cursor { display: none; }
.wk #early-access .invite-field { height: auto; }
.wk #early-access .invite-toggle { display: none; }
.wk-actions { display: flex; flex-wrap: wrap; gap: 0 2ch; }
.wk #early-access .wk-actions button, .wk #early-access .invite-open { width: auto; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; color: var(--wk-term); font: inherit; text-decoration: none; cursor: pointer; }
/* After a send (S-1818's outro): the picture is rebuilt over the screen; the two confirmation lines stay on it. */
.wk-outro { position: fixed; left: 0; top: 0; width: 100%; height: 100svh; z-index: 20; pointer-events: none; }
.wk-keep span { position: fixed; z-index: 21; white-space: pre; font-family: var(--wk-mono); color: var(--wk-term); background: var(--wk-term-bg); }
.wk #early-access .invite-toggle, .wk #early-access .tell-friend, .wk #early-access .box-note, .wk #early-access .box-title,
.wk #early-access .link-button, .wk #early-access .result-address { color: var(--wk-term); font-family: var(--wk-mono); }
.wk #early-access .field-error { color: #ff9b8f; }
.wk #early-access :focus-visible { outline: 2px solid var(--wk-term); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wk-pulse, .wk-boot-cursor { animation: none; } }
