/* WanderLeaf website. Moonlit (the night look) for every visitor (owner, 2026-10-21). The
   Prismatic (light) values stay in :root, and the "@media all" blocks put Moonlit over them.
   No scripts, no cookies, nothing loaded from other sites: the font (Figtree, SIL Open Font License) is in assets/fonts. */

@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_400Regular.ttf?v=fde4a0ff') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_600SemiBold.ttf?v=0aea8911') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_700Bold.ttf?v=c35c3ee5') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_800ExtraBold.ttf?v=2960d6e0') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --page: #F4F8F3;
  --cream: #FBF8E8;
  --card: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.72);
  --ink: #12352C;
  --muted: #557268;
  --accent: #0E8C74;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3F3EC;
  --chip: #EBF5E6;
  --chip-ink: #3F6E2E;
  --line: #D9E9E1;
  --shadow: 0 10px 30px rgba(18, 53, 44, 0.08);
  --meadow-art: url('art/poppy-meadow.webp?v=03b9da41');
  --corner-art: url('art/poppy-corner.webp?v=0fdf324a');
  --edge-art: url('art/fern-band-left.webp?v=dfbf6a1a');
  --edge-art-right: url('art/poppy-band-right.webp?v=facf28cd');
  --rainbow: linear-gradient(120deg, rgba(255, 170, 170, .55), rgba(255, 226, 150, .55), rgba(160, 230, 190, .55), rgba(150, 200, 255, .55), rgba(215, 170, 255, .55));
}

/* Moonlit is the look for everyone (owner, 2026-10-21); the Prismatic values above are kept in case the light look comes back. */
@media all {
  :root {
    --page: #071C1C;
    --cream: #0B2423;
    --card: #0E2A28;
    --glass: rgba(14, 42, 40, 0.78);
    --ink: #E4F5EE;
    --muted: #9CC2B5;
    --accent: #8EF0C9;
    --accent-ink: #062019;
    --accent-soft: rgba(142, 240, 201, 0.12);
    --chip: rgba(142, 240, 201, 0.12);
    --chip-ink: #B5F5DB;
    --line: rgba(142, 240, 201, 0.22);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --meadow-art: url('art/moonlit-ferns.webp?v=b6afb976');
    --corner-art: url('art/poppy-corner-night.webp?v=f4772a6b');
    --edge-art: url('art/fern-band-left-night.webp?v=2db41787');
    --edge-art-right: url('art/poppy-band-right-night.webp?v=ba57bfe6');
    --rainbow: linear-gradient(120deg, rgba(142, 240, 201, .45), rgba(142, 240, 201, .12), rgba(142, 240, 201, .45));
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.prose { max-width: 720px; }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 2px 8px rgba(18, 53, 44, .15); }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0 -10px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* App icon (404 page) */
.app-icon { width: 132px; height: 132px; margin: 18px auto 22px; border-radius: 30px; box-shadow: 0 16px 40px rgba(18, 53, 44, .18), 0 0 0 1px rgba(18, 53, 44, .06); }

/* Sections */
.band { padding: 40px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .6em; }
h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--ink); max-width: 44rem; }
.muted { color: var(--muted); }

.glass {
  position: relative; background: var(--glass); border-radius: 24px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.features { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; padding: 0; list-style: none; }
.feature { padding: 20px 20px 20px 112px; min-height: 120px; background: var(--card); }
.feature img { position: absolute; left: 10px; top: 14px; width: 92px; height: 92px; object-fit: contain; }
.feature h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

.calm { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.calm li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--chip); color: var(--ink); }
.calm li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--accent); }
.calm strong { display: block; }

