@font-face{font-family:Amiri;src:url('./assets/amiri-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Amiri;src:url('./assets/amiri-bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'Noto Sans Arabic';src:url('./assets/noto-arabic.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans Arabic';src:url('./assets/noto-arabic-medium.ttf') format('truetype');font-weight:500 800;font-display:swap}
:root{--paper:#f7f4ec;--paper-deep:#eeece2;--ink:#293f33;--text:#4c554b;--muted:#818576;--border:#dcded0;--accent:#8d7650;--card:#faf8f2;--header:rgba(247,244,236,.94);--font-ui:'Noto Sans Arabic',sans-serif;--font-book:'Amiri',serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-ui);font-size:14px;line-height:1.9;-webkit-font-smoothing:antialiased}body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23noise)'/%3E%3C/svg%3E")}
a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{background:none;border:0}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg,a svg{pointer-events:none}::selection{background:#d9dfca;color:#263c30}.shell{width:min(1220px,calc(100% - 96px));margin-inline:auto}.site-header{height:106px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--header);z-index:20;backdrop-filter:blur(12px)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand-icon svg{width:46px;height:46px}.brand-type{font-family:var(--font-book);font-weight:700;font-size:32px;line-height:1.05;padding-top:3px}.brand-type small{display:block;font-size:12px;font-weight:400;line-height:2.2;color:var(--muted)}.desktop-nav{display:flex;gap:29px;height:100%;align-items:center;white-space:nowrap;font-size:12px}.desktop-nav a{height:100%;display:flex;align-items:center;position:relative;color:var(--text);transition:color .2s}.desktop-nav a:hover,.desktop-nav a.active{color:var(--ink)}.desktop-nav a.active::after{content:'';position:absolute;height:3px;width:16px;background:var(--ink);bottom:22px;left:calc(50% - 8px);border-radius:3px}.header-actions{display:flex;align-items:center;gap:14px}.icon-button{width:32px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}.icon-button:hover{background:var(--paper-deep)}.icon-button svg{width:19px;height:19px}.header-divider{height:18px;width:1px;background:var(--border)}.small-read{font-size:11px;padding:9px 17px;border:1px solid var(--border);border-radius:4px;white-space:nowrap;margin-inline-start:8px}.small-read:hover{background:var(--ink);border-color:var(--ink);color:var(--paper)}.small-read span{font-size:16px;margin-inline-start:12px}.mobile-menu-toggle,.mobile-nav{display:none}.hero{min-height:628px;padding-top:62px;padding-bottom:54px;display:grid;grid-template-columns:.93fr 1.12fr;align-items:center;gap:15px;position:relative}.hero-copy{padding-bottom:14px;z-index:1}.eyebrow{font-size:10px;letter-spacing:.06em;color:var(--muted);font-weight:500}.hero-eyebrow{display:flex;align-items:center;gap:10px;color:#6e795e;font-size:11px;margin-bottom:17px}.hero-eyebrow::before{content:'';width:5px;height:5px;transform:rotate(45deg);background:#7a896a}.hero h1{font-family:var(--font-book);font-size:97px;font-weight:400;line-height:1.25;letter-spacing:-3px;margin:4px -4px 3px 0}.hero-subtitle{font-family:var(--font-book);font-size:35px;font-weight:400;line-height:1.55;margin:0 0 18px;color:var(--ink)}.hero-description{font-size:12px;line-height:2.2;color:var(--text);max-width:390px;margin:0 0 28px}.hero-actions{display:flex;align-items:center;gap:25px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:23px;background:var(--ink);color:var(--paper);border:1px solid var(--ink);padding:12px 23px;border-radius:4px;font-size:12px;min-height:47px;transition:background .2s,transform .2s}.primary-button:hover{background:#415846;transform:translateY(-2px)}.primary-button svg{width:17px;height:17px}.text-button{font-size:11px;display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid transparent;padding:6px 0}.text-button:hover{border-bottom-color:var(--ink)}.text-button svg{width:15px;height:15px}.hero-meta{display:flex;align-items:center;gap:24px;margin-top:34px;color:var(--muted);font-size:10px}.hero-meta span{display:flex;align-items:center;gap:8px}.hero-meta svg{width:15px;height:15px}.meta-dot{height:3px;width:3px;border-radius:100%;background:var(--muted);display:inline-block}.hero-art{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:0}.art-frame{width:112%;margin-inline:-6%;position:relative}.art-frame img{display:block;width:100%;height:auto;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse 65% 58% at 50% 52%,black 57%,transparent 95%)}.art-caption{display:flex;align-items:center;gap:10px;position:absolute;bottom:2%;right:18%;font-size:9px;color:var(--muted)}.art-caption::before{content:'';height:1px;width:30px;background:var(--border)}.art-topline{position:absolute;top:6px;left:10px;font-size:9px;color:var(--muted);writing-mode:vertical-rl;letter-spacing:2px}.art-seal{position:absolute;left:0;bottom:21px;width:105px;height:105px;border:1px solid #a7ad91;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-13deg);color:#617054;background:var(--paper)}.art-seal::before{content:'';position:absolute;inset:5px;border:1px dashed #b2b79f;border-radius:50%}.art-seal small{font-size:7px;letter-spacing:.13em}.art-seal span{font-family:var(--font-book);font-size:26px;line-height:1.6}.art-seal b{font-size:10px;font-weight:400}.quote-ribbon{padding:29px 20px 27px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;position:relative}.quote-ribbon::before{content:'✦';position:absolute;top:-15px;right:calc(50% - 22px);width:44px;background:var(--paper);color:#879270;font-size:19px}.quote-ribbon blockquote{margin:0;font-family:var(--font-book);font-size:27px;font-weight:400;line-height:1.7}.quote-ribbon cite{font-size:9px;color:var(--muted);font-style:normal;margin-inline-start:14px;display:inline-block;white-space:nowrap}.section{padding-block:78px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:35px}.section-heading h2{font-family:var(--font-book);font-size:43px;line-height:1.4;font-weight:400;margin:6px 0}.section-heading p{color:var(--muted);font-size:11px;margin:0}.section-number{font-family:var(--font-book);font-size:16px;color:var(--accent);display:flex;align-items:center;gap:10px}.section-number::after{content:'';height:1px;width:25px;background:var(--accent);opacity:.4}.heading-aside{font-size:10px;color:var(--muted);margin-bottom:9px;display:flex;align-items:center;gap:8px}.heading-aside svg{width:15px;height:15px}.chapters-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);border-right:1px solid var(--border)}.chapter-card{padding:25px 28px 21px;border-left:1px solid var(--border);border-bottom:1px solid var(--border);position:relative;display:flex;flex-direction:column;min-height:228px;transition:background .2s;overflow:hidden}.chapter-card:hover{background:#eeeede}.chapter-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:var(--muted)}.chapter-top .chapter-count{font-size:10px}.chapter-top svg{width:22px;height:22px;stroke:#8c9679}.chapter-card h3{font-family:var(--font-book);font-size:25px;font-weight:400;line-height:1.65;margin:0 0 9px;color:var(--ink)}.chapter-card p{font-size:10px;line-height:2;color:var(--muted);margin:0 0 17px;max-width:270px}.chapter-bottom{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--accent);margin-top:auto}.chapter-bottom svg{width:18px;height:18px;transition:transform .2s}.chapter-card:hover .chapter-bottom svg{transform:translateX(-5px)}.chapters-footnote{display:flex;gap:8px;align-items:center;justify-content:center;color:var(--muted);font-size:9px;padding-top:18px}.chapters-footnote svg{width:14px;height:14px}.thoughts-section{background:var(--paper-deep);border-block:1px solid var(--border)}.thoughts-section .section-heading{margin-bottom:32px}.thoughts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}.thought{border-top:1px solid #cdd1bf;padding-top:20px;display:flex;flex-direction:column}.thought-topic{font-size:10px;color:var(--accent);display:flex;justify-content:space-between;align-items:center}.thought-topic span:last-child{font-family:Georgia,serif;font-size:35px;line-height:1;color:#9da68a}.thought blockquote{font-family:var(--font-book);font-size:25px;line-height:1.9;margin:17px 0 20px;flex:1}.thought-footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;gap:10px}.copy-quote{display:flex;gap:6px;align-items:center;font-size:9px;color:var(--text);padding:6px 0}.copy-quote svg{width:13px;height:13px}.copy-quote:hover{color:var(--ink)}.about-section{display:grid;grid-template-columns:.73fr 1fr;gap:95px;align-items:center;padding-block:92px}.about-portrait{border:1px solid var(--border);padding:31px 32px 23px;position:relative;text-align:center;min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--paper-deep)}.about-portrait::after{content:'';position:absolute;inset:8px;border:1px solid var(--border);pointer-events:none}.author-calligraphy{font-family:var(--font-book);font-size:76px;line-height:1.7;font-weight:700;transform:rotate(-5deg);margin-top:-13px}.author-fullname{font-family:var(--font-book);font-size:19px;color:var(--text);margin:0 0 15px}.author-dates{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:14px}.author-dates::before,.author-dates::after{content:'';width:20px;height:1px;background:var(--border)}.author-cities{display:flex;gap:14px;font-size:8px;color:var(--muted);margin-top:20px}.about-copy h2{font-family:var(--font-book);font-size:43px;line-height:1.5;font-weight:400;margin:10px 0 17px}.about-copy p{font-size:12px;line-height:2.3;color:var(--text);margin:0 0 17px}.about-copy .text-button{font-size:10px;margin-top:7px}.about-sources{font-size:9px;color:var(--muted);margin-top:20px}.about-sources a{border-bottom:1px solid var(--border)}.reading-callout{display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:#f0ecdf;padding:35px 45px;border-radius:3px;margin-bottom:75px;gap:30px}.reading-callout h2{font-family:var(--font-book);font-size:32px;font-weight:400;line-height:1.5;margin:0 0 5px}.reading-callout p{font-size:10px;color:#bac5b5;margin:0}.reading-callout button{background:var(--paper);color:var(--ink);padding:12px 25px;display:flex;align-items:center;gap:25px;white-space:nowrap;border-radius:3px;font-size:11px}.reading-callout button svg{width:17px;height:17px}.site-footer{border-top:1px solid var(--border);padding:29px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{font-family:var(--font-book);font-size:26px;line-height:1.5}.footer-brand span{font-family:var(--font-ui);font-size:9px;margin-inline-start:16px;color:var(--muted)}.footer-inner p,.footer-pdf{font-size:9px;color:var(--muted)}.footer-pdf:hover{color:var(--ink)}.footer-pdf span{margin-inline-start:10px}.search-dialog{width:min(620px,calc(100% - 32px));margin:14vh auto auto;border:1px solid var(--border);padding:30px;background:var(--paper);color:var(--ink);border-radius:7px;max-height:75vh;box-shadow:0 30px 100px #17291c30}.search-dialog::backdrop{background:#1e2e26a1;backdrop-filter:blur(4px)}.search-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.search-head h2{font-family:var(--font-book);font-size:35px;font-weight:400;line-height:1.4;margin:5px 0}.close-dialog{font-size:16px}.search-input-wrap{display:flex;align-items:center;gap:12px;border:1px solid var(--border);background:var(--card);border-radius:3px;padding:9px 13px}.search-input-wrap svg{width:18px;height:18px;color:var(--muted)}.search-input-wrap input{border:0;background:none;color:var(--ink);width:100%;min-width:0;font-size:12px;outline:none;padding:5px 0}.search-input-wrap kbd{font-family:inherit;font-size:9px;color:var(--muted);border:1px solid var(--border);padding:0 5px;border-radius:2px}.search-hint{color:var(--muted);font-size:9px;margin:10px 2px 18px}.search-results{max-height:39vh;overflow:auto}.search-result{display:block;border-bottom:1px solid var(--border);padding:15px 4px;text-align:right;width:100%}.search-result:hover{background:var(--paper-deep)}.search-result strong{display:block;font-family:var(--font-book);font-weight:400;font-size:23px;line-height:1.5}.search-result small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.search-result .result-kind{font-size:9px;color:var(--accent);margin-bottom:5px}.search-empty{padding:25px 0 40px;text-align:center;color:var(--muted);font-size:12px}.search-note{font-size:8px;color:var(--muted);margin:15px 0 0}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:var(--paper);font-size:11px;padding:11px 25px;border-radius:4px;box-shadow:0 4px 25px #0002;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.skip-link{position:fixed;top:-60px;right:20px;background:var(--ink);color:var(--paper);padding:10px;z-index:101;font-size:12px}.skip-link:focus{top:10px}.noscript{padding:60px;text-align:center}.page-loading{min-height:60vh;display:grid;place-items:center;color:var(--muted)}.source-info{font-size:9px;color:var(--muted)}
html[data-theme=dark]{--paper:#1d2822;--paper-deep:#26332a;--ink:#e0e7d5;--text:#c1c9b9;--muted:#9fa993;--border:#3a473c;--accent:#b6a27a;--card:#253129;--header:rgba(29,40,34,.95);color-scheme:dark}html[data-theme=dark] .art-frame img{mix-blend-mode:normal;filter:sepia(.15) brightness(.72);mask-image:radial-gradient(ellipse 62% 58% at 50% 52%,black 25%,transparent 93%)}html[data-theme=dark] .chapter-card:hover{background:#28372c}html[data-theme=dark] .primary-button:hover{background:#c7d3ba}html[data-theme=dark] .reading-callout{background:#304936}html[data-theme=dark] .reading-callout button{background:#d5dfc9;color:#253a2d}html[data-theme=dark] .hero-eyebrow{color:#a7b68d}html[data-theme=dark] .art-seal{color:#a7b68d}
@media(min-width:1600px){.hero{min-height:720px}.hero h1{font-size:111px}.hero-subtitle{font-size:40px}.hero-description{font-size:13px}.hero-art{padding-inline:5px}}
@media(max-width:1100px){.shell{width:calc(100% - 64px)}.desktop-nav{gap:20px;font-size:11px}.header-inner{gap:20px}.header-actions{gap:10px}.small-read{display:none}.hero h1{font-size:88px}.hero-subtitle{font-size:30px}.hero-description{max-width:340px}.hero{grid-template-columns:1fr 1fr;min-height:590px;gap:5px}.hero-actions{gap:20px}.art-seal{width:83px;height:83px;left:-5px;bottom:40px}.art-seal span{font-size:21px}.art-seal small{font-size:6px}.art-seal b{font-size:8px}.about-section{gap:60px}.chapter-card{padding:22px}.thoughts-grid{gap:25px}.thought blockquote{font-size:23px}}
@media(max-width:800px){.site-header{height:88px}.brand-type{font-size:28px}.brand-icon svg{width:39px;height:39px}.desktop-nav{gap:16px;font-size:10px}.desktop-nav a.active::after{bottom:16px}.header-actions{gap:4px}.header-divider{display:none}.hero{min-height:555px;padding-top:45px;padding-bottom:40px}.hero h1{font-size:76px}.hero-subtitle{font-size:27px}.hero-description{font-size:11px}.hero-actions{gap:15px}.primary-button{padding:11px 17px;gap:15px;font-size:10px}.text-button{font-size:10px}.hero-meta{gap:15px;font-size:8px}.art-frame{width:120%;margin-inline:-10%}.art-topline{left:-10px}.art-seal{bottom:55px;left:-10px;width:73px;height:73px}.art-seal span{font-size:18px}.quote-ribbon blockquote{font-size:24px}.quote-ribbon cite{font-size:8px}.chapters-grid{grid-template-columns:repeat(2,1fr)}.thoughts-grid{gap:20px}.thought blockquote{font-size:21px}.thought-footer{font-size:8px;align-items:flex-start;flex-direction:column;gap:2px}.about-section{gap:35px}.about-portrait{padding:23px;min-height:270px}.author-calligraphy{font-size:60px}.author-fullname{font-size:16px}.about-copy h2{font-size:34px}.about-copy p{font-size:11px}.section{padding-block:60px}.reading-callout{padding:28px 30px;margin-bottom:55px}.footer-brand span{display:block;margin:0;font-size:8px}.footer-inner p{font-size:8px}}
@media(max-width:640px){html{scroll-padding-top:90px}.shell{width:calc(100% - 40px)}.site-header{height:79px}.header-inner{gap:10px}.brand{gap:8px}.brand-icon svg{width:35px;height:35px}.brand-type{font-size:27px}.brand-type small{font-size:9px;line-height:2}.desktop-nav{display:none}.mobile-menu-toggle{display:inline-flex;margin-inline-start:5px}.header-actions{gap:9px}.header-actions .icon-button{width:27px}.mobile-nav{position:absolute;top:78px;right:0;left:0;border-bottom:1px solid var(--border);background:var(--paper);padding:14px 20px;display:flex;flex-direction:column;gap:3px}.mobile-nav[hidden]{display:none}.mobile-nav a{font-size:12px;padding:9px 8px}.mobile-nav a:hover{background:var(--paper-deep)}.hero{grid-template-columns:1fr;padding-top:33px;padding-bottom:28px;gap:0;min-height:0}.hero-copy{text-align:center;padding-bottom:0}.hero-eyebrow{justify-content:center;font-size:10px;margin-bottom:9px}.hero h1{font-size:82px;line-height:1.25;letter-spacing:-2px;margin:0 0 1px}.hero-subtitle{font-size:30px;margin-bottom:15px}.hero-description{font-size:11px;line-height:2.1;margin:0 auto 22px;max-width:330px}.hero-actions{justify-content:center;gap:24px}.primary-button{padding:11px 22px;font-size:11px;gap:23px}.hero-meta{justify-content:center;font-size:8px;margin-top:23px}.hero-art{height:270px;align-self:auto;max-width:420px;width:100%;margin:10px auto 0}.art-frame{width:106%;margin-inline:-3%}.art-frame img{max-height:295px;object-fit:cover}.art-topline{display:none}.art-caption{bottom:-1%;right:20%;font-size:8px}.art-seal{width:71px;height:71px;bottom:13px;left:0}.art-seal span{font-size:18px}.art-seal small{font-size:5px}.art-seal b{font-size:7px}.quote-ribbon{padding:23px 12px 21px}.quote-ribbon blockquote{font-size:23px;line-height:1.8}.quote-ribbon cite{display:block;margin:6px 0 0}.section{padding-block:49px}.section-heading{margin-bottom:26px;gap:10px}.section-heading h2{font-size:36px;margin:4px 0}.section-heading p{font-size:9px;max-width:220px;line-height:2}.section-number{font-size:14px;gap:7px}.section-number::after{width:20px}.heading-aside{font-size:8px;white-space:nowrap;margin-bottom:8px}.heading-aside svg{width:13px;height:13px}.chapters-grid{grid-template-columns:1fr}.chapter-card{padding:20px 21px;min-height:0}.chapter-top{margin-bottom:8px}.chapter-top .chapter-count{font-size:9px}.chapter-top svg{width:20px;height:20px}.chapter-card h3{font-size:26px;margin-bottom:5px}.chapter-card p{font-size:10px;max-width:none;margin-bottom:12px}.chapter-bottom{font-size:8px}.chapters-footnote{font-size:8px;line-height:1.8;text-align:center;align-items:flex-start}.chapters-footnote svg{flex-shrink:0}.thoughts-grid{grid-template-columns:1fr;gap:28px}.thought{padding-top:17px}.thought blockquote{font-size:27px;line-height:1.8;margin:8px 0 17px}.thought-footer{flex-direction:row;align-items:center;font-size:8px}.about-section{grid-template-columns:1fr;padding-block:52px;gap:30px}.about-portrait{min-height:220px;max-width:380px;width:100%;margin:auto}.author-calligraphy{font-size:71px}.author-fullname{font-size:18px}.about-copy h2{font-size:36px}.about-copy p{font-size:11px;line-height:2.3}.reading-callout{flex-direction:column;text-align:center;gap:22px;padding:29px 20px;margin-bottom:48px}.reading-callout h2{font-size:31px}.reading-callout p{font-size:9px}.reading-callout button{font-size:10px;padding:10px 24px;gap:25px}.footer-inner{flex-wrap:wrap;gap:15px 20px}.footer-brand{font-size:26px}.footer-inner p{display:none}.footer-pdf{font-size:8px}.footer-brand span{font-size:8px}.site-footer{padding-block:23px}.search-dialog{padding:23px 20px;max-height:82vh;margin-top:7vh}.search-results{max-height:45vh}.search-input-wrap kbd{display:none}.search-result strong{font-size:22px}.search-result small{font-size:9px}.search-note{font-size:8px;line-height:1.9}}
.book-reader{--reader-top-offset:106px;border:0!important;border-radius:0!important}.reading-mode .site-footer{display:none}.edition-note{font-size:9px;color:var(--accent);margin-top:12px}.chapter-card:has([data-unavailable]){opacity:.8}
html[data-theme=dark] .reader-canvas-wrap canvas{filter:invert(.9) hue-rotate(180deg)}
@media(max-width:800px){.book-reader{--reader-top-offset:88px}}
@media(max-width:640px){.book-reader{--reader-top-offset:79px}.edition-note{font-size:8px}}
/* Phone layouts keep touch targets clear of the notch and home indicator. */
@media(max-width:640px), (max-width:999px) and (max-height:500px) and (orientation:landscape){
  html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(90px + env(safe-area-inset-top,0px))}
  .shell{width:calc(100% - 40px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}
  .site-header{height:calc(79px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
  .header-inner{gap:8px}.desktop-nav,.small-read{display:none}
  .header-actions{gap:2px}.header-actions .icon-button,.icon-button.mobile-menu-toggle{width:44px;height:44px;min-width:44px;margin-inline-start:0}
  .mobile-menu-toggle{display:inline-flex}.mobile-nav{display:flex;flex-direction:column;position:absolute;right:0;left:0;top:calc(78px + env(safe-area-inset-top,0px));background:var(--paper);border-bottom:1px solid var(--border);padding-inline:max(20px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-left,0px))}.mobile-nav[hidden]{display:none}
  .mobile-nav a{min-height:44px;display:flex;align-items:center}
  .hero-description{font-size:13px;line-height:2}.hero-actions{flex-wrap:wrap;gap:12px 20px}.hero-meta{font-size:10px;gap:12px;flex-wrap:wrap}.edition-note{font-size:9px}
  .section-heading p{font-size:12px}.chapter-card p{font-size:12px}.chapter-count,.chapter-bottom{font-size:10px}.chapter-card{min-height:44px}
  .chapters-footnote{font-size:10px}.thought-footer{font-size:10px}.copy-quote{font-size:10px;min-height:44px;padding:10px 6px}
  .about-copy p{font-size:13px}.reading-callout p{font-size:11px}.reading-callout button{min-height:44px;font-size:12px}
  .search-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin-top:calc(16px + env(safe-area-inset-top,0px))}
  .search-input-wrap input{font-size:16px;min-height:36px}.search-head .icon-button{width:44px;height:44px;flex-shrink:0}.search-results{max-height:50dvh}
  .search-result{min-height:56px}.search-hint,.search-result small,.search-note{font-size:11px}.search-note{line-height:1.8}
  .toast{bottom:calc(24px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 32px);text-align:center}
  .site-footer{padding-bottom:calc(23px + env(safe-area-inset-bottom,0px))}
  body.reading-mode{overflow:hidden;overscroll-behavior:none}body.reading-mode .site-header{display:none}body.reading-mode #main{height:100vh;height:100dvh;min-height:0}
}
@media(max-width:350px){.shell{width:calc(100% - 28px)}.header-actions .icon-button{min-width:40px;width:40px}.hero-actions{gap:8px 15px}.hero h1{font-size:74px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
