/* isovist.app holding page (28 Oct 2026, D-034). Isovist design system: ink on paper, IBM Plex Sans + Mono,
   linework at true scale, square where it's a drawing, soft where it's a control. Light only, like the system. */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --wt-ink: #111111; --wt-paper: #FFFFFF;
  --wt-n-700: #3A3A3F; --wt-n-600: #55555B; --wt-n-300: #C8C8CC; --wt-n-200: #E4E4E7; --wt-n-100: #F4F4F5;
  --wt-text: var(--wt-ink); --wt-text-2: var(--wt-n-700); --wt-text-3: var(--wt-n-600);
  --wt-success: #1A7F37; --wt-error: #B3261E;
  --wt-focus: 0 0 0 2px var(--wt-paper), 0 0 0 4px var(--wt-ink);
  --wt-font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wt-font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --wt-display: 600 56px/60px var(--wt-font-sans);
  --wt-h1: 600 40px/46px var(--wt-font-sans);
  --wt-body-l: 400 18px/28px var(--wt-font-sans);
  --wt-body: 400 16px/24px var(--wt-font-sans);
  --wt-small: 400 14px/20px var(--wt-font-sans);
  --wt-radius-control: 6px;
  --wt-rule-heavy: 2.5px; --wt-rule-mid: 1.5px; --wt-rule-hair: 1px;
  --shade: rgba(17, 17, 17, 0.085); /* the isovist: sheet shade, never a colour */
  --inset: 20px;
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--wt-paper); color: var(--wt-text); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: var(--wt-body); }
p { margin: 0; }
a { color: var(--wt-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--wt-focus); border-radius: 2px; }

/* The sheet: one drawing, framed, with a title block. */
.sheet {
  margin: var(--inset);
  min-height: calc(100svh - 2 * var(--inset));
  border: var(--wt-rule-heavy) solid var(--wt-ink);
  display: grid;
  grid-template-columns: minmax(360px, 5fr) 7fr;
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas:
    "lockup   drawing"
    "headline drawing"
    "pitch    drawing"
    "tb       tb";
}

.lockup { grid-area: lockup; padding: var(--pad) var(--pad) 0; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wt-ink); }
.brand .mark { width: 28px; height: 28px; }
.brand .name { font: 600 22px/28px var(--wt-font-sans); letter-spacing: -0.01em; }
.by { font: var(--wt-small); color: var(--wt-text-3); padding-top: 2px; }

.headline {
  grid-area: headline; align-self: end;
  margin: 0; padding: var(--pad) var(--pad) 0;
  font: var(--wt-display); letter-spacing: -0.02em;
  max-width: 15.5ch; text-wrap: balance;
}

.pitch { grid-area: pitch; padding: 20px var(--pad) var(--pad); }
.lead { font: var(--wt-body-l); color: var(--wt-text-2); max-width: 36ch; }

