/* Hero only: original logo/screenshots stay unchanged. */
body.rrh-compact .hero{padding:112px 0 55px}
body.rrh-compact .hero-grid{grid-template-columns:1.13fr 1fr;gap:40px;align-items:center;min-height:440px}
body.rrh-compact .hero .eyebrow{margin:0 0 18px}
body.rrh-compact .hero h1{margin:0 0 34px;line-height:1}
body.rrh-compact .hero .cover-logo{width:162px;max-width:100%;height:auto}
body.rrh-compact .hero .thesis{font:900 clamp(30px,2.7vw,38px)/1.42 var(--serif);margin:0 0 24px;max-width:none;text-wrap:pretty}
body.rrh-compact .hero .cover-intro{font:400 15px/1.9 var(--sans);margin:0;max-width:32em}
body.rrh-compact .hero-phones{position:relative;justify-content:center;align-items:center;gap:14px;transform:translateX(30px);padding:24px 0}
body.rrh-compact .hero-phones>figure{flex:0 0 204px;width:204px;min-width:0;transform:rotate(-7deg);transform-origin:50% 75%;margin:0}
body.rrh-compact .hero-phones>figure.second{margin-top:48px;transform:rotate(7deg)}
body.rrh-compact .hero-phones .phone{box-sizing:border-box;display:block;width:100%;height:auto;max-height:none;padding:6px;border-radius:27px;background:#1A1A17;overflow:hidden;line-height:0}
body.rrh-compact .hero-phones .phone img{display:block;width:100%;height:auto;max-height:none;max-width:100%;border-radius:21px;object-fit:contain;transform:none}
/* Reference chapter numbers: same font, fill and 1px outline. */
body.rrh-compact .chapter-top>.ch-no{font-family:var(--serif);font-weight:900;color:#EAE2D5;-webkit-text-stroke:1px #D1C5B3;letter-spacing:-.04em}
body.rrh-compact .night .chapter-top>.ch-no{color:var(--night);-webkit-text-stroke:1px #87978B}
/* Reset legacy link padding: reference rows are16px, with10px between rows. */
.section-nav{position:fixed;left:24px;top:50%;transform:translateY(-50%);z-index:30;display:flex;flex-direction:column;gap:10px}
.section-nav a{display:flex;align-items:center;gap:10px;padding:0;text-decoration:none;font:500 12px/1 var(--sans);color:var(--muted);letter-spacing:normal}
.section-nav a i{display:block;flex:none;width:18px;height:2px;background:var(--line);transition:width .2s,background .2s}
.section-nav a span{display:block;opacity:0;white-space:nowrap;background:var(--paper);padding:2px 4px;transition:opacity .2s}
.section-nav a.on{color:var(--accent)}.section-nav a.on i{width:34px;background:var(--accent)}
.section-nav a.on span,.section-nav:hover a span,.section-nav:focus-within a span{opacity:1}
@media(max-width:760px){.section-nav{display:none}}
@media(max-width:1139px) and (min-width:901px){body.rrh-compact .hero-grid{gap:24px}body.rrh-compact .hero-phones{gap:6px;transform:translateX(18px)}body.rrh-compact .hero-phones>figure{flex-basis:174px;width:174px}body.rrh-compact .hero .thesis{font-size:31px}}
@media(max-width:900px){body.rrh-compact .hero-grid{grid-template-columns:1fr;gap:25px}body.rrh-compact .hero-phones{transform:none;justify-content:center}body.rrh-compact .hero .thesis{max-width:20em}body.rrh-compact .hero h1{margin-bottom:26px}}
@media(max-width:560px){body.rrh-compact .hero{padding:90px 0 28px}body.rrh-compact .hero .cover-logo{width:145px}body.rrh-compact .hero .thesis{font-size:29px}body.rrh-compact .hero-phones{gap:8px;padding:12px 10px 24px}body.rrh-compact .hero-phones>figure{width:145px;flex-basis:145px}body.rrh-compact .hero-phones>figure.second{margin-top:32px}body.rrh-compact .hero-phones .phone{border-radius:22px;padding:5px}body.rrh-compact .hero-phones .phone img{border-radius:17px}}
@media(prefers-reduced-motion:reduce){.section-nav a i,.section-nav a span{transition:none}}
