
:root {
  --ink: #111111;
  --muted: #5E5E5E;
  --line: #E6E6E3;
  --ground: #FFFFFF;
  --soft: #F4F4F2;
  --ring: #CFCFCB;
  --pad: clamp(20px, 4.4vw, 64px);
  --tx: 20px;
  --sec: clamp(112px, 15vw, 220px);
  --h2: clamp(34px, 3.7vw, 54px);
  --h2c: calc(var(--h2) * 0.52);
  --pl: clamp(34px, 4.2vw, 60px);
  --plc: calc(var(--pl) * 0.53);
  --sans: "Urbanist", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --pw: min(560px, max(380px, calc(100svh - 330px)));
  --ease: cubic-bezier(.7, 0, .2, 1);
}
html { background: var(--ground); }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, p, figure, ol, ul { margin: 0; }
.page { position: relative; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.row { display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 4fr) minmax(0, 4fr) minmax(0, 62fr); align-items: start; }
.L { grid-column: 1 / 2; }
.gut { grid-column: 2 / 4; justify-self: center; position: relative; z-index: 6; }
.R { grid-column: 4 / 5; position: relative; }
.sec { padding-top: var(--sec); position: relative; }
.mono { font-family: var(--mono); font-size: 13px; line-height: 1.5; }

/* The thread */
.rail { position: absolute; inset: 0; max-width: 1440px; margin-inline: auto; pointer-events: none; z-index: 4; }
.thread { position: absolute; top: 0; left: calc(var(--pad) + (100% - 2 * var(--pad)) * 0.34 - 1px); width: 2px; height: 100%; background: var(--ink); transform-origin: 50% 0; }
.kit-js:not(.is-static) .thread { transform: scaleY(0); }

