/*
Theme Name: Bayraba Dīpa
Theme URI: https://bayraba.com/
Author: Ryan Orrock
Description: The revised Dīpa for bayraba.com (WS06, DevSys 8lel and 3ge4): a wine-dark night with the Svādhiṣṭhāna yantra veiled in its glow, a lotus for the mark, the Paths floating beside the words, Namaste with the yin-yang. Dark by default; the Light switch is remembered. Fonts self-hosted; every drawing is SVG in code.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bayraba-dipa
*/

/* Literata and Tiro Devanagari Hindi, self-hosted (SIL OFL 1.1, assets/fonts/OFL-*.txt). */
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(assets/fonts/literata-200-900-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(assets/fonts/literata-200-900-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(assets/fonts/literata-200-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(assets/fonts/literata-200-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tiro-devanagari-hindi-400-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tiro-devanagari-hindi-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tiro-devanagari-hindi-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; position: relative; }
svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--max, 1200px)); margin-inline: auto; }
svg[data-icon] { flex: none; vertical-align: -0.2em; }
main h3 > a { display: flex; align-items: center; min-height: 48px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; min-width: 48px; padding: 0 16px; border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 10px; border-radius: 18px; z-index: 5; }
.menu-list a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; }
@media (max-width: 760px) {
  .menu { display: block; }
  .site-nav { display: none; }
}

/* Dark is the default for everyone; the system's light setting does not change it.
   The reader turns the light on with the switch (data-theme="light", remembered). */
:root {
  --ground: #3b1018; --ground-deep: #22080e; --glow: #86302f; --core: #923a36; --plum: #4d1236;
  --ink: #f8e9e2; --muted: #edd3cb; --rose: #ffb4a6; --rose-soft: #ff9f8a;
  --panel: rgba(24, 4, 9, .42); --panel-edge: rgba(255, 180, 166, .10); --sheet: #2a0a11;
  --veil: rgba(255, 196, 182, .20); --veil-thin: rgba(255, 196, 182, .12); --petal: rgba(255, 150, 130, .07);
  --ray-in: rgba(255, 170, 150, .13); --ray-out: rgba(255, 170, 150, 0);
  --moon-in: rgba(255, 228, 220, .26); --moon-out: rgba(255, 190, 175, .08); --seed: rgba(255, 210, 200, .30);
  --lotus-tip: #ffe0d6; --lotus-base: #ec6450; --lotus-side-tip: #fbac98; --lotus-side-base: #b9343a;
  --lotus-edge: #3b1018; --water: #ffc9bd;
  --button: #ffb4a6; --button-ink: #3b1018; --focus: #ffb4a6;
  --yy-a: #f8e1da; --yy-b: #5e1a22; --yy-halo: rgba(176, 76, 66, .45);
  --haze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0032' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.550 0 0 0 0 0.160 0 0 0 0 0.200 0.330 0 0 0 -0.132'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"); --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.060 0 0 0 0 0.000 0 0 0 0 0.020 0.352 0 0 0 -0.088'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --max: 1200px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ground: #f8ece8; --ground-deep: #f1dcd6; --glow: #f0bbaa; --core: #eaa898; --plum: #ebcfdc;
  --ink: #3a1118; --muted: #6b3a40; --rose: #8e1f1a; --rose-soft: #b3463a;
  --panel: rgba(255, 250, 248, .55); --panel-edge: rgba(142, 31, 26, .10); --sheet: #fff7f4;
  --veil: rgba(142, 31, 26, .20); --veil-thin: rgba(142, 31, 26, .12); --petal: rgba(240, 160, 140, .20);
  --ray-in: rgba(255, 255, 255, .55); --ray-out: rgba(255, 255, 255, 0);
  --moon-in: rgba(255, 252, 250, .9); --moon-out: rgba(255, 236, 230, .35); --seed: rgba(142, 31, 26, .30);
  --lotus-tip: #f9a690; --lotus-base: #b3271f; --lotus-side-tip: #ec8670; --lotus-side-base: #7f1a18;
  --lotus-edge: #f8ece8; --water: #8e1f1a;
  --button: #8e1f1a; --button-ink: #fff6f3; --focus: #8e1f1a;
  --yy-a: #fff7f4; --yy-b: #8e1f1a; --yy-halo: rgba(240, 187, 170, .55);
  --haze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0032' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.930 0 0 0 0 0.620 0 0 0 0 0.580 0.300 0 0 0 -0.120'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"); --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.450 0 0 0 0 0.160 0 0 0 0 0.180 0.110 0 0 0 -0.028'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: light;
}

