/* The landing page beyond the hero: Mrs Purl talking, the social links, the headline. The pattern book lives in book.css and marks.css, the phone in movie.css. */
/* Mrs Purl, animated, with something to say */
.hero-purl { position: relative; justify-self: center; width: min(460px, 100%); }
.purl-svg { display: block; width: 100%; height: auto; }
.bubble {
  position: absolute; top: 4%; left: -6%; max-width: 15ch;
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: 12px 16px;
  font-weight: 900; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.25;
  box-shadow: 0 6px 0 rgba(42, 28, 24, .12);
}
.bubble::after { content: ''; position: absolute; right: 18%; bottom: -10px; border: 12px solid transparent; border-top-color: var(--paper); border-bottom: 0; }
.bubble.pop { animation: pop .35s ease-out; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bubble.pop { animation: none; } }

/* Knitting is relaxing. Patterns, not so much. */
.story { padding: 64px 0 8px; }
.story h2 { margin: 0; font-weight: 900; font-size: clamp(34px, 6vw, 64px); line-height: 1; letter-spacing: -1px; max-width: 14ch; }
.story h2 em { font-style: normal; color: var(--cobalt); }
.paper {
  position: relative; background: #fff; border-radius: 6px; padding: 28px 26px 30px 44px;
  border: 1.5px solid var(--line); box-shadow: 0 14px 30px rgba(42, 28, 24, .08);
  font-weight: 600; font-size: 15.5px; line-height: 1.7; color: #4a3b35;
}
.paper .page { position: absolute; top: 10px; right: 16px; font-size: 12px; font-weight: 700; color: #a99a8f; }
.paper p { margin: 0 0 10px; }
.paper { font-size: 14.5px; line-height: 1.65; }
.paper .head { margin: 18px 0 6px; font-weight: 900; color: var(--ink); text-transform: uppercase; letter-spacing: 1px; font-size: 12.5px; }
.paper s { text-decoration-color: #8f8279; text-decoration-thickness: 2px; }
.paper .pencil { position: relative; top: -12px; margin-left: 2px; font-weight: 900; font-size: 13px; color: #8f8279; display: inline-block; }
.paper .q { font-weight: 900; color: var(--red); font-size: 17px; margin-left: 4px; display: inline-block; }
.paper .cont { margin: 14px 0 0; text-align: right; font-weight: 700; font-style: italic; color: #a99a8f; }
.paper mark { background: linear-gradient(transparent 55%, rgba(128, 171, 215, .75) 55%); color: inherit; padding: 0 1px; }
.paper .circle { position: relative; white-space: nowrap; }
.paper .circle { border: 2px solid var(--red); border-radius: 6px; padding: 0 4px; }
.tally { position: absolute; left: 10px; top: 34px; width: 22px; height: 150px; }
.sticky {
  position: absolute; right: 26px; bottom: -22px; width: auto; padding: 12px 16px; background: var(--oat);
  border-radius: 4px;
  font-weight: 900; font-size: 19px; line-height: 1.15; color: var(--ink);
}
.say { margin: 56px 0 0; max-width: 30ch; font-weight: 800; font-size: clamp(22px, 3vw, 32px); line-height: 1.3; }
.say b { color: var(--cobalt); font-weight: 900; }
.maker { margin: 26px 0 0; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink-2); }
.maker img { width: 44px; height: 44px; }
@media (max-width: 760px) {
  .paper .cont { display: none; }
  .sticky { right: 16px; bottom: 18px; max-width: 46%; font-size: 15px; line-height: 1.2; z-index: 1; }
  .bubble { left: -2%; top: -3%; max-width: 11ch; font-size: 14.5px; padding: 10px 13px; }
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.social { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); background: rgba(255, 252, 244, .55); opacity: .85; }
.social:hover { opacity: 1; background: var(--paper); }
.social svg { width: 18px; height: 18px; }
.footer nav { flex-wrap: wrap; }
@media (max-width: 560px) { .nav-right { gap: 8px; } .nav-right .nav-link { display: none; } .social { width: 34px; height: 34px; } .brand { min-width: 0; } }
  
