:root {
  --paper: #101622; --ink: #f4f0df; --muted: #bcc4d2; --accent: #e8daa4;
  --line: #444c60; --panel: #1b2433; --display: "Cormorant Garamond", Georgia, serif;
  color-scheme: dark;
}
body.pft { --paper: #fcf8ef; --ink: #161e22; --muted: #434d51; --accent: #9c3b16; --line: #d6c7b7; --panel: #f1eadd; --display: "Newsreader", Georgia, serif; color-scheme: light }
body.moments { --paper: #faf9f2; --ink: #123c36; --muted: #3f5d55; --accent: #246952; --line: #bdd1c4; --panel: #eaf2e9; --display: "Newsreader", Georgia, serif; color-scheme: light }
body.torch { --paper: #101217; --ink: #faf7f2; --muted: #cbc8c7; --accent: #ffaf73; --line: #494245; --panel: #211e22; --display: "Manrope", "DM Sans", sans-serif }
* {box-sizing: border-box}
body {margin:0; background:var(--paper); color:var(--ink); font: 1rem/1.65 "DM Sans",system-ui,sans-serif}
a {color:var(--accent);text-underline-offset:.2em}
a:focus-visible {outline:3px solid currentColor;outline-offset:4px}
header, main, footer {max-width:75rem;margin:auto;padding-inline:clamp(1.15rem,5vw,4rem)}
header {display:flex;align-items:center;justify-content:space-between;gap:1em;min-height:5rem;border-bottom:1px solid var(--line)}
.brand {display:inline-flex;align-items:center;gap:.6em;color:var(--ink);font-weight:700;text-decoration:none}
.brand img {width:2.4rem;height:2.4rem;object-fit:contain}
.hero {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;gap:clamp(1.5rem,6vw,5rem);padding-block:clamp(2rem,6vw,5rem);border-bottom:1px solid var(--line)}
h1,h2,h3,p,figure {margin:0}
h1,h2 {font:500 clamp(2.9rem,6vw,5.45rem)/1.03 var(--display);letter-spacing:-.04em;text-wrap:balance}
.torch h1,.torch h2 {font-weight:700}
h2 {font-size:clamp(1.8rem,3vw,2.55rem);margin-bottom:.85rem}
h3 {font-size:1.06rem;line-height:1.4;margin-top:1.2em}
.intro {font-size:clamp(1.08rem,2.1vw,1.3rem);color:var(--muted);margin:1.1rem 0;max-width:39em}
figure {text-align:center}
figure img {display:block;max-width:100%;width:auto;height:auto;max-height:25rem;margin:auto;border-radius:12px}
figcaption {max-width:31em;margin:.55rem auto 0;color:var(--muted);font-size:.83rem}
.contents {max-width:47rem;padding-block:2.5rem}
.contents section {margin:0 0 2.5rem}
.contents p+p,.contents h3+p {margin-top:.55em}
ul,ol {padding-inline-start:1.45rem} li+li {margin-top:.55rem}
blockquote {margin:1.1rem 0;padding:.8rem 1.1rem;border-left:3px solid var(--accent);background:var(--panel);font-family:var(--display);font-size:1.4rem}
.actions {display:flex;align-items:center;flex-wrap:wrap;gap:.65rem 1rem;margin-top:1.2rem}
.actions img {width:auto;height:44px;display:block}
.button {display:inline-block;background:var(--accent);color:var(--paper);padding:.6em 1.1em;border-radius:6px;text-decoration:none;font-weight:700}
.note {font-size:.88rem;color:var(--muted);margin-top:.75rem}
.related {border-top:1px solid var(--line);padding-block:1.5rem 2.7rem}
.related a,footer a {display:inline-block;margin:.3em 1.25em .3em 0}
footer {border-top:1px solid var(--line);padding-block:1.5rem;font-size:.9rem}
.skip {position:absolute;left:1em;top:-5em;background:var(--paper);padding:1em}.skip:focus{top:0}
@media(max-width:700px){.hero{grid-template-columns:1fr}.hero figure img{max-height:19rem}header{min-height:4.1rem}.contents{padding-block:1.8rem}.contents section{margin-bottom:1.8rem}.actions img{height:40px}}