body {
  font-family: 'Literata', Georgia, serif; font-size: 20px; line-height: 1.65; color: var(--ink);
  background-color: var(--ground);
  background-image:
    var(--grain),
    radial-gradient(circle 260px at 50% 430px, var(--core), transparent 100%),
    radial-gradient(ellipse 980px 860px at 50% 420px, var(--glow), transparent 72%),
    var(--haze),
    radial-gradient(ellipse 900px 1300px at -10% 1700px, var(--plum), transparent 70%),
    radial-gradient(ellipse 900px 1300px at 110% 3200px, var(--plum), transparent 70%),
    linear-gradient(180deg, var(--ground) 0%, var(--ground-deep) 100%);
  background-repeat: repeat, no-repeat, no-repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-size: 220px, auto, auto, 900px, auto, auto, auto;
  font-optical-sizing: auto;
}
body.article {
  background-image:
    var(--grain),
    radial-gradient(circle 200px at 50% 360px, var(--core), transparent 100%),
    radial-gradient(ellipse 900px 680px at 50% 340px, var(--glow), transparent 72%),
    var(--haze),
    radial-gradient(ellipse 900px 1300px at -10% 1500px, var(--plum), transparent 70%),
    linear-gradient(180deg, var(--ground) 0%, var(--ground-deep) 100%);
  background-repeat: repeat, no-repeat, no-repeat, repeat, no-repeat, no-repeat;
  background-size: 220px, auto, auto, 900px, auto, auto;
}
.site-header, .site-footer { position: relative; z-index: 1; }
main { position: relative; z-index: 2; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.meta { color: var(--muted); font-size: 18px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 12px; background: var(--button); color: var(--button-ink); text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px -14px rgba(20, 0, 4, .6); }

/* header: a title page, centred, no bar */
.utility { display: flex; align-items: center; gap: 14px; padding-top: 12px; }
.place { color: var(--muted); font-size: 18px; margin-right: auto; }
.pleasure { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--rose);
  font-weight: 600; text-decoration: none; }
.theme-switch { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 0;
  border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge);
  color: var(--ink); font-size: 18px; cursor: pointer; }
.theme-switch[hidden] { display: none; }
.theme-switch:hover { color: var(--rose); }
.to-light, .to-dark { align-items: center; gap: 8px; }
.to-light { display: inline-flex; } .to-dark { display: none; }
:root[data-theme="light"] .to-light { display: none; }
:root[data-theme="light"] .to-dark { display: inline-flex; }
.masthead { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 0; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 64px; }
.mark { width: 64px; height: 64px; overflow: visible; filter: drop-shadow(0 0 14px var(--glow)); }
.lt-front-tip { stop-color: var(--lotus-tip); } .lt-front-base { stop-color: var(--lotus-base); }
.lt-side-tip { stop-color: var(--lotus-side-tip); } .lt-side-base { stop-color: var(--lotus-side-base); }
.mark .petal { stroke: var(--lotus-edge); stroke-width: 1.3; stroke-linejoin: round; }
.mark .water { fill: var(--water); }
.word { font-size: 50px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 8px; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-top: 10px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none;
  font-size: 19px; border-radius: 10px; }
.site-nav a:hover { background: var(--panel); }
.menu summary { background: var(--panel); margin-top: 10px; }
.menu-list { background: var(--ground); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); text-align: left; }

/* the sanctum: the yantra veiled in the glow */
.sanctum { position: relative; padding: 70px 0 120px; }
.sanctum, .post-head { overflow-x: clip; }
.veil { position: absolute; left: 50%; top: -330px; width: 1060px; transform: translateX(-50%); z-index: -1;
  pointer-events: none; }
.veil.small { top: -330px; width: 940px; }
.yantra { display: block; width: 100%; height: auto; }
.s-ray-in { stop-color: var(--ray-in); } .s-ray-mid { stop-color: var(--ray-out); stop-opacity: .5; }
.s-ray-out { stop-color: var(--ray-out); }
.y-line { fill: none; stroke: var(--veil); stroke-width: 3; }
.y-line.thin { stroke: var(--veil-thin); stroke-width: 2; }
.y-petal { fill: var(--petal); stroke: var(--veil); stroke-width: 3; }
.s-moon-in { stop-color: var(--moon-in); } .s-moon-out { stop-color: var(--moon-out); }
.y-moon { stroke: var(--veil-thin); stroke-width: 2; }
.y-bindu { fill: var(--seed); }
.sanctum-text { text-align: center; max-width: 940px; }
h1 { font-size: 66px; line-height: 1.08; font-weight: 650; letter-spacing: -0.015em; text-wrap: balance; }
.lede { font-size: 24px; line-height: 1.55; margin: 26px auto 0; max-width: 34em; }
.ask { font-size: 22px; margin-top: 14px; font-style: italic; }
.act { margin-top: 34px; }

