
:root{color-scheme:dark;--night:#06111f;--navy:#101e34;--panel:#15243b;--line:#34465f;--cream:#f3eee5;--muted:#b7c8d8;--star:#8ce9e5;--sun:#f7d4a5;--violet:#c4afff;--rose:#eeaebc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 76% 2%,#253756 0,#06111f 37%,#081322 100%);color:var(--cream);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid var(--sun);outline-offset:3px}.shell{max-width:1200px;margin:auto;padding:0 26px}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 0;border-bottom:1px solid #35435c}.brand{font:24px/1.05 Georgia,serif;letter-spacing:-.03em}.brand small{font:10px/1.5 system-ui,sans-serif;display:block;letter-spacing:.17em;color:var(--star);margin-top:7px;text-transform:uppercase}.navlinks{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.navlinks a:hover{color:white}.eyebrow{font-size:11px;color:var(--sun);letter-spacing:.19em;text-transform:uppercase;font-weight:700}.hero{padding:100px 0 70px;display:grid;grid-template-columns:1fr .85fr;gap:55px;align-items:center}.hero h1{font:clamp(48px,7vw,92px)/1.02 Georgia,serif;letter-spacing:-.055em;margin:17px 0 23px;max-width:760px}.hero .lead{color:var(--muted);font-size:19px;max-width:660px}.gradient{background:linear-gradient(130deg,#a1efec,#f2d4b7 55%,#d3c2ff);background-clip:text;color:transparent}.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:31px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #768b9b;border-radius:999px;padding:12px 22px;font-weight:650;font-size:14px}.button.primary{background:var(--star);color:#0b2530;border-color:var(--star)}.button:hover{transform:translateY(-2px)}.orbital{position:relative;min-height:410px;border:1px solid #3b506c;border-radius:50%;aspect-ratio:1;background:radial-gradient(circle,#203f54 1%,#112b45 23%,#0a1d30 55%,#07111f 69%);box-shadow:0 0 110px #18496030,inset 0 0 70px #84efe422;max-width:455px;margin:auto;overflow:hidden}.orbital:before,.orbital:after{content:'';position:absolute;inset:13%;border:1px solid #9fdacb6b;border-radius:50%;transform:rotate(-32deg) scaleY(.35)}.orbital:after{inset:3%;transform:rotate(39deg) scaleY(.58);border-color:#c9adff7d}.orbital .planet{position:absolute;left:54%;top:42%;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#ebfdf8,#78c7c7 35%,#183655 80%);box-shadow:0 0 48px #89e8dc8c}.orbital .starlet{position:absolute;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 18px #fff}.orbit-label{position:absolute;bottom:30px;left:0;right:0;text-align:center;font:italic 22px Georgia,serif;color:#e9e6d9}.divider{border-top:1px solid var(--line);margin:25px 0}section{margin:58px 0}.section-title{font:clamp(32px,4vw,50px)/1.14 Georgia,serif;margin:10px 0}.section-intro{max-width:750px;color:var(--muted);margin:0 0 27px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:linear-gradient(156deg,#1b2941,#101b2b);min-height:310px;transition:transform .2s,border .2s}.card:hover{transform:translateY(-5px);border-color:var(--star)}.card .visual{min-height:142px;position:relative;overflow:hidden;background:radial-gradient(circle at 65% 45%,var(--glow),#0a192a 58%)}.card .visual:after{content:'';position:absolute;inset:21px 70px;border:1px solid #ffffff48;border-radius:50%;box-shadow:0 0 36px var(--glow);transform:rotate(-28deg) scaleY(.55)}.card .content{padding:22px;display:flex;flex-direction:column;flex:1}.card h3{font:25px Georgia,serif;margin:5px 0 8px}.card p{color:var(--muted);font-size:13px;margin:0 0 20px;flex:1}.card .go{color:var(--star);font-size:12px;font-weight:700;letter-spacing:.05em}.mission{padding:44px;border:1px solid #6d6680;border-radius:22px;background:linear-gradient(110deg,#1c2e45,#292842);display:grid;grid-template-columns:1fr 1fr;gap:45px}.mission blockquote{font:clamp(23px,3vw,38px)/1.3 Georgia,serif;margin:0;color:#f4ebda}.mission p{margin:0 0 16px;color:#dae2eb}.foot{padding:35px 0 65px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.foot a{color:var(--star)}.labhead{padding:70px 0 22px}.labhead h1{font:clamp(42px,6vw,72px)/1.06 Georgia,serif;margin:8px 0 14px}.labhead p{font-size:18px;color:var(--muted);max-width:860px}.chapterlinks{display:flex;gap:8px;flex-wrap:wrap}.chapterlinks a{border:1px solid var(--line);padding:9px 15px;border-radius:22px;font-size:13px;color:#cedae5}.chapterlinks a:hover{background:#1b2e44}.feature{border:1px solid var(--line);border-radius:20px;background:#0b1728;padding:23px}.feature h2{font:30px Georgia,serif;margin:0 0 5px}.feature p{color:var(--muted)}.labframe{display:block;border:0;width:100%;height:3600px;background:#08111e;border-radius:12px}.backlink{display:inline-block;color:var(--star);font-size:13px}.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.history-grid article{background:#16253a;border:1px solid var(--line);border-radius:14px;padding:22px}.history-grid h3{font:24px Georgia,serif;margin:8px 0}.history-grid p{font-size:13px;color:var(--muted)}.notlive{font-size:12px;color:var(--sun)}@media(max-width:900px){.hero{grid-template-columns:1fr;padding-top:65px;gap:25px}.orbital{max-width:360px;min-height:350px}.cards,.history-grid{grid-template-columns:repeat(2,1fr)}.mission{grid-template-columns:1fr}}@media(max-width:650px){.shell{padding:0 16px}.nav{align-items:flex-start}.navlinks{gap:10px}.brand{font-size:20px}.hero{padding:48px 0}.hero h1{font-size:49px}.cards,.history-grid{grid-template-columns:1fr}.mission{padding:27px}.orbital{max-width:285px;min-height:285px}.labframe{height:4200px}}

.labhead .notlive a,.section-intro a{color:var(--star);text-decoration:underline;text-underline-offset:4px}.card .go{margin-top:auto}

/* Open Doors: editorial design across the whole science collection */
.open-doors{margin:48px 0 65px;padding:38px 42px;border:1px solid #567d83;border-radius:24px;background:radial-gradient(ellipse at 93% 5%,#1e4953 0%,#142e41 45%,#111b33 100%);box-shadow:inset 0 1px 0 #b4fcf21c}
.open-doors h2{font:clamp(32px,4vw,52px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:12px 0 14px;color:#f3efea}
.open-doors .open-lead{font:clamp(18px,2vw,23px)/1.55 Georgia,serif;color:#e6eee8;max-width:910px}
.open-doors p{color:#c9d8df;max-width:925px}
.open-doors p strong{color:#fff0cb}
.open-doors a:not(.button){color:#a0f2e6;text-decoration:underline;text-underline-offset:4px}
.open-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:29px 0}
.open-principles>div{border-top:1px solid #7eb8b082;padding-top:16px}
.principle-symbol{font:32px Georgia,serif;color:#f8d9a5}
.open-principles h3{font:22px Georgia,serif;margin:4px 0 7px;color:#f4efe5}
.open-principles p{font-size:14px;margin:0;color:#c8d8df}
.open-finish{padding-top:14px;border-top:1px solid #77aea34c}
.welcome-ribbon{display:flex;gap:16px;align-items:flex-start;border:1px solid #517a85;border-radius:14px;background:linear-gradient(125deg,#152f41,#151e37);color:#dbe8ed;padding:18px 22px;margin:12px 0 33px;font-size:14px;line-height:1.6}
.welcome-ribbon>span{color:#f5d59e;font:30px Georgia,serif;line-height:1}
.welcome-ribbon strong{color:#f8eed9}.welcome-ribbon a{color:#a4f0e4;text-decoration:underline;text-underline-offset:3px}
.about-promise{margin:30px 0 60px}
@media(max-width:800px){.open-principles{grid-template-columns:1fr;gap:15px}.open-doors{padding:26px 23px}}
@media(max-width:500px){.open-doors{padding:23px 19px;margin:30px 0 45px}.welcome-ribbon{padding:16px;gap:11px}}

/* The star viewer is a gallery destination, not an obligatory mission. */
.star-gallery-section{margin-top:66px;margin-bottom:65px;padding:26px 0 8px;border-top:1px solid rgba(179,203,225,.18)}
.star-gallery-cards{grid-template-columns:minmax(0,1fr)!important;max-width:850px}
.star-gallery-cards .card{display:grid;grid-template-columns:minmax(130px,.42fr) minmax(0,1fr);min-height:220px}
.star-gallery-cards .visual{height:auto;min-height:220px;background:radial-gradient(circle at 43% 42%,rgba(196,175,255,.37),transparent 45%),radial-gradient(circle at 70% 75%,rgba(140,233,229,.24),transparent 40%),linear-gradient(140deg,#0c1834,#273059 65%,#0b142b)}
@media(max-width:600px){.star-gallery-cards .card{grid-template-columns:1fr}.star-gallery-cards .visual{height:125px;min-height:125px}.star-gallery-section{margin-top:45px;margin-bottom:45px}}

/* V16 · Responsive widescreen laboratory doors: no change to ordinary pages. */
.lab-page .shell{max-width:1900px;padding-left:clamp(12px,2vw,36px);padding-right:clamp(12px,2vw,36px)}
.lab-page .feature{padding:clamp(5px,1.1vw,15px);min-width:0}
.lab-page .labframe{width:100%;max-width:100%;}
@media(max-width:700px){.lab-page .shell{padding-inline:12px}.lab-page .feature{padding:4px}.lab-page .labhead{padding-top:35px}}

/* V17: The outer laboratory page alone handles vertical scrolling. */
.lab-page iframe.labframe{overflow:hidden;display:block;border:0}

/* V18: generous, optional book and neighboring-experiment doors */
.lab-page .reading-door,.lab-page .related-door{margin:20px 0 26px;padding:clamp(20px,2.5vw,32px);border-radius:18px;border:1px solid #365366;background:linear-gradient(130deg,#16283c,#20283e);max-width:none}
.lab-page .reading-door h2,.lab-page .related-door h2{font:normal clamp(22px,2.3vw,31px)/1.2 Georgia,serif;margin:6px 0 10px}
.lab-page .reading-door p,.lab-page .related-door p{color:#c9dce5;max-width:970px;line-height:1.65;margin:0 0 12px}
.lab-page .reading-door a,.lab-page .related-door a{color:#89e5e7;text-decoration:underline;text-underline-offset:4px;font-weight:600}


/* V34: An optional AI science guide invitation, entirely outside the live experiments. */
.curious-friend{margin:44px 0 55px;padding:clamp(22px,3vw,38px);border:1px solid #557987;border-radius:21px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;background:radial-gradient(circle at 5% 15%,rgba(63,118,128,.24),transparent 39%),linear-gradient(125deg,#122b3b,#1a253c 74%);box-shadow:inset 0 1px 0 #d1fff014}
.curious-friend .cf-symbol{font:48px/1 Georgia,serif;color:#f6d4a3;text-shadow:0 0 23px rgba(255,217,166,.24)}
.curious-friend .eyebrow{color:#d9c9fa}
.curious-friend h2{font:normal clamp(27px,3.3vw,40px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:9px 0 13px;color:#f5f0e8}
.curious-friend p{max-width:850px;margin:0 0 13px;color:#d2dfe6;font-size:15px;line-height:1.66}
.curious-friend .cf-highlight{color:#f6dfb1;font:italic clamp(18px,2vw,23px)/1.45 Georgia,serif;margin:13px 0 16px}
.curious-friend .cf-sample{max-width:820px;padding:14px 17px;border-left:2px solid #70bbb2;background:#0a182b60;color:#e5f3ee;font-size:14px;line-height:1.6;border-radius:0 9px 9px 0}
.curious-friend .cf-quotation{color:#a0dfd5;font:23px Georgia,serif}
.curious-friend .cf-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center;margin:19px 0 12px}
.curious-friend button.cf-copy-button{font:600 14px system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer;border:1px solid #8edbd2;color:#0c2832;background:#8ce9e5;border-radius:999px;padding:11px 18px;transition:background .15s,transform .15s}
.curious-friend button.cf-copy-button:hover{background:#b5f8ef;transform:translateY(-1px)}
.curious-friend button.cf-copy-button:focus-visible{outline:3px solid #f6d4a3;outline-offset:3px}
.curious-friend .cf-status{font-size:13px;color:#b5e9dc}
.curious-friend p.cf-note{color:#b6cbd4;font-size:12px;line-height:1.6;margin:9px 0 0}
.curious-friend .cf-manual{display:block;width:100%;max-width:850px;min-height:140px;margin:14px 0 0;padding:12px;background:#081725;color:#f5f0e8;border:1px solid #568591;border-radius:10px;font:13px/1.5 system-ui,sans-serif;resize:vertical}
@media(max-width:560px){.curious-friend{grid-template-columns:1fr;gap:6px;padding:22px 18px;margin:30px 0 40px}.curious-friend .cf-symbol{font-size:33px}.curious-friend .cf-actions{align-items:flex-start;flex-direction:column}.curious-friend button.cf-copy-button{width:100%;min-height:44px}}