.meadow { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: 36px 20px; text-align: center; }
.meadow::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--meadow-art) center bottom / cover no-repeat; opacity: .6; }
/* Home's "Questions or ideas?" box: blossoms and moon, sharp at any size (owner's pick A, 2026-10-21; make_closing_bg.py) */
.home .meadow::before { background: url('art/closing-blossoms.webp?v=b2c10fa0') center / cover no-repeat; opacity: 1; }
.home .meadow::after { display: none; }
@media (max-width: 699px) { .home .meadow::before { background-position: 88% center; } } /* phones: the moon and blossoms */
.meadow::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--page) 10%, transparent 90%); opacity: .8; }
.meadow .lead { margin-left: auto; margin-right: auto; }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.button:hover { filter: brightness(1.06); }
.button.ghost { background: var(--card); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Inner pages (policy, permissions, support) */
.page { position: relative; padding: 18px 0 56px; }
.page::before {
  content: ''; position: absolute; top: -70px; right: 0; width: 110px; height: 258px; z-index: -1;
  background: var(--corner-art) right top / contain no-repeat; opacity: .9; pointer-events: none;
}
body.inner { position: relative; isolation: isolate; }
/* Smaller and balanced so no word is left alone on a line (owner, 2026-10-21: "AI" sat on its own line) */
.page-title { font-size: clamp(1.7rem, 6.5vw, 2.4rem); font-weight: 800; margin-top: 18px; padding-right: 70px; text-wrap: balance; }
.updated { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--chip-ink); background: var(--chip); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; scroll-margin-top: 16px; }
.prose h3 { font-size: 1.12rem; font-weight: 800; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.toc { padding: 16px 20px; margin: 8px 0 24px; }
.toc p { font-weight: 800; margin: 0 0 .4em; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
.toc li { margin: 0 0 .3em; break-inside: avoid; }
.card-box { background: var(--card); padding: 18px 20px; margin: 16px 0; border-radius: 22px; box-shadow: var(--shadow); }
.card-box > :last-child { margin-bottom: 0; }
.perm-head { display: flex; align-items: center; gap: 12px; margin-bottom: .4em; }
.perm-head svg { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.perm-head h2 { margin: 0; font-size: 1.3rem; }
.label { font-weight: 800; }
.note { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; font-weight: 600; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: .6em 0 0; color: var(--muted); }

/* The fern down the left edge on wide screens only (never over text). */
@media (min-width: 1240px) {
  body.inner::before, body.inner::after {
    content: ''; position: fixed; top: 0; bottom: 0; width: 104px; z-index: -1; pointer-events: none; opacity: .75;
  }
  body.inner::before { left: 0; background: var(--edge-art) left center / auto 100% no-repeat; }
  body.inner::after { right: 0; background: var(--edge-art-right) right center / auto 100% no-repeat; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .95rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.site-footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 4px 0; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer p { margin: .3em 0; }
.site-footer .made { font-weight: 700; color: var(--ink); }

/* 404 */
.lost { text-align: center; padding: 30px 0 60px; }
.lost h1 { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; }

@media (min-width: 700px) {
  body { font-size: 18px; }
  .app-icon { width: 160px; height: 160px; border-radius: 36px; }
  .features { grid-template-columns: 1fr 1fr; gap: 20px; }
  .calm { grid-template-columns: 1fr 1fr; }
  .meadow { padding: 56px 40px; }
  .page::before { width: 128px; height: 300px; }
  .toc ol { columns: 2; column-gap: 32px; }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: 1fr 1fr 1fr; }
  .feature { padding: 120px 22px 24px; min-height: 0; }
  .feature img { left: 22px; top: 16px; width: 100px; height: 100px; }
}
@media (prefers-reduced-motion: no-preference) {
  .app-icon { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-6px); } }
}
@media print {
  .site-header .nav, .page::before, body.inner::before, body.inner::after, .toc { display: none; }
  body { background: #fff; color: #000; }
}
.card-box > h2:first-child { margin-top: 0; }

/* Home (owner's pick, 2026-10-21): the "Field journal" top with three phones, the satellite map from design 4 under
   it, three little phones (tiles C) and taped photos of this week's finds (tiles B). Drafts: docs/website-ideas/. */
:root {
  --paper: #FBF8E8; --frame: #2E261E; --print: #FFFFFF; --tape: rgba(240, 214, 160, .8); --panel: rgba(255, 255, 255, .88);
  --side-art: url('art/pressed-flowers.webp?v=681185d6'); --hill-art: url('art/spring-hillside.webp?v=9405b1b5');
  --sat-fade: rgba(7, 28, 28, .5);
}
/* Moonlit is the look for everyone (owner, 2026-10-21); the Prismatic values above are kept in case the light look comes back. */
@media all {
  :root {
    --paper: #071C1C; --frame: #020A0A; --print: #0E2A28; --tape: rgba(142, 240, 201, .3); --panel: rgba(9, 32, 31, .86);
    --side-art: url('art/moonlit-ferns-tall.webp?v=45d2a021'); --hill-art: url('art/moonlit-meadow.webp?v=96b0773a');
    --sat-fade: rgba(2, 12, 12, .7);
  }
}
body.home { background: var(--paper); }
.home section { position: relative; isolation: isolate; }

.art-sides { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.art-sides::before, .art-sides::after { content: ''; position: absolute; top: 0; bottom: 0; width: 34%; background-image: var(--side-art); background-size: cover; background-repeat: no-repeat; }
.art-sides::before { left: 0; width: 11%; background-position: left center; -webkit-mask-image: linear-gradient(to right, #000 45%, transparent); mask-image: linear-gradient(to right, #000 45%, transparent); }
.art-sides::after { right: 0; background-position: right center; -webkit-mask-image: linear-gradient(to left, #000 45%, transparent); mask-image: linear-gradient(to left, #000 45%, transparent); }
.art-sides.hill::before, .art-sides.hill::after { background-image: var(--hill-art); opacity: .3; }
.art-sides.hill::before { width: 34%; }

.home-hero { padding: 8px 0 30px; }
/* The night garden behind the top (owner, 2026-10-21): poppy-and-fern borders down both edges and a meadow along the
   bottom, all fading into the page (docs/website-ideas/make_hero_bg.py), with a soft glow behind the phones and a few
   fireflies. The borders grow with the space beside the text, so wide windows get more garden and phones a little. */
.home-hero { background: radial-gradient(ellipse 45% 55% at 72% 45%, rgba(142, 240, 201, .09), transparent 70%), linear-gradient(#081F1C, #0A221F 70%, #071C1C); }
.home-hero .art-sides::before, .home-hero .art-sides::after {
  width: clamp(110px, calc((100vw - 1080px) / 2 + 90px), 440px); opacity: .95;
  background-size: cover; background-repeat: no-repeat; -webkit-mask-image: none; mask-image: none;
}
.home-hero .art-sides::before { background-image: url('art/hero-left.webp?v=ab1af78b'); background-position: right top; }
.home-hero .art-sides::after { background-image: url('art/hero-right.webp?v=d773219d'); background-position: left top; }
.home-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(170px, 32%, 320px); z-index: -1; pointer-events: none;
  background: url('art/hero-ground.webp?v=dccc8855') center bottom / auto 100% repeat-x; opacity: .38;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}
@media (max-width: 699px) { .home-hero .art-sides::before, .home-hero .art-sides::after { opacity: .35; } }
.fly { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #F4FFB8; box-shadow: 0 0 10px 4px rgba(236, 255, 160, .45); opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .fly { animation: glow 5s ease-in-out infinite; }
  @keyframes glow { 50% { opacity: .15; transform: translateY(-6px); } }
}
.home-hero .wrap { display: grid; gap: 20px; align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .15em; }
.subtitle { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); opacity: .85; margin-bottom: .45em; }
.intro { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.45; color: var(--ink); max-width: 30em; margin-bottom: .9em; }
/* Bigger and easy to spot (owner, 2026-10-21): its own color on a soft highlight */
/* One row at every width (owner, 2026-10-21): as big as fits, up to 1.6rem. The line is about 22em wide with its icon. */
.snapline { display: inline-block; white-space: nowrap; font-size: min(1.6rem, calc((100vw - 70px) / 22.3)); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--accent); background: var(--accent-soft); padding: 10px 12px; border-radius: 16px; margin: 4px 0 .8em; }
.snapline svg { width: 1.2em; height: 1.2em; vertical-align: -.22em; margin-right: 10px; }
.home-hero .lead { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { cursor: default; display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid #A6A6A6; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font-size: 1.35rem; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.store small { font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
/* A store that's live is a link (App Store, 2026-11-05); "Coming soon" ones stay plain */
a.store { cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
a.store:hover, a.store:focus-visible { transform: translateY(-1px); border-color: #fff; }
.tagline { margin-top: 14px; font-size: .95rem; font-weight: 700; color: var(--muted); }

.phone { width: 230px; padding: 9px; border-radius: 44px; background: var(--frame); box-shadow: 0 30px 70px rgba(10, 40, 32, .3), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.phone img, .phone video { width: 100%; height: auto; aspect-ratio: 1320 / 2700; object-fit: cover; object-position: top; border-radius: 35px; }
.phone video { display: block; height: auto; background: #0B2421; }
.fan { position: relative; height: 400px; }
.fan .phone { position: absolute; top: 30px; left: 50%; width: 148px; padding: 6px; border-radius: 28px; }
.fan .phone img { border-radius: 23px; }
.fan .f1 { transform: translateX(-108%) rotate(-10deg); top: 70px; }
.fan .f2 { transform: translateX(-50%); z-index: 2; }
.fan .f3 { transform: translateX(8%) rotate(10deg); top: 70px; }

.apin { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.apin img { width: 52px; height: 52px; object-fit: cover; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 0 0 2.5px var(--accent), 0 12px 24px rgba(10, 40, 32, .3); }
.apin::after { content: ''; width: 12px; height: 12px; margin-top: -7px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.apin.big img { width: 66px; height: 66px; border-radius: 17px; }

.satband { padding: 60px 0; overflow: hidden; }
.satband::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('app/map-sat.webp?v=9414e007') center 45% / cover; }
.satband::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--sat-fade), transparent 65%), linear-gradient(var(--paper), transparent 150px, transparent calc(100% - 90px), var(--paper)); }
.satband .wrap { display: grid; gap: 30px; align-items: center; }
.panel { position: relative; padding: 26px 22px; border-radius: 30px; background: var(--panel); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 70px rgba(0, 0, 0, .25); }
.panel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: var(--rainbow); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.panel .lead { margin: 0; }
.satband .side { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.satband .side .phone { width: 190px; }
.bubble { position: absolute; z-index: 2; right: 0; bottom: 30px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: #12352C; font-size: .8rem; line-height: 1.35; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.bubble b { display: block; font-size: .92rem; }

.phones { display: grid; gap: 40px; margin: 28px 0 0; padding: 0; list-style: none; text-align: center; }
.phones .phone { margin: 0 auto 20px; width: 210px; }
.phones h3 { font-size: 1.3rem; font-weight: 800; }
.phones p { color: var(--muted); max-width: 22rem; margin: 0 auto; }

.prints { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.print { position: relative; background: var(--print); padding: 10px 10px 14px; border-radius: 6px; box-shadow: 0 16px 34px rgba(60, 40, 20, .16); }
.print:nth-child(4n+1) { transform: rotate(-2deg); } .print:nth-child(4n+2) { transform: rotate(1.5deg); }
.print:nth-child(4n+3) { transform: rotate(1deg); } .print:nth-child(4n) { transform: rotate(-1.5deg); }
.print::before { content: ''; position: absolute; top: -11px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: var(--tape); transform: rotate(-3deg); }
.print img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; margin-bottom: 10px; }
.print b { display: block; font-size: 1rem; line-height: 1.25; }
.print span { display: block; font-size: .82rem; color: var(--muted); }
.credit { font-size: .85rem; color: var(--muted); margin-top: 28px; }

@media (min-width: 700px) {
  .fan { height: 520px; } .fan .phone { width: 190px; padding: 8px; border-radius: 36px; } .fan .phone img { border-radius: 29px; }
  .phones { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .prints { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .panel { padding: 34px; }
  .satband .side .phone { width: 230px; }
  .apin img { width: 64px; height: 64px; border-radius: 16px; } .apin.big img { width: 84px; height: 84px; border-radius: 21px; }
}
@media (min-width: 1080px) {
  .home-hero .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .snapline { padding: 10px 16px; font-size: min(1.6rem, calc(((min(100vw, 1080px) - 52px) * .5833 - 44px) / 22.3)); }
}
@media (min-width: 900px) {
  .fan { height: 600px; } .fan .phone { width: 206px; padding: 9px; border-radius: 40px; } .fan .phone img { border-radius: 32px; }
  .fan .f1, .fan .f3 { top: 90px; }
  .satband { min-height: 660px; display: flex; align-items: center; }
  .satband .wrap { grid-template-columns: 1.1fr .9fr; width: 100%; }
}
@media (max-width: 699px) {
  .art-sides::before, .art-sides::after { width: 30% !important; opacity: .5; }
}

/* ---- Website 2 (owner, 2026-10-21), ideas from BeReal's site: a sticky top bar with a pill button, one big row per
   feature (phone and words alternating sides, rising gently into view), and a footer in columns. ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 28, 28, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(142, 240, 201, .1); }
.site-header .wrap { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
.site-header .nav { margin-left: auto; }
.pill { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #062019; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.pill:hover { background: var(--accent); }
@media (max-width: 699px) {
  .site-header .wrap { flex-wrap: wrap; }
  .site-header .nav { order: 3; width: 100%; margin: 0 -10px; }
  .pill { margin-left: auto; padding: 8px 14px; font-size: .85rem; }
}

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 70px; }
.row { display: grid; gap: 26px; align-items: center; }
.row-pic { display: flex; justify-content: center; }
.row-pic .phone { width: 230px; }
.row h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: .35em; }
.row .lead { color: var(--muted); font-size: 1.12rem; max-width: 30em; }
@media (min-width: 900px) {
  .rows { gap: 110px; }
  .row { grid-template-columns: 1fr 1fr; gap: 70px; }
  .row:nth-child(even) .row-pic { order: 2; }
  .row-pic .phone { width: 270px; }
}
/* Rising into view as you scroll (browsers without this just show them) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .row-pic .phone, .row-text { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
  }
}

.site-footer.cols { padding: 46px 0 50px; }
.site-footer.cols .wrap { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.site-footer.cols .foot-brand { grid-column: 1 / -1; }
.site-footer.cols nav { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.site-footer.cols .col-title { font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.site-footer.cols a { color: var(--muted); font-weight: 600; text-decoration: none; }
.site-footer.cols a:hover { color: var(--accent); }
.site-footer.cols .brand { color: var(--ink); margin-bottom: 8px; }
.site-footer.cols .small { font-size: .85rem; margin-top: 10px; }
@media (min-width: 900px) { .site-footer.cols .wrap { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .site-footer.cols .foot-brand { grid-column: auto; } }

/* Animated phones (website 2, 2026-10-21; BeReal plays short screen videos, these are drawn instead): a lock screen
   where WanderLeaf notifications slide in, and a photo being named, its card sliding up and "Added to your field
   guide". Each loops every 9 s; with reduced motion they show the finished screen. Sizes are in cqw (the phone's width). */
.phone.live { container-type: inline-size; }
.screen { position: relative; aspect-ratio: 1320 / 2700; border-radius: 35px; overflow: hidden; background: #0B2421; }
.lock { background: url('art/lock-wallpaper.webp?v=45272ccc') center top / cover; color: #fff; text-align: center; }
.lock-day { margin: 14cqw 0 1.5cqw; font-size: 5.6cqw; font-weight: 600; opacity: .9; }
.lock-time { margin: 0; font-size: 24cqw; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.lock .note { border-left: 0; color: #fff; }
.note { position: absolute; left: 4.5cqw; right: 4.5cqw; display: flex; align-items: center; gap: 3.5cqw; padding: 3.6cqw 4cqw; border-radius: 6cqw; text-align: left;
  background: rgba(30, 44, 42, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, .3); }
.note img { width: 10.5cqw; height: 10.5cqw; border-radius: 2.6cqw; flex: none; }
.note p { margin: 0; flex: 1; min-width: 0; line-height: 1.25; }
.note b { display: block; font-size: 4.3cqw; }
.note span { display: block; font-size: 4cqw; opacity: .9; }
.note small { align-self: flex-start; font-size: 3.4cqw; opacity: .7; }
.n1 { top: 58cqw; } .n2 { top: 82cqw; } .n3 { top: 106cqw; }

.ident img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-c { position: absolute; width: 14cqw; height: 14cqw; border: 1.2cqw solid #fff; opacity: .9; }
.frame-c.tl { left: 12cqw; top: 40cqw; border-right: 0; border-bottom: 0; border-radius: 5cqw 0 0 0; }
.frame-c.tr { right: 12cqw; top: 40cqw; border-left: 0; border-bottom: 0; border-radius: 0 5cqw 0 0; }
.frame-c.bl { left: 12cqw; top: 120cqw; border-right: 0; border-top: 0; border-radius: 0 0 0 5cqw; }
.frame-c.br { right: 12cqw; top: 120cqw; border-left: 0; border-top: 0; border-radius: 0 0 5cqw 0; }
.scan { position: absolute; left: 12cqw; right: 12cqw; top: 40cqw; height: 1cqw; border-radius: 1cqw; background: #8EF0C9; box-shadow: 0 0 6cqw 2cqw rgba(142, 240, 201, .6); opacity: 0; }
.naming { position: absolute; left: 50%; top: 140cqw; transform: translateX(-50%); margin: 0; padding: 2.4cqw 5cqw; border-radius: 99px; background: rgba(7, 28, 28, .72); color: #8EF0C9; font-size: 4.2cqw; font-weight: 700; white-space: nowrap; opacity: 0; }
.wcard { position: absolute; left: 4cqw; right: 22cqw; bottom: 22cqw; padding: 4cqw 5cqw; border-radius: 5cqw; background: rgba(16, 48, 42, .94); border-left: 1.4cqw solid #8EF0C9; color: #fff; text-align: left; box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, .35); }
.wcard p { margin: 0; }
.wcard .k { font-size: 3.4cqw; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8EF0C9; }
.wcard .nm { font-size: 6.4cqw; font-weight: 800; line-height: 1.15; }
.wcard .lt { font-size: 4.2cqw; font-style: italic; opacity: .85; }
.added { position: absolute; left: 50%; bottom: 8cqw; transform: translateX(-50%); margin: 0; padding: 2.6cqw 5.5cqw; border-radius: 99px; background: #8EF0C9; color: #062019; font-size: 4.2cqw; font-weight: 800; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .note { animation: 9s ease-out infinite both; }
  .n1 { animation-name: note1; } .n2 { animation-name: note2; } .n3 { animation-name: note3; }
  @keyframes note1 { 0%, 4% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4cqw); } }
  @keyframes note2 { 0%, 26% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 32%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4cqw); } }
  @keyframes note3 { 0%, 48% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 54%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4cqw); } }

  .ident img { animation: 9s ease-in-out infinite photo; }
  .frame-c { animation: 9s ease-in-out infinite corners; }
  .scan { animation: 9s ease-in-out infinite scan; }
  .naming { animation: 9s ease-in-out infinite naming; }
  .wcard { animation: 9s cubic-bezier(.2, .9, .3, 1.1) infinite both cardup; }
  .added { animation: 9s ease-out infinite both added; }
  @keyframes photo { 0% { transform: scale(1.06); } 40%, 100% { transform: scale(1); } }
  @keyframes corners { 0%, 34% { opacity: .9; } 40%, 100% { opacity: 0; } }
  @keyframes scan { 0%, 4% { opacity: 0; top: 40cqw; } 8% { opacity: 1; } 22% { top: 133cqw; } 30% { top: 40cqw; opacity: 1; } 34%, 100% { opacity: 0; top: 40cqw; } }
  @keyframes naming { 0%, 4% { opacity: 0; } 8%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
  @keyframes cardup { 0%, 38% { opacity: 0; transform: translateY(30cqw); } 46%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
  @keyframes added { 0%, 56% { opacity: 0; transform: translate(-50%, 6cqw) scale(.9); } 62%, 92% { opacity: 1; transform: translate(-50%, 0); } 98%, 100% { opacity: 0; } }
}

/* The lock screen goes on into the app (owner, 2026-10-21): notifications arrive, the first is tapped and the app
   grows out of it (like opening an app on iPhone), the Community feed scrolls gently (a heart pops on the sweet pea
   post), a post's place is tapped and the San Francisco map slides in (map-short.mp4) and stays a few seconds, a tap
   on the map zooms in and the Anna's Hummingbird opens out of it, then everything fades back to the lock screen.
   13 s loop. Times in the comments are seconds. The feed strip is two of the owner's feed screenshots one above the
   other (660 px wide); the screen is 204.5cqw tall. */
.feed { position: absolute; inset: 0; z-index: 3; background: #F4F8F3; overflow: hidden; opacity: 0;
  clip-path: inset(58cqw 4.5cqw 124cqw 4.5cqw round 6cqw); }
.feed-scroll { position: absolute; left: 0; top: 0; width: 100%; height: 456.1cqw; background: url('app/feed-scroll.webp?v=eed093b5') top / 100% auto no-repeat; }
.phone .feed-dock { position: absolute; left: 2.7cqw; bottom: 8.8cqw; width: 94.5cqw; height: auto; aspect-ratio: 624 / 107; object-fit: fill; border-radius: 0; }
.phone .feed-map { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0;
  transform: translateX(100%); transform-origin: 50% 40%; box-shadow: -4cqw 0 8cqw rgba(0, 0, 0, .25); }
.phone .feed-story { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; opacity: 0;
  transform: scale(.12); transform-origin: 50% 40%; }
.heart { position: absolute; left: 4.3cqw; top: 140.7cqw; width: 9.6cqw; height: 9.6cqw; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F0566E' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 4.6 2.6 1-1.5 2.6-2.6 4.6-2.6 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* taps: on the second post's place ("Point Reyes National Seashore"), then on the map */
.tap, .tap2 { position: absolute; width: 12cqw; height: 12cqw; margin: -6cqw 0 0 -6cqw; border-radius: 50%; background: rgba(14, 140, 116, .35); opacity: 0; }
.tap { left: 30cqw; top: 159.7cqw; }
.tap2 { left: 50cqw; top: 81.8cqw; z-index: 2; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1.2cqw rgba(142, 240, 201, .6); }
@media (prefers-reduced-motion: no-preference) {
  .lock .note, .lock-day, .lock-time { animation-duration: 13s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  .lock .n1 { animation-name: lnote1; } .lock .n2 { animation-name: lnote2; } .lock .n3 { animation-name: lnote3; }
  .lock-day, .lock-time { animation-name: lockback; }
  /* in at 0.2 / 0.8 / 1.4 s; the first is tapped at 2.6 s; all leave as the app opens */
  @keyframes lnote1 { 0%, 1.5% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 4.6%, 19.5% { opacity: 1; transform: none; } 20.3% { transform: scale(.96); filter: brightness(1.3); }
    21% { opacity: 1; transform: none; filter: none; } 25%, 100% { opacity: 0; transform: scale(1.06); } }
  @keyframes lnote2 { 0%, 6.2% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 9.2%, 21% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: scale(1.06); } }
  @keyframes lnote3 { 0%, 10.8% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 13.8%, 21% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: scale(1.06); } }
  @keyframes lockback { 0%, 21% { opacity: 1; transform: none; } 25%, 94% { opacity: 0; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
  /* the app opens out of the notification (2.7–3.4 s), stays, and fades away at the end (12.1–12.9 s) */
  .feed { animation: appopen 13s infinite; }
  @keyframes appopen {
    0%, 20.5% { opacity: 0; clip-path: inset(58cqw 4.5cqw 124cqw 4.5cqw round 6cqw); animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
    21% { opacity: 1; clip-path: inset(58cqw 4.5cqw 124cqw 4.5cqw round 6cqw); animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
    26%, 93% { opacity: 1; clip-path: inset(0 0 0 0 round 0); }
    99%, 100% { opacity: 0; clip-path: inset(0 0 0 0 round 0); } }
  /* the feed settles, scrolls gently 4.3–6.5 s, then moves aside as the map comes in (7.0–7.5 s) */
  .feed-scroll { animation: feedscroll 13s infinite; }
  @keyframes feedscroll {
    0%, 21% { transform: scale(1.08); }
    26% { transform: none; }
    33% { transform: none; animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
    50% { transform: translateY(-152.3cqw); }
    54% { transform: translateY(-152.3cqw); animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
    57.5%, 100% { transform: translate(-25%, -152.3cqw); } }
  .phone .feed-dock { animation: dockshift 13s infinite; }
  @keyframes dockshift { 0%, 54% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.3, .7, .2, 1); } 57.5%, 100% { transform: translateX(-25%); opacity: .4; } }
  .heart { animation: heartpop 13s ease-out infinite; }
  @keyframes heartpop { 0%, 28.5% { opacity: 0; transform: scale(.4); } 29.7% { opacity: 1; transform: scale(1.35); } 31%, 100% { opacity: 1; transform: scale(1); } }
  .tap { animation: tap 13s ease-out infinite; }
  @keyframes tap { 0%, 51.5% { opacity: 0; transform: scale(.3); } 53% { opacity: 1; transform: scale(1); } 55%, 100% { opacity: 0; transform: scale(1.5); } }
  /* the map: in at 7.0–7.5 s, plays until 10.2 s, then zooms in toward the tap (10.2–10.9 s) */
  .phone .feed-map { animation: mapin 13s infinite; }
  @keyframes mapin { 0%, 54% { transform: translateX(100%); animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
    57.5%, 78.5% { transform: none; animation-timing-function: cubic-bezier(.5, 0, .2, 1); } 84%, 100% { transform: scale(2.4); } }
  .tap2 { animation: tap2 13s ease-out infinite; }
  @keyframes tap2 { 0%, 76.5% { opacity: 0; transform: scale(.3); } 78% { opacity: 1; transform: scale(1); } 80.5%, 100% { opacity: 0; transform: scale(1.6); } }
  /* the find opens out of the map (10.3–10.9 s) and stays until the fade at the end */
  .phone .feed-story { animation: storyin 13s infinite; }
  @keyframes storyin { 0%, 79% { opacity: 0; transform: scale(.12); animation-timing-function: cubic-bezier(.2, .8, .2, 1); } 80% { opacity: 1; } 84.5%, 100% { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .feed { display: none; } }

/* Phones (owner, 2026-10-21): the bar that stays at the top is one short row (logo = home, and the pill); the menu sits
   in its own row under it and scrolls away with the page, so nothing big covers the page. Same pill colour on every
   page, and jumps to a heading stop below the bar. */
html { scroll-padding-top: 84px; }
.pill { background: var(--mint, #8EF0C9); color: #052019; }
.mnav { display: none; }
@media (max-width: 699px) {
  .site-header .nav { display: none; }
  .site-header .wrap { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .mnav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mnav::-webkit-scrollbar { display: none; }
  .mnav a { flex: none; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 7px 12px; border-radius: 999px; }
  .mnav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
  html { scroll-padding-top: 64px; }
}

/* ---- The main site's map band (owner, 2026-10-22) ----
   No divider (owner, 2026-10-22: "just use a fade", then "longer fade above and below"): the satellite map fades in
   slowly out of the night under the top and fades slowly back out before the next section. The title is one line. */
.satband { margin-top: 20px; padding-top: clamp(200px, 20vw, 300px); padding-bottom: clamp(160px, 16vw, 240px); }
.satband::after { background: linear-gradient(90deg, var(--sat-fade), transparent 65%),
  linear-gradient(#050F0E 0, rgba(5, 15, 14, .9) 110px, rgba(5, 15, 14, .7) 240px, rgba(5, 15, 14, .4) 400px, rgba(5, 15, 14, .15) 540px, transparent 640px,
    transparent calc(100% - 460px), rgba(5, 15, 14, .2) calc(100% - 380px), rgba(5, 15, 14, .55) calc(100% - 240px), rgba(5, 15, 14, .9) calc(100% - 90px), #050F0E); }
.panel { container-type: inline-size; }
.home .panel h2 { white-space: nowrap; font-size: min(2.6rem, 6.1cqw); }
@media (min-width: 900px) { .satband .wrap { grid-template-columns: 1.25fr .75fr; } }
/* the painted hillside behind the rows fades in too, so there's no edge under the map */
.band > .art-sides.hill { -webkit-mask-image: linear-gradient(transparent, #000 260px, #000 calc(100% - 300px), transparent); mask-image: linear-gradient(transparent, #000 260px, #000 calc(100% - 300px), transparent); }
/* The last section, "Questions or ideas?" (owner, 2026-10-22: "add a fade"): no box; the blossom-and-moon painting
   fades out on every side into the night, wider than the text. */
.home .meadow { border-radius: 0; overflow: visible; padding: 110px 20px; }
.home .meadow::before { inset: -200px calc(50% - 50vw) -60px; background-size: cover;
  -webkit-mask-image: linear-gradient(transparent, rgba(0,0,0,.15) 18%, rgba(0,0,0,.55) 34%, #000 50%, #000 76%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, rgba(0,0,0,.15) 18%, rgba(0,0,0,.55) 34%, #000 50%, #000 76%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect; }
