/* Follow Me Draw (prototype): two ways to make your own follower. Same fonts and quiet look as the other Follow Me sites. */
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-normal-300-700.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-italic-300-700.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/fonts/albert-sans-normal-300-700.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(/fonts/dm-mono-normal-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url(/fonts/patrick-hand-normal-400.woff2) format("woff2"); font-display: swap; }
:root { --bg: #fdfcf8; --ink: #1b1a17; --soft: #6d6a63; --line: #e8e6e0; --card: #fff; --red: #c8201a; --paper: #fffef9;
  --f-display: "Newsreader", Georgia, serif; --f-body: "Albert Sans", system-ui, sans-serif; --mono: "DM Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 1rem/1.55 var(--f-body); overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 18px 20px; position: relative; z-index: 5; }
.site-head__name { font: 400 1.5rem/1 var(--f-display); text-decoration: none; }
.site-head__name em { color: var(--red); }
.site-head nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-head nav a { text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.site-head nav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.k { font: 500 .76rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; }
h1 em, h2 em { color: var(--red); }
.hero { max-width: 760px; margin: 0 auto; padding: 6vh 20px 2vh; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.2rem); line-height: 1; margin: 0 0 .35em; }
.lede { color: var(--soft); max-width: 600px; margin: 0 auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; font: 500 .95rem/1 var(--f-body); padding: 13px 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .45; cursor: default; }
.btn--big { padding: 16px 26px; font-size: 1.05rem; background: var(--red); border-color: var(--red); }

/* the paper and its tools */
.studio { max-width: 1120px; margin: 3vh auto 0; padding: 0 20px; display: grid; grid-template-columns: 210px minmax(0, 1fr) 230px; gap: 18px; align-items: start; }
.paper { position: relative; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(40, 30, 10, .1), 0 2px 0 #eee8d8; overflow: hidden;
  background-image: radial-gradient(rgba(120, 100, 60, .05) 1px, transparent 1px); background-size: 18px 18px; }
.paper canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.paper__msg { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: 400 1.15rem/1.2 "Patrick Hand", cursive; color: var(--soft); pointer-events: none; margin: 0; }
.tools { display: grid; gap: 12px; }
.tools h2 { font-size: 1.1rem; margin: 0; }
.crayons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.crayon { aspect-ratio: 1; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.crayon[aria-checked="true"] { box-shadow: 0 0 0 3px var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; font: 500 .85rem/1 var(--f-body); cursor: pointer; color: var(--ink); }
.seg button[aria-checked="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.side { display: grid; gap: 12px; }
.side .btn { justify-content: center; }
.note { font-size: .88rem; color: var(--soft); margin: 0; }

/* sections the creature can use (ledges, open space) */
.sec { max-width: 1120px; margin: 12vh auto 0; padding: 0 20px; }
.sec h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); text-align: center; margin: 0 0 .4em; }
.sec > p { text-align: center; color: var(--soft); max-width: 620px; margin: 0 auto 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--soft); font-size: .95rem; }
.card .k { margin-bottom: 8px; }
.foot { text-align: center; color: var(--soft); font-size: .88rem; padding: 14vh 20px 140px; }
.foot p { margin: 4px 0; }
.foot a { color: var(--ink); }

/* the live layer, and the "Following you" bar */
.live { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
.pick { position: fixed; z-index: 70; left: 50%; bottom: 16px; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px rgba(40, 30, 10, .16); max-width: calc(100vw - 24px); }
.pick[hidden] { display: none; }
.pick__now { display: grid; line-height: 1.1; min-width: 0; }
.pick__k { font: 500 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.pick__now b { font: 400 1.25rem/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.pick__list { display: flex; gap: 4px; }
.pick__list button { width: 50px; height: 50px; border-radius: 14px; border: 2px solid transparent; background: #f5f1e8; padding: 2px; cursor: pointer; }
.pick__list button[aria-pressed="true"] { border-color: var(--ink); }
.pick__list img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pick__new { border-radius: 999px !important; width: auto !important; padding: 0 14px !important; font: 500 .82rem/1 var(--f-body); color: var(--ink); }

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .crayons { grid-template-columns: repeat(8, 1fr); }
  .pick__now { display: none; }
}
