/* Perch · the Hatchery. A leaf-green field (each coin brings its own), a cream budgie, gold for the coin swing, a deep
   green ink for words. Headlines: Plus Jakarta Sans. Text: Inter. Numbers and tickers: JetBrains Mono. Notes: Caveat. */
:root {
  --field: #86CB77; --field-hi: #A2D894; --hill-1: #74BC66; --hill-2: #7DC36F; --brand: #86CB77; --brand-hill: #74BC66;
  --ink: #12302A; --ink-2: rgba(18, 48, 42, .74); --cream: #FFF8EA; --paper: #FBF6EA; --gold: #F2B640; --gold-deep: #D99A22;
  --leaf: #2C7A3F; --live: #1FA35B;
  --line: rgba(18, 48, 42, .12); --shadow: 0 30px 60px -36px rgba(18, 48, 42, .55), 0 2px 6px -2px rgba(18, 48, 42, .12);
  --shadow-s: 0 14px 30px -20px rgba(18, 48, 42, .55), 0 1px 3px rgba(18, 48, 42, .1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-weight: 800; letter-spacing: -.035em; margin: 0; }
a { color: inherit; }
button { font: inherit; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes beat { 50% { box-shadow: 0 0 0 5px rgba(31, 163, 91, 0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 163, 91, .35); } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
@keyframes slide { from { transform: translateX(-20px); opacity: 0; } }

/* header */
.top { position: absolute; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px max(24px, 5vw); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 26px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.04em; }
.logo img { width: 36px; height: 36px; border-radius: 11px; display: block; box-shadow: 0 6px 16px -8px rgba(18, 48, 42, .6); }
.top nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 14.5px; padding: 5px 5px 5px 18px; border-radius: 999px; background: rgba(255, 248, 234, .5); backdrop-filter: blur(8px); }
.top nav a { text-decoration: none; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 13px; border-radius: 999px; background: rgba(255, 248, 234, .82); color: var(--ink) !important; font: 700 12.5px 'JetBrains Mono', monospace; backdrop-filter: blur(6px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: rgba(18, 48, 42, .3); }
.chip.on i { background: var(--live); box-shadow: 0 0 0 3px rgba(31, 163, 91, .22); }
/* the Motion switch: on by default, a tap turns the animations off */
.motion { border: 0; cursor: pointer; }
.motion .sw { position: relative; flex: none; width: 24px; height: 14px; border-radius: 999px; background: rgba(18, 48, 42, .25); transition: background .2s; }
.motion .sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #FFF; transition: transform .2s; }
.motion[aria-pressed="true"] .sw { background: var(--live); }
.motion[aria-pressed="true"] .sw::after { transform: translateX(10px); }

/* the hero: a colour field with soft moving layers, a meadow, and the swing hanging from a branch */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--field); overflow: hidden; transition: background .9s ease; display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; padding: 120px max(24px, 5vw) 130px; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky > * { position: absolute; will-change: transform; }
.sun { width: 46vw; height: 46vw; right: 6vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, var(--field-hi), transparent 70%); opacity: .9; transition: background .9s; }
.cloud { fill: rgba(255, 255, 255, .5); }
.c1 { width: 190px; left: 15%; top: 11%; animation: drift 46s linear infinite; opacity: .7; }
.c2 { width: 130px; left: 46%; top: 36%; animation: drift 62s linear infinite reverse; opacity: .6; }
.c3 { width: 110px; left: 80%; top: 47%; animation: drift 54s linear infinite; opacity: .5; }
@keyframes drift { 0% { translate: 0 0; } 50% { translate: 60px 6px; } 100% { translate: 0 0; } }
.hills { left: -4%; width: 108%; bottom: -2px; }
.h2 { height: 30vh; fill: var(--hill-2); transition: fill .9s; }
.h1 { height: 22vh; fill: var(--hill-1); transition: fill .9s; }
.meadow { left: -3%; right: -3%; bottom: 30px; height: clamp(110px, 19vh, 210px); background: url(/art3/grass.webp) repeat-x left bottom / auto 100%; }
.motes i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: mote 9s ease-in-out infinite; }
@keyframes mote { 0%, 100% { transform: translate(0, 0); opacity: .2; } 50% { transform: translate(14px, -26px); opacity: .9; } }