/* Clusters of beads that each section hangs from */
.cluster { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cluster span { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: block; }
.cluster span:nth-child(2) { width: 14px; height: 14px; }
.cluster .w { border: 1px solid var(--ring); }
.sec > .gut, .fixes-pin > .gut { margin-top: calc(var(--h2c) - 20px); }

/* Type */
h1 { font-weight: 900; font-size: clamp(40px, 5vw, 74px); line-height: .98; letter-spacing: -0.03em; }
h1 .l { display: block; }
h2 { font-weight: 700; font-size: var(--h2); line-height: 1.04; letter-spacing: -0.03em; }
.lede { color: var(--muted); max-width: 30em; margin-top: 28px; }
.L > p { color: var(--muted); max-width: 26em; margin-top: 28px; }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; height: 88px; align-items: center; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 23px; letter-spacing: -0.03em; line-height: 1; }
.brand svg { width: 30px; height: 14px; }
.nav-links { grid-column: 4 / 5; justify-self: end; display: flex; gap: 32px; font-size: 16px; font-weight: 500; }
.nav-links a { text-decoration: none; padding: 6px 0; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 24px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1.5px solid var(--ink); text-decoration: none;
  font: 500 16px/1 var(--sans); --k-fill: #FFFFFF; --k-fill-ink: var(--ink);
  transition: color .45s var(--ease), transform .18s ease;
}
.btn:active, .chip:active, .pr:active, .step:active { transform: scale(.97); }
.btn svg { width: 14px; height: 14px; }
.tlink { font-size: 16px; font-weight: 500; padding: 4px 0; }
.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Hero */
.hero { min-height: 100svh; padding-top: calc(88px + 3vh); padding-bottom: 5vh; align-items: center; position: relative; }
.hero-copy { grid-column: 1 / 3; padding-right: 28px; }
.hero .cta-row { margin-top: 40px; }
.hero-vis { grid-column: 4 / 5; justify-self: center; width: var(--pw); }
.panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; width: 100%; aspect-ratio: 1; }
.sk { position: relative; border-radius: 50%; border: 1px solid var(--line); aspect-ratio: 1; }
.sk .bd { position: absolute; inset: -1px; border-radius: 50%; display: block; cursor: default; }
.sk .bd.is-html { border: 1px solid var(--ring); }
.sk .bd:hover { outline: 2px solid var(--ink); outline-offset: 2px; z-index: 2; }
.chips { display: flex; gap: 8px; margin-top: 28px; }
.chip {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 500 15px/1 var(--sans); --k-fill: var(--soft); --k-fill-ink: var(--ink);
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .3s ease, transform .18s ease;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; --k-fill: var(--ink); --k-fill-ink: #fff; }
.cap { display: flex; flex-wrap: wrap; column-gap: 1.6em; margin-top: 16px; font: 400 13px/1.5 var(--mono); color: var(--muted); }
.cap .c-net { color: var(--ink); }

/* Strings */
.str { position: relative; width: 100%; }
.sline { position: absolute; top: 0; overflow: visible; max-width: none; }
.sline path { fill: none; stroke: var(--ink); stroke-width: 2; }
.bd.s { position: absolute; display: block; }
.bd.s .dot { position: absolute; inset: 0; border-radius: 50%; transition: opacity .5s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.dot.is-html { border: 1px solid var(--ring); }
.bd.s:hover .dot { outline: 2px solid var(--ink); outline-offset: 2px; }
.bd.dim .dot { opacity: .16; }
.bd.pick .dot { transform: scale(1.32); outline: 2px solid var(--ink); outline-offset: 3px; }
.tag { position: absolute; transform: translateX(-50%); font: 400 11px/1 var(--mono); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.tag.on { opacity: 1; }

/* Section 2 */
.s2-below { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(40px, 6vw, 96px); margin-top: 88px; align-items: end; }
.legend { list-style: none; padding: 0; font: 400 14px/1 var(--mono); }
.legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 16px; align-items: center; height: 46px; border-top: 1px solid var(--line); }
.legend li:last-child { border-bottom: 1px solid var(--line); }
.legend .dot { width: 14px; height: 14px; border-radius: 50%; display: block; }
.legend .n { color: var(--muted); }
.note { margin-top: 20px; font: 400 12.5px/1.6 var(--mono); color: var(--muted); }
.portrait { aspect-ratio: 3 / 4; width: 100%; overflow: hidden; background: var(--soft); }
.portrait img, .hands img { width: 100%; height: 100%; object-fit: cover; }

/* Section 3 */
.towns-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 64px; align-items: start; margin-top: var(--h2c); }
.strands { position: relative; }
.slab { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.slab .sn { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; }
.slab .st { display: block; font: 400 13px/1.5 var(--mono); color: var(--muted); }
.hands { aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }

/* Section 4 */
.fixes { position: relative; }
.fixes-pin { min-height: 100vh; align-content: center; padding-block: 96px; position: relative; z-index: 5; background: transparent; }
.steps { list-style: none; padding: 0; margin-top: 48px; max-width: 340px; }
.step {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; width: 100%; height: 50px; padding: 0;
  background: none; border: 0; border-top: 1px solid var(--line); text-align: left; font: 400 14px/1 var(--mono); color: var(--muted);
  transition: color .4s ease, transform .18s ease;
}
.steps li:last-child .step { border-bottom: 1px solid var(--line); }
.step[aria-current="true"] { color: var(--ink); }
.step:hover { color: var(--ink); }
.cardzone { position: relative; margin-top: 92px; }
.cardbox { width: min(410px, 100%); display: grid; border: 1px solid var(--line); border-radius: 18px; background: #fff; position: relative; z-index: 1; }
.pane { grid-area: 1 / 1; padding: 22px 24px 24px; }
.pane-head { display: flex; justify-content: space-between; gap: 16px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.pane-head .num { color: var(--ink); }
.pane-say { margin-top: 16px; font: 400 14.5px/1.55 var(--mono); }
.diff { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; font: 400 12.5px/1.8 var(--mono); overflow-x: auto; }
.diff span { display: block; padding: 0 14px; white-space: pre; }
.diff .del { color: var(--muted); }
.diff .add { background: var(--soft); }
.pane-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.pane-foot .kb { font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.pr {
  height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
  font: 500 15px/1 var(--sans); --k-fill: #FFFFFF; --k-fill-ink: var(--ink); transition: color .45s var(--ease), transform .18s ease;
}
.pr.done { background: #fff; color: var(--ink); }
.drop { position: absolute; left: 0; top: 0; width: 2px; background: var(--ink); z-index: 0; }
.kit-js:not(.is-static) .pane { opacity: 0; visibility: hidden; }

/* Section 5 */
.street { padding-top: var(--sec); position: relative; }
.fixes + .street { padding-top: calc(var(--sec) * .4); }
.street-fig { position: relative; height: min(82vh, 58vw); min-height: 460px; overflow: hidden; background: var(--soft); }
.street-fig img { width: 100%; height: 100%; object-fit: cover; }
.street-over { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; align-items: end; }
.street-over .gut { align-self: start; margin-top: -58px; }
.street-panel { grid-column: 3 / 5; justify-self: start; background: #fff; padding: 34px 48px 38px 44px; pointer-events: auto; margin-left: -1px; }
.street-panel p { font-weight: 700; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -0.03em; max-width: 11em; }

/* Section 6 */
.price .label { padding-top: calc(var(--plc) - 10px); font: 400 13px/1.5 var(--mono); color: var(--muted); }
.price > .gut { margin-top: calc(var(--plc) - 20px); }
.price-line { font-weight: 700; font-size: var(--pl); line-height: 1.06; letter-spacing: -0.03em; max-width: 14em; }
.price-line span { display: block; color: var(--muted); }
.price .cta-row { margin-top: 48px; }
.fine { margin-top: 28px; font: 400 12.5px/1.6 var(--mono); color: var(--muted); }

/* Footer */
.foot { --fpt: clamp(112px, 12vw, 176px); padding-top: var(--fpt); padding-bottom: 44px; position: relative; }
.foot > .gut { align-self: start; }
.knot { display: block; width: 40px; height: 84px; overflow: visible; }
.knot path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.knot .under { stroke: #fff; stroke-width: 7; }
.foot-L .mono { margin-top: 14px; color: var(--muted); }
.foot-R { display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 28px; font-size: 16px; font-weight: 500; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-R .mono { color: var(--muted); max-width: 30em; }

/* Tooltip */
.tip {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; white-space: nowrap;
  background: var(--ink); color: #fff; font: 400 12px/1 var(--mono); padding: 10px 13px; border-radius: 8px;
  opacity: 0; transition: opacity .16s ease;
}
.tip.on { opacity: 1; }
.tip span + span { margin-left: 1.6em; color: #C9C9C4; }

/* Tablet and phone: the thread runs down the left edge */
@media (max-width: 1079px) {
  .wrap { padding-left: calc(var(--tx) + 32px); padding-right: 20px; }
  .row { display: block; }
  .row.nav { display: flex; justify-content: space-between; }
  .thread { left: calc(var(--tx) - 1px); }
  .gut { position: absolute; left: calc(var(--tx) - 7px); top: calc(var(--gt, var(--sec)) + var(--h2c) - 20px); }
  .sec > .gut, .fixes-pin > .gut, .price > .gut { margin-top: 0; }
  .nav-links { gap: 22px; font-size: 15px; }
  .nav-links .wide { display: none; }
  .hero { min-height: 0; padding-top: 132px; padding-bottom: 0; }
  .hero-copy { padding-right: 0; }
  h1 .l { display: inline; }
  .hero-vis { width: 100%; max-width: 520px; margin-top: 56px; }
  .chips { gap: 6px; }
  .chip { padding: 0 12px; font-size: 13.5px; }
  .cap { font-size: 12px; column-gap: 1.2em; }
  .str { margin-top: 48px; }
  .s2-below { grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 56px; }
  .portrait { max-width: 360px; aspect-ratio: 4 / 5; }
  .towns-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 56px; }
  .hands { max-width: 360px; }
  .fixes { padding-top: var(--sec); }
  .fixes + .street { padding-top: var(--sec); }
  .fixes-pin { min-height: 0; padding-block: 0; --gt: 0px; }
  .steps, .drop { display: none; }
  .cardzone { margin-top: 44px; }
  .cardbox { width: 100%; display: block; border: 0; border-radius: 0; background: none; }
  .pane { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; }
  .pane + .pane { margin-top: 14px; }
  .kit-js:not(.is-static) .pane { opacity: 1; visibility: visible; }
  .street-fig { height: min(78vh, 118vw); min-height: 420px; }
  .street-over .gut { top: -56px; margin-top: 0; }
  .street-panel { margin-left: -33px; padding: 26px 26px 28px 30px; }
  .price .label { padding-top: 0; margin-bottom: 20px; }
  .price > .gut { top: calc(var(--sec) - 11px); }
  .foot > .gut { left: calc(var(--tx) - 20px); top: var(--fpt); }
  .foot-R { margin-top: 40px; flex-direction: column; gap: 20px; }
}
@media (min-width: 700px) and (max-width: 1079px) {
  :root { --tx: 36px; }
  .wrap { padding-left: calc(var(--tx) + 48px); padding-right: 48px; }
}
