/* Follow Me Creations: the family's look (Newsreader, Albert Sans, DM Mono; warm paper, ink, one red). */
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-normal-300-700.woff2) format("woff2"); font-weight: 300 700; font-style: normal; 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-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root { --bg: #fdfdfb; --ink: #1b1a17; --soft: #6d6a63; --line: #e4e1d8; --card: #fff; --red: #c8261d; --wash: #f4f1e8;
  --mono: "DM Mono", ui-monospace, monospace; --f-display: "Newsreader", Georgia, serif; --f-body: "Albert Sans", system-ui, sans-serif; --f-mono: "DM Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.06rem/1.6 var(--f-body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; color: var(--red); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; text-wrap: balance; }
.k { font: 400 .74rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin: 0 0 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
#bug-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }      /* the animal that follows you (the sites' own engine) */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px clamp(16px, 4vw, 44px); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font: 400 1.4rem/1 var(--f-display); text-decoration: none; white-space: nowrap; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px; }
.top nav a { text-decoration: none; font-size: .92rem; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); transition: background .2s, color .2s, border-color .2s; }
.top nav a:hover, .top nav a:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }

.hero { max-width: 1000px; margin: 0 auto; padding: clamp(40px, 8vh, 84px) clamp(16px, 4vw, 44px) 0; text-align: center; }
.hero h1 { font-size: clamp(3rem, 10.5vw, 7.4rem); line-height: .94; letter-spacing: -.025em; }
.hero__strap { font: italic 400 clamp(1.3rem, 2.9vw, 2rem)/1.2 var(--f-display); margin: 20px 0 0; }
.hero__lede { max-width: 38em; margin: 14px auto 0; font-size: clamp(1rem, 1.5vw, 1.12rem); color: #45423c; }

/* choose who follows you */
.who { max-width: 860px; margin: 0 auto; padding: clamp(26px, 5vh, 44px) clamp(16px, 4vw, 44px) clamp(34px, 6vh, 60px); text-align: center; }
.who h2 { margin-bottom: 14px; }
.who__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.who__row button { display: grid; justify-items: center; gap: 4px; width: 104px; padding: 10px 6px 9px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); font: 500 .86rem/1.1 var(--f-body); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.who__row button canvas { width: 56px; height: 56px; }
.who__row button:hover { transform: translateY(-2px); border-color: var(--ink); }
.who__row button[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.who__hint { margin: 14px auto 0; max-width: 34em; font-size: .92rem; color: var(--soft); }
.who__hint .lead-name { color: var(--red); font-style: italic; font-family: var(--f-display); font-size: 1.08em; }

/* the sites: compact cards, like the place cards on the sites themselves */
.sites { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.site { grid-column: span 2; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; scroll-margin-top: 90px; box-shadow: 0 18px 30px -28px rgba(40, 30, 10, .35); transition: transform .25s, box-shadow .25s; }
.site:hover { transform: translateY(-3px); box-shadow: 0 26px 36px -28px rgba(40, 30, 10, .45); }
.site__pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.site__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.site:hover .site__pic img { transform: scale(1.05); }
.site__txt { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.site .k { margin-bottom: 8px; font-size: .68rem; }
.site h2 { font-size: clamp(1.6rem, 2.5vw, 2.05rem); line-height: 1.05; letter-spacing: -.01em; }
.site h2 a { text-decoration: none; }
.site__line { margin: 8px 0 12px; color: #45423c; font-size: .98rem; line-height: 1.45; }
.site__facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.site__facts li { font: 400 .7rem/1.2 var(--f-mono); letter-spacing: .03em; padding: 6px 9px; border-radius: 999px; background: var(--wash); }
.site__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: auto 0 0; }
.site__url { font: 400 .72rem/1 var(--f-mono); color: var(--soft); overflow-wrap: anywhere; }
.site .btn { padding: 10px 20px; font-size: .92rem; }
/* the "what's coming next" card: the same size as the others, but plainly not a site yet */
.site--next { background: transparent; border-style: dashed; border-color: #cfcabb; box-shadow: none; }
.site--next:hover { transform: none; box-shadow: none; }
.site--next .site__pic { background: var(--wash); border-bottom-style: dashed; border-bottom-color: #cfcabb; display: grid; place-items: center; }
.site--next .site__pic svg { width: 100%; height: 100%; }
.site__soon { font: 400 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); padding: 11px 16px; border: 1px dashed #cfcabb; border-radius: 999px; }
.btn { display: inline-block; text-decoration: none; background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: .98rem; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--red); border-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.same { max-width: 1180px; margin: 0 auto; padding: clamp(60px, 11vh, 120px) clamp(16px, 4vw, 44px) clamp(40px, 8vh, 90px); }
.same h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; margin-bottom: 30px; }
.same__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.same__grid > div { background: var(--wash); border-radius: 20px; padding: 22px 22px 8px; }
.same__grid h3 { font-size: 1.4rem; margin-bottom: 8px; }
.same__grid p { margin: 0 0 14px; color: #45423c; font-size: .98rem; }

.foot { border-top: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 44px) 54px; text-align: center; }
.foot__brand { font: 400 1.7rem/1 var(--f-display); margin: 0 0 18px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 20px; }
.foot nav a { text-underline-offset: 3px; }
.foot__by { margin: 0; color: var(--soft); font-size: .92rem; }

/* the meeting place: the sites' play area (play.css), with its own heading and the "call the others" button */
.meet { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 10vh, 110px) clamp(16px, 4vw, 44px) 0; }
.meet__head { text-align: center; max-width: 44em; margin: 0 auto 26px; }
.meet__head h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; }
.meet__lede { margin: 14px auto 20px; color: #45423c; }
.meet .play__box { max-width: none; min-height: 460px; }
.friends[aria-pressed="true"] { background: var(--red); border-color: var(--red); }

/* the story of the ladybird: the last thing on the page */
.story { max-width: 1040px; margin: 0 auto; padding: clamp(20px, 5vh, 60px) clamp(16px, 4vw, 44px) clamp(60px, 11vh, 120px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.story__pic { position: sticky; top: 110px; aspect-ratio: 1; border-radius: 50%; background: var(--wash); display: grid; place-items: center; }
.story__pic canvas { width: 78%; height: 78%; }
.story h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; margin-bottom: 20px; }
.story__txt p:not(.k) { margin: 0 0 16px; color: #33312c; font-size: 1.08rem; line-height: 1.7; max-width: 36em; }
.story__txt p.story__hint { font: 400 .74rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: -8px 0 20px; }
.story__txt p[data-cast] { transition: opacity .5s; }
.story.is-telling p[data-cast]:not(.is-read) { opacity: .42; }
.story__txt p[data-cast="ladybird"]::first-letter { font: 400 3.5em/.82 var(--f-display); float: left; padding: 6px 10px 0 0; color: var(--red); }

@media (max-width: 980px) { .site { grid-column: span 3; } }
@media (max-width: 640px) {
  .sites { grid-template-columns: 1fr; }
  .site { grid-column: auto; }
  .top { justify-content: center; }
  .top nav { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .who__row button { width: 92px; }
  .story { grid-template-columns: 1fr; }
  .story__pic { position: static; width: 150px; margin: 0 auto; }
  .story__txt .k, .story h2, .story__txt p.story__hint { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site, .site__pic img, .who__row button { transition: none; } .site:hover, .site:hover .site__pic img, .who__row button:hover { transform: none; } }
@media print { #bug-canvas { display: none; } }
