/* RM Walke / Science, Research & Discovery. Shared identity, readable papers. */
:root{--ink:#0a1824;--paper:#f5f3ec;--gold:#e3c18b;--teal:#79b7b2;--muted:#a9bdc4;background:var(--paper);color:#233b43}
.site-header{background:var(--ink);color:#f5f3ec;border-bottom:1px solid #ffffff16}
.header-inner{min-height:88px;padding-block:1rem}
.brand{gap:.8rem}
.brand>span{display:grid;gap:.2rem}
.brand small{font-size:.58rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#b7c8cc}
.nav{gap:.25rem}
.nav a{font-size:.82rem;font-weight:550;border-radius:3px;padding-inline:.8rem;color:#c7d5d8}
.nav a:hover,.nav a[aria-current]{background:#ffffff0c;color:#f2d6a8}
.site-footer{background:var(--ink);padding-block:3rem;color:#c2d0d2;border-top:1px solid #ffffff14}
.site-footer .footer-name{color:#f7f3e9}
.rmw-privacy-links{background:#0e202c;color:#b9cdd2}
.page-intro{background:#e9eeea;border-bottom:1px solid #d7ded7}
.page-intro h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}
.button{border-radius:4px}
.eyebrow{letter-spacing:.1em;font-size:.73rem}
.card{box-shadow:none;border-radius:6px}
.science-home .container{max-width:1180px}
.cosmic-hero{background:var(--ink);color:#f5f3ec;overflow:hidden;position:relative}
.cosmic-grid{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;gap:1rem;min-height:670px;padding-block:3rem 3.6rem}
.cosmic-copy{position:relative;z-index:1;padding-block:1rem;max-width:650px}
.cosmic-copy .eyebrow{display:flex;align-items:center;gap:.7rem;color:var(--gold);font-size:.72rem;letter-spacing:.19em;margin-bottom:2.2rem}
.cosmic-copy .eyebrow::before{content:'';height:1px;width:29px;background:var(--gold)}
.cosmic-copy h1{font:400 clamp(3.4rem,6.5vw,5.8rem)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-.05em;margin-bottom:1.6rem}
.cosmic-copy h1 em{color:var(--gold);font-weight:400}
.cosmic-copy .hero-lead{font-size:1.03rem;line-height:1.85;color:#bacbd1;max-width:31rem}
.cosmic-copy .hero-marathi{color:#e3e7dc;font-size:.95rem;letter-spacing:.025em;margin-top:1.4rem}
.cosmic-copy .actions{margin-top:2rem;gap:.8rem}
.cosmic-copy .button{background:var(--gold);color:var(--ink);font-size:.84rem;padding:.95rem 1.2rem;border:1px solid var(--gold)}
.cosmic-copy .button:hover{background:#f5dba9}
.cosmic-copy .button.secondary{background:transparent;color:#f2f0e4;border-color:#5b6d77}
.cosmic-copy .button.secondary:hover{background:#ffffff0a;border-color:#a6bbc1}
.hero-author{font-size:.7rem;letter-spacing:.06em;color:#a0b4be;margin:1.8rem 0 0}
.cosmic-figure{margin:0;align-self:stretch;position:relative;display:flex;align-items:center;justify-content:center;min-width:0;flex-direction:column}
.cosmic-figure>img{width:132%;height:auto;max-width:none;margin:-3rem -16% -5rem;pointer-events:none}
.cosmic-figure figcaption{width:83%;align-self:flex-end;position:relative;border-top:1px solid #5f747858;padding-top:1rem}
.cosmic-figure figcaption>a{display:flex;justify-content:space-between;align-items:center;gap:1rem;text-decoration:none;color:#eee4d0;min-height:48px}
.cosmic-figure figcaption>a:hover strong{color:var(--gold)}
.cosmic-figure strong{font-family:Georgia,serif;font-weight:400;font-size:1.5rem;letter-spacing:.015em;display:block}
.cosmic-figure .figure-kicker{display:block;font-size:.6rem;color:#9eb5bd;text-transform:uppercase;letter-spacing:.15em;margin-bottom:.4rem}
.cosmic-figure .figure-arrow{font-size:1.7rem;color:var(--gold)}
.cosmic-figure .art-note{font-size:.6rem;color:#99b0ba;line-height:1.6;margin:.5rem 0 0}
.science-paths{background:#102632;color:#dae6e5;border-top:1px solid #ffffff14}
.science-paths .container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.science-paths a{display:flex;align-items:center;gap:1rem;padding:1.7rem 1.2rem;text-decoration:none;min-height:106px;border-right:1px solid #ffffff12}
.science-paths a:first-child{padding-left:0}
.science-paths a:last-child{border-right:0}
.science-paths a:hover{color:var(--gold);background:#ffffff03}
.science-paths .path-symbol{font:400 1.6rem Georgia,serif;color:var(--gold);min-width:1.8rem;text-align:center}
.science-paths strong{display:block;font-size:.79rem;font-weight:600;letter-spacing:.025em}
.science-paths small{display:block;font-size:.68rem;color:#a2b9c0;margin-top:.25rem}
.science-home .section{padding-block:5rem}
.science-home h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(2rem,3.5vw,3.2rem);letter-spacing:-.035em;line-height:1.15}
.science-home .section-head{align-items:end;margin-bottom:2.4rem}
.science-home .section-head .text-link{font-size:.8rem;color:#45615f;white-space:nowrap}
.science-home .eyebrow{color:#7b5735}
.science-home .cosmic-copy .eyebrow{color:var(--gold)}
.research-intro{max-width:38rem;color:#576b6e;font-size:.94rem;margin-top:1rem;margin-bottom:0}
.research-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #cfd7cd;border-left:1px solid #cfd7cd}
.research-entry{display:flex;flex-direction:column;padding:2rem 2.2rem 1.8rem;border-right:1px solid #cfd7cd;border-bottom:1px solid #cfd7cd;min-width:0;scroll-margin-top:1rem;background:#faf9f3}
.research-entry:first-child{background:#edf0e8}
.research-entry-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.8rem}
.research-entry .entry-index{font:400 1.9rem Georgia,serif;color:#a8b5a9}
.research-entry .tag{font-size:.62rem;line-height:1.6;letter-spacing:.09em;text-transform:uppercase;margin:0;color:#46655f}
.research-entry h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:1.7rem;line-height:1.3;letter-spacing:-.025em;margin-bottom:1rem}
.research-entry h3 a{text-decoration:none}
.research-entry h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.research-entry>p{font-size:.87rem;line-height:1.8;color:#53666a}
.research-entry .entry-status{font-size:.69rem;color:#76623e;line-height:1.6;margin-top:auto;padding-top:1rem}
.research-entry .entry-links{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.3rem;padding-top:.6rem}
.entry-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.76rem;font-weight:650;text-underline-offset:4px}
.research-note{font-size:.73rem;color:#667570;line-height:1.7;margin:1.35rem 0 0;max-width:65rem}
.science-home .section.alt{background:#e9ede5}
.science-bridge{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.bridge-copy>p:not(.eyebrow){max-width:31rem;color:#53666a;font-size:.97rem;line-height:1.8}
.bridge-copy .actions{margin-top:1.8rem}
.bridge-copy .button{font-size:.83rem}
.bridge-list{border-top:1px solid #c6d1c3}
.bridge-list>a{display:grid;grid-template-columns:2.1rem 1fr 1rem;gap:.8rem;align-items:center;text-decoration:none;padding:1.55rem .25rem;border-bottom:1px solid #c6d1c3}
.bridge-list>a:hover{background:#f5f5ed}
.bridge-list .list-number{font:1.2rem Georgia,serif;color:#867353}
.bridge-list strong{display:block;font-size:.9rem;color:#304e50;font-weight:650;line-height:1.6}
.bridge-list small{display:block;font-size:.75rem;color:#617670;line-height:1.6;margin-top:.2rem}
.science-notes{display:grid;grid-template-columns:1fr 1fr;gap:2.7rem}
.science-notes article{border-top:1px solid #c9d3c6;padding-top:1.6rem}
.science-notes h3{font:400 1.7rem/1.3 Georgia,serif;margin:1rem 0}
.science-notes h3 a{text-decoration:none}
.science-notes article>p:not(.tag){font-size:.88rem;color:#61716d}
.science-notes .tag{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:#7b5735}
.science-notes .text-link{display:inline-block;font-size:.8rem;min-height:44px}
.curiosity-band{background:var(--ink);color:#efece1;padding-block:3.5rem}
.curiosity-band .container{display:flex;justify-content:space-between;align-items:center;gap:2rem}
.curiosity-band h2{font-size:clamp(2rem,3vw,2.9rem);margin-bottom:.65rem}
.curiosity-band p{color:#a9bfc6;font-size:.88rem;margin-bottom:0;max-width:44rem}
.curiosity-band .button{background:transparent;color:var(--gold);border:1px solid #74694f;font-size:.82rem;white-space:nowrap}
.curiosity-band .button:hover{background:#ffffff08;border-color:var(--gold)}
.cosmology-header{background:var(--ink);color:#f5f3ec;overflow:hidden}
.cosmology-header .eyebrow{color:var(--gold)}
.cosmology-header h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;max-width:25ch;font-size:clamp(2rem,4.1vw,3.5rem)}
.cosmology-header .byline,.cosmology-header .affiliation{color:#bacfd3}
.cosmology-header .publication-status{color:var(--gold);font-size:.78rem;letter-spacing:.03em}
.cosmology-header .button{background:var(--gold);color:var(--ink)}
.cosmology-header .button.secondary{border-color:#759095;background:transparent;color:#f1e8d3}
.cosmology-header .publication-jump{border-top-color:#3b5059}
.cosmology-header .publication-jump a{font-size:.8rem;color:#c5dadc}
.cosmology-reading{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:2.5rem;align-items:center}
.cosmology-reading>img{width:100%;height:auto;max-width:420px;margin:auto}
.cosmology-note{border-left-color:#a97d46;background:#fcf8eb}
.cosmology-note .publication-notice-title{color:#72532b}
@media(min-width:1600px){.cosmic-grid{min-height:710px}}
@media(max-width:1000px){.cosmic-grid{min-height:600px;grid-template-columns:1.1fr 1fr}.cosmic-copy h1{font-size:4.3rem}.cosmic-figure>img{width:145%;margin-inline:-22.5%;margin-bottom:-2rem}.science-paths a{padding-inline:.7rem;gap:.55rem}.science-bridge{gap:2.5rem}.research-entry{padding:1.7rem}.research-entry h3{font-size:1.5rem}}
@media(max-width:800px){.header-inner{gap:.8rem;min-height:0}.brand small{font-size:.57rem}.nav{gap:0}.nav a{font-size:.78rem;padding:.5rem .7rem}.cosmic-grid{grid-template-columns:1fr;padding-block:2.6rem 2.8rem;gap:0;min-height:0}.cosmic-copy{max-width:36rem}.cosmic-copy h1{font-size:clamp(3.6rem,9vw,5rem)}.cosmic-copy .eyebrow{margin-bottom:1.6rem}.cosmic-figure{max-width:470px;justify-self:center;width:100%;margin-top:0}.cosmic-figure>img{width:112%;margin:-1rem -6% -4rem}.cosmic-figure figcaption{width:90%;align-self:center}.science-paths .container{grid-template-columns:1fr 1fr}.science-paths a{padding:1.15rem .7rem!important;min-height:90px}.science-paths a:nth-child(2){border-right:0}.science-paths a:nth-child(-n+2){border-bottom:1px solid #ffffff12}.science-home .section{padding-block:3.4rem}.science-home .section-head{align-items:start;flex-direction:column;gap:1rem}.research-shelf{grid-template-columns:1fr}.research-entry{padding:1.7rem 1.5rem}.research-entry h3{font-size:1.65rem}.research-entry-top{margin-bottom:1.2rem}.science-bridge{grid-template-columns:1fr;gap:2rem}.science-notes{gap:1.5rem}.curiosity-band .container{flex-direction:column;align-items:start}.cosmology-reading{grid-template-columns:1fr}.cosmology-reading>img{max-width:300px;margin-block:-2rem}.hero-author{font-size:.66rem}}
@media(max-width:480px){.nav a{padding-inline:.6rem;font-size:.76rem}.header-inner{padding-block:.8rem .5rem}.cosmic-copy h1{font-size:3.65rem}.cosmic-copy .hero-lead{font-size:.97rem}.cosmic-copy .hero-marathi{font-size:.87rem}.cosmic-copy .actions{flex-direction:column;align-items:stretch;gap:.7rem}.cosmic-copy .button{text-align:center}.cosmic-copy .eyebrow{font-size:.62rem;letter-spacing:.15em}.cosmic-figure>img{margin-top:-.75rem;margin-bottom:-2.8rem}.cosmic-figure figcaption{width:100%}.science-paths strong{font-size:.74rem}.science-paths small{font-size:.62rem}.science-paths .path-symbol{font-size:1.35rem;min-width:1.5rem}.science-notes{grid-template-columns:1fr;gap:2rem}.research-entry h3{font-size:1.5rem}.science-home h2{font-size:2.2rem}.curiosity-band{padding-block:2.8rem}.science-home .section-head .text-link{white-space:normal}.brand-mark{width:2.3rem;height:2.3rem}}
@media(max-width:480px){.site-header .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0}.site-header .nav a{justify-content:center}.cosmic-hero::before{content:'';position:absolute;top:-110px;right:-180px;width:500px;height:500px;background:url('/science/cosmos.svg') center/contain no-repeat;opacity:.22;pointer-events:none}.cosmic-copy{position:relative}}

/* Public author identity and source repository, visible from the first screen. */
.research-identities{display:flex;flex-wrap:wrap;gap:.15rem 1.3rem;margin-top:.5rem}
.research-identities a{display:inline-flex;align-items:center;min-height:44px;font-size:.75rem;color:#c4d6d9;text-underline-offset:5px;text-decoration-color:#6d858c}
.research-identities a:hover{color:#e3c18b;text-decoration-color:currentColor}

/* The newest paper leads the research shelf; the science-wide identity remains. */
.research-entry-featured{grid-column:1/-1;border-top:3px solid #927344}
.featured-research-copy{display:grid;grid-template-columns:1.12fr 1fr;gap:3rem;align-items:start}
.featured-research-copy h3{font-size:clamp(1.65rem,2.4vw,2.1rem);margin-bottom:0}
.featured-research-copy p{font-size:.92rem;line-height:1.8;color:#455d60}
.featured-research-copy .entry-status{padding-top:.25rem;margin-bottom:.5rem}
.legendre-header{background:var(--ink);color:#f5f3ec;padding-block:3.2rem}
.legendre-header .publication-measure{max-width:1030px}
.legendre-header h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(2rem,3.8vw,3.25rem);max-width:36ch;letter-spacing:-.025em;line-height:1.2}
.legendre-header .eyebrow,.legendre-header .publication-status{color:var(--gold)}
.legendre-header .byline,.legendre-header .affiliation,.legendre-header .publication-download-note{color:#c0d2d6}
.legendre-header .affiliation{font-size:.9rem}
.legendre-header .button{background:var(--gold);color:var(--ink);border:1px solid var(--gold)}
.legendre-header .button.secondary{background:transparent;color:#eee7d6;border-color:#718991}
.legendre-header .button:hover{background:#f5dba9;color:var(--ink)}
.legendre-header .publication-jump{border-color:#435661}
.legendre-header .publication-jump a{color:#d0e0e1}
.legendre-equation{border-left:3px solid #9b7a47;background:#e9eee7;padding:1.3rem 1.5rem;margin:1.5rem 0}
.legendre-equation .equation-caption{display:block;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#536a62}
.legendre-equation p{font:400 clamp(1.25rem,3vw,1.8rem)/1.6 Georgia,serif;margin:.4rem 0}
.legendre-equation>span:last-child{font-size:.82rem;color:#536a62}
.claim-list{border-top:1px solid #ccd5cc;margin-top:1.5rem}
.claim-list article{padding:1.4rem 0;border-bottom:1px solid #ccd5cc}
.claim-list .claim-label{font-size:.74rem;font-weight:700;color:#74542e;margin:0 0 .4rem;letter-spacing:.025em}
.claim-list h3{font:400 1.45rem/1.35 Georgia,serif;margin:0 0 .7rem}
.claim-list article>p:last-child{margin-bottom:0}
#legendre-citation{overflow-wrap:anywhere}
@media(max-width:800px){.featured-research-copy{grid-template-columns:1fr;gap:1rem}.featured-research-copy h3{font-size:1.65rem}}
@media(max-width:480px){.legendre-header{padding-block:2rem}.legendre-header h1{font-size:2rem}.legendre-equation{padding:1rem}.featured-research-copy h3{font-size:1.5rem}}