.copy { position: relative; z-index: 6; }
.eyebrow { margin: 0 0 16px; font: 700 11.5px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgba(255, 248, 234, .35); }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: .98; text-wrap: balance; }
.hero h1 span { display: block; margin-top: 14px; font-size: .42em; line-height: 1.2; letter-spacing: -.02em; color: var(--cream); text-shadow: 0 1px 0 rgba(18, 48, 42, .08); }
.hatch { margin-top: 30px; display: flex; gap: 8px; max-width: 520px; padding: 7px; border-radius: 18px; background: var(--cream); box-shadow: var(--shadow); }
.hatch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; font: 600 15px 'JetBrains Mono', monospace; color: var(--ink); }
.hatch input::placeholder { color: rgba(18, 48, 42, .4); }
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 13px; padding: 12px 18px; font-weight: 700; font-size: 15px; cursor: pointer; background: rgba(18, 48, 42, .07); color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--cream); box-shadow: 0 12px 26px -14px rgba(18, 48, 42, .8); }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.note { min-height: 1.4em; margin: 10px 4px 0; font-size: 14px; color: var(--ink-2); max-width: 520px; }
.note.err { color: #8E2A12; font-weight: 600; }
.try { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 6px 12px 6px 7px; background: rgba(255, 248, 234, .82); color: var(--ink); font: 700 12.5px 'JetBrains Mono', monospace; cursor: pointer; transition: transform .15s; }
.chips button:hover { transform: translateY(-1px); background: var(--cream); }
.chips button i { width: 16px; height: 16px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.chips button em { font-style: normal; font-weight: 500; color: var(--ink-2); }

/* the coin's card, after hatching */
.card { margin-top: 22px; max-width: 520px; background: var(--cream); border-radius: 22px; padding: 18px 20px 18px; box-shadow: var(--shadow); animation: rise .5s cubic-bezier(.2, .9, .25, 1); }
.card-top { display: flex; align-items: center; gap: 10px; }
.tick { font: 800 26px/1.05 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-pill { font: 700 11px 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .07em; background: #E6F4DF; color: var(--leaf); padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.stage-pill[data-s="3"] { background: #FFF0C7; color: #946000; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px 'JetBrains Mono', monospace; color: var(--ink-2); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: beat 2s ease-in-out infinite; }
.card-line { margin: 6px 0 14px; color: var(--ink-2); font-size: 15px; }
.curve { position: relative; margin: 0 0 30px; }
.track { height: 10px; border-radius: 99px; background: rgba(18, 48, 42, .09); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #7DC36F, var(--gold)); transition: width 1.2s cubic-bezier(.2, .9, .25, 1); }
.marks { position: relative; height: 0; }
.marks span { position: absolute; top: 8px; transform: translateX(-50%); font: 600 10.5px 'JetBrains Mono', monospace; color: var(--ink-2); white-space: nowrap; }
.marks span.first { transform: translateX(-6px); } .marks span:last-child { transform: translateX(-100%); }
.marks span::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2px; height: 6px; background: rgba(18, 48, 42, .25); }
.marks span.first::before { left: 6px; } .marks span:last-child::before { left: auto; right: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.facts div { background: rgba(18, 48, 42, .05); border-radius: 12px; padding: 8px 11px; min-width: 0; }
.facts dt { font-size: 11.5px; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font: 700 14px 'JetBrains Mono', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the live tape: the coin's last trades, straight from the chain */
.tape-row { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; min-width: 0; }
.tape-label { flex: none; font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tape { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow: hidden; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.tape li { flex: none; font: 600 12px 'JetBrains Mono', monospace; padding: 4px 9px; border-radius: 8px; animation: slide .45s cubic-bezier(.2, .9, .25, 1); white-space: nowrap; }
.tape li.buy { background: #E3F3DA; color: #23693A; }
.tape li.sell { background: #FBE6DF; color: #8E3A1E; }
.tape li.wait { padding: 4px 0; color: var(--ink-2); font-weight: 500; }
.tape time { opacity: .65; margin-left: 4px; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* the stage: the swing, the branch it hangs from, the nest, two notes and a stage card. Sizes follow the stage (cqw). */
.stage { position: absolute; z-index: 2; right: max(0px, 3vw); top: clamp(64px, 10vh, 112px); width: min(52vw, 84vh); aspect-ratio: 1; pointer-events: none; container-type: inline-size; }
.hang { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 6%, #000 6.4%); mask-image: linear-gradient(to bottom, transparent 6%, #000 6.4%); }
.swing { position: relative; width: 100%; height: 100%; transform-origin: 50% 6%; will-change: transform; }
.pet { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; user-select: none; -webkit-user-drag: none; }
.pet.on { opacity: 1; }
.branch { position: absolute; z-index: 3; left: -23.6%; top: -15.4%; width: 135.3%; height: auto; user-select: none; }
/* a stage change happens under a soft cream flash, so the swap never shows two pets at once */
.flash { position: absolute; z-index: 4; left: 22%; top: 8%; width: 60%; height: 72%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 250, 236, .98) 30%, rgba(255, 250, 236, 0)); opacity: 0; pointer-events: none; }
.flash.go { animation: flash .55s ease-out; }
@keyframes flash { 0% { opacity: 0; transform: scale(.55); } 28% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
.lid { position: absolute; width: 3.6%; height: 3.8%; border-radius: 50%; background: var(--lid, #FEF6E9); transform: scaleY(0); transform-origin: 50% 0; transition: transform .07s ease-in; }
.lid.l { left: 46%; top: 31.2%; } .lid.r { left: 58.4%; top: 30%; }
.swing.blink .lid { transform: scaleY(1.05); }
.swing:not(.lids) .lid { display: none; }
.glint { position: absolute; left: 29.5%; top: 59%; width: 45%; height: 27%; border-radius: 50%; overflow: hidden; -webkit-mask-image: radial-gradient(closest-side, #000 98%, transparent 100%); mask-image: radial-gradient(closest-side, #000 98%, transparent 100%); }
.glint::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 18%; left: -30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: glint 6.5s ease-in-out infinite; }
@keyframes glint { 0%, 70% { left: -30%; } 88%, 100% { left: 130%; } }
.tag { position: absolute; left: 50%; top: 86%; transform: translateX(-50%); padding: 7px 13px; border-radius: 10px; background: var(--cream); color: var(--ink); font: 800 15px 'JetBrains Mono', monospace; box-shadow: 0 10px 20px -12px rgba(18, 48, 42, .7); white-space: nowrap; }
.tag::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: var(--gold-deep); }
.swing.wobble .pet.on { animation: wobble .7s ease-in-out 2; transform-origin: 52% 66%; }
@keyframes wobble { 25% { transform: rotate(-1.6deg) translateY(-.4%); } 75% { transform: rotate(1.6deg) translateY(-.4%); } }
.swing.pop .pet.on { animation: pop .55s cubic-bezier(.2, 1.5, .4, 1); transform-origin: 52% 62%; }
@keyframes pop { from { transform: scale(.82); } }
.burst { position: absolute; z-index: 4; inset: 0; }
.burst i { position: absolute; left: 52%; top: 52%; width: 14px; height: 10px; border-radius: 3px; background: var(--cream); animation: shard 1s cubic-bezier(.15, .7, .3, 1) forwards; }
.burst i.g { background: var(--gold); }
@keyframes shard { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
.bubble { position: absolute; z-index: 5; left: 20%; top: 20%; padding: 9px 14px; border-radius: 14px 14px 14px 4px; background: var(--cream); color: var(--ink); font: 700 14px 'JetBrains Mono', monospace; box-shadow: var(--shadow); animation: rise .35s cubic-bezier(.2, 1.4, .4, 1); white-space: nowrap; }

/* the nest on the branch: a new egg drops in for every new pump.fun coin (perch-live's feed) */
.nest { position: absolute; z-index: 4; left: 5.5%; top: -4.9%; width: 14.9%; }
.nest img { display: block; width: 100%; height: auto; }
.eggs { position: absolute; inset: 0; }
.egg { position: absolute; width: 15%; aspect-ratio: .78; border-radius: 50% 50% 48% 48% / 60% 60% 42% 42%; background: radial-gradient(circle at 33% 27%, #FFF 0 8%, transparent 9%), linear-gradient(105deg, #FCF2DF 52%, #ECD4AE); box-shadow: inset -1.5px -2px 0 rgba(160, 110, 50, .16), 0 1px 1px rgba(80, 50, 20, .3); transform-origin: 50% 90%; }
.egg.drop { animation: drop .7s cubic-bezier(.3, 1.35, .5, 1); }
@keyframes drop { 0% { transform: translateY(-260%); opacity: 0; } 35% { opacity: 1; } 100% { transform: none; } }
.egg.wob { animation: wob .45s ease-in-out 2; }
@keyframes wob { 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
.egg.gone { animation: gone .5s ease-in forwards; }
@keyframes gone { to { transform: translateY(-50%) scale(.2); opacity: 0; } }
.plus { position: absolute; left: 62%; top: -2%; font: 700 clamp(10px, 1.5cqw, 13px) 'JetBrains Mono', monospace; color: var(--ink); animation: plus 1.3s ease-out forwards; }
@keyframes plus { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-3.4cqw); opacity: 0; } }
.nest-tag { position: absolute; z-index: 4; left: 2%; top: 11%; display: inline-flex; align-items: center; gap: 6px; padding: .55em .85em; border-radius: 10px; background: var(--cream); font: 600 clamp(10.5px, 1.6cqw, 13px) Inter, sans-serif; color: var(--ink); box-shadow: var(--shadow-s); white-space: nowrap; transform-origin: 50% -3.6cqw; animation: tagsway 5s ease-in-out infinite; }
.nest-tag::before { content: ''; position: absolute; left: 50%; top: -3.6cqw; width: 1.5px; height: 3.6cqw; background: #8A5A3A; }
.nest-tag b { font: 700 1em 'JetBrains Mono', monospace; }
.nest-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: beat 2s ease-in-out infinite; }
@keyframes tagsway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

/* hand-written notes, like a designer's pencil on the page */
.ink { position: absolute; z-index: 4; margin: 0; font: 700 clamp(16px, 2.9cqw, 24px)/1.02 Caveat, cursive; color: rgba(18, 48, 42, .82); transform: rotate(-4deg); white-space: nowrap; }
.ink svg { position: absolute; width: 4.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ink 1s .9s ease-out forwards; }
@keyframes ink { to { stroke-dashoffset: 0; } }
.ink-nest { left: -36%; top: -6.5%; text-align: right; }
.ink-nest svg { left: 100%; top: .1em; width: 6.6em; margin-left: .1em; }
.ink-push { left: -1%; top: 77%; }
.ink-push svg { left: 74%; top: -2.3em; width: 3.4em; }

/* the stage card: which of the four stages the pet on the swing is at */
.stage-card { position: absolute; z-index: 5; right: -1%; top: 71%; background: rgba(255, 248, 234, .93); border-radius: 18px; padding: 10px 12px 9px; box-shadow: var(--shadow-s); backdrop-filter: blur(6px); }
.mini { list-style: none; margin: 0; padding: 0; display: flex; gap: 7px; position: relative; }
.mini::before { content: ''; position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; background: rgba(18, 48, 42, .14); }
.mini li { position: relative; width: clamp(28px, 4.6cqw, 38px); aspect-ratio: 1; border-radius: 50%; background: var(--brand); overflow: hidden; opacity: .5; transition: opacity .3s, transform .3s, box-shadow .3s; }
.mini li img { display: block; width: 100%; height: 100%; }
.mini li.on { opacity: 1; transform: scale(1.08); box-shadow: 0 0 0 2.5px var(--cream), 0 0 0 4.5px var(--ink); }
.stage-card p { margin: 8px 0 0; font: 600 11.5px 'JetBrains Mono', monospace; color: var(--ink-2); white-space: nowrap; }
.stage-card b { color: var(--ink); }

/* the live strip */
.strip { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px max(24px, 5vw); background: rgba(255, 248, 234, .9); backdrop-filter: blur(8px); border-top: 1px solid rgba(255, 255, 255, .6); overflow: hidden; }
.strip-label { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.strip-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: beat 2s ease-in-out infinite; }
.strip ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.strip li { flex: none; animation: slide .6s cubic-bezier(.2, .9, .25, 1); }
.strip li button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: rgba(18, 48, 42, .06); border-radius: 999px; padding: 6px 12px 6px 8px; font: 600 12.5px Inter, sans-serif; color: var(--ink); cursor: pointer; }
.strip li button:hover { background: rgba(18, 48, 42, .1); }
.strip li b { font: 700 12.5px 'JetBrains Mono', monospace; }
.strip li i { width: 14px; height: 14px; border-radius: 50%; }
.strip li time { font: 500 11.5px 'JetBrains Mono', monospace; color: var(--ink-2); }

/* sections below the hero */
.sec-head { max-width: 760px; margin: 0 0 34px; }
.kicker { margin: 0 0 12px; font: 700 11.5px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.sec-head h2, .coin h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
.lede { margin: 14px 0 0; color: var(--ink-2); font-size: 18px; max-width: 40em; }

/* how it grows: four stages side by side, with the live count for each */
.grow { padding: 100px max(24px, 6vw) 70px; max-width: 1320px; margin: 0 auto; }
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stages li { display: flex; flex-direction: column; background: var(--cream); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.st-art { position: relative; aspect-ratio: 1 / .86; background: var(--brand); overflow: hidden; }
.st-art::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -14%; height: 32%; background: var(--brand-hill); border-radius: 50% 50% 0 0; }
.st-art img { position: absolute; z-index: 1; left: 0; top: -9%; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, 1.3, .4, 1); transform-origin: 50% 0; }
.stages li:hover .st-art img { transform: rotate(-2deg); }
.st-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; font: 700 11.5px 'JetBrains Mono', monospace; }
.st-n { color: var(--leaf); }
.st-at { background: #E6F4DF; color: var(--leaf); border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.stages li[data-s="3"] .st-at { background: #FFF0C7; color: #946000; }
.stages h3 { font-size: 23px; letter-spacing: -.025em; }
.st-body > p:not(.st-top) { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.stages em { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font: 600 12px 'JetBrains Mono', monospace; font-style: normal; color: var(--leaf); }
.stages em i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: beat 2s ease-in-out infinite; }
.stages em.off { color: var(--ink-2); font-weight: 500; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.bigcurve { margin-top: 18px; background: var(--cream); border-radius: 22px; padding: 20px 24px 16px; box-shadow: var(--shadow-s); }
.bc-track { position: relative; display: flex; height: 14px; }
.seg { display: block; height: 100%; }
.seg.s0 { width: 10%; background: #D8EDCF; border-radius: 99px 0 0 99px; }
.seg.s1 { width: 40%; background: #B4DD9F; }
.seg.s2 { width: 50%; background: linear-gradient(90deg, #96CB7C, var(--gold)); border-radius: 0 99px 99px 0; }
.crown-pin { position: absolute; right: -4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px rgba(217, 154, 34, .35); }
.bc-marks { position: relative; height: 22px; margin-top: 8px; }
.bc-marks span { position: absolute; transform: translateX(-50%); font: 600 11.5px 'JetBrains Mono', monospace; color: var(--ink-2); white-space: nowrap; }
.bc-marks span:first-child { transform: none; } .bc-marks span:last-child { transform: translateX(-100%); }
.bigcurve p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }

/* what it does: four real pictures of the product */
.feats { padding: 50px max(24px, 6vw) 70px; max-width: 1320px; margin: 0 auto; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feat { background: var(--cream); border-radius: 28px; padding: 14px 14px 24px; box-shadow: var(--shadow); }
.feat-pic { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.feat-pic.field { background: var(--brand); }
.feat-pic.paper { background: #F1EADA; }
.feat-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-pic > img { width: 86%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.feat-pic > img.share-pic { position: absolute; top: 8%; left: 50%; width: auto; height: 84%; transform: translateX(-50%) rotate(-2deg); }
.feat h3 { margin: 20px 10px 0; font-size: 23px; letter-spacing: -.025em; }
.feat p { margin: 6px 10px 0; color: var(--ink-2); font-size: 15.5px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px; }
.node { flex: 0 1 auto; display: grid; gap: 1px; justify-items: center; text-align: center; background: #FFF; border-radius: 16px; padding: 12px 12px; box-shadow: var(--shadow-s); min-width: 0; }
.node b { font: 800 14.5px 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; }
.node span { font: 500 10.5px 'JetBrains Mono', monospace; color: var(--ink-2); }
.node.two b:nth-of-type(2) { margin-top: 10px; }
.node.to-pet { flex: none; }
.node.to-pet img { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); margin-bottom: 6px; }
.flow .arrow { flex: none; width: 28px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .45; }

/* questions */
.faq { padding: 40px max(24px, 6vw) 70px; max-width: 1000px; margin: 0 auto; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--cream); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font: 700 17.5px 'Plus Jakarta Sans', sans-serif; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 48, 42, .06); font: 600 18px/1 'JetBrains Mono', monospace; }
.faq details[open] summary::after { content: '–'; background: #E6F4DF; color: var(--leaf); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 46em; }

/* the last nudge: hatch one */
.cta { padding: 20px max(24px, 6vw) 50px; max-width: 1320px; margin: 0 auto; }
.cta-card { position: relative; display: grid; grid-template-columns: minmax(0, 340px) 1fr; align-items: center; gap: 24px; background: var(--brand); border-radius: 34px; padding: 0 44px 0 10px; overflow: hidden; }
.cta-card::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 60%; background: var(--brand-hill); border-radius: 50% 50% 0 0; }
.cta-art { position: relative; z-index: 1; width: 100%; height: auto; margin: -8% 0 -4%; }
.cta-copy { position: relative; z-index: 2; padding: 30px 0; }
.cta-copy h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; }
.cta-copy p { margin: 10px 0 0; font-size: 18px; color: var(--ink); opacity: .8; }
.cta-copy .hatch { margin-top: 20px; }

/* $PERCH */
.coin { padding: 30px max(24px, 6vw) 90px; max-width: 1320px; margin: 0 auto; }
.coin-card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--ink); color: var(--cream); border-radius: 32px; padding: 30px; }
.coin-art { width: 300px; height: 300px; border-radius: 26px; display: block; object-fit: cover; }
.coin-card h2 { color: var(--cream); }
.coin-card .kicker { color: #9FE08F; }
.coin-card p { color: rgba(255, 248, 234, .78); margin: 10px 0 0; max-width: 36em; }
.coin-card .fine { color: rgba(255, 248, 234, .55); font-size: 13.5px; }
.ca { display: flex; align-items: center; gap: 10px; margin-top: 18px; background: rgba(255, 248, 234, .08); border: 1px solid rgba(255, 248, 234, .16); border-radius: 13px; padding: 11px 13px; max-width: 580px; }
.ca-label { font: 700 11px 'JetBrains Mono', monospace; color: #9FE08F; letter-spacing: .08em; }
.ca code { font: 600 14px 'JetBrains Mono', monospace; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.ca .btn { background: var(--cream); }
.foot { padding: 26px max(24px, 6vw) 50px; max-width: 1320px; margin: 0 auto; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.foot p { margin: 0 0 6px; max-width: 64em; }
.foot .small { font: 600 12px 'JetBrains Mono', monospace; margin-top: 14px; }

/* narrower screens: the notes need the room beside the copy */
@media (max-width: 1180px) {
  .ink, .stage-card { display: none; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phones */
@media (max-width: 860px) {
  .top { padding: 16px 16px; }
  .top nav a:not(.chip) { display: none; }
  .top nav { gap: 6px; padding: 4px; } .top .chip { padding: 7px 10px; } .chip .when { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 0 16px 0; min-height: 0; }
  .stage { position: relative; order: 1; right: auto; top: auto; width: calc(100% + 32px); margin: 96px -16px 0; aspect-ratio: 1; }
  .nest { left: 8%; } .nest-tag { left: 5%; }
  .bubble { top: 26%; left: 12%; font-size: 13px; }
  .tag { top: 84%; font-size: 13px; }
  .copy { order: 2; padding: 0 0 28px; }
  .hero h1 { font-size: 40px; }
  .hero h1 span { font-size: .46em; }
  .hatch { margin-top: 20px; }
  .strip { position: relative; order: 3; margin: 0 -16px; padding: 12px 16px; }
  .strip-label { display: none; }
  .sun { width: 90vw; height: 90vw; top: -20vw; right: -20vw; }
  .c1 { left: 4%; top: 2%; } .c2 { left: 60%; top: 20%; } .c3 { display: none; }
  .h2 { height: 16vh; } .h1 { height: 12vh; }
  .meadow { height: 96px; bottom: 44px; }
  .facts { grid-template-columns: 1fr 1fr; } .facts div:last-child { grid-column: 1 / -1; }
  .grow { padding: 60px 16px 40px; }
  .sec-head { margin-bottom: 24px; }
  .lede { font-size: 16px; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stages li { border-radius: 20px; }
  .st-body { padding: 12px 12px 14px; }
  .st-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .stages h3 { font-size: 19px; }
  .st-body > p:not(.st-top) { font-size: 13.5px; }
  .stages em { font-size: 11px; }
  .bigcurve { padding: 16px 16px 12px; }
  .bc-marks span:last-child { font-size: 0; } .bc-marks span:last-child::after { content: '100%'; font-size: 11.5px; }
  .feats { padding: 30px 16px 40px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .feat { border-radius: 22px; padding: 10px 10px 20px; }
  .feat h3 { font-size: 20px; }
  .flow { gap: 3px; padding: 8px; }
  .node { padding: 9px 7px; border-radius: 12px; }
  .node b { font-size: 12px; } .node span { font-size: 9px; }
  .node.to-pet img { width: 40px; height: 40px; }
  .flow .arrow { width: 16px; }
  .faq { padding: 30px 16px 40px; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: 16px; }
  .cta { padding: 10px 16px 40px; }
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 0 18px 10px; gap: 0; }
  .cta-art { width: 70%; margin: -6% auto -10%; }
  .cta-copy { padding: 0 0 18px; }
  .coin { padding: 10px 16px 60px; } .coin-card { grid-template-columns: 1fr; padding: 20px; gap: 20px; } .coin-art { width: 100%; height: auto; aspect-ratio: 1.2; }
  .foot { padding: 22px 16px 40px; }
}

/* motion off (the header switch, never the OS setting): the ambient loops stop; the swing still sways a little */
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] :is(.c1, .c2, .c3, .motes i, .live i, .strip-label i, .nest-tag, .nest-tag i, .stages em i),
html[data-motion="off"] .glint::after { animation: none; }
html[data-motion="off"] .ink svg { animation: none; stroke-dashoffset: 0; }
