/* PixelMagic Studios — approved geometric reading-page system */
.geo-page{margin:0;background:#101a2b;color:#101b30;font-family:Georgia,'Times New Roman',serif}.geo-page *{box-sizing:border-box}.geo-page .site-nav{font-family:Georgia,serif}.geo-reader{padding:28px 20px 48px;background:#101a2b}.geo-paper{max-width:1160px;margin:auto;padding:22px 27px 24px;border:2px solid #b58b4c;border-radius:14px;background:radial-gradient(ellipse at 88% 8%,rgba(216,171,90,.16),transparent 40%),repeating-linear-gradient(0deg,transparent 0px,transparent 31px,rgba(165,123,55,.035) 32px),#fbf0d9;box-shadow:0 20px 70px #050b16;position:relative;overflow:hidden}.geo-paper:before{content:'';position:absolute;inset:10px;border:1px solid #c8a66d;pointer-events:none;border-radius:8px}.geo-masthead{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.geo-brand{display:flex;gap:12px;align-items:center;color:#0c1b30;text-decoration:none;font-size:24px;letter-spacing:.12em;line-height:1.05}.geo-brand small{display:block;font-size:12px;letter-spacing:.36em}.geo-knight{font-size:50px;line-height:1}.geo-compass{font-size:52px;color:#ae8035}.geo-edition{text-align:right;font-size:13px;line-height:1.5}.geo-edition strong{font-weight:normal;font-variant:small-caps}.geo-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 0 12px;border-bottom:1px solid #caa56d;font-size:13px;position:relative;z-index:1}.geo-breadcrumb a{color:#102440;text-decoration:none}.geo-layout{display:grid;grid-template-columns:195px minmax(0,1fr);gap:28px;padding-top:18px;position:relative;z-index:1}.geo-sidebar{border-right:1px solid #d3af75;padding-right:15px}.geo-toc{display:flex;flex-direction:column;gap:2px}.geo-toc a{padding:11px 10px;color:#132038;text-decoration:none;border-bottom:1px solid rgba(186,143,76,.22);font-size:14px;line-height:1.25;border-radius:4px}.geo-toc a:first-child{background:linear-gradient(90deg,#10223d,#284868);color:white}.geo-toc a span{margin-right:7px}.geo-toc a:hover,.geo-toc a:focus{background:#e6d2ad;color:#122744}.geo-download{margin-top:26px;border-top:1px solid #bc8e4a;padding-top:14px;display:flex;flex-direction:column;gap:9px}.geo-download>span:first-child{font-size:12px;letter-spacing:.05em}.geo-download button{font:13px Georgia,serif;text-align:left;background:#f9f0df;border:1px solid #b79a6c;padding:12px 9px;border-radius:4px;color:#10223d;cursor:pointer}.geo-download button:hover{background:#e9d4b2}.geo-download #geo-feedback{font-size:11px;color:#34506c}.geo-edition-switch{display:flex;flex-direction:column;margin-top:20px;gap:7px}.geo-edition-switch a{font-size:12px;color:#1e3f68}.geo-edition-switch a[aria-current]{font-weight:bold;text-decoration:none}.geo-main{min-width:0}.geo-heading{position:relative;min-height:126px;padding:0 0 12px}.geo-heading-public:after{content:'';background:url('assets/geometry-reader/public-cosmos.webp') right center/contain no-repeat;position:absolute;right:-22px;top:-17px;width:46%;height:185px;z-index:-1;opacity:.9}.geo-heading h1{font-size:clamp(34px,4.1vw,57px);font-weight:normal;letter-spacing:-.035em;line-height:.96;margin:2px 0 14px;max-width:800px}.geo-heading p{font-size:14px;letter-spacing:.1em;margin:0;text-transform:uppercase}.geo-main h2{font-size:clamp(22px,2.3vw,30px);font-weight:normal;margin:0 0 10px;line-height:1.05}.geo-main h3{font-size:17px;font-weight:normal;margin:0 0 10px}.geo-main p,.geo-main li{font-size:15px;line-height:1.36}.geo-main p{margin:8px 0}.geo-main ul,.geo-main ol{padding-left:23px;margin:8px 0}.geo-intro{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:20px;margin:10px 0 20px;padding:16px;border:1px solid #d0ac72;border-radius:5px;background:rgba(255,250,239,.48)}.geo-note{padding:13px 10px;background:#f7e2b7;border:1px solid #b99355;transform:rotate(2deg);text-align:center;font-style:italic;font-size:16px;line-height:1.3}.geo-note .geo-figure{margin:6px auto 0}.geo-note img{max-height:100px}.geo-section{margin:22px 0}.geo-cards{display:grid;gap:9px}.geo-cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}.geo-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}.geo-card{border:1px solid #d4b180;background:rgba(255,250,241,.42);padding:13px;border-radius:5px;min-width:0}.geo-card p,.geo-card li{font-size:14px}.geo-card h2{font-size:22px}.geo-figure{margin:5px 0 10px;text-align:center}.geo-figure img{display:block;max-width:100%;width:100%;height:138px;object-fit:contain;mix-blend-mode:multiply}.geo-figure figcaption{font-size:13px;line-height:1.2}.geo-split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.geo-split>div{padding:14px;border-top:1px solid #c9a26a}.geo-activity{background:#f6e1dc;border:1px solid #e4b4a3;border-radius:5px}.geo-activity h2{font-style:italic}.geo-science-top{display:grid;grid-template-columns:48% 52%;gap:8px;align-items:center}.geo-panel{border:1px solid #d4b180;padding:15px;margin-bottom:12px;background:rgba(255,250,241,.45)}.geo-hero-figure img{height:440px;object-fit:contain}.geo-science-trio{margin:14px 0}.geo-equation{text-align:center;font-style:italic;font-size:23px;padding:14px}.geo-next{display:inline-block;margin-top:10px;color:#183e69;font-weight:bold}.geo-bottom{border-top:1px solid #b99156;display:flex;justify-content:space-between;gap:12px;padding-top:16px;margin-top:22px;font-size:12px}.geo-bottom a{color:#17385d}.geo-page .wire-footer{margin:0}@media(max-width:800px){.geo-reader{padding:10px 6px 30px}.geo-paper{padding:17px 15px}.geo-layout{grid-template-columns:145px minmax(0,1fr);gap:14px}.geo-sidebar{padding-right:9px}.geo-toc a{font-size:12px;padding:9px 5px}.geo-heading h1{font-size:clamp(29px,5vw,40px)}.geo-cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-cards.three{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-science-top{grid-template-columns:1fr}.geo-hero-figure img{height:310px}.geo-intro{grid-template-columns:1fr 120px}.geo-brand{font-size:18px}.geo-knight{font-size:37px}}@media(max-width:560px){.geo-layout{display:block}.geo-sidebar{border-right:0;padding-right:0}.geo-toc{flex-direction:row;overflow-x:auto;gap:6px;padding:4px 0 12px}.geo-toc a{white-space:nowrap;border:1px solid #c5a36d}.geo-download{margin-top:0;display:grid;grid-template-columns:1fr 1fr;align-items:center}.geo-download>span:first-child{grid-column:1/-1}.geo-edition-switch{flex-direction:row;justify-content:space-between;margin:12px 0}.geo-heading{margin-top:10px}.geo-heading-public:after{opacity:.25}.geo-brand{font-size:15px}.geo-brand small{font-size:9px}.geo-knight{font-size:30px}.geo-compass{display:none}.geo-edition{font-size:10px}.geo-intro{grid-template-columns:1fr}.geo-note{display:flex;align-items:center;justify-content:space-between}.geo-note img{height:65px}.geo-cards.three{grid-template-columns:1fr}.geo-split{grid-template-columns:1fr}.geo-main p,.geo-main li{font-size:14px}}@media print{.site-nav,.wire-footer,.geo-sidebar,.geo-bottom{display:none!important}.geo-reader{padding:0;background:white}.geo-paper{box-shadow:none;border:0;max-width:none}.geo-layout{display:block}.geo-page{background:white}.geo-section,.geo-card{break-inside:avoid}}

/* v5.0: immersive, edge-to-edge parchment reading layout. */
html:has(body.geo-page){background:#f8edda}
body.geo-page{background:#f8edda!important;overflow-x:hidden}
.geo-page .site-nav{display:none!important}
.geo-page .geo-reader{width:100%;max-width:none!important;margin:0;padding:0!important;background:#f8edda!important}
.geo-page .geo-paper{max-width:none!important;width:100%!important;min-height:100vh;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;padding:30px clamp(22px,4.5vw,82px) 60px!important;background:radial-gradient(ellipse at 88% 8%,rgba(223,178,95,.14),transparent 38%),radial-gradient(ellipse at 0% 90%,rgba(194,137,65,.10),transparent 42%),repeating-linear-gradient(0deg,transparent 0px,transparent 38px,rgba(165,123,55,.024) 39px),#f8edda!important}
.geo-page .geo-paper:before{inset:12px;border:1px solid rgba(166,116,48,.34);border-radius:0}
.geo-page .geo-masthead,.geo-page .geo-breadcrumb,.geo-page .geo-layout,.geo-page .geo-bottom{max-width:1720px;margin-left:auto;margin-right:auto}
.geo-page .geo-masthead{padding:4px 10px 14px}
.geo-page .geo-breadcrumb{padding:14px 10px 16px}
.geo-page .geo-layout{grid-template-columns:205px minmax(0,1fr);gap:clamp(28px,3vw,60px);padding-top:34px}
.geo-page .geo-sidebar{padding-right:20px;border-right:1px solid rgba(180,137,76,.55)}
.geo-page .geo-toc a{padding:13px 12px;line-height:1.35}
.geo-page .geo-heading{min-height:unset;padding:0 0 30px}
.geo-page .geo-heading h1{font-size:clamp(43px,4.15vw,69px);line-height:1.02;margin:0 0 16px;letter-spacing:-.025em;max-width:960px}
.geo-page .geo-heading p{font-size:clamp(12px,1.1vw,16px);letter-spacing:.105em;line-height:1.5}
.geo-page .geo-main h2{font-size:clamp(25px,2vw,34px);line-height:1.12;margin-bottom:14px}
.geo-page .geo-main p,.geo-page .geo-main li{font-size:clamp(15px,1.12vw,18px);line-height:1.56}
.geo-page .geo-main p{margin:10px 0 14px}
.geo-page .geo-main ul,.geo-page .geo-main ol{margin:10px 0;padding-left:24px}
.geo-page .geo-science-top{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(30px,4vw,72px);align-items:center;margin:0 0 38px}
.geo-page .geo-science-left{min-width:0}
.geo-page .geo-panel{padding:24px 28px;margin-bottom:18px;background:rgba(255,251,242,.35)}
.geo-page .geo-hero-figure{margin:0;min-width:0}
.geo-page .geo-hero-figure img{width:100%;height:clamp(340px,38vw,560px);object-fit:contain;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse 72% 75% at 50% 50%,#000 65%,transparent 100%)}
.geo-page .geo-section{margin:38px 0}
.geo-page .geo-cards{gap:20px}
.geo-page .geo-science-trio{margin:28px 0 42px}
.geo-page .geo-card{padding:24px 26px;background:rgba(255,251,242,.28);border-color:rgba(190,145,83,.55)}
.geo-page .geo-card h2{font-size:clamp(23px,1.8vw,30px)}
.geo-page .geo-card p,.geo-page .geo-card li{font-size:clamp(15px,1.05vw,17px);line-height:1.5}
.geo-page .geo-figure img{height:190px}
.geo-page .geo-intro{padding:26px 28px;grid-template-columns:minmax(0,1fr) 175px;gap:34px;margin:8px 0 34px}
.geo-page .geo-note{font-size:18px;padding:16px}
.geo-page .geo-note img{max-height:110px}
.geo-page .geo-heading-public:after{right:0;top:-36px;width:42%;height:220px;opacity:.48;z-index:0;pointer-events:none}
.geo-page .geo-heading-public>div{position:relative;z-index:1}
.geo-page .geo-bottom{padding-top:24px;margin-top:46px}
.geo-page .wire-footer{background:#f2e3c8!important;color:#14243a!important;border-top:1px solid #c5a577;box-shadow:none!important}
.geo-page .wire-footer *{color:#14243a!important}
@media(min-width:1600px){.geo-page .geo-paper{padding-left:6vw!important;padding-right:6vw!important}.geo-page .geo-layout{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:1100px){.geo-page .geo-layout{grid-template-columns:170px minmax(0,1fr);gap:25px}.geo-page .geo-sidebar{padding-right:12px}.geo-page .geo-science-top{gap:20px}.geo-page .geo-panel{padding:18px}.geo-page .geo-card{padding:17px}.geo-page .geo-cards{gap:12px}.geo-page .geo-heading h1{font-size:clamp(39px,4.4vw,55px)}}
@media(max-width:800px){.geo-page .geo-paper{padding:20px 18px 40px!important}.geo-page .geo-layout{display:block;padding-top:20px}.geo-page .geo-sidebar{border:0;padding:0;margin-bottom:25px}.geo-page .geo-toc{display:flex;flex-direction:row;overflow-x:auto;gap:7px;padding-bottom:12px}.geo-page .geo-toc a{white-space:nowrap;border:1px solid #c5a36d;padding:9px 11px}.geo-page .geo-download{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin-top:7px;padding-top:12px;gap:10px}.geo-page .geo-download button{padding:9px 12px}.geo-page .geo-edition-switch{flex-direction:row;gap:20px;margin:12px 0}.geo-page .geo-science-top{grid-template-columns:1fr 1fr}.geo-page .geo-hero-figure img{height:330px}.geo-page .geo-cards.three{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-page .geo-cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-page .geo-heading{padding-bottom:22px}.geo-page .geo-heading h1{font-size:clamp(37px,5.3vw,53px)}}
@media(max-width:600px){.geo-page .geo-paper{padding:16px 16px 32px!important}.geo-page .geo-masthead{gap:10px}.geo-page .geo-compass{display:none}.geo-page .geo-brand{font-size:16px}.geo-page .geo-knight{font-size:36px}.geo-page .geo-edition{font-size:10px}.geo-page .geo-heading h1{font-size:clamp(36px,9vw,50px)}.geo-page .geo-heading-public:after{opacity:.2;width:65%}.geo-page .geo-science-top{grid-template-columns:1fr;gap:0}.geo-page .geo-hero-figure img{height:300px}.geo-page .geo-panel{padding:18px}.geo-page .geo-cards.three,.geo-page .geo-cards.four,.geo-page .geo-split{grid-template-columns:1fr}.geo-page .geo-intro{grid-template-columns:1fr;padding:18px;gap:10px}.geo-page .geo-note{transform:none;display:flex;align-items:center;justify-content:space-between}.geo-page .geo-note img{max-height:75px}.geo-page .geo-card{padding:18px}.geo-page .geo-figure img{height:160px}}
@media print{.geo-page .geo-paper{padding:0!important;background:#fff!important}.geo-page .wire-footer{display:none!important}.geo-page .geo-sidebar{display:none!important}.geo-page .geo-layout{display:block!important}.geo-page .geo-hero-figure img{height:360px}}

/* v5.1 — ensure the scientific illustration fills its column rather than
   displaying at the small intrinsic thumbnail size. */
.geo-page .geo-science-top { align-items:stretch; }
.geo-page .geo-hero-figure {
  display:block;
  width:100%;
  min-width:0;
  min-height:570px;
  margin:0;
  background-image:url('assets/geometry-reader/scientific-knot.webp');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:contain;
}
.geo-page .geo-hero-figure img { display:none!important; }
@media(max-width:1100px) {
  .geo-page .geo-hero-figure { min-height:450px; }
}
@media(max-width:800px) {
  .geo-page .geo-hero-figure { min-height:400px; }
}
@media(max-width:600px) {
  .geo-page .geo-hero-figure { min-height:370px; }
}
