:root{--ink:#40382e;--muted:#887965;--paper:#eee2c9;--base:#160e0f;--brown:#52443f;--blue-0:#1b1563;--blue-1:#1b2b67;--blue-2:#1c4487;--blue-3:#1a5faa;--blue-4:#1779c8;--blue-5:#1393de;--blue-6:#10aded;--blue-7:#11c6f4;--blue-8:#19dcf9}*{box-sizing:border-box}body{margin:0;color:#eee2cf;background:radial-gradient(ellipse at 50% 45%,#494036,#272420 75%);font-family:'Cormorant Garamond',Georgia,serif;min-height:100svh}.scene{min-height:100svh;max-width:1150px;margin:auto;display:flex;flex-direction:column;justify-content:center;padding:40px 30px;overflow:hidden}.intro{text-align:center;margin-bottom:48px}.eyebrow,.running,.page-no,footer{font-family:'DM Mono',monospace;font-size:9px;letter-spacing:.15em}.eyebrow{color:#b8a88d}.intro h1{font-size:clamp(34px,5vw,58px);font-weight:400;margin:12px 0 8px;letter-spacing:-.035em}.intro p{font-style:italic;color:#b8ab98;margin:0;font-size:19px}.table{position:relative;width:100%;max-width:900px;margin:0 auto;perspective:1400px}.book{position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:450px;transform:rotate(-3deg);border-radius:5px 9px 9px 5px;box-shadow:0 4px 0 #bbaa8c,0 7px 0 #ded0b1,0 10px 0 #9a886b,0 15px 0 3px #47372a,0 35px 48px #0008;color:var(--ink)}.page{position:relative;padding:30px 42px 38px;background:repeating-linear-gradient(0deg,#8b704004 0px,#8b704004 1px,transparent 1px,transparent 4px),#eee2c9}.page-left{border-radius:5px 0 0 5px;background-color:#e9dcc1;background-image:linear-gradient(90deg,#fff2 0%,transparent 78%,#7a5b3029 100%)}.page-right{border-radius:0 9px 9px 0;background-image:linear-gradient(90deg,#80653c35,transparent 10%,#fff2 80%,#a1824420)}.running{color:#887961;font-size:8px;padding-bottom:14px;border-bottom:1px solid #79674640;letter-spacing:.1em}.page h2{font-weight:500;font-size:45px;line-height:1.02;letter-spacing:-.025em;margin:30px 0 16px}.page p{font-size:17px;line-height:1.5;max-width:27ch}.page .opening{font-style:italic;font-size:22px;line-height:1.3}.botanical{font-size:66px;line-height:1;color:#8b795b;margin:12px 0;opacity:.6}.page-no{position:absolute;bottom:20px;left:50%;color:#917f64}.gutter{position:absolute;inset:0 auto 0 50%;width:18px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#70533145,transparent);pointer-events:none}.landing-mark{height:218px;position:relative}.landing-mark span{position:absolute;bottom:8px;right:0;font-size:13px;font-style:italic;color:#a18f72}.species{text-align:center}.species .eyebrow{font-size:8px;color:#897557}.species h2{font-size:37px;margin:9px 0 2px}.species i{font-size:20px}.species p{font-size:15px;margin:12px auto 8px;font-style:italic}.butterfly{position:absolute;width:clamp(150px,26vw,260px);left:59%;top:4%;padding:0;border:0;background:none;cursor:pointer;transform-origin:50% 45%;z-index:3;-webkit-tap-highlight-color:transparent}.butterfly:focus-visible{outline:1px dashed #137cc1;outline-offset:8px;border-radius:50%}.specimen{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(1px 2px 1px #382c2520)}.specimen>.shadow{display:none}.wing{transform-box:view-box;transform-origin:181px 175px}.butterfly-shadow{position:absolute;left:66%;top:23%;width:120px;height:55px;pointer-events:none;border-radius:50%;background:#392818;filter:blur(12px);opacity:.14;transform:rotate(-3deg)}footer{max-width:900px;width:100%;margin:40px auto 0;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#b9aa94;font-size:9px;letter-spacing:.04em}.replay{font:inherit;color:#e7d7bc;background:none;border:0;border-bottom:1px solid #bba78a60;padding:10px 0;cursor:pointer}.replay span{margin-left:16px}.replay:disabled{opacity:.45;cursor:default}.u-base  { fill: var(--base); }
.u-brown { fill: var(--brown); }
.u-l0 { fill: var(--blue-0); }
.u-l1 { fill: var(--blue-1); }
.u-l2 { fill: var(--blue-2); }
.u-l3 { fill: var(--blue-3); }
.u-l4 { fill: var(--blue-4); }
.u-l5 { fill: var(--blue-5); }
.u-l6 { fill: var(--blue-6); }
.u-l7 { fill: var(--blue-7); }
.u-l8 { fill: var(--blue-8); }
.u-vein  { fill: none; stroke: #06103a; stroke-width: .5; stroke-linecap: round; opacity: .7; }
.u-glint { fill: #eaf7ff; }

.shadow { opacity: .28; mix-blend-mode: multiply; }

/* ---------- body ---------- */
.antenna { fill: none; stroke: #1b1312; stroke-width: 1; stroke-linecap: round; }
.club    { fill: #1b1312; }
.segments path { fill: none; stroke: #cdbfb0; stroke-width: .5; opacity: .45; }
.fur     { fill: none; stroke: #7e6a66; stroke-width: .45; opacity: .5; stroke-linecap: round; }
.eye     { fill: #efe6dc; }
.pin-gloss { fill: #fffbe8; opacity: .85; }

.scale path { fill: none; stroke: var(--ink); stroke-width: .9; }
.scale text { font: 500 7px 'DM Mono', monospace; letter-spacing: .12em; fill: var(--ink-soft); }


/* On small screens the reading surface becomes a digital field guide. */
@media(max-width:650px){
.scene{padding:28px 20px 24px;justify-content:flex-start}
.intro{margin-bottom:28px}
.intro h1{font-size:35px;line-height:1.05;max-width:12ch;margin:12px auto}
.intro p{font-size:17px}
.table{max-width:390px}
.book{display:block;min-height:470px;transform:none;padding:24px 12px 27px;border:1px solid #66615b;border-radius:27px;background:linear-gradient(125deg,#474440,#171818 45%,#333331);box-shadow:0 2px 1px #ffffff25 inset,0 -2px 1px #0008 inset,0 22px 35px #0006}
.book::before{content:'';position:absolute;top:10px;left:50%;width:5px;height:5px;border-radius:50%;background:#090b0e;box-shadow:0 0 0 2px #ffffff08}
.book::after{content:'';position:absolute;bottom:11px;left:50%;transform:translateX(-50%);width:64px;height:3px;border-radius:5px;background:#aaa8a04d}
.page-left,.gutter{display:none}
.page-right{padding:22px 23px 26px;min-height:420px;border:1px solid #000;border-radius:8px;background:radial-gradient(ellipse at 50% 20%,#faf7ee,#e9e4d8);box-shadow:0 0 0 1px #ffffff0c}
.running{font-size:7px;line-height:1.6;min-height:30px;letter-spacing:.08em;color:#8b8275;border-bottom:1px solid #aaa18d55}
.landing-mark{height:214px}
.landing-mark span{font-family:'DM Mono',monospace;font-size:8px;font-style:normal;color:#9c9383}
.species .eyebrow{display:block;font-size:7px;color:#8c7b66;letter-spacing:.14em}
.species h2{font-size:40px;margin:10px 0 3px}
.species i{font-size:21px}
.species p{font-size:17px;line-height:1.4;max-width:22ch;margin:14px auto 0}
.page-no{display:none}
.butterfly{left:50%;top:15%;margin-left:-106px;width:212px}
.butterfly-shadow{left:50%;top:35%;margin-left:-45px;width:90px;height:38px}
footer{max-width:390px;margin-top:25px;font-size:8px;align-items:center;gap:12px}
.status{max-width:24ch;line-height:1.7}
.replay{white-space:nowrap;padding:14px 0}
.replay span{margin-left:7px}
}
@media(max-width:360px){.scene{padding-inline:14px}.page-right{padding-inline:16px}.running{font-size:6px}.intro h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}