/* manifesto: three lines, like a vow */
.manifesto { max-width: 860px; text-align: center; padding: 30px 0 96px; }
.manifesto h2 { font-size: 30px; font-weight: 600; margin-bottom: 22px; }
.manifesto-line { font-size: 28px; line-height: 1.5; font-style: italic; font-weight: 450; margin-top: 12px; text-wrap: balance; }

/* the hall: the old left-hand panel of paths, floating beside the words */
.hall { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 60px; align-items: start; }
.paths-panel { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--panel-edge) transparent;
  background: var(--panel); border-radius: 22px; padding: 20px 16px 18px;
  box-shadow: inset 0 0 0 1px var(--panel-edge), 0 30px 60px -40px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.paths-panel h2 { font-size: 24px; font-weight: 600; padding: 0 12px 6px; }
.paths { display: grid; }
.paths + .paths { margin-top: 12px; padding-top: 12px; box-shadow: 0 -1px 0 var(--panel-edge); }
.paths a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  text-decoration: none; font-size: 18px; line-height: 1.25; }
.paths a:hover { background: var(--panel); color: var(--rose); }
.paths-float { display: none; }
.column { max-width: 760px; }
.faith-title { font-size: 44px; line-height: 1.12; font-weight: 650; margin-top: 6px; text-wrap: balance; }
.faith-ask { font-style: italic; font-size: 22px; margin-top: 10px; }
.faith-list { list-style: none; counter-reset: art; margin-top: 24px; display: grid; gap: 14px; }
.faith-list li { counter-increment: art; display: grid; grid-template-columns: 44px 1fr; }
.faith-list li::before { content: counter(art); color: var(--rose); font-weight: 700; font-size: 22px; line-height: 1.5; }
.faith-close { margin-top: 20px; font-style: italic; color: var(--muted); }
.writings { margin-top: 90px; }
.writings > h2 { font-size: 34px; font-weight: 650; margin-bottom: 10px; }
.writing { padding: 26px 0; }
.writing + .writing { box-shadow: 0 -1px 0 var(--panel-edge); }
.writing h3 { font-size: 28px; line-height: 1.22; font-weight: 650; margin-top: 4px; }
.writing h3 a, .related h3 a { text-decoration: none; }
.writing h3 a:hover, .related h3 a:hover { color: var(--rose); }
.excerpt { margin-top: 8px; }

.energy { max-width: 900px; text-align: center; padding: 120px 0 40px; }
.energy-title { font-size: 36px; line-height: 1.2; font-weight: 650; margin-top: 6px; text-wrap: balance; }
.energy-lead { font-size: 22px; margin-top: 18px; }
.energy-quote { margin-top: 26px; }
.energy-quote p { font-size: 34px; line-height: 1.4; font-style: italic; font-weight: 500; color: var(--rose); text-wrap: balance; }

.tribe { max-width: 860px; text-align: center; margin-top: 90px; padding: 56px 48px; border-radius: 28px;
  background: radial-gradient(ellipse at 50% 0, var(--glow), transparent 75%), var(--panel);
  box-shadow: inset 0 0 0 1px var(--panel-edge); }
.tribe-title { font-size: 36px; font-weight: 650; line-height: 1.2; margin-bottom: 14px; }
.tribe p + p { margin-top: 10px; }
.tribe-act { margin-top: 26px !important; }

/* footer: Namaste with the yin-yang, as before */
.site-footer { padding: 110px 0 60px; text-align: center; }
.yin-yang { width: 120px; height: 120px; display: block; margin: 0 auto; }
.yy-halo-in { stop-color: var(--yy-halo); } .yy-halo-out { stop-color: var(--yy-halo); stop-opacity: 0; }
.yy-light { fill: var(--yy-a); } .yy-dark { fill: var(--yy-b); }
.yy-ring { fill: none; stroke: var(--yy-b); stroke-width: 1.5; opacity: .6; }
.namaste { font-size: 34px; font-weight: 650; margin-top: 14px; }
.deva { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; color: var(--rose); margin-left: 8px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; margin-top: 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; }
.foot-title, .foot-place { color: var(--muted); font-size: 18px; }
.foot-title { margin-top: 14px; }

