/* Editorial refresh. Original typefaces, copy and images are retained. */
:root{--bg:#f5f3ed;--surface:#fffefa;--fg:#203332;--muted:#586660;--line:#dedfd4;--well:#174d49;--on-well:#fffdf5;--accent:#aa762e;--accent-ink:#805720}
:root[data-theme="dark"]{--bg:#102321;--surface:#19312e;--fg:#edf1e8;--muted:#b2c0b8;--line:#35504a;--well:#9ed1bd;--on-well:#102321;--accent-ink:#e0b56f}
body{font-size:16px;line-height:1.85}
.wrap{max-width:1240px}
header.site{background:#183a32!important;box-shadow:0 2px 14px #102b2420;border-bottom:1px solid #ffffff22}
header.site .bar{min-height:88px;gap:24px;padding-block:18px}
header.site .brand{gap:12px}
header.site .brand svg{width:40px;height:40px}
header.site .brand b{font-size:1.25rem;line-height:1.6}
header.site nav.main{gap:6px;margin-left:auto}
header.site nav.main a{font-size:.9rem;padding:10px 14px;border-radius:7px;transition:background .18s,color .18s}
header.site nav.main a:hover{background:#ffffff16}
header.site nav.main a[aria-current="page"]{background:#f4efdf;color:#183a32}
.more-toggle{min-width:44px;min-height:44px}
.more-menu{background:var(--surface);color:var(--fg);min-width:230px;border-color:var(--line);padding:8px;border-radius:12px}
.more-menu a{padding:12px 16px}
.more-menu a:hover{background:var(--bg)}
.front{margin:24px auto 0;max-width:1400px;border-radius:14px;box-shadow:0 12px 36px #172d2512}
.front-img{height:auto;min-height:0;aspect-ratio:16/9;object-fit:contain;object-position:center}
.front-cap{position:relative;width:100%;border-radius:0;padding:28px 36px;background:#183a32;backdrop-filter:none}
.cap-in{align-items:center;gap:36px}
.front-h{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;font-size:clamp(1.3rem,2.4vw,2rem);line-height:1.6;margin-bottom:12px;max-width:36ch}
.teaser{font-size:.95rem;line-height:1.9;max-width:90ch;color:#e4e9df;text-shadow:none}
.go{gap:12px;flex-direction:row;max-width:210px}
.go-t{max-width:125px;font-size:.85rem;line-height:1.7}
.go-ic{width:48px;height:48px;box-shadow:none;flex-shrink:0}
.go-ic::after,.go-ic svg{animation:none}
main.wrap,main.wrap:has(.page:not([hidden]) .books){width:100%;max-width:1240px;padding-block:64px 80px}
.head-row{align-items:center;margin-bottom:32px}
.head-row a{text-decoration:none;border-bottom:1px solid var(--line);padding-block:6px;font-size:.9rem}
.head-row h2,section.block>h2{font-size:clamp(1.6rem,3vw,2.2rem)}
.books{gap:28px}
.book{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.45fr) minmax(240px,1fr);gap:32px;padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:16px;align-items:start;box-shadow:0 4px 20px #193c2e04}
.book>.cover-img{grid-column:1;width:100%;max-width:270px;height:auto;aspect-ratio:auto;object-fit:contain;justify-self:center;align-self:start;border-radius:3px;box-shadow:0 12px 24px #16372c22}
.book>.info,.book[data-cover-measured="true"]>.info{grid-column:2;display:flex;gap:16px;justify-content:flex-start;max-height:none;overflow:visible;align-self:start}
.book h3{font-size:clamp(1.25rem,1.7vw,1.6rem);line-height:1.6}
.book .desc{font-size:.96rem;line-height:1.95}
.book .author{font-size:.95rem;line-height:1.8;margin:0}
.book .author .role{font-size:.85rem}
.people{padding:12px 0}.people p{line-height:1.8}.people p+p{margin-top:6px}
.book .facts{font-size:.82rem;gap:8px 18px;padding-top:16px}
.book>.purchase,.book[data-cover-measured="true"]>.purchase{grid-column:3;align-self:start!important;margin-top:0!important;max-height:none;overflow:visible;width:100%;padding:20px;gap:18px;background:var(--bg);border-radius:12px}
.purchase .fmt{flex-direction:column;gap:10px}
.purchase .fmt label{padding:14px;min-width:0;background:var(--surface);border-radius:8px;gap:6px;transition:border-color .18s,box-shadow .18s}
.fmt label:has(input:checked){border-color:var(--well);box-shadow:0 0 0 1px var(--well);background:var(--surface)}
.fmt label:has(input:checked) .k{color:var(--well);font-weight:600}
.btn{min-height:48px;justify-content:center;border-radius:7px;padding:12px 20px;transition:filter .18s,box-shadow .18s}
.book .purchase .btn{font-size:.92rem;padding:12px 14px}
.btn:hover{box-shadow:0 4px 12px #173d3020}
.note{padding:16px 20px;background:var(--surface);border-radius:0 8px 8px 0;font-size:.9rem;margin-bottom:32px}
.article{padding:28px;border-radius:12px;gap:14px}.article h3{line-height:1.65}.article p{line-height:1.9}.articles{gap:24px}.meta{font-size:.82rem}
.chip{min-height:44px;padding:8px 18px;background:var(--surface)}
.topic{padding:24px;background:var(--surface);border-radius:0 0 10px 10px}.topic h3{line-height:1.7;margin-bottom:12px}
.prose{max-width:70ch;line-height:2}.art-body{font-size:1.12rem;max-width:66ch}.big{max-width:38ch;line-height:1.85}
.contact-card{padding:32px;max-width:640px;border-radius:14px;gap:26px}.contact-card .lbl{margin-bottom:6px}.contact-card .val a{text-underline-offset:5px}
footer.site{padding-block:28px 40px;font-size:.85rem}
:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
@media(min-width:761px) and (max-width:1100px){.book{grid-template-columns:210px minmax(0,1fr);gap:28px}.book>.purchase{grid-column:2}.book>.info{grid-column:2}.book>.cover-img{grid-row:1/3}.purchase .fmt{flex-direction:row}.purchase .fmt label{flex:1}header.site .brand b{font-size:1.1rem}}
@media(max-width:760px){header.site .bar{min-height:76px;padding-block:14px;gap:12px}header.site .brand b{font-size:1rem}header.site .brand svg{width:30px;height:30px}header.site nav.main a{font-size:.85rem;padding:10px}header.site nav.main{gap:4px}.front{margin-top:16px;border-radius:10px}.front-img{aspect-ratio:16/9;height:auto;object-fit:contain}.front-cap{padding:24px}.cap-in{flex-direction:column;align-items:stretch;gap:22px}.front-h{font-size:1.35rem}.teaser{font-size:.9rem}.go{max-width:none;align-self:flex-start;flex-direction:row}.go-t{max-width:180px;text-align:left}.go-ic{width:42px;height:42px}main.wrap,main.wrap:has(.page:not([hidden]) .books){padding-block:36px 48px}.book{display:flex;flex-direction:column;padding:24px;gap:26px}.book>.cover-img{width:min(72%,270px);max-width:270px;align-self:center}.book>.info{width:100%;gap:14px}.book>.purchase{padding:18px}.book .desc{font-size:.96rem}.book h3{font-size:1.35rem}.head-row{gap:16px;margin-bottom:24px}.head-row a{font-size:.8rem}.contact-card{padding:24px}.topics{gap:20px}.article{padding:24px}footer.site{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* The complete lead caption opens the article. */
.article-caption-link{display:block;color:inherit;text-decoration:none;border-radius:6px}
.article-caption-link .front-h,.article-caption-link .teaser{animation:none}
.article-caption-link:hover .front-h,.article-caption-link:focus-visible .front-h{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
.article-caption-link:hover .teaser{color:#fff}
@keyframes article-glow{0%,100%{text-shadow:0 0 0 transparent}50%{text-shadow:0 0 16px #f3d79980,0 0 3px #f3d79950}}
@media(prefers-reduced-motion:reduce){.article-caption-link .front-h,.article-caption-link .teaser{animation:none}}

/* Restore the article title directly over the artwork. */
.front-artwork{position:relative}
.image-article-title{position:absolute;inset:0 0 auto;display:flex;justify-content:center;padding:clamp(18px,4vw,56px) 5% clamp(28px,5vw,68px);color:#fff8df;text-decoration:none;background:linear-gradient(180deg,rgba(24,18,9,.8),rgba(24,18,9,.35) 70%,transparent);text-align:center}
.image-article-title .front-h{position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal;max-width:30ch;margin:0;font-family:'Noto Serif Tamil',var(--display);font-size:clamp(1.05rem,3.1vw,2.65rem);line-height:1.65;text-shadow:0 2px 6px #201507;animation:title-soft-blink 3.2s ease-in-out infinite}
.image-article-title:hover .front-h{text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:1px}
@keyframes title-soft-blink{0%,100%{opacity:1}50%{opacity:.72}}
@media(prefers-reduced-motion:reduce){.image-article-title .front-h{animation:none}}

/* Right-aligned artwork title with a fine ornamental rule. */
.image-article-title{inset:5% 3.5% auto auto;width:47%;display:block;padding:12px 8px 22px;background:none;text-align:right;color:#352414}
.image-article-title .front-h{font-family:'Noto Serif Tamil',var(--display);font-weight:700;font-size:clamp(1.05rem,2.65vw,2.3rem);line-height:1.8;max-width:none;text-wrap:balance;text-shadow:0 1px 1px #fff8e6,0 0 12px #fff4d799}
.image-article-title::after{content:"";display:block;width:72%;height:9px;margin:16px 0 0 auto;background:linear-gradient(90deg,transparent,#916123 28%,#54361b 88%,transparent) center/100% 1px no-repeat}
.image-article-title::before{content:"";position:absolute;right:8px;bottom:22px;width:7px;height:7px;border:1px solid #765024;transform:translateY(-1px) rotate(45deg);background:#e7cd94}
@media(max-width:760px){.image-article-title{top:3%;right:3%;width:53%;padding:4px 4px 14px}.image-article-title .front-h{font-size:clamp(.85rem,3vw,1.4rem);line-height:1.75}.image-article-title::after{margin-top:8px}.image-article-title::before{right:4px;bottom:14px;width:5px;height:5px}}

/* Match the supplied white, three-line title treatment. */
.image-article-title{top:11%;right:2.8%;width:47%;padding:0;background:none;color:#fffef1;text-align:center}
.image-article-title .front-h{font-family:'Noto Sans Tamil',var(--body);font-weight:700;font-size:clamp(1rem,2.9vw,2.6rem);line-height:1.55;letter-spacing:-.025em;text-shadow:0 2px 2px #3c352b99,1px 0 1px #3c352b66,-1px 0 1px #3c352b66;max-width:none}
.image-article-title .front-h span{display:block;white-space:nowrap}
.image-article-title::before,.image-article-title::after{display:none}
.title-ornament{display:block;width:92%;height:auto;margin:12px auto 0;color:#fffef1;filter:drop-shadow(0 1px 1px #3c352b55)}
@media(max-width:760px){.image-article-title{top:10%;right:2.5%;width:49%;padding:0}.image-article-title .front-h{font-size:clamp(.65rem,3.1vw,1.6rem);line-height:1.55}.title-ornament{margin-top:5px}}

/* Smaller pure-white lettering and a central eight-petal flower. */
.image-article-title,.title-ornament{color:#ffffff}
.image-article-title .front-h{color:#ffffff;font-size:clamp(.9rem,2.45vw,2.2rem)}
@media(max-width:760px){.image-article-title .front-h{font-size:clamp(.6rem,2.65vw,1.35rem)}}

/* The supplied artwork includes its own title; make that area clickable. */
.artwork-article-link{position:absolute;left:65%;top:8%;width:27%;height:24%;display:block;cursor:pointer;border-radius:6px;background:transparent}
.artwork-article-link:hover{box-shadow:0 0 0 1px #ffffff70}
.artwork-article-link:focus-visible{outline:3px solid #fff;outline-offset:4px}

/* Caption sits beneath the right-hand philosophers, within the artwork. */
.front-artwork>.front-cap{position:absolute;right:2%;bottom:3%;width:43%;padding:18px 20px;border-radius:10px;background:rgba(18,17,13,.67);backdrop-filter:none;color:#fff}
.front-cap .cap-in{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.front-cap .teaser{color:#fff;font-weight:700;font-size:clamp(.68rem,.95vw,.88rem);line-height:1.85;text-shadow:none;animation:none}
.front-cap .go{flex-direction:row;align-self:flex-end;max-width:none;gap:12px}
.front-cap .go-t{font-weight:700;font-size:clamp(.7rem,1vw,.9rem);max-width:none;text-align:right}
.front-cap .go-ic{width:34px;height:34px;background:#fff;color:#29271e}
@media(max-width:760px){.front-artwork>.front-cap{right:2%;bottom:3%;width:49%;padding:9px 10px;border-radius:6px;max-height:46%;overflow:auto;scrollbar-width:thin}.front-cap .cap-in{gap:8px}.front-cap .teaser{font-size:clamp(.55rem,1.8vw,.75rem);line-height:1.7}.front-cap .go-t{font-size:.6rem}.front-cap .go{gap:6px}.front-cap .go-ic{width:25px;height:25px}.front-cap .go-ic svg{width:17px;height:17px}}

/* Scale the caption with the artwork at every display width. */
.front-artwork{container-type:inline-size}
.front-artwork>.front-cap{right:2%;bottom:3%;width:37%;max-height:39%;padding:1.1cqw 1.25cqw;border:0;border-radius:.65cqw;overflow:hidden;background:rgba(18,17,13,.67)}
.front-cap .cap-in{gap:.7cqw}
.front-cap .teaser{font-size:.94cqw;line-height:1.8;overflow-wrap:break-word}
.front-cap .go{gap:.7cqw;max-width:100%}
.front-cap .go-t{font-size:.93cqw;line-height:1.6;max-width:none}
.front-cap .go-ic{width:2.5cqw;height:2.5cqw;min-width:0;min-height:0}
.front-cap .go-ic svg{width:1.5cqw;height:1.5cqw}

/* On narrow displays, shorten the excerpt instead of shrinking the type. */
@media(max-width:740px){
 .front-artwork>.front-cap{padding:6px 7px}
 .front-cap .cap-in{gap:4px}
 .front-cap .teaser{font-size:.7rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
 .front-cap .go{gap:4px;align-items:center}
 .front-cap .go-t{font-size:.6rem;line-height:1.4}
 .front-cap .go-ic{width:20px;height:20px;flex-shrink:0}
 .front-cap .go-ic svg{width:13px;height:13px}
}

/* A quiet Greek-inspired reading page, with 20% desktop side margins. */
main.wrap:has(#p-article:not([hidden])){width:100%;max-width:none;padding-block:48px 72px}
#p-article{width:60vw;margin-inline:auto}
.greek-article{position:relative;background:#fffaf0;color:#302d26;border:1px solid #dfd2b9;border-radius:4px;padding:clamp(24px,4vw,64px);box-shadow:0 12px 50px #4e3b1610;background-image:radial-gradient(ellipse at top,#f0e3c755,transparent 55%)}
.greek-article::before,.greek-article::after{content:"";position:absolute;top:42px;bottom:42px;width:7px;border-inline:1px solid #bda77c66;background:repeating-linear-gradient(90deg,transparent 0 2px,#bda77c33 2px 3px);pointer-events:none}
.greek-article::before{left:12px}.greek-article::after{right:12px}
.article-heading{text-align:center}.greek-temple{display:block;width:92px;height:60px;margin:0 auto 22px;color:#9e824c}
.article-heading .eyebrow{color:#846735;font-size:.82rem}
#p-article h1{font-size:clamp(1.6rem,2.6vw,2.65rem);line-height:1.65;margin:16px auto 24px;max-width:28ch;color:#35352a}
.article-byline{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;color:#756343;font-size:.88rem}
.article-byline>span{display:inline-flex;align-items:center;gap:9px}.article-byline svg{width:19px;height:19px;flex-shrink:0}
.greek-rule{height:14px;margin:30px 0 36px;border-block:1px solid #bc9c5c66;background:repeating-linear-gradient(90deg,transparent 0 12px,#bc9c5c30 12px 14px,transparent 14px 24px)}
.greek-article .art-body{max-width:none;font-size:1.06rem;line-height:2.1;color:#403d34;overflow-wrap:break-word}
.greek-article .art-body p+p{margin-top:1.5em}
.article-return{margin-top:40px;padding-top:26px;border-top:1px solid #dfd2b9}
@media(max-width:900px){#p-article{width:80vw}.greek-article{padding:32px}.greek-article .art-body{font-size:1rem}}
@media(max-width:600px){main.wrap:has(#p-article:not([hidden])){padding-block:22px 40px}#p-article{width:100%}.greek-article{padding:28px 22px}.greek-article::before{left:6px}.greek-article::after{right:6px}#p-article h1{font-size:1.5rem}.article-byline{font-size:.8rem;gap:10px 18px}.greek-temple{width:74px;height:50px}.greek-article .art-body{font-size:.98rem;line-height:2}}

/* Matching graphite portraits flank the article title. */
.philosopher-title-row{display:grid;grid-template-columns:minmax(75px, .8fr) minmax(0,3fr) minmax(75px,.8fr);gap:16px;align-items:center;margin-block:12px 24px}
.philosopher-portrait{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;opacity:.88}
#p-article .philosopher-title-row h1{margin:0;font-size:clamp(1.35rem,2.1vw,2.2rem);line-height:1.7}
@media(max-width:600px){.philosopher-title-row{grid-template-columns:52px minmax(0,1fr) 52px;gap:8px}#p-article .philosopher-title-row h1{font-size:1.15rem;line-height:1.7}}

/* Larger portraits rise into the open header space without covering the title. */
.philosopher-title-row{position:relative}
.philosopher-portrait{position:relative;width:300%;max-width:none;justify-self:center;transform:translateY(-30%);pointer-events:none}
.plato-portrait{translate:-22% 0}
.socrates-portrait{translate:22% 0}
.article-heading{padding-top:clamp(38px,6vw,88px)}
.philosopher-title-row .front-h{position:relative;z-index:1}
@media(max-width:600px){.article-heading{padding-top:48px}.philosopher-portrait{width:300%;transform:translateY(-35%)}.plato-portrait{translate:-10% 0}.socrates-portrait{translate:10% 0}}

/* Keep the portraits within the article header and use its upper corners. */
.article-heading{position:relative;padding-top:12px;isolation:isolate}
.philosopher-title-row{position:static;display:grid;grid-template-columns:24% minmax(0,52%) 24%;gap:0;margin-block:18px 24px}
.philosopher-portrait{position:absolute;top:8px;width:26%;max-width:220px;height:auto;aspect-ratio:1;object-fit:contain;transform:none;translate:none;pointer-events:none}
.plato-portrait{left:0;right:auto;translate:none}
.socrates-portrait{right:0;left:auto;translate:none}
#p-article .philosopher-title-row h1{grid-column:2;position:relative;z-index:1;font-size:clamp(1.25rem,1.9vw,2rem);margin:0;line-height:1.75}
@media(max-width:600px){.article-heading{padding-top:8px}.philosopher-title-row{grid-template-columns:18% minmax(0,64%) 18%;margin-top:22px}.philosopher-portrait{top:4px;width:28%;max-width:none;transform:none;translate:none}#p-article .philosopher-title-row h1{font-size:1.15rem}.article-heading .greek-temple{width:55px;height:40px;margin-bottom:18px}}

/* Restore the original article box and bring the portraits inward slightly. */
main.wrap:has(#p-article:not([hidden])){width:100%;max-width:none;padding-block:48px 72px}
#p-article{width:60vw;margin-inline:auto}
.greek-article{padding:clamp(24px,4vw,64px)}
.article-heading{padding-top:0}
.plato-portrait{left:4%}
.socrates-portrait{right:4%}
@media(max-width:900px){#p-article{width:80vw}.greek-article{padding:32px}}
@media(max-width:600px){main.wrap:has(#p-article:not([hidden])){padding-block:22px 40px}#p-article{width:100%}.greek-article{padding:28px 22px}.article-heading{padding-top:0}.plato-portrait{left:3%}.socrates-portrait{right:3%}}

/* Clean Tamil typography for the article. */
#p-article h1,#p-article .philosopher-title-row h1{font-family:'Noto Sans Tamil',sans-serif;font-weight:700;line-height:1.7}
.greek-article .art-body{font-family:'Noto Sans Tamil',sans-serif;font-weight:400;font-size:1.02rem;line-height:2.05}
.article-byline{font-family:'Hanken Grotesk','Noto Sans Tamil',sans-serif}
@media(max-width:600px){.greek-article .art-body{font-size:.96rem;line-height:2}}

/* Raise both article portraits by three quarters of an inch. */
.philosopher-portrait{top:calc(8px - .75in)}
@media(max-width:600px){.philosopher-portrait{top:calc(4px - .75in)}}

/* Lower both portraits half an inch from the previous position. */
.philosopher-portrait{top:calc(8px - .25in)}
@media(max-width:600px){.philosopher-portrait{top:calc(4px - .25in)}}

/* Move each portrait half an inch outward; keep it inside the article box. */
.plato-portrait{left:max(0px,calc(4% - .5in))}
.socrates-portrait{right:max(0px,calc(4% - .5in))}
@media(max-width:600px){.plato-portrait{left:max(0px,calc(3% - .5in))}.socrates-portrait{right:max(0px,calc(3% - .5in))}}

/* Align both edges of article paragraphs, leaving final lines natural. */
.greek-article .art-body p{text-align:justify;text-align-last:start;text-justify:inter-word}

/* Compact the website title bar while preserving usable navigation. */
header.site .bar{min-height:52px;padding-block:4px}
header.site nav.main a{padding-block:6px}
header.site .brand svg{width:32px;height:32px}
@media(max-width:760px){header.site .bar{min-height:48px;padding-block:4px}header.site .brand svg{width:28px;height:28px}header.site nav.main a{padding-block:6px}}

/* Publisher logo beside the name. */
header.site .brand-logo{display:block;width:48px;height:48px;flex:none;object-fit:contain}
@media(max-width:760px){header.site .brand-logo{width:40px;height:40px}}

/* Warm book-page tones complement the well's timber, gold and teal. */
header.site{background:#f3e5c9!important;border-bottom:1px solid #cdb789;box-shadow:0 2px 12px #58422214}
header.site .brand b{color:#30473f;text-shadow:none}
header.site nav.main a{color:#465044;text-shadow:none}
header.site nav.main a:hover{color:#173f3c;background:#dcca9e55}
header.site nav.main a[aria-current="page"]{color:#fff9eb;background:#22544e}
header.site .more-toggle{color:#30473f;border-color:#bba477}
header.site .brand-logo{width:52px;height:52px;object-fit:contain}
@media(max-width:760px){header.site .brand-logo{width:44px;height:44px}}

/* The articles listing features the published Plato article only. */
.articles-page-title{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:30px}
.plato-preview{padding:0;overflow:hidden}
.plato-preview-link{display:grid;grid-template-columns:minmax(240px,.95fr) minmax(0,1.25fr);color:inherit;text-decoration:none}
.plato-preview-image{width:100%;height:100%;min-height:280px;object-fit:cover}
.plato-preview-copy{padding:32px;display:flex;flex-direction:column;gap:18px}
.plato-preview-copy h2{font-family:'Noto Sans Tamil',sans-serif;font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.7}
.plato-preview-copy p{display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.preview-read{font-weight:600;color:var(--well);margin-top:auto}
.plato-preview-link:hover .preview-read{text-decoration:underline;text-underline-offset:5px}
@media(max-width:700px){.plato-preview-link{grid-template-columns:1fr}.plato-preview-image{height:auto;min-height:0;aspect-ratio:16/9}.plato-preview-copy{padding:24px}}

/* Books heading occupies the former note box. */
.books-heading-box{margin-top:8px}
.books-heading-box h1{font-size:clamp(1.3rem,2.6vw,2rem);line-height:1.6;margin:0;color:var(--fg)}

/* Free reader membership and ebook library. */
header.site nav.main .nav-login{border:1px solid #ac966c;padding-inline:12px}
.membership-layout{display:grid;grid-template-columns:1fr;align-items:start;max-width:408px;margin:0 0 0 auto}
.membership-intro h1{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.65;margin:14px 0 22px}
.membership-intro>p:not(.eyebrow){color:var(--muted);max-width:52ch}
.member-benefits{padding-left:22px;margin-block:24px 30px;color:var(--muted)}.member-benefits li+li{margin-top:10px}
.membership-card{padding:36px;border:1px solid var(--line);border-top:4px solid var(--well);border-radius:12px;background:var(--surface)}
.membership-card h2{font-size:1.4rem;margin-bottom:14px}.membership-card>p{font-size:.92rem;color:var(--muted)}
.membership-form{display:grid;gap:12px;margin-block:26px 18px}.membership-form label{font-size:.9rem;font-weight:600}
.membership-form input{width:100%;min-height:50px;font:inherit;padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--fg)}
.membership-form .btn:disabled{opacity:.65;cursor:not-allowed}.membership-status{border-top:1px solid var(--line);padding-top:18px;margin-bottom:20px}
.membership-card>a{color:var(--well);font-size:.88rem;text-underline-offset:5px}
.library-intro{color:var(--muted);max-width:70ch;margin-bottom:30px}.library-empty{padding:48px 28px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;display:grid;justify-items:center;gap:20px}.library-empty img{object-fit:contain}.library-empty h2{font-size:1.4rem}.library-empty p{max-width:58ch;color:var(--muted)}
@media(max-width:760px){.membership-layout{grid-template-columns:1fr;gap:30px}.membership-card{padding:24px}.library-empty{padding:32px 22px}}

.newsletter-choice{display:flex;align-items:flex-start;gap:10px;font-weight:400!important;line-height:1.8}
.membership-form .newsletter-choice input{width:17px;height:17px;min-height:0;flex:none;margin-top:6px;accent-color:var(--well)}
.newsletter-choice small{display:block;color:var(--muted);font-size:.76rem}.member-signin-help{font-size:.83rem;color:var(--muted);line-height:1.9}

.member-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.member-book{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.member-book>img{width:120px;height:auto;align-self:start;box-shadow:0 7px 18px #20333222}.member-book h2{font-size:1.5rem;margin-block:10px}.member-book p{color:var(--muted);font-size:.88rem}.member-book .eyebrow{font-size:.75rem}.member-file-info{margin-block:16px}.ebook-download{width:100%;font-size:.85rem}.ebook-download:disabled{opacity:.6;cursor:wait}
.member-session{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:20px;margin-bottom:24px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.member-session .newsletter-choice{flex-basis:100%}.member-session .newsletter-choice input{width:17px;height:17px;accent-color:var(--well)}#member-address{overflow-wrap:anywhere}
@media(max-width:900px){.member-book-grid{grid-template-columns:1fr}}
@media(max-width:480px){.member-book{grid-template-columns:85px minmax(0,1fr);padding:18px;gap:16px}.member-book>img{width:85px}.member-book h2{font-size:1.2rem}}

#member-name-form{display:flex;flex-wrap:wrap;align-items:center;gap:12px}#member-name-form input{font:inherit;padding:8px 12px;border:1px solid var(--line);border-radius:6px;max-width:100%}

/* Optional password setup follows verified email sign-in. */
.login-methods{display:flex;gap:8px;margin-top:24px;flex-wrap:wrap}.login-methods button{font:inherit;font-size:.83rem;padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--fg);cursor:pointer;min-height:44px}.login-methods button[aria-pressed="true"]{background:var(--well);color:var(--on-well);border-color:var(--well)}
.text-button{font:inherit;font-size:.85rem;text-align:left;border:0;background:none;color:var(--well);padding:8px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.member-password-panel{flex-basis:100%;padding-top:18px;border-top:1px solid var(--line)}.member-password-panel summary{font-weight:600;color:var(--well);cursor:pointer;min-height:44px}.member-password-panel>p{max-width:70ch;color:var(--muted);font-size:.9rem}.member-password-panel .membership-form{max-width:480px}.member-password-panel small{color:var(--muted);font-size:.78rem}

.google-login-panel{display:grid;gap:20px;margin-block:24px}.google-login-panel>p{font-size:.9rem;color:var(--muted)}.google-signin{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:12px 18px;border:1px solid #747775;border-radius:5px;background:#fff;color:#1f1f1f;font:500 16px Arial,sans-serif;cursor:pointer}.google-signin:hover{background:#f4f7fb}.google-signin:disabled{opacity:.55;cursor:wait}.google-signin svg{flex:none}.google-login-panel .newsletter-choice input{width:17px;height:17px;flex:none;accent-color:var(--well)}
/* Compact login card aligned to the right; 85% of its previous dimensions. */
#p-login .membership-card{padding:30.6px;border-radius:10.2px}
#p-login .membership-card h2{font-size:1.19rem;margin-bottom:11.9px;text-align:center}
#p-login .google-login-panel{gap:17px;margin-block:20.4px}
#p-login .google-signin{gap:10.2px;min-height:40.8px;padding:10.2px 15.3px;font-size:13.6px}
#p-login .google-signin svg{width:17px;height:17px}
@media(max-width:760px){#p-login .membership-card{padding:20.4px}}
.login-option-divider{display:block;text-align:center;color:var(--muted);font-size:.85rem;line-height:1}
/* Center the contact details in the available page area. */
#p-contact:not([hidden]){display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:55vh;text-align:center;gap:20px}
#p-contact>.eyebrow{margin:0}
#p-contact .contact-card{width:min(100%,640px);margin-inline:auto;box-sizing:border-box}
#p-contact .contact-card .row{justify-content:center;text-align:center}
.about-membership-layout{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.about-membership-layout>.prose{flex:1 1 60ch;width:100%;max-width:60ch;min-width:0;overflow-wrap:break-word}
.about-membership-layout>.btn{flex:0 0 auto;max-width:100%;box-sizing:border-box;margin-inline:auto;text-align:center;white-space:normal}
@media(max-width:760px){.about-membership-layout{gap:24px}}
#p-about .about-membership-layout>.prose{text-align:justify;text-justify:inter-word}
.about-title-block{width:max-content;max-width:100%;margin:0 auto 28px;text-align:center}
#p-about .about-title-block>.eyebrow{font-size:1.2em;margin:0 0 8px}
.about-ornament{display:flex;align-items:center;gap:12px;width:100%;margin:0;color:var(--well)}
.about-ornament::before,.about-ornament::after{content:"";height:1px;flex:1;background:currentColor;opacity:.55}
.about-ornament span{font-family:Georgia,serif;font-size:25px;line-height:1}
.profile-card{max-width:850px;margin:28px auto;padding:32px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.profile-fields>div{display:flex;flex-direction:column;gap:8px;min-width:0}.profile-wide{grid-column:1/-1}
.profile-fields label{font-size:.9rem;font-weight:600}
.profile-fields input{width:100%;box-sizing:border-box;min-width:0;font:inherit;color:var(--fg);padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--bg)}
.profile-fields input:read-only{opacity:.75}.profile-fields input:focus-visible{outline:2px solid var(--well);outline-offset:2px}
.profile-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}.profile-card .member-signin-help{margin-top:22px}
@media(max-width:600px){.profile-card{padding:22px 18px}.profile-fields{grid-template-columns:1fr}.profile-wide{grid-column:auto}.profile-actions>*{width:100%;box-sizing:border-box;text-align:center}}
.nav-login .t{display:block;max-width:min(28ch,40vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Login options: site fonts and softer pill buttons (wording unchanged). */
#p-login .google-signin{font:600 16.5px/1.2 'Hanken Grotesk',system-ui,sans-serif;letter-spacing:.015em;border:1.5px solid color-mix(in srgb,var(--well) 35%,#d7d3c8);border-radius:999px;min-height:46px;padding:11px 20px;color:var(--well);background:#fff;box-shadow:0 6px 16px -12px rgba(14,75,90,.6);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
#p-login .google-signin:hover:not(:disabled){transform:translateY(-1px);border-color:var(--well);box-shadow:0 10px 22px -12px rgba(14,75,90,.7);background:#fff}
#p-login .email-signin{background:var(--well);color:var(--on-well);border-color:var(--well)}
#p-login .email-signin:hover:not(:disabled){background:color-mix(in srgb,var(--well) 88%,#000)}
#p-login .login-option-divider{display:flex;align-items:center;gap:12px;font:italic 500 16.5px 'Spectral',Georgia,serif;color:var(--muted);text-transform:lowercase}
#p-login .login-option-divider::before,#p-login .login-option-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 55%,transparent),transparent)}
/* Simple sum captcha on the email login and signup forms. */
#p-login .captcha{display:grid;gap:6px;margin-block:4px 10px}
#p-login .captcha label{font:500 14px 'Hanken Grotesk','Noto Sans Tamil',sans-serif;color:var(--muted)}
#p-login .captcha-q{font:700 17px 'Spectral',Georgia,serif;color:var(--well);letter-spacing:.04em;background:color-mix(in srgb,var(--accent) 14%,#fff);padding:1px 10px;border-radius:6px}
#p-login .captcha-row{display:flex;gap:8px}
#p-login .captcha-a{flex:1;min-width:0}
#p-login .captcha-new{flex:none;width:42px;border:1.5px solid color-mix(in srgb,var(--well) 35%,#d7d3c8);border-radius:999px;background:#fff;color:var(--well);font-size:18px;cursor:pointer}
#p-login .captcha-new:hover{border-color:var(--well)}
/* Hero headline: the original painted lettering, lifted from final 2.png, centred over the arch.
   Sized by the artwork's height so it stays the original size on the wide and the phone crop. */
.hero-title{position:absolute;z-index:2;top:9.64%;left:50%;height:22.66%;transform:translateX(-50%);display:block}
.hero-title img{display:block;height:100%;width:auto;filter:drop-shadow(0 1px 1px rgba(18,12,4,.9)) drop-shadow(0 2px 6px rgba(18,12,4,.65))}
/* A soft dark halo behind the white lettering so it reads clearly against the bright sky. */
.hero-title::before{content:"";position:absolute;inset:-14% -10%;z-index:-1;background:radial-gradient(ellipse at center,rgba(22,16,8,.42) 0%,rgba(22,16,8,.22) 45%,transparent 72%);pointer-events:none}
/* Phones: show the home artwork as a full-width 9:16 portrait crop instead of a shrunken 16:9 strip. */
@media(max-width:760px){
 .front-artwork .front-img{aspect-ratio:9/16;height:auto;min-height:0;object-fit:cover;object-position:50% 50%}
 /* Never taller than the screen below the header, so the whole picture fits even on a 5-inch phone. */
 .front-artwork .front-img{max-height:calc(100vh - 84px);max-height:calc(100svh - 84px)}
 /* --hh is the picture's height; every caption size is a fixed share of it, like the headline, as on desktop. */
 .front-artwork>.front-cap{--hh:min(calc(100cqw * 16 / 9),calc(100svh - 84px));left:4%;right:4%;bottom:3%;width:auto;max-height:none;padding:calc(var(--hh) * .02) calc(var(--hh) * .024);border-radius:calc(var(--hh) * .012);overflow:visible}
 .front-cap .cap-in{gap:calc(var(--hh) * .012)}
 /* Phones show about a quarter of the excerpt (two lines) under the headline. */
 .front-cap .teaser{font-size:calc(var(--hh) * .0167);line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
 .front-cap .go{gap:calc(var(--hh) * .012)}
 .front-cap .go-t{font-size:calc(var(--hh) * .0165)}
 .front-cap .go-ic{width:calc(var(--hh) * .045);height:calc(var(--hh) * .045)}
 .front-cap .go-ic svg{width:calc(var(--hh) * .027);height:calc(var(--hh) * .027)}
}
/* Topic chips on the articles page shrink with the screen instead of staying desktop-sized. */
@media(max-width:900px){
 .chips{gap:clamp(3px,1vw,8px);flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 .chip{flex:0 0 auto;white-space:nowrap;font-size:clamp(.55rem,2.45vw,.9rem);min-height:clamp(26px,6.2vw,44px);padding:clamp(3px,.9vw,8px) clamp(4px,1.25vw,18px)}
}