/* The form: same mechanism as the waitlist (it emails Lynden), one field. */
.form { margin-top: 28px; max-width: 30rem; }
.label-text { display: block; font: var(--wt-small); color: var(--wt-text-2); margin-bottom: 8px; }
.row { display: flex; gap: 8px; }
.row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  font: var(--wt-body); color: var(--wt-ink); background: var(--wt-paper);
  border: var(--wt-rule-mid) solid var(--wt-ink); border-radius: var(--wt-radius-control);
}
.row input::placeholder { color: var(--wt-n-600); }
.row input[aria-invalid="true"] { border-color: var(--wt-error); }
.row input:focus-visible { box-shadow: var(--wt-focus); }
.submit {
  height: 48px; padding: 0 20px; flex: none;
  font: 600 16px/1 var(--wt-font-sans); color: var(--wt-paper); background: var(--wt-ink);
  border: 0; border-radius: var(--wt-radius-control); cursor: pointer;
}
.submit:hover { background: #2A2A2E; }
.submit:active { background: #3A3A3F; }
.submit:disabled { cursor: progress; background: #3A3A3F; }
.err, .fail { font: var(--wt-small); color: var(--wt-error); margin-top: 8px; }
.err:empty, .fail:empty { display: none; }
.err::before, .fail > span::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px;
  border-radius: 50%; background: var(--wt-error); color: var(--wt-paper); font: 600 11px/1 var(--wt-font-sans); vertical-align: 1px; }
.err a, .fail a { color: var(--wt-error); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nojs { display: none; margin-top: 24px; }

.sent { margin-top: 28px; max-width: 30rem; display: flex; gap: 12px; align-items: flex-start; outline: none; }
.sent svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--wt-success); }
.sent .title { font: 600 18px/26px var(--wt-font-sans); }
.sent .muted { font: var(--wt-small); color: var(--wt-text-2); margin-top: 2px; }

/* The drawing */
.drawing {
  grid-area: drawing; margin: 0; min-width: 0; min-height: 0;
  padding: var(--pad) var(--pad) 28px 8px;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: 1fr auto; gap: 14px 24px;
}
.plan { grid-column: 1 / -1; width: 100%; height: 100%; min-height: 300px; max-height: 76svh; display: block; touch-action: pan-y; cursor: crosshair; --u: 1.9; }
.readout { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; display: grid; gap: 2px; font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity 0.3s ease-out; }
.readout.on { opacity: 1; }
.readout .area { font: 500 22px/28px var(--wt-font-mono); letter-spacing: -0.01em; }
.readout .where { font: var(--wt-small); color: var(--wt-text-3); }
.hint { grid-column: 1; grid-row: 2; align-self: end; font: var(--wt-small); color: var(--wt-text-3); visibility: hidden; }
.js .hint { visibility: visible; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }

.plan .iso { fill: var(--shade); stroke: rgba(17, 17, 17, 0.45); stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.plan .wall { fill: none; stroke: var(--wt-ink); stroke-linecap: butt; stroke-linejoin: miter;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 0.95s cubic-bezier(0.55, 0, 0.2, 1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.plan .ext { stroke-width: 16; animation-duration: 1.4s; }
.plan .int { stroke-width: 8; }
.plan .closed { fill: none; stroke: none; }
.plan .windows rect { fill: var(--wt-paper); }
.plan .windows path, .plan .door, .plan .dims path { fill: none; stroke: var(--wt-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.plan .door { stroke-width: 1px; }
.plan text { font-family: var(--wt-font-sans); font-weight: 600; font-size: calc(var(--u) * 12px); fill: var(--wt-ink); text-anchor: middle; }
.plan .dim, .plan .dims text { font-family: var(--wt-font-mono); font-weight: 500; font-size: calc(var(--u) * 11px); fill: var(--wt-text-3); }
.plan .late { opacity: 0; animation: fade 0.5s ease-out forwards; animation-delay: 1.45s; }
.plan .labels { animation-delay: 1.7s; }
.plan .dims { animation-delay: 1.85s; }
.plan .vp { opacity: 0; transition: opacity 0.3s ease-out; pointer-events: none; }
.plan .vp.on { opacity: 1; }
.plan .vp-ground { fill: var(--wt-paper); }
.plan .vp-fill { fill: var(--wt-ink); }
.plan .vp-line { fill: none; stroke: var(--wt-ink); stroke-width: 2.6; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Title block */
.titleblock {
  grid-area: tb; display: grid; grid-template-columns: 2fr 1fr 1fr;
  border-top: var(--wt-rule-mid) solid var(--wt-ink); font: var(--wt-small);
}
.cell { padding: 16px 24px 18px; display: grid; align-content: start; gap: 4px; }
.cell + .cell { border-left: var(--wt-rule-hair) solid var(--wt-ink); }
.cell:first-child { padding-left: var(--pad); }
.def .word { font: 500 14px/20px var(--wt-font-mono); }
.def .pos { font: var(--wt-small); font-style: italic; color: var(--wt-text-3); margin-left: 4px; }
.def p + p { color: var(--wt-text-2); max-width: 52ch; }
.muted { color: var(--wt-text-3); }
.links { align-content: start; }

/* Privacy page */
.doc { grid-column: 1 / -1; padding: var(--pad); max-width: 44rem; }
.doc h1 { font: var(--wt-h1); letter-spacing: -0.015em; margin: 32px 0 6px; }
.doc .updated { font: 500 12px/16px var(--wt-font-mono); color: var(--wt-text-3); }
.doc h2 { font: 600 20px/28px var(--wt-font-sans); margin: 32px 0 8px; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--wt-text-2); }
.sheet.page { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: "lockup" "doc" "tb"; }
.sheet.page .doc { grid-area: doc; }

/* Tablets: the drawing goes under the words. Phones: one column, the plan between the headline and the form. */
@media (max-width: 959px) {
  :root { --pad: 28px; }
  .sheet {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas: "lockup" "headline" "drawing" "pitch" "tb";
  }
  .headline { max-width: 16ch; }
  .drawing { padding: 20px var(--pad) 8px; }
  .plan { height: auto; max-height: none; min-height: 0; }
  .pitch { padding-top: 12px; }
}
@media (max-width: 599px) {
  :root {
    --inset: 8px; --pad: 18px;
    --wt-display: 600 40px/44px var(--wt-font-sans);
    --wt-h1: 600 32px/38px var(--wt-font-sans);
  }
  .lockup { padding-top: 20px; }
  .headline { padding-top: 28px; }
  .drawing { padding: 16px 6px 4px; gap: 10px 12px; }
  .drawing .hint, .drawing .readout { margin: 0 12px; }
  .plan .dim { display: none; }
  .readout .area { font-size: 18px; line-height: 24px; }
  .row { flex-direction: column; }
  .row input { flex: none; width: 100%; }
  .submit { width: 100%; }
  .titleblock { grid-template-columns: 1fr; }
  .cell, .cell:first-child { padding: 14px var(--pad); }
  .cell + .cell { border-left: 0; border-top: var(--wt-rule-hair) solid var(--wt-ink); }
}

@media (prefers-reduced-motion: reduce) {
  .plan .wall { stroke-dashoffset: 0; animation: none; }
  .plan .late { opacity: 1; animation: none; }
  .plan .vp, .readout { transition: none; }
}