/* the article */
.post-head { position: relative; padding: 110px 0 70px; text-align: center; }
.post-title h1 { font-size: 76px; margin-top: 8px; }
.post .hall { margin-top: 10px; }
.prose { font-size: 21px; line-height: 1.72; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1.05em; }
.prose p.first::first-line { font-weight: 600; }
.prose-list { display: grid; gap: 8px; padding-left: 0; margin-top: 1em; }
.prose-li { display: grid; grid-template-columns: 30px 1fr; }
.prose-li::before { content: ""; width: 9px; height: 9px; margin-top: .62em; border-radius: 50%;
  background: var(--rose-soft); box-shadow: 0 0 0 4px var(--panel); }
.break { height: 14px; width: 14px; margin: 54px auto; border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0 35%, transparent 40%), radial-gradient(circle, var(--glow), transparent 70%); }
.pull { margin: 56px -20px; padding: 40px 44px; border-radius: 26px; text-align: center;
  background: radial-gradient(ellipse at 50% 50%, var(--glow), transparent 78%); }
.pull p { font-size: 28px; line-height: 1.5; font-style: italic; font-weight: 500; text-wrap: balance; }
.newsletter { margin-top: 56px; }
.author { margin-top: 56px; padding: 32px 36px; border-radius: 22px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--panel-edge); }
.author-title { font-size: 26px; font-weight: 650; }
.author-bio { margin-top: 8px; }
.author-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--rose); font-weight: 600; }
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 44px; }
.post-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px;
  border-radius: 14px; background: var(--panel); text-decoration: none; font-weight: 600; }
.related { margin-top: 80px; }
.related > h2 { font-size: 30px; font-weight: 650; }
.related li { padding: 22px 0; }
.related li + li { box-shadow: 0 -1px 0 var(--panel-edge); }
.related h3 { font-size: 24px; line-height: 1.25; font-weight: 650; margin-top: 4px; }

/* narrower than the panel and the words side by side: the paths float as a pill at the foot
   of the screen while the reader is in their part of the page, and rest after the last writing */
@media (max-width: 980px) {
  .hall { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .column { max-width: none; }
  .paths-panel { display: none; }
  .paths-float { display: block; position: sticky; bottom: 16px; justify-self: end; z-index: 4; margin-top: 56px; }
  .paths-float summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 50px;
    padding: 0 20px 0 16px; border-radius: 999px; cursor: pointer; font-weight: 600;
    background: var(--button); color: var(--button-ink); box-shadow: 0 14px 30px -10px rgba(10, 0, 2, .7); }
  .paths-float summary::-webkit-details-marker { display: none; }
  .paths-float[open] summary svg { transform: rotate(180deg); }
  .paths-sheet { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 110px); overflow-y: auto; padding: 10px; border-radius: 20px; background: var(--sheet);
    box-shadow: inset 0 0 0 1px var(--panel-edge), 0 30px 60px -20px rgba(0, 0, 0, .75); }
  .paths-sheet .paths { grid-template-columns: 1fr 1fr; column-gap: 4px; }
  .paths-sheet .paths a { padding: 0 10px; }
}
@media (max-width: 760px) {
  body { font-size: 19px;
    background-image:
      var(--grain),
      radial-gradient(circle 160px at 50% 380px, var(--core), transparent 100%),
      radial-gradient(ellipse 560px 640px at 50% 380px, var(--glow), transparent 72%),
      var(--haze),
      radial-gradient(ellipse 500px 1200px at -20% 2200px, var(--plum), transparent 70%),
      linear-gradient(180deg, var(--ground) 0%, var(--ground-deep) 100%);
    background-repeat: repeat, no-repeat, no-repeat, repeat, no-repeat, no-repeat;
    background-size: 220px, auto, auto, 900px, auto, auto; }
  body.article { background-image:
      var(--grain),
      radial-gradient(circle 150px at 50% 330px, var(--core), transparent 100%),
      radial-gradient(ellipse 520px 560px at 50% 330px, var(--glow), transparent 72%),
      var(--haze),
      linear-gradient(180deg, var(--ground) 0%, var(--ground-deep) 100%);
    background-repeat: repeat, no-repeat, no-repeat, repeat, no-repeat;
    background-size: 220px, auto, auto, 900px, auto; }
  .utility { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding-top: 6px; }
  .place { grid-column: 1; grid-row: 1; margin: 0; }
  .theme-switch { grid-column: 2; grid-row: 1; padding: 0 14px; }
  .pleasure { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .word { font-size: 40px; }
  .mark { width: 54px; height: 54px; }
  .sub { font-size: 18px; max-width: 20em; }
  .veil { width: 640px; top: -230px; }
  .veil.small { width: 600px; top: -250px; }
  .sanctum { padding: 54px 0 80px; }
  h1 { font-size: 42px; }
  .lede { font-size: 21px; }
  .manifesto { padding-bottom: 64px; }
  .manifesto-line { font-size: 23px; }
  .faith-title { font-size: 34px; }
  .faith-list li { grid-template-columns: 34px 1fr; }
  .writing h3 { font-size: 25px; }
  .energy { padding-top: 80px; }
  .energy-title { font-size: 29px; }
  .energy-quote p { font-size: 26px; }
  .tribe { padding: 40px 22px; margin-top: 64px; }
  .tribe-title { font-size: 29px; }
  .button { padding: 10px 20px; min-height: 52px; text-align: left; }
  .post-head { padding: 64px 0 40px; }
  .post-title h1 { font-size: 50px; }
  .prose { font-size: 20px; }
  .pull { margin: 40px -8px; padding: 26px 16px; }
  .pull p { font-size: 23px; }
  .author { padding: 24px 20px; }
  .post-nav { flex-direction: column; }
  .post-nav a { justify-content: space-between; }
}

/* ---------------------------------------------------------------- WordPress */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: 12px; left: 12px; width: auto; height: auto; margin: 0;
  clip-path: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border-radius: 12px; background: var(--button); color: var(--button-ink); font-weight: 600; text-decoration: none; }

