/*
Theme Name: Emanya Ink
Description: A quiet reading space for Emanya Lomundilo Woshilongo. Requires the Emanya Reader plugin.
Version: 1.0.0
Author: Lebbeus Hashikutuva
Requires at least: 6.8
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: emanya-ink
*/
@font-face{font-family:Source Serif;src:url(assets/fonts/source-serif-regular.woff2) format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Source Serif;src:url(assets/fonts/source-serif-italic.woff2) format('woff2');font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:DM Sans;src:url(assets/fonts/dm-sans.woff2) format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
:root{color-scheme:dark;--paper:#20292c;--ink:#f3eee0;--muted:#b6bdb4;--line:#465053;--accent:#d4b78a;--button:#dfc79f;--soft:#2b3639;--serif:'Source Serif',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:auto;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}body::before{content:'';position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 10%,#47605b13,transparent 60%);z-index:-1}a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}a:hover{color:var(--accent)}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}:focus-visible{outline:2px solid var(--accent);outline-offset:5px}::selection{background:#d4b78a;color:#20292c}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:46px;line-height:1.15;letter-spacing:-1px}h2{font-size:28px;line-height:1.3}h3{font-size:23px}hr{border:0;border-top:1px solid var(--line);margin:40px 0}.skip-link{position:absolute;left:20px;top:-100px;z-index:99;padding:12px;background:var(--button);color:var(--paper)}.skip-link:focus{top:12px}.site-header{min-height:86px;margin:0 48px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-family:var(--serif);font-size:15px;display:flex;gap:14px;align-items:center;text-decoration:none;line-height:1.3}.brand-mark{display:inline-block;flex-shrink:0;width:17px;height:23px;border:1px solid var(--accent);border-radius:50% 50% 34% 34%;transform:rotate(-9deg)}nav{display:flex;align-items:center;gap:28px}nav a{text-decoration:none;font-size:12px;color:var(--muted)}main{min-height:calc(100vh - 187px)}.welcome{max-width:780px;margin:auto;text-align:center;padding:54px 24px 28px}.stone-mark{display:block;width:25px;height:35px;border:1px solid var(--accent);border-radius:52% 45% 34% 38%;transform:rotate(-9deg);margin:0 auto 29px;position:relative}.stone-mark::after{content:'';position:absolute;inset:6px 4px;border:1px solid #d4b78a55;border-radius:50% 50% 30% 30%}.welcome h1{font-size:68px;line-height:1.06;letter-spacing:-1.8px;margin:0 0 21px}.author{font-size:12px;letter-spacing:2.4px;text-transform:uppercase;color:var(--muted);margin-bottom:33px}.tagline{font:italic 23px/1.5 var(--serif);color:var(--accent);margin-bottom:29px}.hero-actions{display:flex;gap:25px;justify-content:center;align-items:center;margin-bottom:18px}.button,.secondary{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:13px 27px;border:1px solid var(--button);border-radius:3px;background:var(--button);color:#262d2c;text-decoration:none;font-size:12px;letter-spacing:.3px;line-height:1.5}.button:hover{background:#eed5ad;color:#20292c}.quiet-link{font-size:12px}.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.secondary:hover{border-color:var(--accent);color:var(--accent)}.small{font-size:11px;color:var(--muted);line-height:1.7}.friday-note{font-family:var(--serif);font-style:italic;font-size:15px;color:var(--muted);margin:48px 0 0}.site-footer{margin:0 48px;padding:27px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.site-footer nav a{font-size:10px}.eyebrow{font-family:var(--sans);font-size:10px;line-height:1.5;letter-spacing:2px;text-transform:uppercase;color:var(--accent);margin-bottom:20px}.about,.privacy{max-width:700px;margin:0 auto;padding:66px 24px 70px}.about h1{font-size:45px;line-height:1.18;margin-bottom:40px}.prose{font-family:var(--serif);font-size:20px;line-height:1.85;overflow-wrap:break-word}.prose p{margin-bottom:1.3em}.prose blockquote{margin:32px 0;padding-left:24px;border-left:1px solid var(--accent);font-style:italic}.prose h2,.prose h3{margin-top:1.7em;margin-bottom:.65em}.prose ul,.prose ol{padding-left:1.5em}.prose img{max-width:100%;height:auto}.prose figure{margin:24px 0}.about-end{border-top:1px solid var(--line);padding-top:36px;margin-top:40px;text-align:center}.about-end .stone-mark{margin-bottom:24px}.privacy h1{font-size:43px}.privacy h2{font-size:26px}.privacy{font-size:18px}.form-page{max-width:455px;margin:auto;padding:64px 24px 75px;text-align:center}.form-page h1{font-size:39px;line-height:1.15;letter-spacing:-.6px;margin-bottom:17px}.form-page>p{color:var(--muted);font-family:var(--serif);font-size:18px;line-height:1.65}.form-page>p.small{font-family:var(--sans);font-size:11px}.book-form{text-align:left;margin-top:26px}.book-form label:not(.check){display:block;font-size:11px;margin-bottom:7px}.book-form input:not([type=checkbox]):not([type=hidden]){width:100%;min-width:0;background:#172123;border:1px solid var(--line);border-radius:3px;color:var(--ink);padding:13px 14px;min-height:48px;margin-bottom:19px;font-size:16px}.book-form input:focus{border-color:var(--accent)}.book-form .button{width:100%;margin-top:10px}.password-field{position:relative}.password-field input{padding-right:68px!important}.reveal{position:absolute;right:5px;top:5px;height:38px;min-width:52px;background:transparent;border:0;color:var(--muted);font-size:11px}.field-help{font-size:10px;color:var(--muted);margin:-11px 0 18px}.check{display:flex;align-items:flex-start;gap:10px;margin:10px 0 19px;font-size:11px;color:var(--muted);line-height:1.6}.check input{flex-shrink:0;margin:3px 0 0;accent-color:var(--accent);width:16px;height:16px}.honey{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.form-links{display:flex;justify-content:space-between;gap:16px;font-size:11px;margin:22px 0 30px}.notice{max-width:660px;margin:25px auto 0;padding:16px 22px;border:1px solid var(--line);border-radius:3px;font:13px/1.7 var(--sans);background:var(--soft)}.notice.error{border-color:#d6a393;color:#f5d7cc}.contents,.account{max-width:760px;margin:auto;padding:62px 24px 72px}.lead{color:var(--muted);font-family:var(--serif);font-size:19px}.chapter-list{list-style:none;margin:40px 0 26px;padding:0;border-top:1px solid var(--line)}.chapter-list li{border-bottom:1px solid var(--line)}.chapter-list a{display:flex;align-items:center;gap:24px;text-decoration:none;padding:24px 5px}.chapter-number{font-family:var(--serif);font-size:23px;color:var(--accent)}.chapter-name{font-family:var(--serif);font-size:22px;flex:1;line-height:1.35}.chapter-name small{display:block;font-family:var(--sans);font-size:10px;color:var(--muted);margin-top:8px}.chapter-state{font-size:10px;color:var(--muted);white-space:nowrap}.chapter-state>span{padding-left:10px}.reading-tools{max-width:900px;padding:24px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;font-size:11px}.reading-tools>a{text-decoration:none;color:var(--muted)}.text-settings{position:relative}.text-settings summary{cursor:pointer;list-style:none;font-family:var(--serif);font-size:21px;padding:3px 8px}.text-settings summary::-webkit-details-marker{display:none}.text-settings>div{position:absolute;right:0;top:45px;display:flex;align-items:center;gap:12px;background:#162023;border:1px solid var(--line);padding:12px;z-index:5;white-space:nowrap;box-shadow:0 12px 30px #0003}.text-settings button{background:transparent;color:var(--ink);border:1px solid var(--line);width:40px;height:40px;font-family:var(--serif)}.text-settings button[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}.text-settings button[data-size=small]{font-size:16px}.text-settings button[data-size=normal]{font-size:20px}.text-settings button[data-size=large]{font-size:24px}.reading{max-width:668px;margin:0 auto;padding:22px 24px 70px}.chapter-heading{text-align:center;margin-bottom:47px}.chapter-heading h1{font-size:47px;line-height:1.15;margin-bottom:26px}.chapter-rule{display:block;width:37px;margin:auto;border-top:1px solid var(--accent)}.chapter-heading .eyebrow{margin-bottom:16px}.reading .prose{font-size:20px;line-height:1.85}.reading .prose[data-size=small]{font-size:18px}.reading .prose[data-size=large]{font-size:24px}.chapter-end{margin-top:50px;padding-top:35px;border-top:1px solid var(--line);text-align:center;font-size:12px}.chapter-end .stone-mark{margin-bottom:24px}.chapter-end>p{color:var(--muted)}.end-note{font:italic 20px/1.7 var(--serif);color:var(--accent)!important}.chapter-end .button{margin:12px 0 18px}.bookmark-bar{position:sticky;bottom:0;z-index:3;background:#172123f5;border-top:1px solid var(--line);padding:11px max(24px,calc((100vw - 850px)/2));display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);backdrop-filter:blur(12px)}.bookmark-bar button{background:none;color:var(--accent);border:0;text-decoration:underline;text-underline-offset:4px;font-size:10px;white-space:nowrap;min-height:30px}.account{max-width:620px}.account>p{color:var(--muted)}.account-actions{display:flex;gap:22px;align-items:center;margin:30px 0}.text-button{background:none;border:0;padding:0;color:var(--muted);text-decoration:underline;text-underline-offset:5px;font-size:12px}.delete-account{margin-top:35px;font-size:13px}.delete-account summary{cursor:pointer;color:var(--muted);padding:10px 0}.delete-account>p{margin-top:18px}.delete-account .book-form{max-width:410px}.delete-account .secondary{color:#f5c3b8}.account h2{margin-bottom:14px}
@media(min-width:1500px){.welcome{padding-top:72px}.welcome h1{font-size:76px}.friday-note{margin-top:60px}}
@media(max-width:700px){.site-header{margin:0 22px;min-height:77px;gap:20px}.brand{max-width:190px;font-size:13px;gap:10px}.brand-mark{width:15px;height:22px}nav{gap:17px}nav a{font-size:11px}.nav-about{display:none}.site-footer{margin:0 22px;flex-direction:column;gap:15px;padding:25px 0}.site-footer nav{gap:22px}main{min-height:calc(100svh - 203px)}.welcome{padding:47px 22px 34px}.welcome h1{font-size:clamp(38px,9vw,58px);letter-spacing:-1px;line-height:1.09}.welcome .stone-mark{margin-bottom:27px}.author{font-size:10px;letter-spacing:1.9px;margin-bottom:31px}.tagline{font-size:20px;max-width:290px;margin:0 auto 27px}.hero-actions{gap:21px}.button{padding:13px 21px}.welcome .small{font-size:10px}.friday-note{margin-top:41px;font-size:14px}.about,.privacy{padding-top:44px}.about h1,.privacy h1{font-size:34px;letter-spacing:-.6px}.prose{font-size:19px}.form-page{padding-top:43px}.form-page h1{font-size:35px}.contents,.account{padding-top:44px}.contents h1,.account h1{font-size:37px}.chapter-list a{gap:15px;padding:23px 0}.chapter-name{font-size:20px}.chapter-state{font-size:9px;white-space:normal;max-width:72px;text-align:right}.reading{padding:17px 24px 52px}.reading-tools{padding-top:20px}.chapter-heading{margin-bottom:35px}.chapter-heading h1{font-size:37px}.reading .prose{font-size:19px}.reading .prose[data-size=large]{font-size:23px}.bookmark-bar{padding:8px 20px}.notice{margin:18px 22px 0}.reading .notice{margin:0 0 24px}.account-actions{flex-wrap:wrap}.form-links{gap:10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{body{background:white;color:black}.site-header,.site-footer,.bookmark-bar,.reading-tools,.chapter-end{display:none}.reading{max-width:none}.prose{font-size:12pt}}