/* the post's own words, as WordPress gives them */
.prose { overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.05em; }
.prose a { color: var(--rose); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-weight: 650; line-height: 1.25; margin-top: 1.5em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 26px; } .prose h4, .prose h5, .prose h6 { font-size: 22px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--rose); }
.prose blockquote { padding-left: 1.1em; box-shadow: inset 3px 0 0 var(--veil); font-style: italic; }
.prose hr { border: 0; height: 1px; background: var(--veil); margin: 1.8em 0; }
.prose img, .prose video, .prose embed, .prose object, .prose svg { max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; }
.prose figure, .prose .wp-caption, .prose [style*="width"], .prose [width] { max-width: 100% !important; }
.prose .wp-caption-text, .prose figcaption { margin-top: .4em; font-size: 18px; color: var(--muted); }
.prose .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.prose .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose::after { content: ""; display: block; clear: both; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { padding: .35em .6em; vertical-align: top; }
.prose pre { white-space: pre-wrap; }
/* the old posts' own sizes and colours were set for a white page: the theme's take over */
.prose [style*="font-size"], .prose font[size], .prose small { font-size: inherit !important; }
.prose [style*="color"], .prose font[color] { color: inherit !important; }
.prose [style*="background"], .prose [bgcolor] { background: none !important; }
.prose [style*="text-transform"] { text-transform: none !important; }
.prose [style*="letter-spacing"] { letter-spacing: normal !important; }
/* add-to-content's line under each post (Ryan's newsletter), drawn as the theme's button */
.prose > div[style*="background-color"] > hr { display: none; }
.prose > div[style*="background-color"] a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px;
  border-radius: 12px; background: var(--button); color: var(--button-ink) !important; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px -14px rgba(20, 0, 4, .6); }
.prose > div[style*="background-color"] { margin-top: 2em; }

/* the newest writing, in full, at the head of the home page's writings */
.lead + .writings { margin-top: 70px; }
.lead-title { font-size: 40px; line-height: 1.15; font-weight: 700; margin-top: 6px; }
.lead-title a { text-decoration: none; }
.lead-title a:hover { color: var(--rose); }
.lead .prose { margin-top: 18px; }

/* lists of writings: archives, search, the quizzes */
.archive-intro { max-width: 40em; margin: 18px auto 0; color: var(--ink); }
.writings .empty { color: var(--muted); }
.quizzes { margin-top: 70px; }
.quizzes > h2 { font-size: 30px; font-weight: 700; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px;
  padding: 0 14px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--panel-edge);
  text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--button); color: var(--button-ink); box-shadow: none; }
.pagination .page-numbers.dots { background: none; box-shadow: none; }

/* search */
.search-form { margin-top: 26px; text-align: left; }
.search-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: 12px; font: inherit;
  color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--veil); }
.search-row button { min-height: 52px; min-width: 52px; padding: 0 22px; border: 0; border-radius: 12px; font: inherit;
  font-weight: 600; cursor: pointer; background: var(--button); color: var(--button-ink); }
.post-head .search-form { max-width: 560px; margin-inline: auto; }
.not-found p + p { margin-top: 14px; }

/* headings that lead somewhere: plain, and tall enough to tap */
.manifesto h2 a, .tribe-title a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.manifesto h2 a:hover, .tribe-title a:hover { color: var(--rose); }
